Changes between Version 7 and Version 8 of pm-config-header


Ignore:
Timestamp:
Jun 6, 2011 9:58:33 AM (9 years ago)
Author:
stefan
Comment:

reflect change in position of config header files

Legend:

Unmodified
Added
Removed
Modified
  • pm-config-header

    v7 v8  
    5050The files {{{config.h}}} and {{{config_coinutils.h}}} are created by the autotools scripts at the end of configure from template files {{{config.h.in}}} and {{{config_coinutils.h.in}}}, because !CoinUtils' {{{configure.ac}}} file contains the statement
    5151{{{
    52 AC_CONFIG_HEADER([inc/config.h inc/config_coinutils.h])
     52AC_CONFIG_HEADER([src/config.h src/config_coinutils.h])
    5353}}}
    5454Further, the template file {{{config.h.in}}} is generated automatically by autoheader when the project manager calls the autotools. Therefore, only the public header file '''config_coinutils.h''' needed to be setup, which can be done by copying interesting lines from the private header file. In case of !CoinUtils, the public header is
    5555{{{
    56 /* inc/config_coinutils.h.in.  */
     56/* src/config_coinutils.h.in.  */
    5757
    5858/* Version number of project */
     
    8282{{{
    8383/* Version number of project */
    84 #define COINUTILS_VERSION  "trunk"
     84#define COINUTILS_VERSION      "trunk"
    8585
    8686/* Major Version number of project */
     
    157157        echo "#ifndef __CONFIG_COINUTILS_H__" > bla
    158158        echo "#define __CONFIG_COINUTILS_H__" >> bla
    159         tail -n +3 ../inc/config_coinutils.h >> bla
     159        tail -n +3 config_coinutils.h >> bla
    160160        echo "#endif" >> bla
    161161        $(install_sh_DATA) bla $(DESTDIR)$(includecoindir)/$(ConfigHeader)