version 1.1, 2001/09/21 19:04:13 |
version 1.4, 2001/09/25 18:00:55 |
|
|
|
dnl $Log$ |
|
dnl Revision 1.4 2001/09/25 18:00:55 host8 |
|
dnl Removed DEBUG constant from src/main.h, DEBUG will be enabled |
|
dnl by running ./configure --enable-debug=N |
|
dnl |
|
dnl Revision 1.3 2001/09/25 17:30:04 host8 |
|
dnl Removed files Makefile.am, src/Makefile.am (there is no need to run automake) |
|
dnl Modified Makefile.in, src/Makefile.in |
|
dnl Command 'make distcheck' works! |
|
dnl |
|
dnl Revision 1.2 2001/09/21 19:40:13 host8 |
|
dnl Added $Log$ |
|
dnl Added Revision 1.4 2001/09/25 18:00:55 host8 |
|
dnl Added Removed DEBUG constant from src/main.h, DEBUG will be enabled |
|
dnl Added by running ./configure --enable-debug=N |
|
dnl Added |
|
dnl Added Revision 1.3 2001/09/25 17:30:04 host8 |
|
dnl Added Removed files Makefile.am, src/Makefile.am (there is no need to run automake) |
|
dnl Added Modified Makefile.in, src/Makefile.in |
|
dnl Added Command 'make distcheck' works! |
|
dnl Added keyword substitution |
|
dnl |
|
|
dnl Process this file with autoconf to produce a configure script. |
dnl Process this file with autoconf to produce a configure script. |
AC_INIT(src/main.c) |
AC_INIT(src/main.c) |
AM_INIT_AUTOMAKE(ep, 1.0.1nosig) |
AM_INIT_AUTOMAKE(ep, 1.0.1nosig) |
|
|
dnl Checks for library functions. |
dnl Checks for library functions. |
AC_CHECK_FUNCS(select strstr) |
AC_CHECK_FUNCS(select strstr) |
|
|
|
dnl User defined features |
|
AC_MSG_CHECKING(--enable-debug argument) |
|
AC_ARG_ENABLE(debug, |
|
[ --enable-debug=N Turn on debuging.], |
|
debug="${enableval}"; DEBUG="-g -ggdb -DDEBUG=$debug"; |
|
AC_MSG_RESULT(${enableval}) ;, |
|
debug="no"; AC_MSG_RESULT(no)) |
|
if test "$debug" = "yes"; then |
|
DEBUG="-g -ggdb -DDEBUG=1" |
|
fi |
|
AC_SUBST(DEBUG) |
|
|
|
|
AC_OUTPUT(Makefile src/Makefile) |
AC_OUTPUT(Makefile src/Makefile) |