# HG changeset patch # User jwe # Date 782620606 0 # Node ID 2dffe93955e9440213446724f4caf9d691283141 # Parent c4860fc15bbe3b8da85a6e2652ef10b3499057fb [project @ 1994-10-20 02:36:46 by jwe] diff -r c4860fc15bbe -r 2dffe93955e9 configure.in --- a/configure.in Thu Oct 20 01:00:41 1994 +0000 +++ b/configure.in Thu Oct 20 02:36:46 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.66 $)dnl +AC_REVISION($Revision: 1.67 $)dnl AC_PREREQ(1.122) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h kpathsea/c-auto.h) @@ -460,26 +460,26 @@ dnl Leave only libraries, with -lfoo converted to libfoo.a: dnl changequote(,)dnl -FLIB_LIST=`echo "$FLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ - -e 's/-L *[^ ]*//g' \ - -e 's/-l *\([^ ]*\)/lib\1.a/g' -e 's/-u *[^ ]*//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/^ *//' -e 's/ *$//' -e 's/ */:/g'` dnl -CXXLIB_LIST=`echo "$CXXLIBS" | sed -e 's/-Xlinker *[^ ]*//g' \ - -e 's/-L *[^ ]*//g' \ - -e 's/-l *\([^ ]*\)/lib\1.a/g' -e 's/-u *[^ ]*//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/^ *//' -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/-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/^ *//' \ + -e 's/ -L *\([^ ]*\)/ \1/g' -e 's, /.*\.a , ,g' \ + -e 's/ -l *[^ ]*/ /g' -e 's/-u *[^ ]*//g' -e 's/^ *//' \ -e 's/ *$//' -e 's/ */:/g'` changequote([,])dnl dnl