Re: novice can't get autotools to give me makefile that uses gfortran

2008-03-10 Thread Ralf Wildenhues
Hello, * JoeOutflow wrote on Sun, Mar 09, 2008 at 10:17:25PM CET: > > I'm a rank autotools beginner. I'm trying to apply autotools to a simple > fortran 90 program as practice for a larger project I'm currently planning. > The only specifically fortran-related macro in my configure.ac file is > A

autoconf 2.61 incompatibility?

2008-03-10 Thread Lars Hecking
I'm trying to build a software package that requires AUTOMAKE_OPTIONS = foreign 1.7 and AC_PREREQ(2.54) on a machine that has automake-1.10 and autoconf-2.60 installed. configure finishes successfully, but make fails: $ make cd . && /bin/sh /tmp/pkg-x.y.z/config/missing --run autoheader

Re: autoconf 2.61 incompatibility?

2008-03-10 Thread Lars Hecking
> So you're building from a "dist" tarball, and not a cvs/git/svn > checkout? If that's the case then the version of autotools that you > have installed (as well as any version requirements of the package) > should not matter at all, as nothing should need to be regenerated. The > dist tarball i

Re: autoconf 2.61 incompatibility?

2008-03-10 Thread Brian Dessent
Lars Hecking wrote: > The distribution package was built with autoconf 2.61 indeed, but why > should that affect me so? Is the only possible fix to recreate the > distribution with an older autoconf (>= 2.54)? So you're building from a "dist" tarball, and not a cvs/git/svn checkout? If that's

Re: novice can't get autotools to give me makefile that uses gfortran

2008-03-10 Thread Tim Dennis
I've been asked to attach the configure.ac files and the Makefile.am's. There are attached here. Thanks again. > > Hi, > > I'm a rank autotools beginner. I'm trying to apply autotools to a simple > fortran 90 program as practice for a larger project I'm currently > planning. > The only specificall

seeking advice for a modular build system

2008-03-10 Thread Hans-Christoph Steiner
Hey all, I am starting the process of creating an autotools build system for Pd-extended, a large distro of a program called Pure Data and many libraries. Pure Data is a realtime visual programming language for sound, video, etc. Over the years, there have been quite a few libraries wr

cross compilation

2008-03-10 Thread barbalace
Dear list, I have a program that when cross compiled need a program that must be built on the build platform (assuming cross compiling when build != host and host == target). Like I've read on the autotool book, on the autoconf manual and on the autoconf forum I've tried to use the CC_FOR_BUILD

Re: seeking advice for a modular build system

2008-03-10 Thread Hans-Christoph Steiner
Do you know of an example of the automake/libtool stuff that you are thinking of? .hc On Mar 10, 2008, at 4:29 PM, [EMAIL PROTECTED] wrote: This shouldn't be much trouble. To enable or disable libraries on the command line you would probably use an Automake conditional, and AC_ARG_WITH

Re: FreeBSD /bin/sh with SHELL=.../zsh breaking autoconf ./configure?

2008-03-10 Thread Ralf Wildenhues
Hello Mike, Thanks for the report. * Mike Meyer wrote on Sun, Mar 09, 2008 at 02:56:50AM CET: [...] > as_func_failure succeeded. > as_func_failure succeeded. > No shell found that supports shell functions. > Please tell autoconf@gnu.org about your system, > including any error possibly output bef

Re: novice can't get autotools to give me makefile that uses gfortran

2008-03-10 Thread Ralf Wildenhues
Hello Tim, Please do not top-post, thank you. * Tim Dennis wrote on Mon, Mar 10, 2008 at 04:57:09PM CET: > > * JoeOutflow wrote on Sun, Mar 09, 2008 at 10:17:25PM CET: > >> > >> The only specifically fortran-related macro in my configure.ac file is > >> AC_PROG_FC. autoreconf --install runs witho

