diff options
author | Nikias Bassen | 2021-08-31 01:58:40 +0200 |
---|---|---|
committer | Nikias Bassen | 2021-08-31 01:58:40 +0200 |
commit | c3a16f3e4968f38aa8813ad0c0731bdb5aa745fb (patch) | |
tree | b2192d4918f28aff6787ef1a2d3e8dacc2602ab9 /m4 | |
parent | 9cf3e5a619a568384d729c5b095f43624db281b9 (diff) | |
download | usbmuxd-c3a16f3e4968f38aa8813ad0c0731bdb5aa745fb.tar.gz usbmuxd-c3a16f3e4968f38aa8813ad0c0731bdb5aa745fb.tar.bz2 |
Update deprecated autoconf macros and update m4 files
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 |