1752
1756
echo "$as_me: failed program was:" >&5
1753
1757
cat conftest.$ac_ext >&5
1754
{ { echo "$as_me:1754: error: C compiler cannot create executables" >&5
1758
{ { echo "$as_me:1758: error: C compiler cannot create executables" >&5
1755
1759
echo "$as_me: error: C compiler cannot create executables" >&2;}
1756
1760
{ (exit 77); exit 77; }; }
1759
1763
ac_exeext=$ac_cv_exeext
1760
echo "$as_me:1760: result: $ac_file" >&5
1764
echo "$as_me:1764: result: $ac_file" >&5
1761
1765
echo "${ECHO_T}$ac_file" >&6
1763
1767
# Check the compiler produces executables we can run. If not, either
1764
1768
# the compiler is broken, or we cross compile.
1765
echo "$as_me:1765: checking whether the C compiler works" >&5
1769
echo "$as_me:1769: checking whether the C compiler works" >&5
1766
1770
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1767
1771
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1768
1772
# If not cross compiling, check that we can run a simple program.
1769
1773
if test "$cross_compiling" != yes; then
1770
1774
if { ac_try='./$ac_file'
1771
{ (eval echo "$as_me:1771: \"$ac_try\"") >&5
1775
{ (eval echo "$as_me:1775: \"$ac_try\"") >&5
1772
1776
(eval $ac_try) 2>&5
1774
echo "$as_me:1774: \$? = $ac_status" >&5
1778
echo "$as_me:1778: \$? = $ac_status" >&5
1775
1779
(exit $ac_status); }; }; then
1776
1780
cross_compiling=no
1778
1782
if test "$cross_compiling" = maybe; then
1779
1783
cross_compiling=yes
1781
{ { echo "$as_me:1781: error: cannot run C compiled programs.
1785
{ { echo "$as_me:1785: error: cannot run C compiled programs.
1782
1786
If you meant to cross compile, use \`--host'." >&5
1783
1787
echo "$as_me: error: cannot run C compiled programs.
1784
1788
If you meant to cross compile, use \`--host'." >&2;}
1789
echo "$as_me:1789: result: yes" >&5
1793
echo "$as_me:1793: result: yes" >&5
1790
1794
echo "${ECHO_T}yes" >&6
1792
1796
rm -f a.out a.exe conftest$ac_cv_exeext
1793
1797
ac_clean_files=$ac_clean_files_save
1794
1798
# Check the compiler produces executables we can run. If not, either
1795
1799
# the compiler is broken, or we cross compile.
1796
echo "$as_me:1796: checking whether we are cross compiling" >&5
1800
echo "$as_me:1800: checking whether we are cross compiling" >&5
1797
1801
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1798
echo "$as_me:1798: result: $cross_compiling" >&5
1802
echo "$as_me:1802: result: $cross_compiling" >&5
1799
1803
echo "${ECHO_T}$cross_compiling" >&6
1801
echo "$as_me:1801: checking for executable suffix" >&5
1805
echo "$as_me:1805: checking for executable suffix" >&5
1802
1806
echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1803
if { (eval echo "$as_me:1803: \"$ac_link\"") >&5
1807
if { (eval echo "$as_me:1807: \"$ac_link\"") >&5
1804
1808
(eval $ac_link) 2>&5
1806
echo "$as_me:1806: \$? = $ac_status" >&5
1810
echo "$as_me:1810: \$? = $ac_status" >&5
1807
1811
(exit $ac_status); }; then
1808
1812
# If both `conftest.exe' and `conftest' are `present' (well, observable)
1809
1813
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2816
2820
# Provide some information about the compiler.
2817
echo "$as_me:2817:" \
2821
echo "$as_me:2821:" \
2818
2822
"checking for C++ compiler version" >&5
2819
2823
ac_compiler=`set X $ac_compile; echo $2`
2820
{ (eval echo "$as_me:2820: \"$ac_compiler --version </dev/null >&5\"") >&5
2824
{ (eval echo "$as_me:2824: \"$ac_compiler --version </dev/null >&5\"") >&5
2821
2825
(eval $ac_compiler --version </dev/null >&5) 2>&5
2823
echo "$as_me:2823: \$? = $ac_status" >&5
2827
echo "$as_me:2827: \$? = $ac_status" >&5
2824
2828
(exit $ac_status); }
2825
{ (eval echo "$as_me:2825: \"$ac_compiler -v </dev/null >&5\"") >&5
2829
{ (eval echo "$as_me:2829: \"$ac_compiler -v </dev/null >&5\"") >&5
2826
2830
(eval $ac_compiler -v </dev/null >&5) 2>&5
2828
echo "$as_me:2828: \$? = $ac_status" >&5
2832
echo "$as_me:2832: \$? = $ac_status" >&5
2829
2833
(exit $ac_status); }
2830
{ (eval echo "$as_me:2830: \"$ac_compiler -V </dev/null >&5\"") >&5
2834
{ (eval echo "$as_me:2834: \"$ac_compiler -V </dev/null >&5\"") >&5
2831
2835
(eval $ac_compiler -V </dev/null >&5) 2>&5
2833
echo "$as_me:2833: \$? = $ac_status" >&5
2837
echo "$as_me:2837: \$? = $ac_status" >&5
2834
2838
(exit $ac_status); }
2836
echo "$as_me:2836: checking whether we are using the GNU C++ compiler" >&5
2840
echo "$as_me:2840: checking whether we are using the GNU C++ compiler" >&5
2837
2841
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2838
2842
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2839
2843
echo $ECHO_N "(cached) $ECHO_C" >&6
2841
2845
cat >conftest.$ac_ext <<_ACEOF
2842
#line 2842 "configure"
2846
#line 2846 "configure"
2843
2847
#include "confdefs.h"
3412
echo "$as_me:3412: checking if we should assume mixed-case filenames" >&5
3416
# if we find pkg-config, check if we should install the ".pc" files.
3418
echo "$as_me:3418: checking if you want to use pkg-config" >&5
3419
echo $ECHO_N "checking if you want to use pkg-config... $ECHO_C" >&6
3421
# Check whether --with-pkg-config or --without-pkg-config was given.
3422
if test "${with_pkg_config+set}" = set; then
3423
withval="$with_pkg_config"
3424
cf_pkg_config=$withval
3428
echo "$as_me:3428: result: $cf_pkg_config" >&5
3429
echo "${ECHO_T}$cf_pkg_config" >&6
3431
case $cf_pkg_config in #(vi
3436
# Extract the first word of "pkg-config", so it can be a program name with args.
3437
set dummy pkg-config; ac_word=$2
3438
echo "$as_me:3438: checking for $ac_word" >&5
3439
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3440
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
3441
echo $ECHO_N "(cached) $ECHO_C" >&6
3445
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3448
ac_save_IFS=$IFS; IFS=$ac_path_separator
3450
for ac_dir in $ac_dummy; do
3452
test -z "$ac_dir" && ac_dir=.
3453
if $as_executable_p "$ac_dir/$ac_word"; then
3454
ac_cv_path_PKG_CONFIG="$ac_dir/$ac_word"
3455
echo "$as_me:3455: found $ac_dir/$ac_word" >&5
3460
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="none"
3464
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3466
if test -n "$PKG_CONFIG"; then
3467
echo "$as_me:3467: result: $PKG_CONFIG" >&5
3468
echo "${ECHO_T}$PKG_CONFIG" >&6
3470
echo "$as_me:3470: result: no" >&5
3471
echo "${ECHO_T}no" >&6
3480
test -z "$PKG_CONFIG" && PKG_CONFIG=none
3481
if test "$PKG_CONFIG" != none ; then
3483
if test "x$prefix" != xNONE; then
3484
cf_path_syntax="$prefix"
3486
cf_path_syntax="$ac_default_prefix"
3489
case ".$PKG_CONFIG" in #(vi
3490
.\$\(*\)*|.\'*\'*) #(vi
3494
.[a-zA-Z]:[\\/]*) #(vi OS/2 EMX
3497
eval PKG_CONFIG="$PKG_CONFIG"
3498
case ".$PKG_CONFIG" in #(vi
3500
PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
3505
PKG_CONFIG=`echo $PKG_CONFIG | sed -e s%NONE%$cf_path_syntax%`
3508
{ { echo "$as_me:3508: error: expected a pathname, not \"$PKG_CONFIG\"" >&5
3509
echo "$as_me: error: expected a pathname, not \"$PKG_CONFIG\"" >&2;}
3510
{ (exit 1); exit 1; }; }
3516
if test "$PKG_CONFIG" != no ; then
3517
echo "$as_me:3517: checking if we should install .pc files for $PKG_CONFIG" >&5
3518
echo $ECHO_N "checking if we should install .pc files for $PKG_CONFIG... $ECHO_C" >&6
3520
# Leave this as something that can be overridden in the environment.
3521
if test -z "$PKG_CONFIG_LIBDIR" ; then
3522
PKG_CONFIG_LIBDIR=`echo "$PKG_CONFIG" | sed -e 's,/[^/]*/[^/]*$,,'`/lib/pkgconfig
3525
if test -d "$PKG_CONFIG_LIBDIR" ; then
3527
# Check whether --enable-pc-files or --disable-pc-files was given.
3528
if test "${enable_pc_files+set}" = set; then
3529
enableval="$enable_pc_files"
3530
enable_pc_files=$enableval
3534
echo "$as_me:3534: result: $enable_pc_files" >&5
3535
echo "${ECHO_T}$enable_pc_files" >&6
3537
echo "$as_me:3537: result: no" >&5
3538
echo "${ECHO_T}no" >&6
3539
{ echo "$as_me:3539: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&5
3540
echo "$as_me: WARNING: did not find library $PKG_CONFIG_LIBDIR" >&2;}
3545
echo "$as_me:3545: checking if we should assume mixed-case filenames" >&5
3413
3546
echo $ECHO_N "checking if we should assume mixed-case filenames... $ECHO_C" >&6
3415
3548
# Check whether --enable-mixed-case or --disable-mixed-case was given.
3767
3900
if test -n "$ac_tool_prefix"; then
3768
3901
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3769
3902
set dummy ${ac_tool_prefix}ar; ac_word=$2
3770
echo "$as_me:3770: checking for $ac_word" >&5
3771
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772
if test "${ac_cv_prog_AR+set}" = set; then
3773
echo $ECHO_N "(cached) $ECHO_C" >&6
3775
if test -n "$AR"; then
3776
ac_cv_prog_AR="$AR" # Let the user override the test.
3778
ac_save_IFS=$IFS; IFS=$ac_path_separator
3780
for ac_dir in $ac_dummy; do
3782
test -z "$ac_dir" && ac_dir=.
3783
$as_executable_p "$ac_dir/$ac_word" || continue
3784
ac_cv_prog_AR="${ac_tool_prefix}ar"
3785
echo "$as_me:3785: found $ac_dir/$ac_word" >&5
3792
if test -n "$AR"; then
3793
echo "$as_me:3793: result: $AR" >&5
3794
echo "${ECHO_T}$AR" >&6
3796
echo "$as_me:3796: result: no" >&5
3797
echo "${ECHO_T}no" >&6
3801
if test -z "$ac_cv_prog_AR"; then
3803
# Extract the first word of "ar", so it can be a program name with args.
3804
set dummy ar; ac_word=$2
3805
echo "$as_me:3805: checking for $ac_word" >&5
3806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3807
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3808
echo $ECHO_N "(cached) $ECHO_C" >&6
3810
if test -n "$ac_ct_AR"; then
3811
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3813
ac_save_IFS=$IFS; IFS=$ac_path_separator
3815
for ac_dir in $ac_dummy; do
3817
test -z "$ac_dir" && ac_dir=.
3818
$as_executable_p "$ac_dir/$ac_word" || continue
3819
ac_cv_prog_ac_ct_AR="ar"
3820
echo "$as_me:3820: found $ac_dir/$ac_word" >&5
3824
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3827
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3828
if test -n "$ac_ct_AR"; then
3829
echo "$as_me:3829: result: $ac_ct_AR" >&5
3830
echo "${ECHO_T}$ac_ct_AR" >&6
3832
echo "$as_me:3832: result: no" >&5
3833
echo "${ECHO_T}no" >&6
3841
if test "${cf_cv_subst_AR_OPTS+set}" = set; then
3842
echo $ECHO_N "(cached) $ECHO_C" >&6
3845
echo "$as_me:3845: checking for archiver options (symbol AR_OPTS)" >&5
3846
echo $ECHO_N "checking for archiver options (symbol AR_OPTS)... $ECHO_C" >&6
3848
if test -z "$AR_OPTS" ; then
3853
cf_cv_subst_AR_OPTS=$AR_OPTS
3854
echo "$as_me:3854: result: $AR_OPTS" >&5
3855
echo "${ECHO_T}$AR_OPTS" >&6
3859
echo "$as_me:3859: checking if you have specified an install-prefix" >&5
3903
echo "$as_me:3903: checking for $ac_word" >&5
3904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905
if test "${ac_cv_prog_AR+set}" = set; then
3906
echo $ECHO_N "(cached) $ECHO_C" >&6
3908
if test -n "$AR"; then
3909
ac_cv_prog_AR="$AR" # Let the user override the test.
3911
ac_save_IFS=$IFS; IFS=$ac_path_separator
3913
for ac_dir in $ac_dummy; do
3915
test -z "$ac_dir" && ac_dir=.
3916
$as_executable_p "$ac_dir/$ac_word" || continue
3917
ac_cv_prog_AR="${ac_tool_prefix}ar"
3918
echo "$as_me:3918: found $ac_dir/$ac_word" >&5
3925
if test -n "$AR"; then
3926
echo "$as_me:3926: result: $AR" >&5
3927
echo "${ECHO_T}$AR" >&6
3929
echo "$as_me:3929: result: no" >&5
3930
echo "${ECHO_T}no" >&6
3934
if test -z "$ac_cv_prog_AR"; then
3936
# Extract the first word of "ar", so it can be a program name with args.
3937
set dummy ar; ac_word=$2
3938
echo "$as_me:3938: checking for $ac_word" >&5
3939
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3940
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3941
echo $ECHO_N "(cached) $ECHO_C" >&6
3943
if test -n "$ac_ct_AR"; then
3944
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3946
ac_save_IFS=$IFS; IFS=$ac_path_separator
3948
for ac_dir in $ac_dummy; do
3950
test -z "$ac_dir" && ac_dir=.
3951
$as_executable_p "$ac_dir/$ac_word" || continue
3952
ac_cv_prog_ac_ct_AR="ar"
3953
echo "$as_me:3953: found $ac_dir/$ac_word" >&5
3957
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
3960
ac_ct_AR=$ac_cv_prog_ac_ct_AR
3961
if test -n "$ac_ct_AR"; then
3962
echo "$as_me:3962: result: $ac_ct_AR" >&5
3963
echo "${ECHO_T}$ac_ct_AR" >&6
3965
echo "$as_me:3965: result: no" >&5
3966
echo "${ECHO_T}no" >&6
3974
if test -n "$ac_tool_prefix"; then
3975
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3976
set dummy ${ac_tool_prefix}ar; ac_word=$2
3977
echo "$as_me:3977: checking for $ac_word" >&5
3978
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3979
if test "${ac_cv_prog_AR+set}" = set; then
3980
echo $ECHO_N "(cached) $ECHO_C" >&6
3982
if test -n "$AR"; then
3983
ac_cv_prog_AR="$AR" # Let the user override the test.
3985
ac_save_IFS=$IFS; IFS=$ac_path_separator
3987
for ac_dir in $ac_dummy; do
3989
test -z "$ac_dir" && ac_dir=.
3990
$as_executable_p "$ac_dir/$ac_word" || continue
3991
ac_cv_prog_AR="${ac_tool_prefix}ar"
3992
echo "$as_me:3992: found $ac_dir/$ac_word" >&5
3999
if test -n "$AR"; then
4000
echo "$as_me:4000: result: $AR" >&5
4001
echo "${ECHO_T}$AR" >&6
4003
echo "$as_me:4003: result: no" >&5
4004
echo "${ECHO_T}no" >&6
4008
if test -z "$ac_cv_prog_AR"; then
4010
# Extract the first word of "ar", so it can be a program name with args.
4011
set dummy ar; ac_word=$2
4012
echo "$as_me:4012: checking for $ac_word" >&5
4013
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4014
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4015
echo $ECHO_N "(cached) $ECHO_C" >&6
4017
if test -n "$ac_ct_AR"; then
4018
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4020
ac_save_IFS=$IFS; IFS=$ac_path_separator
4022
for ac_dir in $ac_dummy; do
4024
test -z "$ac_dir" && ac_dir=.
4025
$as_executable_p "$ac_dir/$ac_word" || continue
4026
ac_cv_prog_ac_ct_AR="ar"
4027
echo "$as_me:4027: found $ac_dir/$ac_word" >&5
4031
test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
4034
ac_ct_AR=$ac_cv_prog_ac_ct_AR
4035
if test -n "$ac_ct_AR"; then
4036
echo "$as_me:4036: result: $ac_ct_AR" >&5
4037
echo "${ECHO_T}$ac_ct_AR" >&6
4039
echo "$as_me:4039: result: no" >&5
4040
echo "${ECHO_T}no" >&6
4048
echo "$as_me:4048: checking for options to update archives" >&5
4049
echo $ECHO_N "checking for options to update archives... $ECHO_C" >&6
4050
if test "${cf_cv_ar_flags+set}" = set; then
4051
echo $ECHO_N "(cached) $ECHO_C" >&6
4054
cf_cv_ar_flags=unknown
4055
for cf_ar_flags in -curv curv -crv crv -cqv cqv -rv rv
4057
rm -f conftest.$ac_cv_objext
4060
cat >conftest.$ac_ext <<EOF
4061
#line 4061 "configure"
4062
int testdata[3] = { 123, 456, 789 };
4064
if { (eval echo "$as_me:4064: \"$ac_compile\"") >&5
4065
(eval $ac_compile) 2>&5
4067
echo "$as_me:4067: \$? = $ac_status" >&5
4068
(exit $ac_status); } ; then
4069
$AR $cf_ar_flags conftest.a conftest.$ac_cv_objext 2>&5 1>/dev/null
4070
if test -f conftest.a ; then
4071
cf_cv_ar_flags=$cf_ar_flags
4075
test -n "$verbose" && echo " cannot compile test-program" 1>&6
4077
echo "${as_me-configure}:4077: testing cannot compile test-program ..." 1>&5
4082
rm -f conftest.a conftest.$ac_ext conftest.$ac_cv_objext
4085
echo "$as_me:4085: result: $cf_cv_ar_flags" >&5
4086
echo "${ECHO_T}$cf_cv_ar_flags" >&6
4087
test -z "$ARFLAGS" && ARFLAGS=$cf_cv_ar_flags
4088
ARFLAGS=$cf_cv_ar_flags
4090
echo "$as_me:4090: checking if you have specified an install-prefix" >&5
3860
4091
echo $ECHO_N "checking if you have specified an install-prefix... $ECHO_C" >&6
3862
4093
# Check whether --with-install-prefix or --without-install-prefix was given.
4146
4377
# Show the version of libtool
4147
echo "$as_me:4147: checking version of libtool" >&5
4378
echo "$as_me:4378: checking version of libtool" >&5
4148
4379
echo $ECHO_N "checking version of libtool... $ECHO_C" >&6
4150
4381
# Save the version in a cache variable - this is not entirely a good
4151
4382
# thing, but the version string from libtool is very ugly, and for
4152
# bug reports it might be useful to have the original string.
4383
# bug reports it might be useful to have the original string. "("
4153
4384
cf_cv_libtool_version=`$LIBTOOL --version 2>&1 | sed -e '/^$/d' |sed -e '2,$d' -e 's/([^)]*)//g' -e 's/^[^1-9]*//' -e 's/[^0-9.].*//'`
4154
echo "$as_me:4154: result: $cf_cv_libtool_version" >&5
4385
echo "$as_me:4385: result: $cf_cv_libtool_version" >&5
4155
4386
echo "${ECHO_T}$cf_cv_libtool_version" >&6
4156
4387
if test -z "$cf_cv_libtool_version" ; then
4157
{ { echo "$as_me:4157: error: This is not GNU libtool" >&5
4388
{ { echo "$as_me:4388: error: This is not GNU libtool" >&5
4158
4389
echo "$as_me: error: This is not GNU libtool" >&2;}
4159
4390
{ (exit 1); exit 1; }; }
4393
# special hack to add -no-undefined (which libtool should do for itself)
4395
case "$cf_cv_system_name" in #(vi
4396
cygwin*|mingw32*|uwin*|aix[456]) #(vi
4397
LT_UNDEF=-no-undefined
4162
4401
# special hack to add --tag option for C++ compiler
4163
case $cf_cv_libtool_version in
4402
case $cf_cv_libtool_version in #(vi
4403
1.[5-9]*|[2-9].[0-9.a-z]*) #(vi
4165
4404
LIBTOOL_CXX="$LIBTOOL --tag=CXX"
4166
4405
LIBTOOL="$LIBTOOL --tag=CC"