Improve messages.
[pspp-builds.git] / configure.ac
index f64748657e5a665be377bc6580a56f637c2592c0..3a1405fce377b7dd4b5e264703f2c3fa29a1be94 100644 (file)
@@ -36,7 +36,7 @@ AC_ARG_WITH(libplot, [  --without-libplot         don't compile in support of ch
 
 if test x"$with_libplot" != x"no" ; then 
        AC_CHECK_LIB(plot, pl_newpl_r,,
-         AC_MSG_ERROR([You must install libplot (or use --without-libplot)])
+         AC_MSG_ERROR([You must install libplot development libraries (or use --without-libplot)])
        )
 fi
 AM_CONDITIONAL(WITHCHARTS, test x"$with_libplot" != x"no")
@@ -56,9 +56,9 @@ int main (void)
 using Solaris.  You can probably fix the problem with
 `--disable-largefile' or `CFLAGS=-ansi'.])])
 
-AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR([You must install libgslcblas]))
+AC_CHECK_LIB(gslcblas,main,,AC_MSG_ERROR([You must install libgslcblas development libraries]))
 AC_CHECK_LIB(gsl, gsl_cdf_chisq_Q,,
-  AC_MSG_ERROR([You must install libgsl version 1.4 or later]))
+  AC_MSG_ERROR([You must install development libraries for libgsl version 1.4 or later]))
 
 AC_ARG_WITH(ncurses,
 [  --without-ncurses         don't compile in ncurses command line editing])
@@ -97,10 +97,6 @@ AC_CHECK_HEADERS([limits.h memory.h sys/stat.h sys/time.h sys/types.h \
                   fpu_control.h sys/mman.h sys/wait.h ieeefp.h fenv.h] )
 
 # For gnulib.
-gl_LIB(libgl)
-gl_SOURCE_BASE(gl)
-gl_M4_BASE(gl/m4)
-gl_MODULES(alloca alloca-opt assert full-read full-write gethostname getline getlogin_r getopt gettext memchr memcmp memmem memmove memset progname readlink restrict snprintf stat-macros stdbool stpcpy strcase strcspn strerror strftime strstr strtod strtok_r strtol strtoul vsnprintf xalloc xalloc-die xreadlink)
 gl_INIT
 
 AC_C_CONST
@@ -147,11 +143,12 @@ if test x"$enable_debug" = x"yes"  ; then
 fi
 
 AC_CONFIG_FILES([Makefile m4/Makefile gl/Makefile intl/Makefile po/Makefile.in
-                lib/Makefile lib/gsl-extras/Makefile
+                lib/Makefile lib/gsl-extras/Makefile lib/linreg/Makefile
                 doc/Makefile 
                 src/Makefile src/expressions/Makefile
                 config/Makefile
-                tests/Makefile])
+                tests/Makefile
+                examples/Makefile])
 AC_CONFIG_COMMANDS([pref.h],[
           # Copy pref.h from pref.h.orig if prudent
           if test ! -f pref.h; then