From 487eb4b87bf160b2ff95108f4636fffeceb30ced Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 20 Jun 1998 18:28:50 -0600 Subject: configure.in (version, [...]): Define. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit � * configure.in (version, target_alias): Define. * Makefile.in (version, target_alias, libsubdir): Define. (install): Remove check for libsubdir. From-SVN: r20634 --- libf2c/configure.in | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libf2c/configure.in') diff --git a/libf2c/configure.in b/libf2c/configure.in index a2d9fe9..291cf21 100644 --- a/libf2c/configure.in +++ b/libf2c/configure.in @@ -343,6 +343,12 @@ test -f libF77/makefile && mv libF77/makefile libF77/makefile.ori test -f libI77/makefile && mv libI77/makefile libI77/makefile.ori test -f libU77/makefile && mv libU77/makefile libU77/makefile.ori +# Get the version number from the toplevel +version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/../gcc/version.c` +AC_SUBST(version) +AC_CANONICAL_SYSTEM +AC_SUBST(target_alias) + AC_CONFIG_SUBDIRS(libU77) AC_OUTPUT(Makefile g2c.h libI77/Makefile libF77/Makefile) -- cgit v1.1