[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: distchecking without FC?
From: |
Benoit Sigoure |
Subject: |
Re: distchecking without FC? |
Date: |
Thu, 14 Jun 2007 14:52:45 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.3) |
Quoting Noah Misch <address@hidden>:
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/msg00002.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 -0000 1.221
+++ Makefile.am 14 Jun 2007 12:47:53 -0000
@@ -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 -0000 1.4
+++ tests/fcdemo/configure.ac 14 Jun 2007 12:47:53 -0000
@@ -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.
- distchecking without FC?, Benoit Sigoure, 2007/06/14
- Re: distchecking without FC?, Noah Misch, 2007/06/14
- Re: distchecking without FC?,
Benoit Sigoure <=
- Re: distchecking without FC?, Benoit Sigoure, 2007/06/15
- Re: distchecking without FC?, Ralf Wildenhues, 2007/06/16
- Re: distchecking without FC?, Noah Misch, 2007/06/17
- Re: distchecking without FC?, Noah Misch, 2007/06/18
- Re: distchecking without FC?, Ralf Wildenhues, 2007/06/19
- Re: distchecking without FC?, Noah Misch, 2007/06/19