4322
4407
#define _MINIX 1
4327
{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
4328
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
4414
{ $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4415
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4416
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4417
$as_echo_n "(cached) " >&6
4419
cat >conftest.$ac_ext <<_ACEOF
4422
cat confdefs.h >>conftest.$ac_ext
4423
cat >>conftest.$ac_ext <<_ACEOF
4424
/* end confdefs.h. */
4426
# define __EXTENSIONS__ 1
4427
$ac_includes_default
4436
rm -f conftest.$ac_objext
4437
if { (ac_try="$ac_compile"
4439
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4440
*) ac_try_echo=$ac_try;;
4442
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4443
$as_echo "$ac_try_echo") >&5
4444
(eval "$ac_compile") 2>conftest.er1
4446
grep -v '^ *+' conftest.er1 >conftest.err
4448
cat conftest.err >&5
4449
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4450
(exit $ac_status); } && {
4451
test -z "$ac_c_werror_flag" ||
4452
test ! -s conftest.err
4453
} && test -s conftest.$ac_objext; then
4454
ac_cv_safe_to_define___extensions__=yes
4456
$as_echo "$as_me: failed program was:" >&5
4457
sed 's/^/| /' conftest.$ac_ext >&5
4459
ac_cv_safe_to_define___extensions__=no
4462
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4464
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4465
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4466
test $ac_cv_safe_to_define___extensions__ = yes &&
4467
cat >>confdefs.h <<\_ACEOF
4468
#define __EXTENSIONS__ 1
4471
cat >>confdefs.h <<\_ACEOF
4472
#define _ALL_SOURCE 1
4475
cat >>confdefs.h <<\_ACEOF
4476
#define _GNU_SOURCE 1
4479
cat >>confdefs.h <<\_ACEOF
4480
#define _POSIX_PTHREAD_SEMANTICS 1
4483
cat >>confdefs.h <<\_ACEOF
4484
#define _TANDEM_SOURCE 1
4489
ac_cpp='$CPP $CPPFLAGS'
4490
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4491
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4492
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493
if test -n "$ac_tool_prefix"; then
4494
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4495
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4496
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4497
$as_echo_n "checking for $ac_word... " >&6; }
4498
if test "${ac_cv_prog_CC+set}" = set; then
4499
$as_echo_n "(cached) " >&6
4501
if test -n "$CC"; then
4502
ac_cv_prog_CC="$CC" # Let the user override the test.
4504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508
test -z "$as_dir" && as_dir=.
4509
for ac_exec_ext in '' $ac_executable_extensions; do
4510
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4512
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522
if test -n "$CC"; then
4523
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4524
$as_echo "$CC" >&6; }
4526
{ $as_echo "$as_me:$LINENO: result: no" >&5
4527
$as_echo "no" >&6; }
4532
if test -z "$ac_cv_prog_CC"; then
4534
# Extract the first word of "gcc", so it can be a program name with args.
4535
set dummy gcc; ac_word=$2
4536
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4537
$as_echo_n "checking for $ac_word... " >&6; }
4538
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4539
$as_echo_n "(cached) " >&6
4541
if test -n "$ac_ct_CC"; then
4542
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548
test -z "$as_dir" && as_dir=.
4549
for ac_exec_ext in '' $ac_executable_extensions; do
4550
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551
ac_cv_prog_ac_ct_CC="gcc"
4552
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4562
if test -n "$ac_ct_CC"; then
4563
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4564
$as_echo "$ac_ct_CC" >&6; }
4566
{ $as_echo "$as_me:$LINENO: result: no" >&5
4567
$as_echo "no" >&6; }
4570
if test "x$ac_ct_CC" = x; then
4573
case $cross_compiling:$ac_tool_warned in
4575
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4576
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4577
ac_tool_warned=yes ;;
4585
if test -z "$CC"; then
4586
if test -n "$ac_tool_prefix"; then
4587
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4588
set dummy ${ac_tool_prefix}cc; ac_word=$2
4589
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4590
$as_echo_n "checking for $ac_word... " >&6; }
4591
if test "${ac_cv_prog_CC+set}" = set; then
4592
$as_echo_n "(cached) " >&6
4594
if test -n "$CC"; then
4595
ac_cv_prog_CC="$CC" # Let the user override the test.
4597
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601
test -z "$as_dir" && as_dir=.
4602
for ac_exec_ext in '' $ac_executable_extensions; do
4603
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4604
ac_cv_prog_CC="${ac_tool_prefix}cc"
4605
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4615
if test -n "$CC"; then
4616
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4617
$as_echo "$CC" >&6; }
4619
{ $as_echo "$as_me:$LINENO: result: no" >&5
4620
$as_echo "no" >&6; }
4626
if test -z "$CC"; then
4627
# Extract the first word of "cc", so it can be a program name with args.
4628
set dummy cc; ac_word=$2
4629
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4630
$as_echo_n "checking for $ac_word... " >&6; }
4631
if test "${ac_cv_prog_CC+set}" = set; then
4632
$as_echo_n "(cached) " >&6
4634
if test -n "$CC"; then
4635
ac_cv_prog_CC="$CC" # Let the user override the test.
4638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642
test -z "$as_dir" && as_dir=.
4643
for ac_exec_ext in '' $ac_executable_extensions; do
4644
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4645
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4646
ac_prog_rejected=yes
4650
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657
if test $ac_prog_rejected = yes; then
4658
# We found a bogon in the path, so make sure we never use it.
4659
set dummy $ac_cv_prog_CC
4661
if test $# != 0; then
4662
# We chose a different compiler from the bogus one.
4663
# However, it has the same basename, so the bogon will be chosen
4664
# first if we set CC to just the basename; use the full file name.
4666
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4672
if test -n "$CC"; then
4673
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4674
$as_echo "$CC" >&6; }
4676
{ $as_echo "$as_me:$LINENO: result: no" >&5
4677
$as_echo "no" >&6; }
4682
if test -z "$CC"; then
4683
if test -n "$ac_tool_prefix"; then
4684
for ac_prog in cl.exe
4686
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4689
$as_echo_n "checking for $ac_word... " >&6; }
4690
if test "${ac_cv_prog_CC+set}" = set; then
4691
$as_echo_n "(cached) " >&6
4693
if test -n "$CC"; then
4694
ac_cv_prog_CC="$CC" # Let the user override the test.
4696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700
test -z "$as_dir" && as_dir=.
4701
for ac_exec_ext in '' $ac_executable_extensions; do
4702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4704
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4714
if test -n "$CC"; then
4715
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4716
$as_echo "$CC" >&6; }
4718
{ $as_echo "$as_me:$LINENO: result: no" >&5
4719
$as_echo "no" >&6; }
4723
test -n "$CC" && break
4726
if test -z "$CC"; then
4728
for ac_prog in cl.exe
4730
# Extract the first word of "$ac_prog", so it can be a program name with args.
4731
set dummy $ac_prog; ac_word=$2
4732
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4733
$as_echo_n "checking for $ac_word... " >&6; }
4734
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4735
$as_echo_n "(cached) " >&6
4737
if test -n "$ac_ct_CC"; then
4738
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744
test -z "$as_dir" && as_dir=.
4745
for ac_exec_ext in '' $ac_executable_extensions; do
4746
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747
ac_cv_prog_ac_ct_CC="$ac_prog"
4748
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4757
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4758
if test -n "$ac_ct_CC"; then
4759
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4760
$as_echo "$ac_ct_CC" >&6; }
4762
{ $as_echo "$as_me:$LINENO: result: no" >&5
4763
$as_echo "no" >&6; }
4767
test -n "$ac_ct_CC" && break
4770
if test "x$ac_ct_CC" = x; then
4773
case $cross_compiling:$ac_tool_warned in
4775
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4776
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777
ac_tool_warned=yes ;;
4786
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4787
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4788
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4789
See \`config.log' for more details." >&5
4790
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4791
See \`config.log' for more details." >&2;}
4792
{ (exit 1); exit 1; }; }; }
4794
# Provide some information about the compiler.
4795
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4798
{ (ac_try="$ac_compiler --version >&5"
4800
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4801
*) ac_try_echo=$ac_try;;
4803
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4804
$as_echo "$ac_try_echo") >&5
4805
(eval "$ac_compiler --version >&5") 2>&5
4807
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4808
(exit $ac_status); }
4809
{ (ac_try="$ac_compiler -v >&5"
4811
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812
*) ac_try_echo=$ac_try;;
4814
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4815
$as_echo "$ac_try_echo") >&5
4816
(eval "$ac_compiler -v >&5") 2>&5
4818
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4819
(exit $ac_status); }
4820
{ (ac_try="$ac_compiler -V >&5"
4822
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4823
*) ac_try_echo=$ac_try;;
4825
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4826
$as_echo "$ac_try_echo") >&5
4827
(eval "$ac_compiler -V >&5") 2>&5
4829
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830
(exit $ac_status); }
4832
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4833
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4834
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4835
$as_echo_n "(cached) " >&6
4837
cat >conftest.$ac_ext <<_ACEOF
4840
cat confdefs.h >>conftest.$ac_ext
4841
cat >>conftest.$ac_ext <<_ACEOF
4842
/* end confdefs.h. */
4855
rm -f conftest.$ac_objext
4856
if { (ac_try="$ac_compile"
4858
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4859
*) ac_try_echo=$ac_try;;
4861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4862
$as_echo "$ac_try_echo") >&5
4863
(eval "$ac_compile") 2>conftest.er1
4865
grep -v '^ *+' conftest.er1 >conftest.err
4867
cat conftest.err >&5
4868
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4869
(exit $ac_status); } && {
4870
test -z "$ac_c_werror_flag" ||
4871
test ! -s conftest.err
4872
} && test -s conftest.$ac_objext; then
4875
$as_echo "$as_me: failed program was:" >&5
4876
sed 's/^/| /' conftest.$ac_ext >&5
4881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4885
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4886
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4887
if test $ac_compiler_gnu = yes; then
4892
ac_test_CFLAGS=${CFLAGS+set}
4893
ac_save_CFLAGS=$CFLAGS
4894
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4895
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4896
if test "${ac_cv_prog_cc_g+set}" = set; then
4897
$as_echo_n "(cached) " >&6
4899
ac_save_c_werror_flag=$ac_c_werror_flag
4900
ac_c_werror_flag=yes
4903
cat >conftest.$ac_ext <<_ACEOF
4906
cat confdefs.h >>conftest.$ac_ext
4907
cat >>conftest.$ac_ext <<_ACEOF
4908
/* end confdefs.h. */
4918
rm -f conftest.$ac_objext
4919
if { (ac_try="$ac_compile"
4921
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4922
*) ac_try_echo=$ac_try;;
4924
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4925
$as_echo "$ac_try_echo") >&5
4926
(eval "$ac_compile") 2>conftest.er1
4928
grep -v '^ *+' conftest.er1 >conftest.err
4930
cat conftest.err >&5
4931
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932
(exit $ac_status); } && {
4933
test -z "$ac_c_werror_flag" ||
4934
test ! -s conftest.err
4935
} && test -s conftest.$ac_objext; then
4938
$as_echo "$as_me: failed program was:" >&5
4939
sed 's/^/| /' conftest.$ac_ext >&5
4942
cat >conftest.$ac_ext <<_ACEOF
4945
cat confdefs.h >>conftest.$ac_ext
4946
cat >>conftest.$ac_ext <<_ACEOF
4947
/* end confdefs.h. */
4957
rm -f conftest.$ac_objext
4958
if { (ac_try="$ac_compile"
4960
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961
*) ac_try_echo=$ac_try;;
4963
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4964
$as_echo "$ac_try_echo") >&5
4965
(eval "$ac_compile") 2>conftest.er1
4967
grep -v '^ *+' conftest.er1 >conftest.err
4969
cat conftest.err >&5
4970
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4971
(exit $ac_status); } && {
4972
test -z "$ac_c_werror_flag" ||
4973
test ! -s conftest.err
4974
} && test -s conftest.$ac_objext; then
4977
$as_echo "$as_me: failed program was:" >&5
4978
sed 's/^/| /' conftest.$ac_ext >&5
4980
ac_c_werror_flag=$ac_save_c_werror_flag
4982
cat >conftest.$ac_ext <<_ACEOF
4985
cat confdefs.h >>conftest.$ac_ext
4986
cat >>conftest.$ac_ext <<_ACEOF
4987
/* end confdefs.h. */
4997
rm -f conftest.$ac_objext
4998
if { (ac_try="$ac_compile"
5000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5001
*) ac_try_echo=$ac_try;;
5003
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5004
$as_echo "$ac_try_echo") >&5
5005
(eval "$ac_compile") 2>conftest.er1
5007
grep -v '^ *+' conftest.er1 >conftest.err
5009
cat conftest.err >&5
5010
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011
(exit $ac_status); } && {
5012
test -z "$ac_c_werror_flag" ||
5013
test ! -s conftest.err
5014
} && test -s conftest.$ac_objext; then
5017
$as_echo "$as_me: failed program was:" >&5
5018
sed 's/^/| /' conftest.$ac_ext >&5
5023
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5029
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5030
ac_c_werror_flag=$ac_save_c_werror_flag
5032
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
5033
$as_echo "$ac_cv_prog_cc_g" >&6; }
5034
if test "$ac_test_CFLAGS" = set; then
5035
CFLAGS=$ac_save_CFLAGS
5036
elif test $ac_cv_prog_cc_g = yes; then
5037
if test "$GCC" = yes; then
5043
if test "$GCC" = yes; then
5049
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
5050
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5051
if test "${ac_cv_prog_cc_c89+set}" = set; then
5052
$as_echo_n "(cached) " >&6
5054
ac_cv_prog_cc_c89=no
5056
cat >conftest.$ac_ext <<_ACEOF
5059
cat confdefs.h >>conftest.$ac_ext
5060
cat >>conftest.$ac_ext <<_ACEOF
5061
/* end confdefs.h. */
5064
#include <sys/types.h>
5065
#include <sys/stat.h>
5066
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5067
struct buf { int x; };
5068
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5069
static char *e (p, i)
5075
static char *f (char * (*g) (char **, int), char **p, ...)
5080
s = g (p, va_arg (v,int));
5085
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5086
function prototypes and stuff, but not '\xHH' hex character constants.
5087
These don't provoke an error unfortunately, instead are silently treated
5088
as 'x'. The following induces an error, until -std is added to get
5089
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5090
array size at least. It's necessary to write '\x00'==0 to get something
5091
that's true only with -std. */
5092
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5094
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5095
inside strings and character constants. */
5097
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5099
int test (int i, double x);
5100
struct s1 {int (*f) (int a);};
5101
struct s2 {int (*f) (double a);};
5102
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5108
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5113
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5114
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5116
CC="$ac_save_CC $ac_arg"
5117
rm -f conftest.$ac_objext
5118
if { (ac_try="$ac_compile"
5120
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121
*) ac_try_echo=$ac_try;;
5123
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5124
$as_echo "$ac_try_echo") >&5
5125
(eval "$ac_compile") 2>conftest.er1
5127
grep -v '^ *+' conftest.er1 >conftest.err
5129
cat conftest.err >&5
5130
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5131
(exit $ac_status); } && {
5132
test -z "$ac_c_werror_flag" ||
5133
test ! -s conftest.err
5134
} && test -s conftest.$ac_objext; then
5135
ac_cv_prog_cc_c89=$ac_arg
5137
$as_echo "$as_me: failed program was:" >&5
5138
sed 's/^/| /' conftest.$ac_ext >&5
5143
rm -f core conftest.err conftest.$ac_objext
5144
test "x$ac_cv_prog_cc_c89" != "xno" && break
5146
rm -f conftest.$ac_ext
5151
case "x$ac_cv_prog_cc_c89" in
5153
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
5154
$as_echo "none needed" >&6; } ;;
5156
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
5157
$as_echo "unsupported" >&6; } ;;
5159
CC="$CC $ac_cv_prog_cc_c89"
5160
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
5161
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5166
ac_cpp='$CPP $CPPFLAGS'
5167
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5168
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5171
depcc="$CC" am_compiler_list=
5173
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5174
$as_echo_n "checking dependency style of $depcc... " >&6; }
5175
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
5176
$as_echo_n "(cached) " >&6
5178
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5179
# We make a subdir and do the tests there. Otherwise we can end up
5180
# making bogus files that we don't know about and never remove. For
5181
# instance it was reported that on HP-UX the gcc test will end up
5182
# making a dummy file named `D' -- because `-MD' means `put the output
5185
# Copy depcomp to subdir because otherwise we won't find it if we're
5186
# using a relative directory.
5187
cp "$am_depcomp" conftest.dir
5189
# We will build objects and dependencies in a subdirectory because
5190
# it helps to detect inapplicable dependency modes. For instance
5191
# both Tru64's cc and ICC support -MD to output dependencies as a
5192
# side effect of compilation, but ICC will put the dependencies in
5193
# the current directory while Tru64 will put them in the object
5197
am_cv_CC_dependencies_compiler_type=none
5198
if test "$am_compiler_list" = ""; then
5199
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5201
for depmode in $am_compiler_list; do
5202
# Setup a source with many dependencies, because some compilers
5203
# like to wrap large dependency lists on column 80 (with \), and
5204
# we should not choose a depcomp mode which is confused by this.
5206
# We need to recreate these files for each test, as the compiler may
5207
# overwrite some of them when testing with obscure command lines.
5208
# This happens at least with the AIX C compiler.
5210
for i in 1 2 3 4 5 6; do
5211
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5212
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5213
# Solaris 8's {/usr,}/bin/sh.
5214
touch sub/conftst$i.h
5216
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5220
# after this tag, mechanisms are not by side-effect, so they'll
5221
# only be used when explicitly requested
5222
if test "x$enable_dependency_tracking" = xyes; then
5230
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5231
# mode. It turns out that the SunPro C++ compiler does not properly
5232
# handle `-M -o', and we need to detect this.
5233
if depmode=$depmode \
5234
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5235
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5236
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5237
>/dev/null 2>conftest.err &&
5238
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5239
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5240
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5241
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5242
# icc doesn't choke on unknown options, it will just issue warnings
5243
# or remarks (even with -Werror). So we grep stderr for any message
5244
# that says an option was ignored or not supported.
5245
# When given -MP, icc 7.0 and 7.1 complain thusly:
5246
# icc: Command line warning: ignoring option '-M'; no argument required
5247
# The diagnosis changed in icc 8.0:
5248
# icc: Command line remark: option '-MP' not supported
5249
if (grep 'ignoring option' conftest.err ||
5250
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5251
am_cv_CC_dependencies_compiler_type=$depmode
5260
am_cv_CC_dependencies_compiler_type=none
5264
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
5265
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5266
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5269
test "x$enable_dependency_tracking" != xno \
5270
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5272
am__fastdepCC_FALSE='#'
5274
am__fastdepCC_TRUE='#'
5275
am__fastdepCC_FALSE=
5279
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
5280
$as_echo_n "checking for library containing strerror... " >&6; }
4329
5281
if test "${ac_cv_search_strerror+set}" = set; then
4330
echo $ECHO_N "(cached) $ECHO_C" >&6
5282
$as_echo_n "(cached) " >&6
4332
5284
ac_func_search_save_LIBS=$LIBS
4333
5285
cat >conftest.$ac_ext <<_ACEOF
8252
rhapsody* | darwin*)
8253
if test -n "$ac_tool_prefix"; then
8254
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8255
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8256
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8257
$as_echo_n "checking for $ac_word... " >&6; }
8258
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
8259
$as_echo_n "(cached) " >&6
8261
if test -n "$DSYMUTIL"; then
8262
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8264
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8268
test -z "$as_dir" && as_dir=.
8269
for ac_exec_ext in '' $ac_executable_extensions; do
8270
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8271
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8272
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8281
DSYMUTIL=$ac_cv_prog_DSYMUTIL
8282
if test -n "$DSYMUTIL"; then
8283
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
8284
$as_echo "$DSYMUTIL" >&6; }
8286
{ $as_echo "$as_me:$LINENO: result: no" >&5
8287
$as_echo "no" >&6; }
8292
if test -z "$ac_cv_prog_DSYMUTIL"; then
8293
ac_ct_DSYMUTIL=$DSYMUTIL
8294
# Extract the first word of "dsymutil", so it can be a program name with args.
8295
set dummy dsymutil; ac_word=$2
8296
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8297
$as_echo_n "checking for $ac_word... " >&6; }
8298
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
8299
$as_echo_n "(cached) " >&6
8301
if test -n "$ac_ct_DSYMUTIL"; then
8302
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8308
test -z "$as_dir" && as_dir=.
8309
for ac_exec_ext in '' $ac_executable_extensions; do
8310
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8311
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8312
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8321
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8322
if test -n "$ac_ct_DSYMUTIL"; then
8323
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
8324
$as_echo "$ac_ct_DSYMUTIL" >&6; }
8326
{ $as_echo "$as_me:$LINENO: result: no" >&5
8327
$as_echo "no" >&6; }
8330
if test "x$ac_ct_DSYMUTIL" = x; then
8333
case $cross_compiling:$ac_tool_warned in
8335
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8336
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8337
ac_tool_warned=yes ;;
8339
DSYMUTIL=$ac_ct_DSYMUTIL
8342
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8345
if test -n "$ac_tool_prefix"; then
8346
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8347
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8348
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8349
$as_echo_n "checking for $ac_word... " >&6; }
8350
if test "${ac_cv_prog_NMEDIT+set}" = set; then
8351
$as_echo_n "(cached) " >&6
8353
if test -n "$NMEDIT"; then
8354
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8360
test -z "$as_dir" && as_dir=.
8361
for ac_exec_ext in '' $ac_executable_extensions; do
8362
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8363
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8364
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8373
NMEDIT=$ac_cv_prog_NMEDIT
8374
if test -n "$NMEDIT"; then
8375
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
8376
$as_echo "$NMEDIT" >&6; }
8378
{ $as_echo "$as_me:$LINENO: result: no" >&5
8379
$as_echo "no" >&6; }
8384
if test -z "$ac_cv_prog_NMEDIT"; then
8385
ac_ct_NMEDIT=$NMEDIT
8386
# Extract the first word of "nmedit", so it can be a program name with args.
8387
set dummy nmedit; ac_word=$2
8388
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8389
$as_echo_n "checking for $ac_word... " >&6; }
8390
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
8391
$as_echo_n "(cached) " >&6
8393
if test -n "$ac_ct_NMEDIT"; then
8394
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8400
test -z "$as_dir" && as_dir=.
8401
for ac_exec_ext in '' $ac_executable_extensions; do
8402
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8403
ac_cv_prog_ac_ct_NMEDIT="nmedit"
8404
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8413
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8414
if test -n "$ac_ct_NMEDIT"; then
8415
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
8416
$as_echo "$ac_ct_NMEDIT" >&6; }
8418
{ $as_echo "$as_me:$LINENO: result: no" >&5
8419
$as_echo "no" >&6; }
8422
if test "x$ac_ct_NMEDIT" = x; then
8425
case $cross_compiling:$ac_tool_warned in
8427
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
8428
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8429
ac_tool_warned=yes ;;
8431
NMEDIT=$ac_ct_NMEDIT
8434
NMEDIT="$ac_cv_prog_NMEDIT"
8438
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
8439
$as_echo_n "checking for -single_module linker flag... " >&6; }
8440
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8441
$as_echo_n "(cached) " >&6
8443
lt_cv_apple_cc_single_mod=no
8444
if test -z "${LT_MULTI_MODULE}"; then
8445
# By default we will add the -single_module flag. You can override
8446
# by either setting the environment variable LT_MULTI_MODULE
8447
# non-empty at configure time, or by adding -multi_module to the
8449
echo "int foo(void){return 1;}" > conftest.c
8450
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8451
-dynamiclib ${wl}-single_module conftest.c
8452
if test -f libconftest.dylib; then
8453
lt_cv_apple_cc_single_mod=yes
8454
rm -rf libconftest.dylib*
8459
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
8460
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8461
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
8462
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8463
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
8464
$as_echo_n "(cached) " >&6
8466
lt_cv_ld_exported_symbols_list=no
8467
save_LDFLAGS=$LDFLAGS
8468
echo "_main" > conftest.sym
8469
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8470
cat >conftest.$ac_ext <<_ACEOF
8473
cat confdefs.h >>conftest.$ac_ext
8474
cat >>conftest.$ac_ext <<_ACEOF
8475
/* end confdefs.h. */
8485
rm -f conftest.$ac_objext conftest$ac_exeext
8486
if { (ac_try="$ac_link"
8488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8489
*) ac_try_echo=$ac_try;;
8491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8492
$as_echo "$ac_try_echo") >&5
8493
(eval "$ac_link") 2>conftest.er1
8495
grep -v '^ *+' conftest.er1 >conftest.err
8497
cat conftest.err >&5
8498
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499
(exit $ac_status); } && {
8500
test -z "$ac_c_werror_flag" ||
8501
test ! -s conftest.err
8502
} && test -s conftest$ac_exeext && {
8503
test "$cross_compiling" = yes ||
8504
$as_test_x conftest$ac_exeext
8506
lt_cv_ld_exported_symbols_list=yes
8508
$as_echo "$as_me: failed program was:" >&5
8509
sed 's/^/| /' conftest.$ac_ext >&5
8511
lt_cv_ld_exported_symbols_list=no
8514
rm -rf conftest.dSYM
8515
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8516
conftest$ac_exeext conftest.$ac_ext
8517
LDFLAGS="$save_LDFLAGS"
8520
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
8521
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8523
rhapsody* | darwin1.[0123])
8524
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8526
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8528
# if running on 10.5 or later, the deployment target defaults
8529
# to the OS version, if on x86, and 10.4, the deployment
8530
# target defaults to 10.4. Don't you love it?
8531
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8532
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8533
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8535
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8537
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8541
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8542
_lt_dar_single_mod='$single_module'
8544
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8545
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8547
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
8549
if test "$DSYMUTIL" != ":"; then
8550
_lt_dsymutil="~$DSYMUTIL \$lib || :"
7273
8558
enable_dlopen=no
7274
8559
enable_win32_dll=no
20933
22453
(umask 077 && mkdir "$tmp")
20936
echo "$me: cannot create a temporary directory in ." >&2
22456
$as_echo "$as_me: cannot create a temporary directory in ." >&2
20937
22457
{ (exit 1); exit 1; }
20941
# Set up the sed scripts for CONFIG_FILES section.
20944
# No need to generate the scripts if there are no CONFIG_FILES.
20945
# This happens for instance when ./config.status config.h
22460
# Set up the scripts for CONFIG_FILES section.
22461
# No need to generate them if there are no CONFIG_FILES.
22462
# This happens for instance with `./config.status config.h'.
20946
22463
if test -n "$CONFIG_FILES"; then
20953
for ac_last_try in false false false false false :; do
20954
cat >conf$$subs.sed <<_ACEOF
20955
SHELL!$SHELL$ac_delim
20956
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20957
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20958
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20959
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20960
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20961
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20962
exec_prefix!$exec_prefix$ac_delim
20963
prefix!$prefix$ac_delim
20964
program_transform_name!$program_transform_name$ac_delim
20965
bindir!$bindir$ac_delim
20966
sbindir!$sbindir$ac_delim
20967
libexecdir!$libexecdir$ac_delim
20968
datarootdir!$datarootdir$ac_delim
20969
datadir!$datadir$ac_delim
20970
sysconfdir!$sysconfdir$ac_delim
20971
sharedstatedir!$sharedstatedir$ac_delim
20972
localstatedir!$localstatedir$ac_delim
20973
includedir!$includedir$ac_delim
20974
oldincludedir!$oldincludedir$ac_delim
20975
docdir!$docdir$ac_delim
20976
infodir!$infodir$ac_delim
20977
htmldir!$htmldir$ac_delim
20978
dvidir!$dvidir$ac_delim
20979
pdfdir!$pdfdir$ac_delim
20980
psdir!$psdir$ac_delim
20981
libdir!$libdir$ac_delim
20982
localedir!$localedir$ac_delim
20983
mandir!$mandir$ac_delim
20984
DEFS!$DEFS$ac_delim
20985
ECHO_C!$ECHO_C$ac_delim
20986
ECHO_N!$ECHO_N$ac_delim
20987
ECHO_T!$ECHO_T$ac_delim
20988
LIBS!$LIBS$ac_delim
20989
build_alias!$build_alias$ac_delim
20990
host_alias!$host_alias$ac_delim
20991
target_alias!$target_alias$ac_delim
20992
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20993
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20994
INSTALL_DATA!$INSTALL_DATA$ac_delim
20995
am__isrc!$am__isrc$ac_delim
20996
CYGPATH_W!$CYGPATH_W$ac_delim
20997
PACKAGE!$PACKAGE$ac_delim
20998
VERSION!$VERSION$ac_delim
20999
ACLOCAL!$ACLOCAL$ac_delim
21000
AUTOCONF!$AUTOCONF$ac_delim
21001
AUTOMAKE!$AUTOMAKE$ac_delim
21002
AUTOHEADER!$AUTOHEADER$ac_delim
21003
MAKEINFO!$MAKEINFO$ac_delim
21004
install_sh!$install_sh$ac_delim
21005
STRIP!$STRIP$ac_delim
21006
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
21007
mkdir_p!$mkdir_p$ac_delim
21009
SET_MAKE!$SET_MAKE$ac_delim
21010
am__leading_dot!$am__leading_dot$ac_delim
21011
AMTAR!$AMTAR$ac_delim
21012
am__tar!$am__tar$ac_delim
21013
am__untar!$am__untar$ac_delim
21015
CFLAGS!$CFLAGS$ac_delim
21016
LDFLAGS!$LDFLAGS$ac_delim
21017
CPPFLAGS!$CPPFLAGS$ac_delim
21018
ac_ct_CC!$ac_ct_CC$ac_delim
21019
EXEEXT!$EXEEXT$ac_delim
21020
OBJEXT!$OBJEXT$ac_delim
21021
DEPDIR!$DEPDIR$ac_delim
21022
am__include!$am__include$ac_delim
21023
am__quote!$am__quote$ac_delim
21024
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
21025
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
21026
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
21027
CCDEPMODE!$CCDEPMODE$ac_delim
21028
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
21029
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
21031
GREP!$GREP$ac_delim
21032
EGREP!$EGREP$ac_delim
21034
CXXFLAGS!$CXXFLAGS$ac_delim
21035
ac_ct_CXX!$ac_ct_CXX$ac_delim
21036
CXXDEPMODE!$CXXDEPMODE$ac_delim
21037
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
21038
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
21039
build!$build$ac_delim
21040
build_cpu!$build_cpu$ac_delim
21041
build_vendor!$build_vendor$ac_delim
21042
build_os!$build_os$ac_delim
21043
host!$host$ac_delim
21044
host_cpu!$host_cpu$ac_delim
21045
host_vendor!$host_vendor$ac_delim
21046
host_os!$host_os$ac_delim
21048
LN_S!$LN_S$ac_delim
21049
ECHO!$ECHO$ac_delim
21051
RANLIB!$RANLIB$ac_delim
21054
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
21056
elif $ac_last_try; then
21057
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21058
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21059
{ (exit 1); exit 1; }; }
21061
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21065
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21066
if test -n "$ac_eof"; then
21067
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21068
ac_eof=`expr $ac_eof + 1`
21071
cat >>$CONFIG_STATUS <<_ACEOF
21072
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21073
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21076
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21077
s/^/s,@/; s/!/@,|#_!!_#|/
21080
s/'"$ac_delim"'$/,g/; t
21082
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21083
' >>$CONFIG_STATUS <conf$$subs.sed
21084
rm -f conf$$subs.sed
21085
cat >>$CONFIG_STATUS <<_ACEOF
21091
for ac_last_try in false false false false false :; do
21092
cat >conf$$subs.sed <<_ACEOF
21093
CXXCPP!$CXXCPP$ac_delim
21095
FFLAGS!$FFLAGS$ac_delim
21096
ac_ct_F77!$ac_ct_F77$ac_delim
21097
LIBTOOL!$LIBTOOL$ac_delim
21098
LIBGDBM!$LIBGDBM$ac_delim
21099
FOUND_GDBM_TRUE!$FOUND_GDBM_TRUE$ac_delim
21100
FOUND_GDBM_FALSE!$FOUND_GDBM_FALSE$ac_delim
21101
LIBOBJS!$LIBOBJS$ac_delim
21102
LTLIBOBJS!$LTLIBOBJS$ac_delim
21105
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
21107
elif $ac_last_try; then
21108
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21109
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21110
{ (exit 1); exit 1; }; }
21112
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21116
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21117
if test -n "$ac_eof"; then
21118
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21119
ac_eof=`expr $ac_eof + 1`
21122
cat >>$CONFIG_STATUS <<_ACEOF
21123
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21124
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21127
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21128
s/^/s,@/; s/!/@,|#_!!_#|/
21131
s/'"$ac_delim"'$/,g/; t
21133
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21134
' >>$CONFIG_STATUS <conf$$subs.sed
21135
rm -f conf$$subs.sed
21136
cat >>$CONFIG_STATUS <<_ACEOF
22467
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22468
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22471
ac_cs_awk_cr=$ac_cr
22474
echo 'BEGIN {' >"$tmp/subs1.awk" &&
22479
echo "cat >conf$$subs.awk <<_ACEOF" &&
22480
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22482
} >conf$$subs.sh ||
22483
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22484
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22485
{ (exit 1); exit 1; }; }
22486
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
22488
for ac_last_try in false false false false false :; do
22489
. ./conf$$subs.sh ||
22490
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22491
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22492
{ (exit 1); exit 1; }; }
22494
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22495
if test $ac_delim_n = $ac_delim_num; then
22497
elif $ac_last_try; then
22498
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22499
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22500
{ (exit 1); exit 1; }; }
22502
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22505
rm -f conf$$subs.sh
22507
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22508
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
22512
s/^/S["/; s/!.*/"]=/
22522
s/\(.\{148\}\).*/\1/
22524
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22529
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22536
s/\(.\{148\}\).*/\1/
22538
s/["\\]/\\&/g; s/^/"/; s/$/"/
22542
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22547
' <conf$$subs.awk | sed '
22552
' >>$CONFIG_STATUS || ac_write_fail=1
22553
rm -f conf$$subs.awk
22554
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22556
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
22557
for (key in S) S_is_set[key] = 1
22563
nfields = split(line, field, "@")
22565
len = length(field[1])
22566
for (i = 2; i < nfields; i++) {
22568
keylen = length(key)
22569
if (S_is_set[key]) {
22571
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22572
len += length(value) + length(field[++i])
22583
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22584
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22585
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22588
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
22589
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
22590
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
22591
{ (exit 1); exit 1; }; }
21143
22594
# VPATH may cause trouble with some makes, so we remove $(srcdir),
21144
22595
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21389
22969
s&@INSTALL@&$ac_INSTALL&;t t
21390
22970
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21391
22971
$ac_datarootdir_hack
21392
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22973
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
22974
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22975
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22976
{ (exit 1); exit 1; }; }
21394
22978
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21395
22979
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21396
22980
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21397
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22981
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21398
22982
which seems to be undefined. Please make sure it is defined." >&5
21399
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22983
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21400
22984
which seems to be undefined. Please make sure it is defined." >&2;}
21402
22986
rm -f "$tmp/stdin"
21403
22987
case $ac_file in
21404
-) cat "$tmp/out"; rm -f "$tmp/out";;
21405
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22988
-) cat "$tmp/out" && rm -f "$tmp/out";;
22989
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
22991
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
22992
$as_echo "$as_me: error: could not create $ac_file" >&2;}
22993
{ (exit 1); exit 1; }; }
21410
22997
# CONFIG_HEADER
21414
# Transform confdefs.h into a sed script `conftest.defines', that
21415
# substitutes the proper values into config.h.in to produce config.h.
21416
rm -f conftest.defines conftest.tail
21417
# First, append a space to every undef/define line, to ease matching.
21418
echo 's/$/ /' >conftest.defines
21419
# Then, protect against being on the right side of a sed subst, or in
21420
# an unquoted here document, in config.status. If some macros were
21421
# called several times there might be several #defines for the same
21422
# symbol, which is useless. But do not sort them, since the last
21423
# AC_DEFINE must be honored.
21424
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21425
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21426
# NAME is the cpp macro being defined, VALUE is the value it is being given.
21427
# PARAMS is the parameter list in the macro definition--in most cases, it's
21428
# just an empty string.
21429
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21430
ac_dB='\\)[ (].*,\\1define\\2'
21438
s/^[ ]*#[ ]*define[ ][ ]*//
21443
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21444
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21445
' >>conftest.defines
21447
# Remove the space that was appended to ease matching.
21448
# Then replace #undef with comments. This is necessary, for
21449
# example, in the case of _POSIX_SOURCE, which is predefined and required
21450
# on some systems where configure will not decide to define it.
21451
# (The regexp can be short, since the line contains either #define or #undef.)
21453
s,^[ #]*u.*,/* & */,' >>conftest.defines
21455
# Break up conftest.defines:
21456
ac_max_sed_lines=50
21458
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21459
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21460
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21462
ac_in='$ac_file_inputs'
21463
ac_out='"$tmp/out1"'
21464
ac_nxt='"$tmp/out2"'
21468
# Write a here document:
21469
cat >>$CONFIG_STATUS <<_ACEOF
21470
# First, check the format of the line:
21471
cat >"\$tmp/defines.sed" <<\\CEOF
21472
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21473
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21477
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21479
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21480
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21481
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21482
grep . conftest.tail >/dev/null || break
21483
rm -f conftest.defines
21484
mv conftest.tail conftest.defines
21486
rm -f conftest.defines conftest.tail
21488
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21489
cat >>$CONFIG_STATUS <<\_ACEOF
21490
22999
if test x"$ac_file" != x-; then
21491
echo "/* $configure_input */" >"$tmp/config.h"
21492
cat "$ac_result" >>"$tmp/config.h"
21493
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21494
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21495
echo "$as_me: $ac_file is unchanged" >&6;}
23001
$as_echo "/* $configure_input */" \
23002
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
23003
} >"$tmp/config.h" \
23004
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23005
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23006
{ (exit 1); exit 1; }; }
23007
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
23008
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23009
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21498
mv "$tmp/config.h" $ac_file
23012
mv "$tmp/config.h" "$ac_file" \
23013
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
23014
$as_echo "$as_me: error: could not create $ac_file" >&2;}
23015
{ (exit 1); exit 1; }; }
21501
echo "/* $configure_input */"
23018
$as_echo "/* $configure_input */" \
23019
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
23020
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
23021
$as_echo "$as_me: error: could not create -" >&2;}
23022
{ (exit 1); exit 1; }; }
21505
# Compute $ac_file's index in $config_headers.
23024
# Compute "$ac_file"'s index in $config_headers.
21507
23026
_am_stamp_count=1
21508
23027
for _am_header in $config_headers :; do
21509
23028
case $_am_header in