dnl $Id: configure.in,v 1.15 2002/06/01 11:55:20 host8 Exp $ AC_INIT(src/cfg+.h, 0.5, platon@pobox.sk) PACKAGE="cfg+" VERSION="0.5" # AC_CONFIG_HEADER {{{ AC_CONFIG_HEADER(config.h) # }}} AC_CONFIG_HEADER # Checks for programs. {{{ AC_PROG_AWK AC_PROG_CC # We don't need C++ compiler test now # Nepto [30/5/2002] #AC_PROG_CXX #AC_PROG_CPP # AC_GCC_TRADITIONAL {{{ AC_GCC_TRADITIONAL # }}} AC_GCC_TRADITIONAL if test "X$CC" = "Xgcc"; then CFLAGS="-Wall $CFLAGS" fi AC_PROG_LN_S AC_PROG_MAKE_SET AC_PROG_INSTALL AC_PROG_RANLIB # AC_CHECK_PROG STRIP {{{ # Don't strip if we don't have it AC_CHECK_PROG(STRIP, strip, strip, :) # }}} AC_CHECK_PROG STRIP # TODO: REMOVE ME: # removed ':' in db2html and doxygen Nepto [31/5/2002] AC_CHECK_PROG(DB2HTML, db2html, db2html, ) AC_CHECK_PROG(DOXYGEN, doxygen, doxygen, ) AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, :) # }}} Checks for programs. # AC_CHECK_HEADERS {{{ # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(ctype.h errno.h float.h limits.h math.h stdarg.h stdio.h stdlib.h string.h strings.h unistd.h) # }}} AC_CHECK_HEADERS # AC_CHECK_FUNCS {{{ dnl AC_CHECK_FUNCS(strerror) # }}} AC_CHECK_FUNCS AC_SUBST(PACKAGE) AC_SUBST(VERSION) # {{{ AC_OUTPUT AC_OUTPUT(Makefile src/Makefile doc/Makefile doc/Doxyfile doc/sgml/defs.sgml) # }}} AC_OUTPUT # vim600: fdm=marker fdc=3