automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [AUTOMAKE-NG] AM_PROG_CC_C_0: command not found


From: Jiang Xiaodong
Subject: [Automake-NG] [AUTOMAKE-NG] AM_PROG_CC_C_0: command not found
Date: Mon, 18 Jun 2012 18:17:25 +0800

I had 2 bin programs in src/Makefile.am, and I set CFLAGS

bin_PROGRAMS = ziproxy runtest
runtest_CFLAGS=-DTEST

Then automake reported error:

$ automake
man/Makefile.am:5: wildcard ziproxy.??.1: non-POSIX variable name
man/Makefile.am:5: (probably a GNU make extension)
man/Makefile.am:5: wildcard ziproxylogtool.??.1: non-POSIX variable name
man/Makefile.am:5: (probably a GNU make extension)
src/Makefile.am:8: compiling `runtest.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.in'


But if I add such line into configure.in
dnl Checks for programs.
AC_PROG_CC
AM_PROG_CC_C_0
AC_LANG_C

I got another error:

$ autoreconf
configure.in:10: warning: macro `AM_PROG_CC_C_0' not found in library
configure.in:10: error: possibly undefined macro: AM_PROG_CC_C_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

Could anyone help me?
--
Xiaodong Jiang



reply via email to

[Prev in Thread] Current Thread [Next in Thread]