| 77 | | if test "$found_postgresql" = "yes"; then |
| 78 | | AM_CONDITIONAL(HAVE_POSTGRESQL, test "x$found_postgresql" = "xyes") |
| 79 | | fi |
| | 86 | if test "x$found_postgresql" = "xyes"; then |
| | 87 | echo "checking whether to enable postgresql... yes" |
| | 88 | else |
| | 89 | echo "checking whether to enable postgresql... no" |
| | 90 | fi |
| | 91 | AM_CONDITIONAL(HAVE_POSTGRESQL, test "x$found_postgresql" = "xyes") |
| | 92 | |
| | 93 | AC_ARG_WITH(gdal-config, |
| | 94 | [ --with-gdal-config=GDAL_CONFIG use gdal-config specified ], |
| | 95 | [ |
| | 96 | GDAL_CONFIG=$withval; |
| | 97 | echo "using "$GDAL_CONFIG" for gdal-config"; |
| | 98 | ],[ |
| | 99 | PROG="gdal-config"; |
| | 100 | AC_PATH_PROG(GDAL_CONFIG, $PROG, "", $PATH) |
| | 101 | ]) |
| | 102 | GDAL_CFLAGS=`$GDAL_CONFIG --cflags` |
| | 103 | GDAL_LIBS=`$GDAL_CONFIG --libs` |
| | 104 | AC_SUBST(GDAL_CFLAGS) |
| | 105 | AC_SUBST(GDAL_LIBS) |
| | 106 | |