- 论坛徽章:
- 0
|
我在一个C++程序调用portaudio, automake时经常出现如下错误:(autoconf没有问题)
portaudio/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'
我的configure.ac:
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(hello, 0.2, BUG-REPORT-ADDRESS)
AC_CONFIG_SRCDIR(hello.cpp)
AM_INIT_AUTOMAKE(subdir-objects)
AC_PROG_LIBTOOL
AC_CONFIG_HEADER(config.h)
# Checks for programs.
AC_PROG_CXX
AC_PROG_CC
# Checks for libraries.
# Checks for header files.
# Checks for typedefs, structures, and compiler characteristics.
# Checks for library functions.
# check for portaudio
LP_SETUP_PORTAUDIO
#AC_CONFIG_FILES([Makefile])
AC_OUTPUT(Makefile src/Makefile src/hello portaudio/Makefile \
m4/Makefile ) |
|