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-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.
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
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)