From 5d98272c53816813872aaa807e4ccc1ee2ad1bfc Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Wed, 3 Jan 2018 02:52:46 -0500 Subject: configure: fix compiling error for lacking of AM_PROG_CC_C_O in configure.ac Added the AM_PROG_CC_C_O macro although it is obsolete since automake 1.14. But as automake < 1.14 is still out there. Change-Id: Id6e0db318068a65c6cb9c2bfb0c32af4eb4a9b70 Signed-off-by: Xiubo Li --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 3fd3646..8b8107d 100644 --- a/configure.ac +++ b/configure.ac @@ -63,6 +63,9 @@ LT_INIT # Checks for programs. AC_PROG_CC +# For legacy reasons. +AM_PROG_CC_C_O + AC_CHECK_PROG(RPCGEN, rpcgen, yes, no) if test "x$RPCGEN" = "xno"; then AC_MSG_ERROR([rpcgen not found, needed for building]) -- cgit