Filter /usr/lib from link line

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14621 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-10-02 02:26:25 +00:00
parent cb5aa8f8c6
commit 32942f8a90
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-10-01 Adam Fedor <fedor@gnu.org>
* config/pathxml.m4: Filter -L/usr/lib out of XML_LIBS.
* configure: Regenerate.
2002-10-01 02:21 Alexander Malmberg <alexander@malmberg.org>
* Source/NSUserDefaults.m (-synchronize): Handle lockDate being nil.

View file

@ -35,6 +35,9 @@ AC_ARG_ENABLE(xmltest,
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
xml_config_micro_version=`$XML_CONFIG $xml_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
# Strip '-L/usr/lib' off since this is always in the link path.
XML_LIBS=`echo $XML_LIBS | sed -e 's|-L/usr/lib||'`
if test "x$enable_xmltest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"

6
configure vendored
View file

@ -7547,7 +7547,8 @@ fi
for ac_func in statvfs symlink readlink geteuid getlogin getpwnam getpwuid rint
for ac_func in statvfs symlink readlink geteuid getlogin getpwnam getpwuid getgrgid rint
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@ -11411,6 +11412,9 @@ echo $ECHO_N "checking for libxml - version >= $min_xml_version... $ECHO_C" >&6
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
xml_config_micro_version=`$XML_CONFIG $xml_config_args --version | \
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
# Strip '-L/usr/lib' off since this is always in the link path.
XML_LIBS=`echo $XML_LIBS | sed -e 's|-L/usr/lib||'`
if test "x$enable_xmltest" = "xyes" ; then
ac_save_CFLAGS="$CFLAGS"
ac_save_LIBS="$LIBS"