+2001-12-12 Steven G. Johnson <stevenj@alum.mit.edu>
+
+ * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed
+ C/Fortran linking on HP/UX, by extracting the Fortran library
+ search path from the LPATH line in the $F77 -v output.
+
2001-12-12 Kevin Ryde <user42@zip.com.au>
* doc/autoconf.texi (File Descriptors): Use a clearer layout for the
forbidden file descriptors table.
-
+
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (%c_keywords): Build it at top level.
Map to 1 in order to simplify its uses.
-
2001-11-26 Akim Demaille <akim@epita.fr>
because of `lex$U.$(OBJEXT)'.
(&scan_files): Use "@list" instead of join.
* doc/Makefile.am (CLEANFILES): Add *.fns.
-
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (used): New.
Use it.
-
2001-11-26 Akim Demaille <akim@epita.fr>
(&scan_sh_file): Remove a duplicate pattern.
(&check_configure_ac): Use long options.
* lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA.
-
2001-11-26 Akim Demaille <akim@epita.fr>
* bin/autoscan.in (scan_c_file): Fix the handling of C comments.
Before, having a line containing the opening of a multi line
comment made the whole line be ignored.
-
2001-11-26 Akim Demaille <akim@epita.fr>
ac_f77_v_output=`echo $ac_f77_v_output | sed 's/,/ /g'`
fi
+# On HP/UX there is a line like: "LPATH is: /foo:/bar:/baz" where
+# /foo, /bar, and /baz are search directories for the Fortran linker.
+# Here, we change these into -L/foo -L/bar -L/baz:
+ac_f77_v_output="`echo $ac_f77_v_output |
+ grep 'LPATH is:' |
+ sed 's,.*LPATH is\(: *[[^ ]]*\).*,\1,;s,: */, -L/,g'` $ac_f77_v_output"
+
# 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?