Re: FreeBSD /bin/sh with SHELL=.../zsh breaking autoconf ./configure?

2008-03-10 Thread Mike Meyer
On Tue, 11 Mar 2008 01:15:11 +0100 Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > Hello Mike, > Thanks for the report. Thank you for getting back to me. > * Mike Meyer wrote on Sun, Mar 09, 2008 at 02:56:50AM CET: > [...] > > as_func_failure succeeded. > > as_func_failure succeeded. > > No shell fo

Re: novice can't get autotools to give me makefile that uses gfortran

2008-03-10 Thread Tim Dennis
> Hello Tim, > > Please do not top-post, thank you. My apologies, won't happen again. > > > Question: which make implementation do you use, and which versions of > autoconf and automake (I assume 2.59, and 1.9.6, respectively)? > I'm using gnu make version 3.80. The version of autoconf is 2.59,

No recursive option in autoreconf ?

2008-03-10 Thread L. A. Pritchett-Sheats
Hello - I couldn't find a mail list for autoreconf, I hope this is the correct list to direct this question I'm building a software package that relies on GSL (GNU Scientific Library) and OOL (Open Optimization Library). Both use the GNU auto tool set to configure and build the libraries. I

AC_SEARCH_LIBS and the LIBS variable - cross platform?

2008-03-10 Thread NightStrike
Using AC_CHECK_LIB or AC_SEARCH_LIBS will possibly append -lname to LIBS where name is the name of the library. If make is nmake on a windows platform, is this ok? Does nmake require libraries listed in that variable to be in the form of "name.lib" instead of "-lname"? Does autoconf support this

Re: No recursive option in autoreconf ?

2008-03-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to L. A. Pritchett-Sheats on 3/10/2008 2:52 PM: | | Hello - | | I couldn't find a mail list for autoreconf, I hope this is the correct | list to direct this question Yes - autoreconf is one of the programs belonging to the autoconf pack

Re: novice can't get autotools to give me makefile that uses gfortran

2008-03-10 Thread Tim Dennis
>> The compiler search order has been changed in newer Autoconf versions, >> they try gfortran first. Please update, or use >> ./configure FC=gfortran >> > > I tried this, once again I get the following upon running make (configure > didn't rerun this time): > > f77 @FFLAGS@ -c -o hello.o

Re: AC_SEARCH_LIBS and the LIBS variable - cross platform?

2008-03-10 Thread Brian Dessent
NightStrike wrote: > Using AC_CHECK_LIB or AC_SEARCH_LIBS will possibly append -lname to > LIBS where name is the name of the library. If make is nmake on a > windows platform, is this ok? Does nmake require libraries listed in > that variable to be in the form of "name.lib" instead of "-lname"?

Re: AC_SEARCH_LIBS and the LIBS variable - cross platform?

2008-03-10 Thread NightStrike
On 3/11/08, Brian Dessent <[EMAIL PROTECTED]> wrote: > NightStrike wrote: > > > Using AC_CHECK_LIB or AC_SEARCH_LIBS will possibly append -lname to > > LIBS where name is the name of the library. If make is nmake on a > > windows platform, is this ok? Does nmake require libraries listed in > > th

Re: AC_SEARCH_LIBS and the LIBS variable - cross platform?

2008-03-10 Thread Brian Dessent
NightStrike wrote: > All of the information that I've been able to find for nmake defines > that the format of the LIBS variable should be "name.lib" instead of > "-lname". This implies to me, possibly incorrectly, that nmake by > default will pass $(LIBS) to the LINK.EXE command, and that LINK.E

Re: AC_SEARCH_LIBS and the LIBS variable - cross platform?

2008-03-10 Thread Brian Dessent
Brian Dessent wrote: > command as just a series of filenames since it does not have any notion > of "-l" or "-L". But do note the following from the docs above about Er, that's not quite right. It does have /LIBPATH which I guess is more or less an analogue for -L: