Fill in some tests and comment some others.
authorasmodai <asmodai@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 24 Jun 2007 10:45:26 +0000 (10:45 +0000)
committerasmodai <asmodai@9efc2488-bf62-4759-914b-345cdb29e865>
Sun, 24 Jun 2007 10:45:26 +0000 (10:45 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/autotools@967 9efc2488-bf62-4759-914b-345cdb29e865

configure.ac

index e227d10..aaf1e16 100644 (file)
@@ -14,19 +14,19 @@ AC_PROG_MAKE_SET
 
 # Checks for libraries.
 # FIXME: Replace `main' with a function in `-ldl':
-AC_CHECK_LIB([dl], [main])
-# FIXME: Replace `main' with a function in `-lmemcache':
-AC_CHECK_LIB([memcache], [main])
-# FIXME: Replace `main' with a function in `-lncurses':
-AC_CHECK_LIB([ncurses], [main])
+#AC_CHECK_LIB([dl], [main])
+# Test for libmemcache.
+AC_CHECK_LIB([memcache], [mcMemSetup])
+# Test for ncurses.
+AC_CHECK_LIB([ncurses], [initscr])
 # FIXME: Replace `main' with a function in `-lobjson':
-AC_CHECK_LIB([objson], [main])
+#AC_CHECK_LIB([objson], [main])
 # FIXME: Replace `main' with a function in `-lopensrf':
-AC_CHECK_LIB([opensrf], [main])
-# FIXME: Replace `main' with a function in `-lreadline':
-AC_CHECK_LIB([readline], [main])
-# FIXME: Replace `main' with a function in `-lxml2':
-AC_CHECK_LIB([xml2], [main])
+#AC_CHECK_LIB([opensrf], [main])
+# Test for libreadline.
+AC_CHECK_LIB([readline], [readline])
+# Test for libxml2.
+AC_CHECK_LIB([xml2], [xmlInitParser])
 
 # Checks for header files.
 AC_HEADER_STDC