[24211] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r23812 - trunk/debathena/scripts

daemon@ATHENA.MIT.EDU (Evan Broder)
Mon May 18 22:03:52 2009

Date: Mon, 18 May 2009 22:03:41 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200905190203.n4J23fRw032310@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: broder
Date: 2009-05-18 22:03:40 -0400 (Mon, 18 May 2009)
New Revision: 23812

Modified:
   trunk/debathena/scripts/aclocal.m4
Log:
In aclocal.m4, take advantage of the default behavior of AC_CHECK_LIB
to add the library to set HAVE_LIBlibrary and add the library to LIBS.



Modified: trunk/debathena/scripts/aclocal.m4
===================================================================
--- trunk/debathena/scripts/aclocal.m4	2009-05-19 01:10:34 UTC (rev 23811)
+++ trunk/debathena/scripts/aclocal.m4	2009-05-19 02:03:40 UTC (rev 23812)
@@ -79,7 +79,7 @@
 		CPPFLAGS="$CPPFLAGS -I$com_err/include"
 		LDFLAGS="$LDFLAGS -L$com_err/lib"
 	fi
-	AC_CHECK_LIB(com_err, com_err, :,
+	AC_CHECK_LIB(com_err, com_err, ,
 		     [AC_MSG_ERROR(com_err library not found)])
 else
 	AC_MSG_ERROR(This package requires com_err.)
@@ -98,7 +98,7 @@
 	fi
 	AC_CHECK_LIB(curses, initscr)
 	AC_CHECK_LIB(readline, readline)
-	AC_CHECK_LIB(ss, ss_perror, :,
+	AC_CHECK_LIB(ss, ss_perror, ,
 		     [AC_MSG_ERROR(ss library not found)], -lcom_err)
 else
 	AC_MSG_ERROR(This package requires ss.)


home help back first fref pref prev next nref lref last post