summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2023-06-30 11:32:29 +0200
committerGravatar Nikias Bassen2023-06-30 11:32:29 +0200
commit835e626f1413a520093a5f1fa5c797016c13d80f (patch)
treefed61026e429bf8fa5f55f9e2da076ad3c3061b5 /m4
parent9f9de528fe930f5248ed996659fdf5c22974928e (diff)
downloadideviceinstaller-835e626f1413a520093a5f1fa5c797016c13d80f.tar.gz
ideviceinstaller-835e626f1413a520093a5f1fa5c797016c13d80f.tar.bz2
Updated deprecated autoconf macros
Diffstat (limited to 'm4')
-rw-r--r--m4/as-compiler-flag.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/as-compiler-flag.m4 b/m4/as-compiler-flag.m4
index 0f660cf..baab5d9 100644
--- a/m4/as-compiler-flag.m4
+++ b/m4/as-compiler-flag.m4
@@ -18,7 +18,7 @@ AC_DEFUN([AS_COMPILER_FLAG],
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $1"
- AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], [flag_ok=yes], [flag_ok=no])
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then
@@ -44,7 +44,7 @@ AC_DEFUN([AS_COMPILER_FLAGS],
do
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $each"
- AC_TRY_COMPILE([ ], [], [flag_ok=yes], [flag_ok=no])
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], [flag_ok=yes], [flag_ok=no])
CFLAGS="$save_CFLAGS"
if test "X$flag_ok" = Xyes ; then