Gen_fmgrtab.sh is strange: it is a platform dependent way (because it uses
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.
Showing
- configure 493 additions, 509 deletionsconfigure
- configure.in 7 additions, 29 deletionsconfigure.in
- src/backend/bootstrap/Makefile 3 additions, 3 deletionssrc/backend/bootstrap/Makefile
- src/backend/parser/Makefile 3 additions, 3 deletionssrc/backend/parser/Makefile
- src/backend/utils/Gen_fmgrtab.sh.in 123 additions, 45 deletionssrc/backend/utils/Gen_fmgrtab.sh.in
- src/backend/utils/Makefile 12 additions, 3 deletionssrc/backend/utils/Makefile
- src/interfaces/ecpg/preproc/Makefile.in 2 additions, 2 deletionssrc/interfaces/ecpg/preproc/Makefile.in
- src/pl/plpgsql/src/Makefile.in 2 additions, 2 deletionssrc/pl/plpgsql/src/Makefile.in
- src/template/aix_325 0 additions, 3 deletionssrc/template/aix_325
- src/template/aix_41 0 additions, 3 deletionssrc/template/aix_41
- src/template/aix_42 0 additions, 3 deletionssrc/template/aix_42
- src/template/aix_gcc 0 additions, 3 deletionssrc/template/aix_gcc
- src/template/alpha_cc 0 additions, 2 deletionssrc/template/alpha_cc
- src/template/alpha_gcc 0 additions, 2 deletionssrc/template/alpha_gcc
- src/template/bsdi_2.0 0 additions, 3 deletionssrc/template/bsdi_2.0
- src/template/bsdi_2.1 0 additions, 4 deletionssrc/template/bsdi_2.1
- src/template/bsdi_4.0 0 additions, 4 deletionssrc/template/bsdi_4.0
- src/template/bsdi_4.0_sparc 0 additions, 3 deletionssrc/template/bsdi_4.0_sparc
- src/template/cygwin32 0 additions, 3 deletionssrc/template/cygwin32
- src/template/dgux 0 additions, 4 deletionssrc/template/dgux
Loading
Please register or sign in to comment