Date: Wednesday, March 21, 2007 @ 19:44:09
  Author: marc
    Path: /cvsroot/carob/libmysequoia

Modified: configure.ac (1.37 -> 1.38)

Enhanced error messages


--------------+
 configure.ac |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)


Index: libmysequoia/configure.ac
diff -u libmysequoia/configure.ac:1.37 libmysequoia/configure.ac:1.38
--- libmysequoia/configure.ac:1.37      Wed Mar 21 18:44:10 2007
+++ libmysequoia/configure.ac   Wed Mar 21 19:44:09 2007
@@ -149,19 +149,19 @@
 
 # Check for Carob headers and library
 AC_CHECK_HEADER([carob/Common.hpp], ,
-                [AC_MSG_ERROR([[carob/Common.hpp not found. Try for instance:
-          ./configure CPPFLAGS="-I\`pwd\`/../carob/include"
-       or ./configure CPPFLAGS="-I/usr/local/include"]])])
+                [AC_MSG_ERROR([[carob/Common.hpp not found. Try to fix 
CPPFLAGS, for instance:
+          ./configure CPPFLAGS="...  -I\`pwd\`/../carob/include"
+       or ./configure CPPFLAGS="...  -I/usr/local/include"]])])
 
 # link ourselves to libgmp so we can use libcarob.a
 AC_CHECK_LIB(gmp, main, ,
-       [AC_MSG_ERROR([[libgmp not found. Try ./configure LDFLAGS="-L..."]])])
+       [AC_MSG_ERROR([[libgmp not found. Install it or fix LDFLAGS.]])])
 
 # AC_CHECK_LIB does not support namespaces
 AC_CHECK_LIB(carob, main, ,
-       [AC_MSG_ERROR([[libcarob not found. Try for instance:
-       ./configure LDFLAGS="-L`pwd`/../carob"
-    or ./configure LDFLAGS="-L/usr/local/lib"]])]
+       [AC_MSG_ERROR([[libcarob not found. Try to fix LDFLAGS, for instance:
+       ./configure LDFLAGS="...  -L`pwd`/../carob"
+    or ./configure LDFLAGS="...  -L/usr/local/lib"]])]
      , -pthread)
 # -pthread works only with gcc.
 # Should probably use http://autoconf-archive.cryp.to/acx_pthread.html

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to