From 69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 30 Dec 2020 23:41:31 -0600 Subject: 47786: prepare for autoconf 2.70 --- aclocal.m4 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'aclocal.m4') 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" ]) -- cgit 1.4.1