configure.ac: fix to silent autoreconf warnings

This commit is contained in:
Silvan Calarco 2013-03-02 13:55:53 +01:00
parent 9127a7edd2
commit 28b1420417
2 changed files with 2 additions and 3 deletions

View File

@ -17,7 +17,6 @@
auxdir = @ac_aux_dir@ auxdir = @ac_aux_dir@
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 foreign nostdinc no-dist-gzip AUTOMAKE_OPTIONS = 1.8 dist-bzip2 foreign nostdinc no-dist-gzip
ACLOCAL_AMFLAGS = -I config
SUBDIRS = $(auxdir) html src SUBDIRS = $(auxdir) html src

View File

@ -86,11 +86,11 @@ AC_DEFUN([cc_TRY_CFLAGS],
[AC_MSG_CHECKING([whether compiler accepts $1]) [AC_MSG_CHECKING([whether compiler accepts $1])
ac_save_CFLAGS="$CFLAGS" ac_save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1" CFLAGS="$CFLAGS $1"
AC_COMPILE_IFELSE( AC_COMPILE_IFELSE([AC_LANG_SOURCE([
[[int x;]], [[int x;]],
[ac_cv_try_cflags_ok=yes [ac_cv_try_cflags_ok=yes
SUPPORTED_CFLAGS="$SUPPORTED_CFLAGS $1"], SUPPORTED_CFLAGS="$SUPPORTED_CFLAGS $1"],
[ac_cv_try_cflags_ok=no]) [ac_cv_try_cflags_ok=no]])])
CFLAGS="$ac_save_CFLAGS" CFLAGS="$ac_save_CFLAGS"
AC_MSG_RESULT([$ac_cv_try_cflags_ok]) AC_MSG_RESULT([$ac_cv_try_cflags_ok])
if test x"$ac_cv_try_cflags_ok" = x"yes"; then if test x"$ac_cv_try_cflags_ok" = x"yes"; then