]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
authorAkim Demaille <akim@epita.fr>
Wed, 7 Jun 2000 07:16:15 +0000 (07:16 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 7 Jun 2000 07:16:15 +0000 (07:16 +0000)
confusion from the link command getting echoed in quotes.  In the
future, a more general fix for quoted arguments with spaces might
be better.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index 0776dd34b9a78b2f6cc75220c4e82024820d994e..e2d2e9456673424916e159f7e70a881a35faf3ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-06-07  Steven G. Johnson  <stevenj@alum.mit.edu>
+
+       * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fix problem on Cray due to
+       confusion from the link command getting echoed in quotes.  In the
+       future, a more general fix for quoted arguments with spaces might
+       be better.
+
 2000-06-07  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Limitations of Builtins): More on `test' and
index 737b346c63189c6c96018ac75ab86348112192ba..8f3ae6fdc405aff1675f270c430b29bdc10f0ccf 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -1351,6 +1351,13 @@ if echo $ac_link_output | grep xlfentry >/dev/null 2>&1; then
   ac_link_output=`echo $ac_link_output | sed 's/,/ /g'`
 fi
 
+# If we are using Cray Fortran then delete quotes.
+# Use "\"" instead of '"' for font-lock-mode.
+# FIXME: a more general fix for quoted arguments with spaces?
+if echo $ac_link_output | grep cft90 >/dev/null 2>&1; then
+  ac_link_output=`echo $ac_link_output | sed "s/\"//g"`
+fi
+
 # AC_SAVE_ARG will be set to the current option (i.e. something
 # beginning with a "-") when we come across an option that we think
 # will take an argument (e.g. -L /usr/local/lib/foo).  When
index 737b346c63189c6c96018ac75ab86348112192ba..8f3ae6fdc405aff1675f270c430b29bdc10f0ccf 100644 (file)
@@ -1351,6 +1351,13 @@ if echo $ac_link_output | grep xlfentry >/dev/null 2>&1; then
   ac_link_output=`echo $ac_link_output | sed 's/,/ /g'`
 fi
 
+# If we are using Cray Fortran then delete quotes.
+# Use "\"" instead of '"' for font-lock-mode.
+# FIXME: a more general fix for quoted arguments with spaces?
+if echo $ac_link_output | grep cft90 >/dev/null 2>&1; then
+  ac_link_output=`echo $ac_link_output | sed "s/\"//g"`
+fi
+
 # AC_SAVE_ARG will be set to the current option (i.e. something
 # beginning with a "-") when we come across an option that we think
 # will take an argument (e.g. -L /usr/local/lib/foo).  When
index 737b346c63189c6c96018ac75ab86348112192ba..8f3ae6fdc405aff1675f270c430b29bdc10f0ccf 100644 (file)
@@ -1351,6 +1351,13 @@ if echo $ac_link_output | grep xlfentry >/dev/null 2>&1; then
   ac_link_output=`echo $ac_link_output | sed 's/,/ /g'`
 fi
 
+# If we are using Cray Fortran then delete quotes.
+# Use "\"" instead of '"' for font-lock-mode.
+# FIXME: a more general fix for quoted arguments with spaces?
+if echo $ac_link_output | grep cft90 >/dev/null 2>&1; then
+  ac_link_output=`echo $ac_link_output | sed "s/\"//g"`
+fi
+
 # AC_SAVE_ARG will be set to the current option (i.e. something
 # beginning with a "-") when we come across an option that we think
 # will take an argument (e.g. -L /usr/local/lib/foo).  When
index 737b346c63189c6c96018ac75ab86348112192ba..8f3ae6fdc405aff1675f270c430b29bdc10f0ccf 100644 (file)
@@ -1351,6 +1351,13 @@ if echo $ac_link_output | grep xlfentry >/dev/null 2>&1; then
   ac_link_output=`echo $ac_link_output | sed 's/,/ /g'`
 fi
 
+# If we are using Cray Fortran then delete quotes.
+# Use "\"" instead of '"' for font-lock-mode.
+# FIXME: a more general fix for quoted arguments with spaces?
+if echo $ac_link_output | grep cft90 >/dev/null 2>&1; then
+  ac_link_output=`echo $ac_link_output | sed "s/\"//g"`
+fi
+
 # AC_SAVE_ARG will be set to the current option (i.e. something
 # beginning with a "-") when we come across an option that we think
 # will take an argument (e.g. -L /usr/local/lib/foo).  When