Skip to content

Commit e0db3f8

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. ``` Also, remove deprecated `AM_PROG_CC_C_O`.
1 parent d8a2463 commit e0db3f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure.ac

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ AC_PATH_TOOL(AR, ar)
3838
AC_PATH_TOOL(RANLIB, ranlib)
3939
AC_PATH_TOOL(STRIP, strip)
4040

41-
AM_PROG_CC_C_O
42-
AC_PROG_CC_C89
41+
AC_PROG_CC
4342
if test x"$ac_cv_prog_cc_c89" = x"no"; then
4443
AC_MSG_ERROR([c89 compiler support required])
4544
fi

0 commit comments

Comments
 (0)