On Thu, Nov 16, 2006 at 03:12:28 +0000, Joe Orton wrote:
> This is a rewrite of the expat detection in apr-util to fix lingering 
> problems like PR 28205 caused by attempting to detect presence of 
> libraries/headers using "test -f":
[...]
> - aiming for trunk not the 1.2.x branch!

Meanwhile, is there a point in the applying the attached patch, to help
the 1.2.8 branch work in one more case (missing .la file)?

Regards,
Peter
-- 
SUSE LINUX Products GmbH               Bug, bogey, bugbear, bugaboo:
Research & Development               A malevolent monster (not true?);
                                          Some mischief microbic;
                                         What makes someone phobic;
                                     The work one does not want to do.
  From: Chris Young (The Omnificent English Dictionary In Limerick Form)
Index: build/apu-conf.m4
===================================================================
--- build/apu-conf.m4	(revision 489123)
+++ build/apu-conf.m4	(working copy)
@@ -78,6 +78,13 @@
     expat_libs="-lexpat"
     expat_libtool="$1/lib64/libexpat.la"
   elif test -r "$1/include/expat.h" -a \
+    -r "$1/lib64/libexpat.a"; then
+    dnl Expat 1.95.* installation (without libtool)
+    dnl FreeBSD textproc/expat2
+    expat_include_dir="$1/include"
+    expat_ldflags="-L$1/lib64"
+    expat_libs="-lexpat"
+  elif test -r "$1/include/expat.h" -a \
     -r "$1/lib/libexpat.a"; then
     dnl Expat 1.95.* installation (without libtool)
     dnl FreeBSD textproc/expat2

Attachment: pgpgKG2b8ElKK.pgp
Description: PGP signature

Reply via email to