Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

configure

  • Peter Eisentraut's avatar
    e3059fc0
    Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses · e3059fc0
    Peter Eisentraut authored
    CPP) to create platform independent files. Unfortunately, that means that
    every config.status (or configure) run invariably causes a relink of the
    postmaster and also that we can't put these files in the distribution
    (usefully). So we make it a little smarter: when the output files already
    exist and it notices that it would recreate them in identical form, it
    doesn't touch them. In order to avoid re-running the make rule all the time
    we update a timestamp file instead.
    
    Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
    is detected at configure time, not necessarily named `awk' and have it check
    for exit statuses a little better.
    
    In other news... Remove USE_LOCALE from the templates, it was set to `no'
    everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
    is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
    instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
    that need this flag should explicitly invoke it. YFLAGS should be a user
    variable. Update the makefiles to that effect.
    e3059fc0
    History
    Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses
    Peter Eisentraut authored
    CPP) to create platform independent files. Unfortunately, that means that
    every config.status (or configure) run invariably causes a relink of the
    postmaster and also that we can't put these files in the distribution
    (usefully). So we make it a little smarter: when the output files already
    exist and it notices that it would recreate them in identical form, it
    doesn't touch them. In order to avoid re-running the make rule all the time
    we update a timestamp file instead.
    
    Update release_prep accordingly. Also make Gen_fmgrtab.sh use the awk that
    is detected at configure time, not necessarily named `awk' and have it check
    for exit statuses a little better.
    
    In other news... Remove USE_LOCALE from the templates, it was set to `no'
    everywhere anyway. Also remove YACC and YFLAGS from the templates, configure
    is smart enough to find bison or yacc itself. Use AC_PROG_YACC for that
    instead of the hand-crafted code. Do not set YFLAGS to `-d'. The make rules
    that need this flag should explicitly invoke it. YFLAGS should be a user
    variable. Update the makefiles to that effect.