From c26fe63ee5d84492bcfb36664af8a90619e6ded5 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Wed, 31 Oct 2007 22:19:03 -0500 Subject: Add some more autoconf macros to filter our CFLAGS usage Hopefully these new autoconf macros, with a little magic, will allow us to compile with any compiler and still choose the options we have available to us. Tested locally with gcc 4.2.2 and gcc 3.4.6; the latter doesn't support two of the items we previously had hardcoded in our CFLAGS. Signed-off-by: Dan McGee --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index d93cea84..823d4691 100644 --- a/configure.ac +++ b/configure.ac @@ -162,6 +162,11 @@ AC_CHECK_FUNCS([realpath regcomp strcasecmp strdup strerror strnlen \ # Enable large file support if available AC_SYS_LARGEFILE +# Check if we can use symbol visibility support in GCC +GCC_VISIBILITY_CC +# Check if we have -fgnu89-inline flag +GCC_GNU89_INLINE_CC + # Host-dependant flags case "${host}" in *-*-cygwin*) -- cgit v1.2.3-24-g4f1b