Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, April 18, 2024

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

Revision 1.5, Mon Feb 18 20:50:54 2002 UTC (22 years, 2 months ago) by host8

Changes since 1.4: +1 -12 lines

Improvements.

dnl
dnl $Id: configure.in,v 1.5 2002/02/18 20:50:54 host8 Exp $
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