|
|
| version 1.2, 2001/09/25 07:10:06 | version 1.7, 2002/08/02 13:02:22 |
|---|---|
| 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 701 else | Line 701 else |
| fi | fi |
| PACKAGE=parser3pgsqlclient | PACKAGE=parser3pgsql |
| VERSION=3.0g | VERSION=3.0.HEAD |
| if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
| { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
| 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. | |
| if test "${enable_static+set}" = set; then | # Check whether --enable-shared or --disable-shared was given. |
| enableval="$enable_static" | if test "${enable_shared+set}" = set; then |
| 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 1160 else { echo "configure: error: can not r | Line 1161 else { echo "configure: error: can not r |
| fi | fi |
| echo $ac_n "checking host system type""... $ac_c" 1>&6 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| echo "configure:1164: checking host system type" >&5 | echo "configure:1165: checking host system type" >&5 |
| host_alias=$host | host_alias=$host |
| case "$host_alias" in | case "$host_alias" in |
| Line 1181 host_os=`echo $host | sed 's/^\([^-]*\)- | Line 1182 host_os=`echo $host | sed 's/^\([^-]*\)- |
| echo "$ac_t""$host" 1>&6 | echo "$ac_t""$host" 1>&6 |
| echo $ac_n "checking build system type""... $ac_c" 1>&6 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
| echo "configure:1185: checking build system type" >&5 | echo "configure:1186: checking build system type" >&5 |
| build_alias=$build | build_alias=$build |
| case "$build_alias" in | case "$build_alias" in |
| Line 1201 echo "$ac_t""$build" 1>&6 | Line 1202 echo "$ac_t""$build" 1>&6 |
| # Extract the first word of "ranlib", so it can be a program name with args. | # Extract the first word of "ranlib", so it can be a program name with args. |
| set dummy ranlib; ac_word=$2 | set dummy ranlib; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1205: checking for $ac_word" >&5 | echo "configure:1206: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1231 fi | Line 1232 fi |
| # Extract the first word of "gcc", so it can be a program name with args. | # Extract the first word of "gcc", so it can be a program name with args. |
| set dummy gcc; ac_word=$2 | set dummy gcc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1235: checking for $ac_word" >&5 | echo "configure:1236: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1261 if test -z "$CC"; then | Line 1262 if test -z "$CC"; then |
| # Extract the first word of "cc", so it can be a program name with args. | # Extract the first word of "cc", so it can be a program name with args. |
| set dummy cc; ac_word=$2 | set dummy cc; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1265: checking for $ac_word" >&5 | echo "configure:1266: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1312 fi | Line 1313 fi |
| # Extract the first word of "cl", so it can be a program name with args. | # Extract the first word of "cl", so it can be a program name with args. |
| set dummy cl; ac_word=$2 | set dummy cl; ac_word=$2 |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| echo "configure:1316: checking for $ac_word" >&5 | echo "configure:1317: checking for $ac_word" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1344 fi | Line 1345 fi |
| fi | fi |
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| echo "configure:1348: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | echo "configure:1349: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| ac_ext=c | ac_ext=c |
| # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| Line 1355 cross_compiling=$ac_cv_prog_cc_cross | Line 1356 cross_compiling=$ac_cv_prog_cc_cross |
| cat > conftest.$ac_ext << EOF | cat > conftest.$ac_ext << EOF |
| #line 1359 "configure" | #line 1360 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| main(){return(0);} | main(){return(0);} |
| EOF | EOF |
| if { (eval echo configure:1364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| ac_cv_prog_cc_works=yes | ac_cv_prog_cc_works=yes |
| # If we can't run a trivial program, we are probably using a cross compiler. | # If we can't run a trivial program, we are probably using a cross compiler. |
| if (./conftest; exit) 2>/dev/null; then | if (./conftest; exit) 2>/dev/null; then |
| Line 1386 if test $ac_cv_prog_cc_works = no; then | Line 1387 if test $ac_cv_prog_cc_works = no; then |
| { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| fi | fi |
| echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| echo "configure:1390: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | echo "configure:1391: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| cross_compiling=$ac_cv_prog_cc_cross | cross_compiling=$ac_cv_prog_cc_cross |
| echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| echo "configure:1395: checking whether we are using GNU C" >&5 | echo "configure:1396: checking whether we are using GNU C" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1400 else | Line 1401 else |
| yes; | yes; |
| #endif | #endif |
| EOF | EOF |
| if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1404: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| ac_cv_prog_gcc=yes | ac_cv_prog_gcc=yes |
| else | else |
| ac_cv_prog_gcc=no | ac_cv_prog_gcc=no |
| Line 1419 ac_test_CFLAGS="${CFLAGS+set}" | Line 1420 ac_test_CFLAGS="${CFLAGS+set}" |
| ac_save_CFLAGS="$CFLAGS" | ac_save_CFLAGS="$CFLAGS" |
| CFLAGS= | CFLAGS= |
| echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| echo "configure:1423: checking whether ${CC-cc} accepts -g" >&5 | echo "configure:1424: checking whether ${CC-cc} accepts -g" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1462 ac_prog=ld | Line 1463 ac_prog=ld |
| if test "$ac_cv_prog_gcc" = yes; then | if test "$ac_cv_prog_gcc" = yes; then |
| # Check if gcc -print-prog-name=ld gives a path. | # Check if gcc -print-prog-name=ld gives a path. |
| echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 | echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6 |
| echo "configure:1466: checking for ld used by GCC" >&5 | echo "configure:1467: checking for ld used by GCC" >&5 |
| ac_prog=`($CC -print-prog-name=ld) 2>&5` | ac_prog=`($CC -print-prog-name=ld) 2>&5` |
| case "$ac_prog" in | case "$ac_prog" in |
| # Accept absolute paths. | # Accept absolute paths. |
| Line 1486 echo "configure:1466: checking for ld us | Line 1487 echo "configure:1466: checking for ld us |
| esac | esac |
| elif test "$with_gnu_ld" = yes; then | elif test "$with_gnu_ld" = yes; then |
| echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for GNU ld""... $ac_c" 1>&6 |
| echo "configure:1490: checking for GNU ld" >&5 | echo "configure:1491: checking for GNU ld" >&5 |
| else | else |
| echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6 |
| echo "configure:1493: checking for non-GNU ld" >&5 | echo "configure:1494: checking for non-GNU ld" >&5 |
| fi | fi |
| if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 1524 else | Line 1525 else |
| fi | fi |
| test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } | test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; } |
| echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 | echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6 |
| echo "configure:1528: checking if the linker ($LD) is GNU ld" >&5 | echo "configure:1529: checking if the linker ($LD) is GNU ld" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1540 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 | Line 1541 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6 |
| echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 | echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6 |
| echo "configure:1544: checking for BSD-compatible nm" >&5 | echo "configure:1545: checking for BSD-compatible nm" >&5 |
| if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1576 NM="$ac_cv_path_NM" | Line 1577 NM="$ac_cv_path_NM" |
| echo "$ac_t""$NM" 1>&6 | echo "$ac_t""$NM" 1>&6 |
| echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
| echo "configure:1580: checking whether ln -s works" >&5 | echo "configure:1581: checking whether ln -s works" >&5 |
| if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| else | else |
| Line 1596 else | Line 1597 else |
| echo "$ac_t""no" 1>&6 | echo "$ac_t""no" 1>&6 |
| fi | fi |
| if test $host != $build; then | |
| ac_tool_prefix=${host_alias}- | |
| else | |
| ac_tool_prefix= | |
| fi | |
| case "$target" in | case "$target" in |
| NONE) lt_target="$host" ;; | NONE) lt_target="$host" ;; |
| Line 1610 test "$enable_fast_install" = no && libt | Line 1617 test "$enable_fast_install" = no && libt |
| test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" | test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc" |
| test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" | test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld" |
| libtool_flags="$libtool_flags --enable-dlopen" | libtool_flags="$libtool_flags --enable-dlopen" |
| libtool_flags="$libtool_flags --enable-win32-dll" | |
| # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. |
| if test "${enable_libtool_lock+set}" = set; then | if test "${enable_libtool_lock+set}" = set; then |
| enableval="$enable_libtool_lock" | enableval="$enable_libtool_lock" |
| Line 1625 test x"$silent" = xyes && libtool_flags= | Line 1632 test x"$silent" = xyes && libtool_flags= |
| case "$lt_target" in | case "$lt_target" in |
| *-*-irix6*) | *-*-irix6*) |
| # Find out which ABI we are using. | # Find out which ABI we are using. |
| echo '#line 1629 "configure"' > conftest.$ac_ext | echo '#line 1636 "configure"' > conftest.$ac_ext |
| if { (eval echo configure:1630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | if { (eval echo configure:1637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| case "`/usr/bin/file conftest.o`" in | case "`/usr/bin/file conftest.o`" in |
| *32-bit*) | *32-bit*) |
| LD="${LD-ld} -32" | LD="${LD-ld} -32" |
| Line 1647 case "$lt_target" in | Line 1654 case "$lt_target" in |
| SAVE_CFLAGS="$CFLAGS" | SAVE_CFLAGS="$CFLAGS" |
| CFLAGS="$CFLAGS -belf" | CFLAGS="$CFLAGS -belf" |
| echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 | echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6 |
| echo "configure:1651: checking whether the C compiler needs -belf" >&5 | echo "configure:1658: checking whether the C compiler needs -belf" >&5 |
| if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then | if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+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 1656 "configure" | #line 1663 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| int main() { | int main() { |
| ; return 0; } | ; return 0; } |
| EOF | EOF |
| if { (eval echo configure:1663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | if { (eval echo configure:1670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| rm -rf conftest* | rm -rf conftest* |
| lt_cv_cc_needs_belf=yes | lt_cv_cc_needs_belf=yes |
| else | else |
| Line 1678 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 | Line 1685 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6 |
| fi | fi |
| ;; | ;; |
| *-*-cygwin* | *-*-mingw*) | |
| # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1693: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$DLLTOOL"; then | |
| ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| if test -n "$DLLTOOL"; then | |
| echo "$ac_t""$DLLTOOL" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_DLLTOOL"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "dlltool", so it can be a program name with args. | |
| set dummy dlltool; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1725: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$DLLTOOL"; then | |
| ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_DLLTOOL="dlltool" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false" | |
| fi | |
| fi | |
| DLLTOOL="$ac_cv_prog_DLLTOOL" | |
| if test -n "$DLLTOOL"; then | |
| echo "$ac_t""$DLLTOOL" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| DLLTOOL="false" | |
| fi | |
| fi | |
| # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}as; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1760: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AS"; then | |
| ac_cv_prog_AS="$AS" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AS="${ac_tool_prefix}as" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| AS="$ac_cv_prog_AS" | |
| if test -n "$AS"; then | |
| echo "$ac_t""$AS" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_AS"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "as", so it can be a program name with args. | |
| set dummy as; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1792: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$AS"; then | |
| ac_cv_prog_AS="$AS" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_AS="as" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false" | |
| fi | |
| fi | |
| AS="$ac_cv_prog_AS" | |
| if test -n "$AS"; then | |
| echo "$ac_t""$AS" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| AS="false" | |
| fi | |
| fi | |
| # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | |
| set dummy ${ac_tool_prefix}objdump; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1827: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$OBJDUMP"; then | |
| ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| fi | |
| fi | |
| OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| if test -n "$OBJDUMP"; then | |
| echo "$ac_t""$OBJDUMP" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| if test -z "$ac_cv_prog_OBJDUMP"; then | |
| if test -n "$ac_tool_prefix"; then | |
| # Extract the first word of "objdump", so it can be a program name with args. | |
| set dummy objdump; ac_word=$2 | |
| echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
| echo "configure:1859: checking for $ac_word" >&5 | |
| if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then | |
| echo $ac_n "(cached) $ac_c" 1>&6 | |
| else | |
| if test -n "$OBJDUMP"; then | |
| ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | |
| else | |
| IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
| ac_dummy="$PATH" | |
| for ac_dir in $ac_dummy; do | |
| test -z "$ac_dir" && ac_dir=. | |
| if test -f $ac_dir/$ac_word; then | |
| ac_cv_prog_OBJDUMP="objdump" | |
| break | |
| fi | |
| done | |
| IFS="$ac_save_ifs" | |
| test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false" | |
| fi | |
| fi | |
| OBJDUMP="$ac_cv_prog_OBJDUMP" | |
| if test -n "$OBJDUMP"; then | |
| echo "$ac_t""$OBJDUMP" 1>&6 | |
| else | |
| echo "$ac_t""no" 1>&6 | |
| fi | |
| else | |
| OBJDUMP="false" | |
| fi | |
| fi | |
| ;; | |
| esac | esac |
| Line 1766 subdirs="libltdl" | Line 1976 subdirs="libltdl" |
| echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 | echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6 |
| echo "configure:1770: checking how to run the C++ preprocessor" >&5 | echo "configure:1980: checking how to run the C++ preprocessor" >&5 |
| if test -z "$CXXCPP"; then | if test -z "$CXXCPP"; then |
| if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then | if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then |
| echo $ac_n "(cached) $ac_c" 1>&6 | echo $ac_n "(cached) $ac_c" 1>&6 |
| Line 1779 ac_link='${CXX-g++} -o conftest${ac_exee | Line 1989 ac_link='${CXX-g++} -o conftest${ac_exee |
| cross_compiling=$ac_cv_prog_cxx_cross | cross_compiling=$ac_cv_prog_cxx_cross |
| CXXCPP="${CXX-g++} -E" | CXXCPP="${CXX-g++} -E" |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1783 "configure" | #line 1993 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.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:1788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | { (eval echo configure:1998: \"$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 |
| : | : |
| Line 1810 echo "$ac_t""$CXXCPP" 1>&6 | Line 2020 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:2030: 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 2035 "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:2040: \"$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 2065 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:2069: 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 2074 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| #include <stdarg.h> | #include <stdarg.h> |
| Line 1867 else | Line 2078 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:2082: \"$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 2095 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 2099 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <string.h> | #include <string.h> |
| EOF | EOF |
| Line 1902 fi | Line 2113 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 2117 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <stdlib.h> | #include <stdlib.h> |
| EOF | EOF |
| Line 1923 if test "$cross_compiling" = yes; then | Line 2134 if test "$cross_compiling" = yes; then |
| : | : |
| else | else |
| cat > conftest.$ac_ext <<EOF | cat > conftest.$ac_ext <<EOF |
| #line 1927 "configure" | #line 2138 "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 2148 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:2152: \"$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 2172 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:2176: 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 2181 "configure" |
| #include "confdefs.h" | #include "confdefs.h" |
| #include <sys/types.h> | #include <sys/types.h> |
| #if STDC_HEADERS | #if STDC_HEADERS |
| Line 2159 s%@build_os@%$build_os%g | Line 2370 s%@build_os@%$build_os%g |
| s%@RANLIB@%$RANLIB%g | s%@RANLIB@%$RANLIB%g |
| s%@CC@%$CC%g | s%@CC@%$CC%g |
| s%@LN_S@%$LN_S%g | s%@LN_S@%$LN_S%g |
| s%@DLLTOOL@%$DLLTOOL%g | |
| s%@AS@%$AS%g | |
| s%@OBJDUMP@%$OBJDUMP%g | |
| s%@LIBTOOL@%$LIBTOOL%g | s%@LIBTOOL@%$LIBTOOL%g |
| s%@subdirs@%$subdirs%g | s%@subdirs@%$subdirs%g |
| s%@CXXCPP@%$CXXCPP%g | s%@CXXCPP@%$CXXCPP%g |