+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
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
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
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
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