version 1.14, 2002/10/14 14:38:04 |
version 1.15, 2002/10/14 22:36:33 |
|
|
dnl $Platon: ep/configure.in,v 1.13 2002/10/13 13:35:29 nepto Exp $ |
dnl $Platon: ep/configure.in,v 1.14 2002/10/14 14:38:04 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) |
Line 16 PLATON_LIBCFGPLUS_NOT_FOUND=' |
|
Line 16 PLATON_LIBCFGPLUS_NOT_FOUND=' |
|
libcfg+ is command line and config file parsing library. |
libcfg+ is command line and config file parsing library. |
You can get libcfg+ sources and binary packages from |
You can get libcfg+ sources and binary packages from |
|
|
http://platon.sk/projects/libcfg+/ |
http://www.platon.sk/projects/libcfg+/ |
|
|
============================================================'; |
============================================================'; |
|
|
Line 56 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)) |
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 66 AC_HEADER_SYS_WAIT |
|
Line 67 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)) |
AC_CHECK_HEADERS(platon/cfg+.h, [], AC_ERROR(libcfg+ 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. |