diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2011-12-17 04:17:10 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2011-12-17 04:17:51 +0100 |
commit | 0e06fe8148bd5507b252fc2e7d2f7944bbd4afb4 (patch) | |
tree | 7ee9a2b386e155e2fd1b64b4783fc83d6872cee6 | |
parent | fe7d0e1dc44293beb0f6ca557f983202dd7947d5 (diff) | |
download | libmnl-0e06fe8148bd5507b252fc2e7d2f7944bbd4afb4.tar.gz libmnl-0e06fe8148bd5507b252fc2e7d2f7944bbd4afb4.zip |
m4: resolve autoconf-2.68 warnings
Newer autoconf desires proper full quoting and use of AC_LANG_SOURCE.
Import new m4 file from git://dev.medozas.de/m4_jengelh.
m4/gcc4_visibility.m4:4: CHECK_GCC_FVISIBILITY is expanded from...
configure.ac:15: the top level
configure.ac:15: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call
detected in body
-rw-r--r-- | m4/gcc4_visibility.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/gcc4_visibility.m4 b/m4/gcc4_visibility.m4 index 84959f3..214d3f3 100644 --- a/m4/gcc4_visibility.m4 +++ b/m4/gcc4_visibility.m4 @@ -7,13 +7,13 @@ AC_DEFUN([CHECK_GCC_FVISIBILITY], [ CFLAGS="$saved_CFLAGS -fvisibility=hidden" AC_CACHE_CHECK([whether compiler accepts -fvisibility=hidden], [ac_cv_fvisibility_hidden], AC_COMPILE_IFELSE( - AC_LANG_PROGRAM([], []), + [AC_LANG_SOURCE()], [ac_cv_fvisibility_hidden=yes], [ac_cv_fvisibility_hidden=no] )) if test "$ac_cv_fvisibility_hidden" = "yes"; then AC_DEFINE([HAVE_VISIBILITY_HIDDEN], [1], - [True if compiler supports -fvisibility=hidden]) + [True if compiler supports -fvisibility=hidden]) AC_SUBST([GCC_FVISIBILITY_HIDDEN], [-fvisibility=hidden]) fi CFLAGS="$saved_CFLAGS" |