|
|
| version 1.2, 2001/09/25 07:10:06 | 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. |
| Line 1810 echo "$ac_t""$CXXCPP" 1>&6 | Line 1810 echo "$ac_t""$CXXCPP" 1>&6 |
| for ac_hdr in stdio.h \ | for ac_hdr in stdio.h \ |
| stdlib.h \ | stdlib.h \ |
| string.h | string.h \ |
| setjmp.h | |
| do | do |
| ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
| echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
| echo "configure:1819: checking for $ac_hdr" >&5 | echo "configure:1820: checking for $ac_hdr" >&5 |
| if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1824 "configure" | #line 1825 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <$ac_hdr> | #include <$ac_hdr> |
| EOF | EOF |
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| { (eval echo configure:1829: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if test -z "$ac_err"; then | if test -z "$ac_err"; then |
| rm -rf conftest* | rm -rf conftest* |
| Line 1854 done | Line 1855 done |
| echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
| echo "configure:1858: checking for ANSI C header files" >&5 | echo "configure:1859: checking for ANSI C header files" >&5 |
| if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1863 "configure" | #line 1864 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 1867 else | Line 1868 else |
| #include <float.h> | #include <float.h> |
| EOF | EOF |
| ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
| { (eval echo configure:1871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
| ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
| if test -z "$ac_err"; then | if test -z "$ac_err"; then |
| rm -rf conftest* | rm -rf conftest* |
| Line 1884 rm -f conftest* | Line 1885 rm -f conftest* |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1888 "configure" | #line 1889 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 1902 fi | Line 1903 fi |
| if test $ac_cv_header_stdc = yes; then | if test $ac_cv_header_stdc = yes; then |
| # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1906 "configure" | #line 1907 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 1923 if test "$cross_compiling" = yes; then | Line 1924 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1927 "configure" | #line 1928 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" void exit(int); | extern "C" void exit(int); |
| Line 1937 if (XOR (islower (i), ISLOWER (i)) || to | Line 1938 if (XOR (islower (i), ISLOWER (i)) || to |
| exit (0); } | exit (0); } |
| EOF | EOF |
| if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | if { (eval echo configure:1942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
| then | then |
| : | : |
| else | else |
| Line 1961 EOF | Line 1962 EOF |
| fi | fi |
| echo $ac_n "checking for size_t""... $ac_c" 1>&6 | echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
| echo "configure:1965: checking for size_t" >&5 | echo "configure:1966: checking for size_t" >&5 |
| if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1970 "configure" | #line 1971 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |