configure.ac

changeset 368
97c53f7ef5e4
parent 367
e54e0b24e98e
equal deleted inserted replaced
367:e54e0b24e98e 368:97c53f7ef5e4
44 44
45 # we are compiling a library 45 # we are compiling a library
46 LT_INIT 46 LT_INIT
47 47
48 # we want c11, and may fall back to c99 48 # we want c11, and may fall back to c99
49 AX_CHECK_COMPILE_FLAG([-std=c11], 49 AC_PROG_CC_C99
50 [AX_APPEND_FLAG([-std=c11])],
51 AC_PROG_CC_C99
52 )
53 50
54 # we want to support automake < 1.14, so we need this deprecated macro 51 # we want to support automake < 1.14, so we need this deprecated macro
55 # it tests, whether the compiler allows -c and -o simultaneously 52 # it tests, whether the compiler allows -c and -o simultaneously
56 # in modern versions of autoconf, this is done by AC_PROG_CC 53 # in modern versions of autoconf, this is done by AC_PROG_CC
57 AM_PROG_CC_C_O 54 AM_PROG_CC_C_O

mercurial