Changeset 9639
- Timestamp:
- Apr 12, 2012, 7:09:22 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
configure.ac (modified) (2 diffs)
-
postgis/Makefile.in (modified) (2 diffs)
-
raster/rt_pg/Makefile.in (modified) (2 diffs)
-
topology/Makefile.in (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r9569 r9639 28 28 AC_PATH_PROG([ANT], [ant], []) 29 29 AC_SUBST([ANT]) 30 31 dnl 32 dnl SQL Preprocessor 33 dnl 34 AC_PATH_PROG([CPPBIN], [cpp], []) 35 if test "x$CPPBIN" != "x"; then 36 SQLPP="${CPPBIN} -traditional-cpp -P" 37 else 38 AC_PATH_PROG([GPP], [gpp_], []) 39 if test "x$GPP" != "x"; then 40 SQLPP="${GPP} -C -s \'" dnl Use better string support 41 else 42 SQLPP="${CPP} -traditional-cpp" 43 fi 44 fi 45 AC_SUBST([SQLPP]) 30 46 31 47 dnl … … 1105 1121 AC_MSG_RESULT([ C compiler: ${CC} ${CFLAGS}]) 1106 1122 AC_MSG_RESULT([ C++ compiler: ${CXX} ${CXXFLAGS}]) 1123 AC_MSG_RESULT([ SQL preprocessor: ${SQLPP}]) 1107 1124 AC_MSG_RESULT() 1108 1125 AC_MSG_RESULT([ -------------- Dependencies -------------- ]) -
trunk/postgis/Makefile.in
r9523 r9639 19 19 DATA=../spatial_ref_sys.sql 20 20 21 # SQL objects (files requiring C pre-processing) 21 # SQL preprocessor 22 SQLPP = @SQLPP@ 23 24 # SQL objects (files requiring pre-processing) 22 25 SQL_OBJS=postgis.sql.in legacy.sql.in legacy_minimal.sql.in 23 26 … … 129 132 $(PERL) ../utils/postgis_proc_upgrade.pl $< 2.0 > $@ 130 133 131 # Generate any .sql.in files from .sql.in.c files by running them through the Cpre-processor134 # Generate any .sql.in files from .sql.in.c files by running them through the SQL pre-processor 132 135 $(SQL_OBJS): %.in: %.in.c 133 $( CPP) -traditional-cpp-I../libpgcommon $< | grep -v '^#' > $@136 $(SQLPP) -I../libpgcommon $< | grep -v '^#' > $@ 134 137 135 138 # SQL objects are also dependent on postgis_config.h for PostgreSQL version -
trunk/raster/rt_pg/Makefile.in
r9523 r9639 18 18 DATA= 19 19 20 # SQL objects (files requiring C pre-processing) 20 # SQL preprocessor 21 SQLPP = @SQLPP@ 22 23 # SQL objects (files requiring pre-processing) 21 24 SQL_OBJS=rtpostgis.sql.in rtpostgis_drop.sql.in rtpostgis_upgrade_cleanup.sql.in rtpostgis_legacy.sql.in 22 25 … … 88 91 $(OBJS): ../../liblwgeom/.libs/liblwgeom.a ../../libpgcommon/libpgcommon.a ../../postgis_config.h ../../postgis_svn_revision.h 89 92 90 # Generate any .sql.in files from .sql.in.c files by running them through the Cpre-processor93 # Generate any .sql.in files from .sql.in.c files by running them through the SQL pre-processor 91 94 $(SQL_OBJS): %.in: %.in.c 92 $( CPP) -I../../postgis/ -I../../ -traditional-cpp$< | grep -v '^#' > $@95 $(SQLPP) -I../../postgis/ -I../../ $< | grep -v '^#' > $@ 93 96 94 97 # SQL objects deps here -
trunk/topology/Makefile.in
r9523 r9639 27 27 DATA_built=topology.sql topology_upgrade_20_minor.sql uninstall_topology.sql 28 28 29 # SQL objects (files requiring C pre-processing) 29 # SQL preprocessor 30 SQLPP = @SQLPP@ 31 32 # SQL objects (files requiring pre-processing) 30 33 SQL_OBJS = \ 31 34 topology.sql \ … … 74 77 sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@ 75 78 76 # Generate any .sql.in files from .sql.in.c files by running them through the Cpre-processor79 # Generate any .sql.in files from .sql.in.c files by running them through the SQL pre-processor 77 80 %.in: %.in.c 78 $( CPP) -traditional-cpp$< | grep -v '^#' > $@81 $(SQLPP) $< | grep -v '^#' > $@ 79 82 80 83 #Generate upgrade script by stripping things that can't be reinstalled
Note:
See TracChangeset
for help on using the changeset viewer.
