[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible bug in configure.in



Goo 0.153's configure script doesn't find the existing libgc on my linux
system because it doesn't realize it needs to link with -ldl.  I'm not
sure if the attached patch is the right solution but it fixes the
problem for me.

-- 
Miles Egan <miles@caddr.com>
diff -ru goo-0_153-any-dev/configure.in goo-0_153-any-dev-patched/configure.in
--- goo-0_153-any-dev/configure.in	2002-07-18 14:45:45.000000000 -0700
+++ goo-0_153-any-dev-patched/configure.in	2003-04-18 17:07:21.000000000 -0700
@@ -8,12 +8,12 @@
 AC_PROG_LN_S
 GOO_CHECK_EXE_SUFFIX
 
-# Checks for libraries.
-GOO_CHECK_GC_LIB
-
 AC_SEARCH_LIBS(log, m, , AC_MSG_ERROR([Unable to find math library]))
 AC_SEARCH_LIBS(dlopen, dl, AC_DEFINE(HAVE_DLOPEN, 1), AC_DEFINE(HAVE_DLOPEN, 0))
 
+# Checks for libraries.
+GOO_CHECK_GC_LIB
+
 # Checks for header files.
 AC_HEADER_STDC
 AC_CHECK_HEADERS([errno.h fcntl.h memory.h stdlib.h string.h unistd.h])

Attachment: signature.asc
Description: This is a digitally signed message part