From: Adam Dickmeiss Date: Tue, 21 Aug 2012 12:40:31 +0000 (+0200) Subject: Remove -L/usr/lib from XML2 libs X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=c40c0aca772c390de538192e144b79af3831f0d7;p=m4-moved-to-github.git Remove -L/usr/lib from XML2 libs It's not necessary to specify on most systems and it confuses the linker to think that /usr/lib might precede /usr/local/lib or other. --- diff --git a/yaz_libxml2.m4 b/yaz_libxml2.m4 index 5f3641d..26e474f 100644 --- a/yaz_libxml2.m4 +++ b/yaz_libxml2.m4 @@ -44,6 +44,7 @@ if test "$xml2dir" != "no"; then AC_MSG_ERROR([libxml2 development libraries not found.]) fi fi + XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ]) @@ -97,6 +98,7 @@ if test "$xsltdir" != "no"; then AC_MSG_ERROR([libXSLT development libraries not found.]) fi fi + XML2_LIBS=`echo $XML2_LIBS|sed 's@-./usr/lib @@g'` fi ])