version 1.12, 2002/10/03 15:22:10 |
version 1.14, 2002/10/14 14:38:04 |
|
|
dnl $Id$ |
dnl $Platon: ep/configure.in,v 1.13 2002/10/13 13:35:29 nepto Exp $ |
|
|
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) |
|
|
PACKAGE="ep" |
PACKAGE="ep" |
VERSION="1.0pre2" |
VERSION="1.0pre3" |
|
|
AC_SUBST(PACKAGE) |
AC_SUBST(PACKAGE) |
AC_SUBST(VERSION) |
AC_SUBST(VERSION) |
|
|
|
PLATON_LIBCFGPLUS_NOT_FOUND=' |
|
============================================================ |
|
|
|
extended pipelining (ep) needs libcfg+ library to run. |
|
libcfg+ is command line and config file parsing library. |
|
You can get libcfg+ sources and binary packages from |
|
|
|
http://platon.sk/projects/libcfg+/ |
|
|
|
============================================================'; |
|
|
# AC_CONFIG_HEADER {{{ |
# AC_CONFIG_HEADER {{{ |
AC_CONFIG_HEADER(config.h) |
AC_CONFIG_HEADER(config.h) |
# }}} AC_CONFIG_HEADER |
# }}} AC_CONFIG_HEADER |
Line 45 dnl Checks for libraries. |
|
Line 56 dnl Checks for libraries. |
|
# Checks for libraries. {{{ |
# Checks for libraries. {{{ |
dnl Replace `main' with a function in -lncurses: |
dnl Replace `main' with a function in -lncurses: |
dnl AC_CHECK_LIB(ncurses, main) |
dnl AC_CHECK_LIB(ncurses, main) |
|
AC_CHECK_LIB(cfg+, cfg_get_context, [], AC_ERROR(libcfg+ library not found $PLATON_LIBCFGPLUS_NOT_FOUND)) |
# }}} Checks for libraries. |
# }}} Checks for libraries. |
|
|
dnl Checks for header files. |
dnl Checks for header files. |
Line 54 AC_HEADER_SYS_WAIT |
|
Line 66 AC_HEADER_SYS_WAIT |
|
AC_CHECK_HEADERS(ctype.h errno.h float.h limits.h malloc.h \ |
AC_CHECK_HEADERS(ctype.h errno.h float.h limits.h malloc.h \ |
math.h ncurses.h stdarg.h stdio.h stdlib.h \ |
math.h ncurses.h stdarg.h stdio.h stdlib.h \ |
string.h strings.h sys/time.h unistd.h) |
string.h strings.h sys/time.h unistd.h) |
|
AC_CHECK_HEADERS(platon/cfg+.h, [], AC_ERROR(libcfg+ library installed, but header file not found $PLATON_LIBCFGPLUS_NOT_FOUND)) |
# }}} Checks for header files. |
# }}} Checks for header files. |
|
|
dnl Checks for typedefs, structures, and compiler characteristics. |
dnl Checks for typedefs, structures, and compiler characteristics. |
Line 130 AC_SUBST(MODULES_DEP) |
|
Line 143 AC_SUBST(MODULES_DEP) |
|
AC_OUTPUT(config.h Makefile src/Makefile doc/Makefile) |
AC_OUTPUT(config.h Makefile src/Makefile doc/Makefile) |
|
|
# vim600: fdm=marker fdc=3 |
# vim600: fdm=marker fdc=3 |
|
|