From 28b1420417a2976aa42e4f5837fc6ec824030ebd Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 2 Mar 2013 13:55:53 +0100 Subject: [PATCH] configure.ac: fix to silent autoreconf warnings --- Makefile.am | 1 - configure.ac | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index cdaadba..0862a24 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,6 @@ auxdir = @ac_aux_dir@ AUTOMAKE_OPTIONS = 1.8 dist-bzip2 foreign nostdinc no-dist-gzip -ACLOCAL_AMFLAGS = -I config SUBDIRS = $(auxdir) html src diff --git a/configure.ac b/configure.ac index 4436516..d1abb85 100644 --- a/configure.ac +++ b/configure.ac @@ -86,11 +86,11 @@ AC_DEFUN([cc_TRY_CFLAGS], [AC_MSG_CHECKING([whether compiler accepts $1]) ac_save_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $1" - AC_COMPILE_IFELSE( + AC_COMPILE_IFELSE([AC_LANG_SOURCE([ [[int x;]], [ac_cv_try_cflags_ok=yes SUPPORTED_CFLAGS="$SUPPORTED_CFLAGS $1"], - [ac_cv_try_cflags_ok=no]) + [ac_cv_try_cflags_ok=no]])]) CFLAGS="$ac_save_CFLAGS" AC_MSG_RESULT([$ac_cv_try_cflags_ok]) if test x"$ac_cv_try_cflags_ok" = x"yes"; then