[Nickle] nickle: Branch 'master'
Keith Packard
keithp at keithp.com
Sun Dec 9 22:09:35 PST 2007
configure.in | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 0d16382a67a39d928150b1970cf5295633ba2a50
Author: Keith Packard <keithp at keithp.com>
Date: Sun Dec 9 22:09:30 2007 -0800
Avoid using extra libraries unless necessary
diff --git a/configure.in b/configure.in
index deb010b..53e7ecc 100644
--- a/configure.in
+++ b/configure.in
@@ -33,10 +33,10 @@ AC_PROG_AWK
AC_CHECK_PROGS([DATE], date)
dnl Checks for libraries.
-AC_CHECK_LIB(m, log)
-AC_CHECK_LIB(nsl, gethostbyname)
-AC_CHECK_LIB(socket, socket)
-AC_CHECK_LIB(resolv, hstrerror)
+AC_CHECK_FUNC(log,,AC_CHECK_LIB(m, log))
+AC_CHECK_FUNC(gethostbyname,,AC_CHECK_LIB(nsl, gethostbyname))
+AC_CHECK_FUNC(socket,,AC_CHECK_LIB(socket, socket)
+ AC_CHECK_LIB(resolv, hstrerror))
AC_CHECK_LIB(dl, dlopen)
dnl as-compiler-flag.m4 0.0.1
More information about the Nickle
mailing list