diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-09 18:17:20 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:44 +0200 |
commit | 6fbdfdcc6d3beda1073ad480f3b8322d93f9e1b3 (patch) | |
tree | e5326288320f2c277d976157a484661616cf774e /configure.in | |
parent | e98d15d4eb88ec13a6e6ef97e915aada231855fa (diff) | |
download | pucket-6fbdfdcc6d3beda1073ad480f3b8322d93f9e1b3.tar.gz pucket-6fbdfdcc6d3beda1073ad480f3b8322d93f9e1b3.tar.bz2 pucket-6fbdfdcc6d3beda1073ad480f3b8322d93f9e1b3.zip |
Remove autoconf stuff from git
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/configure.in b/configure.in index faac129..9dbd6f2 100644 --- a/configure.in +++ b/configure.in @@ -7,8 +7,6 @@ AC_ARG_ENABLE(pthread, [ --enable-pthread compile FLAM3 with threads ena AC_ARG_ENABLE(atomic_ops, [ --enable-atomic-ops compile FLAM3 with atom ops enabled (default=yes, independently checks for 32 and 64 bit sizes)]) AM_INIT_AUTOMAKE(flam3,"3.0.1") -AC_CONFIG_MACRO_DIR([m4]) - # Save CFLAGS from the environment save_CFLAGS=$CFLAGS @@ -36,9 +34,9 @@ fi if test "${enable_atomic_ops}" = "yes" ; then AC_MSG_CHECKING([whether $CC knows 32-bit __sync_bool_compare_and_swap()]) - AC_LANG_CONFTEST([#include <stdint.h> + AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <stdint.h> int main() { uint32_t a = 4; - __sync_bool_compare_and_swap(&a, 4, 5); }]) + __sync_bool_compare_and_swap(&a, 4, 5); }]])]) $CC conftest.c $CFLAGS -o conftest > /dev/null 2> /dev/null ret=$? rm -f conftest.o conftest @@ -50,8 +48,8 @@ if test "${enable_atomic_ops}" = "yes" ; then fi AC_MSG_CHECKING([whether $CC knows 64-bit __sync_bool_compare_and_swap()]) - AC_LANG_CONFTEST([#include <stdint.h> - int main() { uint64_t a = 4; __sync_bool_compare_and_swap(&a, 4, 5); }]) + AC_LANG_CONFTEST([AC_LANG_SOURCE([[#include <stdint.h> + int main() { uint64_t a = 4; __sync_bool_compare_and_swap(&a, 4, 5); }]])]) $CC conftest.c $CFLAGS -o conftest > /dev/null 2> /dev/null ret=$? rm -f conftest.o conftest |