* libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that

adds tags to the libtool script so that they won't run when not
needed.
* configure.ac: Set F77 to no when no Fortran compiler is found.
This commit is contained in:
Robert Boehne 2003-03-20 18:02:05 +00:00
parent 1eadbc5376
commit 49f2fd2f72
3 changed files with 26 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2003-03-19 Robert Boehne <rboehne@gnu.org>
* libtool.m4 (_LT_AC_TAGCONFIG): Add test around the macro that
adds tags to the libtool script so that they won't run when not
needed.
* configure.ac: Set F77 to no when no Fortran compiler is found.
2003-03-16 Charles Wilson <cwilson@ece.gatech.edu>
* ltmain.in (win32_libid): use $SED, not head.

View File

@ -110,6 +110,9 @@ AM_CONDITIONAL(HAVE_CXX, [test "x$CXX" != xno])
pushdef([AC_MSG_ERROR], [F77=no])
AC_PROG_F77
popdef([AC_MSG_ERROR])
if test -z "$F77"; then
F77="no"
fi
AM_CONDITIONAL(HAVE_F77, [test "x$F77" != xno])
LT_AC_PROG_GCJ

20
libtool.m4 vendored
View File

@ -1614,15 +1614,27 @@ if test -f "$ltmain" && test -n "$tagnames"; then
case $tagname in
CXX)
AC_LIBTOOL_LANG_CXX_CONFIG
if test "X$CXX" != "Xno"; then
AC_LIBTOOL_LANG_CXX_CONFIG
else
tagname=""
fi
;;
F77)
AC_LIBTOOL_LANG_F77_CONFIG
;;
if test "X$F77" != "Xno"; then
AC_LIBTOOL_LANG_F77_CONFIG
else
tagname=""
fi
;;
GCJ)
AC_LIBTOOL_LANG_GCJ_CONFIG
if test "X$GCJ" != "Xno"; then
AC_LIBTOOL_LANG_GCJ_CONFIG
else
tagname=""
fi
;;
RC)