[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] autoheader #undef i config.h



Dennis Hansen <sslug@sslug> writes:

> Hej,
> Jeg sidder og roder med autoheader for første gang.
> Jeg har et problem med at jeg laver en config.h 
> via autoheader, men jeg får en undef på CONFDATO
> i min config.h, jeg har nappet det med CONFDATO fra 
> http://www.sslug.dk/linuxbog/program/bog/autoconf-def.html
> 
> Jeg forstår ikke hvorfor jeg får en #undef,
> er der meningen ?
> 
> 
> # Filnavn: configure.in
> AC_INIT(src/hello.cpp)
> AM_INIT_AUTOMAKE( katelog-hello, 1.0 )
> AM_CONFIG_HEADER(src/config.h)
> CFLAGS="-O2"
> AC_PROG_CXX
> AC_STDC_HEADERS
> AC_OUTPUT(Makefile man/Makefile src/Makefile )
> CONFDATO=`date "+%Y-%m-%d %H:%M:%S"`
> AC_DEFINE_UNQUOTED(CONFDATO,"$CONFDATO",[Dato for kørsel af ./configure])

Prøv at sætte AC_OUTPUT til sidst i filen. 

-- 
Christian Hemmingsen
P.L.U.R.                                   "Druk for fred!"
"My freedom of speech implies your freedom to be offended."
--Unknown


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *