Quoting Noah Misch [EMAIL PROTECTED]:
On Thu, Jun 14, 2007 at 01:47:12PM +0200, Benoit Sigoure wrote:
is there any reason why I can checkout, configure and make all check
libtool HEAD but not distcheck it? Configure would complain (only
during distcheck) that I don't have a working Fortran compiler.
I posted a patch to fix this:
http://lists.gnu.org/archive/html/libtool-patches/2007-05/msg2.html
Thanks for the pointer,
my working copy has (only) these changes:
$ cvs diff -u
Index: Makefile.am
===
RCS file: /sources/libtool/libtool/Makefile.am,v
retrieving revision 1.221
diff -u -r1.221 Makefile.am
--- Makefile.am 4 Jun 2007 03:01:10 - 1.221
+++ Makefile.am 14 Jun 2007 12:47:53 -
@@ -109,7 +109,7 @@
dir=`echo $@ | sed 's,^[^/]*$$,.,;s,/[^/]*$$,,'`; \
test -d $$dir || mkdir $$dir || exit 1; \
abs_srcdir=`$(lt__cd) $(srcdir) pwd`; \
- (cd $$dir $$abs_srcdir/$$dir/configure) || exit 1
+ (cd $$dir $$abs_srcdir/$$dir/configure --with-dist) || exit 1
# -- #
Index: tests/fcdemo/configure.ac
===
RCS file: /sources/libtool/libtool/tests/fcdemo/configure.ac,v
retrieving revision 1.4
diff -u -r1.4 configure.ac
--- tests/fcdemo/configure.ac 25 Mar 2007 12:12:43 - 1.4
+++ tests/fcdemo/configure.ac 14 Jun 2007 12:47:53 -
@@ -31,6 +31,9 @@
AC_CONFIG_SRCDIR([foof.f90])
AC_CONFIG_AUX_DIR([../../libltdl/config])
+AC_ARG_WITH([dist], AS_HELP_STRING([--with-dist],
+ [ignore errors not affecting `make dist']))
+
## ##
## Automake Initialisation. ##
## ##
@@ -53,7 +56,11 @@
AC_FC_WRAPPERS
dnl We need to use .f90 and not .f to enable Automake FC support
dnl Some Intel ifc/ifort do not understand .f95. :-/
-AC_FC_SRCEXT([f90])
+dnl When configuring for `make dist' purposes, skip this check, as it
yields a
+dnl fatal error when there is no working F90 compiler.
+if test -z $with_dist; then
+ AC_FC_SRCEXT([f90])
+fi
dnl Yes, we want free form Fortran!
AC_FC_FREEFORM
AC_LANG_POP
But I still get:
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking how to get verbose linking output from ... configure:
WARNING: compilation failed
checking for Fortran 77 libraries of ...
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... configure: error:
cannot compile a simple Fortran program
See `config.log' for more details.
make: *** [tests/f77demo/Makefile] Error 1
--
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
This message was sent using IMP, the Internet Messaging Program.