Skip to content

Commit 31fbb79

Browse files
committed
build: Replace use of deprecated autoconf macro AC_PROG_CC_C89
According to [autoconf 2.70](https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html) documentation, the `AC_PROG_CC_C89' is replaced by `AC_PROG_CC`, which defines the same variable `ac_cv_prog_cc_c89`. Avoids the following message: ``` configure.ac:23: warning: The macro `AC_PROG_CC_C89' is obsolete. ```
1 parent d8a2463 commit 31fbb79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ AC_PATH_TOOL(RANLIB, ranlib)
3939
AC_PATH_TOOL(STRIP, strip)
4040

4141
AM_PROG_CC_C_O
42-
AC_PROG_CC_C89
42+
AC_PROG_CC
4343
if test x"$ac_cv_prog_cc_c89" = x"no"; then
4444
AC_MSG_ERROR([c89 compiler support required])
4545
fi

0 commit comments

Comments
 (0)