about summary refs log tree commit diff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@gmail.com>2020-12-30 23:41:31 -0600
committerOliver Kiddle <opk@zsh.org>2021-04-09 21:49:14 +0200
commit69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541 (patch)
treea94b5947eb0c4f7a4ed7f9531754d4ffbad63992 /aclocal.m4
parentdf48cc8404f3fc2976c9d70c9aeefda171432cf9 (diff)
downloadzsh-69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541.tar.gz
zsh-69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541.tar.xz
zsh-69ffb0bf0aa6c59e3c0529e540f67a26a6cdc541.zip
47786: prepare for autoconf 2.70
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m48
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"
 ])