Changeset 207 for trunk/configure.ac
- Timestamp:
- Jan 16, 2009, 11:52:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r205 r207 1229 1229 if test -z "$PGSQL_DIR"; then 1230 1230 for i in $pgsql_directory; do 1231 if test -r $i/include/postgresql/libpq-fe.h; then 1232 PGSQL_INC_DIR=$i/include 1233 PGSQL_DIR=$i 1234 fi 1235 done 1236 fi 1237 if test -z "$PGSQL_DIR"; then 1238 for i in $pgsql_directory; do 1231 1239 if test -r $i/include/libpq-fe.h; then 1232 1240 PGSQL_INC_DIR=$i/include … … 1239 1247 tmp="" 1240 1248 for i in $pgsql_directory; do 1241 tmp="$tmp $i/include $i/include/pgsql "1249 tmp="$tmp $i/include $i/include/pgsql $i/include/postgresql" 1242 1250 done 1243 1251 FAIL_MESSAGE("PostgreSQL header file (libpq-fe.h)", $tmp) 1244 1252 fi 1245 1253 1246 for i in lib lib/pgsql ; do1254 for i in lib lib/pgsql lib/postgresql; do 1247 1255 str="$PGSQL_DIR/$i/libpq.*" 1248 1256 for j in `echo $str`; do … … 1256 1264 if test -z "$PGSQL_LIB_DIR"; then 1257 1265 for ff in $pgsql_directory; do 1258 for i in lib lib/pgsql ; do1266 for i in lib lib/pgsql lib/postgresql; do 1259 1267 str="$ff/$i/libpq.*" 1260 1268 for j in `echo $str`; do … … 1271 1279 tmp="" 1272 1280 for i in $pgsql_directory; do 1273 tmp="$i/lib $i/lib/pgsql "1281 tmp="$i/lib $i/lib/pgsql $i/lib/postgresql" 1274 1282 done 1275 1283 FAIL_MESSAGE("postgresql library libpq", $tmp) … … 1287 1295 CPPFLAGS="$CPPFLAGS -I${PGSQL_INC_DIR}" 1288 1296 AC_CHECK_HEADERS(pgsql/libpq-fe.h) 1297 AC_CHECK_HEADERS(postgresql/libpq-fe.h) 1289 1298 else 1290 1299 pg_lib_dir=`${PGCONF} --libdir`
Note:
See TracChangeset
for help on using the changeset viewer.