463 |
# include <unistd.h> |
# include <unistd.h> |
464 |
#endif" |
#endif" |
465 |
|
|
466 |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX MAYBE_CPP_TARGETS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP DLLTOOL ac_ct_DLLTOOL AS ac_ct_AS OBJDUMP ac_ct_OBJDUMP CPP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL pcre_has_bits_type_traits pcre_has_type_traits pcre_has_long_long pcre_has_ulong_long BUILD_EXEEXT BUILD_OBJEXT CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD EBCDIC HAVE_MEMMOVE HAVE_STRERROR LINK_SIZE MATCH_LIMIT NEWLINE NO_RECURSE PCRE_MAJOR PCRE_MINOR PCRE_DATE PCRE_VERSION PCRE_LIB_VERSION PCRE_POSIXLIB_VERSION PCRE_CPPLIB_VERSION POSIX_MALLOC_THRESHOLD UCP UTF8 WIN_PREFIX ON_WINDOWS NOT_ON_WINDOWS POSIX_OBJ POSIX_LOBJ POSIX_LIB LIBOBJS LTLIBOBJS' |
467 |
ac_subst_files='' |
ac_subst_files='' |
468 |
|
|
469 |
# Initialize some variables set by options. |
# Initialize some variables set by options. |
920 |
ac_env_CPPFLAGS_value=$CPPFLAGS |
ac_env_CPPFLAGS_value=$CPPFLAGS |
921 |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} |
922 |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS |
|
ac_env_CPP_set=${CPP+set} |
|
|
ac_env_CPP_value=$CPP |
|
|
ac_cv_env_CPP_set=${CPP+set} |
|
|
ac_cv_env_CPP_value=$CPP |
|
923 |
ac_env_CXX_set=${CXX+set} |
ac_env_CXX_set=${CXX+set} |
924 |
ac_env_CXX_value=$CXX |
ac_env_CXX_value=$CXX |
925 |
ac_cv_env_CXX_set=${CXX+set} |
ac_cv_env_CXX_set=${CXX+set} |
928 |
ac_env_CXXFLAGS_value=$CXXFLAGS |
ac_env_CXXFLAGS_value=$CXXFLAGS |
929 |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} |
930 |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
ac_cv_env_CXXFLAGS_value=$CXXFLAGS |
931 |
|
ac_env_CPP_set=${CPP+set} |
932 |
|
ac_env_CPP_value=$CPP |
933 |
|
ac_cv_env_CPP_set=${CPP+set} |
934 |
|
ac_cv_env_CPP_value=$CPP |
935 |
ac_env_CXXCPP_set=${CXXCPP+set} |
ac_env_CXXCPP_set=${CXXCPP+set} |
936 |
ac_env_CXXCPP_value=$CXXCPP |
ac_env_CXXCPP_value=$CXXCPP |
937 |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
ac_cv_env_CXXCPP_set=${CXXCPP+set} |
950 |
# |
# |
951 |
if test "$ac_init_help" = "long"; then |
if test "$ac_init_help" = "long"; then |
952 |
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
|
# The list generated by autoconf has been trimmed to remove many |
|
|
# options that are totally irrelevant to PCRE (e.g. relating to X), |
|
|
# or are not supported by its Makefile. |
|
953 |
# This message is too long to be a string in the A/UX 3.1 sh. |
# This message is too long to be a string in the A/UX 3.1 sh. |
954 |
cat <<_ACEOF |
cat <<_ACEOF |
955 |
\`configure' configures this package to adapt to many kinds of systems. |
\`configure' configures this package to adapt to many kinds of systems. |
990 |
|
|
991 |
Fine tuning of the installation directories: |
Fine tuning of the installation directories: |
992 |
--bindir=DIR user executables [EPREFIX/bin] |
--bindir=DIR user executables [EPREFIX/bin] |
993 |
|
--sbindir=DIR system admin executables [EPREFIX/sbin] |
994 |
|
--libexecdir=DIR program executables [EPREFIX/libexec] |
995 |
|
--datadir=DIR read-only architecture-independent data [PREFIX/share] |
996 |
|
--sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
997 |
|
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
998 |
|
--localstatedir=DIR modifiable single-machine data [PREFIX/var] |
999 |
--libdir=DIR object code libraries [EPREFIX/lib] |
--libdir=DIR object code libraries [EPREFIX/lib] |
1000 |
--includedir=DIR C header files [PREFIX/include] |
--includedir=DIR C header files [PREFIX/include] |
1001 |
|
--oldincludedir=DIR C header files for non-gcc [/usr/include] |
1002 |
|
--infodir=DIR info documentation [PREFIX/info] |
1003 |
--mandir=DIR man documentation [PREFIX/man] |
--mandir=DIR man documentation [PREFIX/man] |
1004 |
_ACEOF |
_ACEOF |
1005 |
|
|
1006 |
cat <<\_ACEOF |
cat <<\_ACEOF |
1007 |
|
|
1008 |
|
System types: |
1009 |
|
--build=BUILD configure for building on BUILD [guessed] |
1010 |
|
--host=HOST cross-compile to build programs to run on HOST [BUILD] |
1011 |
_ACEOF |
_ACEOF |
1012 |
fi |
fi |
1013 |
|
|
1018 |
Optional Features: |
Optional Features: |
1019 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1020 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1021 |
--enable-shared[ ] |
--enable-shared[=PKGS] |
1022 |
build shared libraries [default=yes] |
build shared libraries [default=yes] |
1023 |
--enable-static[ ] |
--enable-static[=PKGS] |
1024 |
build static libraries [default=yes] |
build static libraries [default=yes] |
1025 |
--enable-fast-install[ ] |
--enable-fast-install[=PKGS] |
1026 |
optimize for fast installation [default=yes] |
optimize for fast installation [default=yes] |
1027 |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
1028 |
--enable-utf8 enable UTF8 support |
--enable-utf8 enable UTF8 support |
1033 |
--disable-stack-for-recursion disable use of stack recursion when matching |
--disable-stack-for-recursion disable use of stack recursion when matching |
1034 |
|
|
1035 |
Optional Packages: |
Optional Packages: |
1036 |
|
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1037 |
|
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1038 |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1039 |
--with-pic try to use only PIC/non-PIC objects [default=use |
--with-pic try to use only PIC/non-PIC objects [default=use |
1040 |
both] |
both] |
1051 |
nonstandard directory <lib dir> |
nonstandard directory <lib dir> |
1052 |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have |
1053 |
headers in a nonstandard directory <include dir> |
headers in a nonstandard directory <include dir> |
|
CPP C preprocessor |
|
1054 |
CXX C++ compiler command |
CXX C++ compiler command |
1055 |
CXXFLAGS C++ compiler flags |
CXXFLAGS C++ compiler flags |
1056 |
|
CPP C preprocessor |
1057 |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
1058 |
F77 Fortran 77 compiler command |
F77 Fortran 77 compiler command |
1059 |
FFLAGS Fortran 77 compiler flags |
FFLAGS Fortran 77 compiler flags |
1504 |
|
|
1505 |
|
|
1506 |
|
|
1507 |
PCRE_MAJOR=5 |
PCRE_MAJOR=6 |
1508 |
PCRE_MINOR=0 |
PCRE_MINOR=0 |
1509 |
PCRE_DATE=13-Sep-2004 |
PCRE_DATE=07-Jun-2005 |
1510 |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
PCRE_VERSION=${PCRE_MAJOR}.${PCRE_MINOR} |
1511 |
|
|
1512 |
|
|
1515 |
|
|
1516 |
PCRE_LIB_VERSION=0:1:0 |
PCRE_LIB_VERSION=0:1:0 |
1517 |
PCRE_POSIXLIB_VERSION=0:0:0 |
PCRE_POSIXLIB_VERSION=0:0:0 |
1518 |
|
PCRE_CPPLIB_VERSION=0:0:0 |
1519 |
|
|
1520 |
|
|
1521 |
ac_ext=c |
ac_ext=c |
2450 |
|
|
2451 |
|
|
2452 |
|
|
2453 |
ac_aux_dir= |
ac_ext=cc |
2454 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
ac_cpp='$CXXCPP $CPPFLAGS' |
2455 |
if test -f $ac_dir/install-sh; then |
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2456 |
ac_aux_dir=$ac_dir |
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2457 |
ac_install_sh="$ac_aux_dir/install-sh -c" |
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
2458 |
break |
if test -n "$ac_tool_prefix"; then |
2459 |
elif test -f $ac_dir/install.sh; then |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
2460 |
ac_aux_dir=$ac_dir |
do |
2461 |
ac_install_sh="$ac_aux_dir/install.sh -c" |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
2462 |
break |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
2463 |
elif test -f $ac_dir/shtool; then |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2464 |
ac_aux_dir=$ac_dir |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2465 |
ac_install_sh="$ac_aux_dir/shtool install -c" |
if test "${ac_cv_prog_CXX+set}" = set; then |
2466 |
break |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2467 |
|
else |
2468 |
|
if test -n "$CXX"; then |
2469 |
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
2470 |
|
else |
2471 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2472 |
|
for as_dir in $PATH |
2473 |
|
do |
2474 |
|
IFS=$as_save_IFS |
2475 |
|
test -z "$as_dir" && as_dir=. |
2476 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2477 |
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2478 |
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
2479 |
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2480 |
|
break 2 |
2481 |
fi |
fi |
2482 |
done |
done |
2483 |
if test -z "$ac_aux_dir"; then |
done |
2484 |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
|
2485 |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
fi |
2486 |
{ (exit 1); exit 1; }; } |
fi |
2487 |
|
CXX=$ac_cv_prog_CXX |
2488 |
|
if test -n "$CXX"; then |
2489 |
|
echo "$as_me:$LINENO: result: $CXX" >&5 |
2490 |
|
echo "${ECHO_T}$CXX" >&6 |
2491 |
|
else |
2492 |
|
echo "$as_me:$LINENO: result: no" >&5 |
2493 |
|
echo "${ECHO_T}no" >&6 |
2494 |
fi |
fi |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
|
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
|
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
|
2495 |
|
|
2496 |
# Find a good install program. We prefer a C program (faster), |
test -n "$CXX" && break |
2497 |
# so one script is as good as another. But avoid the broken or |
done |
2498 |
# incompatible versions: |
fi |
2499 |
# SysV /etc/install, /usr/sbin/install |
if test -z "$CXX"; then |
2500 |
# SunOS /usr/etc/install |
ac_ct_CXX=$CXX |
2501 |
# IRIX /sbin/install |
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
2502 |
# AIX /bin/install |
do |
2503 |
# AmigaOS /C/install, which installs bootblocks on floppy discs |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
2504 |
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
set dummy $ac_prog; ac_word=$2 |
2505 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
2506 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
2507 |
# OS/2's system install, which has a completely different semantic |
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
# ./install, which can be erroneously created by make from ./install.sh. |
|
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
|
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
|
|
if test -z "$INSTALL"; then |
|
|
if test "${ac_cv_path_install+set}" = set; then |
|
2508 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2509 |
else |
else |
2510 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
if test -n "$ac_ct_CXX"; then |
2511 |
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
2512 |
|
else |
2513 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2514 |
for as_dir in $PATH |
for as_dir in $PATH |
2515 |
do |
do |
2516 |
IFS=$as_save_IFS |
IFS=$as_save_IFS |
2517 |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
2518 |
# Account for people who put trailing slashes in PATH elements. |
for ac_exec_ext in '' $ac_executable_extensions; do |
2519 |
case $as_dir/ in |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
2520 |
./ | .// | /cC/* | \ |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
2521 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2522 |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
break 2 |
2523 |
/usr/ucb/* ) ;; |
fi |
2524 |
*) |
done |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
|
|
# Don't use installbsd from OSF since it installs stuff as root |
|
|
# by default. |
|
|
for ac_prog in ginstall scoinst install; do |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
|
|
if test $ac_prog = install && |
|
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
# AIX install. It has an incompatible calling convention. |
|
|
: |
|
|
elif test $ac_prog = install && |
|
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
|
|
# program-specific install script used by HP pwplus--don't use. |
|
|
: |
|
|
else |
|
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
|
|
break 3 |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
;; |
|
|
esac |
|
2525 |
done |
done |
|
|
|
2526 |
|
|
2527 |
fi |
fi |
|
if test "${ac_cv_path_install+set}" = set; then |
|
|
INSTALL=$ac_cv_path_install |
|
|
else |
|
|
# As a last resort, use the slow shell script. We don't cache a |
|
|
# path for INSTALL within a source directory, because that will |
|
|
# break other packages using the cache if that directory is |
|
|
# removed, or if the path is relative. |
|
|
INSTALL=$ac_install_sh |
|
|
fi |
|
2528 |
fi |
fi |
2529 |
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
2530 |
echo "${ECHO_T}$INSTALL" >&6 |
if test -n "$ac_ct_CXX"; then |
2531 |
|
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
2532 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
echo "${ECHO_T}$ac_ct_CXX" >&6 |
2533 |
# It thinks the first close brace ends the variable substitution. |
else |
2534 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
echo "$as_me:$LINENO: result: no" >&5 |
2535 |
|
echo "${ECHO_T}no" >&6 |
2536 |
|
fi |
2537 |
|
|
2538 |
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
test -n "$ac_ct_CXX" && break |
2539 |
|
done |
2540 |
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
2541 |
|
|
2542 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
CXX=$ac_ct_CXX |
2543 |
|
fi |
2544 |
|
|
2545 |
|
|
2546 |
|
# Provide some information about the compiler. |
2547 |
|
echo "$as_me:$LINENO:" \ |
2548 |
|
"checking for C++ compiler version" >&5 |
2549 |
|
ac_compiler=`set X $ac_compile; echo $2` |
2550 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
2551 |
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
2552 |
|
ac_status=$? |
2553 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2554 |
|
(exit $ac_status); } |
2555 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
2556 |
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
2557 |
|
ac_status=$? |
2558 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2559 |
|
(exit $ac_status); } |
2560 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
2561 |
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
2562 |
|
ac_status=$? |
2563 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2564 |
|
(exit $ac_status); } |
2565 |
|
|
2566 |
# Check whether --enable-shared or --disable-shared was given. |
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
2567 |
if test "${enable_shared+set}" = set; then |
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
2568 |
enableval="$enable_shared" |
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
2569 |
p=${PACKAGE-default} |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
case $enableval in |
|
|
yes) enable_shared=yes ;; |
|
|
no) enable_shared=no ;; |
|
|
*) |
|
|
enable_shared=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_shared=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
2570 |
else |
else |
2571 |
enable_shared=yes |
cat >conftest.$ac_ext <<_ACEOF |
2572 |
fi; |
/* confdefs.h. */ |
2573 |
|
_ACEOF |
2574 |
|
cat confdefs.h >>conftest.$ac_ext |
2575 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2576 |
|
/* end confdefs.h. */ |
2577 |
|
|
2578 |
# Check whether --enable-static or --disable-static was given. |
int |
2579 |
if test "${enable_static+set}" = set; then |
main () |
2580 |
enableval="$enable_static" |
{ |
2581 |
p=${PACKAGE-default} |
#ifndef __GNUC__ |
2582 |
case $enableval in |
choke me |
2583 |
yes) enable_static=yes ;; |
#endif |
|
no) enable_static=no ;; |
|
|
*) |
|
|
enable_static=no |
|
|
# Look at the argument we got. We use all the common list separators. |
|
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
|
|
for pkg in $enableval; do |
|
|
IFS="$lt_save_ifs" |
|
|
if test "X$pkg" = "X$p"; then |
|
|
enable_static=yes |
|
|
fi |
|
|
done |
|
|
IFS="$lt_save_ifs" |
|
|
;; |
|
|
esac |
|
|
else |
|
|
enable_static=yes |
|
|
fi; |
|
2584 |
|
|
2585 |
# Check whether --enable-fast-install or --disable-fast-install was given. |
; |
2586 |
if test "${enable_fast_install+set}" = set; then |
return 0; |
2587 |
enableval="$enable_fast_install" |
} |
2588 |
p=${PACKAGE-default} |
_ACEOF |
2589 |
|
rm -f conftest.$ac_objext |
2590 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2591 |
|
(eval $ac_compile) 2>conftest.er1 |
2592 |
|
ac_status=$? |
2593 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2594 |
|
rm -f conftest.er1 |
2595 |
|
cat conftest.err >&5 |
2596 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2597 |
|
(exit $ac_status); } && |
2598 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
2599 |
|
|| test ! -s conftest.err' |
2600 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2601 |
|
(eval $ac_try) 2>&5 |
2602 |
|
ac_status=$? |
2603 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2604 |
|
(exit $ac_status); }; } && |
2605 |
|
{ ac_try='test -s conftest.$ac_objext' |
2606 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2607 |
|
(eval $ac_try) 2>&5 |
2608 |
|
ac_status=$? |
2609 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2610 |
|
(exit $ac_status); }; }; then |
2611 |
|
ac_compiler_gnu=yes |
2612 |
|
else |
2613 |
|
echo "$as_me: failed program was:" >&5 |
2614 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2615 |
|
|
2616 |
|
ac_compiler_gnu=no |
2617 |
|
fi |
2618 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2619 |
|
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
2620 |
|
|
2621 |
|
fi |
2622 |
|
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
2623 |
|
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
2624 |
|
GXX=`test $ac_compiler_gnu = yes && echo yes` |
2625 |
|
ac_test_CXXFLAGS=${CXXFLAGS+set} |
2626 |
|
ac_save_CXXFLAGS=$CXXFLAGS |
2627 |
|
CXXFLAGS="-g" |
2628 |
|
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
2629 |
|
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
2630 |
|
if test "${ac_cv_prog_cxx_g+set}" = set; then |
2631 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2632 |
|
else |
2633 |
|
cat >conftest.$ac_ext <<_ACEOF |
2634 |
|
/* confdefs.h. */ |
2635 |
|
_ACEOF |
2636 |
|
cat confdefs.h >>conftest.$ac_ext |
2637 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2638 |
|
/* end confdefs.h. */ |
2639 |
|
|
2640 |
|
int |
2641 |
|
main () |
2642 |
|
{ |
2643 |
|
|
2644 |
|
; |
2645 |
|
return 0; |
2646 |
|
} |
2647 |
|
_ACEOF |
2648 |
|
rm -f conftest.$ac_objext |
2649 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2650 |
|
(eval $ac_compile) 2>conftest.er1 |
2651 |
|
ac_status=$? |
2652 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2653 |
|
rm -f conftest.er1 |
2654 |
|
cat conftest.err >&5 |
2655 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2656 |
|
(exit $ac_status); } && |
2657 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
2658 |
|
|| test ! -s conftest.err' |
2659 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2660 |
|
(eval $ac_try) 2>&5 |
2661 |
|
ac_status=$? |
2662 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2663 |
|
(exit $ac_status); }; } && |
2664 |
|
{ ac_try='test -s conftest.$ac_objext' |
2665 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2666 |
|
(eval $ac_try) 2>&5 |
2667 |
|
ac_status=$? |
2668 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2669 |
|
(exit $ac_status); }; }; then |
2670 |
|
ac_cv_prog_cxx_g=yes |
2671 |
|
else |
2672 |
|
echo "$as_me: failed program was:" >&5 |
2673 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2674 |
|
|
2675 |
|
ac_cv_prog_cxx_g=no |
2676 |
|
fi |
2677 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2678 |
|
fi |
2679 |
|
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
2680 |
|
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
2681 |
|
if test "$ac_test_CXXFLAGS" = set; then |
2682 |
|
CXXFLAGS=$ac_save_CXXFLAGS |
2683 |
|
elif test $ac_cv_prog_cxx_g = yes; then |
2684 |
|
if test "$GXX" = yes; then |
2685 |
|
CXXFLAGS="-g -O2" |
2686 |
|
else |
2687 |
|
CXXFLAGS="-g" |
2688 |
|
fi |
2689 |
|
else |
2690 |
|
if test "$GXX" = yes; then |
2691 |
|
CXXFLAGS="-O2" |
2692 |
|
else |
2693 |
|
CXXFLAGS= |
2694 |
|
fi |
2695 |
|
fi |
2696 |
|
for ac_declaration in \ |
2697 |
|
'' \ |
2698 |
|
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
2699 |
|
'extern "C" void std::exit (int); using std::exit;' \ |
2700 |
|
'extern "C" void exit (int) throw ();' \ |
2701 |
|
'extern "C" void exit (int);' \ |
2702 |
|
'void exit (int);' |
2703 |
|
do |
2704 |
|
cat >conftest.$ac_ext <<_ACEOF |
2705 |
|
/* confdefs.h. */ |
2706 |
|
_ACEOF |
2707 |
|
cat confdefs.h >>conftest.$ac_ext |
2708 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2709 |
|
/* end confdefs.h. */ |
2710 |
|
$ac_declaration |
2711 |
|
#include <stdlib.h> |
2712 |
|
int |
2713 |
|
main () |
2714 |
|
{ |
2715 |
|
exit (42); |
2716 |
|
; |
2717 |
|
return 0; |
2718 |
|
} |
2719 |
|
_ACEOF |
2720 |
|
rm -f conftest.$ac_objext |
2721 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2722 |
|
(eval $ac_compile) 2>conftest.er1 |
2723 |
|
ac_status=$? |
2724 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2725 |
|
rm -f conftest.er1 |
2726 |
|
cat conftest.err >&5 |
2727 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2728 |
|
(exit $ac_status); } && |
2729 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
2730 |
|
|| test ! -s conftest.err' |
2731 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2732 |
|
(eval $ac_try) 2>&5 |
2733 |
|
ac_status=$? |
2734 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2735 |
|
(exit $ac_status); }; } && |
2736 |
|
{ ac_try='test -s conftest.$ac_objext' |
2737 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2738 |
|
(eval $ac_try) 2>&5 |
2739 |
|
ac_status=$? |
2740 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2741 |
|
(exit $ac_status); }; }; then |
2742 |
|
: |
2743 |
|
else |
2744 |
|
echo "$as_me: failed program was:" >&5 |
2745 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2746 |
|
|
2747 |
|
continue |
2748 |
|
fi |
2749 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2750 |
|
cat >conftest.$ac_ext <<_ACEOF |
2751 |
|
/* confdefs.h. */ |
2752 |
|
_ACEOF |
2753 |
|
cat confdefs.h >>conftest.$ac_ext |
2754 |
|
cat >>conftest.$ac_ext <<_ACEOF |
2755 |
|
/* end confdefs.h. */ |
2756 |
|
$ac_declaration |
2757 |
|
int |
2758 |
|
main () |
2759 |
|
{ |
2760 |
|
exit (42); |
2761 |
|
; |
2762 |
|
return 0; |
2763 |
|
} |
2764 |
|
_ACEOF |
2765 |
|
rm -f conftest.$ac_objext |
2766 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
2767 |
|
(eval $ac_compile) 2>conftest.er1 |
2768 |
|
ac_status=$? |
2769 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
2770 |
|
rm -f conftest.er1 |
2771 |
|
cat conftest.err >&5 |
2772 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2773 |
|
(exit $ac_status); } && |
2774 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
2775 |
|
|| test ! -s conftest.err' |
2776 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2777 |
|
(eval $ac_try) 2>&5 |
2778 |
|
ac_status=$? |
2779 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2780 |
|
(exit $ac_status); }; } && |
2781 |
|
{ ac_try='test -s conftest.$ac_objext' |
2782 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
2783 |
|
(eval $ac_try) 2>&5 |
2784 |
|
ac_status=$? |
2785 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
2786 |
|
(exit $ac_status); }; }; then |
2787 |
|
break |
2788 |
|
else |
2789 |
|
echo "$as_me: failed program was:" >&5 |
2790 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
2791 |
|
|
2792 |
|
fi |
2793 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
2794 |
|
done |
2795 |
|
rm -f conftest* |
2796 |
|
if test -n "$ac_declaration"; then |
2797 |
|
echo '#ifdef __cplusplus' >>confdefs.h |
2798 |
|
echo $ac_declaration >>confdefs.h |
2799 |
|
echo '#endif' >>confdefs.h |
2800 |
|
fi |
2801 |
|
|
2802 |
|
ac_ext=c |
2803 |
|
ac_cpp='$CPP $CPPFLAGS' |
2804 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2805 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2806 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2807 |
|
|
2808 |
|
|
2809 |
|
if test -n "$ac_cv_prog_ac_ct_CXX"; then |
2810 |
|
MAYBE_CPP_TARGETS='$(CPP_TARGETS)' |
2811 |
|
fi |
2812 |
|
echo "Maybe-cpp-targets: '$ac_cv_prog_CXX' '$MAYBE_CPP_TARGETS'" #!! |
2813 |
|
|
2814 |
|
|
2815 |
|
|
2816 |
|
ac_aux_dir= |
2817 |
|
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
2818 |
|
if test -f $ac_dir/install-sh; then |
2819 |
|
ac_aux_dir=$ac_dir |
2820 |
|
ac_install_sh="$ac_aux_dir/install-sh -c" |
2821 |
|
break |
2822 |
|
elif test -f $ac_dir/install.sh; then |
2823 |
|
ac_aux_dir=$ac_dir |
2824 |
|
ac_install_sh="$ac_aux_dir/install.sh -c" |
2825 |
|
break |
2826 |
|
elif test -f $ac_dir/shtool; then |
2827 |
|
ac_aux_dir=$ac_dir |
2828 |
|
ac_install_sh="$ac_aux_dir/shtool install -c" |
2829 |
|
break |
2830 |
|
fi |
2831 |
|
done |
2832 |
|
if test -z "$ac_aux_dir"; then |
2833 |
|
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 |
2834 |
|
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} |
2835 |
|
{ (exit 1); exit 1; }; } |
2836 |
|
fi |
2837 |
|
ac_config_guess="$SHELL $ac_aux_dir/config.guess" |
2838 |
|
ac_config_sub="$SHELL $ac_aux_dir/config.sub" |
2839 |
|
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. |
2840 |
|
|
2841 |
|
# Find a good install program. We prefer a C program (faster), |
2842 |
|
# so one script is as good as another. But avoid the broken or |
2843 |
|
# incompatible versions: |
2844 |
|
# SysV /etc/install, /usr/sbin/install |
2845 |
|
# SunOS /usr/etc/install |
2846 |
|
# IRIX /sbin/install |
2847 |
|
# AIX /bin/install |
2848 |
|
# AmigaOS /C/install, which installs bootblocks on floppy discs |
2849 |
|
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2850 |
|
# AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2851 |
|
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2852 |
|
# OS/2's system install, which has a completely different semantic |
2853 |
|
# ./install, which can be erroneously created by make from ./install.sh. |
2854 |
|
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 |
2855 |
|
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 |
2856 |
|
if test -z "$INSTALL"; then |
2857 |
|
if test "${ac_cv_path_install+set}" = set; then |
2858 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
2859 |
|
else |
2860 |
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2861 |
|
for as_dir in $PATH |
2862 |
|
do |
2863 |
|
IFS=$as_save_IFS |
2864 |
|
test -z "$as_dir" && as_dir=. |
2865 |
|
# Account for people who put trailing slashes in PATH elements. |
2866 |
|
case $as_dir/ in |
2867 |
|
./ | .// | /cC/* | \ |
2868 |
|
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2869 |
|
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ |
2870 |
|
/usr/ucb/* ) ;; |
2871 |
|
*) |
2872 |
|
# OSF1 and SCO ODT 3.0 have their own names for install. |
2873 |
|
# Don't use installbsd from OSF since it installs stuff as root |
2874 |
|
# by default. |
2875 |
|
for ac_prog in ginstall scoinst install; do |
2876 |
|
for ac_exec_ext in '' $ac_executable_extensions; do |
2877 |
|
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
2878 |
|
if test $ac_prog = install && |
2879 |
|
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2880 |
|
# AIX install. It has an incompatible calling convention. |
2881 |
|
: |
2882 |
|
elif test $ac_prog = install && |
2883 |
|
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2884 |
|
# program-specific install script used by HP pwplus--don't use. |
2885 |
|
: |
2886 |
|
else |
2887 |
|
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2888 |
|
break 3 |
2889 |
|
fi |
2890 |
|
fi |
2891 |
|
done |
2892 |
|
done |
2893 |
|
;; |
2894 |
|
esac |
2895 |
|
done |
2896 |
|
|
2897 |
|
|
2898 |
|
fi |
2899 |
|
if test "${ac_cv_path_install+set}" = set; then |
2900 |
|
INSTALL=$ac_cv_path_install |
2901 |
|
else |
2902 |
|
# As a last resort, use the slow shell script. We don't cache a |
2903 |
|
# path for INSTALL within a source directory, because that will |
2904 |
|
# break other packages using the cache if that directory is |
2905 |
|
# removed, or if the path is relative. |
2906 |
|
INSTALL=$ac_install_sh |
2907 |
|
fi |
2908 |
|
fi |
2909 |
|
echo "$as_me:$LINENO: result: $INSTALL" >&5 |
2910 |
|
echo "${ECHO_T}$INSTALL" >&6 |
2911 |
|
|
2912 |
|
# Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2913 |
|
# It thinks the first close brace ends the variable substitution. |
2914 |
|
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2915 |
|
|
2916 |
|
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2917 |
|
|
2918 |
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2919 |
|
|
2920 |
|
|
2921 |
|
|
2922 |
|
# Check whether --enable-shared or --disable-shared was given. |
2923 |
|
if test "${enable_shared+set}" = set; then |
2924 |
|
enableval="$enable_shared" |
2925 |
|
p=${PACKAGE-default} |
2926 |
|
case $enableval in |
2927 |
|
yes) enable_shared=yes ;; |
2928 |
|
no) enable_shared=no ;; |
2929 |
|
*) |
2930 |
|
enable_shared=no |
2931 |
|
# Look at the argument we got. We use all the common list separators. |
2932 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
2933 |
|
for pkg in $enableval; do |
2934 |
|
IFS="$lt_save_ifs" |
2935 |
|
if test "X$pkg" = "X$p"; then |
2936 |
|
enable_shared=yes |
2937 |
|
fi |
2938 |
|
done |
2939 |
|
IFS="$lt_save_ifs" |
2940 |
|
;; |
2941 |
|
esac |
2942 |
|
else |
2943 |
|
enable_shared=yes |
2944 |
|
fi; |
2945 |
|
|
2946 |
|
# Check whether --enable-static or --disable-static was given. |
2947 |
|
if test "${enable_static+set}" = set; then |
2948 |
|
enableval="$enable_static" |
2949 |
|
p=${PACKAGE-default} |
2950 |
|
case $enableval in |
2951 |
|
yes) enable_static=yes ;; |
2952 |
|
no) enable_static=no ;; |
2953 |
|
*) |
2954 |
|
enable_static=no |
2955 |
|
# Look at the argument we got. We use all the common list separators. |
2956 |
|
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
2957 |
|
for pkg in $enableval; do |
2958 |
|
IFS="$lt_save_ifs" |
2959 |
|
if test "X$pkg" = "X$p"; then |
2960 |
|
enable_static=yes |
2961 |
|
fi |
2962 |
|
done |
2963 |
|
IFS="$lt_save_ifs" |
2964 |
|
;; |
2965 |
|
esac |
2966 |
|
else |
2967 |
|
enable_static=yes |
2968 |
|
fi; |
2969 |
|
|
2970 |
|
# Check whether --enable-fast-install or --disable-fast-install was given. |
2971 |
|
if test "${enable_fast_install+set}" = set; then |
2972 |
|
enableval="$enable_fast_install" |
2973 |
|
p=${PACKAGE-default} |
2974 |
case $enableval in |
case $enableval in |
2975 |
yes) enable_fast_install=yes ;; |
yes) enable_fast_install=yes ;; |
2976 |
no) enable_fast_install=no ;; |
no) enable_fast_install=no ;; |
3534 |
;; |
;; |
3535 |
*-*-irix6*) |
*-*-irix6*) |
3536 |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
3537 |
echo '#line 3173 "configure"' > conftest.$ac_ext |
echo '#line 3537 "configure"' > conftest.$ac_ext |
3538 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
3539 |
(eval $ac_compile) 2>&5 |
(eval $ac_compile) 2>&5 |
3540 |
ac_status=$? |
ac_status=$? |
4170 |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
4171 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4172 |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4173 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4174 |
|
|
4175 |
|
|
4176 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
4177 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
4178 |
if test "${ac_cv_header_stdc+set}" = set; then |
if test "${ac_cv_header_stdc+set}" = set; then |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <stdlib.h> |
|
|
#include <stdarg.h> |
|
|
#include <string.h> |
|
|
#include <float.h> |
|
|
|
|
|
int |
|
|
main () |
|
|
{ |
|
|
|
|
|
; |
|
|
return 0; |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
ac_cv_header_stdc=yes |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <string.h> |
|
|
|
|
|
_ACEOF |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
$EGREP "memchr" >/dev/null 2>&1; then |
|
|
: |
|
|
else |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <stdlib.h> |
|
|
|
|
|
_ACEOF |
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
$EGREP "free" >/dev/null 2>&1; then |
|
|
: |
|
|
else |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f conftest* |
|
|
|
|
|
fi |
|
|
|
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
if test "$cross_compiling" = yes; then |
|
|
: |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
#include <ctype.h> |
|
|
#if ((' ' & 0x0FF) == 0x020) |
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
#else |
|
|
# define ISLOWER(c) \ |
|
|
(('a' <= (c) && (c) <= 'i') \ |
|
|
|| ('j' <= (c) && (c) <= 'r') \ |
|
|
|| ('s' <= (c) && (c) <= 'z')) |
|
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
#endif |
|
|
|
|
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
int |
|
|
main () |
|
|
{ |
|
|
int i; |
|
|
for (i = 0; i < 256; i++) |
|
|
if (XOR (islower (i), ISLOWER (i)) |
|
|
|| toupper (i) != TOUPPER (i)) |
|
|
exit(2); |
|
|
exit (0); |
|
|
} |
|
|
_ACEOF |
|
|
rm -f conftest$ac_exeext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
|
|
(eval $ac_link) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
: |
|
|
else |
|
|
echo "$as_me: program exited with status $ac_status" >&5 |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
( exit $ac_status ) |
|
|
ac_cv_header_stdc=no |
|
|
fi |
|
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
|
|
if test $ac_cv_header_stdc = yes; then |
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF |
|
|
#define STDC_HEADERS 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
inttypes.h stdint.h unistd.h |
|
|
do |
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
|
/* confdefs.h. */ |
|
|
_ACEOF |
|
|
cat confdefs.h >>conftest.$ac_ext |
|
|
cat >>conftest.$ac_ext <<_ACEOF |
|
|
/* end confdefs.h. */ |
|
|
$ac_includes_default |
|
|
|
|
|
#include <$ac_header> |
|
|
_ACEOF |
|
|
rm -f conftest.$ac_objext |
|
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
|
|
(eval $ac_compile) 2>conftest.er1 |
|
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_c_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; } && |
|
|
{ ac_try='test -s conftest.$ac_objext' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); }; }; then |
|
|
eval "$as_ac_Header=yes" |
|
|
else |
|
|
echo "$as_me: failed program was:" >&5 |
|
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
eval "$as_ac_Header=no" |
|
|
fi |
|
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
fi |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
cat >>confdefs.h <<_ACEOF |
|
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
_ACEOF |
|
|
|
|
|
fi |
|
|
|
|
|
done |
|
|
|
|
|
|
|
|
|
|
|
for ac_header in dlfcn.h |
|
|
do |
|
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
4179 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
fi |
|
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4180 |
else |
else |
4181 |
# Is the header compilable? |
cat >conftest.$ac_ext <<_ACEOF |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
|
|
cat >conftest.$ac_ext <<_ACEOF |
|
4182 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4183 |
_ACEOF |
_ACEOF |
4184 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4185 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4186 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4187 |
$ac_includes_default |
#include <stdlib.h> |
4188 |
#include <$ac_header> |
#include <stdarg.h> |
4189 |
|
#include <string.h> |
4190 |
|
#include <float.h> |
4191 |
|
|
4192 |
|
int |
4193 |
|
main () |
4194 |
|
{ |
4195 |
|
|
4196 |
|
; |
4197 |
|
return 0; |
4198 |
|
} |
4199 |
_ACEOF |
_ACEOF |
4200 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4201 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4219 |
ac_status=$? |
ac_status=$? |
4220 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4221 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4222 |
ac_header_compiler=yes |
ac_cv_header_stdc=yes |
4223 |
else |
else |
4224 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4225 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4226 |
|
|
4227 |
ac_header_compiler=no |
ac_cv_header_stdc=no |
4228 |
fi |
fi |
4229 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
|
4230 |
|
|
4231 |
# Is the header present? |
if test $ac_cv_header_stdc = yes; then |
4232 |
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4233 |
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
cat >conftest.$ac_ext <<_ACEOF |
|
cat >conftest.$ac_ext <<_ACEOF |
|
4234 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4235 |
_ACEOF |
_ACEOF |
4236 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4237 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4238 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4239 |
#include <$ac_header> |
#include <string.h> |
4240 |
|
|
4241 |
_ACEOF |
_ACEOF |
4242 |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4243 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
$EGREP "memchr" >/dev/null 2>&1; then |
4244 |
ac_status=$? |
: |
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } >/dev/null; then |
|
|
if test -s conftest.err; then |
|
|
ac_cpp_err=$ac_c_preproc_warn_flag |
|
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
|
|
else |
|
|
ac_cpp_err= |
|
|
fi |
|
|
else |
|
|
ac_cpp_err=yes |
|
|
fi |
|
|
if test -z "$ac_cpp_err"; then |
|
|
ac_header_preproc=yes |
|
4245 |
else |
else |
4246 |
echo "$as_me: failed program was:" >&5 |
ac_cv_header_stdc=no |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
|
|
|
ac_header_preproc=no |
|
4247 |
fi |
fi |
4248 |
rm -f conftest.err conftest.$ac_ext |
rm -f conftest* |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
|
4249 |
|
|
|
# So? What about this header? |
|
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
|
|
yes:no: ) |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
ac_header_preproc=yes |
|
|
;; |
|
|
no:yes:* ) |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
( |
|
|
cat <<\_ASBOX |
|
|
## ------------------------------------------ ## |
|
|
## Report this to the AC_PACKAGE_NAME lists. ## |
|
|
## ------------------------------------------ ## |
|
|
_ASBOX |
|
|
) | |
|
|
sed "s/^/$as_me: WARNING: /" >&2 |
|
|
;; |
|
|
esac |
|
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
|
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
eval "$as_ac_Header=\$ac_header_preproc" |
|
4250 |
fi |
fi |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
|
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
4251 |
|
|
4252 |
fi |
if test $ac_cv_header_stdc = yes; then |
4253 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4254 |
cat >>confdefs.h <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
4255 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
/* confdefs.h. */ |
4256 |
_ACEOF |
_ACEOF |
4257 |
|
cat confdefs.h >>conftest.$ac_ext |
4258 |
|
cat >>conftest.$ac_ext <<_ACEOF |
4259 |
|
/* end confdefs.h. */ |
4260 |
|
#include <stdlib.h> |
4261 |
|
|
4262 |
fi |
_ACEOF |
4263 |
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4264 |
done |
$EGREP "free" >/dev/null 2>&1; then |
4265 |
|
: |
|
ac_ext=cc |
|
|
ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
if test -n "$ac_tool_prefix"; then |
|
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
|
do |
|
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
|
set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_CXX+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$CXX"; then |
|
|
ac_cv_prog_CXX="$CXX" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
CXX=$ac_cv_prog_CXX |
|
|
if test -n "$CXX"; then |
|
|
echo "$as_me:$LINENO: result: $CXX" >&5 |
|
|
echo "${ECHO_T}$CXX" >&6 |
|
|
else |
|
|
echo "$as_me:$LINENO: result: no" >&5 |
|
|
echo "${ECHO_T}no" >&6 |
|
|
fi |
|
|
|
|
|
test -n "$CXX" && break |
|
|
done |
|
|
fi |
|
|
if test -z "$CXX"; then |
|
|
ac_ct_CXX=$CXX |
|
|
for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC |
|
|
do |
|
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
|
set dummy $ac_prog; ac_word=$2 |
|
|
echo "$as_me:$LINENO: checking for $ac_word" >&5 |
|
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
|
|
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
else |
|
|
if test -n "$ac_ct_CXX"; then |
|
|
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. |
|
|
else |
|
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
|
|
for as_dir in $PATH |
|
|
do |
|
|
IFS=$as_save_IFS |
|
|
test -z "$as_dir" && as_dir=. |
|
|
for ac_exec_ext in '' $ac_executable_extensions; do |
|
|
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
|
ac_cv_prog_ac_ct_CXX="$ac_prog" |
|
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
|
break 2 |
|
|
fi |
|
|
done |
|
|
done |
|
|
|
|
|
fi |
|
|
fi |
|
|
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX |
|
|
if test -n "$ac_ct_CXX"; then |
|
|
echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 |
|
|
echo "${ECHO_T}$ac_ct_CXX" >&6 |
|
4266 |
else |
else |
4267 |
echo "$as_me:$LINENO: result: no" >&5 |
ac_cv_header_stdc=no |
|
echo "${ECHO_T}no" >&6 |
|
4268 |
fi |
fi |
4269 |
|
rm -f conftest* |
4270 |
|
|
|
test -n "$ac_ct_CXX" && break |
|
|
done |
|
|
test -n "$ac_ct_CXX" || ac_ct_CXX="g++" |
|
|
|
|
|
CXX=$ac_ct_CXX |
|
4271 |
fi |
fi |
4272 |
|
|
4273 |
|
if test $ac_cv_header_stdc = yes; then |
4274 |
# Provide some information about the compiler. |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4275 |
echo "$as_me:$LINENO:" \ |
if test "$cross_compiling" = yes; then |
4276 |
"checking for C++ compiler version" >&5 |
: |
|
ac_compiler=`set X $ac_compile; echo $2` |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
|
|
(eval $ac_compiler --version </dev/null >&5) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 |
|
|
(eval $ac_compiler -v </dev/null >&5) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 |
|
|
(eval $ac_compiler -V </dev/null >&5) 2>&5 |
|
|
ac_status=$? |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } |
|
|
|
|
|
echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 |
|
|
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 |
|
|
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then |
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
4277 |
else |
else |
4278 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
4279 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4281 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4282 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4283 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4284 |
|
#include <ctype.h> |
4285 |
|
#if ((' ' & 0x0FF) == 0x020) |
4286 |
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4287 |
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4288 |
|
#else |
4289 |
|
# define ISLOWER(c) \ |
4290 |
|
(('a' <= (c) && (c) <= 'i') \ |
4291 |
|
|| ('j' <= (c) && (c) <= 'r') \ |
4292 |
|
|| ('s' <= (c) && (c) <= 'z')) |
4293 |
|
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4294 |
|
#endif |
4295 |
|
|
4296 |
|
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4297 |
int |
int |
4298 |
main () |
main () |
4299 |
{ |
{ |
4300 |
#ifndef __GNUC__ |
int i; |
4301 |
choke me |
for (i = 0; i < 256; i++) |
4302 |
#endif |
if (XOR (islower (i), ISLOWER (i)) |
4303 |
|
|| toupper (i) != TOUPPER (i)) |
4304 |
; |
exit(2); |
4305 |
return 0; |
exit (0); |
4306 |
} |
} |
4307 |
_ACEOF |
_ACEOF |
4308 |
rm -f conftest.$ac_objext |
rm -f conftest$ac_exeext |
4309 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 |
4310 |
(eval $ac_compile) 2>conftest.er1 |
(eval $ac_link) 2>&5 |
|
ac_status=$? |
|
|
grep -v '^ *+' conftest.er1 >conftest.err |
|
|
rm -f conftest.er1 |
|
|
cat conftest.err >&5 |
|
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
(exit $ac_status); } && |
|
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
|
|
|| test ! -s conftest.err' |
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
|
|
(eval $ac_try) 2>&5 |
|
4311 |
ac_status=$? |
ac_status=$? |
4312 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4313 |
(exit $ac_status); }; } && |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
{ ac_try='test -s conftest.$ac_objext' |
|
4314 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4315 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4316 |
ac_status=$? |
ac_status=$? |
4317 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4318 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4319 |
ac_compiler_gnu=yes |
: |
4320 |
else |
else |
4321 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: program exited with status $ac_status" >&5 |
4322 |
|
echo "$as_me: failed program was:" >&5 |
4323 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4324 |
|
|
4325 |
ac_compiler_gnu=no |
( exit $ac_status ) |
4326 |
|
ac_cv_header_stdc=no |
4327 |
fi |
fi |
4328 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
4329 |
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu |
fi |
4330 |
|
fi |
4331 |
|
fi |
4332 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
4333 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
4334 |
|
if test $ac_cv_header_stdc = yes; then |
4335 |
|
|
4336 |
|
cat >>confdefs.h <<\_ACEOF |
4337 |
|
#define STDC_HEADERS 1 |
4338 |
|
_ACEOF |
4339 |
|
|
4340 |
fi |
fi |
4341 |
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 |
|
4342 |
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 |
# On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4343 |
GXX=`test $ac_compiler_gnu = yes && echo yes` |
|
4344 |
ac_test_CXXFLAGS=${CXXFLAGS+set} |
|
4345 |
ac_save_CXXFLAGS=$CXXFLAGS |
|
4346 |
CXXFLAGS="-g" |
|
4347 |
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 |
|
4348 |
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 |
|
4349 |
if test "${ac_cv_prog_cxx_g+set}" = set; then |
|
4350 |
|
|
4351 |
|
|
4352 |
|
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4353 |
|
inttypes.h stdint.h unistd.h |
4354 |
|
do |
4355 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4356 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4357 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4358 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4359 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4360 |
else |
else |
4361 |
cat >conftest.$ac_ext <<_ACEOF |
cat >conftest.$ac_ext <<_ACEOF |
4364 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4365 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4366 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4367 |
|
$ac_includes_default |
4368 |
|
|
4369 |
int |
#include <$ac_header> |
|
main () |
|
|
{ |
|
|
|
|
|
; |
|
|
return 0; |
|
|
} |
|
4370 |
_ACEOF |
_ACEOF |
4371 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4372 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4377 |
cat conftest.err >&5 |
cat conftest.err >&5 |
4378 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4379 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4380 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
{ ac_try='test -z "$ac_c_werror_flag" |
4381 |
|| test ! -s conftest.err' |
|| test ! -s conftest.err' |
4382 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4383 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4390 |
ac_status=$? |
ac_status=$? |
4391 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4392 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4393 |
ac_cv_prog_cxx_g=yes |
eval "$as_ac_Header=yes" |
4394 |
else |
else |
4395 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4396 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4397 |
|
|
4398 |
ac_cv_prog_cxx_g=no |
eval "$as_ac_Header=no" |
4399 |
fi |
fi |
4400 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4401 |
fi |
fi |
4402 |
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4403 |
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4404 |
if test "$ac_test_CXXFLAGS" = set; then |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4405 |
CXXFLAGS=$ac_save_CXXFLAGS |
cat >>confdefs.h <<_ACEOF |
4406 |
elif test $ac_cv_prog_cxx_g = yes; then |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4407 |
if test "$GXX" = yes; then |
_ACEOF |
4408 |
CXXFLAGS="-g -O2" |
|
|
else |
|
|
CXXFLAGS="-g" |
|
|
fi |
|
|
else |
|
|
if test "$GXX" = yes; then |
|
|
CXXFLAGS="-O2" |
|
|
else |
|
|
CXXFLAGS= |
|
|
fi |
|
4409 |
fi |
fi |
4410 |
for ac_declaration in \ |
|
4411 |
'' \ |
done |
4412 |
'extern "C" void std::exit (int) throw (); using std::exit;' \ |
|
4413 |
'extern "C" void std::exit (int); using std::exit;' \ |
|
4414 |
'extern "C" void exit (int) throw ();' \ |
|
4415 |
'extern "C" void exit (int);' \ |
for ac_header in dlfcn.h |
|
'void exit (int);' |
|
4416 |
do |
do |
4417 |
cat >conftest.$ac_ext <<_ACEOF |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4418 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4419 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4420 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4421 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4422 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4423 |
|
fi |
4424 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4425 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4426 |
|
else |
4427 |
|
# Is the header compilable? |
4428 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
4429 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
4430 |
|
cat >conftest.$ac_ext <<_ACEOF |
4431 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4432 |
_ACEOF |
_ACEOF |
4433 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4434 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4435 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4436 |
$ac_declaration |
$ac_includes_default |
4437 |
#include <stdlib.h> |
#include <$ac_header> |
|
int |
|
|
main () |
|
|
{ |
|
|
exit (42); |
|
|
; |
|
|
return 0; |
|
|
} |
|
4438 |
_ACEOF |
_ACEOF |
4439 |
rm -f conftest.$ac_objext |
rm -f conftest.$ac_objext |
4440 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
4445 |
cat conftest.err >&5 |
cat conftest.err >&5 |
4446 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4447 |
(exit $ac_status); } && |
(exit $ac_status); } && |
4448 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
{ ac_try='test -z "$ac_c_werror_flag" |
4449 |
|| test ! -s conftest.err' |
|| test ! -s conftest.err' |
4450 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
4451 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
4458 |
ac_status=$? |
ac_status=$? |
4459 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4460 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
4461 |
: |
ac_header_compiler=yes |
4462 |
else |
else |
4463 |
echo "$as_me: failed program was:" >&5 |
echo "$as_me: failed program was:" >&5 |
4464 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
4465 |
|
|
4466 |
continue |
ac_header_compiler=no |
4467 |
fi |
fi |
4468 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
4469 |
cat >conftest.$ac_ext <<_ACEOF |
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
4470 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
4471 |
|
|
4472 |
|
# Is the header present? |
4473 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
4474 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
4475 |
|
cat >conftest.$ac_ext <<_ACEOF |
4476 |
/* confdefs.h. */ |
/* confdefs.h. */ |
4477 |
_ACEOF |
_ACEOF |
4478 |
cat confdefs.h >>conftest.$ac_ext |
cat confdefs.h >>conftest.$ac_ext |
4479 |
cat >>conftest.$ac_ext <<_ACEOF |
cat >>conftest.$ac_ext <<_ACEOF |
4480 |
/* end confdefs.h. */ |
/* end confdefs.h. */ |
4481 |
$ac_declaration |
#include <$ac_header> |
|
int |
|
|
main () |
|
|
{ |
|
|
exit (42); |
|
|
; |
|
|
return 0; |
|
|
} |
|
4482 |
_ACEOF |
_ACEOF |
4483 |
rm -f conftest.$ac_objext |
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
4484 |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
|
(eval $ac_compile) 2>conftest.er1 |
|
4485 |
ac_status=$? |
ac_status=$? |
4486 |
grep -v '^ *+' conftest.er1 >conftest.err |
grep -v '^ *+' conftest.er1 >conftest.err |
4487 |
rm -f conftest.er1 |
rm -f conftest.er1 |
4488 |
cat conftest.err >&5 |
cat conftest.err >&5 |
4489 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
4490 |
(exit $ac_status); } && |
(exit $ac_status); } >/dev/null; then |
4491 |
{ ac_try='test -z "$ac_cxx_werror_flag" |
if test -s conftest.err; then |
4492 |
|| test ! -s conftest.err' |
ac_cpp_err=$ac_c_preproc_warn_flag |
4493 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
4494 |
(eval $ac_try) 2>&5 |
else |
4495 |
ac_status=$? |
ac_cpp_err= |
4496 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
fi |
4497 |
(exit $ac_status); }; } && |
else |
4498 |
{ ac_try='test -s conftest.$ac_objext' |
ac_cpp_err=yes |
4499 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
fi |
4500 |
(eval $ac_try) 2>&5 |
if test -z "$ac_cpp_err"; then |
4501 |
ac_status=$? |
ac_header_preproc=yes |
4502 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
else |
4503 |
(exit $ac_status); }; }; then |
echo "$as_me: failed program was:" >&5 |
4504 |
break |
sed 's/^/| /' conftest.$ac_ext >&5 |
4505 |
|
|
4506 |
|
ac_header_preproc=no |
4507 |
|
fi |
4508 |
|
rm -f conftest.err conftest.$ac_ext |
4509 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
4510 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
4511 |
|
|
4512 |
|
# So? What about this header? |
4513 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
4514 |
|
yes:no: ) |
4515 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
4516 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
4517 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
4518 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
4519 |
|
ac_header_preproc=yes |
4520 |
|
;; |
4521 |
|
no:yes:* ) |
4522 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
4523 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
4524 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
4525 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
4526 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
4527 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
4528 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
4529 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
4530 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
4531 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
4532 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
4533 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
4534 |
|
( |
4535 |
|
cat <<\_ASBOX |
4536 |
|
## ------------------------------------------ ## |
4537 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
4538 |
|
## ------------------------------------------ ## |
4539 |
|
_ASBOX |
4540 |
|
) | |
4541 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
4542 |
|
;; |
4543 |
|
esac |
4544 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
4545 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
4546 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
4547 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
4548 |
else |
else |
4549 |
echo "$as_me: failed program was:" >&5 |
eval "$as_ac_Header=\$ac_header_preproc" |
4550 |
sed 's/^/| /' conftest.$ac_ext >&5 |
fi |
4551 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
4552 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
4553 |
|
|
4554 |
fi |
fi |
4555 |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
4556 |
done |
cat >>confdefs.h <<_ACEOF |
4557 |
rm -f conftest* |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4558 |
if test -n "$ac_declaration"; then |
_ACEOF |
4559 |
echo '#ifdef __cplusplus' >>confdefs.h |
|
|
echo $ac_declaration >>confdefs.h |
|
|
echo '#endif' >>confdefs.h |
|
4560 |
fi |
fi |
4561 |
|
|
4562 |
ac_ext=cc |
done |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
4563 |
|
|
4564 |
ac_ext=cc |
ac_ext=cc |
4565 |
ac_cpp='$CXXCPP $CPPFLAGS' |
ac_cpp='$CXXCPP $CPPFLAGS' |
4884 |
|
|
4885 |
|
|
4886 |
# Provide some information about the compiler. |
# Provide some information about the compiler. |
4887 |
echo "$as_me:4878:" \ |
echo "$as_me:4887:" \ |
4888 |
"checking for Fortran 77 compiler version" >&5 |
"checking for Fortran 77 compiler version" >&5 |
4889 |
ac_compiler=`set X $ac_compile; echo $2` |
ac_compiler=`set X $ac_compile; echo $2` |
4890 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 |
5938 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
5939 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
5940 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
5941 |
(eval echo "\"\$as_me:5932: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:5941: $lt_compile\"" >&5) |
5942 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
5943 |
ac_status=$? |
ac_status=$? |
5944 |
cat conftest.err >&5 |
cat conftest.err >&5 |
5945 |
echo "$as_me:5936: \$? = $ac_status" >&5 |
echo "$as_me:5945: \$? = $ac_status" >&5 |
5946 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
5947 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
5948 |
# So say no if there are warnings |
# So say no if there are warnings |
6181 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6182 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6183 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6184 |
(eval echo "\"\$as_me:6175: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6184: $lt_compile\"" >&5) |
6185 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
6186 |
ac_status=$? |
ac_status=$? |
6187 |
cat conftest.err >&5 |
cat conftest.err >&5 |
6188 |
echo "$as_me:6179: \$? = $ac_status" >&5 |
echo "$as_me:6188: \$? = $ac_status" >&5 |
6189 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
6190 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
6191 |
# So say no if there are warnings |
# So say no if there are warnings |
6241 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
6242 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
6243 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
6244 |
(eval echo "\"\$as_me:6235: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6244: $lt_compile\"" >&5) |
6245 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
6246 |
ac_status=$? |
ac_status=$? |
6247 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
6248 |
echo "$as_me:6239: \$? = $ac_status" >&5 |
echo "$as_me:6248: \$? = $ac_status" >&5 |
6249 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
6250 |
then |
then |
6251 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
8426 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8427 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8428 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8429 |
#line 8420 "configure" |
#line 8429 "configure" |
8430 |
#include "confdefs.h" |
#include "confdefs.h" |
8431 |
|
|
8432 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
8524 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
8525 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
8526 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
8527 |
#line 8518 "configure" |
#line 8527 "configure" |
8528 |
#include "confdefs.h" |
#include "confdefs.h" |
8529 |
|
|
8530 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
10717 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
10718 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10719 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
10720 |
(eval echo "\"\$as_me:10711: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:10720: $lt_compile\"" >&5) |
10721 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
10722 |
ac_status=$? |
ac_status=$? |
10723 |
cat conftest.err >&5 |
cat conftest.err >&5 |
10724 |
echo "$as_me:10715: \$? = $ac_status" >&5 |
echo "$as_me:10724: \$? = $ac_status" >&5 |
10725 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
10726 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
10727 |
# So say no if there are warnings |
# So say no if there are warnings |
10777 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
10778 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10779 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
10780 |
(eval echo "\"\$as_me:10771: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:10780: $lt_compile\"" >&5) |
10781 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
10782 |
ac_status=$? |
ac_status=$? |
10783 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
10784 |
echo "$as_me:10775: \$? = $ac_status" >&5 |
echo "$as_me:10784: \$? = $ac_status" >&5 |
10785 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10786 |
then |
then |
10787 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
12138 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12139 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12140 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12141 |
#line 12132 "configure" |
#line 12141 "configure" |
12142 |
#include "confdefs.h" |
#include "confdefs.h" |
12143 |
|
|
12144 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
12236 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
12237 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
12238 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
12239 |
#line 12230 "configure" |
#line 12239 "configure" |
12240 |
#include "confdefs.h" |
#include "confdefs.h" |
12241 |
|
|
12242 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
13073 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13074 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13075 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13076 |
(eval echo "\"\$as_me:13067: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13076: $lt_compile\"" >&5) |
13077 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
13078 |
ac_status=$? |
ac_status=$? |
13079 |
cat conftest.err >&5 |
cat conftest.err >&5 |
13080 |
echo "$as_me:13071: \$? = $ac_status" >&5 |
echo "$as_me:13080: \$? = $ac_status" >&5 |
13081 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
13082 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
13083 |
# So say no if there are warnings |
# So say no if there are warnings |
13133 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
13134 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
13135 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
13136 |
(eval echo "\"\$as_me:13127: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:13136: $lt_compile\"" >&5) |
13137 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
13138 |
ac_status=$? |
ac_status=$? |
13139 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
13140 |
echo "$as_me:13131: \$? = $ac_status" >&5 |
echo "$as_me:13140: \$? = $ac_status" >&5 |
13141 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
13142 |
then |
then |
13143 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15172 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15173 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15174 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15175 |
(eval echo "\"\$as_me:15166: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15175: $lt_compile\"" >&5) |
15176 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15177 |
ac_status=$? |
ac_status=$? |
15178 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15179 |
echo "$as_me:15170: \$? = $ac_status" >&5 |
echo "$as_me:15179: \$? = $ac_status" >&5 |
15180 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15181 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15182 |
# So say no if there are warnings |
# So say no if there are warnings |
15415 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15416 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15417 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15418 |
(eval echo "\"\$as_me:15409: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15418: $lt_compile\"" >&5) |
15419 |
(eval "$lt_compile" 2>conftest.err) |
(eval "$lt_compile" 2>conftest.err) |
15420 |
ac_status=$? |
ac_status=$? |
15421 |
cat conftest.err >&5 |
cat conftest.err >&5 |
15422 |
echo "$as_me:15413: \$? = $ac_status" >&5 |
echo "$as_me:15422: \$? = $ac_status" >&5 |
15423 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
if (exit $ac_status) && test -s "$ac_outfile"; then |
15424 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
15425 |
# So say no if there are warnings |
# So say no if there are warnings |
15475 |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
-e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ |
15476 |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
15477 |
-e 's:$: $lt_compiler_flag:'` |
-e 's:$: $lt_compiler_flag:'` |
15478 |
(eval echo "\"\$as_me:15469: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:15478: $lt_compile\"" >&5) |
15479 |
(eval "$lt_compile" 2>out/conftest.err) |
(eval "$lt_compile" 2>out/conftest.err) |
15480 |
ac_status=$? |
ac_status=$? |
15481 |
cat out/conftest.err >&5 |
cat out/conftest.err >&5 |
15482 |
echo "$as_me:15473: \$? = $ac_status" >&5 |
echo "$as_me:15482: \$? = $ac_status" >&5 |
15483 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
15484 |
then |
then |
15485 |
# The compiler can only warn and ignore the option if not recognized |
# The compiler can only warn and ignore the option if not recognized |
17660 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
17661 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
17662 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
17663 |
#line 17654 "configure" |
#line 17663 "configure" |
17664 |
#include "confdefs.h" |
#include "confdefs.h" |
17665 |
|
|
17666 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
17758 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
17759 |
lt_status=$lt_dlunknown |
lt_status=$lt_dlunknown |
17760 |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
17761 |
#line 17752 "configure" |
#line 17761 "configure" |
17762 |
#include "confdefs.h" |
#include "confdefs.h" |
17763 |
|
|
17764 |
#if HAVE_DLFCN_H |
#if HAVE_DLFCN_H |
18775 |
|
|
18776 |
|
|
18777 |
CC_FOR_BUILD=${CC_FOR_BUILD:-'$(CC)'} |
CC_FOR_BUILD=${CC_FOR_BUILD:-'$(CC)'} |
18778 |
|
CXX_FOR_BUILD=${CXX_FOR_BUILD:-'$(CXX)'} |
18779 |
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:-'$(CFLAGS)'} |
CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:-'$(CFLAGS)'} |
18780 |
|
CPPFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD:-'$(CPPFLAGS)'} |
18781 |
|
CXXFLAGS_FOR_BUILD=${CXXFLAGS_FOR_BUILD:-'$(CXXFLAGS)'} |
18782 |
BUILD_EXEEXT=${BUILD_EXEEXT:-'$(EXEEXT)'} |
BUILD_EXEEXT=${BUILD_EXEEXT:-'$(EXEEXT)'} |
18783 |
BUILD_OBJEXT=${BUILD_OBJEXT:-'$(OBJEXT)'} |
BUILD_OBJEXT=${BUILD_OBJEXT:-'$(OBJEXT)'} |
18784 |
|
|
18920 |
(eval $ac_link) 2>&5 |
(eval $ac_link) 2>&5 |
18921 |
ac_status=$? |
ac_status=$? |
18922 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18923 |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
(exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
18924 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18925 |
|
(eval $ac_try) 2>&5 |
18926 |
|
ac_status=$? |
18927 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18928 |
|
(exit $ac_status); }; }; then |
18929 |
|
: |
18930 |
|
else |
18931 |
|
echo "$as_me: program exited with status $ac_status" >&5 |
18932 |
|
echo "$as_me: failed program was:" >&5 |
18933 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
18934 |
|
|
18935 |
|
( exit $ac_status ) |
18936 |
|
ac_cv_header_stdc=no |
18937 |
|
fi |
18938 |
|
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
18939 |
|
fi |
18940 |
|
fi |
18941 |
|
fi |
18942 |
|
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
18943 |
|
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
18944 |
|
if test $ac_cv_header_stdc = yes; then |
18945 |
|
|
18946 |
|
cat >>confdefs.h <<\_ACEOF |
18947 |
|
#define STDC_HEADERS 1 |
18948 |
|
_ACEOF |
18949 |
|
|
18950 |
|
fi |
18951 |
|
|
18952 |
|
|
18953 |
|
for ac_header in limits.h |
18954 |
|
do |
18955 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
18956 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
18957 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
18958 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
18959 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
18960 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
18961 |
|
fi |
18962 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
18963 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
18964 |
|
else |
18965 |
|
# Is the header compilable? |
18966 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
18967 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
18968 |
|
cat >conftest.$ac_ext <<_ACEOF |
18969 |
|
/* confdefs.h. */ |
18970 |
|
_ACEOF |
18971 |
|
cat confdefs.h >>conftest.$ac_ext |
18972 |
|
cat >>conftest.$ac_ext <<_ACEOF |
18973 |
|
/* end confdefs.h. */ |
18974 |
|
$ac_includes_default |
18975 |
|
#include <$ac_header> |
18976 |
|
_ACEOF |
18977 |
|
rm -f conftest.$ac_objext |
18978 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
18979 |
|
(eval $ac_compile) 2>conftest.er1 |
18980 |
|
ac_status=$? |
18981 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
18982 |
|
rm -f conftest.er1 |
18983 |
|
cat conftest.err >&5 |
18984 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18985 |
|
(exit $ac_status); } && |
18986 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
18987 |
|
|| test ! -s conftest.err' |
18988 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18989 |
|
(eval $ac_try) 2>&5 |
18990 |
|
ac_status=$? |
18991 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18992 |
|
(exit $ac_status); }; } && |
18993 |
|
{ ac_try='test -s conftest.$ac_objext' |
18994 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
18995 |
|
(eval $ac_try) 2>&5 |
18996 |
|
ac_status=$? |
18997 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
18998 |
|
(exit $ac_status); }; }; then |
18999 |
|
ac_header_compiler=yes |
19000 |
|
else |
19001 |
|
echo "$as_me: failed program was:" >&5 |
19002 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
19003 |
|
|
19004 |
|
ac_header_compiler=no |
19005 |
|
fi |
19006 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19007 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19008 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
19009 |
|
|
19010 |
|
# Is the header present? |
19011 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19012 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
19013 |
|
cat >conftest.$ac_ext <<_ACEOF |
19014 |
|
/* confdefs.h. */ |
19015 |
|
_ACEOF |
19016 |
|
cat confdefs.h >>conftest.$ac_ext |
19017 |
|
cat >>conftest.$ac_ext <<_ACEOF |
19018 |
|
/* end confdefs.h. */ |
19019 |
|
#include <$ac_header> |
19020 |
|
_ACEOF |
19021 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19022 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19023 |
|
ac_status=$? |
19024 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
19025 |
|
rm -f conftest.er1 |
19026 |
|
cat conftest.err >&5 |
19027 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19028 |
|
(exit $ac_status); } >/dev/null; then |
19029 |
|
if test -s conftest.err; then |
19030 |
|
ac_cpp_err=$ac_c_preproc_warn_flag |
19031 |
|
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
19032 |
|
else |
19033 |
|
ac_cpp_err= |
19034 |
|
fi |
19035 |
|
else |
19036 |
|
ac_cpp_err=yes |
19037 |
|
fi |
19038 |
|
if test -z "$ac_cpp_err"; then |
19039 |
|
ac_header_preproc=yes |
19040 |
|
else |
19041 |
|
echo "$as_me: failed program was:" >&5 |
19042 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
19043 |
|
|
19044 |
|
ac_header_preproc=no |
19045 |
|
fi |
19046 |
|
rm -f conftest.err conftest.$ac_ext |
19047 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19048 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
19049 |
|
|
19050 |
|
# So? What about this header? |
19051 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
19052 |
|
yes:no: ) |
19053 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19054 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19055 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19056 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19057 |
|
ac_header_preproc=yes |
19058 |
|
;; |
19059 |
|
no:yes:* ) |
19060 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19061 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19062 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19063 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19064 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19065 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19066 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19067 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19068 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19069 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19070 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19071 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19072 |
|
( |
19073 |
|
cat <<\_ASBOX |
19074 |
|
## ------------------------------------------ ## |
19075 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
19076 |
|
## ------------------------------------------ ## |
19077 |
|
_ASBOX |
19078 |
|
) | |
19079 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
19080 |
|
;; |
19081 |
|
esac |
19082 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19083 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19084 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19085 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19086 |
|
else |
19087 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
19088 |
|
fi |
19089 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19090 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19091 |
|
|
19092 |
|
fi |
19093 |
|
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19094 |
|
cat >>confdefs.h <<_ACEOF |
19095 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19096 |
|
_ACEOF |
19097 |
|
|
19098 |
|
fi |
19099 |
|
|
19100 |
|
done |
19101 |
|
|
19102 |
|
|
19103 |
|
|
19104 |
|
|
19105 |
|
|
19106 |
|
ac_ext=cc |
19107 |
|
ac_cpp='$CXXCPP $CPPFLAGS' |
19108 |
|
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
19109 |
|
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
19110 |
|
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
19111 |
|
|
19112 |
|
|
19113 |
|
|
19114 |
|
for ac_header in bits/type_traits.h |
19115 |
|
do |
19116 |
|
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19117 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19118 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19119 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19120 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19121 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19122 |
|
fi |
19123 |
|
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19124 |
|
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
19125 |
|
else |
19126 |
|
# Is the header compilable? |
19127 |
|
echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
19128 |
|
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 |
19129 |
|
cat >conftest.$ac_ext <<_ACEOF |
19130 |
|
/* confdefs.h. */ |
19131 |
|
_ACEOF |
19132 |
|
cat confdefs.h >>conftest.$ac_ext |
19133 |
|
cat >>conftest.$ac_ext <<_ACEOF |
19134 |
|
/* end confdefs.h. */ |
19135 |
|
$ac_includes_default |
19136 |
|
#include <$ac_header> |
19137 |
|
_ACEOF |
19138 |
|
rm -f conftest.$ac_objext |
19139 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19140 |
|
(eval $ac_compile) 2>conftest.er1 |
19141 |
|
ac_status=$? |
19142 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
19143 |
|
rm -f conftest.er1 |
19144 |
|
cat conftest.err >&5 |
19145 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19146 |
|
(exit $ac_status); } && |
19147 |
|
{ ac_try='test -z "$ac_cxx_werror_flag" |
19148 |
|
|| test ! -s conftest.err' |
19149 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19150 |
|
(eval $ac_try) 2>&5 |
19151 |
|
ac_status=$? |
19152 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19153 |
|
(exit $ac_status); }; } && |
19154 |
|
{ ac_try='test -s conftest.$ac_objext' |
19155 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19156 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
19157 |
ac_status=$? |
ac_status=$? |
19158 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19159 |
(exit $ac_status); }; }; then |
(exit $ac_status); }; }; then |
19160 |
: |
ac_header_compiler=yes |
19161 |
else |
else |
19162 |
echo "$as_me: program exited with status $ac_status" >&5 |
echo "$as_me: failed program was:" >&5 |
|
echo "$as_me: failed program was:" >&5 |
|
19163 |
sed 's/^/| /' conftest.$ac_ext >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
19164 |
|
|
19165 |
( exit $ac_status ) |
ac_header_compiler=no |
|
ac_cv_header_stdc=no |
|
19166 |
fi |
fi |
19167 |
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19168 |
|
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
19169 |
|
echo "${ECHO_T}$ac_header_compiler" >&6 |
19170 |
|
|
19171 |
|
# Is the header present? |
19172 |
|
echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
19173 |
|
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 |
19174 |
|
cat >conftest.$ac_ext <<_ACEOF |
19175 |
|
/* confdefs.h. */ |
19176 |
|
_ACEOF |
19177 |
|
cat confdefs.h >>conftest.$ac_ext |
19178 |
|
cat >>conftest.$ac_ext <<_ACEOF |
19179 |
|
/* end confdefs.h. */ |
19180 |
|
#include <$ac_header> |
19181 |
|
_ACEOF |
19182 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 |
19183 |
|
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
19184 |
|
ac_status=$? |
19185 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
19186 |
|
rm -f conftest.er1 |
19187 |
|
cat conftest.err >&5 |
19188 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19189 |
|
(exit $ac_status); } >/dev/null; then |
19190 |
|
if test -s conftest.err; then |
19191 |
|
ac_cpp_err=$ac_cxx_preproc_warn_flag |
19192 |
|
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
19193 |
|
else |
19194 |
|
ac_cpp_err= |
19195 |
|
fi |
19196 |
|
else |
19197 |
|
ac_cpp_err=yes |
19198 |
fi |
fi |
19199 |
|
if test -z "$ac_cpp_err"; then |
19200 |
|
ac_header_preproc=yes |
19201 |
|
else |
19202 |
|
echo "$as_me: failed program was:" >&5 |
19203 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
19204 |
|
|
19205 |
|
ac_header_preproc=no |
19206 |
fi |
fi |
19207 |
|
rm -f conftest.err conftest.$ac_ext |
19208 |
|
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
19209 |
|
echo "${ECHO_T}$ac_header_preproc" >&6 |
19210 |
|
|
19211 |
|
# So? What about this header? |
19212 |
|
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
19213 |
|
yes:no: ) |
19214 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19215 |
|
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19216 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
19217 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
19218 |
|
ac_header_preproc=yes |
19219 |
|
;; |
19220 |
|
no:yes:* ) |
19221 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
19222 |
|
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
19223 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
19224 |
|
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
19225 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
19226 |
|
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
19227 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
19228 |
|
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
19229 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
19230 |
|
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
19231 |
|
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
19232 |
|
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
19233 |
|
( |
19234 |
|
cat <<\_ASBOX |
19235 |
|
## ------------------------------------------ ## |
19236 |
|
## Report this to the AC_PACKAGE_NAME lists. ## |
19237 |
|
## ------------------------------------------ ## |
19238 |
|
_ASBOX |
19239 |
|
) | |
19240 |
|
sed "s/^/$as_me: WARNING: /" >&2 |
19241 |
|
;; |
19242 |
|
esac |
19243 |
|
echo "$as_me:$LINENO: checking for $ac_header" >&5 |
19244 |
|
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
19245 |
|
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19246 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19247 |
|
else |
19248 |
|
eval "$as_ac_Header=\$ac_header_preproc" |
19249 |
fi |
fi |
19250 |
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
19251 |
echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
|
if test $ac_cv_header_stdc = yes; then |
|
19252 |
|
|
19253 |
cat >>confdefs.h <<\_ACEOF |
fi |
19254 |
#define STDC_HEADERS 1 |
if test `eval echo '${'$as_ac_Header'}'` = yes; then |
19255 |
|
cat >>confdefs.h <<_ACEOF |
19256 |
|
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19257 |
_ACEOF |
_ACEOF |
19258 |
|
pcre_has_bits_type_traits="1" |
19259 |
|
else |
19260 |
|
pcre_has_bits_type_traits="0" |
19261 |
fi |
fi |
19262 |
|
|
19263 |
|
done |
19264 |
|
|
19265 |
|
|
19266 |
for ac_header in limits.h |
for ac_header in type_traits.h |
19267 |
do |
do |
19268 |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
19269 |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
if eval "test \"\${$as_ac_Header+set}\" = set"; then |
19296 |
cat conftest.err >&5 |
cat conftest.err >&5 |
19297 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19298 |
(exit $ac_status); } && |
(exit $ac_status); } && |
19299 |
{ ac_try='test -z "$ac_c_werror_flag" |
{ ac_try='test -z "$ac_cxx_werror_flag" |
19300 |
|| test ! -s conftest.err' |
|| test ! -s conftest.err' |
19301 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19302 |
(eval $ac_try) 2>&5 |
(eval $ac_try) 2>&5 |
19340 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19341 |
(exit $ac_status); } >/dev/null; then |
(exit $ac_status); } >/dev/null; then |
19342 |
if test -s conftest.err; then |
if test -s conftest.err; then |
19343 |
ac_cpp_err=$ac_c_preproc_warn_flag |
ac_cpp_err=$ac_cxx_preproc_warn_flag |
19344 |
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag |
ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag |
19345 |
else |
else |
19346 |
ac_cpp_err= |
ac_cpp_err= |
19347 |
fi |
fi |
19361 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
echo "${ECHO_T}$ac_header_preproc" >&6 |
19362 |
|
|
19363 |
# So? What about this header? |
# So? What about this header? |
19364 |
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in |
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
19365 |
yes:no: ) |
yes:no: ) |
19366 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
19367 |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
19407 |
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
19408 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
19409 |
_ACEOF |
_ACEOF |
19410 |
|
pcre_has_type_traits="1" |
19411 |
|
else |
19412 |
|
pcre_has_type_traits="0" |
19413 |
fi |
fi |
19414 |
|
|
19415 |
done |
done |
19416 |
|
|
19417 |
|
|
19418 |
|
|
19419 |
|
ac_ext=c |
19420 |
|
ac_cpp='$CPP $CPPFLAGS' |
19421 |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
19422 |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
19423 |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
19424 |
|
|
19425 |
|
|
19426 |
|
|
19427 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
19428 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
19429 |
if test "${ac_cv_c_const+set}" = set; then |
if test "${ac_cv_c_const+set}" = set; then |
19598 |
fi |
fi |
19599 |
|
|
19600 |
|
|
19601 |
|
echo "$as_me:$LINENO: checking for long long" >&5 |
19602 |
|
echo $ECHO_N "checking for long long... $ECHO_C" >&6 |
19603 |
|
if test "${ac_cv_type_long_long+set}" = set; then |
19604 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19605 |
|
else |
19606 |
|
cat >conftest.$ac_ext <<_ACEOF |
19607 |
|
/* confdefs.h. */ |
19608 |
|
_ACEOF |
19609 |
|
cat confdefs.h >>conftest.$ac_ext |
19610 |
|
cat >>conftest.$ac_ext <<_ACEOF |
19611 |
|
/* end confdefs.h. */ |
19612 |
|
$ac_includes_default |
19613 |
|
int |
19614 |
|
main () |
19615 |
|
{ |
19616 |
|
if ((long long *) 0) |
19617 |
|
return 0; |
19618 |
|
if (sizeof (long long)) |
19619 |
|
return 0; |
19620 |
|
; |
19621 |
|
return 0; |
19622 |
|
} |
19623 |
|
_ACEOF |
19624 |
|
rm -f conftest.$ac_objext |
19625 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19626 |
|
(eval $ac_compile) 2>conftest.er1 |
19627 |
|
ac_status=$? |
19628 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
19629 |
|
rm -f conftest.er1 |
19630 |
|
cat conftest.err >&5 |
19631 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19632 |
|
(exit $ac_status); } && |
19633 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
19634 |
|
|| test ! -s conftest.err' |
19635 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19636 |
|
(eval $ac_try) 2>&5 |
19637 |
|
ac_status=$? |
19638 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19639 |
|
(exit $ac_status); }; } && |
19640 |
|
{ ac_try='test -s conftest.$ac_objext' |
19641 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19642 |
|
(eval $ac_try) 2>&5 |
19643 |
|
ac_status=$? |
19644 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19645 |
|
(exit $ac_status); }; }; then |
19646 |
|
ac_cv_type_long_long=yes |
19647 |
|
else |
19648 |
|
echo "$as_me: failed program was:" >&5 |
19649 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
19650 |
|
|
19651 |
|
ac_cv_type_long_long=no |
19652 |
|
fi |
19653 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19654 |
|
fi |
19655 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
19656 |
|
echo "${ECHO_T}$ac_cv_type_long_long" >&6 |
19657 |
|
if test $ac_cv_type_long_long = yes; then |
19658 |
|
|
19659 |
|
cat >>confdefs.h <<_ACEOF |
19660 |
|
#define HAVE_LONG_LONG 1 |
19661 |
|
_ACEOF |
19662 |
|
|
19663 |
|
pcre_has_long_long="1" |
19664 |
|
else |
19665 |
|
pcre_has_long_long="0" |
19666 |
|
fi |
19667 |
|
|
19668 |
|
echo "$as_me:$LINENO: checking for unsigned long long" >&5 |
19669 |
|
echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6 |
19670 |
|
if test "${ac_cv_type_unsigned_long_long+set}" = set; then |
19671 |
|
echo $ECHO_N "(cached) $ECHO_C" >&6 |
19672 |
|
else |
19673 |
|
cat >conftest.$ac_ext <<_ACEOF |
19674 |
|
/* confdefs.h. */ |
19675 |
|
_ACEOF |
19676 |
|
cat confdefs.h >>conftest.$ac_ext |
19677 |
|
cat >>conftest.$ac_ext <<_ACEOF |
19678 |
|
/* end confdefs.h. */ |
19679 |
|
$ac_includes_default |
19680 |
|
int |
19681 |
|
main () |
19682 |
|
{ |
19683 |
|
if ((unsigned long long *) 0) |
19684 |
|
return 0; |
19685 |
|
if (sizeof (unsigned long long)) |
19686 |
|
return 0; |
19687 |
|
; |
19688 |
|
return 0; |
19689 |
|
} |
19690 |
|
_ACEOF |
19691 |
|
rm -f conftest.$ac_objext |
19692 |
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 |
19693 |
|
(eval $ac_compile) 2>conftest.er1 |
19694 |
|
ac_status=$? |
19695 |
|
grep -v '^ *+' conftest.er1 >conftest.err |
19696 |
|
rm -f conftest.er1 |
19697 |
|
cat conftest.err >&5 |
19698 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19699 |
|
(exit $ac_status); } && |
19700 |
|
{ ac_try='test -z "$ac_c_werror_flag" |
19701 |
|
|| test ! -s conftest.err' |
19702 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19703 |
|
(eval $ac_try) 2>&5 |
19704 |
|
ac_status=$? |
19705 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19706 |
|
(exit $ac_status); }; } && |
19707 |
|
{ ac_try='test -s conftest.$ac_objext' |
19708 |
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 |
19709 |
|
(eval $ac_try) 2>&5 |
19710 |
|
ac_status=$? |
19711 |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
19712 |
|
(exit $ac_status); }; }; then |
19713 |
|
ac_cv_type_unsigned_long_long=yes |
19714 |
|
else |
19715 |
|
echo "$as_me: failed program was:" >&5 |
19716 |
|
sed 's/^/| /' conftest.$ac_ext >&5 |
19717 |
|
|
19718 |
|
ac_cv_type_unsigned_long_long=no |
19719 |
|
fi |
19720 |
|
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
19721 |
|
fi |
19722 |
|
echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5 |
19723 |
|
echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6 |
19724 |
|
if test $ac_cv_type_unsigned_long_long = yes; then |
19725 |
|
|
19726 |
|
cat >>confdefs.h <<_ACEOF |
19727 |
|
#define HAVE_UNSIGNED_LONG_LONG 1 |
19728 |
|
_ACEOF |
19729 |
|
|
19730 |
|
pcre_has_ulong_long="1" |
19731 |
|
else |
19732 |
|
pcre_has_ulong_long="0" |
19733 |
|
fi |
19734 |
|
|
19735 |
|
|
19736 |
|
|
19737 |
|
|
19738 |
|
|
19739 |
|
|
19740 |
for ac_func in bcopy memmove strerror |
|
19741 |
|
|
19742 |
|
|
19743 |
|
|
19744 |
|
for ac_func in bcopy memmove strerror strtoq strtoll |
19745 |
do |
do |
19746 |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
19747 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
echo "$as_me:$LINENO: checking for $ac_func" >&5 |
19932 |
fi; |
fi; |
19933 |
|
|
19934 |
|
|
|
|
|
|
|
|
|
|
|
19935 |
if test "$UCP" != "" ; then |
if test "$UCP" != "" ; then |
19936 |
UTF8=-DSUPPORT_UTF8 |
UTF8=-DSUPPORT_UTF8 |
19937 |
fi |
fi |
19959 |
|
|
19960 |
|
|
19961 |
|
|
19962 |
|
|
19963 |
|
|
19964 |
|
|
19965 |
case $host_os in |
case $host_os in |
19966 |
mingw* ) |
mingw* ) |
19967 |
POSIX_OBJ=pcreposix.o |
POSIX_OBJ=pcreposix.o |
19995 |
|
|
19996 |
fi |
fi |
19997 |
|
|
19998 |
ac_config_files="$ac_config_files Makefile pcre.h:pcre.in pcre-config:pcre-config.in libpcre.pc:libpcre.pc.in RunTest:RunTest.in" |
ac_config_files="$ac_config_files Makefile pcre.h:pcre.in pcre-config:pcre-config.in libpcre.pc:libpcre.pc.in pcrecpp.h:pcrecpp.h.in pcre_stringpiece.h:pcre_stringpiece.h.in RunGrepTest:RunGrepTest.in RunTest:RunTest.in" |
19999 |
ac_config_commands="$ac_config_commands default" |
ac_config_commands="$ac_config_commands default" |
20000 |
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
20001 |
# This file is a shell script that caches the results of configure |
# This file is a shell script that caches the results of configure |
20529 |
"pcre.h" ) CONFIG_FILES="$CONFIG_FILES pcre.h:pcre.in" ;; |
"pcre.h" ) CONFIG_FILES="$CONFIG_FILES pcre.h:pcre.in" ;; |
20530 |
"pcre-config" ) CONFIG_FILES="$CONFIG_FILES pcre-config:pcre-config.in" ;; |
"pcre-config" ) CONFIG_FILES="$CONFIG_FILES pcre-config:pcre-config.in" ;; |
20531 |
"libpcre.pc" ) CONFIG_FILES="$CONFIG_FILES libpcre.pc:libpcre.pc.in" ;; |
"libpcre.pc" ) CONFIG_FILES="$CONFIG_FILES libpcre.pc:libpcre.pc.in" ;; |
20532 |
|
"pcrecpp.h" ) CONFIG_FILES="$CONFIG_FILES pcrecpp.h:pcrecpp.h.in" ;; |
20533 |
|
"pcre_stringpiece.h" ) CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h:pcre_stringpiece.h.in" ;; |
20534 |
|
"RunGrepTest" ) CONFIG_FILES="$CONFIG_FILES RunGrepTest:RunGrepTest.in" ;; |
20535 |
"RunTest" ) CONFIG_FILES="$CONFIG_FILES RunTest:RunTest.in" ;; |
"RunTest" ) CONFIG_FILES="$CONFIG_FILES RunTest:RunTest.in" ;; |
20536 |
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
"default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;; |
20537 |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; |
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;; |
20627 |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
s,@ac_ct_CC@,$ac_ct_CC,;t t |
20628 |
s,@EXEEXT@,$EXEEXT,;t t |
s,@EXEEXT@,$EXEEXT,;t t |
20629 |
s,@OBJEXT@,$OBJEXT,;t t |
s,@OBJEXT@,$OBJEXT,;t t |
20630 |
|
s,@CXX@,$CXX,;t t |
20631 |
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
20632 |
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
20633 |
|
s,@MAYBE_CPP_TARGETS@,$MAYBE_CPP_TARGETS,;t t |
20634 |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t |
20635 |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t |
20636 |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t |
20658 |
s,@OBJDUMP@,$OBJDUMP,;t t |
s,@OBJDUMP@,$OBJDUMP,;t t |
20659 |
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t |
s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t |
20660 |
s,@CPP@,$CPP,;t t |
s,@CPP@,$CPP,;t t |
|
s,@CXX@,$CXX,;t t |
|
|
s,@CXXFLAGS@,$CXXFLAGS,;t t |
|
|
s,@ac_ct_CXX@,$ac_ct_CXX,;t t |
|
20661 |
s,@CXXCPP@,$CXXCPP,;t t |
s,@CXXCPP@,$CXXCPP,;t t |
20662 |
s,@F77@,$F77,;t t |
s,@F77@,$F77,;t t |
20663 |
s,@FFLAGS@,$FFLAGS,;t t |
s,@FFLAGS@,$FFLAGS,;t t |
20664 |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
s,@ac_ct_F77@,$ac_ct_F77,;t t |
20665 |
s,@LIBTOOL@,$LIBTOOL,;t t |
s,@LIBTOOL@,$LIBTOOL,;t t |
20666 |
|
s,@pcre_has_bits_type_traits@,$pcre_has_bits_type_traits,;t t |
20667 |
|
s,@pcre_has_type_traits@,$pcre_has_type_traits,;t t |
20668 |
|
s,@pcre_has_long_long@,$pcre_has_long_long,;t t |
20669 |
|
s,@pcre_has_ulong_long@,$pcre_has_ulong_long,;t t |
20670 |
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t |
s,@BUILD_EXEEXT@,$BUILD_EXEEXT,;t t |
20671 |
s,@BUILD_OBJEXT@,$BUILD_OBJEXT,;t t |
s,@BUILD_OBJEXT@,$BUILD_OBJEXT,;t t |
20672 |
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |
s,@CC_FOR_BUILD@,$CC_FOR_BUILD,;t t |
20673 |
|
s,@CXX_FOR_BUILD@,$CXX_FOR_BUILD,;t t |
20674 |
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t |
s,@CFLAGS_FOR_BUILD@,$CFLAGS_FOR_BUILD,;t t |
20675 |
|
s,@CXXFLAGS_FOR_BUILD@,$CXXFLAGS_FOR_BUILD,;t t |
20676 |
s,@EBCDIC@,$EBCDIC,;t t |
s,@EBCDIC@,$EBCDIC,;t t |
20677 |
s,@HAVE_MEMMOVE@,$HAVE_MEMMOVE,;t t |
s,@HAVE_MEMMOVE@,$HAVE_MEMMOVE,;t t |
20678 |
s,@HAVE_STRERROR@,$HAVE_STRERROR,;t t |
s,@HAVE_STRERROR@,$HAVE_STRERROR,;t t |
20686 |
s,@PCRE_VERSION@,$PCRE_VERSION,;t t |
s,@PCRE_VERSION@,$PCRE_VERSION,;t t |
20687 |
s,@PCRE_LIB_VERSION@,$PCRE_LIB_VERSION,;t t |
s,@PCRE_LIB_VERSION@,$PCRE_LIB_VERSION,;t t |
20688 |
s,@PCRE_POSIXLIB_VERSION@,$PCRE_POSIXLIB_VERSION,;t t |
s,@PCRE_POSIXLIB_VERSION@,$PCRE_POSIXLIB_VERSION,;t t |
20689 |
|
s,@PCRE_CPPLIB_VERSION@,$PCRE_CPPLIB_VERSION,;t t |
20690 |
s,@POSIX_MALLOC_THRESHOLD@,$POSIX_MALLOC_THRESHOLD,;t t |
s,@POSIX_MALLOC_THRESHOLD@,$POSIX_MALLOC_THRESHOLD,;t t |
20691 |
s,@UCP@,$UCP,;t t |
s,@UCP@,$UCP,;t t |
20692 |
s,@UTF8@,$UTF8,;t t |
s,@UTF8@,$UTF8,;t t |
21273 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5 |
21274 |
echo "$as_me: executing $ac_dest commands" >&6;} |
echo "$as_me: executing $ac_dest commands" >&6;} |
21275 |
case $ac_dest in |
case $ac_dest in |
21276 |
default ) chmod a+x RunTest pcre-config ;; |
default ) chmod a+x RunTest RunGrepTest pcre-config ;; |
21277 |
esac |
esac |
21278 |
done |
done |
21279 |
_ACEOF |
_ACEOF |