# HG changeset patch # User jwe # Date 782624583 0 # Node ID 1e03c0b3b9acfab0fae6ed5d1364ffc64a3b9146 # Parent 2dffe93955e9440213446724f4caf9d691283141 [project @ 1994-10-20 03:43:03 by jwe] diff -r 2dffe93955e9 -r 1e03c0b3b9ac configure.in --- a/configure.in Thu Oct 20 02:36:46 1994 +0000 +++ b/configure.in Thu Oct 20 03:43:03 1994 +0000 @@ -21,7 +21,7 @@ dnl along with Octave; see the file COPYING. If not, write to the Free dnl Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. dnl -AC_REVISION($Revision: 1.67 $)dnl +AC_REVISION($Revision: 1.68 $)dnl AC_PREREQ(1.122) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) @@ -460,26 +460,28 @@ dnl Leave only libraries, with -lfoo converted to libfoo.a: dnl changequote(,)dnl -FLIB_LIST=`echo " $FLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ +FLIB_LIST=`echo " $FLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ -e 's/ -L *[^ ]*/ /g' \ - -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/-u *[^ ]*//g' \ + -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/ -u *[^ ]*/ /g' \ -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` dnl -CXXLIB_LIST=`echo " $CXXLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ +CXXLIB_LIST=`echo " $CXXLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ -e 's/ -L *[^ ]*/ /g' \ - -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/-u *[^ ]*//g' \ + -e 's/ -l *\([^ ]*\)/ lib\1.a/g' -e 's/ -u *[^ ]*/ /g' \ -e 's/^ *//' -e 's/ *$//' -e 's/ */:/g'` dnl dnl Leave only directories where libraries might be found: dnl -FLIB_PATH=`echo " $FLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ - -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /.*\.a , ,g' \ - -e 's/ -l *[^ ]*/ /g' -e 's/-u *[^ ]*//g' -e 's/^ *//' \ +FLIB_PATH=`echo " $FLIBS " | sed \ + -e 's/ / /g' -e 's/ -Xlinker *[^ ]*/ /g' \ + -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /[^ ]*\.a , ,g' \ + -e 's/ -l *[^ ]*/ /g' -e 's/ -u *[^ ]*/ /g' -e 's/^ *//' \ -e 's/ *$//' -e 's/ */:/g'` dnl -CXXLIB_PATH=`echo "$CXXLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ - -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /.*\.a , ,g' \ - -e 's/ -l *[^ ]*/ /g' -e 's/-u *[^ ]*//g' -e 's/^ *//' \ +CXXLIB_PATH=`echo " $CXXLIBS " | sed -e 's/ -Xlinker *[^ ]*/ /g' \ + -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /[^ ]*\.a , ,g' \ + -e 's/ / /g' -e 's/ -Xlinker *[^ ]*/ /g' \ + -e 's/ -l *[^ ]*/ /g' -e 's/ -u *[^ ]*/ /g' -e 's/^ *//' \ -e 's/ *$//' -e 's/ */:/g'` changequote([,])dnl dnl