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