version 1.7, 2002/04/24 19:35:52 |
version 1.9, 2002/05/31 17:05:20 |
Line 12 AC_CONFIG_HEADER(config.h) |
|
Line 12 AC_CONFIG_HEADER(config.h) |
|
|
|
dnl Checks for programs. |
dnl Checks for programs. |
AC_PROG_CC |
AC_PROG_CC |
AC_PROG_CXX |
|
AC_PROG_CPP |
# We don't need C++ compiler test now |
|
# Nepto [30/5/2002] |
|
#AC_PROG_CXX |
|
#AC_PROG_CPP |
|
|
AC_GCC_TRADITIONAL |
AC_GCC_TRADITIONAL |
if test "X$CC" = Xgcc; then |
if test "X$CC" = "Xgcc"; then |
CFLAGS="-Wall $CFLAGS" |
CFLAGS="-Wall $CFLAGS" |
fi |
fi |
AC_PROG_AWK |
AC_PROG_AWK |
Line 51 dnl User defined features |
|
Line 55 dnl User defined features |
|
AC_MSG_CHECKING(--enable-debug argument) |
AC_MSG_CHECKING(--enable-debug argument) |
AC_ARG_ENABLE(debug, |
AC_ARG_ENABLE(debug, |
[ --enable-debug=N Turn on debuging.], |
[ --enable-debug=N Turn on debuging.], |
debug="${enableval}"; DEBUG_FLAGS="-Wshadow -g -ggdb -DDEBUG=$debug"; |
debug="${enableval}"; DEBUG_FLAGS="-g -ggdb -DDEBUG=$debug"; |
AC_MSG_RESULT(${enableval}) ;, |
AC_MSG_RESULT(${enableval}) ;, |
debug="no"; AC_MSG_RESULT(no)) |
debug="no"; AC_MSG_RESULT(no)) |
if test "$debug" = "yes"; then |
if test "$debug" = "yes"; then |
DEBUG_FLAGS="-Wshadow -g -ggdb -DDEBUG=1" |
dnl Commented by Nepto [27/5/2002] |
|
dnl DEBUG_FLAGS="-Wshadow -g -ggdb -DDEBUG=1" |
|
DEBUG_FLAGS="-g -ggdb -DDEBUG=1" |
fi |
fi |
AC_SUBST(DEBUG_FLAGS) |
AC_SUBST(DEBUG_FLAGS) |
|
|
Line 71 AC_SUBST(MODULES_OBJ) |
|
Line 77 AC_SUBST(MODULES_OBJ) |
|
|
|
|
|
AC_OUTPUT(Makefile src/Makefile config.h) |
AC_OUTPUT(Makefile src/Makefile config.h) |
|
|