automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FCLINK with conditional fortran sources


From: Ralf Wildenhues
Subject: Re: FCLINK with conditional fortran sources
Date: Mon, 26 Mar 2007 10:27:57 +0200
User-agent: Mutt/1.5.14 (2007-03-20)

Hello Christopher,

* Christopher Hulbert wrote on Fri, Mar 23, 2007 at 02:27:25AM CET:
> I have a library that has an optional fortran interface. I'd rather
> not separate this into two different libraries, but on systems without
> a fortran compiler, FCLD is empty and creating a libtool archive
> fails. Is there another way around this. My Makefile.am is something
> like
[...]

Does the following workaround work?

liba_la_SOURCES = a.c
if FORTRAN
liba_la_SOURCES += b.f90
else
FCLD = $(CCLD)
endif

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]