version 1.1.1.1, 2012/02/21 23:05:51
|
version 1.1.1.5, 2014/06/15 19:46:04
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.68 for PCRE 8.21. | # Generated by GNU Autoconf 2.69 for PCRE 8.34. |
# |
# |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | |
# Foundation, Inc. | |
# |
# |
# |
# |
# This configure script is free software; the Free Software Foundation |
# This configure script is free software; the Free Software Foundation |
Line 134 export LANGUAGE
|
Line 132 export LANGUAGE
|
# CDPATH. |
# CDPATH. |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
|
|
|
# Use a proper internal environment variable to ensure we don't fall |
|
# into an infinite loop, continuously re-executing ourselves. |
|
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then |
|
_as_can_reexec=no; export _as_can_reexec; |
|
# We cannot yet assume a decent shell, so we have to provide a |
|
# neutralization value for shells without unset; and this also |
|
# works around shells that cannot unset nonexistent variables. |
|
# Preserve -v and -x to the replacement shell. |
|
BASH_ENV=/dev/null |
|
ENV=/dev/null |
|
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
|
case $- in # (((( |
|
*v*x* | *x*v* ) as_opts=-vx ;; |
|
*v* ) as_opts=-v ;; |
|
*x* ) as_opts=-x ;; |
|
* ) as_opts= ;; |
|
esac |
|
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
|
# Admittedly, this is quite paranoid, since all the known shells bail |
|
# out after a failed `exec'. |
|
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
|
as_fn_exit 255 |
|
fi |
|
# We don't want this to propagate to other subprocesses. |
|
{ _as_can_reexec=; unset _as_can_reexec;} |
if test "x$CONFIG_SHELL" = x; then |
if test "x$CONFIG_SHELL" = x; then |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
emulate sh |
emulate sh |
Line 167 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
Line 190 if ( set x; as_fn_ret_success y && test x = \"\$1\" );
|
else |
else |
exitcode=1; echo positional parameters were not saved. |
exitcode=1; echo positional parameters were not saved. |
fi |
fi |
test x\$exitcode = x0 || exit 1" | test x\$exitcode = x0 || exit 1 |
| test -x / || exit 1" |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
Line 220 IFS=$as_save_IFS
|
Line 244 IFS=$as_save_IFS
|
|
|
|
|
if test "x$CONFIG_SHELL" != x; then : |
if test "x$CONFIG_SHELL" != x; then : |
# We cannot yet assume a decent shell, so we have to provide a | export CONFIG_SHELL |
# neutralization value for shells without unset; and this also | # We cannot yet assume a decent shell, so we have to provide a |
# works around shells that cannot unset nonexistent variables. | # neutralization value for shells without unset; and this also |
# Preserve -v and -x to the replacement shell. | # works around shells that cannot unset nonexistent variables. |
BASH_ENV=/dev/null | # Preserve -v and -x to the replacement shell. |
ENV=/dev/null | BASH_ENV=/dev/null |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | ENV=/dev/null |
export CONFIG_SHELL | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
case $- in # (((( | case $- in # (((( |
*v*x* | *x*v* ) as_opts=-vx ;; | *v*x* | *x*v* ) as_opts=-vx ;; |
*v* ) as_opts=-v ;; | *v* ) as_opts=-v ;; |
*x* ) as_opts=-x ;; | *x* ) as_opts=-x ;; |
* ) as_opts= ;; | * ) as_opts= ;; |
esac | esac |
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} |
| # Admittedly, this is quite paranoid, since all the known shells bail |
| # out after a failed `exec'. |
| $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 |
| exit 255 |
fi |
fi |
|
|
if test x$as_have_required = xno; then : |
if test x$as_have_required = xno; then : |
Line 336 $as_echo X"$as_dir" |
|
Line 364 $as_echo X"$as_dir" |
|
|
|
|
|
} # as_fn_mkdir_p |
} # as_fn_mkdir_p |
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
# as_fn_append VAR VALUE |
# as_fn_append VAR VALUE |
# ---------------------- |
# ---------------------- |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
# Append the text in VALUE to the end of the definition contained in VAR. Take |
Line 457 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
Line 493 as_cr_alnum=$as_cr_Letters$as_cr_digits
|
chmod +x "$as_me.lineno" || |
chmod +x "$as_me.lineno" || |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
|
|
|
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have |
|
# already done that, so ensure we don't try to do so again and fall |
|
# in an infinite loop. This has already happened in practice. |
|
_as_can_reexec=no; export _as_can_reexec |
# Don't try to exec as it changes $[0], causing all sort of problems |
# Don't try to exec as it changes $[0], causing all sort of problems |
# (the dirname of $[0] is not the place where we might find the |
# (the dirname of $[0] is not the place where we might find the |
# original and so on. Autoconf is especially sensitive to this). |
# original and so on. Autoconf is especially sensitive to this). |
Line 491 if (echo >conf$$.file) 2>/dev/null; then
|
Line 531 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 512 else
|
Line 552 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then | as_test_x='test -x' |
as_test_x='test -x' | as_executable_p=as_fn_executable_p |
else | |
if ls -dL / >/dev/null 2>&1; then | |
as_ls_L_option=L | |
else | |
as_ls_L_option= | |
fi | |
as_test_x=' | |
eval sh -c '\'' | |
if test -d "$1"; then | |
test -d "$1/."; | |
else | |
case $1 in #( | |
-*)set "./$1";; | |
esac; | |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | |
???[sx]*):;;*)false;;esac;fi | |
'\'' sh | |
' | |
fi | |
as_executable_p=$as_test_x | |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
Line 567 MAKEFLAGS=
|
Line 587 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='PCRE' |
PACKAGE_NAME='PCRE' |
PACKAGE_TARNAME='pcre' |
PACKAGE_TARNAME='pcre' |
PACKAGE_VERSION='8.21' | PACKAGE_VERSION='8.34' |
PACKAGE_STRING='PCRE 8.21' | PACKAGE_STRING='PCRE 8.34' |
PACKAGE_BUGREPORT='' |
PACKAGE_BUGREPORT='' |
PACKAGE_URL='' |
PACKAGE_URL='' |
|
|
Line 613 ac_subst_vars='am__EXEEXT_FALSE
|
Line 633 ac_subst_vars='am__EXEEXT_FALSE
|
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
LIBOBJS |
LIBOBJS |
LIBREADLINE | WITH_GCOV_FALSE |
| WITH_GCOV_TRUE |
| GCOV_LIBS |
| GCOV_CXXFLAGS |
| GCOV_CFLAGS |
| GENHTML |
| LCOV |
| SHTOOL |
| VALGRIND_LIBS |
| VALGRIND_CFLAGS |
| PKG_CONFIG_LIBDIR |
| PKG_CONFIG_PATH |
| PKG_CONFIG |
LIBBZ2 |
LIBBZ2 |
LIBZ |
LIBZ |
DISTCHECK_CONFIGURE_FLAGS |
DISTCHECK_CONFIGURE_FLAGS |
EXTRA_LIBPCRECPP_LDFLAGS |
EXTRA_LIBPCRECPP_LDFLAGS |
EXTRA_LIBPCREPOSIX_LDFLAGS |
EXTRA_LIBPCREPOSIX_LDFLAGS |
|
EXTRA_LIBPCRE32_LDFLAGS |
|
EXTRA_LIBPCRE16_LDFLAGS |
EXTRA_LIBPCRE_LDFLAGS |
EXTRA_LIBPCRE_LDFLAGS |
|
PTHREAD_CFLAGS |
|
PTHREAD_LIBS |
|
PTHREAD_CC |
|
ax_pthread_config |
PCRE_STATIC_CFLAG |
PCRE_STATIC_CFLAG |
WITH_UTF8_FALSE | LIBREADLINE |
WITH_UTF8_TRUE | WITH_VALGRIND_FALSE |
| WITH_VALGRIND_TRUE |
| WITH_UTF_FALSE |
| WITH_UTF_TRUE |
WITH_JIT_FALSE |
WITH_JIT_FALSE |
WITH_JIT_TRUE |
WITH_JIT_TRUE |
WITH_REBUILD_CHARTABLES_FALSE |
WITH_REBUILD_CHARTABLES_FALSE |
WITH_REBUILD_CHARTABLES_TRUE |
WITH_REBUILD_CHARTABLES_TRUE |
WITH_PCRE_CPP_FALSE |
WITH_PCRE_CPP_FALSE |
WITH_PCRE_CPP_TRUE |
WITH_PCRE_CPP_TRUE |
|
WITH_PCRE32_FALSE |
|
WITH_PCRE32_TRUE |
|
WITH_PCRE16_FALSE |
|
WITH_PCRE16_TRUE |
|
WITH_PCRE8_FALSE |
|
WITH_PCRE8_TRUE |
pcre_have_bits_type_traits |
pcre_have_bits_type_traits |
pcre_have_type_traits |
pcre_have_type_traits |
pcre_have_ulong_long |
pcre_have_ulong_long |
pcre_have_long_long |
pcre_have_long_long |
enable_cpp |
enable_cpp |
|
enable_pcre32 |
|
enable_pcre16 |
|
enable_pcre8 |
PCRE_DATE |
PCRE_DATE |
PCRE_PRERELEASE |
PCRE_PRERELEASE |
PCRE_MINOR |
PCRE_MINOR |
PCRE_MAJOR |
PCRE_MAJOR |
|
HAVE_VISIBILITY |
|
VISIBILITY_CXXFLAGS |
|
VISIBILITY_CFLAGS |
CXXCPP |
CXXCPP |
OTOOL64 |
OTOOL64 |
OTOOL |
OTOOL |
Line 646 NMEDIT
|
Line 699 NMEDIT
|
DSYMUTIL |
DSYMUTIL |
MANIFEST_TOOL |
MANIFEST_TOOL |
RANLIB |
RANLIB |
ac_ct_AR |
|
AR |
|
LN_S |
LN_S |
NM |
NM |
ac_ct_DUMPBIN |
ac_ct_DUMPBIN |
Line 679 CXX
|
Line 730 CXX
|
am__fastdepCC_FALSE |
am__fastdepCC_FALSE |
am__fastdepCC_TRUE |
am__fastdepCC_TRUE |
CCDEPMODE |
CCDEPMODE |
|
am__nodep |
AMDEPBACKSLASH |
AMDEPBACKSLASH |
AMDEP_FALSE |
AMDEP_FALSE |
AMDEP_TRUE |
AMDEP_TRUE |
Line 692 CPPFLAGS
|
Line 744 CPPFLAGS
|
LDFLAGS |
LDFLAGS |
CFLAGS |
CFLAGS |
CC |
CC |
|
ac_ct_AR |
|
AR |
|
AM_BACKSLASH |
|
AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V |
|
AM_V |
am__untar |
am__untar |
am__tar |
am__tar |
AMTAR |
AMTAR |
Line 756 SHELL'
|
Line 814 SHELL'
|
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_silent_rules |
enable_dependency_tracking |
enable_dependency_tracking |
enable_shared |
enable_shared |
enable_static |
enable_static |
Line 764 enable_fast_install
|
Line 823 enable_fast_install
|
with_gnu_ld |
with_gnu_ld |
with_sysroot |
with_sysroot |
enable_libtool_lock |
enable_libtool_lock |
|
enable_pcre8 |
|
enable_pcre16 |
|
enable_pcre32 |
enable_cpp |
enable_cpp |
enable_jit |
enable_jit |
enable_pcregrep_jit |
enable_pcregrep_jit |
enable_rebuild_chartables |
enable_rebuild_chartables |
enable_utf8 |
enable_utf8 |
|
enable_utf |
enable_unicode_properties |
enable_unicode_properties |
enable_newline_is_cr |
enable_newline_is_cr |
enable_newline_is_lf |
enable_newline_is_lf |
Line 777 enable_newline_is_anycrlf
|
Line 840 enable_newline_is_anycrlf
|
enable_newline_is_any |
enable_newline_is_any |
enable_bsr_anycrlf |
enable_bsr_anycrlf |
enable_ebcdic |
enable_ebcdic |
|
enable_ebcdic_nl25 |
enable_stack_for_recursion |
enable_stack_for_recursion |
enable_pcregrep_libz |
enable_pcregrep_libz |
enable_pcregrep_libbz2 |
enable_pcregrep_libbz2 |
with_pcregrep_bufsize |
with_pcregrep_bufsize |
|
enable_pcretest_libedit |
enable_pcretest_libreadline |
enable_pcretest_libreadline |
with_posix_malloc_threshold |
with_posix_malloc_threshold |
with_link_size |
with_link_size |
|
with_parens_nest_limit |
with_match_limit |
with_match_limit |
with_match_limit_recursion |
with_match_limit_recursion |
|
enable_valgrind |
|
enable_coverage |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 799 CXX
|
Line 867 CXX
|
CXXFLAGS |
CXXFLAGS |
CCC |
CCC |
CPP |
CPP |
CXXCPP' | CXXCPP |
| PKG_CONFIG |
| PKG_CONFIG_PATH |
| PKG_CONFIG_LIBDIR |
| VALGRIND_CFLAGS |
| VALGRIND_LIBS |
| LCOV |
| GENHTML' |
|
|
|
|
# Initialize some variables set by options. |
# Initialize some variables set by options. |
Line 1255 target=$target_alias
|
Line 1330 target=$target_alias
|
if test "x$host_alias" != x; then |
if test "x$host_alias" != x; then |
if test "x$build_alias" = x; then |
if test "x$build_alias" = x; then |
cross_compiling=maybe |
cross_compiling=maybe |
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
|
If a cross compiler is detected then cross compile mode will be used" >&2 |
|
elif test "x$build_alias" != "x$host_alias"; then |
elif test "x$build_alias" != "x$host_alias"; then |
cross_compiling=yes |
cross_compiling=yes |
fi |
fi |
Line 1342 if test "$ac_init_help" = "long"; then
|
Line 1415 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# Omit some internal or obsolete options to make the list less imposing. |
# 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. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures PCRE 8.21 to adapt to many kinds of systems. | \`configure' configures PCRE 8.34 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1412 fi
|
Line 1485 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of PCRE 8.21:";; | short | recursive ) echo "Configuration of PCRE 8.34:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1420 Optional Features:
|
Line 1493 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--disable-dependency-tracking speeds up one-time build | --enable-silent-rules less verbose build output (undo: "make V=1") |
--enable-dependency-tracking do not reject slow dependency extractors | --disable-silent-rules verbose build output (undo: "make V=0") |
| --enable-dependency-tracking |
| do not reject slow dependency extractors |
| --disable-dependency-tracking |
| speeds up one-time build |
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-static[=PKGS] build static libraries [default=yes] |
--enable-static[=PKGS] build static libraries [default=yes] |
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
optimize for fast installation [default=yes] |
optimize for fast installation [default=yes] |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
--disable-pcre8 disable 8 bit character support |
|
--enable-pcre16 enable 16 bit character support |
|
--enable-pcre32 enable 32 bit character support |
--disable-cpp disable C++ support |
--disable-cpp disable C++ support |
--enable-jit enable Just-In-Time compiling support |
--enable-jit enable Just-In-Time compiling support |
--disable-pcregrep-jit disable JIT support in pcregrep |
--disable-pcregrep-jit disable JIT support in pcregrep |
--enable-rebuild-chartables |
--enable-rebuild-chartables |
rebuild character tables in current locale |
rebuild character tables in current locale |
--enable-utf8 enable UTF-8 support (incompatible with | --enable-utf8 another name for --enable-utf. Kept only for |
| compatibility reasons |
| --enable-utf enable UTF-8/16/32 support (incompatible with |
--enable-ebcdic) |
--enable-ebcdic) |
--enable-unicode-properties |
--enable-unicode-properties |
enable Unicode properties support (implies |
enable Unicode properties support (implies |
--enable-utf8) | --enable-utf) |
--enable-newline-is-cr use CR as newline character |
--enable-newline-is-cr use CR as newline character |
--enable-newline-is-lf use LF as newline character (default) |
--enable-newline-is-lf use LF as newline character (default) |
--enable-newline-is-crlf |
--enable-newline-is-crlf |
Line 1446 Optional Features:
|
Line 1528 Optional Features:
|
--enable-newline-is-any use any valid Unicode newline sequence |
--enable-newline-is-any use any valid Unicode newline sequence |
--enable-bsr-anycrlf \R matches only CR, LF, CRLF by default |
--enable-bsr-anycrlf \R matches only CR, LF, CRLF by default |
--enable-ebcdic assume EBCDIC coding rather than ASCII; incompatible |
--enable-ebcdic assume EBCDIC coding rather than ASCII; incompatible |
with --enable-utf8; use only in (uncommon) EBCDIC | with --enable-utf; use only in (uncommon) EBCDIC |
environments; it implies --enable-rebuild-chartables |
environments; it implies --enable-rebuild-chartables |
|
--enable-ebcdic-nl25 set EBCDIC code for NL to 0x25 instead of 0x15; it |
|
implies --enable-ebcdic |
--disable-stack-for-recursion |
--disable-stack-for-recursion |
don't use stack recursion when matching |
don't use stack recursion when matching |
--enable-pcregrep-libz link pcregrep with libz to handle .gz files |
--enable-pcregrep-libz link pcregrep with libz to handle .gz files |
--enable-pcregrep-libbz2 |
--enable-pcregrep-libbz2 |
link pcregrep with libbz2 to handle .bz2 files |
link pcregrep with libbz2 to handle .bz2 files |
|
--enable-pcretest-libedit |
|
link pcretest with libedit |
--enable-pcretest-libreadline |
--enable-pcretest-libreadline |
link pcretest with libreadline |
link pcretest with libreadline |
|
--enable-valgrind valgrind support |
|
--enable-coverage enable code coverage reports using gcov |
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
--with-pic try to use only PIC/non-PIC objects [default=use | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
both] |
both] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-sysroot=DIR Search for dependent libraries within DIR |
--with-sysroot=DIR Search for dependent libraries within DIR |
Line 1469 Optional Packages:
|
Line 1557 Optional Packages:
|
--with-posix-malloc-threshold=NBYTES |
--with-posix-malloc-threshold=NBYTES |
threshold for POSIX malloc usage (default=10) |
threshold for POSIX malloc usage (default=10) |
--with-link-size=N internal link size (2, 3, or 4 allowed; default=2) |
--with-link-size=N internal link size (2, 3, or 4 allowed; default=2) |
|
--with-parens-nest-limit=N |
|
nested parentheses limit (default=250) |
--with-match-limit=N default limit on internal looping (default=10000000) |
--with-match-limit=N default limit on internal looping (default=10000000) |
--with-match-limit-recursion=N |
--with-match-limit-recursion=N |
default limit on internal recursion |
default limit on internal recursion |
Line 1486 Some influential environment variables:
|
Line 1576 Some influential environment variables:
|
CXXFLAGS C++ compiler flags |
CXXFLAGS C++ compiler flags |
CPP C preprocessor |
CPP C preprocessor |
CXXCPP C++ preprocessor |
CXXCPP C++ preprocessor |
|
PKG_CONFIG path to pkg-config utility |
|
PKG_CONFIG_PATH |
|
directories to add to pkg-config's search path |
|
PKG_CONFIG_LIBDIR |
|
path overriding pkg-config's built-in search path |
|
VALGRIND_CFLAGS |
|
C compiler flags for VALGRIND, overriding pkg-config |
|
VALGRIND_LIBS |
|
linker flags for VALGRIND, overriding pkg-config |
|
LCOV the ltp lcov program |
|
GENHTML the ltp genhtml program |
|
|
Use these variables to override the choices made by `configure' or to help |
Use these variables to override the choices made by `configure' or to help |
it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
Line 1553 fi
|
Line 1654 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
PCRE configure 8.21 | PCRE configure 8.34 |
generated by GNU Autoconf 2.68 | generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
This configure script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it. |
gives unlimited permission to copy, distribute and modify it. |
_ACEOF |
_ACEOF |
Line 1778 int
|
Line 1879 int
|
main () |
main () |
{ |
{ |
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1794 main ()
|
Line 1896 main ()
|
{ |
{ |
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) |
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
< ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; |
test_array [0] = 0 | test_array [0] = 0; |
| return test_array [0]; |
|
|
; |
; |
return 0; |
return 0; |
Line 1854 $as_echo "$ac_try_echo"; } >&5
|
Line 1957 $as_echo "$ac_try_echo"; } >&5
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
}; then : |
}; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
Line 2004 $as_echo "$ac_try_echo"; } >&5
|
Line 2107 $as_echo "$ac_try_echo"; } >&5
|
test ! -s conftest.err |
test ! -s conftest.err |
} && test -s conftest$ac_exeext && { |
} && test -s conftest$ac_exeext && { |
test "$cross_compiling" = yes || |
test "$cross_compiling" = yes || |
$as_test_x conftest$ac_exeext | test -x conftest$ac_exeext |
}; then : |
}; then : |
ac_retval=0 |
ac_retval=0 |
else |
else |
Line 2308 cat >config.log <<_ACEOF
|
Line 2411 cat >config.log <<_ACEOF
|
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by PCRE $as_me 8.21, which was | It was created by PCRE $as_me 8.34, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
|
|
Line 2657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 2760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
am__api_version='1.11' | am__api_version='1.14' |
|
|
ac_aux_dir= |
ac_aux_dir= |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do |
Line 2725 case $as_dir/ in #((
|
Line 2828 case $as_dir/ in #((
|
# by default. |
# by default. |
for ac_prog in ginstall scoinst install; do |
for ac_prog in ginstall scoinst install; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then |
if test $ac_prog = install && |
if test $ac_prog = install && |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
# AIX install. It has an incompatible calling convention. |
# AIX install. It has an incompatible calling convention. |
Line 2783 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
Line 2886 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
$as_echo_n "checking whether build environment is sane... " >&6; } |
$as_echo_n "checking whether build environment is sane... " >&6; } |
# Just in case |
|
sleep 1 |
|
echo timestamp > conftest.file |
|
# Reject unsafe characters in $srcdir or the absolute working directory |
# Reject unsafe characters in $srcdir or the absolute working directory |
# name. Accept space and tab only in the latter. |
# name. Accept space and tab only in the latter. |
am_lf=' |
am_lf=' |
Line 2796 case `pwd` in
|
Line 2896 case `pwd` in
|
esac |
esac |
case $srcdir in |
case $srcdir in |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; |
esac |
esac |
|
|
# Do `set' in a subshell so we don't clobber the current shell's | # Do 'set' in a subshell so we don't clobber the current shell's |
# arguments. Must try -L first in case configure is actually a |
# arguments. Must try -L first in case configure is actually a |
# symlink; some systems play weird games with the mod time of symlinks |
# symlink; some systems play weird games with the mod time of symlinks |
# (eg FreeBSD returns the mod time of the symlink's containing |
# (eg FreeBSD returns the mod time of the symlink's containing |
# directory). |
# directory). |
if ( |
if ( |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | am_has_slept=no |
if test "$*" = "X"; then | for am_try in 1 2; do |
# -L didn't work. | echo "timestamp, slept: $am_has_slept" > conftest.file |
set X `ls -t "$srcdir/configure" conftest.file` | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
fi | if test "$*" = "X"; then |
rm -f conftest.file | # -L didn't work. |
if test "$*" != "X $srcdir/configure conftest.file" \ | set X `ls -t "$srcdir/configure" conftest.file` |
&& test "$*" != "X conftest.file $srcdir/configure"; then | fi |
| if test "$*" != "X $srcdir/configure conftest.file" \ |
| && test "$*" != "X conftest.file $srcdir/configure"; then |
|
|
# If neither matched, then we have a broken ls. This can happen | # If neither matched, then we have a broken ls. This can happen |
# if, for instance, CONFIG_SHELL is bash and it inherits a | # if, for instance, CONFIG_SHELL is bash and it inherits a |
# broken ls alias from the environment. This has actually | # broken ls alias from the environment. This has actually |
# happened. Such a system could not be considered "sane". | # happened. Such a system could not be considered "sane". |
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
alias in your environment" "$LINENO" 5 | alias in your environment" "$LINENO" 5 |
fi | fi |
| if test "$2" = conftest.file || test $am_try -eq 2; then |
| break |
| fi |
| # Just in case. |
| sleep 1 |
| am_has_slept=yes |
| done |
test "$2" = conftest.file |
test "$2" = conftest.file |
) |
) |
then |
then |
Line 2833 Check your system clock" "$LINENO" 5
|
Line 2941 Check your system clock" "$LINENO" 5
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
$as_echo "yes" >&6; } |
|
# If we didn't sleep, we still need to ensure time stamps of config.status and |
|
# generated files are strictly newer. |
|
am_sleep_pid= |
|
if grep 'slept: no' conftest.file >/dev/null 2>&1; then |
|
( sleep 1 ) & |
|
am_sleep_pid=$! |
|
fi |
|
|
|
rm -f conftest.file |
|
|
test "$program_prefix" != NONE && |
test "$program_prefix" != NONE && |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
program_transform_name="s&^&$program_prefix&;$program_transform_name" |
# Use a double $ so make ignores it. |
# Use a double $ so make ignores it. |
Line 2855 if test x"${MISSING+set}" != xset; then
|
Line 2973 if test x"${MISSING+set}" != xset; then
|
esac |
esac |
fi |
fi |
# Use eval to expand $SHELL |
# Use eval to expand $SHELL |
if eval "$MISSING --run true"; then | if eval "$MISSING --is-lightweight"; then |
am_missing_run="$MISSING --run " | am_missing_run="$MISSING " |
else |
else |
am_missing_run= |
am_missing_run= |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} |
fi |
fi |
|
|
if test x"${install_sh}" != xset; then |
if test x"${install_sh}" != xset; then |
Line 2872 if test x"${install_sh}" != xset; then
|
Line 2990 if test x"${install_sh}" != xset; then
|
esac |
esac |
fi |
fi |
|
|
# Installed binaries are usually stripped using `strip' when the user | # Installed binaries are usually stripped using 'strip' when the user |
# run `make install-strip'. However `strip' might not be the right | # run "make install-strip". However 'strip' might not be the right |
# tool to use in cross-compilation environments, therefore Automake |
# tool to use in cross-compilation environments, therefore Automake |
# will honor the `STRIP' environment variable to overrule this program. | # will honor the 'STRIP' environment variable to overrule this program. |
if test "$cross_compiling" != no; then |
if test "$cross_compiling" != no; then |
if test -n "$ac_tool_prefix"; then |
if test -n "$ac_tool_prefix"; then |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
Line 2894 do
|
Line 3012 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 2934 do
|
Line 3052 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
ac_cv_prog_ac_ct_STRIP="strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 2985 do
|
Line 3103 do
|
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_prog in mkdir gmkdir; do |
for ac_prog in mkdir gmkdir; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
'mkdir (GNU coreutils) '* | \ |
'mkdir (GNU coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
'mkdir (coreutils) '* | \ |
Line 3014 fi
|
Line 3132 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
$as_echo "$MKDIR_P" >&6; } |
$as_echo "$MKDIR_P" >&6; } |
|
|
mkdir_p="$MKDIR_P" |
|
case $mkdir_p in |
|
[\\/$]* | ?:[\\/]*) ;; |
|
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
|
esac |
|
|
|
for ac_prog in gawk mawk nawk awk |
for ac_prog in gawk mawk nawk awk |
do |
do |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
# Extract the first word of "$ac_prog", so it can be a program name with args. |
Line 3038 do
|
Line 3150 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AWK="$ac_prog" |
ac_cv_prog_AWK="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3102 else
|
Line 3214 else
|
fi |
fi |
rmdir .tst 2>/dev/null |
rmdir .tst 2>/dev/null |
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in # ((( |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=1;; |
|
esac |
|
am_make=${MAKE-make} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
if ${am_cv_make_support_nested_variables+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if $as_echo 'TRUE=$(BAR$(V)) |
|
BAR0=false |
|
BAR1=true |
|
V=1 |
|
am__doit: |
|
@$(TRUE) |
|
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
am_cv_make_support_nested_variables=yes |
|
else |
|
am_cv_make_support_nested_variables=no |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
if test $am_cv_make_support_nested_variables = yes; then |
|
AM_V='$(V)' |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
else |
|
AM_V=$AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
fi |
|
AM_BACKSLASH='\' |
|
|
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
if test "`cd $srcdir && pwd`" != "`pwd`"; then |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
# is not polluted with repeated "-I." |
# is not polluted with repeated "-I." |
Line 3124 fi
|
Line 3275 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='pcre' |
PACKAGE='pcre' |
VERSION='8.21' | VERSION='8.34' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 3152 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
Line 3303 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
|
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
|
|
|
# For better backward compatibility. To be removed once Automake 1.9.x |
|
# dies out for good. For more background, see: |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
|
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
|
mkdir_p='$(MKDIR_P)' |
|
|
# We need awk for the "check" target. The system "awk" is bad on |
# We need awk for the "check" target. The system "awk" is bad on |
# some platforms. |
# some platforms. |
# Always define AMTAR for backward compatibility. | # Always define AMTAR for backward compatibility. Yes, it's still used |
| # in the wild :-( We should find a proper way to deprecate it ... |
| AMTAR='$${TAR-tar}' |
|
|
AMTAR=${AMTAR-"${am_missing_run}tar"} |
|
|
|
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | # We'll loop over all known methods to create a tar archive until one works. |
| _am_tools='gnutar pax cpio none' |
|
|
|
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' |
|
|
|
|
|
|
|
|
|
|
|
|
|
# POSIX will say in a future version that running "rm -f" with no argument |
|
# is OK; and we want to be able to make that assumption in our Makefile |
|
# recipes. So use an aggressive probe to check that the usage we want is |
|
# actually supported "in the wild" to an acceptable degree. |
|
# See automake bug#10828. |
|
# To make any issue more visible, cause the running configure to be aborted |
|
# by default if the 'rm' program in use doesn't match our expectations; the |
|
# user can still override this though. |
|
if rm -f && rm -fr && rm -rf; then : OK; else |
|
cat >&2 <<'END' |
|
Oops! |
|
|
|
Your 'rm' program seems unable to run without file operands specified |
|
on the command line, even when the '-f' option is present. This is contrary |
|
to the behaviour of most rm programs out there, and not conforming with |
|
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> |
|
|
|
Please tell bug-automake@gnu.org about your system, including the value |
|
of your $PATH and any error possibly output before this message. This |
|
can help us improve future automake versions. |
|
|
|
END |
|
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then |
|
echo 'Configuration will proceed anyway, since you have set the' >&2 |
|
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 |
|
echo >&2 |
|
else |
|
cat >&2 <<'END' |
|
Aborting the configuration process, to ensure you take notice of the issue. |
|
|
|
You can download and install GNU coreutils to get an 'rm' implementation |
|
that behaves properly: <http://www.gnu.org/software/coreutils/>. |
|
|
|
If you want to complete the configuration process using your problematic |
|
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
|
to "yes", and re-run configure. |
|
|
|
END |
|
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 |
|
fi |
|
fi |
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
|
case $enable_silent_rules in # ((( |
|
yes) AM_DEFAULT_VERBOSITY=0;; |
|
no) AM_DEFAULT_VERBOSITY=1;; |
|
*) AM_DEFAULT_VERBOSITY=0;; |
|
esac |
|
am_make=${MAKE-make} |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
|
$as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
|
if ${am_cv_make_support_nested_variables+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if $as_echo 'TRUE=$(BAR$(V)) |
|
BAR0=false |
|
BAR1=true |
|
V=1 |
|
am__doit: |
|
@$(TRUE) |
|
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
|
am_cv_make_support_nested_variables=yes |
|
else |
|
am_cv_make_support_nested_variables=no |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
|
$as_echo "$am_cv_make_support_nested_variables" >&6; } |
|
if test $am_cv_make_support_nested_variables = yes; then |
|
AM_V='$(V)' |
|
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
|
else |
|
AM_V=$AM_DEFAULT_VERBOSITY |
|
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
|
fi |
|
AM_BACKSLASH='\' |
|
|
ac_config_headers="$ac_config_headers config.h" |
ac_config_headers="$ac_config_headers config.h" |
|
|
|
|
# This was added at the suggestion of libtoolize (03-Jan-10) | # This is a new thing required to stop a warning from automake 1.12 |
| DEPDIR="${am__leading_dot}deps" |
|
|
|
ac_config_commands="$ac_config_commands depfiles" |
|
|
# The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just |
|
# "-g" for any other compiler. There doesn't seem to be a standard way of |
|
# getting rid of the -g (which I don't think is needed for a production |
|
# library). This fudge seems to achieve the necessary. First, we remember the |
|
# externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and |
|
# AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not |
|
# set, they will be set to Autoconf's defaults. Afterwards, if the original |
|
# values were not set, remove the -g from the Autoconf defaults. |
|
# (PH 02-May-07) |
|
|
|
remember_set_CFLAGS="$CFLAGS" | am_make=${MAKE-make} |
remember_set_CXXFLAGS="$CXXFLAGS" | cat > confinc << 'END' |
| am__doit: |
| @echo this is the am__doit target |
| .PHONY: am__doit |
| END |
| # If we don't find an include directive, just comment out the code. |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
| $as_echo_n "checking for style of include used by $am_make... " >&6; } |
| am__include="#" |
| am__quote= |
| _am_result=none |
| # First try GNU make style include. |
| echo "include confinc" > confmf |
| # Ignore all kinds of additional output from 'make'. |
| case `$am_make -s -f confmf 2> /dev/null` in #( |
| *the\ am__doit\ target*) |
| am__include=include |
| am__quote= |
| _am_result=GNU |
| ;; |
| esac |
| # Now try BSD make style include. |
| if test "$am__include" = "#"; then |
| echo '.include "confinc"' > confmf |
| case `$am_make -s -f confmf 2> /dev/null` in #( |
| *the\ am__doit\ target*) |
| am__include=.include |
| am__quote="\"" |
| _am_result=BSD |
| ;; |
| esac |
| fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
$as_echo "$_am_result" >&6; } |
|
rm -f confinc confmf |
|
|
|
# Check whether --enable-dependency-tracking was given. |
|
if test "${enable_dependency_tracking+set}" = set; then : |
|
enableval=$enable_dependency_tracking; |
|
fi |
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
am_depcomp="$ac_aux_dir/depcomp" |
|
AMDEPBACKSLASH='\' |
|
am__nodep='_no' |
|
fi |
|
if test "x$enable_dependency_tracking" != xno; then |
|
AMDEP_TRUE= |
|
AMDEP_FALSE='#' |
|
else |
|
AMDEP_TRUE='#' |
|
AMDEP_FALSE= |
|
fi |
|
|
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 3205 do
|
Line 3495 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
ac_cv_prog_CC="${ac_tool_prefix}gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3245 do
|
Line 3535 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="gcc" |
ac_cv_prog_ac_ct_CC="gcc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3298 do
|
Line 3588 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
ac_cv_prog_CC="${ac_tool_prefix}cc" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3339 do
|
Line 3629 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
ac_prog_rejected=yes |
ac_prog_rejected=yes |
continue |
continue |
Line 3397 do
|
Line 3687 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3441 do
|
Line 3731 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CC="$ac_prog" |
ac_cv_prog_ac_ct_CC="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 3887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
Line 4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
/* end confdefs.h. */ |
/* end confdefs.h. */ |
#include <stdarg.h> |
#include <stdarg.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <sys/types.h> | struct stat; |
#include <sys/stat.h> | |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
struct buf { int x; }; |
struct buf { int x; }; |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
Line 3972 ac_cpp='$CPP $CPPFLAGS'
|
Line 4261 ac_cpp='$CPP $CPPFLAGS'
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
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' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
DEPDIR="${am__leading_dot}deps" |
|
|
|
ac_config_commands="$ac_config_commands depfiles" | ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
| $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
| if ${am_cv_prog_cc_c_o+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
am_make=${MAKE-make} | ; |
cat > confinc << 'END' | return 0; |
am__doit: | } |
@echo this is the am__doit target | _ACEOF |
.PHONY: am__doit | # Make sure it works both with $CC and with simple cc. |
END | # Following AC_PROG_CC_C_O, we do the test twice because some |
# If we don't find an include directive, just comment out the code. | # compilers refuse to overwrite an existing .o file with -o, |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | # though they will create one. |
$as_echo_n "checking for style of include used by $am_make... " >&6; } | am_cv_prog_cc_c_o=yes |
am__include="#" | for am_i in 1 2; do |
am__quote= | if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
_am_result=none | ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
# First try GNU make style include. | ac_status=$? |
echo "include confinc" > confmf | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
# Ignore all kinds of additional output from `make'. | (exit $ac_status); } \ |
case `$am_make -s -f confmf 2> /dev/null` in #( | && test -f conftest2.$ac_objext; then |
*the\ am__doit\ target*) | : OK |
am__include=include | else |
am__quote= | am_cv_prog_cc_c_o=no |
_am_result=GNU | break |
| fi |
| done |
| rm -f core conftest* |
| unset am_i |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
| $as_echo "$am_cv_prog_cc_c_o" >&6; } |
| if test "$am_cv_prog_cc_c_o" != yes; then |
| # Losing compiler, so override with the script. |
| # FIXME: It is wrong to rewrite CC. |
| # But if we don't then we get into trouble of one sort or another. |
| # A longer-term fix would be to have automake use am__CC in this case, |
| # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
| CC="$am_aux_dir/compile $CC" |
| fi |
| ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
| |
| depcc="$CC" am_compiler_list= |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
| $as_echo_n "checking dependency style of $depcc... " >&6; } |
| if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
| # We make a subdir and do the tests there. Otherwise we can end up |
| # making bogus files that we don't know about and never remove. For |
| # instance it was reported that on HP-UX the gcc test will end up |
| # making a dummy file named 'D' -- because '-MD' means "put the output |
| # in D". |
| rm -rf conftest.dir |
| mkdir conftest.dir |
| # Copy depcomp to subdir because otherwise we won't find it if we're |
| # using a relative directory. |
| cp "$am_depcomp" conftest.dir |
| cd conftest.dir |
| # We will build objects and dependencies in a subdirectory because |
| # it helps to detect inapplicable dependency modes. For instance |
| # both Tru64's cc and ICC support -MD to output dependencies as a |
| # side effect of compilation, but ICC will put the dependencies in |
| # the current directory while Tru64 will put them in the object |
| # directory. |
| mkdir sub |
| |
| am_cv_CC_dependencies_compiler_type=none |
| if test "$am_compiler_list" = ""; then |
| am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
| fi |
| am__universal=false |
| case " $depcc " in #( |
| *\ -arch\ *\ -arch\ *) am__universal=true ;; |
| esac |
| |
| for depmode in $am_compiler_list; do |
| # Setup a source with many dependencies, because some compilers |
| # like to wrap large dependency lists on column 80 (with \), and |
| # we should not choose a depcomp mode which is confused by this. |
| # |
| # We need to recreate these files for each test, as the compiler may |
| # overwrite some of them when testing with obscure command lines. |
| # This happens at least with the AIX C compiler. |
| : > sub/conftest.c |
| for i in 1 2 3 4 5 6; do |
| echo '#include "conftst'$i'.h"' >> sub/conftest.c |
| # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
| # Solaris 10 /bin/sh. |
| echo '/* dummy */' > sub/conftst$i.h |
| done |
| echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
| |
| # We check with '-c' and '-o' for the sake of the "dashmstdout" |
| # mode. It turns out that the SunPro C++ compiler does not properly |
| # handle '-M -o', and we need to detect this. Also, some Intel |
| # versions had trouble with output in subdirs. |
| am__obj=sub/conftest.${OBJEXT-o} |
| am__minus_obj="-o $am__obj" |
| case $depmode in |
| gcc) |
| # This depmode causes a compiler race in universal mode. |
| test "$am__universal" = false || continue |
| ;; |
| nosideeffect) |
| # After this tag, mechanisms are not by side-effect, so they'll |
| # only be used when explicitly requested. |
| if test "x$enable_dependency_tracking" = xyes; then |
| continue |
| else |
| break |
| fi |
| ;; |
| msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
| # This compiler won't grok '-c -o', but also, the minuso test has |
| # not run yet. These depmodes are late enough in the game, and |
| # so weak that their functioning should not be impacted. |
| am__obj=conftest.${OBJEXT-o} |
| am__minus_obj= |
| ;; |
| none) break ;; |
| esac |
| if depmode=$depmode \ |
| source=sub/conftest.c object=$am__obj \ |
| depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
| $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
| >/dev/null 2>conftest.err && |
| grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
| grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
| grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
| ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
| # icc doesn't choke on unknown options, it will just issue warnings |
| # or remarks (even with -Werror). So we grep stderr for any message |
| # that says an option was ignored or not supported. |
| # When given -MP, icc 7.0 and 7.1 complain thusly: |
| # icc: Command line warning: ignoring option '-M'; no argument required |
| # The diagnosis changed in icc 8.0: |
| # icc: Command line remark: option '-MP' not supported |
| if (grep 'ignoring option' conftest.err || |
| grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
| am_cv_CC_dependencies_compiler_type=$depmode |
| break |
| fi |
| fi |
| done |
| |
| cd .. |
| rm -rf conftest.dir |
| else |
| am_cv_CC_dependencies_compiler_type=none |
| fi |
| |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
| $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
| CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
| |
| if |
| test "x$enable_dependency_tracking" != xno \ |
| && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
| am__fastdepCC_TRUE= |
| am__fastdepCC_FALSE='#' |
| else |
| am__fastdepCC_TRUE='#' |
| am__fastdepCC_FALSE= |
| fi |
| |
| |
| |
| if test -n "$ac_tool_prefix"; then |
| for ac_prog in ar lib "link -lib" |
| 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 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_AR+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$AR"; then |
| ac_cv_prog_AR="$AR" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
| done |
| IFS=$as_save_IFS |
| |
| fi |
| fi |
| AR=$ac_cv_prog_AR |
| if test -n "$AR"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
| $as_echo "$AR" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
| |
| |
| test -n "$AR" && break |
| done |
| fi |
| if test -z "$AR"; then |
| ac_ct_AR=$AR |
| for ac_prog in ar lib "link -lib" |
| do |
| # Extract the first word of "$ac_prog", so it can be a program name with args. |
| set dummy $ac_prog; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_ac_ct_AR+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$ac_ct_AR"; then |
| ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_AR="$ac_prog" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
| done |
| IFS=$as_save_IFS |
| |
| fi |
| fi |
| ac_ct_AR=$ac_cv_prog_ac_ct_AR |
| if test -n "$ac_ct_AR"; then |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
| $as_echo "$ac_ct_AR" >&6; } |
| else |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
| $as_echo "no" >&6; } |
| fi |
| |
| |
| test -n "$ac_ct_AR" && break |
| done |
| |
| if test "x$ac_ct_AR" = x; then |
| AR="false" |
| else |
| case $cross_compiling:$ac_tool_warned in |
| yes:) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| ac_tool_warned=yes ;; |
| esac |
| AR=$ac_ct_AR |
| fi |
| fi |
| |
| : ${AR=ar} |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 |
| $as_echo_n "checking the archiver ($AR) interface... " >&6; } |
| if ${am_cv_ar_interface+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
| am_cv_ar_interface=ar |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| int some_variable = 0; |
| _ACEOF |
| if ac_fn_c_try_compile "$LINENO"; then : |
| am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' |
| { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| (eval $am_ar_try) 2>&5 |
| ac_status=$? |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| test $ac_status = 0; } |
| if test "$ac_status" -eq 0; then |
| am_cv_ar_interface=ar |
| else |
| am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' |
| { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 |
| (eval $am_ar_try) 2>&5 |
| ac_status=$? |
| $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
| test $ac_status = 0; } |
| if test "$ac_status" -eq 0; then |
| am_cv_ar_interface=lib |
| else |
| am_cv_ar_interface=unknown |
| fi |
| fi |
| rm -f conftest.lib libconftest.a |
| |
| fi |
| rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
| ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| |
| fi |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 |
| $as_echo "$am_cv_ar_interface" >&6; } |
| |
| case $am_cv_ar_interface in |
| ar) |
;; |
;; |
|
lib) |
|
# Microsoft lib, so override with the ar-lib wrapper script. |
|
# FIXME: It is wrong to rewrite AR. |
|
# But if we don't then we get into trouble of one sort or another. |
|
# A longer-term fix would be to have automake use am__AR in this case, |
|
# and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something |
|
# similar. |
|
AR="$am_aux_dir/ar-lib $AR" |
|
;; |
|
unknown) |
|
as_fn_error $? "could not determine $AR interface" "$LINENO" 5 |
|
;; |
esac |
esac |
# Now try BSD make style include. | |
if test "$am__include" = "#"; then | |
echo '.include "confinc"' > confmf | # This was added at the suggestion of libtoolize (03-Jan-10) |
case `$am_make -s -f confmf 2> /dev/null` in #( | |
*the\ am__doit\ target*) | |
am__include=.include | # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just |
am__quote="\"" | # "-g" for any other compiler. There doesn't seem to be a standard way of |
_am_result=BSD | # getting rid of the -g (which I don't think is needed for a production |
;; | # library). This fudge seems to achieve the necessary. First, we remember the |
esac | # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and |
| # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not |
| # set, they will be set to Autoconf's defaults. Afterwards, if the original |
| # values were not set, remove the -g from the Autoconf defaults. |
| # (PH 02-May-07) |
| |
| remember_set_CFLAGS="$CFLAGS" |
| remember_set_CXXFLAGS="$CXXFLAGS" |
| |
| ac_ext=c |
| ac_cpp='$CPP $CPPFLAGS' |
| ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
| ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
| ac_compiler_gnu=$ac_cv_c_compiler_gnu |
| if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
| set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$CC"; then |
| ac_cv_prog_CC="$CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
| done |
| IFS=$as_save_IFS |
| |
fi |
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | fi |
$as_echo "$_am_result" >&6; } | if test -z "$ac_cv_prog_CC"; then |
rm -f confinc confmf | ac_ct_CC=$CC |
| # Extract the first word of "gcc", so it can be a program name with args. |
| set dummy gcc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_ac_ct_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| if test -n "$ac_ct_CC"; then |
| ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_ac_ct_CC="gcc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
| done |
| IFS=$as_save_IFS |
|
|
# Check whether --enable-dependency-tracking was given. |
|
if test "${enable_dependency_tracking+set}" = set; then : |
|
enableval=$enable_dependency_tracking; |
|
fi |
fi |
|
fi |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
if test -n "$ac_ct_CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
$as_echo "$ac_ct_CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
if test "x$enable_dependency_tracking" != xno; then | if test "x$ac_ct_CC" = x; then |
am_depcomp="$ac_aux_dir/depcomp" | CC="" |
AMDEPBACKSLASH='\' | else |
| case $cross_compiling:$ac_tool_warned in |
| yes:) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
| $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
| ac_tool_warned=yes ;; |
| esac |
| CC=$ac_ct_CC |
| fi |
| else |
| CC="$ac_cv_prog_CC" |
fi |
fi |
if test "x$enable_dependency_tracking" != xno; then | |
AMDEP_TRUE= | if test -z "$CC"; then |
AMDEP_FALSE='#' | if test -n "$ac_tool_prefix"; then |
| # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
| set dummy ${ac_tool_prefix}cc; ac_word=$2 |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
| $as_echo_n "checking for $ac_word... " >&6; } |
| if ${ac_cv_prog_CC+:} false; then : |
| $as_echo_n "(cached) " >&6 |
else |
else |
AMDEP_TRUE='#' | if test -n "$CC"; then |
AMDEP_FALSE= | ac_cv_prog_CC="$CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
| ac_cv_prog_CC="${ac_tool_prefix}cc" |
| $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
| break 2 |
| fi |
| done |
| done |
| IFS=$as_save_IFS |
| |
fi |
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
fi |
|
if test -z "$CC"; then |
|
# Extract the first word of "cc", so it can be a program name with args. |
|
set dummy cc; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
else |
|
ac_prog_rejected=no |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
ac_prog_rejected=yes |
|
continue |
|
fi |
|
ac_cv_prog_CC="cc" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
if test $ac_prog_rejected = yes; then |
|
# We found a bogon in the path, so make sure we never use it. |
|
set dummy $ac_cv_prog_CC |
|
shift |
|
if test $# != 0; then |
|
# We chose a different compiler from the bogus one. |
|
# However, it has the same basename, so the bogon will be chosen |
|
# first if we set CC to just the basename; use the full file name. |
|
shift |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
fi |
|
fi |
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$CC"; then |
|
if test -n "$ac_tool_prefix"; then |
|
for ac_prog in cl.exe |
|
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 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$CC" && break |
|
done |
|
fi |
|
if test -z "$CC"; then |
|
ac_ct_CC=$CC |
|
for ac_prog in cl.exe |
|
do |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
set dummy $ac_prog; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_ac_ct_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_CC"; then |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ac_ct_CC="$ac_prog" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
if test -n "$ac_ct_CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
$as_echo "$ac_ct_CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$ac_ct_CC" && break |
|
done |
|
|
|
if test "x$ac_ct_CC" = x; then |
|
CC="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
CC=$ac_ct_CC |
|
fi |
|
fi |
|
|
|
fi |
|
|
|
|
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
|
|
# Provide some information about the compiler. |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
set X $ac_compile |
|
ac_compiler=$2 |
|
for ac_option in --version -v -V -qversion; do |
|
{ { ac_try="$ac_compiler $ac_option >&5" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
sed '10a\ |
|
... rest of stderr output deleted ... |
|
10q' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
fi |
|
rm -f conftest.er1 conftest.err |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } |
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
#ifndef __GNUC__ |
|
choke me |
|
#endif |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_compiler_gnu=yes |
|
else |
|
ac_compiler_gnu=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
if test $ac_compiler_gnu = yes; then |
|
GCC=yes |
|
else |
|
GCC= |
|
fi |
|
ac_test_CFLAGS=${CFLAGS+set} |
|
ac_save_CFLAGS=$CFLAGS |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
if ${ac_cv_prog_cc_g+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
|
ac_c_werror_flag=yes |
|
ac_cv_prog_cc_g=no |
|
CFLAGS="-g" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_g=yes |
|
else |
|
CFLAGS="" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
else |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
CFLAGS="-g" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_g=yes |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
if test "$ac_test_CFLAGS" = set; then |
|
CFLAGS=$ac_save_CFLAGS |
|
elif test $ac_cv_prog_cc_g = yes; then |
|
if test "$GCC" = yes; then |
|
CFLAGS="-g -O2" |
|
else |
|
CFLAGS="-g" |
|
fi |
|
else |
|
if test "$GCC" = yes; then |
|
CFLAGS="-O2" |
|
else |
|
CFLAGS= |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
if ${ac_cv_prog_cc_c89+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_cv_prog_cc_c89=no |
|
ac_save_CC=$CC |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
struct stat; |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
|
These don't provoke an error unfortunately, instead are silently treated |
|
as 'x'. The following induces an error, until -std is added to get |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
array size at least. It's necessary to write '\x00'==0 to get something |
|
that's true only with -std. */ |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
|
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
inside strings and character constants. */ |
|
#define FOO(x) 'x' |
|
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
|
int |
|
main () |
|
{ |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_c89=$ac_arg |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
done |
|
rm -f conftest.$ac_ext |
|
CC=$ac_save_CC |
|
|
|
fi |
|
# AC_CACHE_VAL |
|
case "x$ac_cv_prog_cc_c89" in |
|
x) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
$as_echo "none needed" >&6; } ;; |
|
xno) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
$as_echo "unsupported" >&6; } ;; |
|
*) |
|
CC="$CC $ac_cv_prog_cc_c89" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
esac |
|
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
|
fi |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
if ${am_cv_prog_cc_c_o+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Make sure it works both with $CC and with simple cc. |
|
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
# compilers refuse to overwrite an existing .o file with -o, |
|
# though they will create one. |
|
am_cv_prog_cc_c_o=yes |
|
for am_i in 1 2; do |
|
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } \ |
|
&& test -f conftest2.$ac_objext; then |
|
: OK |
|
else |
|
am_cv_prog_cc_c_o=no |
|
break |
|
fi |
|
done |
|
rm -f core conftest* |
|
unset am_i |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
|
# Losing compiler, so override with the script. |
|
# FIXME: It is wrong to rewrite CC. |
|
# But if we don't then we get into trouble of one sort or another. |
|
# A longer-term fix would be to have automake use am__CC in this case, |
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
CC="$am_aux_dir/compile $CC" |
|
fi |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
depcc="$CC" am_compiler_list= |
depcc="$CC" am_compiler_list= |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
Line 4046 else
|
Line 5247 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
| rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# using a relative directory. |
# using a relative directory. |
Line 4081 else
|
Line 5283 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 4099 else
|
Line 5301 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
break |
break |
fi |
fi |
;; |
;; |
msvisualcpp | msvcmsys) | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 4190 do
|
Line 5392 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 4234 do
|
Line 5436 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
ac_cv_prog_ac_ct_CXX="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 4430 else
|
Line 5632 else
|
# We make a subdir and do the tests there. Otherwise we can end up |
# We make a subdir and do the tests there. Otherwise we can end up |
# making bogus files that we don't know about and never remove. For |
# making bogus files that we don't know about and never remove. For |
# instance it was reported that on HP-UX the gcc test will end up |
# instance it was reported that on HP-UX the gcc test will end up |
# making a dummy file named `D' -- because `-MD' means `put the output | # making a dummy file named 'D' -- because '-MD' means "put the output |
# in D'. | # in D". |
| rm -rf conftest.dir |
mkdir conftest.dir |
mkdir conftest.dir |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# Copy depcomp to subdir because otherwise we won't find it if we're |
# using a relative directory. |
# using a relative directory. |
Line 4465 else
|
Line 5668 else
|
: > sub/conftest.c |
: > sub/conftest.c |
for i in 1 2 3 4 5 6; do |
for i in 1 2 3 4 5 6; do |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
# Solaris 8's {/usr,}/bin/sh. | # Solaris 10 /bin/sh. |
touch sub/conftst$i.h | echo '/* dummy */' > sub/conftst$i.h |
done |
done |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
# We check with `-c' and `-o' for the sake of the "dashmstdout" | # We check with '-c' and '-o' for the sake of the "dashmstdout" |
# mode. It turns out that the SunPro C++ compiler does not properly |
# mode. It turns out that the SunPro C++ compiler does not properly |
# handle `-M -o', and we need to detect this. Also, some Intel | # handle '-M -o', and we need to detect this. Also, some Intel |
# versions had trouble with output in subdirs | # versions had trouble with output in subdirs. |
am__obj=sub/conftest.${OBJEXT-o} |
am__obj=sub/conftest.${OBJEXT-o} |
am__minus_obj="-o $am__obj" |
am__minus_obj="-o $am__obj" |
case $depmode in |
case $depmode in |
Line 4483 else
|
Line 5686 else
|
test "$am__universal" = false || continue |
test "$am__universal" = false || continue |
;; |
;; |
nosideeffect) |
nosideeffect) |
# after this tag, mechanisms are not by side-effect, so they'll | # After this tag, mechanisms are not by side-effect, so they'll |
# only be used when explicitly requested | # only be used when explicitly requested. |
if test "x$enable_dependency_tracking" = xyes; then |
if test "x$enable_dependency_tracking" = xyes; then |
continue |
continue |
else |
else |
break |
break |
fi |
fi |
;; |
;; |
msvisualcpp | msvcmsys) | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
# This compiler won't grok `-c -o', but also, the minuso test has | # This compiler won't grok '-c -o', but also, the minuso test has |
# not run yet. These depmodes are late enough in the game, and |
# not run yet. These depmodes are late enough in the game, and |
# so weak that their functioning should not be impacted. |
# so weak that their functioning should not be impacted. |
am__obj=conftest.${OBJEXT-o} |
am__obj=conftest.${OBJEXT-o} |
Line 4547 fi
|
Line 5750 fi
|
|
|
|
|
|
|
|
|
if test "x$remember_set_CFLAGS" = "x" |
if test "x$remember_set_CFLAGS" = "x" |
then |
then |
if test "$CFLAGS" = "-g -O2" |
if test "$CFLAGS" = "-g -O2" |
Line 4603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 5807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
# Check for a 64-bit integer type |
# Check for a 64-bit integer type |
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 4758 do
|
Line 5961 do
|
for ac_prog in grep ggrep; do |
for ac_prog in grep ggrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | as_fn_executable_p "$ac_path_GREP" || continue |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU ac_path_GREP and select it if it is found. |
# Check for GNU $ac_path_GREP |
# Check for GNU $ac_path_GREP |
case `"$ac_path_GREP" --version 2>&1` in |
case `"$ac_path_GREP" --version 2>&1` in |
Line 4824 do
|
Line 6027 do
|
for ac_prog in egrep; do |
for ac_prog in egrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | as_fn_executable_p "$ac_path_EGREP" || continue |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU ac_path_EGREP and select it if it is found. |
# Check for GNU $ac_path_EGREP |
# Check for GNU $ac_path_EGREP |
case `"$ac_path_EGREP" --version 2>&1` in |
case `"$ac_path_EGREP" --version 2>&1` in |
Line 5106 do
|
Line 6309 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AS="${ac_tool_prefix}as" |
ac_cv_prog_AS="${ac_tool_prefix}as" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5146 do
|
Line 6349 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_AS="as" |
ac_cv_prog_ac_ct_AS="as" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5198 do
|
Line 6401 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5238 do
|
Line 6441 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5290 do
|
Line 6493 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5330 do
|
Line 6533 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5396 esac
|
Line 6599 esac
|
|
|
|
|
|
|
macro_version='2.4' | macro_version='2.4.2' |
macro_revision='1.3293' | macro_revision='1.3337' |
|
|
|
|
|
|
Line 5504 do
|
Line 6707 do
|
for ac_prog in sed gsed; do |
for ac_prog in sed gsed; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | as_fn_executable_p "$ac_path_SED" || continue |
# Check for GNU ac_path_SED and select it if it is found. |
# Check for GNU ac_path_SED and select it if it is found. |
# Check for GNU $ac_path_SED |
# Check for GNU $ac_path_SED |
case `"$ac_path_SED" --version 2>&1` in |
case `"$ac_path_SED" --version 2>&1` in |
Line 5583 do
|
Line 6786 do
|
for ac_prog in fgrep; do |
for ac_prog in fgrep; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | as_fn_executable_p "$ac_path_FGREP" || continue |
# Check for GNU ac_path_FGREP and select it if it is found. |
# Check for GNU ac_path_FGREP and select it if it is found. |
# Check for GNU $ac_path_FGREP |
# Check for GNU $ac_path_FGREP |
case `"$ac_path_FGREP" --version 2>&1` in |
case `"$ac_path_FGREP" --version 2>&1` in |
Line 5839 do
|
Line 7042 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 5883 do
|
Line 7086 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6041 else
|
Line 7244 else
|
lt_cv_sys_max_cmd_len=196608 |
lt_cv_sys_max_cmd_len=196608 |
;; |
;; |
|
|
|
os2*) |
|
# The test takes a long time on OS/2. |
|
lt_cv_sys_max_cmd_len=8192 |
|
;; |
|
|
osf*) |
osf*) |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
Line 6080 else
|
Line 7288 else
|
# If test is not a shell built-in, we'll probably end up computing a |
# If test is not a shell built-in, we'll probably end up computing a |
# maximum length that is only half of the actual maximum length, but |
# maximum length that is only half of the actual maximum length, but |
# we can't tell. |
# we can't tell. |
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
= "X$teststring$teststring"; } >/dev/null 2>&1 && |
test $i != 17 # 1/2 MB should be enough |
test $i != 17 # 1/2 MB should be enough |
do |
do |
Line 6302 do
|
Line 7510 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6342 do
|
Line 7550 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
ac_cv_prog_ac_ct_OBJDUMP="objdump" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6506 irix5* | irix6* | nonstopux*)
|
Line 7714 irix5* | irix6* | nonstopux*)
|
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
|
|
# This must be Linux ELF. | # This must be glibc/ELF. |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
lt_cv_deplibs_check_method=pass_all |
lt_cv_deplibs_check_method=pass_all |
;; |
;; |
Line 6645 do
|
Line 7853 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6685 do
|
Line 7893 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6785 do
|
Line 7993 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6829 do
|
Line 8037 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_AR="$ac_prog" |
ac_cv_prog_ac_ct_AR="$ac_prog" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6954 do
|
Line 8162 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 6994 do
|
Line 8202 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_STRIP="strip" |
ac_cv_prog_ac_ct_STRIP="strip" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7053 do
|
Line 8261 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7093 do
|
Line 8301 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
ac_cv_prog_ac_ct_RANLIB="ranlib" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7143 old_postuninstall_cmds=
|
Line 8351 old_postuninstall_cmds=
|
if test -n "$RANLIB"; then |
if test -n "$RANLIB"; then |
case $host_os in |
case $host_os in |
openbsd*) |
openbsd*) |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
;; |
;; |
*) |
*) |
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
;; |
;; |
esac |
esac |
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
fi |
fi |
|
|
case $host_os in |
case $host_os in |
Line 7296 for ac_symprfx in "" "_"; do
|
Line 8504 for ac_symprfx in "" "_"; do
|
# which start with @ or ?. |
# which start with @ or ?. |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
lt_cv_sys_global_symbol_pipe="$AWK '"\ |
" {last_section=section; section=\$ 3};"\ |
" {last_section=section; section=\$ 3};"\ |
|
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
" \$ 0!~/External *\|/{next};"\ |
" \$ 0!~/External *\|/{next};"\ |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
Line 7684 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
Line 8893 $as_echo "$lt_cv_cc_needs_belf" >&6; }
|
CFLAGS="$SAVE_CFLAGS" |
CFLAGS="$SAVE_CFLAGS" |
fi |
fi |
;; |
;; |
sparc*-*solaris*) | *-*solaris*) |
# Find out which ABI we are using. |
# Find out which ABI we are using. |
echo 'int i;' > conftest.$ac_ext |
echo 'int i;' > conftest.$ac_ext |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
Line 7695 sparc*-*solaris*)
|
Line 8904 sparc*-*solaris*)
|
case `/usr/bin/file conftest.o` in |
case `/usr/bin/file conftest.o` in |
*64-bit*) |
*64-bit*) |
case $lt_cv_prog_gnu_ld in |
case $lt_cv_prog_gnu_ld in |
yes*) LD="${LD-ld} -m elf64_sparc" ;; | yes*) |
| case $host in |
| i?86-*-solaris*) |
| LD="${LD-ld} -m elf_x86_64" |
| ;; |
| sparc*-*-solaris*) |
| LD="${LD-ld} -m elf64_sparc" |
| ;; |
| esac |
| # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
| if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
| LD="${LD-ld}_sol2" |
| fi |
| ;; |
*) |
*) |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
LD="${LD-ld} -64" |
LD="${LD-ld} -64" |
Line 7728 do
|
Line 8950 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7768 do
|
Line 8990 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7848 do
|
Line 9070 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7888 do
|
Line 9110 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7940 do
|
Line 9162 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 7980 do
|
Line 9202 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
ac_cv_prog_ac_ct_NMEDIT="nmedit" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8032 do
|
Line 9254 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8072 do
|
Line 9294 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_LIPO="lipo" |
ac_cv_prog_ac_ct_LIPO="lipo" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8124 do
|
Line 9346 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8164 do
|
Line 9386 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OTOOL="otool" |
ac_cv_prog_ac_ct_OTOOL="otool" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8216 do
|
Line 9438 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8256 do
|
Line 9478 do
|
IFS=$as_save_IFS |
IFS=$as_save_IFS |
test -z "$as_dir" && as_dir=. |
test -z "$as_dir" && as_dir=. |
for ac_exec_ext in '' $ac_executable_extensions; do |
for ac_exec_ext in '' $ac_executable_extensions; do |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
ac_cv_prog_ac_ct_OTOOL64="otool64" |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
break 2 |
break 2 |
Line 8335 else
|
Line 9557 else
|
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
_lt_result=$? |
_lt_result=$? |
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | # If there is a non-empty error log, and "single_module" |
| # appears in it, assume the flag caused a linker warning |
| if test -s conftest.err && $GREP single_module conftest.err; then |
| cat conftest.err >&5 |
| # Otherwise, if the output was created with a 0 exit code from |
| # the compiler, it worked. |
| elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
lt_cv_apple_cc_single_mod=yes |
lt_cv_apple_cc_single_mod=yes |
else |
else |
cat conftest.err >&5 |
cat conftest.err >&5 |
Line 8346 else
|
Line 9574 else
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
$as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
if ${lt_cv_ld_exported_symbols_list+:} false; then : |
Line 8378 rm -f core conftest.err conftest.$ac_objext \
|
Line 9607 rm -f core conftest.err conftest.$ac_objext \
|
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
$as_echo_n "checking for -force_load linker flag... " >&6; } |
if ${lt_cv_ld_force_load+:} false; then : |
if ${lt_cv_ld_force_load+:} false; then : |
Line 8399 _LT_EOF
|
Line 9629 _LT_EOF
|
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
_lt_result=$? |
_lt_result=$? |
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | if test -s conftest.err && $GREP force_load conftest.err; then |
| cat conftest.err >&5 |
| elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
lt_cv_ld_force_load=yes |
lt_cv_ld_force_load=yes |
else |
else |
cat conftest.err >&5 |
cat conftest.err >&5 |
Line 8545 fi
|
Line 9777 fi
|
|
|
# Check whether --with-pic was given. |
# Check whether --with-pic was given. |
if test "${with_pic+set}" = set; then : |
if test "${with_pic+set}" = set; then : |
withval=$with_pic; pic_mode="$withval" | withval=$with_pic; lt_p=${PACKAGE-default} |
| case $withval in |
| yes|no) pic_mode=$withval ;; |
| *) |
| pic_mode=default |
| # Look at the argument we got. We use all the common list separators. |
| lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
| for lt_pkg in $withval; do |
| IFS="$lt_save_ifs" |
| if test "X$lt_pkg" = "X$lt_p"; then |
| pic_mode=yes |
| fi |
| done |
| IFS="$lt_save_ifs" |
| ;; |
| esac |
else |
else |
pic_mode=default |
pic_mode=default |
fi |
fi |
Line 8623 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
Line 9870 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test -z "$LN_S" && LN_S="ln -s" |
test -z "$LN_S" && LN_S="ln -s" |
|
|
|
|
Line 8912 _lt_linker_boilerplate=`cat conftest.err`
|
Line 10163 _lt_linker_boilerplate=`cat conftest.err`
|
$RM -r conftest* |
$RM -r conftest* |
|
|
|
|
|
## CAVEAT EMPTOR: |
|
## There is no encapsulation within the following macros, do not change |
|
## the running order or otherwise move them around unless you know exactly |
|
## what you are doing... |
if test -n "$compiler"; then |
if test -n "$compiler"; then |
|
|
lt_prog_compiler_no_builtin_flag= |
lt_prog_compiler_no_builtin_flag= |
Line 9078 lt_prog_compiler_static=
|
Line 10333 lt_prog_compiler_static=
|
case $cc_basename in |
case $cc_basename in |
nvcc*) # Cuda Compiler Driver 2.2 |
nvcc*) # Cuda Compiler Driver 2.2 |
lt_prog_compiler_wl='-Xlinker ' |
lt_prog_compiler_wl='-Xlinker ' |
lt_prog_compiler_pic='-Xcompiler -fPIC' | if test -n "$lt_prog_compiler_pic"; then |
| lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
| fi |
;; |
;; |
esac |
esac |
else |
else |
Line 9169 lt_prog_compiler_static=
|
Line 10426 lt_prog_compiler_static=
|
;; |
;; |
*) |
*) |
case `$CC -V 2>&1 | sed 5q` in |
case `$CC -V 2>&1 | sed 5q` in |
*Sun\ F* | *Sun*Fortran*) | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
# Sun Fortran 8.3 passes all unrecognized flags to the linker |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='' |
lt_prog_compiler_wl='' |
;; |
;; |
|
*Sun\ F* | *Sun*Fortran*) |
|
lt_prog_compiler_pic='-KPIC' |
|
lt_prog_compiler_static='-Bstatic' |
|
lt_prog_compiler_wl='-Qoption ld ' |
|
;; |
*Sun\ C*) |
*Sun\ C*) |
# Sun C 5.9 |
# Sun C 5.9 |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_pic='-KPIC' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_static='-Bstatic' |
lt_prog_compiler_wl='-Wl,' |
lt_prog_compiler_wl='-Wl,' |
;; |
;; |
|
*Intel*\ [CF]*Compiler*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-fPIC' |
|
lt_prog_compiler_static='-static' |
|
;; |
|
*Portland\ Group*) |
|
lt_prog_compiler_wl='-Wl,' |
|
lt_prog_compiler_pic='-fpic' |
|
lt_prog_compiler_static='-Bstatic' |
|
;; |
esac |
esac |
;; |
;; |
esac |
esac |
Line 9542 $as_echo_n "checking whether the $compiler linker ($LD
|
Line 10814 $as_echo_n "checking whether the $compiler linker ($LD
|
hardcode_direct=no |
hardcode_direct=no |
hardcode_direct_absolute=no |
hardcode_direct_absolute=no |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec= |
hardcode_libdir_flag_spec_ld= |
|
hardcode_libdir_separator= |
hardcode_libdir_separator= |
hardcode_minus_L=no |
hardcode_minus_L=no |
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
Line 9792 _LT_EOF
|
Line 11063 _LT_EOF
|
xlf* | bgf* | bgxlf* | mpixlf*) |
xlf* | bgf* | bgxlf* | mpixlf*) |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
hardcode_libdir_flag_spec= | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='-rpath $libdir' | |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
if test "x$supports_anon_versioning" = xyes; then |
if test "x$supports_anon_versioning" = xyes; then |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
Line 10172 fi
|
Line 11442 fi
|
# The linker will not automatically build a static lib if we build a DLL. |
# The linker will not automatically build a static lib if we build a DLL. |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
# _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
enable_shared_with_static_runtimes=yes |
enable_shared_with_static_runtimes=yes |
|
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
# Don't use ranlib |
# Don't use ranlib |
old_postinstall_cmds='chmod 644 $oldlib' |
old_postinstall_cmds='chmod 644 $oldlib' |
Line 10217 fi
|
Line 11488 fi
|
hardcode_shlibpath_var=unsupported |
hardcode_shlibpath_var=unsupported |
if test "$lt_cv_ld_force_load" = "yes"; then |
if test "$lt_cv_ld_force_load" = "yes"; then |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
|
else |
else |
whole_archive_flag_spec='' |
whole_archive_flag_spec='' |
fi |
fi |
Line 10245 fi
|
Line 11517 fi
|
hardcode_shlibpath_var=no |
hardcode_shlibpath_var=no |
;; |
;; |
|
|
freebsd1*) |
|
ld_shlibs=no |
|
;; |
|
|
|
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
# support. Future versions do this automatically, but an explicit c++rt0.o |
# support. Future versions do this automatically, but an explicit c++rt0.o |
# does not break anything, and helps significantly (at the cost of a little |
# does not break anything, and helps significantly (at the cost of a little |
Line 10261 fi
|
Line 11529 fi
|
;; |
;; |
|
|
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
# Unfortunately, older versions of FreeBSD 2 do not have this feature. |
freebsd2*) | freebsd2.*) |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
hardcode_direct=yes |
hardcode_direct=yes |
hardcode_minus_L=yes |
hardcode_minus_L=yes |
Line 10300 fi
|
Line 11568 fi
|
fi |
fi |
if test "$with_gnu_ld" = no; then |
if test "$with_gnu_ld" = no; then |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
hardcode_libdir_flag_spec_ld='+b $libdir' |
|
hardcode_libdir_separator=: |
hardcode_libdir_separator=: |
hardcode_direct=yes |
hardcode_direct=yes |
hardcode_direct_absolute=yes |
hardcode_direct_absolute=yes |
Line 10924 esac
|
Line 12191 esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
|
Line 11018 need_version=unknown
|
Line 12280 need_version=unknown
|
|
|
case $host_os in |
case $host_os in |
aix3*) |
aix3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
shlibpath_var=LIBPATH |
shlibpath_var=LIBPATH |
|
|
Line 11027 aix3*)
|
Line 12289 aix3*)
|
;; |
;; |
|
|
aix[4-9]*) |
aix[4-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
Line 11092 beos*)
|
Line 12354 beos*)
|
;; |
;; |
|
|
bsdi[45]*) |
bsdi[45]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
Line 11231 darwin* | rhapsody*)
|
Line 12493 darwin* | rhapsody*)
|
;; |
;; |
|
|
dgux*) |
dgux*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
Line 11239 dgux*)
|
Line 12501 dgux*)
|
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
;; |
;; |
|
|
freebsd1*) |
|
dynamic_linker=no |
|
;; |
|
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly*) |
# DragonFly does not have aout. When/if they implement a new |
# DragonFly does not have aout. When/if they implement a new |
# versioning mechanism, adjust this. |
# versioning mechanism, adjust this. |
Line 11250 freebsd* | dragonfly*)
|
Line 12508 freebsd* | dragonfly*)
|
objformat=`/usr/bin/objformat` |
objformat=`/usr/bin/objformat` |
else |
else |
case $host_os in |
case $host_os in |
freebsd[123]*) objformat=aout ;; | freebsd[23].*) objformat=aout ;; |
*) objformat=elf ;; |
*) objformat=elf ;; |
esac |
esac |
fi |
fi |
# Handle Gentoo/FreeBSD as it was Linux | version_type=freebsd-$objformat |
case $host_vendor in | |
gentoo) | |
version_type=linux ;; | |
*) | |
version_type=freebsd-$objformat ;; | |
esac | |
| |
case $version_type in |
case $version_type in |
freebsd-elf*) |
freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
Line 11272 freebsd* | dragonfly*)
|
Line 12523 freebsd* | dragonfly*)
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes |
need_version=yes |
;; |
;; |
linux) |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
need_lib_prefix=no |
|
need_version=no |
|
;; |
|
esac |
esac |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
case $host_os in |
case $host_os in |
freebsd2*) | freebsd2.*) |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
;; |
;; |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
Line 11301 freebsd* | dragonfly*)
|
Line 12546 freebsd* | dragonfly*)
|
;; |
;; |
|
|
gnu*) |
gnu*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
|
shlibpath_overrides_runpath=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
;; |
;; |
|
|
haiku*) |
haiku*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
dynamic_linker="$host_os runtime_loader" |
dynamic_linker="$host_os runtime_loader" |
Line 11372 hpux9* | hpux10* | hpux11*)
|
Line 12618 hpux9* | hpux10* | hpux11*)
|
;; |
;; |
|
|
interix[3-9]*) |
interix[3-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
Line 11388 irix5* | irix6* | nonstopux*)
|
Line 12634 irix5* | irix6* | nonstopux*)
|
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
*) |
*) |
if test "$lt_cv_prog_gnu_ld" = yes; then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
else |
else |
version_type=irix |
version_type=irix |
fi ;; |
fi ;; |
Line 11425 linux*oldld* | linux*aout* | linux*coff*)
|
Line 12671 linux*oldld* | linux*aout* | linux*coff*)
|
dynamic_linker=no |
dynamic_linker=no |
;; |
;; |
|
|
# This must be Linux ELF. | # This must be glibc/ELF. |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11509 netbsd*)
|
Line 12755 netbsd*)
|
;; |
;; |
|
|
newsos6) |
newsos6) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
Line 11578 rdos*)
|
Line 12824 rdos*)
|
;; |
;; |
|
|
solaris*) |
solaris*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11603 sunos4*)
|
Line 12849 sunos4*)
|
;; |
;; |
|
|
sysv4 | sysv4.3*) |
sysv4 | sysv4.3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 11627 sysv4 | sysv4.3*)
|
Line 12873 sysv4 | sysv4.3*)
|
|
|
sysv4*MP*) |
sysv4*MP*) |
if test -d /usr/nec ;then |
if test -d /usr/nec ;then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
soname_spec='$libname${shared_ext}.$major' |
soname_spec='$libname${shared_ext}.$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 11658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
Line 12904 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
|
|
tpf*) |
tpf*) |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 11668 tpf*)
|
Line 12914 tpf*)
|
;; |
;; |
|
|
uts4*) |
uts4*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 12593 export_dynamic_flag_spec_CXX=
|
Line 13839 export_dynamic_flag_spec_CXX=
|
hardcode_direct_CXX=no |
hardcode_direct_CXX=no |
hardcode_direct_absolute_CXX=no |
hardcode_direct_absolute_CXX=no |
hardcode_libdir_flag_spec_CXX= |
hardcode_libdir_flag_spec_CXX= |
hardcode_libdir_flag_spec_ld_CXX= |
|
hardcode_libdir_separator_CXX= |
hardcode_libdir_separator_CXX= |
hardcode_minus_L_CXX=no |
hardcode_minus_L_CXX=no |
hardcode_shlibpath_var_CXX=unsupported |
hardcode_shlibpath_var_CXX=unsupported |
Line 13177 fi
|
Line 14422 fi
|
hardcode_shlibpath_var_CXX=unsupported |
hardcode_shlibpath_var_CXX=unsupported |
if test "$lt_cv_ld_force_load" = "yes"; then |
if test "$lt_cv_ld_force_load" = "yes"; then |
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
|
|
else |
else |
whole_archive_flag_spec_CXX='' |
whole_archive_flag_spec_CXX='' |
fi |
fi |
Line 13221 fi
|
Line 14467 fi
|
esac |
esac |
;; |
;; |
|
|
freebsd[12]*) | freebsd2.*) |
# C++ shared libraries reported to be fairly broken before |
# C++ shared libraries reported to be fairly broken before |
# switch to ELF |
# switch to ELF |
ld_shlibs_CXX=no |
ld_shlibs_CXX=no |
Line 13897 _lt_libdeps_save_CFLAGS=$CFLAGS
|
Line 15143 _lt_libdeps_save_CFLAGS=$CFLAGS
|
case "$CC $CFLAGS " in #( |
case "$CC $CFLAGS " in #( |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; |
|
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; |
esac |
esac |
|
|
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
Line 14686 $as_echo_n "checking whether the $compiler linker ($LD
|
Line 15933 $as_echo_n "checking whether the $compiler linker ($LD
|
;; |
;; |
cygwin* | mingw* | cegcc*) |
cygwin* | mingw* | cegcc*) |
case $cc_basename in |
case $cc_basename in |
cl*) ;; | cl*) |
| exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
| ;; |
*) |
*) |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
Line 14839 esac
|
Line 16088 esac
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
$as_echo_n "checking dynamic linker characteristics... " >&6; } |
|
|
Line 14866 need_version=unknown
|
Line 16113 need_version=unknown
|
|
|
case $host_os in |
case $host_os in |
aix3*) |
aix3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
shlibpath_var=LIBPATH |
shlibpath_var=LIBPATH |
|
|
Line 14875 aix3*)
|
Line 16122 aix3*)
|
;; |
;; |
|
|
aix[4-9]*) |
aix[4-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
Line 14940 beos*)
|
Line 16187 beos*)
|
;; |
;; |
|
|
bsdi[45]*) |
bsdi[45]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
Line 15077 darwin* | rhapsody*)
|
Line 16324 darwin* | rhapsody*)
|
;; |
;; |
|
|
dgux*) |
dgux*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
Line 15085 dgux*)
|
Line 16332 dgux*)
|
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
;; |
;; |
|
|
freebsd1*) |
|
dynamic_linker=no |
|
;; |
|
|
|
freebsd* | dragonfly*) |
freebsd* | dragonfly*) |
# DragonFly does not have aout. When/if they implement a new |
# DragonFly does not have aout. When/if they implement a new |
# versioning mechanism, adjust this. |
# versioning mechanism, adjust this. |
Line 15096 freebsd* | dragonfly*)
|
Line 16339 freebsd* | dragonfly*)
|
objformat=`/usr/bin/objformat` |
objformat=`/usr/bin/objformat` |
else |
else |
case $host_os in |
case $host_os in |
freebsd[123]*) objformat=aout ;; | freebsd[23].*) objformat=aout ;; |
*) objformat=elf ;; |
*) objformat=elf ;; |
esac |
esac |
fi |
fi |
# Handle Gentoo/FreeBSD as it was Linux | version_type=freebsd-$objformat |
case $host_vendor in | |
gentoo) | |
version_type=linux ;; | |
*) | |
version_type=freebsd-$objformat ;; | |
esac | |
| |
case $version_type in |
case $version_type in |
freebsd-elf*) |
freebsd-elf*) |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
Line 15118 freebsd* | dragonfly*)
|
Line 16354 freebsd* | dragonfly*)
|
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
need_version=yes |
need_version=yes |
;; |
;; |
linux) |
|
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
|
soname_spec='${libname}${release}${shared_ext}$major' |
|
need_lib_prefix=no |
|
need_version=no |
|
;; |
|
esac |
esac |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
case $host_os in |
case $host_os in |
freebsd2*) | freebsd2.*) |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
;; |
;; |
freebsd3.[01]* | freebsdelf3.[01]*) |
freebsd3.[01]* | freebsdelf3.[01]*) |
Line 15147 freebsd* | dragonfly*)
|
Line 16377 freebsd* | dragonfly*)
|
;; |
;; |
|
|
gnu*) |
gnu*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
|
shlibpath_overrides_runpath=no |
hardcode_into_libs=yes |
hardcode_into_libs=yes |
;; |
;; |
|
|
haiku*) |
haiku*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
dynamic_linker="$host_os runtime_loader" |
dynamic_linker="$host_os runtime_loader" |
Line 15218 hpux9* | hpux10* | hpux11*)
|
Line 16449 hpux9* | hpux10* | hpux11*)
|
;; |
;; |
|
|
interix[3-9]*) |
interix[3-9]*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
Line 15234 irix5* | irix6* | nonstopux*)
|
Line 16465 irix5* | irix6* | nonstopux*)
|
nonstopux*) version_type=nonstopux ;; |
nonstopux*) version_type=nonstopux ;; |
*) |
*) |
if test "$lt_cv_prog_gnu_ld" = yes; then |
if test "$lt_cv_prog_gnu_ld" = yes; then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
else |
else |
version_type=irix |
version_type=irix |
fi ;; |
fi ;; |
Line 15271 linux*oldld* | linux*aout* | linux*coff*)
|
Line 16502 linux*oldld* | linux*aout* | linux*coff*)
|
dynamic_linker=no |
dynamic_linker=no |
;; |
;; |
|
|
# This must be Linux ELF. | # This must be glibc/ELF. |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
linux* | k*bsd*-gnu | kopensolaris*-gnu) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 15355 netbsd*)
|
Line 16586 netbsd*)
|
;; |
;; |
|
|
newsos6) |
newsos6) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_overrides_runpath=yes |
shlibpath_overrides_runpath=yes |
Line 15424 rdos*)
|
Line 16655 rdos*)
|
;; |
;; |
|
|
solaris*) |
solaris*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 15449 sunos4*)
|
Line 16680 sunos4*)
|
;; |
;; |
|
|
sysv4 | sysv4.3*) |
sysv4 | sysv4.3*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 15473 sysv4 | sysv4.3*)
|
Line 16704 sysv4 | sysv4.3*)
|
|
|
sysv4*MP*) |
sysv4*MP*) |
if test -d /usr/nec ;then |
if test -d /usr/nec ;then |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
soname_spec='$libname${shared_ext}.$major' |
soname_spec='$libname${shared_ext}.$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 15504 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
Line 16735 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* |
|
|
|
tpf*) |
tpf*) |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
# TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
need_lib_prefix=no |
need_lib_prefix=no |
need_version=no |
need_version=no |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
Line 15514 tpf*)
|
Line 16745 tpf*)
|
;; |
;; |
|
|
uts4*) |
uts4*) |
version_type=linux | version_type=linux # correct to gnu/linux during the next big refactor |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
soname_spec='${libname}${release}${shared_ext}$major' |
soname_spec='${libname}${release}${shared_ext}$major' |
shlibpath_var=LD_LIBRARY_PATH |
shlibpath_var=LD_LIBRARY_PATH |
Line 15653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
Line 16884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
|
|
|
|
|
|
|
|
|
|
ac_config_commands="$ac_config_commands libtool" |
ac_config_commands="$ac_config_commands libtool" |
|
|
|
|
Line 15673 $as_echo "no, using $LN_S" >&6; }
|
Line 16906 $as_echo "no, using $LN_S" >&6; }
|
fi |
fi |
|
|
|
|
|
# Check for GCC visibility feature |
|
|
|
|
|
|
|
VISIBILITY_CFLAGS= |
|
VISIBILITY_CXXFLAGS= |
|
HAVE_VISIBILITY=0 |
|
if test -n "$GCC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the -Werror option is usable" >&5 |
|
$as_echo_n "checking whether the -Werror option is usable... " >&6; } |
|
if ${pcre_cv_cc_vis_werror+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
|
|
pcre_save_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS -Werror" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
pcre_cv_cc_vis_werror=yes |
|
else |
|
pcre_cv_cc_vis_werror=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
CFLAGS="$pcre_save_CFLAGS" |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_vis_werror" >&5 |
|
$as_echo "$pcre_cv_cc_vis_werror" >&6; } |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5 |
|
$as_echo_n "checking for simple visibility declarations... " >&6; } |
|
if ${pcre_cv_cc_visibility+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
|
|
pcre_save_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS -fvisibility=hidden" |
|
if test $pcre_cv_cc_vis_werror = yes; then |
|
CFLAGS="$CFLAGS -Werror" |
|
fi |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
extern __attribute__((__visibility__("hidden"))) int hiddenvar; |
|
extern __attribute__((__visibility__("default"))) int exportedvar; |
|
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void); |
|
extern __attribute__((__visibility__("default"))) int exportedfunc (void); |
|
void dummyfunc (void) {} |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
pcre_cv_cc_visibility=yes |
|
else |
|
pcre_cv_cc_visibility=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
CFLAGS="$pcre_save_CFLAGS" |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $pcre_cv_cc_visibility" >&5 |
|
$as_echo "$pcre_cv_cc_visibility" >&6; } |
|
if test $pcre_cv_cc_visibility = yes; then |
|
VISIBILITY_CFLAGS="-fvisibility=hidden" |
|
VISIBILITY_CXXFLAGS="-fvisibility=hidden -fvisibility-inlines-hidden" |
|
HAVE_VISIBILITY=1 |
|
|
|
$as_echo "#define PCRE_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCRE_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCRE_EXP_DATA_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCREPOSIX_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCREPOSIX_EXP_DEFN extern __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCRECPP_EXP_DECL extern __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
|
|
$as_echo "#define PCRECPP_EXP_DEFN __attribute__ ((visibility (\"default\")))" >>confdefs.h |
|
|
|
fi |
|
fi |
|
|
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_VISIBILITY $HAVE_VISIBILITY |
|
_ACEOF |
|
|
|
|
|
|
|
# Versioning |
|
|
PCRE_MAJOR="8" |
PCRE_MAJOR="8" |
PCRE_MINOR="21" | PCRE_MINOR="34" |
PCRE_PRERELEASE="" |
PCRE_PRERELEASE="" |
PCRE_DATE="2011-12-12" | PCRE_DATE="2013-12-15" |
|
|
if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09" |
if test "$PCRE_MINOR" = "08" -o "$PCRE_MINOR" = "09" |
then |
then |
Line 15698 then
|
Line 17046 then
|
htmldir='${docdir}/html' |
htmldir='${docdir}/html' |
fi |
fi |
|
|
|
# Handle --disable-pcre8 (enabled by default) |
|
# Check whether --enable-pcre8 was given. |
|
if test "${enable_pcre8+set}" = set; then : |
|
enableval=$enable_pcre8; |
|
else |
|
enable_pcre8=unset |
|
fi |
|
|
|
|
|
|
|
# Handle --enable-pcre16 (disabled by default) |
|
# Check whether --enable-pcre16 was given. |
|
if test "${enable_pcre16+set}" = set; then : |
|
enableval=$enable_pcre16; |
|
else |
|
enable_pcre16=unset |
|
fi |
|
|
|
|
|
|
|
# Handle --enable-pcre32 (disabled by default) |
|
# Check whether --enable-pcre32 was given. |
|
if test "${enable_pcre32+set}" = set; then : |
|
enableval=$enable_pcre32; |
|
else |
|
enable_pcre32=unset |
|
fi |
|
|
|
|
|
|
# Handle --disable-cpp. The substitution of enable_cpp is needed for use in |
# Handle --disable-cpp. The substitution of enable_cpp is needed for use in |
# pcre-config. |
# pcre-config. |
# Check whether --enable-cpp was given. |
# Check whether --enable-cpp was given. |
if test "${enable_cpp+set}" = set; then : |
if test "${enable_cpp+set}" = set; then : |
enableval=$enable_cpp; |
enableval=$enable_cpp; |
else |
else |
enable_cpp=yes | enable_cpp=unset |
fi |
fi |
|
|
|
|
Line 15745 else
|
Line 17123 else
|
fi |
fi |
|
|
|
|
|
# Handle --enable-utf (disabled by default) |
|
# Check whether --enable-utf was given. |
|
if test "${enable_utf+set}" = set; then : |
|
enableval=$enable_utf; |
|
else |
|
enable_utf=unset |
|
fi |
|
|
|
|
# Handle --enable-unicode-properties |
# Handle --enable-unicode-properties |
# Check whether --enable-unicode-properties was given. |
# Check whether --enable-unicode-properties was given. |
if test "${enable_unicode_properties+set}" = set; then : |
if test "${enable_unicode_properties+set}" = set; then : |
Line 15754 else
|
Line 17141 else
|
fi |
fi |
|
|
|
|
# Handle --enable-newline=NL | # Handle newline options |
| |
# Separate newline options | |
ac_pcre_newline=lf |
ac_pcre_newline=lf |
# Check whether --enable-newline-is-cr was given. |
# Check whether --enable-newline-is-cr was given. |
if test "${enable_newline_is_cr+set}" = set; then : |
if test "${enable_newline_is_cr+set}" = set; then : |
Line 15803 else
|
Line 17188 else
|
fi |
fi |
|
|
|
|
|
# Handle --enable-ebcdic-nl25 |
|
# Check whether --enable-ebcdic-nl25 was given. |
|
if test "${enable_ebcdic_nl25+set}" = set; then : |
|
enableval=$enable_ebcdic_nl25; |
|
else |
|
enable_ebcdic_nl25=no |
|
fi |
|
|
|
|
# Handle --disable-stack-for-recursion |
# Handle --disable-stack-for-recursion |
# Check whether --enable-stack-for-recursion was given. |
# Check whether --enable-stack-for-recursion was given. |
if test "${enable_stack_for_recursion+set}" = set; then : |
if test "${enable_stack_for_recursion+set}" = set; then : |
Line 15840 else
|
Line 17234 else
|
fi |
fi |
|
|
|
|
|
# Handle --enable-pcretest-libedit |
|
# Check whether --enable-pcretest-libedit was given. |
|
if test "${enable_pcretest_libedit+set}" = set; then : |
|
enableval=$enable_pcretest_libedit; |
|
else |
|
enable_pcretest_libedit=no |
|
fi |
|
|
|
|
# Handle --enable-pcretest-libreadline |
# Handle --enable-pcretest-libreadline |
# Check whether --enable-pcretest-libreadline was given. |
# Check whether --enable-pcretest-libreadline was given. |
if test "${enable_pcretest_libreadline+set}" = set; then : |
if test "${enable_pcretest_libreadline+set}" = set; then : |
Line 15869 else
|
Line 17272 else
|
fi |
fi |
|
|
|
|
|
# Handle --with-parens-nest-limit=N |
|
|
|
# Check whether --with-parens-nest-limit was given. |
|
if test "${with_parens_nest_limit+set}" = set; then : |
|
withval=$with_parens_nest_limit; |
|
else |
|
with_parens_nest_limit=250 |
|
fi |
|
|
|
|
# Handle --with-match-limit=N |
# Handle --with-match-limit=N |
|
|
# Check whether --with-match-limit was given. |
# Check whether --with-match-limit was given. |
Line 15896 else
|
Line 17309 else
|
fi |
fi |
|
|
|
|
# Make sure that if enable_unicode_properties was set, that UTF-8 support | # Handle --enable-valgrind |
# is enabled. | # Check whether --enable-valgrind was given. |
# | if test "${enable_valgrind+set}" = set; then : |
| enableval=$enable_valgrind; |
| else |
| enable_valgrind=no |
| fi |
| |
| |
| # Enable code coverage reports using gcov |
| # Check whether --enable-coverage was given. |
| if test "${enable_coverage+set}" = set; then : |
| enableval=$enable_coverage; |
| else |
| enable_coverage=no |
| fi |
| |
| |
| # Copy enable_utf8 value to enable_utf for compatibility reasons |
| if test "x$enable_utf8" != "xunset" |
| then |
| if test "x$enable_utf" != "xunset" |
| then |
| as_fn_error $? "--enable/disable-utf8 is kept only for compatibility reasons and its value is copied to --enable/disable-utf. Newer code must use --enable/disable-utf alone." "$LINENO" 5 |
| fi |
| enable_utf=$enable_utf8 |
| fi |
| |
| # Set the default value for pcre8 |
| if test "x$enable_pcre8" = "xunset" |
| then |
| enable_pcre8=yes |
| fi |
| |
| # Set the default value for pcre16 |
| if test "x$enable_pcre16" = "xunset" |
| then |
| enable_pcre16=no |
| fi |
| |
| # Set the default value for pcre32 |
| if test "x$enable_pcre32" = "xunset" |
| then |
| enable_pcre32=no |
| fi |
| |
| # Make sure enable_pcre8 or enable_pcre16 was set |
| if test "x$enable_pcre8$enable_pcre16$enable_pcre32" = "xnonono" |
| then |
| as_fn_error $? "At least one of 8, 16 or 32 bit pcre library must be enabled" "$LINENO" 5 |
| fi |
| |
| # Make sure that if enable_unicode_properties was set, that UTF support is enabled. |
if test "x$enable_unicode_properties" = "xyes" |
if test "x$enable_unicode_properties" = "xyes" |
then |
then |
if test "x$enable_utf8" = "xno" | if test "x$enable_utf" = "xno" |
then |
then |
as_fn_error $? "support for Unicode properties requires UTF-8 support" "$LINENO" 5 | as_fn_error $? "support for Unicode properties requires UTF-8/16/32 support" "$LINENO" 5 |
fi |
fi |
enable_utf8=yes | enable_utf=yes |
fi |
fi |
|
|
if test "x$enable_utf8" = "xunset" | # enable_utf is disabled by default. |
| if test "x$enable_utf" = "xunset" |
then |
then |
enable_utf8=no | enable_utf=no |
fi |
fi |
|
|
# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled. | # enable_cpp copies the value of enable_pcre8 by default |
# Also check that UTF-8 support is not requested, because PCRE cannot handle | if test "x$enable_cpp" = "xunset" |
# EBCDIC and UTF-8 in the same build. To do so it would need to use different | |
# character constants depending on the mode. | |
# | |
if test "x$enable_ebcdic" = "xyes" | |
then |
then |
enable_rebuild_chartables=yes | enable_cpp=$enable_pcre8 |
if test "x$enable_utf8" = "xyes" | fi |
| |
| # Make sure that if enable_cpp was set, that enable_pcre8 support is enabled |
| if test "x$enable_cpp" = "xyes" |
| then |
| if test "x$enable_pcre8" = "xno" |
then |
then |
as_fn_error $? "support for EBCDIC and UTF-8 cannot be enabled at the same time" "$LINENO" 5 | as_fn_error $? "C++ library requires pcre library with 8 bit characters" "$LINENO" 5 |
fi |
fi |
fi |
fi |
|
|
# Convert the newline identifier into the appropriate integer value. | # Convert the newline identifier into the appropriate integer value. The first |
| # three are ASCII values 0x0a, 0x0d, and 0x0d0a, but if EBCDIC is enabled, they |
| # are changed below. |
| |
case "$enable_newline" in |
case "$enable_newline" in |
lf) ac_pcre_newline_value=10 ;; |
lf) ac_pcre_newline_value=10 ;; |
cr) ac_pcre_newline_value=13 ;; |
cr) ac_pcre_newline_value=13 ;; |
Line 15939 case "$enable_newline" in
|
Line 17407 case "$enable_newline" in
|
;; |
;; |
esac |
esac |
|
|
|
# --enable-ebcdic-nl25 implies --enable-ebcdic |
|
if test "x$enable_ebcdic_nl25" = "xyes"; then |
|
enable_ebcdic=yes |
|
fi |
|
|
|
# Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled, |
|
# and the newline value is adjusted appropriately (CR is still 13, but LF is |
|
# 21 or 37). Also check that UTF support is not requested, because PCRE cannot |
|
# handle EBCDIC and UTF in the same build. To do so it would need to use |
|
# different character constants depending on the mode. |
|
# |
|
if test "x$enable_ebcdic" = "xyes"; then |
|
enable_rebuild_chartables=yes |
|
|
|
if test "x$enable_utf" = "xyes"; then |
|
as_fn_error $? "support for EBCDIC and UTF-8/16/32 cannot be enabled at the same time" "$LINENO" 5 |
|
fi |
|
|
|
if test "x$enable_ebcdic_nl25" = "xno"; then |
|
case "$ac_pcre_newline_value" in |
|
10) ac_pcre_newline_value=21 ;; |
|
3338) ac_pcre_newline_value=3349 ;; |
|
esac |
|
else |
|
case "$ac_pcre_newline_value" in |
|
10) ac_pcre_newline_value=37 ;; |
|
3338) ac_pcre_newline_value=3365 ;; |
|
esac |
|
fi |
|
fi |
|
|
# Check argument to --with-link-size |
# Check argument to --with-link-size |
case "$with_link_size" in |
case "$with_link_size" in |
2|3|4) ;; |
2|3|4) ;; |
Line 16079 done
|
Line 17578 done
|
# The files below are C++ header files. |
# The files below are C++ header files. |
pcre_have_type_traits="0" |
pcre_have_type_traits="0" |
pcre_have_bits_type_traits="0" |
pcre_have_bits_type_traits="0" |
|
|
|
if test "x$enable_cpp" = "xyes" -a -z "$CXX"; then |
|
as_fn_error $? "You need a C++ compiler for C++ support." "$LINENO" 5 |
|
fi |
|
|
if test "x$enable_cpp" = "xyes" -a -n "$CXX" |
if test "x$enable_cpp" = "xyes" -a -n "$CXX" |
then |
then |
ac_ext=cpp |
ac_ext=cpp |
Line 16268 fi
|
Line 17772 fi
|
|
|
|
|
# Conditional compilation |
# Conditional compilation |
|
if test "x$enable_pcre8" = "xyes"; then |
|
WITH_PCRE8_TRUE= |
|
WITH_PCRE8_FALSE='#' |
|
else |
|
WITH_PCRE8_TRUE='#' |
|
WITH_PCRE8_FALSE= |
|
fi |
|
|
|
if test "x$enable_pcre16" = "xyes"; then |
|
WITH_PCRE16_TRUE= |
|
WITH_PCRE16_FALSE='#' |
|
else |
|
WITH_PCRE16_TRUE='#' |
|
WITH_PCRE16_FALSE= |
|
fi |
|
|
|
if test "x$enable_pcre32" = "xyes"; then |
|
WITH_PCRE32_TRUE= |
|
WITH_PCRE32_FALSE='#' |
|
else |
|
WITH_PCRE32_TRUE='#' |
|
WITH_PCRE32_FALSE= |
|
fi |
|
|
if test "x$enable_cpp" = "xyes"; then |
if test "x$enable_cpp" = "xyes"; then |
WITH_PCRE_CPP_TRUE= |
WITH_PCRE_CPP_TRUE= |
WITH_PCRE_CPP_FALSE='#' |
WITH_PCRE_CPP_FALSE='#' |
Line 16292 else
|
Line 17820 else
|
WITH_JIT_FALSE= |
WITH_JIT_FALSE= |
fi |
fi |
|
|
if test "x$enable_utf8" = "xyes"; then | if test "x$enable_utf" = "xyes"; then |
WITH_UTF8_TRUE= | WITH_UTF_TRUE= |
WITH_UTF8_FALSE='#' | WITH_UTF_FALSE='#' |
else |
else |
WITH_UTF8_TRUE='#' | WITH_UTF_TRUE='#' |
WITH_UTF8_FALSE= | WITH_UTF_FALSE= |
fi |
fi |
|
|
|
if test "x$enable_valgrind" = "xyes"; then |
|
WITH_VALGRIND_TRUE= |
|
WITH_VALGRIND_FALSE='#' |
|
else |
|
WITH_VALGRIND_TRUE='#' |
|
WITH_VALGRIND_FALSE= |
|
fi |
|
|
|
|
# Checks for typedefs, structures, and compiler characteristics. |
# Checks for typedefs, structures, and compiler characteristics. |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
Line 16314 else
|
Line 17850 else
|
int |
int |
main () |
main () |
{ |
{ |
/* FIXME: Include the comments suggested by Paul. */ | |
#ifndef __cplusplus |
#ifndef __cplusplus |
/* Ultrix mips cc rejects this. */ | /* Ultrix mips cc rejects this sort of thing. */ |
typedef int charset[2]; |
typedef int charset[2]; |
const charset cs; | const charset cs = { 0, 0 }; |
/* SunOS 4.1.1 cc rejects this. */ |
/* SunOS 4.1.1 cc rejects this. */ |
char const *const *pcpcc; |
char const *const *pcpcc; |
char **ppc; |
char **ppc; |
Line 16335 main ()
|
Line 17871 main ()
|
++pcpcc; |
++pcpcc; |
ppc = (char**) pcpcc; |
ppc = (char**) pcpcc; |
pcpcc = (char const *const *) ppc; |
pcpcc = (char const *const *) ppc; |
{ /* SCO 3.2v4 cc rejects this. */ | { /* SCO 3.2v4 cc rejects this sort of thing. */ |
char *t; | char tx; |
| char *t = &tx; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
*t++ = 0; |
*t++ = 0; |
Line 16352 main ()
|
Line 17889 main ()
|
iptr p = 0; |
iptr p = 0; |
++p; |
++p; |
} |
} |
{ /* AIX XL C 1.02.0.0 rejects this saying | { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
struct s { int j; const int *ap[3]; }; | struct s { int j; const int *ap[3]; } bx; |
struct s *b; b->j = 5; | struct s *b = &bx; b->j = 5; |
} |
} |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
const int foo = 10; |
const int foo = 10; |
Line 16529 LIBS="$OLD_LIBS"
|
Line 18066 LIBS="$OLD_LIBS"
|
|
|
# Check for the availabiity of libreadline |
# Check for the availabiity of libreadline |
|
|
for ac_header in readline/readline.h | if test "$enable_pcretest_libreadline" = "yes"; then |
| for ac_header in readline/readline.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" |
if test "x$ac_cv_header_readline_readline_h" = xyes; then : |
if test "x$ac_cv_header_readline_readline_h" = xyes; then : |
Line 16541 fi
|
Line 18079 fi
|
|
|
done |
done |
|
|
for ac_header in readline/history.h | for ac_header in readline/history.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default" |
if test "x$ac_cv_header_readline_history_h" = xyes; then : |
if test "x$ac_cv_header_readline_history_h" = xyes; then : |
Line 16553 fi
|
Line 18091 fi
|
|
|
done |
done |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
$as_echo_n "checking for readline in -lreadline... " >&6; } |
$as_echo_n "checking for readline in -lreadline... " >&6; } |
if ${ac_cv_lib_readline_readline+:} false; then : |
if ${ac_cv_lib_readline_readline+:} false; then : |
$as_echo_n "(cached) " >&6 |
$as_echo_n "(cached) " >&6 |
Line 16590 fi
|
Line 18128 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
HAVE_LIB_READLINE=1 | LIBREADLINE="-lreadline" |
| else |
| unset ac_cv_lib_readline_readline; |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
| $as_echo_n "checking for readline in -lreadline... " >&6; } |
| if ${ac_cv_lib_readline_readline+:} false; then : |
| $as_echo_n "(cached) " >&6 |
| else |
| ac_check_lib_save_LIBS=$LIBS |
| LIBS="-lreadline -ltinfo $LIBS" |
| cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
| /* end confdefs.h. */ |
| |
| /* Override any GCC internal prototype to avoid an error. |
| Use char because int might match the return type of a GCC |
| builtin and then its argument prototype would still apply. */ |
| #ifdef __cplusplus |
| extern "C" |
| #endif |
| char readline (); |
| int |
| main () |
| { |
| return readline (); |
| ; |
| return 0; |
| } |
| _ACEOF |
| if ac_fn_c_try_link "$LINENO"; then : |
| ac_cv_lib_readline_readline=yes |
| else |
| ac_cv_lib_readline_readline=no |
fi |
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
|
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
|
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
LIBREADLINE="-ltinfo" |
|
else |
|
unset ac_cv_lib_readline_readline; |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
|
$as_echo_n "checking for readline in -lreadline... " >&6; } |
|
if ${ac_cv_lib_readline_readline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lreadline -lcurses $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char readline (); |
|
int |
|
main () |
|
{ |
|
return readline (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_readline_readline=yes |
|
else |
|
ac_cv_lib_readline_readline=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
|
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
|
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
LIBREADLINE="-lcurses" |
|
else |
|
unset ac_cv_lib_readline_readline; |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
|
$as_echo_n "checking for readline in -lreadline... " >&6; } |
|
if ${ac_cv_lib_readline_readline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lreadline -lncurses $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char readline (); |
|
int |
|
main () |
|
{ |
|
return readline (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_readline_readline=yes |
|
else |
|
ac_cv_lib_readline_readline=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
|
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
|
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
LIBREADLINE="-lncurses" |
|
else |
|
unset ac_cv_lib_readline_readline; |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
|
$as_echo_n "checking for readline in -lreadline... " >&6; } |
|
if ${ac_cv_lib_readline_readline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lreadline -lncursesw $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char readline (); |
|
int |
|
main () |
|
{ |
|
return readline (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_readline_readline=yes |
|
else |
|
ac_cv_lib_readline_readline=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
|
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
|
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
LIBREADLINE="-lncursesw" |
|
else |
|
unset ac_cv_lib_readline_readline; |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5 |
|
$as_echo_n "checking for readline in -lreadline... " >&6; } |
|
if ${ac_cv_lib_readline_readline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-lreadline -ltermcap $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char readline (); |
|
int |
|
main () |
|
{ |
|
return readline (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_readline_readline=yes |
|
else |
|
ac_cv_lib_readline_readline=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5 |
|
$as_echo "$ac_cv_lib_readline_readline" >&6; } |
|
if test "x$ac_cv_lib_readline_readline" = xyes; then : |
|
LIBREADLINE="-ltermcap" |
|
else |
|
LIBREADLINE="" |
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
if test -n "$LIBREADLINE"; then |
|
if test "$LIBREADLINE" != "-lreadline"; then |
|
echo "-lreadline needs $LIBREADLINE" |
|
LIBREADLINE="-lreadline $LIBREADLINE" |
|
fi |
|
fi |
|
fi |
|
|
|
|
|
# Check for the availability of libedit. Different distributions put its |
|
# headers in different places. Try to cover the most common ones. |
|
|
|
if test "$enable_pcretest_libedit" = "yes"; then |
|
for ac_header in editline/readline.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "editline/readline.h" "ac_cv_header_editline_readline_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_editline_readline_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_EDITLINE_READLINE_H 1 |
|
_ACEOF |
|
HAVE_EDITLINE_READLINE_H=1 |
|
else |
|
for ac_header in edit/readline/readline.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "edit/readline/readline.h" "ac_cv_header_edit_readline_readline_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_edit_readline_readline_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_EDIT_READLINE_READLINE_H 1 |
|
_ACEOF |
|
HAVE_READLINE_READLINE_H=1 |
|
else |
|
for ac_header in readline/readline.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_readline_readline_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_READLINE_READLINE_H 1 |
|
_ACEOF |
|
HAVE_READLINE_READLINE_H=1 |
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|
done |
|
|
|
fi |
|
|
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -ledit" >&5 |
|
$as_echo_n "checking for readline in -ledit... " >&6; } |
|
if ${ac_cv_lib_edit_readline+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_check_lib_save_LIBS=$LIBS |
|
LIBS="-ledit $LIBS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char readline (); |
|
int |
|
main () |
|
{ |
|
return readline (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_lib_edit_readline=yes |
|
else |
|
ac_cv_lib_edit_readline=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
LIBS=$ac_check_lib_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_edit_readline" >&5 |
|
$as_echo "$ac_cv_lib_edit_readline" >&6; } |
|
if test "x$ac_cv_lib_edit_readline" = xyes; then : |
|
LIBEDIT="-ledit" |
|
fi |
|
|
|
fi |
|
|
# This facilitates -ansi builds under Linux |
# This facilitates -ansi builds under Linux |
|
|
PCRE_STATIC_CFLAG="" |
PCRE_STATIC_CFLAG="" |
Line 16607 fi
|
Line 18450 fi
|
|
|
# Here is where pcre specific defines are handled |
# Here is where pcre specific defines are handled |
|
|
|
if test "$enable_pcre8" = "yes"; then |
|
|
|
$as_echo "#define SUPPORT_PCRE8 /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
if test "$enable_pcre16" = "yes"; then |
|
|
|
$as_echo "#define SUPPORT_PCRE16 /**/" >>confdefs.h |
|
|
|
fi |
|
|
|
if test "$enable_pcre32" = "yes"; then |
|
|
|
$as_echo "#define SUPPORT_PCRE32 /**/" >>confdefs.h |
|
|
|
fi |
|
|
if test "$enable_jit" = "yes"; then |
if test "$enable_jit" = "yes"; then |
|
|
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ax_pthread_ok=no |
|
|
|
# We used to check for pthread.h first, but this fails if pthread.h |
|
# requires special compiler flags (e.g. on True64 or Sequent). |
|
# It gets checked for in the link test anyway. |
|
|
|
# First of all, check if the user has set any of the PTHREAD_LIBS, |
|
# etcetera environment variables, and if threads linking works using |
|
# them: |
|
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then |
|
save_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
save_LIBS="$LIBS" |
|
LIBS="$PTHREAD_LIBS $LIBS" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5 |
|
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; } |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char pthread_join (); |
|
int |
|
main () |
|
{ |
|
return pthread_join (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ax_pthread_ok=yes |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
$as_echo "$ax_pthread_ok" >&6; } |
|
if test x"$ax_pthread_ok" = xno; then |
|
PTHREAD_LIBS="" |
|
PTHREAD_CFLAGS="" |
|
fi |
|
LIBS="$save_LIBS" |
|
CFLAGS="$save_CFLAGS" |
|
fi |
|
|
|
# We must check for the threads library under a number of different |
|
# names; the ordering is very important because some systems |
|
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the |
|
# libraries is broken (non-POSIX). |
|
|
|
# Create a list of thread flags to try. Items starting with a "-" are |
|
# C compiler flags, and other items are library names, except for "none" |
|
# which indicates that we try without any flags at all, and "pthread-config" |
|
# which is a program returning the flags for the Pth emulation library. |
|
|
|
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" |
|
|
|
# The ordering *is* (sometimes) important. Some notes on the |
|
# individual items follow: |
|
|
|
# pthreads: AIX (must check this before -lpthread) |
|
# none: in case threads are in libc; should be tried before -Kthread and |
|
# other compiler flags to prevent continual compiler warnings |
|
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h) |
|
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able) |
|
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread) |
|
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads) |
|
# -pthreads: Solaris/gcc |
|
# -mthreads: Mingw32/gcc, Lynx/gcc |
|
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it |
|
# doesn't hurt to check since this sometimes defines pthreads too; |
|
# also defines -D_REENTRANT) |
|
# ... -mt is also the pthreads flag for HP/aCC |
|
# pthread: Linux, etcetera |
|
# --thread-safe: KAI C++ |
|
# pthread-config: use pthread-config program (for GNU Pth library) |
|
|
|
case ${host_os} in |
|
solaris*) |
|
|
|
# On Solaris (at least, for some versions), libc contains stubbed |
|
# (non-functional) versions of the pthreads routines, so link-based |
|
# tests will erroneously succeed. (We need to link with -pthreads/-mt/ |
|
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather |
|
# a function called by this macro, so we could check for that, but |
|
# who knows whether they'll stub that too in a future libc.) So, |
|
# we'll just look for -pthreads and -lpthread first: |
|
|
|
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags" |
|
;; |
|
|
|
darwin*) |
|
ax_pthread_flags="-pthread $ax_pthread_flags" |
|
;; |
|
esac |
|
|
|
if test x"$ax_pthread_ok" = xno; then |
|
for flag in $ax_pthread_flags; do |
|
|
|
case $flag in |
|
none) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5 |
|
$as_echo_n "checking whether pthreads work without any flags... " >&6; } |
|
;; |
|
|
|
-*) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5 |
|
$as_echo_n "checking whether pthreads work with $flag... " >&6; } |
|
PTHREAD_CFLAGS="$flag" |
|
;; |
|
|
|
pthread-config) |
|
# Extract the first word of "pthread-config", so it can be a program name with args. |
|
set dummy pthread-config; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_ax_pthread_config+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ax_pthread_config"; then |
|
ac_cv_prog_ax_pthread_config="$ax_pthread_config" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_ax_pthread_config="yes" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no" |
|
fi |
|
fi |
|
ax_pthread_config=$ac_cv_prog_ax_pthread_config |
|
if test -n "$ax_pthread_config"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5 |
|
$as_echo "$ax_pthread_config" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
if test x"$ax_pthread_config" = xno; then continue; fi |
|
PTHREAD_CFLAGS="`pthread-config --cflags`" |
|
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" |
|
;; |
|
|
|
*) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5 |
|
$as_echo_n "checking for the pthreads library -l$flag... " >&6; } |
|
PTHREAD_LIBS="-l$flag" |
|
;; |
|
esac |
|
|
|
save_LIBS="$LIBS" |
|
save_CFLAGS="$CFLAGS" |
|
LIBS="$PTHREAD_LIBS $LIBS" |
|
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
|
|
# Check for various functions. We must include pthread.h, |
|
# since some functions may be macros. (On the Sequent, we |
|
# need a special flag -Kthread to make this header compile.) |
|
# We check for pthread_join because it is in -lpthread on IRIX |
|
# while pthread_create is in libc. We check for pthread_attr_init |
|
# due to DEC craziness with -lpthreads. We check for |
|
# pthread_cleanup_push because it is one of the few pthread |
|
# functions on Solaris that doesn't have a non-functional libc stub. |
|
# We try pthread_create on general principles. |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <pthread.h> |
|
static void routine(void *a) { a = 0; } |
|
static void *start_routine(void *a) { return a; } |
|
int |
|
main () |
|
{ |
|
pthread_t th; pthread_attr_t attr; |
|
pthread_create(&th, 0, start_routine, 0); |
|
pthread_join(th, 0); |
|
pthread_attr_init(&attr); |
|
pthread_cleanup_push(routine, 0); |
|
pthread_cleanup_pop(0) /* ; */ |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ax_pthread_ok=yes |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
|
|
LIBS="$save_LIBS" |
|
CFLAGS="$save_CFLAGS" |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5 |
|
$as_echo "$ax_pthread_ok" >&6; } |
|
if test "x$ax_pthread_ok" = xyes; then |
|
break; |
|
fi |
|
|
|
PTHREAD_LIBS="" |
|
PTHREAD_CFLAGS="" |
|
done |
|
fi |
|
|
|
# Various other checks: |
|
if test "x$ax_pthread_ok" = xyes; then |
|
save_LIBS="$LIBS" |
|
LIBS="$PTHREAD_LIBS $LIBS" |
|
save_CFLAGS="$CFLAGS" |
|
CFLAGS="$CFLAGS $PTHREAD_CFLAGS" |
|
|
|
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5 |
|
$as_echo_n "checking for joinable pthread attribute... " >&6; } |
|
attr_name=unknown |
|
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <pthread.h> |
|
int |
|
main () |
|
{ |
|
int attr = $attr; return attr /* ; */ |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
attr_name=$attr; break |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
done |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5 |
|
$as_echo "$attr_name" >&6; } |
|
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define PTHREAD_CREATE_JOINABLE $attr_name |
|
_ACEOF |
|
|
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5 |
|
$as_echo_n "checking if more special flags are required for pthreads... " >&6; } |
|
flag=no |
|
case ${host_os} in |
|
aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";; |
|
osf* | hpux*) flag="-D_REENTRANT";; |
|
solaris*) |
|
if test "$GCC" = "yes"; then |
|
flag="-D_REENTRANT" |
|
else |
|
flag="-mt -D_REENTRANT" |
|
fi |
|
;; |
|
esac |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5 |
|
$as_echo "${flag}" >&6; } |
|
if test "x$flag" != xno; then |
|
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5 |
|
$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; } |
|
if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
#include <pthread.h> |
|
int |
|
main () |
|
{ |
|
int i = PTHREAD_PRIO_INHERIT; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ax_cv_PTHREAD_PRIO_INHERIT=yes |
|
else |
|
ax_cv_PTHREAD_PRIO_INHERIT=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5 |
|
$as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; } |
|
if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then : |
|
|
|
$as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h |
|
|
|
fi |
|
|
|
LIBS="$save_LIBS" |
|
CFLAGS="$save_CFLAGS" |
|
|
|
# More AIX lossage: must compile with xlc_r or cc_r |
|
if test x"$GCC" != xyes; then |
|
for ac_prog in xlc_r cc_r |
|
do |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
set dummy $ac_prog; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_prog_PTHREAD_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$PTHREAD_CC"; then |
|
ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # 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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_prog_PTHREAD_CC="$ac_prog" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
fi |
|
fi |
|
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC |
|
if test -n "$PTHREAD_CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5 |
|
$as_echo "$PTHREAD_CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$PTHREAD_CC" && break |
|
done |
|
test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}" |
|
|
|
else |
|
PTHREAD_CC=$CC |
|
fi |
|
else |
|
PTHREAD_CC="$CC" |
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: |
|
if test x"$ax_pthread_ok" = xyes; then |
|
|
|
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h |
|
|
|
: |
|
else |
|
ax_pthread_ok=no |
|
as_fn_error $? "JIT support requires pthreads" "$LINENO" 5 |
|
fi |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
CC="$PTHREAD_CC" |
|
CFLAGS="$PTHREAD_CFLAGS $CFLAGS" |
|
LIBS="$PTHREAD_LIBS $LIBS" |
|
|
$as_echo "#define SUPPORT_JIT /**/" >>confdefs.h |
$as_echo "#define SUPPORT_JIT /**/" >>confdefs.h |
|
|
else |
else |
Line 16621 $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdef
|
Line 18881 $as_echo "#define SUPPORT_PCREGREP_JIT /**/" >>confdef
|
|
|
fi |
fi |
|
|
if test "$enable_utf8" = "yes"; then | if test "$enable_utf" = "yes"; then |
|
|
$as_echo "#define SUPPORT_UTF8 /**/" >>confdefs.h | $as_echo "#define SUPPORT_UTF /**/" >>confdefs.h |
|
|
fi |
fi |
|
|
Line 16661 cat >>confdefs.h <<_ACEOF
|
Line 18921 cat >>confdefs.h <<_ACEOF
|
_ACEOF |
_ACEOF |
|
|
|
|
if test "$enable_pcretest_libreadline" = "yes"; then | if test "$enable_pcretest_libedit" = "yes"; then |
|
|
|
$as_echo "#define SUPPORT_LIBEDIT /**/" >>confdefs.h |
|
|
|
LIBREADLINE="$LIBEDIT" |
|
elif test "$enable_pcretest_libreadline" = "yes"; then |
|
|
$as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h |
$as_echo "#define SUPPORT_LIBREADLINE /**/" >>confdefs.h |
|
|
fi |
fi |
Line 16693 _ACEOF
|
Line 18958 _ACEOF
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
|
#define PARENS_NEST_LIMIT $with_parens_nest_limit |
|
_ACEOF |
|
|
|
|
|
|
|
cat >>confdefs.h <<_ACEOF |
#define MATCH_LIMIT $with_match_limit |
#define MATCH_LIMIT $with_match_limit |
_ACEOF |
_ACEOF |
|
|
Line 16721 _ACEOF
|
Line 18992 _ACEOF
|
|
|
fi |
fi |
|
|
|
if test "$enable_ebcdic_nl25" = "yes"; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define EBCDIC_NL25 /**/ |
|
_ACEOF |
|
|
|
fi |
|
|
|
if test "$enable_valgrind" = "yes"; then |
|
|
|
cat >>confdefs.h <<_ACEOF |
|
#define SUPPORT_VALGRIND /**/ |
|
_ACEOF |
|
|
|
fi |
|
|
# Platform specific issues |
# Platform specific issues |
NO_UNDEFINED= |
NO_UNDEFINED= |
EXPORT_ALL_SYMBOLS= |
EXPORT_ALL_SYMBOLS= |
Line 16737 esac
|
Line 19024 esac
|
# (Note: The libpcre*_version bits are m4 variables, assigned above) |
# (Note: The libpcre*_version bits are m4 variables, assigned above) |
|
|
EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \ |
EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \ |
$NO_UNDEFINED -version-info 0:1:0" | $NO_UNDEFINED -version-info 3:2:2" |
|
|
|
EXTRA_LIBPCRE16_LDFLAGS="$EXTRA_LIBPCRE16_LDFLAGS \ |
|
$NO_UNDEFINED -version-info 2:2:2" |
|
|
|
EXTRA_LIBPCRE32_LDFLAGS="$EXTRA_LIBPCRE32_LDFLAGS \ |
|
$NO_UNDEFINED -version-info 0:2:0" |
|
|
EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \ |
EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \ |
$NO_UNDEFINED -version-info 0:0:0" | $NO_UNDEFINED -version-info 0:2:0" |
|
|
EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \ |
EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \ |
$NO_UNDEFINED -version-info 0:0:0 \ |
$NO_UNDEFINED -version-info 0:0:0 \ |
Line 16750 EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
|
Line 19043 EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
|
|
|
|
|
|
|
# When we run 'make distcheck', use these arguments. |
|
DISTCHECK_CONFIGURE_FLAGS="--enable-jit --enable-cpp --enable-unicode-properties" |
|
|
|
|
|
|
# When we run 'make distcheck', use these arguments. Turning off compiler |
|
# optimization makes it run faster. |
|
DISTCHECK_CONFIGURE_FLAGS="CFLAGS='' CXXFLAGS='' --enable-pcre16 --enable-pcre32 --enable-jit --enable-cpp --enable-unicode-properties" |
|
|
|
|
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
# Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is |
# specified, the relevant library is available. |
# specified, the relevant library is available. |
|
|
Line 16785 fi
|
Line 19081 fi
|
|
|
# Similarly for --enable-pcretest-readline |
# Similarly for --enable-pcretest-readline |
|
|
|
if test "$enable_pcretest_libedit" = "yes"; then |
|
if test "$enable_pcretest_libreadline" = "yes"; then |
|
echo "** Cannot use both --enable-pcretest-libedit and --enable-pcretest-readline" |
|
exit 1 |
|
fi |
|
if test "$HAVE_EDITLINE_READLINE_H" != "1" -a \ |
|
"$HAVE_READLINE_READLINE_H" != "1"; then |
|
echo "** Cannot --enable-pcretest-libedit because neither editline/readline.h" |
|
echo "** nor readline/readline.h was found." |
|
exit 1 |
|
fi |
|
if test -z "$LIBEDIT"; then |
|
echo "** Cannot --enable-pcretest-libedit because libedit library was not found." |
|
exit 1 |
|
fi |
|
fi |
|
|
if test "$enable_pcretest_libreadline" = "yes"; then |
if test "$enable_pcretest_libreadline" = "yes"; then |
if test "$HAVE_READLINE_H" != "1"; then |
if test "$HAVE_READLINE_H" != "1"; then |
echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found." |
echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found." |
Line 16794 if test "$enable_pcretest_libreadline" = "yes"; then
|
Line 19107 if test "$enable_pcretest_libreadline" = "yes"; then
|
echo "** Cannot --enable-pcretest-readline because readline/history.h was not found." |
echo "** Cannot --enable-pcretest-readline because readline/history.h was not found." |
exit 1 |
exit 1 |
fi |
fi |
LIBREADLINE="-lreadline" | if test -z "$LIBREADLINE"; then |
| echo "** Cannot --enable-pcretest-readline because readline library was not found." |
| exit 1 |
| fi |
fi |
fi |
|
|
|
# Handle valgrind support |
|
|
|
if test "$enable_valgrind" = "yes"; then |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_path_PKG_CONFIG+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $PKG_CONFIG in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
;; |
|
esac |
|
fi |
|
PKG_CONFIG=$ac_cv_path_PKG_CONFIG |
|
if test -n "$PKG_CONFIG"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
$as_echo "$PKG_CONFIG" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_path_PKG_CONFIG"; then |
|
ac_pt_PKG_CONFIG=$PKG_CONFIG |
|
# Extract the first word of "pkg-config", so it can be a program name with args. |
|
set dummy pkg-config; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $ac_pt_PKG_CONFIG in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
;; |
|
esac |
|
fi |
|
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG |
|
if test -n "$ac_pt_PKG_CONFIG"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 |
|
$as_echo "$ac_pt_PKG_CONFIG" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_pt_PKG_CONFIG" = x; then |
|
PKG_CONFIG="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
PKG_CONFIG=$ac_pt_PKG_CONFIG |
|
fi |
|
else |
|
PKG_CONFIG="$ac_cv_path_PKG_CONFIG" |
|
fi |
|
|
|
fi |
|
if test -n "$PKG_CONFIG"; then |
|
_pkg_min_version=0.9.0 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 |
|
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } |
|
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
PKG_CONFIG="" |
|
fi |
|
fi |
|
|
|
pkg_failed=no |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 |
|
$as_echo_n "checking for VALGRIND... " >&6; } |
|
|
|
if test -n "$VALGRIND_CFLAGS"; then |
|
pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" |
|
elif test -n "$PKG_CONFIG"; then |
|
if test -n "$PKG_CONFIG" && \ |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5 |
|
($PKG_CONFIG --exists --print-errors "valgrind") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; }; then |
|
pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind" 2>/dev/null` |
|
test "x$?" != "x0" && pkg_failed=yes |
|
else |
|
pkg_failed=yes |
|
fi |
|
else |
|
pkg_failed=untried |
|
fi |
|
if test -n "$VALGRIND_LIBS"; then |
|
pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" |
|
elif test -n "$PKG_CONFIG"; then |
|
if test -n "$PKG_CONFIG" && \ |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind\""; } >&5 |
|
($PKG_CONFIG --exists --print-errors "valgrind") 2>&5 |
|
ac_status=$? |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; }; then |
|
pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind" 2>/dev/null` |
|
test "x$?" != "x0" && pkg_failed=yes |
|
else |
|
pkg_failed=yes |
|
fi |
|
else |
|
pkg_failed=untried |
|
fi |
|
|
|
|
|
|
|
if test $pkg_failed = yes; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
|
|
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then |
|
_pkg_short_errors_supported=yes |
|
else |
|
_pkg_short_errors_supported=no |
|
fi |
|
if test $_pkg_short_errors_supported = yes; then |
|
VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "valgrind" 2>&1` |
|
else |
|
VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "valgrind" 2>&1` |
|
fi |
|
# Put the nasty error message in config.log where it belongs |
|
echo "$VALGRIND_PKG_ERRORS" >&5 |
|
|
|
as_fn_error $? "Package requirements (valgrind) were not met: |
|
|
|
$VALGRIND_PKG_ERRORS |
|
|
|
Consider adjusting the PKG_CONFIG_PATH environment variable if you |
|
installed software in a non-standard prefix. |
|
|
|
Alternatively, you may set the environment variables VALGRIND_CFLAGS |
|
and VALGRIND_LIBS to avoid the need to call pkg-config. |
|
See the pkg-config man page for more details." "$LINENO" 5 |
|
elif test $pkg_failed = untried; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it |
|
is in your PATH or set the PKG_CONFIG environment variable to the full |
|
path to pkg-config. |
|
|
|
Alternatively, you may set the environment variables VALGRIND_CFLAGS |
|
and VALGRIND_LIBS to avoid the need to call pkg-config. |
|
See the pkg-config man page for more details. |
|
|
|
To get pkg-config, see <http://pkg-config.freedesktop.org/>. |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
else |
|
VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS |
|
VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
fi |
|
fi |
|
|
|
# Handle code coverage reporting support |
|
if test "$enable_coverage" = "yes"; then |
|
if test "x$GCC" != "xyes"; then |
|
as_fn_error $? "Code coverage reports can only be generated when using GCC" "$LINENO" 5 |
|
fi |
|
|
|
# ccache is incompatible with gcov |
|
# Extract the first word of "shtool", so it can be a program name with args. |
|
set dummy shtool; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_path_SHTOOL+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $SHTOOL in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_SHTOOL="$SHTOOL" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_path_SHTOOL="$as_dir/$ac_word$ac_exec_ext" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_path_SHTOOL" && ac_cv_path_SHTOOL="false" |
|
;; |
|
esac |
|
fi |
|
SHTOOL=$ac_cv_path_SHTOOL |
|
if test -n "$SHTOOL"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5 |
|
$as_echo "$SHTOOL" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
case `$SHTOOL path $CC` in |
|
*ccache*) cc_ccache=yes;; |
|
*) cc_ccache=no;; |
|
esac |
|
|
|
if test "$cc_ccache" = "yes"; then |
|
if test -z "$CCACHE_DISABLE" -o "$CCACHE_DISABLE" != "1"; then |
|
as_fn_error $? "must export CCACHE_DISABLE=1 to disable ccache for code coverage" "$LINENO" 5 |
|
fi |
|
fi |
|
|
|
|
|
# Extract the first word of "lcov", so it can be a program name with args. |
|
set dummy lcov; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_path_LCOV+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $LCOV in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_LCOV="$LCOV" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_path_LCOV="$as_dir/$ac_word$ac_exec_ext" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_path_LCOV" && ac_cv_path_LCOV="false" |
|
;; |
|
esac |
|
fi |
|
LCOV=$ac_cv_path_LCOV |
|
if test -n "$LCOV"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5 |
|
$as_echo "$LCOV" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
if test "x$LCOV" = "xfalse"; then |
|
as_fn_error $? "lcov not found" "$LINENO" 5 |
|
fi |
|
|
|
|
|
# Extract the first word of "genhtml", so it can be a program name with args. |
|
set dummy genhtml; ac_word=$2 |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
|
$as_echo_n "checking for $ac_word... " >&6; } |
|
if ${ac_cv_path_GENHTML+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
case $GENHTML in |
|
[\\/]* | ?:[\\/]*) |
|
ac_cv_path_GENHTML="$GENHTML" # Let the user override the test with a path. |
|
;; |
|
*) |
|
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_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then |
|
ac_cv_path_GENHTML="$as_dir/$ac_word$ac_exec_ext" |
|
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
|
break 2 |
|
fi |
|
done |
|
done |
|
IFS=$as_save_IFS |
|
|
|
test -z "$ac_cv_path_GENHTML" && ac_cv_path_GENHTML="false" |
|
;; |
|
esac |
|
fi |
|
GENHTML=$ac_cv_path_GENHTML |
|
if test -n "$GENHTML"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5 |
|
$as_echo "$GENHTML" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
if test "x$GENHTML" = "xfalse"; then |
|
as_fn_error $? "genhtml not found" "$LINENO" 5 |
|
fi |
|
|
|
# Set flags needed for gcov |
|
GCOV_CFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage" |
|
GCOV_CXXFLAGS="-O0 -ggdb3 -fprofile-arcs -ftest-coverage" |
|
GCOV_LIBS="-lgcov" |
|
|
|
|
|
|
|
fi # enable_coverage |
|
|
|
if test "x$enable_coverage" = "xyes"; then |
|
WITH_GCOV_TRUE= |
|
WITH_GCOV_FALSE='#' |
|
else |
|
WITH_GCOV_TRUE='#' |
|
WITH_GCOV_FALSE= |
|
fi |
|
|
|
|
# Produce these files, in addition to config.h. |
# Produce these files, in addition to config.h. |
ac_config_files="$ac_config_files Makefile libpcre.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h" | ac_config_files="$ac_config_files Makefile libpcre.pc libpcre16.pc libpcre32.pc libpcreposix.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h" |
|
|
|
|
# Make the generated script files executable. |
# Make the generated script files executable. |
Line 16920 LIBOBJS=$ac_libobjs
|
Line 19620 LIBOBJS=$ac_libobjs
|
LTLIBOBJS=$ac_ltlibobjs |
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
|
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
|
if test -n "$am_sleep_pid"; then |
|
# Hide warnings about reused PIDs. |
|
wait $am_sleep_pid 2>/dev/null |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 |
|
$as_echo "done" >&6; } |
if test -n "$EXEEXT"; then |
if test -n "$EXEEXT"; then |
am__EXEEXT_TRUE= |
am__EXEEXT_TRUE= |
am__EXEEXT_FALSE='#' |
am__EXEEXT_FALSE='#' |
Line 16936 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
Line 19644 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
if test -z "${WITH_PCRE8_TRUE}" && test -z "${WITH_PCRE8_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_PCRE8\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WITH_PCRE16_TRUE}" && test -z "${WITH_PCRE16_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_PCRE16\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WITH_PCRE32_TRUE}" && test -z "${WITH_PCRE32_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_PCRE32\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then |
if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then |
as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined. |
as_fn_error $? "conditional \"WITH_PCRE_CPP\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Line 16952 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_F
|
Line 19676 if test -z "${WITH_JIT_TRUE}" && test -z "${WITH_JIT_F
|
as_fn_error $? "conditional \"WITH_JIT\" was never defined. |
as_fn_error $? "conditional \"WITH_JIT\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
if test -z "${WITH_UTF8_TRUE}" && test -z "${WITH_UTF8_FALSE}"; then | if test -z "${WITH_UTF_TRUE}" && test -z "${WITH_UTF_FALSE}"; then |
as_fn_error $? "conditional \"WITH_UTF8\" was never defined. | as_fn_error $? "conditional \"WITH_UTF\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
if test -z "${WITH_VALGRIND_TRUE}" && test -z "${WITH_VALGRIND_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_VALGRIND\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${WITH_GCOV_TRUE}" && test -z "${WITH_GCOV_FALSE}"; then |
|
as_fn_error $? "conditional \"WITH_GCOV\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
|
: "${CONFIG_STATUS=./config.status}" |
: "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
Line 17254 if (echo >conf$$.file) 2>/dev/null; then
|
Line 19986 if (echo >conf$$.file) 2>/dev/null; then
|
# ... but there are two gotchas: |
# ... but there are two gotchas: |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
# In both cases, we have to default to `cp -p'. | # In both cases, we have to default to `cp -pR'. |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
elif ln conf$$.file conf$$ 2>/dev/null; then |
elif ln conf$$.file conf$$ 2>/dev/null; then |
as_ln_s=ln |
as_ln_s=ln |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
else |
else |
as_ln_s='cp -p' | as_ln_s='cp -pR' |
fi |
fi |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
rmdir conf$$.dir 2>/dev/null |
rmdir conf$$.dir 2>/dev/null |
Line 17323 else
|
Line 20055 else
|
as_mkdir_p=false |
as_mkdir_p=false |
fi |
fi |
|
|
if test -x / >/dev/null 2>&1; then |
|
as_test_x='test -x' |
|
else |
|
if ls -dL / >/dev/null 2>&1; then |
|
as_ls_L_option=L |
|
else |
|
as_ls_L_option= |
|
fi |
|
as_test_x=' |
|
eval sh -c '\'' |
|
if test -d "$1"; then |
|
test -d "$1/."; |
|
else |
|
case $1 in #( |
|
-*)set "./$1";; |
|
esac; |
|
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
|
???[sx]*):;;*)false;;esac;fi |
|
'\'' sh |
|
' |
|
fi |
|
as_executable_p=$as_test_x |
|
|
|
|
# as_fn_executable_p FILE |
|
# ----------------------- |
|
# Test if FILE is an executable regular file. |
|
as_fn_executable_p () |
|
{ |
|
test -f "$1" && test -x "$1" |
|
} # as_fn_executable_p |
|
as_test_x='test -x' |
|
as_executable_p=as_fn_executable_p |
|
|
# Sed expression to map a string onto a valid CPP name. |
# Sed expression to map a string onto a valid CPP name. |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
|
|
Line 17365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 20085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by PCRE $as_me 8.21, which was | This file was extended by PCRE $as_me 8.34, which was |
generated by GNU Autoconf 2.68. Invocation command line was | generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
CONFIG_HEADERS = $CONFIG_HEADERS |
Line 17431 _ACEOF
|
Line 20151 _ACEOF
|
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
PCRE config.status 8.21 | PCRE config.status 8.34 |
configured by $0, generated by GNU Autoconf 2.68, | configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Copyright (C) 2010 Free Software Foundation, Inc. | Copyright (C) 2012 Free Software Foundation, Inc. |
This config.status script is free software; the Free Software Foundation |
This config.status script is free software; the Free Software Foundation |
gives unlimited permission to copy, distribute and modify it." |
gives unlimited permission to copy, distribute and modify it." |
|
|
Line 17526 fi
|
Line 20246 fi
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
if \$ac_cs_recheck; then |
if \$ac_cs_recheck; then |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
shift |
shift |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
CONFIG_SHELL='$SHELL' |
CONFIG_SHELL='$SHELL' |
Line 17571 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo
|
Line 20291 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quo
|
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
|
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
Line 17651 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing
|
Line 20372 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_sing
|
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' |
|
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
Line 17723 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$de
|
Line 20443 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$de
|
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' |
|
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' |
Line 17765 DLLTOOL \
|
Line 20484 DLLTOOL \
|
OBJDUMP \ |
OBJDUMP \ |
SHELL \ |
SHELL \ |
ECHO \ |
ECHO \ |
|
PATH_SEPARATOR \ |
SED \ |
SED \ |
GREP \ |
GREP \ |
EGREP \ |
EGREP \ |
Line 17813 with_gnu_ld \
|
Line 20533 with_gnu_ld \
|
allow_undefined_flag \ |
allow_undefined_flag \ |
no_undefined_flag \ |
no_undefined_flag \ |
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec \ |
hardcode_libdir_flag_spec_ld \ |
|
hardcode_libdir_separator \ |
hardcode_libdir_separator \ |
exclude_expsyms \ |
exclude_expsyms \ |
include_expsyms \ |
include_expsyms \ |
Line 17847 with_gnu_ld_CXX \
|
Line 20566 with_gnu_ld_CXX \
|
allow_undefined_flag_CXX \ |
allow_undefined_flag_CXX \ |
no_undefined_flag_CXX \ |
no_undefined_flag_CXX \ |
hardcode_libdir_flag_spec_CXX \ |
hardcode_libdir_flag_spec_CXX \ |
hardcode_libdir_flag_spec_ld_CXX \ |
|
hardcode_libdir_separator_CXX \ |
hardcode_libdir_separator_CXX \ |
exclude_expsyms_CXX \ |
exclude_expsyms_CXX \ |
include_expsyms_CXX \ |
include_expsyms_CXX \ |
Line 17944 do
|
Line 20662 do
|
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;; |
"libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;; |
|
"libpcre16.pc") CONFIG_FILES="$CONFIG_FILES libpcre16.pc" ;; |
|
"libpcre32.pc") CONFIG_FILES="$CONFIG_FILES libpcre32.pc" ;; |
"libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;; |
"libpcreposix.pc") CONFIG_FILES="$CONFIG_FILES libpcreposix.pc" ;; |
"libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;; |
"libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;; |
"pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;; |
"pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;; |
Line 18548 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 21268 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
|
case $ac_file$ac_mode in |
case $ac_file$ac_mode in |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
# Autoconf 2.62 quotes --file arguments for eval, but not when files | # Older Autoconf quotes --file arguments for eval, but not when files |
# are listed without --file. Let's play safe and only enable the eval |
# are listed without --file. Let's play safe and only enable the eval |
# if we detect the quoting. |
# if we detect the quoting. |
case $CONFIG_FILES in |
case $CONFIG_FILES in |
Line 18561 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 21281 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
mf=`echo "$mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. |
# Check whether this is an Automake generated Makefile or not. |
# We used to match only the files named `Makefile.in', but | # We used to match only the files named 'Makefile.in', but |
# some people rename them; so instead we look at the file content. |
# some people rename them; so instead we look at the file content. |
# Grep'ing the first line is not enough: some people post-process |
# Grep'ing the first line is not enough: some people post-process |
# each Makefile.in and add a new line on top of each file to say so. |
# each Makefile.in and add a new line on top of each file to say so. |
Line 18595 $as_echo X"$mf" |
|
Line 21315 $as_echo X"$mf" |
|
continue |
continue |
fi |
fi |
# Extract the definition of DEPDIR, am__include, and am__quote |
# Extract the definition of DEPDIR, am__include, and am__quote |
# from the Makefile without running `make'. | # from the Makefile without running 'make'. |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
test -z "$DEPDIR" && continue |
test -z "$DEPDIR" && continue |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
am__include=`sed -n 's/^am__include = //p' < "$mf"` |
test -z "am__include" && continue | test -z "$am__include" && continue |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
# When using ansi2knr, U may be empty or an underscore; expand it |
|
U=`sed -n 's/^U = //p' < "$mf"` |
|
# Find all dependency output files, they are included files with |
# Find all dependency output files, they are included files with |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# $(DEPDIR) in their names. We invoke sed twice because it is the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# simplest approach to changing $(DEPDIR) to its actual value in the |
# expansion. |
# expansion. |
for file in `sed -n " |
for file in `sed -n " |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do |
# Make sure the directory exists. |
# Make sure the directory exists. |
test -f "$dirpart/$file" && continue |
test -f "$dirpart/$file" && continue |
fdir=`$as_dirname -- "$file" || |
fdir=`$as_dirname -- "$file" || |
Line 18663 $as_echo X"$file" |
|
Line 21381 $as_echo X"$file" |
|
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# NOTE: Changes made to this file will be lost: look at ltmain.sh. |
# |
# |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
# Inc. | # Foundation, Inc. |
# Written by Gordon Matzigkeit, 1996 |
# Written by Gordon Matzigkeit, 1996 |
# |
# |
# This file is part of GNU Libtool. |
# This file is part of GNU Libtool. |
Line 18727 SHELL=$lt_SHELL
|
Line 21445 SHELL=$lt_SHELL
|
# An echo program that protects backslashes. |
# An echo program that protects backslashes. |
ECHO=$lt_ECHO |
ECHO=$lt_ECHO |
|
|
|
# The PATH separator for the build system. |
|
PATH_SEPARATOR=$lt_PATH_SEPARATOR |
|
|
# The host system. |
# The host system. |
host_alias=$host_alias |
host_alias=$host_alias |
host=$host |
host=$host |
Line 19022 no_undefined_flag=$lt_no_undefined_flag
|
Line 21743 no_undefined_flag=$lt_no_undefined_flag
|
# This must work even if \$libdir does not exist |
# This must work even if \$libdir does not exist |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
|
|
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
# during linking. This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld |
|
|
|
# Whether we need a single "-rpath" flag with a separated argument. |
# Whether we need a single "-rpath" flag with a separated argument. |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
hardcode_libdir_separator=$lt_hardcode_libdir_separator |
|
|
Line 19368 no_undefined_flag=$lt_no_undefined_flag_CXX
|
Line 22085 no_undefined_flag=$lt_no_undefined_flag_CXX
|
# This must work even if \$libdir does not exist |
# This must work even if \$libdir does not exist |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX |
|
|
# If ld is used when linking, flag to hardcode \$libdir into a binary |
|
# during linking. This must work even if \$libdir does not exist. |
|
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX |
|
|
|
# Whether we need a single "-rpath" flag with a separated argument. |
# Whether we need a single "-rpath" flag with a separated argument. |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX |
|
|
Line 19488 $as_echo "$as_me: WARNING: unrecognized options: $ac_u
|
Line 22201 $as_echo "$as_me: WARNING: unrecognized options: $ac_u
|
fi |
fi |
|
|
|
|
# Print out a nice little message after configure is run displaying your | # Print out a nice little message after configure is run displaying the |
# chosen options. |
# chosen options. |
|
|
|
ebcdic_nl_code=n/a |
|
if test "$enable_ebcdic_nl25" = "yes"; then |
|
ebcdic_nl_code=0x25 |
|
elif test "$enable_ebcdic" = "yes"; then |
|
ebcdic_nl_code=0x15 |
|
fi |
|
|
cat <<EOF |
cat <<EOF |
|
|
$PACKAGE-$VERSION configuration summary: |
$PACKAGE-$VERSION configuration summary: |
Line 19502 $PACKAGE-$VERSION configuration summary:
|
Line 22222 $PACKAGE-$VERSION configuration summary:
|
C++ compiler .................... : ${CXX} |
C++ compiler .................... : ${CXX} |
Linker .......................... : ${LD} |
Linker .......................... : ${LD} |
C preprocessor flags ............ : ${CPPFLAGS} |
C preprocessor flags ............ : ${CPPFLAGS} |
C compiler flags ................ : ${CFLAGS} | C compiler flags ................ : ${CFLAGS} ${VISIBILITY_CFLAGS} |
C++ compiler flags .............. : ${CXXFLAGS} | C++ compiler flags .............. : ${CXXFLAGS} ${VISIBILITY_CXXFLAGS} |
Linker flags .................... : ${LDFLAGS} |
Linker flags .................... : ${LDFLAGS} |
Extra libraries ................. : ${LIBS} |
Extra libraries ................. : ${LIBS} |
|
|
|
Build 8 bit pcre library ........ : ${enable_pcre8} |
|
Build 16 bit pcre library ....... : ${enable_pcre16} |
|
Build 32 bit pcre library ....... : ${enable_pcre32} |
Build C++ library ............... : ${enable_cpp} |
Build C++ library ............... : ${enable_cpp} |
Enable JIT compiling support .... : ${enable_jit} |
Enable JIT compiling support .... : ${enable_jit} |
Enable UTF-8 support ............ : ${enable_utf8} | Enable UTF-8/16/32 support ...... : ${enable_utf} |
Unicode properties .............. : ${enable_unicode_properties} |
Unicode properties .............. : ${enable_unicode_properties} |
Newline char/sequence ........... : ${enable_newline} |
Newline char/sequence ........... : ${enable_newline} |
\R matches only ANYCRLF ......... : ${enable_bsr_anycrlf} |
\R matches only ANYCRLF ......... : ${enable_bsr_anycrlf} |
EBCDIC coding ................... : ${enable_ebcdic} |
EBCDIC coding ................... : ${enable_ebcdic} |
|
EBCDIC code for NL .............. : ${ebcdic_nl_code} |
Rebuild char tables ............. : ${enable_rebuild_chartables} |
Rebuild char tables ............. : ${enable_rebuild_chartables} |
Use stack recursion ............. : ${enable_stack_for_recursion} |
Use stack recursion ............. : ${enable_stack_for_recursion} |
POSIX mem threshold ............. : ${with_posix_malloc_threshold} |
POSIX mem threshold ............. : ${with_posix_malloc_threshold} |
Internal link size .............. : ${with_link_size} |
Internal link size .............. : ${with_link_size} |
|
Nested parentheses limit ........ : ${with_parens_nest_limit} |
Match limit ..................... : ${with_match_limit} |
Match limit ..................... : ${with_match_limit} |
Match limit recursion ........... : ${with_match_limit_recursion} |
Match limit recursion ........... : ${with_match_limit_recursion} |
Build shared libs ............... : ${enable_shared} |
Build shared libs ............... : ${enable_shared} |
Line 19526 $PACKAGE-$VERSION configuration summary:
|
Line 22251 $PACKAGE-$VERSION configuration summary:
|
Buffer size for pcregrep ........ : ${with_pcregrep_bufsize} |
Buffer size for pcregrep ........ : ${with_pcregrep_bufsize} |
Link pcregrep with libz ......... : ${enable_pcregrep_libz} |
Link pcregrep with libz ......... : ${enable_pcregrep_libz} |
Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2} |
Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2} |
|
Link pcretest with libedit ...... : ${enable_pcretest_libedit} |
Link pcretest with libreadline .. : ${enable_pcretest_libreadline} |
Link pcretest with libreadline .. : ${enable_pcretest_libreadline} |
|
Valgrind support ................ : ${enable_valgrind} |
|
Code coverage ................... : ${enable_coverage} |
|
|
EOF |
EOF |
|
|