3686
# Find a good install program. We prefer a C program (faster),
3687
# so one script is as good as another. But avoid the broken or
3688
# incompatible versions:
3689
# SysV /etc/install, /usr/sbin/install
3690
# SunOS /usr/etc/install
3691
# IRIX /sbin/install
3693
# AmigaOS /C/install, which installs bootblocks on floppy discs
3694
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3695
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3696
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3697
# OS/2's system install, which has a completely different semantic
3698
# ./install, which can be erroneously created by make from ./install.sh.
3699
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3700
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3701
if test -z "$INSTALL"; then
3702
if test "${ac_cv_path_install+set}" = set; then
3703
echo $ECHO_N "(cached) $ECHO_C" >&6
3705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709
test -z "$as_dir" && as_dir=.
3710
# Account for people who put trailing slashes in PATH elements.
3712
./ | .// | /cC/* | \
3713
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3714
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3717
# OSF1 and SCO ODT 3.0 have their own names for install.
3718
# Don't use installbsd from OSF since it installs stuff as root
3720
for ac_prog in ginstall scoinst install; do
3721
for ac_exec_ext in '' $ac_executable_extensions; do
3722
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3723
if test $ac_prog = install &&
3724
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3725
# AIX install. It has an incompatible calling convention.
3727
elif test $ac_prog = install &&
3728
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3729
# program-specific install script used by HP pwplus--don't use.
3732
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3745
if test "${ac_cv_path_install+set}" = set; then
3746
INSTALL=$ac_cv_path_install
3748
# As a last resort, use the slow shell script. Don't cache a
3749
# value for INSTALL within a source directory, because that will
3750
# break other packages using the cache if that directory is
3751
# removed, or if the value is a relative name.
3752
INSTALL=$ac_install_sh
3755
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3756
echo "${ECHO_T}$INSTALL" >&6; }
3758
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3759
# It thinks the first close brace ends the variable substitution.
3760
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3762
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3764
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3766
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3767
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3769
if test "$LN_S" = "ln -s"; then
3770
{ echo "$as_me:$LINENO: result: yes" >&5
3771
echo "${ECHO_T}yes" >&6; }
3773
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3774
echo "${ECHO_T}no, using $LN_S" >&6; }
3778
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3779
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3780
if test "${ac_cv_search_strerror+set}" = set; then
3781
echo $ECHO_N "(cached) $ECHO_C" >&6
3783
ac_func_search_save_LIBS=$LIBS
3784
cat >conftest.$ac_ext <<_ACEOF
3787
cat confdefs.h >>conftest.$ac_ext
3788
cat >>conftest.$ac_ext <<_ACEOF
3789
/* end confdefs.h. */
3791
/* Override any GCC internal prototype to avoid an error.
3792
Use char because int might match the return type of a GCC
3793
builtin and then its argument prototype would still apply. */
3806
for ac_lib in '' cposix; do
3807
if test -z "$ac_lib"; then
3808
ac_res="none required"
3811
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3813
rm -f conftest.$ac_objext conftest$ac_exeext
3814
if { (ac_try="$ac_link"
3816
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817
*) ac_try_echo=$ac_try;;
3819
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3820
(eval "$ac_link") 2>conftest.er1
3822
grep -v '^ *+' conftest.er1 >conftest.err
3824
cat conftest.err >&5
3825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826
(exit $ac_status); } && {
3827
test -z "$ac_c_werror_flag" ||
3828
test ! -s conftest.err
3829
} && test -s conftest$ac_exeext &&
3830
$as_test_x conftest$ac_exeext; then
3831
ac_cv_search_strerror=$ac_res
3833
echo "$as_me: failed program was:" >&5
3834
sed 's/^/| /' conftest.$ac_ext >&5
3839
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3841
if test "${ac_cv_search_strerror+set}" = set; then
3845
if test "${ac_cv_search_strerror+set}" = set; then
3848
ac_cv_search_strerror=no
3851
LIBS=$ac_func_search_save_LIBS
3853
{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3854
echo "${ECHO_T}$ac_cv_search_strerror" >&6; }
3855
ac_res=$ac_cv_search_strerror
3856
if test "$ac_res" != no; then
3857
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3862
3815
ac_cpp='$CPP $CPPFLAGS'
3863
3816
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3864
3817
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3865
3818
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3866
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3867
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3819
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3820
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3868
3821
# On Suns, sometimes $CPP names a directory.
3869
3822
if test -n "$CPP" && test -d "$CPP"; then
3872
3825
if test -z "$CPP"; then
3873
3826
if test "${ac_cv_prog_CPP+set}" = set; then
3874
echo $ECHO_N "(cached) $ECHO_C" >&6
3827
$as_echo_n "(cached) " >&6
3876
3829
# Double quotes because CPP needs to be expanded
3877
3830
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4676
4589
#define _MINIX 1
4596
{ $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4597
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4598
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4599
$as_echo_n "(cached) " >&6
4601
cat >conftest.$ac_ext <<_ACEOF
4604
cat confdefs.h >>conftest.$ac_ext
4605
cat >>conftest.$ac_ext <<_ACEOF
4606
/* end confdefs.h. */
4608
# define __EXTENSIONS__ 1
4609
$ac_includes_default
4618
rm -f conftest.$ac_objext
4619
if { (ac_try="$ac_compile"
4621
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4622
*) ac_try_echo=$ac_try;;
4624
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4625
$as_echo "$ac_try_echo") >&5
4626
(eval "$ac_compile") 2>conftest.er1
4628
grep -v '^ *+' conftest.er1 >conftest.err
4630
cat conftest.err >&5
4631
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4632
(exit $ac_status); } && {
4633
test -z "$ac_c_werror_flag" ||
4634
test ! -s conftest.err
4635
} && test -s conftest.$ac_objext; then
4636
ac_cv_safe_to_define___extensions__=yes
4638
$as_echo "$as_me: failed program was:" >&5
4639
sed 's/^/| /' conftest.$ac_ext >&5
4641
ac_cv_safe_to_define___extensions__=no
4644
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4646
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4647
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4648
test $ac_cv_safe_to_define___extensions__ = yes &&
4649
cat >>confdefs.h <<\_ACEOF
4650
#define __EXTENSIONS__ 1
4653
cat >>confdefs.h <<\_ACEOF
4654
#define _ALL_SOURCE 1
4657
cat >>confdefs.h <<\_ACEOF
4658
#define _GNU_SOURCE 1
4661
cat >>confdefs.h <<\_ACEOF
4662
#define _POSIX_PTHREAD_SEMANTICS 1
4665
cat >>confdefs.h <<\_ACEOF
4666
#define _TANDEM_SOURCE 1
4671
ac_cpp='$CPP $CPPFLAGS'
4672
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4673
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4674
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675
if test -n "$ac_tool_prefix"; then
4676
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4677
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4678
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4679
$as_echo_n "checking for $ac_word... " >&6; }
4680
if test "${ac_cv_prog_CC+set}" = set; then
4681
$as_echo_n "(cached) " >&6
4683
if test -n "$CC"; then
4684
ac_cv_prog_CC="$CC" # Let the user override the test.
4686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4690
test -z "$as_dir" && as_dir=.
4691
for ac_exec_ext in '' $ac_executable_extensions; do
4692
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4693
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4694
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4704
if test -n "$CC"; then
4705
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4706
$as_echo "$CC" >&6; }
4708
{ $as_echo "$as_me:$LINENO: result: no" >&5
4709
$as_echo "no" >&6; }
4714
if test -z "$ac_cv_prog_CC"; then
4716
# Extract the first word of "gcc", so it can be a program name with args.
4717
set dummy gcc; ac_word=$2
4718
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4719
$as_echo_n "checking for $ac_word... " >&6; }
4720
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4721
$as_echo_n "(cached) " >&6
4723
if test -n "$ac_ct_CC"; then
4724
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4726
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730
test -z "$as_dir" && as_dir=.
4731
for ac_exec_ext in '' $ac_executable_extensions; do
4732
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4733
ac_cv_prog_ac_ct_CC="gcc"
4734
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4743
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4744
if test -n "$ac_ct_CC"; then
4745
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4746
$as_echo "$ac_ct_CC" >&6; }
4748
{ $as_echo "$as_me:$LINENO: result: no" >&5
4749
$as_echo "no" >&6; }
4752
if test "x$ac_ct_CC" = x; then
4755
case $cross_compiling:$ac_tool_warned in
4757
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4758
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4759
ac_tool_warned=yes ;;
4767
if test -z "$CC"; then
4768
if test -n "$ac_tool_prefix"; then
4769
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4770
set dummy ${ac_tool_prefix}cc; ac_word=$2
4771
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4772
$as_echo_n "checking for $ac_word... " >&6; }
4773
if test "${ac_cv_prog_CC+set}" = set; then
4774
$as_echo_n "(cached) " >&6
4776
if test -n "$CC"; then
4777
ac_cv_prog_CC="$CC" # Let the user override the test.
4779
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4783
test -z "$as_dir" && as_dir=.
4784
for ac_exec_ext in '' $ac_executable_extensions; do
4785
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786
ac_cv_prog_CC="${ac_tool_prefix}cc"
4787
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4797
if test -n "$CC"; then
4798
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4799
$as_echo "$CC" >&6; }
4801
{ $as_echo "$as_me:$LINENO: result: no" >&5
4802
$as_echo "no" >&6; }
4808
if test -z "$CC"; then
4809
# Extract the first word of "cc", so it can be a program name with args.
4810
set dummy cc; ac_word=$2
4811
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4812
$as_echo_n "checking for $ac_word... " >&6; }
4813
if test "${ac_cv_prog_CC+set}" = set; then
4814
$as_echo_n "(cached) " >&6
4816
if test -n "$CC"; then
4817
ac_cv_prog_CC="$CC" # Let the user override the test.
4820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824
test -z "$as_dir" && as_dir=.
4825
for ac_exec_ext in '' $ac_executable_extensions; do
4826
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4827
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4828
ac_prog_rejected=yes
4832
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4839
if test $ac_prog_rejected = yes; then
4840
# We found a bogon in the path, so make sure we never use it.
4841
set dummy $ac_cv_prog_CC
4843
if test $# != 0; then
4844
# We chose a different compiler from the bogus one.
4845
# However, it has the same basename, so the bogon will be chosen
4846
# first if we set CC to just the basename; use the full file name.
4848
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4854
if test -n "$CC"; then
4855
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4856
$as_echo "$CC" >&6; }
4858
{ $as_echo "$as_me:$LINENO: result: no" >&5
4859
$as_echo "no" >&6; }
4864
if test -z "$CC"; then
4865
if test -n "$ac_tool_prefix"; then
4866
for ac_prog in cl.exe
4868
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4869
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4870
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4871
$as_echo_n "checking for $ac_word... " >&6; }
4872
if test "${ac_cv_prog_CC+set}" = set; then
4873
$as_echo_n "(cached) " >&6
4875
if test -n "$CC"; then
4876
ac_cv_prog_CC="$CC" # Let the user override the test.
4878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4882
test -z "$as_dir" && as_dir=.
4883
for ac_exec_ext in '' $ac_executable_extensions; do
4884
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4886
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896
if test -n "$CC"; then
4897
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4898
$as_echo "$CC" >&6; }
4900
{ $as_echo "$as_me:$LINENO: result: no" >&5
4901
$as_echo "no" >&6; }
4905
test -n "$CC" && break
4908
if test -z "$CC"; then
4910
for ac_prog in cl.exe
4912
# Extract the first word of "$ac_prog", so it can be a program name with args.
4913
set dummy $ac_prog; ac_word=$2
4914
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4915
$as_echo_n "checking for $ac_word... " >&6; }
4916
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4917
$as_echo_n "(cached) " >&6
4919
if test -n "$ac_ct_CC"; then
4920
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4922
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4926
test -z "$as_dir" && as_dir=.
4927
for ac_exec_ext in '' $ac_executable_extensions; do
4928
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929
ac_cv_prog_ac_ct_CC="$ac_prog"
4930
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4939
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4940
if test -n "$ac_ct_CC"; then
4941
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4942
$as_echo "$ac_ct_CC" >&6; }
4944
{ $as_echo "$as_me:$LINENO: result: no" >&5
4945
$as_echo "no" >&6; }
4949
test -n "$ac_ct_CC" && break
4952
if test "x$ac_ct_CC" = x; then
4955
case $cross_compiling:$ac_tool_warned in
4957
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4958
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4959
ac_tool_warned=yes ;;
4968
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4969
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4970
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4971
See \`config.log' for more details." >&5
4972
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4973
See \`config.log' for more details." >&2;}
4974
{ (exit 1); exit 1; }; }; }
4976
# Provide some information about the compiler.
4977
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4980
{ (ac_try="$ac_compiler --version >&5"
4982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4983
*) ac_try_echo=$ac_try;;
4985
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4986
$as_echo "$ac_try_echo") >&5
4987
(eval "$ac_compiler --version >&5") 2>&5
4989
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990
(exit $ac_status); }
4991
{ (ac_try="$ac_compiler -v >&5"
4993
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4994
*) ac_try_echo=$ac_try;;
4996
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4997
$as_echo "$ac_try_echo") >&5
4998
(eval "$ac_compiler -v >&5") 2>&5
5000
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5001
(exit $ac_status); }
5002
{ (ac_try="$ac_compiler -V >&5"
5004
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5005
*) ac_try_echo=$ac_try;;
5007
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5008
$as_echo "$ac_try_echo") >&5
5009
(eval "$ac_compiler -V >&5") 2>&5
5011
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5012
(exit $ac_status); }
5014
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
5015
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5016
if test "${ac_cv_c_compiler_gnu+set}" = set; then
5017
$as_echo_n "(cached) " >&6
5019
cat >conftest.$ac_ext <<_ACEOF
5022
cat confdefs.h >>conftest.$ac_ext
5023
cat >>conftest.$ac_ext <<_ACEOF
5024
/* end confdefs.h. */
5037
rm -f conftest.$ac_objext
5038
if { (ac_try="$ac_compile"
5040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5041
*) ac_try_echo=$ac_try;;
5043
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5044
$as_echo "$ac_try_echo") >&5
5045
(eval "$ac_compile") 2>conftest.er1
5047
grep -v '^ *+' conftest.er1 >conftest.err
5049
cat conftest.err >&5
5050
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051
(exit $ac_status); } && {
5052
test -z "$ac_c_werror_flag" ||
5053
test ! -s conftest.err
5054
} && test -s conftest.$ac_objext; then
5057
$as_echo "$as_me: failed program was:" >&5
5058
sed 's/^/| /' conftest.$ac_ext >&5
5063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5064
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5067
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
5068
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5069
if test $ac_compiler_gnu = yes; then
5074
ac_test_CFLAGS=${CFLAGS+set}
5075
ac_save_CFLAGS=$CFLAGS
5076
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
5077
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5078
if test "${ac_cv_prog_cc_g+set}" = set; then
5079
$as_echo_n "(cached) " >&6
5081
ac_save_c_werror_flag=$ac_c_werror_flag
5082
ac_c_werror_flag=yes
5085
cat >conftest.$ac_ext <<_ACEOF
5088
cat confdefs.h >>conftest.$ac_ext
5089
cat >>conftest.$ac_ext <<_ACEOF
5090
/* end confdefs.h. */
5100
rm -f conftest.$ac_objext
5101
if { (ac_try="$ac_compile"
5103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5104
*) ac_try_echo=$ac_try;;
5106
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5107
$as_echo "$ac_try_echo") >&5
5108
(eval "$ac_compile") 2>conftest.er1
5110
grep -v '^ *+' conftest.er1 >conftest.err
5112
cat conftest.err >&5
5113
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5114
(exit $ac_status); } && {
5115
test -z "$ac_c_werror_flag" ||
5116
test ! -s conftest.err
5117
} && test -s conftest.$ac_objext; then
5120
$as_echo "$as_me: failed program was:" >&5
5121
sed 's/^/| /' conftest.$ac_ext >&5
5124
cat >conftest.$ac_ext <<_ACEOF
5127
cat confdefs.h >>conftest.$ac_ext
5128
cat >>conftest.$ac_ext <<_ACEOF
5129
/* end confdefs.h. */
5139
rm -f conftest.$ac_objext
5140
if { (ac_try="$ac_compile"
5142
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5143
*) ac_try_echo=$ac_try;;
5145
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5146
$as_echo "$ac_try_echo") >&5
5147
(eval "$ac_compile") 2>conftest.er1
5149
grep -v '^ *+' conftest.er1 >conftest.err
5151
cat conftest.err >&5
5152
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5153
(exit $ac_status); } && {
5154
test -z "$ac_c_werror_flag" ||
5155
test ! -s conftest.err
5156
} && test -s conftest.$ac_objext; then
5159
$as_echo "$as_me: failed program was:" >&5
5160
sed 's/^/| /' conftest.$ac_ext >&5
5162
ac_c_werror_flag=$ac_save_c_werror_flag
5164
cat >conftest.$ac_ext <<_ACEOF
5167
cat confdefs.h >>conftest.$ac_ext
5168
cat >>conftest.$ac_ext <<_ACEOF
5169
/* end confdefs.h. */
5179
rm -f conftest.$ac_objext
5180
if { (ac_try="$ac_compile"
5182
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5183
*) ac_try_echo=$ac_try;;
5185
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5186
$as_echo "$ac_try_echo") >&5
5187
(eval "$ac_compile") 2>conftest.er1
5189
grep -v '^ *+' conftest.er1 >conftest.err
5191
cat conftest.err >&5
5192
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193
(exit $ac_status); } && {
5194
test -z "$ac_c_werror_flag" ||
5195
test ! -s conftest.err
5196
} && test -s conftest.$ac_objext; then
5199
$as_echo "$as_me: failed program was:" >&5
5200
sed 's/^/| /' conftest.$ac_ext >&5
5205
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5211
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5212
ac_c_werror_flag=$ac_save_c_werror_flag
5214
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5215
$as_echo "$ac_cv_prog_cc_g" >&6; }
5216
if test "$ac_test_CFLAGS" = set; then
5217
CFLAGS=$ac_save_CFLAGS
5218
elif test $ac_cv_prog_cc_g = yes; then
5219
if test "$GCC" = yes; then
5225
if test "$GCC" = yes; then
5231
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5232
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5233
if test "${ac_cv_prog_cc_c89+set}" = set; then
5234
$as_echo_n "(cached) " >&6
5236
ac_cv_prog_cc_c89=no
5238
cat >conftest.$ac_ext <<_ACEOF
5241
cat confdefs.h >>conftest.$ac_ext
5242
cat >>conftest.$ac_ext <<_ACEOF
5243
/* end confdefs.h. */
5246
#include <sys/types.h>
5247
#include <sys/stat.h>
5248
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5249
struct buf { int x; };
5250
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5251
static char *e (p, i)
5257
static char *f (char * (*g) (char **, int), char **p, ...)
5262
s = g (p, va_arg (v,int));
5267
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5268
function prototypes and stuff, but not '\xHH' hex character constants.
5269
These don't provoke an error unfortunately, instead are silently treated
5270
as 'x'. The following induces an error, until -std is added to get
5271
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5272
array size at least. It's necessary to write '\x00'==0 to get something
5273
that's true only with -std. */
5274
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5276
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5277
inside strings and character constants. */
5279
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5281
int test (int i, double x);
5282
struct s1 {int (*f) (int a);};
5283
struct s2 {int (*f) (double a);};
5284
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5290
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5295
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5296
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5298
CC="$ac_save_CC $ac_arg"
5299
rm -f conftest.$ac_objext
5300
if { (ac_try="$ac_compile"
5302
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5303
*) ac_try_echo=$ac_try;;
5305
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5306
$as_echo "$ac_try_echo") >&5
5307
(eval "$ac_compile") 2>conftest.er1
5309
grep -v '^ *+' conftest.er1 >conftest.err
5311
cat conftest.err >&5
5312
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313
(exit $ac_status); } && {
5314
test -z "$ac_c_werror_flag" ||
5315
test ! -s conftest.err
5316
} && test -s conftest.$ac_objext; then
5317
ac_cv_prog_cc_c89=$ac_arg
5319
$as_echo "$as_me: failed program was:" >&5
5320
sed 's/^/| /' conftest.$ac_ext >&5
5325
rm -f core conftest.err conftest.$ac_objext
5326
test "x$ac_cv_prog_cc_c89" != "xno" && break
5328
rm -f conftest.$ac_ext
5333
case "x$ac_cv_prog_cc_c89" in
5335
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
5336
$as_echo "none needed" >&6; } ;;
5338
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
5339
$as_echo "unsupported" >&6; } ;;
5341
CC="$CC $ac_cv_prog_cc_c89"
5342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5343
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5348
ac_cpp='$CPP $CPPFLAGS'
5349
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5350
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5351
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5353
depcc="$CC" am_compiler_list=
5355
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5356
$as_echo_n "checking dependency style of $depcc... " >&6; }
5357
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5358
$as_echo_n "(cached) " >&6
5360
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5361
# We make a subdir and do the tests there. Otherwise we can end up
5362
# making bogus files that we don't know about and never remove. For
5363
# instance it was reported that on HP-UX the gcc test will end up
5364
# making a dummy file named `D' -- because `-MD' means `put the output
5367
# Copy depcomp to subdir because otherwise we won't find it if we're
5368
# using a relative directory.
5369
cp "$am_depcomp" conftest.dir
5371
# We will build objects and dependencies in a subdirectory because
5372
# it helps to detect inapplicable dependency modes. For instance
5373
# both Tru64's cc and ICC support -MD to output dependencies as a
5374
# side effect of compilation, but ICC will put the dependencies in
5375
# the current directory while Tru64 will put them in the object
5379
am_cv_CC_dependencies_compiler_type=none
5380
if test "$am_compiler_list" = ""; then
5381
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5383
for depmode in $am_compiler_list; do
5384
# Setup a source with many dependencies, because some compilers
5385
# like to wrap large dependency lists on column 80 (with \), and
5386
# we should not choose a depcomp mode which is confused by this.
5388
# We need to recreate these files for each test, as the compiler may
5389
# overwrite some of them when testing with obscure command lines.
5390
# This happens at least with the AIX C compiler.
5392
for i in 1 2 3 4 5 6; do
5393
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5394
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5395
# Solaris 8's {/usr,}/bin/sh.
5396
touch sub/conftst$i.h
5398
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5402
# after this tag, mechanisms are not by side-effect, so they'll
5403
# only be used when explicitly requested
5404
if test "x$enable_dependency_tracking" = xyes; then
5412
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5413
# mode. It turns out that the SunPro C++ compiler does not properly
5414
# handle `-M -o', and we need to detect this.
5415
if depmode=$depmode \
5416
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5417
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5418
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5419
>/dev/null 2>conftest.err &&
5420
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5421
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5422
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5423
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5424
# icc doesn't choke on unknown options, it will just issue warnings
5425
# or remarks (even with -Werror). So we grep stderr for any message
5426
# that says an option was ignored or not supported.
5427
# When given -MP, icc 7.0 and 7.1 complain thusly:
5428
# icc: Command line warning: ignoring option '-M'; no argument required
5429
# The diagnosis changed in icc 8.0:
5430
# icc: Command line remark: option '-MP' not supported
5431
if (grep 'ignoring option' conftest.err ||
5432
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5433
am_cv_CC_dependencies_compiler_type=$depmode
5442
am_cv_CC_dependencies_compiler_type=none
5446
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5447
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5448
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5451
test "x$enable_dependency_tracking" != xno \
5452
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5454
am__fastdepCC_FALSE='#'
5456
am__fastdepCC_TRUE='#'
5457
am__fastdepCC_FALSE=
5461
# Find a good install program. We prefer a C program (faster),
5462
# so one script is as good as another. But avoid the broken or
5463
# incompatible versions:
5464
# SysV /etc/install, /usr/sbin/install
5465
# SunOS /usr/etc/install
5466
# IRIX /sbin/install
5468
# AmigaOS /C/install, which installs bootblocks on floppy discs
5469
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5470
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5471
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5472
# OS/2's system install, which has a completely different semantic
5473
# ./install, which can be erroneously created by make from ./install.sh.
5474
# Reject install programs that cannot install multiple files.
5475
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5476
$as_echo_n "checking for a BSD-compatible install... " >&6; }
5477
if test -z "$INSTALL"; then
5478
if test "${ac_cv_path_install+set}" = set; then
5479
$as_echo_n "(cached) " >&6
5481
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485
test -z "$as_dir" && as_dir=.
5486
# Account for people who put trailing slashes in PATH elements.
5488
./ | .// | /cC/* | \
5489
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5490
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5493
# OSF1 and SCO ODT 3.0 have their own names for install.
5494
# Don't use installbsd from OSF since it installs stuff as root
5496
for ac_prog in ginstall scoinst install; do
5497
for ac_exec_ext in '' $ac_executable_extensions; do
5498
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5499
if test $ac_prog = install &&
5500
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5501
# AIX install. It has an incompatible calling convention.
5503
elif test $ac_prog = install &&
5504
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5505
# program-specific install script used by HP pwplus--don't use.
5508
rm -rf conftest.one conftest.two conftest.dir
5509
echo one > conftest.one
5510
echo two > conftest.two
5512
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
5513
test -s conftest.one && test -s conftest.two &&
5514
test -s conftest.dir/conftest.one &&
5515
test -s conftest.dir/conftest.two
5517
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5530
rm -rf conftest.one conftest.two conftest.dir
5533
if test "${ac_cv_path_install+set}" = set; then
5534
INSTALL=$ac_cv_path_install
5536
# As a last resort, use the slow shell script. Don't cache a
5537
# value for INSTALL within a source directory, because that will
5538
# break other packages using the cache if that directory is
5539
# removed, or if the value is a relative name.
5540
INSTALL=$ac_install_sh
5543
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
5544
$as_echo "$INSTALL" >&6; }
5546
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5547
# It thinks the first close brace ends the variable substitution.
5548
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5550
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5552
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5554
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5555
$as_echo_n "checking whether ln -s works... " >&6; }
5557
if test "$LN_S" = "ln -s"; then
5558
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5559
$as_echo "yes" >&6; }
5561
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5562
$as_echo "no, using $LN_S" >&6; }
8317
rhapsody* | darwin*)
8318
if test -n "$ac_tool_prefix"; then
8319
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8320
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8321
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8322
$as_echo_n "checking for $ac_word... " >&6; }
8323
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8324
$as_echo_n "(cached) " >&6
8326
if test -n "$DSYMUTIL"; then
8327
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333
test -z "$as_dir" && as_dir=.
8334
for ac_exec_ext in '' $ac_executable_extensions; do
8335
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8337
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8346
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8347
if test -n "$DSYMUTIL"; then
8348
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8349
$as_echo "$DSYMUTIL" >&6; }
8351
{ $as_echo "$as_me:$LINENO: result: no" >&5
8352
$as_echo "no" >&6; }
8357
if test -z "$ac_cv_prog_DSYMUTIL"; then
8358
ac_ct_DSYMUTIL=$DSYMUTIL
8359
# Extract the first word of "dsymutil", so it can be a program name with args.
8360
set dummy dsymutil; ac_word=$2
8361
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8362
$as_echo_n "checking for $ac_word... " >&6; }
8363
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8364
$as_echo_n "(cached) " >&6
8366
if test -n "$ac_ct_DSYMUTIL"; then
8367
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8373
test -z "$as_dir" && as_dir=.
8374
for ac_exec_ext in '' $ac_executable_extensions; do
8375
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8376
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8377
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8386
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8387
if test -n "$ac_ct_DSYMUTIL"; then
8388
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8389
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8391
{ $as_echo "$as_me:$LINENO: result: no" >&5
8392
$as_echo "no" >&6; }
8395
if test "x$ac_ct_DSYMUTIL" = x; then
8398
case $cross_compiling:$ac_tool_warned in
8400
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8401
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8402
ac_tool_warned=yes ;;
8404
DSYMUTIL=$ac_ct_DSYMUTIL
8407
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8410
if test -n "$ac_tool_prefix"; then
8411
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8412
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8413
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8414
$as_echo_n "checking for $ac_word... " >&6; }
8415
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8416
$as_echo_n "(cached) " >&6
8418
if test -n "$NMEDIT"; then
8419
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425
test -z "$as_dir" && as_dir=.
8426
for ac_exec_ext in '' $ac_executable_extensions; do
8427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8429
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8438
NMEDIT=$ac_cv_prog_NMEDIT
8439
if test -n "$NMEDIT"; then
8440
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8441
$as_echo "$NMEDIT" >&6; }
8443
{ $as_echo "$as_me:$LINENO: result: no" >&5
8444
$as_echo "no" >&6; }
8449
if test -z "$ac_cv_prog_NMEDIT"; then
8450
ac_ct_NMEDIT=$NMEDIT
8451
# Extract the first word of "nmedit", so it can be a program name with args.
8452
set dummy nmedit; ac_word=$2
8453
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8454
$as_echo_n "checking for $ac_word... " >&6; }
8455
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8456
$as_echo_n "(cached) " >&6
8458
if test -n "$ac_ct_NMEDIT"; then
8459
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465
test -z "$as_dir" && as_dir=.
8466
for ac_exec_ext in '' $ac_executable_extensions; do
8467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8469
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8478
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8479
if test -n "$ac_ct_NMEDIT"; then
8480
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8481
$as_echo "$ac_ct_NMEDIT" >&6; }
8483
{ $as_echo "$as_me:$LINENO: result: no" >&5
8484
$as_echo "no" >&6; }
8487
if test "x$ac_ct_NMEDIT" = x; then
8490
case $cross_compiling:$ac_tool_warned in
8492
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8493
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8494
ac_tool_warned=yes ;;
8496
NMEDIT=$ac_ct_NMEDIT
8499
NMEDIT="$ac_cv_prog_NMEDIT"
8503
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8504
$as_echo_n "checking for -single_module linker flag... " >&6; }
8505
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8506
$as_echo_n "(cached) " >&6
8508
lt_cv_apple_cc_single_mod=no
8509
if test -z "${LT_MULTI_MODULE}"; then
8510
# By default we will add the -single_module flag. You can override
8511
# by either setting the environment variable LT_MULTI_MODULE
8512
# non-empty at configure time, or by adding -multi_module to the
8514
echo "int foo(void){return 1;}" > conftest.c
8515
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8516
-dynamiclib ${wl}-single_module conftest.c
8517
if test -f libconftest.dylib; then
8518
lt_cv_apple_cc_single_mod=yes
8519
rm -rf libconftest.dylib*
8524
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8525
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8526
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8527
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8528
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8529
$as_echo_n "(cached) " >&6
8531
lt_cv_ld_exported_symbols_list=no
8532
save_LDFLAGS=$LDFLAGS
8533
echo "_main" > conftest.sym
8534
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8535
cat >conftest.$ac_ext <<_ACEOF
8538
cat confdefs.h >>conftest.$ac_ext
8539
cat >>conftest.$ac_ext <<_ACEOF
8540
/* end confdefs.h. */
8550
rm -f conftest.$ac_objext conftest$ac_exeext
8551
if { (ac_try="$ac_link"
8553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554
*) ac_try_echo=$ac_try;;
8556
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8557
$as_echo "$ac_try_echo") >&5
8558
(eval "$ac_link") 2>conftest.er1
8560
grep -v '^ *+' conftest.er1 >conftest.err
8562
cat conftest.err >&5
8563
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564
(exit $ac_status); } && {
8565
test -z "$ac_c_werror_flag" ||
8566
test ! -s conftest.err
8567
} && test -s conftest$ac_exeext && {
8568
test "$cross_compiling" = yes ||
8569
$as_test_x conftest$ac_exeext
8571
lt_cv_ld_exported_symbols_list=yes
8573
$as_echo "$as_me: failed program was:" >&5
8574
sed 's/^/| /' conftest.$ac_ext >&5
8576
lt_cv_ld_exported_symbols_list=no
8579
rm -rf conftest.dSYM
8580
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8581
conftest$ac_exeext conftest.$ac_ext
8582
LDFLAGS="$save_LDFLAGS"
8585
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8586
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8588
rhapsody* | darwin1.[0123])
8589
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8591
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8593
# if running on 10.5 or later, the deployment target defaults
8594
# to the OS version, if on x86, and 10.4, the deployment
8595
# target defaults to 10.4. Don't you love it?
8596
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8597
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8598
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8600
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8602
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8606
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8607
_lt_dar_single_mod='$single_module'
8609
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8610
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8612
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8614
if test "$DSYMUTIL" != ":"; then
8615
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7410
8623
enable_dlopen=yes
7411
8624
enable_win32_dll=no
23081
24607
(umask 077 && mkdir "$tmp")
23084
echo "$me: cannot create a temporary directory in ." >&2
24610
$as_echo "$as_me: cannot create a temporary directory in ." >&2
23085
24611
{ (exit 1); exit 1; }
23089
# Set up the sed scripts for CONFIG_FILES section.
23092
# No need to generate the scripts if there are no CONFIG_FILES.
23093
# This happens for instance when ./config.status config.h
24614
# Set up the scripts for CONFIG_FILES section.
24615
# No need to generate them if there are no CONFIG_FILES.
24616
# This happens for instance with `./config.status config.h'.
23094
24617
if test -n "$CONFIG_FILES"; then
23101
for ac_last_try in false false false false false :; do
23102
cat >conf$$subs.sed <<_ACEOF
23103
SHELL!$SHELL$ac_delim
23104
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23105
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23106
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23107
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23108
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23109
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23110
exec_prefix!$exec_prefix$ac_delim
23111
prefix!$prefix$ac_delim
23112
program_transform_name!$program_transform_name$ac_delim
23113
bindir!$bindir$ac_delim
23114
sbindir!$sbindir$ac_delim
23115
libexecdir!$libexecdir$ac_delim
23116
datarootdir!$datarootdir$ac_delim
23117
datadir!$datadir$ac_delim
23118
sysconfdir!$sysconfdir$ac_delim
23119
sharedstatedir!$sharedstatedir$ac_delim
23120
localstatedir!$localstatedir$ac_delim
23121
includedir!$includedir$ac_delim
23122
oldincludedir!$oldincludedir$ac_delim
23123
docdir!$docdir$ac_delim
23124
infodir!$infodir$ac_delim
23125
htmldir!$htmldir$ac_delim
23126
dvidir!$dvidir$ac_delim
23127
pdfdir!$pdfdir$ac_delim
23128
psdir!$psdir$ac_delim
23129
libdir!$libdir$ac_delim
23130
localedir!$localedir$ac_delim
23131
mandir!$mandir$ac_delim
23132
DEFS!$DEFS$ac_delim
23133
ECHO_C!$ECHO_C$ac_delim
23134
ECHO_N!$ECHO_N$ac_delim
23135
ECHO_T!$ECHO_T$ac_delim
23136
LIBS!$LIBS$ac_delim
23137
build_alias!$build_alias$ac_delim
23138
host_alias!$host_alias$ac_delim
23139
target_alias!$target_alias$ac_delim
23140
build!$build$ac_delim
23141
build_cpu!$build_cpu$ac_delim
23142
build_vendor!$build_vendor$ac_delim
23143
build_os!$build_os$ac_delim
23144
host!$host$ac_delim
23145
host_cpu!$host_cpu$ac_delim
23146
host_vendor!$host_vendor$ac_delim
23147
host_os!$host_os$ac_delim
23148
target!$target$ac_delim
23149
target_cpu!$target_cpu$ac_delim
23150
target_vendor!$target_vendor$ac_delim
23151
target_os!$target_os$ac_delim
23152
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23153
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23154
INSTALL_DATA!$INSTALL_DATA$ac_delim
23155
am__isrc!$am__isrc$ac_delim
23156
CYGPATH_W!$CYGPATH_W$ac_delim
23157
PACKAGE!$PACKAGE$ac_delim
23158
VERSION!$VERSION$ac_delim
23159
ACLOCAL!$ACLOCAL$ac_delim
23160
AUTOCONF!$AUTOCONF$ac_delim
23161
AUTOMAKE!$AUTOMAKE$ac_delim
23162
AUTOHEADER!$AUTOHEADER$ac_delim
23163
MAKEINFO!$MAKEINFO$ac_delim
23164
install_sh!$install_sh$ac_delim
23165
STRIP!$STRIP$ac_delim
23166
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23167
mkdir_p!$mkdir_p$ac_delim
23169
SET_MAKE!$SET_MAKE$ac_delim
23170
am__leading_dot!$am__leading_dot$ac_delim
23171
AMTAR!$AMTAR$ac_delim
23172
am__tar!$am__tar$ac_delim
23173
am__untar!$am__untar$ac_delim
23175
CFLAGS!$CFLAGS$ac_delim
23176
LDFLAGS!$LDFLAGS$ac_delim
23177
CPPFLAGS!$CPPFLAGS$ac_delim
23178
ac_ct_CC!$ac_ct_CC$ac_delim
23179
EXEEXT!$EXEEXT$ac_delim
23180
OBJEXT!$OBJEXT$ac_delim
23181
DEPDIR!$DEPDIR$ac_delim
23182
am__include!$am__include$ac_delim
23183
am__quote!$am__quote$ac_delim
23184
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23185
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23186
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23187
CCDEPMODE!$CCDEPMODE$ac_delim
23188
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23189
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23190
LN_S!$LN_S$ac_delim
23192
GREP!$GREP$ac_delim
23193
EGREP!$EGREP$ac_delim
23195
ECHO!$ECHO$ac_delim
23197
RANLIB!$RANLIB$ac_delim
23199
CXXFLAGS!$CXXFLAGS$ac_delim
23202
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23204
elif $ac_last_try; then
23205
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23206
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23207
{ (exit 1); exit 1; }; }
23209
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23213
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23214
if test -n "$ac_eof"; then
23215
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23216
ac_eof=`expr $ac_eof + 1`
23219
cat >>$CONFIG_STATUS <<_ACEOF
23220
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23221
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23224
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23225
s/^/s,@/; s/!/@,|#_!!_#|/
23228
s/'"$ac_delim"'$/,g/; t
23230
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23231
' >>$CONFIG_STATUS <conf$$subs.sed
23232
rm -f conf$$subs.sed
23233
cat >>$CONFIG_STATUS <<_ACEOF
23239
for ac_last_try in false false false false false :; do
23240
cat >conf$$subs.sed <<_ACEOF
23241
ac_ct_CXX!$ac_ct_CXX$ac_delim
23242
CXXDEPMODE!$CXXDEPMODE$ac_delim
23243
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23244
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23245
CXXCPP!$CXXCPP$ac_delim
23247
FFLAGS!$FFLAGS$ac_delim
23248
ac_ct_F77!$ac_ct_F77$ac_delim
23249
LIBTOOL!$LIBTOOL$ac_delim
23250
PERL!$PERL$ac_delim
23251
LIBPCRE!$LIBPCRE$ac_delim
23252
LIBFAM!$LIBFAM$ac_delim
23253
MAILBOT!$MAILBOT$ac_delim
23254
HAVE_SGML_TRUE!$HAVE_SGML_TRUE$ac_delim
23255
HAVE_SGML_FALSE!$HAVE_SGML_FALSE$ac_delim
23256
LIBOBJS!$LIBOBJS$ac_delim
23257
LTLIBOBJS!$LTLIBOBJS$ac_delim
23260
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
23262
elif $ac_last_try; then
23263
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23264
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23265
{ (exit 1); exit 1; }; }
23267
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23271
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23272
if test -n "$ac_eof"; then
23273
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23274
ac_eof=`expr $ac_eof + 1`
23277
cat >>$CONFIG_STATUS <<_ACEOF
23278
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23279
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23282
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23283
s/^/s,@/; s/!/@,|#_!!_#|/
23286
s/'"$ac_delim"'$/,g/; t
23288
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23289
' >>$CONFIG_STATUS <conf$$subs.sed
23290
rm -f conf$$subs.sed
23291
cat >>$CONFIG_STATUS <<_ACEOF
24621
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
24622
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
24625
ac_cs_awk_cr=$ac_cr
24628
echo 'BEGIN {' >"$tmp/subs1.awk" &&
24633
echo "cat >conf$$subs.awk <<_ACEOF" &&
24634
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
24636
} >conf$$subs.sh ||
24637
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24638
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24639
{ (exit 1); exit 1; }; }
24640
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
24642
for ac_last_try in false false false false false :; do
24643
. ./conf$$subs.sh ||
24644
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24645
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24646
{ (exit 1); exit 1; }; }
24648
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
24649
if test $ac_delim_n = $ac_delim_num; then
24651
elif $ac_last_try; then
24652
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24653
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24654
{ (exit 1); exit 1; }; }
24656
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24659
rm -f conf$$subs.sh
24661
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24662
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
24666
s/^/S["/; s/!.*/"]=/
24676
s/\(.\{148\}\).*/\1/
24678
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
24683
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24690
s/\(.\{148\}\).*/\1/
24692
s/["\\]/\\&/g; s/^/"/; s/$/"/
24696
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
24701
' <conf$$subs.awk | sed '
24706
' >>$CONFIG_STATUS || ac_write_fail=1
24707
rm -f conf$$subs.awk
24708
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24710
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
24711
for (key in S) S_is_set[key] = 1
24717
nfields = split(line, field, "@")
24719
len = length(field[1])
24720
for (i = 2; i < nfields; i++) {
24722
keylen = length(key)
24723
if (S_is_set[key]) {
24725
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
24726
len += length(value) + length(field[++i])
24737
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
24738
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
24739
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24742
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
24743
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
24744
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
24745
{ (exit 1); exit 1; }; }
23298
24748
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23299
24749
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23544
25123
s&@INSTALL@&$ac_INSTALL&;t t
23545
25124
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23546
25125
$ac_datarootdir_hack
23547
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25127
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
25128
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25129
$as_echo "$as_me: error: could not create $ac_file" >&2;}
25130
{ (exit 1); exit 1; }; }
23549
25132
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23550
25133
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23551
25134
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23552
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25135
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23553
25136
which seems to be undefined. Please make sure it is defined." >&5
23554
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25137
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23555
25138
which seems to be undefined. Please make sure it is defined." >&2;}
23557
25140
rm -f "$tmp/stdin"
23558
25141
case $ac_file in
23559
-) cat "$tmp/out"; rm -f "$tmp/out";;
23560
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25142
-) cat "$tmp/out" && rm -f "$tmp/out";;
25143
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
25145
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25146
$as_echo "$as_me: error: could not create $ac_file" >&2;}
25147
{ (exit 1); exit 1; }; }
23565
25151
# CONFIG_HEADER
23569
# Transform confdefs.h into a sed script `conftest.defines', that
23570
# substitutes the proper values into config.h.in to produce config.h.
23571
rm -f conftest.defines conftest.tail
23572
# First, append a space to every undef/define line, to ease matching.
23573
echo 's/$/ /' >conftest.defines
23574
# Then, protect against being on the right side of a sed subst, or in
23575
# an unquoted here document, in config.status. If some macros were
23576
# called several times there might be several #defines for the same
23577
# symbol, which is useless. But do not sort them, since the last
23578
# AC_DEFINE must be honored.
23579
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23580
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23581
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23582
# PARAMS is the parameter list in the macro definition--in most cases, it's
23583
# just an empty string.
23584
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23585
ac_dB='\\)[ (].*,\\1define\\2'
23593
s/^[ ]*#[ ]*define[ ][ ]*//
23598
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23599
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23600
' >>conftest.defines
23602
# Remove the space that was appended to ease matching.
23603
# Then replace #undef with comments. This is necessary, for
23604
# example, in the case of _POSIX_SOURCE, which is predefined and required
23605
# on some systems where configure will not decide to define it.
23606
# (The regexp can be short, since the line contains either #define or #undef.)
23608
s,^[ #]*u.*,/* & */,' >>conftest.defines
23610
# Break up conftest.defines:
23611
ac_max_sed_lines=50
23613
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23614
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23615
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23617
ac_in='$ac_file_inputs'
23618
ac_out='"$tmp/out1"'
23619
ac_nxt='"$tmp/out2"'
23623
# Write a here document:
23624
cat >>$CONFIG_STATUS <<_ACEOF
23625
# First, check the format of the line:
23626
cat >"\$tmp/defines.sed" <<\\CEOF
23627
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23628
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23632
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23634
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23635
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23636
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23637
grep . conftest.tail >/dev/null || break
23638
rm -f conftest.defines
23639
mv conftest.tail conftest.defines
23641
rm -f conftest.defines conftest.tail
23643
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23644
cat >>$CONFIG_STATUS <<\_ACEOF
23645
25153
if test x"$ac_file" != x-; then
23646
echo "/* $configure_input */" >"$tmp/config.h"
23647
cat "$ac_result" >>"$tmp/config.h"
23648
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23649
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23650
echo "$as_me: $ac_file is unchanged" >&6;}
25155
$as_echo "/* $configure_input */" \
25156
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
25157
} >"$tmp/config.h" \
25158
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25159
$as_echo "$as_me: error: could not create $ac_file" >&2;}
25160
{ (exit 1); exit 1; }; }
25161
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
25162
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25163
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23653
mv "$tmp/config.h" $ac_file
25166
mv "$tmp/config.h" "$ac_file" \
25167
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
25168
$as_echo "$as_me: error: could not create $ac_file" >&2;}
25169
{ (exit 1); exit 1; }; }
23656
echo "/* $configure_input */"
25172
$as_echo "/* $configure_input */" \
25173
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
25174
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
25175
$as_echo "$as_me: error: could not create -" >&2;}
25176
{ (exit 1); exit 1; }; }
23660
# Compute $ac_file's index in $config_headers.
25178
# Compute "$ac_file"'s index in $config_headers.
23662
25180
_am_stamp_count=1
23663
25181
for _am_header in $config_headers :; do
23664
25182
case $_am_header in