diff options
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index e91be3c0d..c26e2d834 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -35,14 +35,14 @@ ac_save_CFLAGS="$CFLAGS" for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" -Xc do CFLAGS="$ac_save_CFLAGS $ac_arg" - AC_TRY_COMPILE( + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([ [#ifndef __STDC__ choke me #endif -], [int test (int i, double x); +]], [[int test (int i, double x); struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);};], -[fp_cv_prog_cc_stdc="$ac_arg"; break]) +struct s2 {int (*f) (double a);};]])], +[fp_cv_prog_cc_stdc="$ac_arg"; break],[]) done CFLAGS="$ac_save_CFLAGS" ]) |