RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall
Root: /v/rpm/cvs Email: rse@rpm5.org
Module: rpm Date: 29-Jul-2007 17:37:23
Branch: HEAD Handle: 2007072916372300
Modified files:
rpm configure.ac
Log:
insque(3) is in libc under FreeBSD, but if we unconditionally try to
find insque(3) in libcompat, the check will succeed (as linking against
-lcompat -lc already suceeds because of -lc) and libcompat will be
linked in. Unfortunately, libcompat under FreeBSD contains an ancient V8
regex implementation which in turn let's RPM fail over its feed during
at least "rpm -e <pubkey>" operation and certainly more. So, check for
insque(3) in libcompat only if it isn't already found in libc.
Summary:
Revision Changes Path
2.230 +1 -1 rpm/configure.ac
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/configure.ac
============================================================================
$ cvs diff -u -r2.229 -r2.230 configure.ac
--- rpm/configure.ac 29 Jul 2007 14:10:46 -0000 2.229
+++ rpm/configure.ac 29 Jul 2007 15:37:23 -0000 2.230
@@ -504,7 +504,7 @@
dnl # POSIX search(3) API
AC_CHECK_HEADERS(search.h)
-AC_CHECK_LIB(compat, insque)
+AC_CHECK_FUNC(insque, [], [ AC_CHECK_LIB(compat, insque) ])
dnl # POSIX pthreads API
WITH_PTHREADS=no
@@ .
Received on Sun Jul 29 17:37:23 2007