diff options
author | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-21 10:34:28 +0000 |
---|---|---|
committer | robertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-21 10:34:28 +0000 |
commit | 00cdfd3fa5c91d8cdea077fa8ce9534302ff3f50 (patch) | |
tree | e53cbd7fa2b6469312695c44eaadb665619bbe0c /libf2c/configure.in | |
parent | 0274a660f16a9cbb99aac58ef2314b271c0fda89 (diff) | |
download | gcc-00cdfd3fa5c91d8cdea077fa8ce9534302ff3f50.tar.gz |
* Makefile.in (distclean, clean, uninstall, install, all): Add
multilib support.
configure.in: Likewise.
configure: Regenerate.
* libF77/Makefile.in, libU77/Makefile.in, libI77/Makefile.in (clean):
Explictly remove stamp in parent's directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22519 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libf2c/configure.in')
-rw-r--r-- | libf2c/configure.in | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/libf2c/configure.in b/libf2c/configure.in index 4ede47733e9..0ae338eb8ee 100644 --- a/libf2c/configure.in +++ b/libf2c/configure.in @@ -21,6 +21,16 @@ AC_INIT(libF77/Version.c) +if test "${srcdir}" = "." ; then + if test "${with_target_subdir}" != "." ; then + topsrcdir=${with_multisrctop}../.. + else + topsrcdir=${with_multisrctop}.. + fi +else + topsrcdir=${srcdir}/.. +fi + dnl Checks for programs. # For g77 we'll set CC to point at the built gcc, but this will get it into # the makefiles @@ -163,9 +173,26 @@ AC_SUBST(gcc_version) AC_SUBST(gcc_version_trigger) AC_CANONICAL_SYSTEM AC_SUBST(target_alias) - AC_CONFIG_SUBDIRS(libU77 libI77 libF77) -AC_OUTPUT(Makefile g2c.h:g2c.hin) +AC_OUTPUT(g2c.h:g2c.hin Makefile, + [test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h +if test -n "$CONFIG_FILES"; then + if test -n "${with_target_subdir}"; then + # FIXME: We shouldn't need to set ac_file + ac_file=Makefile + . ${topsrcdir}/config-ml.in + fi +fi], +srcdir=${srcdir} +host=${host} +target=${target} +with_target_subdir=${with_target_subdir} +with_multisubdir=${with_multisubdir} +ac_configure_args="--enable-multilib ${ac_configure_args}" +CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} +topsrcdir=${topsrcdir} +) + dnl Local Variables: dnl comment-start: "dnl " |