OSSP CVS Repository

ossp - Check-in [717]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 717
Date: 2001-Aug-21 11:32:39 (local)
2001-Aug-21 09:32:39 (UTC)
User:simons
Branch:
Comment: Report failure in the configure script using AC_MSG_ERROR() rather than using exit().
Tickets:
Inspections:
Files:
ossp-pkg/lmtp2nntp/configure.ac      1.4 -> 1.5     4 inserted, 1 deleted

ossp-pkg/lmtp2nntp/configure.ac 1.4 -> 1.5

--- configure.ac 2001/08/20 11:28:29     1.4
+++ configure.ac 2001/08/21 09:32:39     1.5
@@ -17,7 +17,10 @@
 AC_PROG_CC
 AC_PROG_CPP
 AC_CHECK_DEBUGGING
-AC_CHECK_EXTLIB([Generic String Library], str, str_parse, str.h, :, echo "REQUIRE STR!"; exit 1)
+AC_CHECK_EXTLIB([Generic String Library], str, str_parse, str.h, , [
+                         AC_MSG_RESULT(not found)
+                         AC_MSG_ERROR([lmtp2nntp requires libstr!])
+                         ])
 AC_CHECK_LIB(socket, getprotobyname)
 AC_CHECK_LIB(nsl, gethostbyname)
 AC_CHECK_FUNCS(inet_pton inet_aton)

CVSTrac 2.0.1