Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, January 28, 2022

File: [Platon] / ep / configure.in (download)

Revision 1.4, Tue Sep 25 18:00:55 2001 UTC (20 years, 4 months ago) by host8

Changes since 1.3: +13 -3 lines

Removed DEBUG constant from src/main.h, DEBUG will be enabled
by running ./configure --enable-debug=N

dnl $Log: configure.in,v $
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: configure.in,v $
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.
AC_INIT(src/main.c)
AM_INIT_AUTOMAKE(ep, 1.0.1nosig)
AM_CONFIG_HEADER(config.h)

dnl Checks for programs.
AC_PROG_CC
AC_PROG_AWK
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET

dnl Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_TYPE_SIGNAL
AC_FUNC_VPRINTF
AC_HAVE_FUNCS(select strstr)

dnl Checks for libraries.
dnl Replace `main' with a function in -lncurses:
dnl AC_CHECK_LIB(ncurses, main)

dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(malloc.h sys/time.h unistd.h)

dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST

dnl Checks for library functions.
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)

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top