aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2 dayscontrib: remove rpm spec fileHEADmasterOliver Smith1-2/+1
Related: https://osmocom.org/news/255 Related: OS#6446 Change-Id: I320f56a3d60143c0da1b7d8dc8e206f0d5b0210e
2022-05-23configure.ac: fix libtool issue with clang and sanitizerEric1-0/+5
As pointed out at https://github.com/libexpat/libexpat/issues/312 libtool does not play nice with clang sanitizer builds at all. For those builds LD shoud be set to clang too (and LDFLAGS needs the sanitizer flags as well), because the clang compiler driver knows how linking to the sanitizer libs works, but then at a later stage libtool fails to actually produce the shared libraries and the build fails. This is fixed by this patch. Addtionally LD_LIBRARY_PATH has no effect on conftest runs during configure time, so the rpath needs to be set to the asan library path to ensure the configure run does not fail due to a missing asan library, i.e.: SANS='-fsanitize=memory -fsanitize-recover=all -shared-libsan' export CC=clang-10 ASANPATH=$(dirname `$CC -print-file-name=libclang_rt.asan-x86_64.so`) export LDFLAGS="-Wl,-rpath,$ASANPATH $SANS $LDFLAGS" Change-Id: Ie38fa9985187c76b4e456d8b0a83006ef341b97e
2020-05-19contrib: integrate RPM specOliver Smith1-1/+2
Remove OpenSUSE bug report link, set version to @VERSION@, make it build with CentOS 8 etc. Related: OS#4550 Change-Id: Ic075dd5a53cc76cf1b6aeca5c31db495882db915
2018-05-03configure.ac: Use git-version-gen to set VERSIONPau Espin Pedrol1-2/+2
We updated to 0.9.29 tag, but configure.ac was locked to 0.9.28, which means release 0.9.29 is going to generated an old version and thus is broken. A new release will follow this commit. Change-Id: I8e1665f21d1bc76922423cabad3df72a2502f559
2018-05-03build: Support make release targetPau Espin Pedrol1-0/+4
Change-Id: I04b9ff47f55df0e19d8e93530fb6ccf8bdb0660b
2018-03-05configure: add --enable-werrorNeels Hofmeyr1-0/+21
Provide a sane means of adding the -Werror compiler flag. Currently, some of our jenkins.sh add -Werror by passing 'CFLAGS="-Werror"', but that actually *overwrites* all the other CFLAGS we might want to have set. Maintain these exceptions from -Werror: a) deprecation (allow upstream to mark deprecation without breaking builds); b) "#warning" pragmas (allow to remind ourselves of errors without breaking builds) As a last configure step before generating the output files, print the complete CFLAGS and CPPFLAGS by means of AC_MSG_RESULT. Change-Id: Ibcc8238584a585434b39a046cd2d7e18ddaf7f8c
2017-11-17add --enable-sanitize config optionNeels Hofmeyr1-0/+12
Change-Id: I8f641c4bce361dcef5d8c149b8b81b21f12cbadf
2016-04-05misc: Replace libosmocore with tallocHolger Hans Peter Freyther1-1/+1
The libosmocore depedency is used for talloc and OSMO_ASSERT. Reduce the depedencies by using libtalloc directly and replace the ASSERT with a local one (without backtrace support).
2015-12-18add '--enable-debug' configure option to build with EMIT_ASN_DEBUGHarald Welte1-0/+4
... which in turn causes all the ASN_DEBUG() to be turned into fprintf(stderr, ...) statements, once the user application decides to set 'asn_debug = 1' somewhere in its code. The next step would be to make _ASN_DECODE_FAILED / _ASN_ENCODE_FAILED no longer depend on ASN_DEBUG (which it currently does)
2015-08-31update to asn1c aper branch commit 6e00cbce7304a6972e82a12bb5fa82e41fa541beHarald Welte1-1/+1
which is closes to Lev Walkins master 62913d8b8e1eb96d74315ff748475ca818b69752
2015-08-31fix autoconf/automake warningsHarald Welte1-1/+1
2010-07-20Convert libasn1c to use talloc from libosmocoreHarald Welte1-0/+2
2010-06-12move header files to 'include' directory and install themHarald Welte1-0/+2
2010-06-12Add autotools/pkgconfig magicHarald Welte1-0/+33