changeset 843:1e03c0b3b9ac

[project @ 1994-10-20 03:43:03 by jwe]
author jwe
date Thu, 20 Oct 1994 03:43:03 +0000
parents 2dffe93955e9
children c70cd573d3dc
files configure.in
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- 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