possible bug in configure.in

Miles Egan <[email protected]> 18 Apr 2003 17:09:29 -0700
Newsgroups gmane.comp.lang.goo.general
Message-ID <[email protected]>
--=-LzvDzpH4Sae6gos0RNuf
Content-Type: multipart/mixed; boundary="=-RkAIJqY8GKkYAMxha8y4"


--=-RkAIJqY8GKkYAMxha8y4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.

--=20
Miles Egan <[email protected]>

--=-RkAIJqY8GKkYAMxha8y4
Content-Disposition: attachment; filename=goo.patch
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=goo.patch; charset=UTF-8

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 -0=
700
@@ -8,12 +8,12 @@
 AC_PROG_LN_S
 GOO_CHECK_EXE_SUFFIX
=20
-# 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_DLOPE=
N, 0))
=20
+# 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])

--=-RkAIJqY8GKkYAMxha8y4--

--=-LzvDzpH4Sae6gos0RNuf
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+oJO5U4Jq/wH1PVERAv5iAJ9LDjYUkOlwjXdff3MKeaqnng1WhACgsEf+
Kmmxceyj9cZ7GjDiacyx5wE=
=3NFI
-----END PGP SIGNATURE-----

--=-LzvDzpH4Sae6gos0RNuf--