r2063 - nALFS/nALFS/trunk

thomasp at linuxfromscratch.org thomasp at linuxfromscratch.org
Mon Oct 3 08:13:12 PDT 2005


Author: thomasp
Date: 2005-10-03 09:13:11 -0600 (Mon, 03 Oct 2005)
New Revision: 2063

Modified:
   nALFS/nALFS/trunk/bootstrap.configure
Log:
Merge a change that was lost to fix detection of the ncurses library properly.

Modified: nALFS/nALFS/trunk/bootstrap.configure
===================================================================
--- nALFS/nALFS/trunk/bootstrap.configure	2005-10-03 14:00:33 UTC (rev 2062)
+++ nALFS/nALFS/trunk/bootstrap.configure	2005-10-03 15:13:11 UTC (rev 2063)
@@ -20,8 +20,15 @@
 AC_CONFIG_LIBCONFIG_IN([nALFS])
 AC_STDC_HEADERS
 AC_CONFIG_HEADER([config.h])
+# Check for ncurses libs
+AC_CHECK_LIB([ncurses], [initscr], [MAIN_LIBS="${MAIN_LIBS} -lncurses"], [
+	echo "***"
+	echo "*** The ncurses library was not found."
+	echo "*** Please install the ncurses library and the rerun configure."
+	echo "***"
+	exit 1
+])
 AC_CHECK_LIB([form], [form_driver], [MAIN_LIBS="${MAIN_LIBS} -lform"])
-AC_CHECK_LIB([ncurses], [initscr], [MAIN_LIBS="${MAIN_LIBS} -lncurses"])
 AC_SUBST([MAIN_LIBS])
 AM_CONDITIONAL(STATIC_BUILD, test x${enable_static} = xyes)
 if test x${enable_static} = xyes; then




More information about the alfs-log mailing list