else
topsrcdir=${srcdir}/..
fi
+dnl This is needed for a multilibbed build in the source tree so
+dnl that install-sh and config.sub get found.
+AC_CONFIG_AUX_DIR($topsrcdir)
dnl Checks for programs.
# For g77 we'll set CC to point at the built gcc, but this will get it into
AC_SUBST(gcc_version)
AC_SUBST(gcc_version_trigger)
-dnl AC_CANONICAL_SYSTEM
+AC_CANONICAL_SYSTEM
AC_SUBST(target_alias)
AC_CONFIG_SUBDIRS(libU77 libI77 libF77)
# Do Makefile first since g2c.h depends on it and shouldn't get an
-# earlier timestamp.
+# earlier timestamp. Of course, it does when the multilib gunk below
+# edits Makefile, sigh; see additional touch below.
AC_OUTPUT(Makefile g2c.h:g2c.hin,
[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
if test -n "$CONFIG_FILES"; then
# FIXME: We shouldn't need to set ac_file
ac_file=Makefile
. ${topsrcdir}/config-ml.in
+ touch g2c.h # to keep it more recent than Makefile
fi
fi],
srcdir=${srcdir}