diff options
| author | 2023-06-30 11:32:29 +0200 | |
|---|---|---|
| committer | 2023-06-30 11:32:29 +0200 | |
| commit | 835e626f1413a520093a5f1fa5c797016c13d80f (patch) | |
| tree | fed61026e429bf8fa5f55f9e2da076ad3c3061b5 /m4 | |
| parent | 9f9de528fe930f5248ed996659fdf5c22974928e (diff) | |
| download | ideviceinstaller-835e626f1413a520093a5f1fa5c797016c13d80f.tar.gz ideviceinstaller-835e626f1413a520093a5f1fa5c797016c13d80f.tar.bz2 | |
Updated deprecated autoconf macros
Diffstat (limited to 'm4')
| -rw-r--r-- | m4/as-compiler-flag.m4 | 4 | 
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 | 
