autoconf
[Top][All Lists]
Advanced

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

Including config.h in Fortran preprocessed files


From: Denis Barbier
Subject: Including config.h in Fortran preprocessed files
Date: Thu, 21 Jun 2001 13:05:54 +0200
User-agent: Mutt/1.2.5i

Hi,

there is another glitch with Fortran on HP-UX 11.11.
When mixing C and Fortran source files, it is convenient to
include config.h in .F files when some symbols have to be checked.
But F77_FUNC prints a two-line comment in config.h, which is
not discarded by HP Fortran preprocessor, and compiler fails.

A workaround is to write
    m4_pushdef([m4_text_wrap])
    AC_F77_WRAPPERS
    m4_popdef([m4_text_wrap])
to make m4_text_wrap quiet, but is there a better solution?

Denis



reply via email to

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