=================================================================== RCS file: /home/cvsd/home/cvs/ep/configure.in,v retrieving revision 1.13 retrieving revision 1.14 diff -u -p -r1.13 -r1.14 --- ep/configure.in 2002/10/13 13:35:29 1.13 +++ ep/configure.in 2002/10/14 14:38:04 1.14 @@ -1,4 +1,4 @@ -dnl $Platon: configure.in,v 1.12 2002/10/03 15:22:10 rajo Exp $ +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. AC_INIT(src/main.c) @@ -9,6 +9,17 @@ VERSION="1.0pre3" AC_SUBST(PACKAGE) 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(config.h) # }}} AC_CONFIG_HEADER @@ -45,16 +56,7 @@ dnl Checks for libraries. # Checks for libraries. {{{ dnl Replace `main' with a function in -lncurses: dnl AC_CHECK_LIB(ncurses, main) -AC_CHECK_LIB(cfg+, cfg_get_context, [], AC_ERROR(libcfg+ library 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_CHECK_LIB(cfg+, cfg_get_context, [], AC_ERROR(libcfg+ library not found $PLATON_LIBCFGPLUS_NOT_FOUND)) # }}} Checks for libraries. dnl Checks for header files. @@ -64,7 +66,7 @@ AC_HEADER_SYS_WAIT AC_CHECK_HEADERS(ctype.h errno.h float.h limits.h malloc.h \ math.h ncurses.h stdarg.h stdio.h stdlib.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)) +AC_CHECK_HEADERS(platon/cfg+.h, [], AC_ERROR(libcfg+ library installed, but header file not found $PLATON_LIBCFGPLUS_NOT_FOUND)) # }}} Checks for header files. dnl Checks for typedefs, structures, and compiler characteristics.