|
|
| version 1.3, 2001/10/30 12:27:18 | version 1.4, 2002/02/08 08:05:11 |
|---|---|
| Line 14 ac_default_prefix=/usr/local | Line 14 ac_default_prefix=/usr/local |
| ac_help="$ac_help | ac_help="$ac_help |
| --with-pgsql-inc[=DIR] DIR is the PgSQL includes directory" | --with-pgsql-inc[=DIR] DIR is the PgSQL includes directory" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-shared[=PKGS] build shared libraries [default=yes]" | --enable-static[=PKGS] build static libraries [default=no]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-static[=PKGS] build static libraries [default=yes]" | --enable-shared[=PKGS] build shared libraries [default=yes]" |
| ac_help="$ac_help | ac_help="$ac_help |
| --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" | --enable-fast-install[=PKGS] optimize for fast installation [default=yes]" |
| ac_help="$ac_help | ac_help="$ac_help |
| Line 1084 fi | Line 1084 fi |
| # Check whether --enable-shared or --disable-shared was given. | # Check whether --enable-static or --disable-static was given. |
| if test "${enable_shared+set}" = set; then | if test "${enable_static+set}" = set; then |
| enableval="$enable_shared" | enableval="$enable_static" |
| p=${PACKAGE-default} | p=${PACKAGE-default} |
| case "$enableval" in | case "$enableval" in |
| yes) enable_shared=yes ;; | yes) enable_static=yes ;; |
| no) enable_shared=no ;; | no) enable_static=no ;; |
| *) | *) |
| enable_shared=no | enable_static=no |
| # Look at the argument we got. We use all the common list separators. | # Look at the argument we got. We use all the common list separators. |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| for pkg in $enableval; do | for pkg in $enableval; do |
| if test "X$pkg" = "X$p"; then | if test "X$pkg" = "X$p"; then |
| enable_shared=yes | enable_static=yes |
| fi | fi |
| done | done |
| IFS="$ac_save_ifs" | IFS="$ac_save_ifs" |
| ;; | ;; |
| esac | esac |
| else | else |
| enable_shared=yes | enable_static=no |
| fi | fi |
| # Check whether --enable-static or --disable-static was given. | # Check whether --enable-shared or --disable-shared was given. |
| if test "${enable_static+set}" = set; then | if test "${enable_shared+set}" = set; then |
| enableval="$enable_static" | enableval="$enable_shared" |
| p=${PACKAGE-default} | p=${PACKAGE-default} |
| case "$enableval" in | case "$enableval" in |
| yes) enable_static=yes ;; | yes) enable_shared=yes ;; |
| no) enable_static=no ;; | no) enable_shared=no ;; |
| *) | *) |
| enable_static=no | enable_shared=no |
| # Look at the argument we got. We use all the common list separators. | # Look at the argument we got. We use all the common list separators. |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:," |
| for pkg in $enableval; do | for pkg in $enableval; do |
| if test "X$pkg" = "X$p"; then | if test "X$pkg" = "X$p"; then |
| enable_static=yes | enable_shared=yes |
| fi | fi |
| done | done |
| IFS="$ac_save_ifs" | IFS="$ac_save_ifs" |
| ;; | ;; |
| esac | esac |
| else | else |
| enable_static=yes | enable_shared=yes |
| fi | fi |
| # Check whether --enable-fast-install or --disable-fast-install was given. | # Check whether --enable-fast-install or --disable-fast-install was given. |