14305
16705
neon_xml_parser_message="expat"
14306
16706
NEON_LIBS="$NEON_LIBS -lexpat"
14307
16707
neon_xml_parser=expat
16708
{ echo "$as_me:$LINENO: checking for XML_Size" >&5
16709
echo $ECHO_N "checking for XML_Size... $ECHO_C" >&6; }
16710
if test "${ac_cv_type_XML_Size+set}" = set; then
16711
echo $ECHO_N "(cached) $ECHO_C" >&6
16713
cat >conftest.$ac_ext <<_ACEOF
16716
cat confdefs.h >>conftest.$ac_ext
16717
cat >>conftest.$ac_ext <<_ACEOF
16718
/* end confdefs.h. */
16721
typedef XML_Size ac__type_new_;
16725
if ((ac__type_new_ *) 0)
16727
if (sizeof (ac__type_new_))
16733
rm -f conftest.$ac_objext
16734
if { (ac_try="$ac_compile"
16735
case "(($ac_try" in
16736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16737
*) ac_try_echo=$ac_try;;
16739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16740
(eval "$ac_compile") 2>conftest.er1
16742
grep -v '^ *+' conftest.er1 >conftest.err
16744
cat conftest.err >&5
16745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746
(exit $ac_status); } && {
16747
test -z "$ac_c_werror_flag" ||
16748
test ! -s conftest.err
16749
} && test -s conftest.$ac_objext; then
16750
ac_cv_type_XML_Size=yes
16752
echo "$as_me: failed program was:" >&5
16753
sed 's/^/| /' conftest.$ac_ext >&5
16755
ac_cv_type_XML_Size=no
16758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16760
{ echo "$as_me:$LINENO: result: $ac_cv_type_XML_Size" >&5
16761
echo "${ECHO_T}$ac_cv_type_XML_Size" >&6; }
16762
if test $ac_cv_type_XML_Size = yes; then
16767
{ echo "$as_me:$LINENO: checking for XML_Size" >&5
16768
echo $ECHO_N "checking for XML_Size... $ECHO_C" >&6; }
16769
if test "${ac_cv_type_XML_Size+set}" = set; then
16770
echo $ECHO_N "(cached) $ECHO_C" >&6
16772
cat >conftest.$ac_ext <<_ACEOF
16775
cat confdefs.h >>conftest.$ac_ext
16776
cat >>conftest.$ac_ext <<_ACEOF
16777
/* end confdefs.h. */
16778
$ac_includes_default
16781
typedef XML_Size ac__type_new_;
16785
if ((ac__type_new_ *) 0)
16787
if (sizeof (ac__type_new_))
16793
rm -f conftest.$ac_objext
16794
if { (ac_try="$ac_compile"
16795
case "(($ac_try" in
16796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16797
*) ac_try_echo=$ac_try;;
16799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16800
(eval "$ac_compile") 2>conftest.er1
16802
grep -v '^ *+' conftest.er1 >conftest.err
16804
cat conftest.err >&5
16805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806
(exit $ac_status); } && {
16807
test -z "$ac_c_werror_flag" ||
16808
test ! -s conftest.err
16809
} && test -s conftest.$ac_objext; then
16810
ac_cv_type_XML_Size=yes
16812
echo "$as_me: failed program was:" >&5
16813
sed 's/^/| /' conftest.$ac_ext >&5
16815
ac_cv_type_XML_Size=no
16818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16820
{ echo "$as_me:$LINENO: result: $ac_cv_type_XML_Size" >&5
16821
echo "${ECHO_T}$ac_cv_type_XML_Size" >&6; }
16823
# The cast to long int works around a bug in the HP C Compiler
16824
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16825
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16826
# This bug is HP SR number 8606223364.
16827
{ echo "$as_me:$LINENO: checking size of XML_Size" >&5
16828
echo $ECHO_N "checking size of XML_Size... $ECHO_C" >&6; }
16829
if test "${ac_cv_sizeof_XML_Size+set}" = set; then
16830
echo $ECHO_N "(cached) $ECHO_C" >&6
16832
if test "$cross_compiling" = yes; then
16833
# Depending upon the size, compute the lo and hi bounds.
16834
cat >conftest.$ac_ext <<_ACEOF
16837
cat confdefs.h >>conftest.$ac_ext
16838
cat >>conftest.$ac_ext <<_ACEOF
16839
/* end confdefs.h. */
16840
$ac_includes_default
16843
typedef XML_Size ac__type_sizeof_;
16847
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
16854
rm -f conftest.$ac_objext
16855
if { (ac_try="$ac_compile"
16856
case "(($ac_try" in
16857
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16858
*) ac_try_echo=$ac_try;;
16860
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861
(eval "$ac_compile") 2>conftest.er1
16863
grep -v '^ *+' conftest.er1 >conftest.err
16865
cat conftest.err >&5
16866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867
(exit $ac_status); } && {
16868
test -z "$ac_c_werror_flag" ||
16869
test ! -s conftest.err
16870
} && test -s conftest.$ac_objext; then
16873
cat >conftest.$ac_ext <<_ACEOF
16876
cat confdefs.h >>conftest.$ac_ext
16877
cat >>conftest.$ac_ext <<_ACEOF
16878
/* end confdefs.h. */
16879
$ac_includes_default
16882
typedef XML_Size ac__type_sizeof_;
16886
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
16893
rm -f conftest.$ac_objext
16894
if { (ac_try="$ac_compile"
16895
case "(($ac_try" in
16896
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16897
*) ac_try_echo=$ac_try;;
16899
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900
(eval "$ac_compile") 2>conftest.er1
16902
grep -v '^ *+' conftest.er1 >conftest.err
16904
cat conftest.err >&5
16905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906
(exit $ac_status); } && {
16907
test -z "$ac_c_werror_flag" ||
16908
test ! -s conftest.err
16909
} && test -s conftest.$ac_objext; then
16910
ac_hi=$ac_mid; break
16912
echo "$as_me: failed program was:" >&5
16913
sed 's/^/| /' conftest.$ac_ext >&5
16915
ac_lo=`expr $ac_mid + 1`
16916
if test $ac_lo -le $ac_mid; then
16920
ac_mid=`expr 2 '*' $ac_mid + 1`
16923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926
echo "$as_me: failed program was:" >&5
16927
sed 's/^/| /' conftest.$ac_ext >&5
16929
cat >conftest.$ac_ext <<_ACEOF
16932
cat confdefs.h >>conftest.$ac_ext
16933
cat >>conftest.$ac_ext <<_ACEOF
16934
/* end confdefs.h. */
16935
$ac_includes_default
16938
typedef XML_Size ac__type_sizeof_;
16942
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
16949
rm -f conftest.$ac_objext
16950
if { (ac_try="$ac_compile"
16951
case "(($ac_try" in
16952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16953
*) ac_try_echo=$ac_try;;
16955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16956
(eval "$ac_compile") 2>conftest.er1
16958
grep -v '^ *+' conftest.er1 >conftest.err
16960
cat conftest.err >&5
16961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962
(exit $ac_status); } && {
16963
test -z "$ac_c_werror_flag" ||
16964
test ! -s conftest.err
16965
} && test -s conftest.$ac_objext; then
16968
cat >conftest.$ac_ext <<_ACEOF
16971
cat confdefs.h >>conftest.$ac_ext
16972
cat >>conftest.$ac_ext <<_ACEOF
16973
/* end confdefs.h. */
16974
$ac_includes_default
16977
typedef XML_Size ac__type_sizeof_;
16981
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
16988
rm -f conftest.$ac_objext
16989
if { (ac_try="$ac_compile"
16990
case "(($ac_try" in
16991
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992
*) ac_try_echo=$ac_try;;
16994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995
(eval "$ac_compile") 2>conftest.er1
16997
grep -v '^ *+' conftest.er1 >conftest.err
16999
cat conftest.err >&5
17000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001
(exit $ac_status); } && {
17002
test -z "$ac_c_werror_flag" ||
17003
test ! -s conftest.err
17004
} && test -s conftest.$ac_objext; then
17005
ac_lo=$ac_mid; break
17007
echo "$as_me: failed program was:" >&5
17008
sed 's/^/| /' conftest.$ac_ext >&5
17010
ac_hi=`expr '(' $ac_mid ')' - 1`
17011
if test $ac_mid -le $ac_hi; then
17015
ac_mid=`expr 2 '*' $ac_mid`
17018
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17021
echo "$as_me: failed program was:" >&5
17022
sed 's/^/| /' conftest.$ac_ext >&5
17027
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17030
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17031
# Binary search between lo and hi bounds.
17032
while test "x$ac_lo" != "x$ac_hi"; do
17033
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17034
cat >conftest.$ac_ext <<_ACEOF
17037
cat confdefs.h >>conftest.$ac_ext
17038
cat >>conftest.$ac_ext <<_ACEOF
17039
/* end confdefs.h. */
17040
$ac_includes_default
17043
typedef XML_Size ac__type_sizeof_;
17047
static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
17054
rm -f conftest.$ac_objext
17055
if { (ac_try="$ac_compile"
17056
case "(($ac_try" in
17057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17058
*) ac_try_echo=$ac_try;;
17060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061
(eval "$ac_compile") 2>conftest.er1
17063
grep -v '^ *+' conftest.er1 >conftest.err
17065
cat conftest.err >&5
17066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067
(exit $ac_status); } && {
17068
test -z "$ac_c_werror_flag" ||
17069
test ! -s conftest.err
17070
} && test -s conftest.$ac_objext; then
17073
echo "$as_me: failed program was:" >&5
17074
sed 's/^/| /' conftest.$ac_ext >&5
17076
ac_lo=`expr '(' $ac_mid ')' + 1`
17079
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17082
?*) ac_cv_sizeof_XML_Size=$ac_lo;;
17083
'') if test "$ac_cv_type_XML_Size" = yes; then
17084
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (XML_Size)
17085
See \`config.log' for more details." >&5
17086
echo "$as_me: error: cannot compute sizeof (XML_Size)
17087
See \`config.log' for more details." >&2;}
17088
{ (exit 77); exit 77; }; }
17090
ac_cv_sizeof_XML_Size=0
17094
cat >conftest.$ac_ext <<_ACEOF
17097
cat confdefs.h >>conftest.$ac_ext
17098
cat >>conftest.$ac_ext <<_ACEOF
17099
/* end confdefs.h. */
17100
$ac_includes_default
17103
typedef XML_Size ac__type_sizeof_;
17104
static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
17105
static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
17107
#include <stdlib.h>
17112
FILE *f = fopen ("conftest.val", "w");
17115
if (((long int) (sizeof (ac__type_sizeof_))) < 0)
17117
long int i = longval ();
17118
if (i != ((long int) (sizeof (ac__type_sizeof_))))
17120
fprintf (f, "%ld\n", i);
17124
unsigned long int i = ulongval ();
17125
if (i != ((long int) (sizeof (ac__type_sizeof_))))
17127
fprintf (f, "%lu\n", i);
17129
return ferror (f) || fclose (f) != 0;
17135
rm -f conftest$ac_exeext
17136
if { (ac_try="$ac_link"
17137
case "(($ac_try" in
17138
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139
*) ac_try_echo=$ac_try;;
17141
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142
(eval "$ac_link") 2>&5
17144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17145
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17146
{ (case "(($ac_try" in
17147
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148
*) ac_try_echo=$ac_try;;
17150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151
(eval "$ac_try") 2>&5
17153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154
(exit $ac_status); }; }; then
17155
ac_cv_sizeof_XML_Size=`cat conftest.val`
17157
echo "$as_me: program exited with status $ac_status" >&5
17158
echo "$as_me: failed program was:" >&5
17159
sed 's/^/| /' conftest.$ac_ext >&5
17161
( exit $ac_status )
17162
if test "$ac_cv_type_XML_Size" = yes; then
17163
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (XML_Size)
17164
See \`config.log' for more details." >&5
17165
echo "$as_me: error: cannot compute sizeof (XML_Size)
17166
See \`config.log' for more details." >&2;}
17167
{ (exit 77); exit 77; }; }
17169
ac_cv_sizeof_XML_Size=0
17172
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17176
{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_XML_Size" >&5
17177
echo "${ECHO_T}$ac_cv_sizeof_XML_Size" >&6; }
17181
cat >>confdefs.h <<_ACEOF
17182
#define SIZEOF_XML_SIZE $ac_cv_sizeof_XML_Size
17191
{ echo "$as_me:$LINENO: checking how to print XML_Size" >&5
17192
echo $ECHO_N "checking how to print XML_Size... $ECHO_C" >&6; }
17193
if test "${ne_cv_fmt_XML_Size+set}" = set; then
17194
echo $ECHO_N "(cached) $ECHO_C" >&6
17197
ne_cv_fmt_XML_Size=none
17198
if test $ne_fmt_trycompile = yes; then
17200
# Consider format string mismatches as errors
17201
CPPFLAGS="$CPPFLAGS -Wformat -Werror"
17202
for str in d ld lld; do
17203
cat >conftest.$ac_ext <<_ACEOF
17206
cat confdefs.h >>conftest.$ac_ext
17207
cat >>conftest.$ac_ext <<_ACEOF
17208
/* end confdefs.h. */
17209
#include <sys/types.h>
17215
XML_Size i = 1; printf("%$str", i);
17220
rm -f conftest.$ac_objext
17221
if { (ac_try="$ac_compile"
17222
case "(($ac_try" in
17223
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17224
*) ac_try_echo=$ac_try;;
17226
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17227
(eval "$ac_compile") 2>conftest.er1
17229
grep -v '^ *+' conftest.er1 >conftest.err
17231
cat conftest.err >&5
17232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233
(exit $ac_status); } && {
17234
test -z "$ac_c_werror_flag" ||
17235
test ! -s conftest.err
17236
} && test -s conftest.$ac_objext; then
17237
ne_cv_fmt_XML_Size=$str; break
17239
echo "$as_me: failed program was:" >&5
17240
sed 's/^/| /' conftest.$ac_ext >&5
17245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249
# Best guess. Don't have to be too precise since we probably won't
17250
# get a warning message anyway.
17251
case $ac_cv_sizeof_XML_Size in
17252
$ac_cv_sizeof_int) ne_cv_fmt_XML_Size="d" ;;
17253
$ac_cv_sizeof_long) ne_cv_fmt_XML_Size="ld" ;;
17254
$ac_cv_sizeof_long_long) ne_cv_fmt_XML_Size="lld" ;;
17259
{ echo "$as_me:$LINENO: result: $ne_cv_fmt_XML_Size" >&5
17260
echo "${ECHO_T}$ne_cv_fmt_XML_Size" >&6; }
17262
if test "x$ne_cv_fmt_XML_Size" = "xnone"; then
17263
{ { echo "$as_me:$LINENO: error: format string for XML_Size not found" >&5
17264
echo "$as_me: error: format string for XML_Size not found" >&2;}
17265
{ (exit 1); exit 1; }; }
17269
cat >>confdefs.h <<_ACEOF
17270
#define NE_FMT_XML_SIZE "$ne_cv_fmt_XML_Size"
17275
cat >>confdefs.h <<_ACEOF
17276
#define NE_FMT_XML_SIZE "d"
14311
17284
# Extract the first word of "xml2-config", so it can be a program name with args.
14312
17285
set dummy xml2-config; ac_word=$2
14313
echo "$as_me:$LINENO: checking for $ac_word" >&5
14314
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17286
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
17287
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14315
17288
if test "${ac_cv_prog_XML2_CONFIG+set}" = set; then
14316
17289
echo $ECHO_N "(cached) $ECHO_C" >&6
16174
19150
IFS=$as_save_IFS
16175
19151
test -z "$as_dir" && as_dir=.
16176
19152
for ac_exec_ext in '' $ac_executable_extensions; do
16177
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16178
19154
ac_cv_prog_ac_ct_RANLIB="ranlib"
16179
19155
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16185
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
16188
19164
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16189
19165
if test -n "$ac_ct_RANLIB"; then
16190
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16191
echo "${ECHO_T}$ac_ct_RANLIB" >&6
19166
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19167
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16193
echo "$as_me:$LINENO: result: no" >&5
16194
echo "${ECHO_T}no" >&6
19169
{ echo "$as_me:$LINENO: result: no" >&5
19170
echo "${ECHO_T}no" >&6; }
16197
RANLIB=$ac_ct_RANLIB
19173
if test "x$ac_ct_RANLIB" = x; then
19176
case $cross_compiling:$ac_tool_warned in
19178
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19179
whose name does not start with the host triplet. If you think this
19180
configuration is useful to you, please write to autoconf@gnu.org." >&5
19181
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19182
whose name does not start with the host triplet. If you think this
19183
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19184
ac_tool_warned=yes ;;
19186
RANLIB=$ac_ct_RANLIB
16199
19189
RANLIB="$ac_cv_prog_RANLIB"
16203
echo "$as_me:$LINENO: checking for signed" >&5
16204
echo $ECHO_N "checking for signed... $ECHO_C" >&6
16205
if test "${bh_cv_c_signed+set}" = set; then
16206
echo $ECHO_N "(cached) $ECHO_C" >&6
16208
cat >conftest.$ac_ext <<_ACEOF
16211
cat confdefs.h >>conftest.$ac_ext
16212
cat >>conftest.$ac_ext <<_ACEOF
16213
/* end confdefs.h. */
16223
rm -f conftest.$ac_objext
16224
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225
(eval $ac_compile) 2>conftest.er1
16227
grep -v '^ *+' conftest.er1 >conftest.err
16229
cat conftest.err >&5
16230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231
(exit $ac_status); } &&
16232
{ ac_try='test -z "$ac_c_werror_flag"
16233
|| test ! -s conftest.err'
16234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235
(eval $ac_try) 2>&5
16237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238
(exit $ac_status); }; } &&
16239
{ ac_try='test -s conftest.$ac_objext'
16240
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241
(eval $ac_try) 2>&5
16243
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244
(exit $ac_status); }; }; then
16247
echo "$as_me: failed program was:" >&5
16248
sed 's/^/| /' conftest.$ac_ext >&5
16252
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16254
echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
16255
echo "${ECHO_T}$bh_cv_c_signed" >&6
16256
if test $bh_cv_c_signed = no; then
16258
cat >>confdefs.h <<\_ACEOF
16265
echo "$as_me:$LINENO: checking for long long" >&5
16266
echo $ECHO_N "checking for long long... $ECHO_C" >&6
16267
if test "${ac_cv_type_long_long+set}" = set; then
16268
echo $ECHO_N "(cached) $ECHO_C" >&6
16270
cat >conftest.$ac_ext <<_ACEOF
16273
cat confdefs.h >>conftest.$ac_ext
16274
cat >>conftest.$ac_ext <<_ACEOF
16275
/* end confdefs.h. */
16276
long long ll = 1LL; int i = 63;
16280
long long llmax = (long long) -1;
16281
return ll << i | ll >> i | llmax / ll | llmax % ll;
16286
rm -f conftest.$ac_objext conftest$ac_exeext
16287
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16288
(eval $ac_link) 2>conftest.er1
16290
grep -v '^ *+' conftest.er1 >conftest.err
16292
cat conftest.err >&5
16293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16294
(exit $ac_status); } &&
16295
{ ac_try='test -z "$ac_c_werror_flag"
16296
|| test ! -s conftest.err'
16297
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298
(eval $ac_try) 2>&5
16300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301
(exit $ac_status); }; } &&
16302
{ ac_try='test -s conftest$ac_exeext'
16303
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304
(eval $ac_try) 2>&5
16306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307
(exit $ac_status); }; }; then
16308
ac_cv_type_long_long=yes
16310
echo "$as_me: failed program was:" >&5
16311
sed 's/^/| /' conftest.$ac_ext >&5
16313
ac_cv_type_long_long=no
16315
rm -f conftest.err conftest.$ac_objext \
16316
conftest$ac_exeext conftest.$ac_ext
16318
echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16319
echo "${ECHO_T}$ac_cv_type_long_long" >&6
16320
if test $ac_cv_type_long_long = yes; then
16322
cat >>confdefs.h <<\_ACEOF
16323
#define HAVE_LONG_LONG 1
16329
echo "$as_me:$LINENO: checking for long double" >&5
16330
echo $ECHO_N "checking for long double... $ECHO_C" >&6
16331
if test "${gt_cv_c_long_double+set}" = set; then
16332
echo $ECHO_N "(cached) $ECHO_C" >&6
16334
if test "$GCC" = yes; then
16335
gt_cv_c_long_double=yes
16337
cat >conftest.$ac_ext <<_ACEOF
16340
cat confdefs.h >>conftest.$ac_ext
16341
cat >>conftest.$ac_ext <<_ACEOF
16342
/* end confdefs.h. */
16344
/* The Stardent Vistra knows sizeof(long double), but does not support it. */
16345
long double foo = 0.0;
16346
/* On Ultrix 4.3 cc, long double is 4 and double is 8. */
16347
int array [2*(sizeof(long double) >= sizeof(double)) - 1];
16357
rm -f conftest.$ac_objext
16358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16359
(eval $ac_compile) 2>conftest.er1
16361
grep -v '^ *+' conftest.er1 >conftest.err
16363
cat conftest.err >&5
16364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365
(exit $ac_status); } &&
16366
{ ac_try='test -z "$ac_c_werror_flag"
16367
|| test ! -s conftest.err'
16368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16369
(eval $ac_try) 2>&5
16371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372
(exit $ac_status); }; } &&
16373
{ ac_try='test -s conftest.$ac_objext'
16374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16375
(eval $ac_try) 2>&5
16377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378
(exit $ac_status); }; }; then
16379
gt_cv_c_long_double=yes
16381
echo "$as_me: failed program was:" >&5
16382
sed 's/^/| /' conftest.$ac_ext >&5
16384
gt_cv_c_long_double=no
16386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16389
echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
16390
echo "${ECHO_T}$gt_cv_c_long_double" >&6
16391
if test $gt_cv_c_long_double = yes; then
16393
cat >>confdefs.h <<\_ACEOF
16394
#define HAVE_LONG_DOUBLE 1
16400
echo "$as_me:$LINENO: checking for wchar_t" >&5
16401
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
16402
if test "${gt_cv_c_wchar_t+set}" = set; then
16403
echo $ECHO_N "(cached) $ECHO_C" >&6
16405
cat >conftest.$ac_ext <<_ACEOF
16408
cat confdefs.h >>conftest.$ac_ext
16409
cat >>conftest.$ac_ext <<_ACEOF
16410
/* end confdefs.h. */
16411
#include <stddef.h>
16412
wchar_t foo = (wchar_t)'\0';
16421
rm -f conftest.$ac_objext
16422
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16423
(eval $ac_compile) 2>conftest.er1
16425
grep -v '^ *+' conftest.er1 >conftest.err
16427
cat conftest.err >&5
16428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429
(exit $ac_status); } &&
16430
{ ac_try='test -z "$ac_c_werror_flag"
16431
|| test ! -s conftest.err'
16432
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433
(eval $ac_try) 2>&5
16435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436
(exit $ac_status); }; } &&
16437
{ ac_try='test -s conftest.$ac_objext'
16438
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16439
(eval $ac_try) 2>&5
16441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442
(exit $ac_status); }; }; then
16443
gt_cv_c_wchar_t=yes
16445
echo "$as_me: failed program was:" >&5
16446
sed 's/^/| /' conftest.$ac_ext >&5
16450
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16452
echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
16453
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
16454
if test $gt_cv_c_wchar_t = yes; then
16456
cat >>confdefs.h <<\_ACEOF
16457
#define HAVE_WCHAR_T 1
16463
echo "$as_me:$LINENO: checking for wint_t" >&5
16464
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
16465
if test "${gt_cv_c_wint_t+set}" = set; then
16466
echo $ECHO_N "(cached) $ECHO_C" >&6
16468
cat >conftest.$ac_ext <<_ACEOF
16471
cat confdefs.h >>conftest.$ac_ext
16472
cat >>conftest.$ac_ext <<_ACEOF
16473
/* end confdefs.h. */
16475
wint_t foo = (wchar_t)'\0';
16484
rm -f conftest.$ac_objext
16485
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16486
(eval $ac_compile) 2>conftest.er1
16488
grep -v '^ *+' conftest.er1 >conftest.err
16490
cat conftest.err >&5
16491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492
(exit $ac_status); } &&
16493
{ ac_try='test -z "$ac_c_werror_flag"
16494
|| test ! -s conftest.err'
16495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16496
(eval $ac_try) 2>&5
16498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499
(exit $ac_status); }; } &&
16500
{ ac_try='test -s conftest.$ac_objext'
16501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16502
(eval $ac_try) 2>&5
16504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505
(exit $ac_status); }; }; then
16508
echo "$as_me: failed program was:" >&5
16509
sed 's/^/| /' conftest.$ac_ext >&5
16513
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16515
echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
16516
echo "${ECHO_T}$gt_cv_c_wint_t" >&6
16517
if test $gt_cv_c_wint_t = yes; then
16519
cat >>confdefs.h <<\_ACEOF
16520
#define HAVE_WINT_T 1
16526
echo "$as_me:$LINENO: checking for inttypes.h" >&5
16527
echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
16528
if test "${gl_cv_header_inttypes_h+set}" = set; then
16529
echo $ECHO_N "(cached) $ECHO_C" >&6
16531
cat >conftest.$ac_ext <<_ACEOF
16534
cat confdefs.h >>conftest.$ac_ext
16535
cat >>conftest.$ac_ext <<_ACEOF
16536
/* end confdefs.h. */
16537
#include <sys/types.h>
16538
#include <inttypes.h>
16542
uintmax_t i = (uintmax_t) -1;
16547
rm -f conftest.$ac_objext
16548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549
(eval $ac_compile) 2>conftest.er1
16551
grep -v '^ *+' conftest.er1 >conftest.err
16553
cat conftest.err >&5
16554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555
(exit $ac_status); } &&
16556
{ ac_try='test -z "$ac_c_werror_flag"
16557
|| test ! -s conftest.err'
16558
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559
(eval $ac_try) 2>&5
16561
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562
(exit $ac_status); }; } &&
16563
{ ac_try='test -s conftest.$ac_objext'
16564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565
(eval $ac_try) 2>&5
16567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568
(exit $ac_status); }; }; then
16569
gl_cv_header_inttypes_h=yes
16571
echo "$as_me: failed program was:" >&5
16572
sed 's/^/| /' conftest.$ac_ext >&5
16574
gl_cv_header_inttypes_h=no
16576
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16578
echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
16579
echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
16580
if test $gl_cv_header_inttypes_h = yes; then
19196
if test -n "$GCC"; then
19197
{ echo "$as_me:$LINENO: checking for simple visibility declarations" >&5
19198
echo $ECHO_N "checking for simple visibility declarations... $ECHO_C" >&6; }
19199
if test "${gl_cv_cc_visibility+set}" = set; then
19200
echo $ECHO_N "(cached) $ECHO_C" >&6
19203
gl_save_CFLAGS="$CFLAGS"
19204
CFLAGS="$CFLAGS -fvisibility=hidden"
19205
cat >conftest.$ac_ext <<_ACEOF
19208
cat confdefs.h >>conftest.$ac_ext
19209
cat >>conftest.$ac_ext <<_ACEOF
19210
/* end confdefs.h. */
19211
extern __attribute__((__visibility__("hidden"))) int hiddenvar;
19212
extern __attribute__((__visibility__("default"))) int exportedvar;
19213
extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
19214
extern __attribute__((__visibility__("default"))) int exportedfunc (void);
19223
rm -f conftest.$ac_objext
19224
if { (ac_try="$ac_compile"
19225
case "(($ac_try" in
19226
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227
*) ac_try_echo=$ac_try;;
19229
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230
(eval "$ac_compile") 2>conftest.er1
19232
grep -v '^ *+' conftest.er1 >conftest.err
19234
cat conftest.err >&5
19235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236
(exit $ac_status); } && {
19237
test -z "$ac_c_werror_flag" ||
19238
test ! -s conftest.err
19239
} && test -s conftest.$ac_objext; then
19240
gl_cv_cc_visibility=yes
19242
echo "$as_me: failed program was:" >&5
19243
sed 's/^/| /' conftest.$ac_ext >&5
19245
gl_cv_cc_visibility=no
19248
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19249
CFLAGS="$gl_save_CFLAGS"
19252
{ echo "$as_me:$LINENO: result: $gl_cv_cc_visibility" >&5
19253
echo "${ECHO_T}$gl_cv_cc_visibility" >&6; }
19254
if test $gl_cv_cc_visibility = yes; then
19255
CFLAG_VISIBILITY="-fvisibility=hidden"
16582
19262
cat >>confdefs.h <<_ACEOF
16583
#define HAVE_INTTYPES_H_WITH_UINTMAX 1
19263
#define HAVE_VISIBILITY $HAVE_VISIBILITY
16589
echo "$as_me:$LINENO: checking for stdint.h" >&5
16590
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
19268
{ echo "$as_me:$LINENO: checking for stdint.h" >&5
19269
echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6; }
16591
19270
if test "${gl_cv_header_stdint_h+set}" = set; then
16592
19271
echo $ECHO_N "(cached) $ECHO_C" >&6
17951
20601
#define PRI_MACROS_BROKEN 1
17958
for ac_header in stdint.h
17960
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17961
if eval "test \"\${$as_ac_Header+set}\" = set"; then
17962
echo "$as_me:$LINENO: checking for $ac_header" >&5
17963
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17964
if eval "test \"\${$as_ac_Header+set}\" = set"; then
17965
echo $ECHO_N "(cached) $ECHO_C" >&6
17967
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17968
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17970
# Is the header compilable?
17971
echo "$as_me:$LINENO: checking $ac_header usability" >&5
17972
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17973
cat >conftest.$ac_ext <<_ACEOF
17976
cat confdefs.h >>conftest.$ac_ext
17977
cat >>conftest.$ac_ext <<_ACEOF
17978
/* end confdefs.h. */
17979
$ac_includes_default
17980
#include <$ac_header>
17982
rm -f conftest.$ac_objext
17983
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17984
(eval $ac_compile) 2>conftest.er1
17986
grep -v '^ *+' conftest.er1 >conftest.err
17988
cat conftest.err >&5
17989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990
(exit $ac_status); } &&
17991
{ ac_try='test -z "$ac_c_werror_flag"
17992
|| test ! -s conftest.err'
17993
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17994
(eval $ac_try) 2>&5
17996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17997
(exit $ac_status); }; } &&
17998
{ ac_try='test -s conftest.$ac_objext'
17999
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18000
(eval $ac_try) 2>&5
18002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18003
(exit $ac_status); }; }; then
18004
ac_header_compiler=yes
18006
echo "$as_me: failed program was:" >&5
18007
sed 's/^/| /' conftest.$ac_ext >&5
18009
ac_header_compiler=no
18011
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18012
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18013
echo "${ECHO_T}$ac_header_compiler" >&6
18015
# Is the header present?
18016
echo "$as_me:$LINENO: checking $ac_header presence" >&5
18017
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18018
cat >conftest.$ac_ext <<_ACEOF
18021
cat confdefs.h >>conftest.$ac_ext
18022
cat >>conftest.$ac_ext <<_ACEOF
18023
/* end confdefs.h. */
18024
#include <$ac_header>
18026
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18027
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18029
grep -v '^ *+' conftest.er1 >conftest.err
18031
cat conftest.err >&5
18032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033
(exit $ac_status); } >/dev/null; then
18034
if test -s conftest.err; then
18035
ac_cpp_err=$ac_c_preproc_warn_flag
18036
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20604
PRI_MACROS_BROKEN=1
20606
PRI_MACROS_BROKEN=0
18043
if test -z "$ac_cpp_err"; then
18044
ac_header_preproc=yes
18046
echo "$as_me: failed program was:" >&5
18047
sed 's/^/| /' conftest.$ac_ext >&5
18049
ac_header_preproc=no
18051
rm -f conftest.err conftest.$ac_ext
18052
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18053
echo "${ECHO_T}$ac_header_preproc" >&6
18055
# So? What about this header?
18056
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18058
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18059
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18060
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18061
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18062
ac_header_preproc=yes
18065
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18066
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18067
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18068
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18069
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18070
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18071
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18072
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18073
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18074
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18075
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18076
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18079
## -------------------------------- ##
18080
## Report this to sitecopy@lyra.org ##
18081
## -------------------------------- ##
18084
sed "s/^/$as_me: WARNING: /" >&2
18087
echo "$as_me:$LINENO: checking for $ac_header" >&5
18088
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18089
if eval "test \"\${$as_ac_Header+set}\" = set"; then
18090
echo $ECHO_N "(cached) $ECHO_C" >&6
18092
eval "$as_ac_Header=\$ac_header_preproc"
18094
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18095
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18098
if test `eval echo '${'$as_ac_Header'}'` = yes; then
18099
cat >>confdefs.h <<_ACEOF
18100
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20611
cat >>confdefs.h <<\_ACEOF
20612
#define _GNU_SOURCE 1
18107
echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
18108
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
18110
cat >conftest.$ac_ext <<_ACEOF
20617
{ echo "$as_me:$LINENO: checking for AIX" >&5
20618
echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
20619
cat >conftest.$ac_ext <<_ACEOF
18111
20620
/* confdefs.h. */
18113
20622
cat confdefs.h >>conftest.$ac_ext
18114
20623
cat >>conftest.$ac_ext <<_ACEOF
18115
20624
/* end confdefs.h. */
18117
#include <limits.h>
18119
#include <stdint.h>
18126
20630
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18127
$EGREP "Found it" >/dev/null 2>&1; then
20631
$EGREP "yes" >/dev/null 2>&1; then
20632
{ echo "$as_me:$LINENO: result: yes" >&5
20633
echo "${ECHO_T}yes" >&6; }
20634
cat >>confdefs.h <<\_ACEOF
20635
#define _ALL_SOURCE 1
20639
{ echo "$as_me:$LINENO: result: no" >&5
20640
echo "${ECHO_T}no" >&6; }
18130
20642
rm -f conftest*
18132
if test -z "$result"; then
18133
if test "$cross_compiling" = yes; then
18134
# Depending upon the size, compute the lo and hi bounds.
18135
cat >conftest.$ac_ext <<_ACEOF
18138
cat confdefs.h >>conftest.$ac_ext
18139
cat >>conftest.$ac_ext <<_ACEOF
18140
/* end confdefs.h. */
18141
#include <stddef.h>
18145
static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
18152
rm -f conftest.$ac_objext
18153
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18154
(eval $ac_compile) 2>conftest.er1
18156
grep -v '^ *+' conftest.er1 >conftest.err
18158
cat conftest.err >&5
18159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160
(exit $ac_status); } &&
18161
{ ac_try='test -z "$ac_c_werror_flag"
18162
|| test ! -s conftest.err'
18163
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164
(eval $ac_try) 2>&5
18166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167
(exit $ac_status); }; } &&
18168
{ ac_try='test -s conftest.$ac_objext'
18169
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170
(eval $ac_try) 2>&5
18172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173
(exit $ac_status); }; }; then
18176
cat >conftest.$ac_ext <<_ACEOF
18179
cat confdefs.h >>conftest.$ac_ext
18180
cat >>conftest.$ac_ext <<_ACEOF
18181
/* end confdefs.h. */
18182
#include <stddef.h>
18186
static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
18193
rm -f conftest.$ac_objext
18194
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18195
(eval $ac_compile) 2>conftest.er1
18197
grep -v '^ *+' conftest.er1 >conftest.err
18199
cat conftest.err >&5
18200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201
(exit $ac_status); } &&
18202
{ ac_try='test -z "$ac_c_werror_flag"
18203
|| test ! -s conftest.err'
18204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205
(eval $ac_try) 2>&5
18207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208
(exit $ac_status); }; } &&
18209
{ ac_try='test -s conftest.$ac_objext'
18210
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211
(eval $ac_try) 2>&5
18213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214
(exit $ac_status); }; }; then
18215
ac_hi=$ac_mid; break
18217
echo "$as_me: failed program was:" >&5
18218
sed 's/^/| /' conftest.$ac_ext >&5
18220
ac_lo=`expr $ac_mid + 1`
18221
if test $ac_lo -le $ac_mid; then
18225
ac_mid=`expr 2 '*' $ac_mid + 1`
18227
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18230
echo "$as_me: failed program was:" >&5
18231
sed 's/^/| /' conftest.$ac_ext >&5
18233
cat >conftest.$ac_ext <<_ACEOF
18236
cat confdefs.h >>conftest.$ac_ext
18237
cat >>conftest.$ac_ext <<_ACEOF
18238
/* end confdefs.h. */
18239
#include <stddef.h>
18243
static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
18250
rm -f conftest.$ac_objext
18251
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252
(eval $ac_compile) 2>conftest.er1
18254
grep -v '^ *+' conftest.er1 >conftest.err
18256
cat conftest.err >&5
18257
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258
(exit $ac_status); } &&
18259
{ ac_try='test -z "$ac_c_werror_flag"
18260
|| test ! -s conftest.err'
18261
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18262
(eval $ac_try) 2>&5
18264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265
(exit $ac_status); }; } &&
18266
{ ac_try='test -s conftest.$ac_objext'
18267
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18268
(eval $ac_try) 2>&5
18270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271
(exit $ac_status); }; }; then
18274
cat >conftest.$ac_ext <<_ACEOF
18277
cat confdefs.h >>conftest.$ac_ext
18278
cat >>conftest.$ac_ext <<_ACEOF
18279
/* end confdefs.h. */
18280
#include <stddef.h>
18284
static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
18291
rm -f conftest.$ac_objext
18292
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18293
(eval $ac_compile) 2>conftest.er1
18295
grep -v '^ *+' conftest.er1 >conftest.err
18297
cat conftest.err >&5
18298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299
(exit $ac_status); } &&
18300
{ ac_try='test -z "$ac_c_werror_flag"
18301
|| test ! -s conftest.err'
18302
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18303
(eval $ac_try) 2>&5
18305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18306
(exit $ac_status); }; } &&
18307
{ ac_try='test -s conftest.$ac_objext'
18308
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309
(eval $ac_try) 2>&5
18311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312
(exit $ac_status); }; }; then
18313
ac_lo=$ac_mid; break
18315
echo "$as_me: failed program was:" >&5
18316
sed 's/^/| /' conftest.$ac_ext >&5
18318
ac_hi=`expr '(' $ac_mid ')' - 1`
18319
if test $ac_mid -le $ac_hi; then
18323
ac_mid=`expr 2 '*' $ac_mid`
18325
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18328
echo "$as_me: failed program was:" >&5
18329
sed 's/^/| /' conftest.$ac_ext >&5
18333
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18335
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18336
# Binary search between lo and hi bounds.
18337
while test "x$ac_lo" != "x$ac_hi"; do
18338
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18339
cat >conftest.$ac_ext <<_ACEOF
18342
cat confdefs.h >>conftest.$ac_ext
18343
cat >>conftest.$ac_ext <<_ACEOF
18344
/* end confdefs.h. */
18345
#include <stddef.h>
18349
static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
18356
rm -f conftest.$ac_objext
18357
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18358
(eval $ac_compile) 2>conftest.er1
18360
grep -v '^ *+' conftest.er1 >conftest.err
18362
cat conftest.err >&5
18363
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18364
(exit $ac_status); } &&
18365
{ ac_try='test -z "$ac_c_werror_flag"
18366
|| test ! -s conftest.err'
18367
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18368
(eval $ac_try) 2>&5
18370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18371
(exit $ac_status); }; } &&
18372
{ ac_try='test -s conftest.$ac_objext'
18373
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18374
(eval $ac_try) 2>&5
18376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18377
(exit $ac_status); }; }; then
18380
echo "$as_me: failed program was:" >&5
18381
sed 's/^/| /' conftest.$ac_ext >&5
18383
ac_lo=`expr '(' $ac_mid ')' + 1`
18385
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18388
?*) res_hi=$ac_lo;;
18392
if test "$cross_compiling" = yes; then
18393
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18394
See \`config.log' for more details." >&5
18395
echo "$as_me: error: cannot run test program while cross compiling
18396
See \`config.log' for more details." >&2;}
18397
{ (exit 1); exit 1; }; }
18399
cat >conftest.$ac_ext <<_ACEOF
18402
cat confdefs.h >>conftest.$ac_ext
18403
cat >>conftest.$ac_ext <<_ACEOF
18404
/* end confdefs.h. */
18405
#include <stddef.h>
18406
long longval () { return ~(size_t)0 / 10; }
18407
unsigned long ulongval () { return ~(size_t)0 / 10; }
18409
#include <stdlib.h>
18414
FILE *f = fopen ("conftest.val", "w");
18417
if ((~(size_t)0 / 10) < 0)
18419
long i = longval ();
18420
if (i != (~(size_t)0 / 10))
18422
fprintf (f, "%ld\n", i);
18426
unsigned long i = ulongval ();
18427
if (i != (~(size_t)0 / 10))
18429
fprintf (f, "%lu\n", i);
18431
exit (ferror (f) || fclose (f) != 0);
18437
rm -f conftest$ac_exeext
18438
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18439
(eval $ac_link) 2>&5
18441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18442
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18443
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18444
(eval $ac_try) 2>&5
18446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18447
(exit $ac_status); }; }; then
18448
res_hi=`cat conftest.val`
18450
echo "$as_me: program exited with status $ac_status" >&5
18451
echo "$as_me: failed program was:" >&5
18452
sed 's/^/| /' conftest.$ac_ext >&5
18454
( exit $ac_status )
18457
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18461
if test "$cross_compiling" = yes; then
18462
# Depending upon the size, compute the lo and hi bounds.
18463
cat >conftest.$ac_ext <<_ACEOF
18466
cat confdefs.h >>conftest.$ac_ext
18467
cat >>conftest.$ac_ext <<_ACEOF
18468
/* end confdefs.h. */
18469
#include <stddef.h>
18473
static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
18480
rm -f conftest.$ac_objext
18481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482
(eval $ac_compile) 2>conftest.er1
18484
grep -v '^ *+' conftest.er1 >conftest.err
18486
cat conftest.err >&5
18487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488
(exit $ac_status); } &&
18489
{ ac_try='test -z "$ac_c_werror_flag"
18490
|| test ! -s conftest.err'
18491
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492
(eval $ac_try) 2>&5
18494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495
(exit $ac_status); }; } &&
18496
{ ac_try='test -s conftest.$ac_objext'
18497
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18498
(eval $ac_try) 2>&5
18500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501
(exit $ac_status); }; }; then
18504
cat >conftest.$ac_ext <<_ACEOF
18507
cat confdefs.h >>conftest.$ac_ext
18508
cat >>conftest.$ac_ext <<_ACEOF
18509
/* end confdefs.h. */
18510
#include <stddef.h>
18514
static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
18521
rm -f conftest.$ac_objext
18522
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18523
(eval $ac_compile) 2>conftest.er1
18525
grep -v '^ *+' conftest.er1 >conftest.err
18527
cat conftest.err >&5
18528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529
(exit $ac_status); } &&
18530
{ ac_try='test -z "$ac_c_werror_flag"
18531
|| test ! -s conftest.err'
18532
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18533
(eval $ac_try) 2>&5
18535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18536
(exit $ac_status); }; } &&
18537
{ ac_try='test -s conftest.$ac_objext'
18538
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18539
(eval $ac_try) 2>&5
18541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542
(exit $ac_status); }; }; then
18543
ac_hi=$ac_mid; break
18545
echo "$as_me: failed program was:" >&5
18546
sed 's/^/| /' conftest.$ac_ext >&5
18548
ac_lo=`expr $ac_mid + 1`
18549
if test $ac_lo -le $ac_mid; then
18553
ac_mid=`expr 2 '*' $ac_mid + 1`
18555
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18558
echo "$as_me: failed program was:" >&5
18559
sed 's/^/| /' conftest.$ac_ext >&5
18561
cat >conftest.$ac_ext <<_ACEOF
18564
cat confdefs.h >>conftest.$ac_ext
18565
cat >>conftest.$ac_ext <<_ACEOF
18566
/* end confdefs.h. */
18567
#include <stddef.h>
18571
static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
18578
rm -f conftest.$ac_objext
18579
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18580
(eval $ac_compile) 2>conftest.er1
18582
grep -v '^ *+' conftest.er1 >conftest.err
18584
cat conftest.err >&5
18585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586
(exit $ac_status); } &&
18587
{ ac_try='test -z "$ac_c_werror_flag"
18588
|| test ! -s conftest.err'
18589
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18590
(eval $ac_try) 2>&5
18592
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593
(exit $ac_status); }; } &&
18594
{ ac_try='test -s conftest.$ac_objext'
18595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18596
(eval $ac_try) 2>&5
18598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599
(exit $ac_status); }; }; then
18602
cat >conftest.$ac_ext <<_ACEOF
18605
cat confdefs.h >>conftest.$ac_ext
18606
cat >>conftest.$ac_ext <<_ACEOF
18607
/* end confdefs.h. */
18608
#include <stddef.h>
18612
static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
18619
rm -f conftest.$ac_objext
18620
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18621
(eval $ac_compile) 2>conftest.er1
18623
grep -v '^ *+' conftest.er1 >conftest.err
18625
cat conftest.err >&5
18626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627
(exit $ac_status); } &&
18628
{ ac_try='test -z "$ac_c_werror_flag"
18629
|| test ! -s conftest.err'
18630
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18631
(eval $ac_try) 2>&5
18633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634
(exit $ac_status); }; } &&
18635
{ ac_try='test -s conftest.$ac_objext'
18636
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637
(eval $ac_try) 2>&5
18639
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640
(exit $ac_status); }; }; then
18641
ac_lo=$ac_mid; break
18643
echo "$as_me: failed program was:" >&5
18644
sed 's/^/| /' conftest.$ac_ext >&5
18646
ac_hi=`expr '(' $ac_mid ')' - 1`
18647
if test $ac_mid -le $ac_hi; then
18651
ac_mid=`expr 2 '*' $ac_mid`
18653
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18656
echo "$as_me: failed program was:" >&5
18657
sed 's/^/| /' conftest.$ac_ext >&5
18661
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18663
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18664
# Binary search between lo and hi bounds.
18665
while test "x$ac_lo" != "x$ac_hi"; do
18666
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18667
cat >conftest.$ac_ext <<_ACEOF
18670
cat confdefs.h >>conftest.$ac_ext
18671
cat >>conftest.$ac_ext <<_ACEOF
18672
/* end confdefs.h. */
18673
#include <stddef.h>
18677
static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
18684
rm -f conftest.$ac_objext
18685
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686
(eval $ac_compile) 2>conftest.er1
18688
grep -v '^ *+' conftest.er1 >conftest.err
18690
cat conftest.err >&5
18691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692
(exit $ac_status); } &&
18693
{ ac_try='test -z "$ac_c_werror_flag"
18694
|| test ! -s conftest.err'
18695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696
(eval $ac_try) 2>&5
18698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699
(exit $ac_status); }; } &&
18700
{ ac_try='test -s conftest.$ac_objext'
18701
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702
(eval $ac_try) 2>&5
18704
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705
(exit $ac_status); }; }; then
18708
echo "$as_me: failed program was:" >&5
18709
sed 's/^/| /' conftest.$ac_ext >&5
18711
ac_lo=`expr '(' $ac_mid ')' + 1`
18713
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18716
?*) res_lo=$ac_lo;;
18720
if test "$cross_compiling" = yes; then
18721
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18722
See \`config.log' for more details." >&5
18723
echo "$as_me: error: cannot run test program while cross compiling
18724
See \`config.log' for more details." >&2;}
18725
{ (exit 1); exit 1; }; }
18727
cat >conftest.$ac_ext <<_ACEOF
18730
cat confdefs.h >>conftest.$ac_ext
18731
cat >>conftest.$ac_ext <<_ACEOF
18732
/* end confdefs.h. */
18733
#include <stddef.h>
18734
long longval () { return ~(size_t)0 % 10; }
18735
unsigned long ulongval () { return ~(size_t)0 % 10; }
18737
#include <stdlib.h>
18742
FILE *f = fopen ("conftest.val", "w");
18745
if ((~(size_t)0 % 10) < 0)
18747
long i = longval ();
18748
if (i != (~(size_t)0 % 10))
18750
fprintf (f, "%ld\n", i);
18754
unsigned long i = ulongval ();
18755
if (i != (~(size_t)0 % 10))
18757
fprintf (f, "%lu\n", i);
18759
exit (ferror (f) || fclose (f) != 0);
18765
rm -f conftest$ac_exeext
18766
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18767
(eval $ac_link) 2>&5
18769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18770
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18771
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772
(eval $ac_try) 2>&5
18774
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775
(exit $ac_status); }; }; then
18776
res_lo=`cat conftest.val`
18778
echo "$as_me: program exited with status $ac_status" >&5
18779
echo "$as_me: failed program was:" >&5
18780
sed 's/^/| /' conftest.$ac_ext >&5
18782
( exit $ac_status )
18785
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18789
if test "$cross_compiling" = yes; then
18790
# Depending upon the size, compute the lo and hi bounds.
18791
cat >conftest.$ac_ext <<_ACEOF
18794
cat confdefs.h >>conftest.$ac_ext
18795
cat >>conftest.$ac_ext <<_ACEOF
18796
/* end confdefs.h. */
18797
#include <stddef.h>
18801
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
18808
rm -f conftest.$ac_objext
18809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18810
(eval $ac_compile) 2>conftest.er1
18812
grep -v '^ *+' conftest.er1 >conftest.err
18814
cat conftest.err >&5
18815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816
(exit $ac_status); } &&
18817
{ ac_try='test -z "$ac_c_werror_flag"
18818
|| test ! -s conftest.err'
18819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18820
(eval $ac_try) 2>&5
18822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18823
(exit $ac_status); }; } &&
18824
{ ac_try='test -s conftest.$ac_objext'
18825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18826
(eval $ac_try) 2>&5
18828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829
(exit $ac_status); }; }; then
18832
cat >conftest.$ac_ext <<_ACEOF
18835
cat confdefs.h >>conftest.$ac_ext
18836
cat >>conftest.$ac_ext <<_ACEOF
18837
/* end confdefs.h. */
18838
#include <stddef.h>
18842
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
18849
rm -f conftest.$ac_objext
18850
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18851
(eval $ac_compile) 2>conftest.er1
18853
grep -v '^ *+' conftest.er1 >conftest.err
18855
cat conftest.err >&5
18856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857
(exit $ac_status); } &&
18858
{ ac_try='test -z "$ac_c_werror_flag"
18859
|| test ! -s conftest.err'
18860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861
(eval $ac_try) 2>&5
18863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864
(exit $ac_status); }; } &&
18865
{ ac_try='test -s conftest.$ac_objext'
18866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867
(eval $ac_try) 2>&5
18869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870
(exit $ac_status); }; }; then
18871
ac_hi=$ac_mid; break
18873
echo "$as_me: failed program was:" >&5
18874
sed 's/^/| /' conftest.$ac_ext >&5
18876
ac_lo=`expr $ac_mid + 1`
18877
if test $ac_lo -le $ac_mid; then
18881
ac_mid=`expr 2 '*' $ac_mid + 1`
18883
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18886
echo "$as_me: failed program was:" >&5
18887
sed 's/^/| /' conftest.$ac_ext >&5
18889
cat >conftest.$ac_ext <<_ACEOF
18892
cat confdefs.h >>conftest.$ac_ext
18893
cat >>conftest.$ac_ext <<_ACEOF
18894
/* end confdefs.h. */
18895
#include <stddef.h>
18899
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
18906
rm -f conftest.$ac_objext
18907
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18908
(eval $ac_compile) 2>conftest.er1
18910
grep -v '^ *+' conftest.er1 >conftest.err
18912
cat conftest.err >&5
18913
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18914
(exit $ac_status); } &&
18915
{ ac_try='test -z "$ac_c_werror_flag"
18916
|| test ! -s conftest.err'
18917
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918
(eval $ac_try) 2>&5
18920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921
(exit $ac_status); }; } &&
18922
{ ac_try='test -s conftest.$ac_objext'
18923
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18924
(eval $ac_try) 2>&5
18926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18927
(exit $ac_status); }; }; then
18930
cat >conftest.$ac_ext <<_ACEOF
18933
cat confdefs.h >>conftest.$ac_ext
18934
cat >>conftest.$ac_ext <<_ACEOF
18935
/* end confdefs.h. */
18936
#include <stddef.h>
18940
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
18947
rm -f conftest.$ac_objext
18948
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18949
(eval $ac_compile) 2>conftest.er1
18951
grep -v '^ *+' conftest.er1 >conftest.err
18953
cat conftest.err >&5
18954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955
(exit $ac_status); } &&
18956
{ ac_try='test -z "$ac_c_werror_flag"
18957
|| test ! -s conftest.err'
18958
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18959
(eval $ac_try) 2>&5
18961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18962
(exit $ac_status); }; } &&
18963
{ ac_try='test -s conftest.$ac_objext'
18964
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18965
(eval $ac_try) 2>&5
18967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18968
(exit $ac_status); }; }; then
18969
ac_lo=$ac_mid; break
18971
echo "$as_me: failed program was:" >&5
18972
sed 's/^/| /' conftest.$ac_ext >&5
18974
ac_hi=`expr '(' $ac_mid ')' - 1`
18975
if test $ac_mid -le $ac_hi; then
18979
ac_mid=`expr 2 '*' $ac_mid`
18981
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18984
echo "$as_me: failed program was:" >&5
18985
sed 's/^/| /' conftest.$ac_ext >&5
18989
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18991
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18992
# Binary search between lo and hi bounds.
18993
while test "x$ac_lo" != "x$ac_hi"; do
18994
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18995
cat >conftest.$ac_ext <<_ACEOF
18998
cat confdefs.h >>conftest.$ac_ext
18999
cat >>conftest.$ac_ext <<_ACEOF
19000
/* end confdefs.h. */
19001
#include <stddef.h>
19005
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
19012
rm -f conftest.$ac_objext
19013
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19014
(eval $ac_compile) 2>conftest.er1
19016
grep -v '^ *+' conftest.er1 >conftest.err
19018
cat conftest.err >&5
19019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020
(exit $ac_status); } &&
19021
{ ac_try='test -z "$ac_c_werror_flag"
19022
|| test ! -s conftest.err'
19023
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19024
(eval $ac_try) 2>&5
19026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19027
(exit $ac_status); }; } &&
19028
{ ac_try='test -s conftest.$ac_objext'
19029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19030
(eval $ac_try) 2>&5
19032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19033
(exit $ac_status); }; }; then
19036
echo "$as_me: failed program was:" >&5
19037
sed 's/^/| /' conftest.$ac_ext >&5
19039
ac_lo=`expr '(' $ac_mid ')' + 1`
19041
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19044
?*) fits_in_uint=$ac_lo;;
19048
if test "$cross_compiling" = yes; then
19049
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19050
See \`config.log' for more details." >&5
19051
echo "$as_me: error: cannot run test program while cross compiling
19052
See \`config.log' for more details." >&2;}
19053
{ (exit 1); exit 1; }; }
19055
cat >conftest.$ac_ext <<_ACEOF
19058
cat confdefs.h >>conftest.$ac_ext
19059
cat >>conftest.$ac_ext <<_ACEOF
19060
/* end confdefs.h. */
19061
#include <stddef.h>
19062
long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
19063
unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
19065
#include <stdlib.h>
19070
FILE *f = fopen ("conftest.val", "w");
19073
if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
19075
long i = longval ();
19076
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
19078
fprintf (f, "%ld\n", i);
19082
unsigned long i = ulongval ();
19083
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
19085
fprintf (f, "%lu\n", i);
19087
exit (ferror (f) || fclose (f) != 0);
19093
rm -f conftest$ac_exeext
19094
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19095
(eval $ac_link) 2>&5
19097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19099
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19100
(eval $ac_try) 2>&5
19102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103
(exit $ac_status); }; }; then
19104
fits_in_uint=`cat conftest.val`
19106
echo "$as_me: program exited with status $ac_status" >&5
19107
echo "$as_me: failed program was:" >&5
19108
sed 's/^/| /' conftest.$ac_ext >&5
19110
( exit $ac_status )
19113
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19117
if test "$fits_in_uint" = 1; then
19118
cat >conftest.$ac_ext <<_ACEOF
19121
cat confdefs.h >>conftest.$ac_ext
19122
cat >>conftest.$ac_ext <<_ACEOF
19123
/* end confdefs.h. */
19124
#include <stddef.h>
19126
extern unsigned long foo;
19136
rm -f conftest.$ac_objext
19137
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138
(eval $ac_compile) 2>conftest.er1
19140
grep -v '^ *+' conftest.er1 >conftest.err
19142
cat conftest.err >&5
19143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144
(exit $ac_status); } &&
19145
{ ac_try='test -z "$ac_c_werror_flag"
19146
|| test ! -s conftest.err'
19147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148
(eval $ac_try) 2>&5
19150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151
(exit $ac_status); }; } &&
19152
{ ac_try='test -s conftest.$ac_objext'
19153
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154
(eval $ac_try) 2>&5
19156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157
(exit $ac_status); }; }; then
19160
echo "$as_me: failed program was:" >&5
19161
sed 's/^/| /' conftest.$ac_ext >&5
19164
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19166
if test -z "$result"; then
19167
if test "$fits_in_uint" = 1; then
19168
result="$res_hi$res_lo"U
19170
result="$res_hi$res_lo"UL
19173
result='~(size_t)0'
19176
echo "$as_me:$LINENO: result: $result" >&5
19177
echo "${ECHO_T}$result" >&6
19178
if test "$result" != yes; then
19180
cat >>confdefs.h <<_ACEOF
19181
#define SIZE_MAX $result
19190
for ac_header in stdint.h
19192
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19193
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19194
echo "$as_me:$LINENO: checking for $ac_header" >&5
19195
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19196
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20645
if test "${ac_cv_header_minix_config_h+set}" = set; then
20646
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
20647
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
20648
if test "${ac_cv_header_minix_config_h+set}" = set; then
19197
20649
echo $ECHO_N "(cached) $ECHO_C" >&6
19199
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19200
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20651
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
20652
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
19202
20654
# Is the header compilable?
19203
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19204
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20655
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
20656
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
19205
20657
cat >conftest.$ac_ext <<_ACEOF
19206
20658
/* confdefs.h. */
19624
21058
acl_cv_rpath=done
19627
echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
19628
echo "${ECHO_T}$acl_cv_rpath" >&6
21061
{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
21062
echo "${ECHO_T}$acl_cv_rpath" >&6; }
19629
21063
wl="$acl_cv_wl"
19630
libext="$acl_cv_libext"
19631
shlibext="$acl_cv_shlibext"
19632
hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
19633
hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
19634
hardcode_direct="$acl_cv_hardcode_direct"
19635
hardcode_minus_L="$acl_cv_hardcode_minus_L"
19636
# Check whether --enable-rpath or --disable-rpath was given.
21064
acl_libext="$acl_cv_libext"
21065
acl_shlibext="$acl_cv_shlibext"
21066
acl_libname_spec="$acl_cv_libname_spec"
21067
acl_library_names_spec="$acl_cv_library_names_spec"
21068
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
21069
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
21070
acl_hardcode_direct="$acl_cv_hardcode_direct"
21071
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
21072
# Check whether --enable-rpath was given.
19637
21073
if test "${enable_rpath+set}" = set; then
19638
enableval="$enable_rpath"
21074
enableval=$enable_rpath; :
19641
21076
enable_rpath=yes
19652
acl_save_prefix="$prefix"
19653
prefix="$acl_final_prefix"
19654
acl_save_exec_prefix="$exec_prefix"
19655
exec_prefix="$acl_final_exec_prefix"
19657
eval additional_includedir=\"$includedir\"
19658
eval additional_libdir=\"$libdir\"
19660
exec_prefix="$acl_save_exec_prefix"
19661
prefix="$acl_save_prefix"
19664
# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
21082
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
21083
if test -n "$searchpath"; then
21084
acl_save_IFS="${IFS= }"; IFS=":"
21085
for searchdir in $searchpath; do
21086
if test -d "$searchdir"; then
21087
case "$searchdir" in
21088
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
21089
*) searchdir=`cd "$searchdir" && pwd`
21090
case "$searchdir" in
21091
*/lib64 ) acl_libdirstem=lib64 ;;
21096
IFS="$acl_save_IFS"
21101
gl_threads_api=none
21106
if test "$gl_use_threads" != no; then
21107
{ echo "$as_me:$LINENO: checking whether imported symbols can be declared weak" >&5
21108
echo $ECHO_N "checking whether imported symbols can be declared weak... $ECHO_C" >&6; }
21110
cat >conftest.$ac_ext <<_ACEOF
21113
cat confdefs.h >>conftest.$ac_ext
21114
cat >>conftest.$ac_ext <<_ACEOF
21115
/* end confdefs.h. */
21116
extern void xyzzy ();
21126
rm -f conftest.$ac_objext conftest$ac_exeext
21127
if { (ac_try="$ac_link"
21128
case "(($ac_try" in
21129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21130
*) ac_try_echo=$ac_try;;
21132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21133
(eval "$ac_link") 2>conftest.er1
21135
grep -v '^ *+' conftest.er1 >conftest.err
21137
cat conftest.err >&5
21138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139
(exit $ac_status); } && {
21140
test -z "$ac_c_werror_flag" ||
21141
test ! -s conftest.err
21142
} && test -s conftest$ac_exeext &&
21143
$as_test_x conftest$ac_exeext; then
21146
echo "$as_me: failed program was:" >&5
21147
sed 's/^/| /' conftest.$ac_ext >&5
21152
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21153
conftest$ac_exeext conftest.$ac_ext
21154
{ echo "$as_me:$LINENO: result: $gl_have_weak" >&5
21155
echo "${ECHO_T}$gl_have_weak" >&6; }
21156
if test "$gl_use_threads" = yes || test "$gl_use_threads" = posix; then
21157
# On OSF/1, the compiler needs the flag -pthread or -D_REENTRANT so that
21158
# it groks <pthread.h>. It's added above, in gl_LOCK_EARLY_BODY.
21159
if test "${ac_cv_header_pthread_h+set}" = set; then
21160
{ echo "$as_me:$LINENO: checking for pthread.h" >&5
21161
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
21162
if test "${ac_cv_header_pthread_h+set}" = set; then
21163
echo $ECHO_N "(cached) $ECHO_C" >&6
21165
{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21166
echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
21168
# Is the header compilable?
21169
{ echo "$as_me:$LINENO: checking pthread.h usability" >&5
21170
echo $ECHO_N "checking pthread.h usability... $ECHO_C" >&6; }
21171
cat >conftest.$ac_ext <<_ACEOF
21174
cat confdefs.h >>conftest.$ac_ext
21175
cat >>conftest.$ac_ext <<_ACEOF
21176
/* end confdefs.h. */
21177
$ac_includes_default
21178
#include <pthread.h>
21180
rm -f conftest.$ac_objext
21181
if { (ac_try="$ac_compile"
21182
case "(($ac_try" in
21183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21184
*) ac_try_echo=$ac_try;;
21186
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21187
(eval "$ac_compile") 2>conftest.er1
21189
grep -v '^ *+' conftest.er1 >conftest.err
21191
cat conftest.err >&5
21192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21193
(exit $ac_status); } && {
21194
test -z "$ac_c_werror_flag" ||
21195
test ! -s conftest.err
21196
} && test -s conftest.$ac_objext; then
21197
ac_header_compiler=yes
21199
echo "$as_me: failed program was:" >&5
21200
sed 's/^/| /' conftest.$ac_ext >&5
21202
ac_header_compiler=no
21205
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21206
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21207
echo "${ECHO_T}$ac_header_compiler" >&6; }
21209
# Is the header present?
21210
{ echo "$as_me:$LINENO: checking pthread.h presence" >&5
21211
echo $ECHO_N "checking pthread.h presence... $ECHO_C" >&6; }
21212
cat >conftest.$ac_ext <<_ACEOF
21215
cat confdefs.h >>conftest.$ac_ext
21216
cat >>conftest.$ac_ext <<_ACEOF
21217
/* end confdefs.h. */
21218
#include <pthread.h>
21220
if { (ac_try="$ac_cpp conftest.$ac_ext"
21221
case "(($ac_try" in
21222
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21223
*) ac_try_echo=$ac_try;;
21225
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21226
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21228
grep -v '^ *+' conftest.er1 >conftest.err
21230
cat conftest.err >&5
21231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232
(exit $ac_status); } >/dev/null && {
21233
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21234
test ! -s conftest.err
21236
ac_header_preproc=yes
21238
echo "$as_me: failed program was:" >&5
21239
sed 's/^/| /' conftest.$ac_ext >&5
21241
ac_header_preproc=no
21244
rm -f conftest.err conftest.$ac_ext
21245
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21246
echo "${ECHO_T}$ac_header_preproc" >&6; }
21248
# So? What about this header?
21249
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21251
{ echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
21252
echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21253
{ echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
21254
echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
21255
ac_header_preproc=yes
21258
{ echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
21259
echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
21260
{ echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
21261
echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
21262
{ echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
21263
echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
21264
{ echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
21265
echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
21266
{ echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
21267
echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
21268
{ echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
21269
echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
21271
## -------------------------------- ##
21272
## Report this to sitecopy@lyra.org ##
21273
## -------------------------------- ##
21275
) | sed "s/^/$as_me: WARNING: /" >&2
21278
{ echo "$as_me:$LINENO: checking for pthread.h" >&5
21279
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6; }
21280
if test "${ac_cv_header_pthread_h+set}" = set; then
21281
echo $ECHO_N "(cached) $ECHO_C" >&6
21283
ac_cv_header_pthread_h=$ac_header_preproc
21285
{ echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
21286
echo "${ECHO_T}$ac_cv_header_pthread_h" >&6; }
21289
if test $ac_cv_header_pthread_h = yes; then
21290
gl_have_pthread_h=yes
21292
gl_have_pthread_h=no
21296
if test "$gl_have_pthread_h" = yes; then
21297
# Other possible tests:
21298
# -lpthreads (FSU threads, PCthreads)
21301
# Test whether both pthread_mutex_lock and pthread_mutexattr_init exist
21302
# in libc. IRIX 6.5 has the first one in both libc and libpthread, but
21303
# the second one only in libpthread, and lock.c needs it.
21304
cat >conftest.$ac_ext <<_ACEOF
21307
cat confdefs.h >>conftest.$ac_ext
21308
cat >>conftest.$ac_ext <<_ACEOF
21309
/* end confdefs.h. */
21310
#include <pthread.h>
21314
pthread_mutex_lock((pthread_mutex_t*)0);
21315
pthread_mutexattr_init((pthread_mutexattr_t*)0);
21320
rm -f conftest.$ac_objext conftest$ac_exeext
21321
if { (ac_try="$ac_link"
21322
case "(($ac_try" in
21323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324
*) ac_try_echo=$ac_try;;
21326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327
(eval "$ac_link") 2>conftest.er1
21329
grep -v '^ *+' conftest.er1 >conftest.err
21331
cat conftest.err >&5
21332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333
(exit $ac_status); } && {
21334
test -z "$ac_c_werror_flag" ||
21335
test ! -s conftest.err
21336
} && test -s conftest$ac_exeext &&
21337
$as_test_x conftest$ac_exeext; then
21338
gl_have_pthread=yes
21340
echo "$as_me: failed program was:" >&5
21341
sed 's/^/| /' conftest.$ac_ext >&5
21346
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21347
conftest$ac_exeext conftest.$ac_ext
21348
# Test for libpthread by looking for pthread_kill. (Not pthread_self,
21349
# since it is defined as a macro on OSF/1.)
21350
if test -n "$gl_have_pthread"; then
21351
# The program links fine without libpthread. But it may actually
21352
# need to link with libpthread in order to create multiple threads.
21353
{ echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
21354
echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; }
21355
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
21356
echo $ECHO_N "(cached) $ECHO_C" >&6
21358
ac_check_lib_save_LIBS=$LIBS
21359
LIBS="-lpthread $LIBS"
21360
cat >conftest.$ac_ext <<_ACEOF
21363
cat confdefs.h >>conftest.$ac_ext
21364
cat >>conftest.$ac_ext <<_ACEOF
21365
/* end confdefs.h. */
21367
/* Override any GCC internal prototype to avoid an error.
21368
Use char because int might match the return type of a GCC
21369
builtin and then its argument prototype would still apply. */
21373
char pthread_kill ();
21377
return pthread_kill ();
21382
rm -f conftest.$ac_objext conftest$ac_exeext
21383
if { (ac_try="$ac_link"
21384
case "(($ac_try" in
21385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21386
*) ac_try_echo=$ac_try;;
21388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21389
(eval "$ac_link") 2>conftest.er1
21391
grep -v '^ *+' conftest.er1 >conftest.err
21393
cat conftest.err >&5
21394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21395
(exit $ac_status); } && {
21396
test -z "$ac_c_werror_flag" ||
21397
test ! -s conftest.err
21398
} && test -s conftest$ac_exeext &&
21399
$as_test_x conftest$ac_exeext; then
21400
ac_cv_lib_pthread_pthread_kill=yes
21402
echo "$as_me: failed program was:" >&5
21403
sed 's/^/| /' conftest.$ac_ext >&5
21405
ac_cv_lib_pthread_pthread_kill=no
21408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21409
conftest$ac_exeext conftest.$ac_ext
21410
LIBS=$ac_check_lib_save_LIBS
21412
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
21413
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; }
21414
if test $ac_cv_lib_pthread_pthread_kill = yes; then
21415
LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
21416
# On Solaris and HP-UX, most pthread functions exist also in libc.
21417
# Therefore pthread_in_use() needs to actually try to create a
21418
# thread: pthread_create from libc will fail, whereas
21419
# pthread_create will actually create a thread.
21423
cat >>confdefs.h <<\_ACEOF
21424
#define PTHREAD_IN_USE_DETECTION_HARD 1
21432
# Some library is needed. Try libpthread and libc_r.
21433
{ echo "$as_me:$LINENO: checking for pthread_kill in -lpthread" >&5
21434
echo $ECHO_N "checking for pthread_kill in -lpthread... $ECHO_C" >&6; }
21435
if test "${ac_cv_lib_pthread_pthread_kill+set}" = set; then
21436
echo $ECHO_N "(cached) $ECHO_C" >&6
21438
ac_check_lib_save_LIBS=$LIBS
21439
LIBS="-lpthread $LIBS"
21440
cat >conftest.$ac_ext <<_ACEOF
21443
cat confdefs.h >>conftest.$ac_ext
21444
cat >>conftest.$ac_ext <<_ACEOF
21445
/* end confdefs.h. */
21447
/* Override any GCC internal prototype to avoid an error.
21448
Use char because int might match the return type of a GCC
21449
builtin and then its argument prototype would still apply. */
21453
char pthread_kill ();
21457
return pthread_kill ();
21462
rm -f conftest.$ac_objext conftest$ac_exeext
21463
if { (ac_try="$ac_link"
21464
case "(($ac_try" in
21465
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21466
*) ac_try_echo=$ac_try;;
21468
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21469
(eval "$ac_link") 2>conftest.er1
21471
grep -v '^ *+' conftest.er1 >conftest.err
21473
cat conftest.err >&5
21474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475
(exit $ac_status); } && {
21476
test -z "$ac_c_werror_flag" ||
21477
test ! -s conftest.err
21478
} && test -s conftest$ac_exeext &&
21479
$as_test_x conftest$ac_exeext; then
21480
ac_cv_lib_pthread_pthread_kill=yes
21482
echo "$as_me: failed program was:" >&5
21483
sed 's/^/| /' conftest.$ac_ext >&5
21485
ac_cv_lib_pthread_pthread_kill=no
21488
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21489
conftest$ac_exeext conftest.$ac_ext
21490
LIBS=$ac_check_lib_save_LIBS
21492
{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_kill" >&5
21493
echo "${ECHO_T}$ac_cv_lib_pthread_pthread_kill" >&6; }
21494
if test $ac_cv_lib_pthread_pthread_kill = yes; then
21495
gl_have_pthread=yes
21496
LIBTHREAD=-lpthread LTLIBTHREAD=-lpthread
21497
LIBMULTITHREAD=-lpthread LTLIBMULTITHREAD=-lpthread
21500
if test -z "$gl_have_pthread"; then
21502
{ echo "$as_me:$LINENO: checking for pthread_kill in -lc_r" >&5
21503
echo $ECHO_N "checking for pthread_kill in -lc_r... $ECHO_C" >&6; }
21504
if test "${ac_cv_lib_c_r_pthread_kill+set}" = set; then
21505
echo $ECHO_N "(cached) $ECHO_C" >&6
21507
ac_check_lib_save_LIBS=$LIBS
21509
cat >conftest.$ac_ext <<_ACEOF
21512
cat confdefs.h >>conftest.$ac_ext
21513
cat >>conftest.$ac_ext <<_ACEOF
21514
/* end confdefs.h. */
21516
/* Override any GCC internal prototype to avoid an error.
21517
Use char because int might match the return type of a GCC
21518
builtin and then its argument prototype would still apply. */
21522
char pthread_kill ();
21526
return pthread_kill ();
21531
rm -f conftest.$ac_objext conftest$ac_exeext
21532
if { (ac_try="$ac_link"
21533
case "(($ac_try" in
21534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535
*) ac_try_echo=$ac_try;;
21537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538
(eval "$ac_link") 2>conftest.er1
21540
grep -v '^ *+' conftest.er1 >conftest.err
21542
cat conftest.err >&5
21543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544
(exit $ac_status); } && {
21545
test -z "$ac_c_werror_flag" ||
21546
test ! -s conftest.err
21547
} && test -s conftest$ac_exeext &&
21548
$as_test_x conftest$ac_exeext; then
21549
ac_cv_lib_c_r_pthread_kill=yes
21551
echo "$as_me: failed program was:" >&5
21552
sed 's/^/| /' conftest.$ac_ext >&5
21554
ac_cv_lib_c_r_pthread_kill=no
21557
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21558
conftest$ac_exeext conftest.$ac_ext
21559
LIBS=$ac_check_lib_save_LIBS
21561
{ echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_kill" >&5
21562
echo "${ECHO_T}$ac_cv_lib_c_r_pthread_kill" >&6; }
21563
if test $ac_cv_lib_c_r_pthread_kill = yes; then
21564
gl_have_pthread=yes
21565
LIBTHREAD=-lc_r LTLIBTHREAD=-lc_r
21566
LIBMULTITHREAD=-lc_r LTLIBMULTITHREAD=-lc_r
21571
if test -n "$gl_have_pthread"; then
21572
gl_threads_api=posix
21574
cat >>confdefs.h <<\_ACEOF
21575
#define USE_POSIX_THREADS 1
21578
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
21579
if test $gl_have_weak = yes; then
21581
cat >>confdefs.h <<\_ACEOF
21582
#define USE_POSIX_THREADS_WEAK 1
21589
# OSF/1 4.0 and MacOS X 10.1 lack the pthread_rwlock_t type and the
21590
# pthread_rwlock_* functions.
21591
{ echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
21592
echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
21593
if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
21594
echo $ECHO_N "(cached) $ECHO_C" >&6
21596
cat >conftest.$ac_ext <<_ACEOF
21599
cat confdefs.h >>conftest.$ac_ext
21600
cat >>conftest.$ac_ext <<_ACEOF
21601
/* end confdefs.h. */
21602
#include <pthread.h>
21604
typedef pthread_rwlock_t ac__type_new_;
21608
if ((ac__type_new_ *) 0)
21610
if (sizeof (ac__type_new_))
21616
rm -f conftest.$ac_objext
21617
if { (ac_try="$ac_compile"
21618
case "(($ac_try" in
21619
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21620
*) ac_try_echo=$ac_try;;
21622
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21623
(eval "$ac_compile") 2>conftest.er1
21625
grep -v '^ *+' conftest.er1 >conftest.err
21627
cat conftest.err >&5
21628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21629
(exit $ac_status); } && {
21630
test -z "$ac_c_werror_flag" ||
21631
test ! -s conftest.err
21632
} && test -s conftest.$ac_objext; then
21633
ac_cv_type_pthread_rwlock_t=yes
21635
echo "$as_me: failed program was:" >&5
21636
sed 's/^/| /' conftest.$ac_ext >&5
21638
ac_cv_type_pthread_rwlock_t=no
21641
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21643
{ echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
21644
echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
21645
if test $ac_cv_type_pthread_rwlock_t = yes; then
21647
cat >>confdefs.h <<\_ACEOF
21648
#define HAVE_PTHREAD_RWLOCK 1
21653
# glibc defines PTHREAD_MUTEX_RECURSIVE as enum, not as a macro.
21654
cat >conftest.$ac_ext <<_ACEOF
21657
cat confdefs.h >>conftest.$ac_ext
21658
cat >>conftest.$ac_ext <<_ACEOF
21659
/* end confdefs.h. */
21660
#include <pthread.h>
21664
#if __FreeBSD__ == 4
21665
error "No, in FreeBSD 4.0 recursive mutexes actually don't work."
21667
int x = (int)PTHREAD_MUTEX_RECURSIVE;
21674
rm -f conftest.$ac_objext
21675
if { (ac_try="$ac_compile"
21676
case "(($ac_try" in
21677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21678
*) ac_try_echo=$ac_try;;
21680
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21681
(eval "$ac_compile") 2>conftest.er1
21683
grep -v '^ *+' conftest.er1 >conftest.err
21685
cat conftest.err >&5
21686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21687
(exit $ac_status); } && {
21688
test -z "$ac_c_werror_flag" ||
21689
test ! -s conftest.err
21690
} && test -s conftest.$ac_objext; then
21692
cat >>confdefs.h <<\_ACEOF
21693
#define HAVE_PTHREAD_MUTEX_RECURSIVE 1
21697
echo "$as_me: failed program was:" >&5
21698
sed 's/^/| /' conftest.$ac_ext >&5
21703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21707
if test -z "$gl_have_pthread"; then
21708
if test "$gl_use_threads" = yes || test "$gl_use_threads" = solaris; then
21709
gl_have_solaristhread=
21710
gl_save_LIBS="$LIBS"
21711
LIBS="$LIBS -lthread"
21712
cat >conftest.$ac_ext <<_ACEOF
21715
cat confdefs.h >>conftest.$ac_ext
21716
cat >>conftest.$ac_ext <<_ACEOF
21717
/* end confdefs.h. */
21718
#include <thread.h>
21728
rm -f conftest.$ac_objext conftest$ac_exeext
21729
if { (ac_try="$ac_link"
21730
case "(($ac_try" in
21731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732
*) ac_try_echo=$ac_try;;
21734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735
(eval "$ac_link") 2>conftest.er1
21737
grep -v '^ *+' conftest.er1 >conftest.err
21739
cat conftest.err >&5
21740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741
(exit $ac_status); } && {
21742
test -z "$ac_c_werror_flag" ||
21743
test ! -s conftest.err
21744
} && test -s conftest$ac_exeext &&
21745
$as_test_x conftest$ac_exeext; then
21746
gl_have_solaristhread=yes
21748
echo "$as_me: failed program was:" >&5
21749
sed 's/^/| /' conftest.$ac_ext >&5
21754
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21755
conftest$ac_exeext conftest.$ac_ext
21756
LIBS="$gl_save_LIBS"
21757
if test -n "$gl_have_solaristhread"; then
21758
gl_threads_api=solaris
21760
LTLIBTHREAD=-lthread
21761
LIBMULTITHREAD="$LIBTHREAD"
21762
LTLIBMULTITHREAD="$LTLIBTHREAD"
21764
cat >>confdefs.h <<\_ACEOF
21765
#define USE_SOLARIS_THREADS 1
21768
if test $gl_have_weak = yes; then
21770
cat >>confdefs.h <<\_ACEOF
21771
#define USE_SOLARIS_THREADS_WEAK 1
21780
if test "$gl_use_threads" = pth; then
21781
gl_save_CPPFLAGS="$CPPFLAGS"
21787
{ echo "$as_me:$LINENO: checking how to link with libpth" >&5
21788
echo $ECHO_N "checking how to link with libpth... $ECHO_C" >&6; }
21789
if test "${ac_cv_libpth_libs+set}" = set; then
21790
echo $ECHO_N "(cached) $ECHO_C" >&6
21799
acl_save_prefix="$prefix"
21800
prefix="$acl_final_prefix"
21801
acl_save_exec_prefix="$exec_prefix"
21802
exec_prefix="$acl_final_exec_prefix"
21804
eval additional_includedir=\"$includedir\"
21805
eval additional_libdir=\"$libdir\"
21807
exec_prefix="$acl_save_exec_prefix"
21808
prefix="$acl_save_prefix"
21811
# Check whether --with-libpth-prefix was given.
21812
if test "${with_libpth_prefix+set}" = set; then
21813
withval=$with_libpth_prefix;
21814
if test "X$withval" = "Xno"; then
21817
if test "X$withval" = "X"; then
21819
acl_save_prefix="$prefix"
21820
prefix="$acl_final_prefix"
21821
acl_save_exec_prefix="$exec_prefix"
21822
exec_prefix="$acl_final_exec_prefix"
21824
eval additional_includedir=\"$includedir\"
21825
eval additional_libdir=\"$libdir\"
21827
exec_prefix="$acl_save_exec_prefix"
21828
prefix="$acl_save_prefix"
21831
additional_includedir="$withval/include"
21832
additional_libdir="$withval/$acl_libdirstem"
21844
names_already_handled=
21845
names_next_round='pth '
21846
while test -n "$names_next_round"; do
21847
names_this_round="$names_next_round"
21849
for name in $names_this_round; do
21851
for n in $names_already_handled; do
21852
if test "$n" = "$name"; then
21853
already_handled=yes
21857
if test -z "$already_handled"; then
21858
names_already_handled="$names_already_handled $name"
21859
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
21860
eval value=\"\$HAVE_LIB$uppername\"
21861
if test -n "$value"; then
21862
if test "$value" = yes; then
21863
eval value=\"\$LIB$uppername\"
21864
test -z "$value" || LIBPTH="${LIBPTH}${LIBPTH:+ }$value"
21865
eval value=\"\$LTLIB$uppername\"
21866
test -z "$value" || LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$value"
21875
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
21876
if test -n "$acl_shlibext"; then
21877
shrext=".$acl_shlibext" # typically: shrext=.so
21881
if test $use_additional = yes; then
21882
dir="$additional_libdir"
21883
if test -n "$acl_shlibext"; then
21884
if test -f "$dir/$libname$shrext"; then
21886
found_so="$dir/$libname$shrext"
21888
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21889
ver=`(cd "$dir" && \
21890
for f in "$libname$shrext".*; do echo "$f"; done \
21891
| sed -e "s,^$libname$shrext\\\\.,," \
21892
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21893
| sed 1q ) 2>/dev/null`
21894
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21896
found_so="$dir/$libname$shrext.$ver"
21899
eval library_names=\"$acl_library_names_spec\"
21900
for f in $library_names; do
21901
if test -f "$dir/$f"; then
21910
if test "X$found_dir" = "X"; then
21911
if test -f "$dir/$libname.$acl_libext"; then
21913
found_a="$dir/$libname.$acl_libext"
21916
if test "X$found_dir" != "X"; then
21917
if test -f "$dir/$libname.la"; then
21918
found_la="$dir/$libname.la"
21922
if test "X$found_dir" = "X"; then
21923
for x in $LDFLAGS $LTLIBPTH; do
21925
acl_save_prefix="$prefix"
21926
prefix="$acl_final_prefix"
21927
acl_save_exec_prefix="$exec_prefix"
21928
exec_prefix="$acl_final_exec_prefix"
21930
exec_prefix="$acl_save_exec_prefix"
21931
prefix="$acl_save_prefix"
21935
dir=`echo "X$x" | sed -e 's/^X-L//'`
21936
if test -n "$acl_shlibext"; then
21937
if test -f "$dir/$libname$shrext"; then
21939
found_so="$dir/$libname$shrext"
21941
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
21942
ver=`(cd "$dir" && \
21943
for f in "$libname$shrext".*; do echo "$f"; done \
21944
| sed -e "s,^$libname$shrext\\\\.,," \
21945
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
21946
| sed 1q ) 2>/dev/null`
21947
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
21949
found_so="$dir/$libname$shrext.$ver"
21952
eval library_names=\"$acl_library_names_spec\"
21953
for f in $library_names; do
21954
if test -f "$dir/$f"; then
21963
if test "X$found_dir" = "X"; then
21964
if test -f "$dir/$libname.$acl_libext"; then
21966
found_a="$dir/$libname.$acl_libext"
21969
if test "X$found_dir" != "X"; then
21970
if test -f "$dir/$libname.la"; then
21971
found_la="$dir/$libname.la"
21976
if test "X$found_dir" != "X"; then
21981
if test "X$found_dir" != "X"; then
21982
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$found_dir -l$name"
21983
if test "X$found_so" != "X"; then
21984
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
21985
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
21988
for x in $ltrpathdirs; do
21989
if test "X$x" = "X$found_dir"; then
21994
if test -z "$haveit"; then
21995
ltrpathdirs="$ltrpathdirs $found_dir"
21997
if test "$acl_hardcode_direct" = yes; then
21998
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
22000
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
22001
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
22003
for x in $rpathdirs; do
22004
if test "X$x" = "X$found_dir"; then
22009
if test -z "$haveit"; then
22010
rpathdirs="$rpathdirs $found_dir"
22014
for x in $LDFLAGS $LIBPTH; do
22016
acl_save_prefix="$prefix"
22017
prefix="$acl_final_prefix"
22018
acl_save_exec_prefix="$exec_prefix"
22019
exec_prefix="$acl_final_exec_prefix"
22021
exec_prefix="$acl_save_exec_prefix"
22022
prefix="$acl_save_prefix"
22024
if test "X$x" = "X-L$found_dir"; then
22029
if test -z "$haveit"; then
22030
LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir"
22032
if test "$acl_hardcode_minus_L" != no; then
22033
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_so"
22035
LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
22041
if test "X$found_a" != "X"; then
22042
LIBPTH="${LIBPTH}${LIBPTH:+ }$found_a"
22044
LIBPTH="${LIBPTH}${LIBPTH:+ }-L$found_dir -l$name"
22047
additional_includedir=
22048
case "$found_dir" in
22049
*/$acl_libdirstem | */$acl_libdirstem/)
22050
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
22051
LIBPTH_PREFIX="$basedir"
22052
additional_includedir="$basedir/include"
22055
if test "X$additional_includedir" != "X"; then
22056
if test "X$additional_includedir" != "X/usr/include"; then
22058
if test "X$additional_includedir" = "X/usr/local/include"; then
22059
if test -n "$GCC"; then
22061
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
22065
if test -z "$haveit"; then
22066
for x in $CPPFLAGS $INCPTH; do
22068
acl_save_prefix="$prefix"
22069
prefix="$acl_final_prefix"
22070
acl_save_exec_prefix="$exec_prefix"
22071
exec_prefix="$acl_final_exec_prefix"
22073
exec_prefix="$acl_save_exec_prefix"
22074
prefix="$acl_save_prefix"
22076
if test "X$x" = "X-I$additional_includedir"; then
22081
if test -z "$haveit"; then
22082
if test -d "$additional_includedir"; then
22083
INCPTH="${INCPTH}${INCPTH:+ }-I$additional_includedir"
22089
if test -n "$found_la"; then
22090
save_libdir="$libdir"
22091
case "$found_la" in
22092
*/* | *\\*) . "$found_la" ;;
22093
*) . "./$found_la" ;;
22095
libdir="$save_libdir"
22096
for dep in $dependency_libs; do
22099
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
22100
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
22102
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
22103
if test -n "$GCC"; then
22105
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
22109
if test -z "$haveit"; then
22111
for x in $LDFLAGS $LIBPTH; do
22113
acl_save_prefix="$prefix"
22114
prefix="$acl_final_prefix"
22115
acl_save_exec_prefix="$exec_prefix"
22116
exec_prefix="$acl_final_exec_prefix"
22118
exec_prefix="$acl_save_exec_prefix"
22119
prefix="$acl_save_prefix"
22121
if test "X$x" = "X-L$additional_libdir"; then
22126
if test -z "$haveit"; then
22127
if test -d "$additional_libdir"; then
22128
LIBPTH="${LIBPTH}${LIBPTH:+ }-L$additional_libdir"
22132
for x in $LDFLAGS $LTLIBPTH; do
22134
acl_save_prefix="$prefix"
22135
prefix="$acl_final_prefix"
22136
acl_save_exec_prefix="$exec_prefix"
22137
exec_prefix="$acl_final_exec_prefix"
22139
exec_prefix="$acl_save_exec_prefix"
22140
prefix="$acl_save_prefix"
22142
if test "X$x" = "X-L$additional_libdir"; then
22147
if test -z "$haveit"; then
22148
if test -d "$additional_libdir"; then
22149
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-L$additional_libdir"
22156
dir=`echo "X$dep" | sed -e 's/^X-R//'`
22157
if test "$enable_rpath" != no; then
22159
for x in $rpathdirs; do
22160
if test "X$x" = "X$dir"; then
22165
if test -z "$haveit"; then
22166
rpathdirs="$rpathdirs $dir"
22169
for x in $ltrpathdirs; do
22170
if test "X$x" = "X$dir"; then
22175
if test -z "$haveit"; then
22176
ltrpathdirs="$ltrpathdirs $dir"
22181
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
22184
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
22187
LIBPTH="${LIBPTH}${LIBPTH:+ }$dep"
22188
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }$dep"
22194
LIBPTH="${LIBPTH}${LIBPTH:+ }-l$name"
22195
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-l$name"
22201
if test "X$rpathdirs" != "X"; then
22202
if test -n "$acl_hardcode_libdir_separator"; then
22204
for found_dir in $rpathdirs; do
22205
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
22207
acl_save_libdir="$libdir"
22209
eval flag=\"$acl_hardcode_libdir_flag_spec\"
22210
libdir="$acl_save_libdir"
22211
LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
22213
for found_dir in $rpathdirs; do
22214
acl_save_libdir="$libdir"
22215
libdir="$found_dir"
22216
eval flag=\"$acl_hardcode_libdir_flag_spec\"
22217
libdir="$acl_save_libdir"
22218
LIBPTH="${LIBPTH}${LIBPTH:+ }$flag"
22222
if test "X$ltrpathdirs" != "X"; then
22223
for found_dir in $ltrpathdirs; do
22224
LTLIBPTH="${LTLIBPTH}${LTLIBPTH:+ }-R$found_dir"
22228
ac_cv_libpth_libs="$LIBPTH"
22229
ac_cv_libpth_ltlibs="$LTLIBPTH"
22230
ac_cv_libpth_cppflags="$INCPTH"
22231
ac_cv_libpth_prefix="$LIBPTH_PREFIX"
22234
{ echo "$as_me:$LINENO: result: $ac_cv_libpth_libs" >&5
22235
echo "${ECHO_T}$ac_cv_libpth_libs" >&6; }
22236
LIBPTH="$ac_cv_libpth_libs"
22237
LTLIBPTH="$ac_cv_libpth_ltlibs"
22238
INCPTH="$ac_cv_libpth_cppflags"
22239
LIBPTH_PREFIX="$ac_cv_libpth_prefix"
22241
for element in $INCPTH; do
22243
for x in $CPPFLAGS; do
22245
acl_save_prefix="$prefix"
22246
prefix="$acl_final_prefix"
22247
acl_save_exec_prefix="$exec_prefix"
22248
exec_prefix="$acl_final_exec_prefix"
22250
exec_prefix="$acl_save_exec_prefix"
22251
prefix="$acl_save_prefix"
22253
if test "X$x" = "X$element"; then
22258
if test -z "$haveit"; then
22259
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
22271
gl_save_LIBS="$LIBS"
22273
cat >conftest.$ac_ext <<_ACEOF
22276
cat confdefs.h >>conftest.$ac_ext
22277
cat >>conftest.$ac_ext <<_ACEOF
22278
/* end confdefs.h. */
22288
rm -f conftest.$ac_objext conftest$ac_exeext
22289
if { (ac_try="$ac_link"
22290
case "(($ac_try" in
22291
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292
*) ac_try_echo=$ac_try;;
22294
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295
(eval "$ac_link") 2>conftest.er1
22297
grep -v '^ *+' conftest.er1 >conftest.err
22299
cat conftest.err >&5
22300
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301
(exit $ac_status); } && {
22302
test -z "$ac_c_werror_flag" ||
22303
test ! -s conftest.err
22304
} && test -s conftest$ac_exeext &&
22305
$as_test_x conftest$ac_exeext; then
22308
echo "$as_me: failed program was:" >&5
22309
sed 's/^/| /' conftest.$ac_ext >&5
22314
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22315
conftest$ac_exeext conftest.$ac_ext
22316
LIBS="$gl_save_LIBS"
22317
if test -n "$gl_have_pth"; then
22319
LIBTHREAD="$LIBPTH"
22320
LTLIBTHREAD="$LTLIBPTH"
22321
LIBMULTITHREAD="$LIBTHREAD"
22322
LTLIBMULTITHREAD="$LTLIBTHREAD"
22324
cat >>confdefs.h <<\_ACEOF
22325
#define USE_PTH_THREADS 1
22328
if test -n "$LIBMULTITHREAD" || test -n "$LTLIBMULTITHREAD"; then
22329
if test $gl_have_weak = yes; then
22331
cat >>confdefs.h <<\_ACEOF
22332
#define USE_PTH_THREADS_WEAK 1
22340
CPPFLAGS="$gl_save_CPPFLAGS"
22343
if test -z "$gl_have_pthread"; then
22344
if test "$gl_use_threads" = yes || test "$gl_use_threads" = win32; then
22345
if { case "$host_os" in
22350
gl_threads_api=win32
22352
cat >>confdefs.h <<\_ACEOF
22353
#define USE_WIN32_THREADS 1
22360
{ echo "$as_me:$LINENO: checking for multithread API to use" >&5
22361
echo $ECHO_N "checking for multithread API to use... $ECHO_C" >&6; }
22362
{ echo "$as_me:$LINENO: result: $gl_threads_api" >&5
22363
echo "${ECHO_T}$gl_threads_api" >&6; }
22386
acl_save_prefix="$prefix"
22387
prefix="$acl_final_prefix"
22388
acl_save_exec_prefix="$exec_prefix"
22389
exec_prefix="$acl_final_exec_prefix"
22391
eval additional_includedir=\"$includedir\"
22392
eval additional_libdir=\"$libdir\"
22394
exec_prefix="$acl_save_exec_prefix"
22395
prefix="$acl_save_prefix"
22398
# Check whether --with-libiconv-prefix was given.
19665
22399
if test "${with_libiconv_prefix+set}" = set; then
19666
withval="$with_libiconv_prefix"
22400
withval=$with_libiconv_prefix;
19668
22401
if test "X$withval" = "Xno"; then
19669
22402
use_additional=no
21185
23735
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
21186
23736
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
21188
echo "$as_me:$LINENO: result: $ac_prog_version" >&5
21189
echo "${ECHO_T}$ac_prog_version" >&6
23738
{ echo "$as_me:$LINENO: result: $ac_prog_version" >&5
23739
echo "${ECHO_T}$ac_prog_version" >&6; }
21191
23741
if test $ac_verc_fail = yes; then
21210
echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
21211
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
21212
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
21213
echo $ECHO_N "(cached) $ECHO_C" >&6
21215
gt_save_CPPFLAGS="$CPPFLAGS"
21216
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
21217
gt_save_LIBS="$LIBS"
21218
LIBS="$LIBS -framework CoreFoundation"
21219
cat >conftest.$ac_ext <<_ACEOF
21222
cat confdefs.h >>conftest.$ac_ext
21223
cat >>conftest.$ac_ext <<_ACEOF
21224
/* end confdefs.h. */
21225
#include <CFPreferences.h>
21229
CFPreferencesCopyAppValue(NULL, NULL)
21234
rm -f conftest.$ac_objext conftest$ac_exeext
21235
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21236
(eval $ac_link) 2>conftest.er1
21238
grep -v '^ *+' conftest.er1 >conftest.err
21240
cat conftest.err >&5
21241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242
(exit $ac_status); } &&
21243
{ ac_try='test -z "$ac_c_werror_flag"
21244
|| test ! -s conftest.err'
21245
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246
(eval $ac_try) 2>&5
21248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249
(exit $ac_status); }; } &&
21250
{ ac_try='test -s conftest$ac_exeext'
21251
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252
(eval $ac_try) 2>&5
21254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255
(exit $ac_status); }; }; then
21256
gt_cv_func_CFPreferencesCopyAppValue=yes
21258
echo "$as_me: failed program was:" >&5
21259
sed 's/^/| /' conftest.$ac_ext >&5
21261
gt_cv_func_CFPreferencesCopyAppValue=no
21263
rm -f conftest.err conftest.$ac_objext \
21264
conftest$ac_exeext conftest.$ac_ext
21265
CPPFLAGS="$gt_save_CPPFLAGS"
21266
LIBS="$gt_save_LIBS"
21268
echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
21269
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
21270
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
21272
cat >>confdefs.h <<\_ACEOF
21273
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
21277
echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
21278
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
21279
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
21280
echo $ECHO_N "(cached) $ECHO_C" >&6
21282
gt_save_CPPFLAGS="$CPPFLAGS"
21283
CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
21284
gt_save_LIBS="$LIBS"
21285
LIBS="$LIBS -framework CoreFoundation"
21286
cat >conftest.$ac_ext <<_ACEOF
21289
cat confdefs.h >>conftest.$ac_ext
21290
cat >>conftest.$ac_ext <<_ACEOF
21291
/* end confdefs.h. */
21292
#include <CFLocale.h>
21296
CFLocaleCopyCurrent();
21301
rm -f conftest.$ac_objext conftest$ac_exeext
21302
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21303
(eval $ac_link) 2>conftest.er1
21305
grep -v '^ *+' conftest.er1 >conftest.err
21307
cat conftest.err >&5
21308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309
(exit $ac_status); } &&
21310
{ ac_try='test -z "$ac_c_werror_flag"
21311
|| test ! -s conftest.err'
21312
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313
(eval $ac_try) 2>&5
21315
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316
(exit $ac_status); }; } &&
21317
{ ac_try='test -s conftest$ac_exeext'
21318
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319
(eval $ac_try) 2>&5
21321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322
(exit $ac_status); }; }; then
21323
gt_cv_func_CFLocaleCopyCurrent=yes
21325
echo "$as_me: failed program was:" >&5
21326
sed 's/^/| /' conftest.$ac_ext >&5
21328
gt_cv_func_CFLocaleCopyCurrent=no
21330
rm -f conftest.err conftest.$ac_objext \
21331
conftest$ac_exeext conftest.$ac_ext
21332
CPPFLAGS="$gt_save_CPPFLAGS"
21333
LIBS="$gt_save_LIBS"
21335
echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
21336
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
21337
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
21339
cat >>confdefs.h <<\_ACEOF
21340
#define HAVE_CFLOCALECOPYCURRENT 1
21345
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
21346
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
21352
echo "$as_me:$LINENO: checking whether NLS is requested" >&5
21353
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
21354
# Check whether --enable-nls or --disable-nls was given.
21355
if test "${enable_nls+set}" = set; then
21356
enableval="$enable_nls"
21361
echo "$as_me:$LINENO: result: $USE_NLS" >&5
21362
echo "${ECHO_T}$USE_NLS" >&6
23746
{ echo "$as_me:$LINENO: checking for long long int" >&5
23747
echo $ECHO_N "checking for long long int... $ECHO_C" >&6; }
23748
if test "${ac_cv_type_long_long_int+set}" = set; then
23749
echo $ECHO_N "(cached) $ECHO_C" >&6
23751
cat >conftest.$ac_ext <<_ACEOF
23755
cat confdefs.h >>conftest.$ac_ext
23756
cat >>conftest.$ac_ext <<_ACEOF
23757
/* end confdefs.h. */
23758
/* Test preprocessor. */
23759
#if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
23760
error in preprocessor;
23762
#if ! (18446744073709551615ULL <= -1ull)
23763
error in preprocessor;
23765
/* Test literals. */
23766
long long int ll = 9223372036854775807ll;
23767
long long int nll = -9223372036854775807LL;
23768
unsigned long long int ull = 18446744073709551615ULL;
23769
/* Test constant expressions. */
23770
typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
23772
typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
23778
/* Test availability of runtime routines for shift and division. */
23779
long long int llmax = 9223372036854775807ll;
23780
unsigned long long int ullmax = 18446744073709551615ull;
23781
return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
23782
| (llmax / ll) | (llmax % ll)
23783
| (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
23784
| (ullmax / ull) | (ullmax % ull));
23790
rm -f conftest.$ac_objext conftest$ac_exeext
23791
if { (ac_try="$ac_link"
23792
case "(($ac_try" in
23793
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23794
*) ac_try_echo=$ac_try;;
23796
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23797
(eval "$ac_link") 2>conftest.er1
23799
grep -v '^ *+' conftest.er1 >conftest.err
23801
cat conftest.err >&5
23802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23803
(exit $ac_status); } && {
23804
test -z "$ac_c_werror_flag" ||
23805
test ! -s conftest.err
23806
} && test -s conftest$ac_exeext &&
23807
$as_test_x conftest$ac_exeext; then
23808
if test "$cross_compiling" = yes; then
23809
ac_cv_type_long_long_int=yes
23811
cat >conftest.$ac_ext <<_ACEOF
23814
cat confdefs.h >>conftest.$ac_ext
23815
cat >>conftest.$ac_ext <<_ACEOF
23816
/* end confdefs.h. */
23817
#include <limits.h>
23820
(1LL << (sizeof (long long int) * CHAR_BIT - 2))
23821
# define LLONG_MAX (HALF - 1 + HALF)
23826
long long int n = 1;
23830
long long int m = n << i;
23833
if (LLONG_MAX / 2 < m)
23841
rm -f conftest$ac_exeext
23842
if { (ac_try="$ac_link"
23843
case "(($ac_try" in
23844
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23845
*) ac_try_echo=$ac_try;;
23847
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23848
(eval "$ac_link") 2>&5
23850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23852
{ (case "(($ac_try" in
23853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23854
*) ac_try_echo=$ac_try;;
23856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23857
(eval "$ac_try") 2>&5
23859
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860
(exit $ac_status); }; }; then
23861
ac_cv_type_long_long_int=yes
23863
echo "$as_me: program exited with status $ac_status" >&5
23864
echo "$as_me: failed program was:" >&5
23865
sed 's/^/| /' conftest.$ac_ext >&5
23867
( exit $ac_status )
23868
ac_cv_type_long_long_int=no
23870
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23875
echo "$as_me: failed program was:" >&5
23876
sed 's/^/| /' conftest.$ac_ext >&5
23878
ac_cv_type_long_long_int=no
23881
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23882
conftest$ac_exeext conftest.$ac_ext
23884
{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
23885
echo "${ECHO_T}$ac_cv_type_long_long_int" >&6; }
23886
if test $ac_cv_type_long_long_int = yes; then
23888
cat >>confdefs.h <<\_ACEOF
23889
#define HAVE_LONG_LONG_INT 1
23895
{ echo "$as_me:$LINENO: checking for wchar_t" >&5
23896
echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23897
if test "${gt_cv_c_wchar_t+set}" = set; then
23898
echo $ECHO_N "(cached) $ECHO_C" >&6
23900
cat >conftest.$ac_ext <<_ACEOF
23903
cat confdefs.h >>conftest.$ac_ext
23904
cat >>conftest.$ac_ext <<_ACEOF
23905
/* end confdefs.h. */
23906
#include <stddef.h>
23907
wchar_t foo = (wchar_t)'\0';
23916
rm -f conftest.$ac_objext
23917
if { (ac_try="$ac_compile"
23918
case "(($ac_try" in
23919
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23920
*) ac_try_echo=$ac_try;;
23922
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923
(eval "$ac_compile") 2>conftest.er1
23925
grep -v '^ *+' conftest.er1 >conftest.err
23927
cat conftest.err >&5
23928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929
(exit $ac_status); } && {
23930
test -z "$ac_c_werror_flag" ||
23931
test ! -s conftest.err
23932
} && test -s conftest.$ac_objext; then
23933
gt_cv_c_wchar_t=yes
23935
echo "$as_me: failed program was:" >&5
23936
sed 's/^/| /' conftest.$ac_ext >&5
23941
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23943
{ echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
23944
echo "${ECHO_T}$gt_cv_c_wchar_t" >&6; }
23945
if test $gt_cv_c_wchar_t = yes; then
23947
cat >>confdefs.h <<\_ACEOF
23948
#define HAVE_WCHAR_T 1
23954
{ echo "$as_me:$LINENO: checking for wint_t" >&5
23955
echo $ECHO_N "checking for wint_t... $ECHO_C" >&6; }
23956
if test "${gt_cv_c_wint_t+set}" = set; then
23957
echo $ECHO_N "(cached) $ECHO_C" >&6
23959
cat >conftest.$ac_ext <<_ACEOF
23962
cat confdefs.h >>conftest.$ac_ext
23963
cat >>conftest.$ac_ext <<_ACEOF
23964
/* end confdefs.h. */
23966
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
23968
BSD/OS 4.0.1 has a bug: <stddef.h>, <stdio.h> and <time.h> must be included
23969
before <wchar.h>. */
23970
#include <stddef.h>
23974
wint_t foo = (wchar_t)'\0';
23983
rm -f conftest.$ac_objext
23984
if { (ac_try="$ac_compile"
23985
case "(($ac_try" in
23986
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23987
*) ac_try_echo=$ac_try;;
23989
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23990
(eval "$ac_compile") 2>conftest.er1
23992
grep -v '^ *+' conftest.er1 >conftest.err
23994
cat conftest.err >&5
23995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23996
(exit $ac_status); } && {
23997
test -z "$ac_c_werror_flag" ||
23998
test ! -s conftest.err
23999
} && test -s conftest.$ac_objext; then
24002
echo "$as_me: failed program was:" >&5
24003
sed 's/^/| /' conftest.$ac_ext >&5
24008
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24010
{ echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
24011
echo "${ECHO_T}$gt_cv_c_wint_t" >&6; }
24012
if test $gt_cv_c_wint_t = yes; then
24014
cat >>confdefs.h <<\_ACEOF
24015
#define HAVE_WINT_T 1
24023
{ echo "$as_me:$LINENO: checking for intmax_t" >&5
24024
echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6; }
24025
if test "${gt_cv_c_intmax_t+set}" = set; then
24026
echo $ECHO_N "(cached) $ECHO_C" >&6
24028
cat >conftest.$ac_ext <<_ACEOF
24031
cat confdefs.h >>conftest.$ac_ext
24032
cat >>conftest.$ac_ext <<_ACEOF
24033
/* end confdefs.h. */
24035
#include <stddef.h>
24036
#include <stdlib.h>
24037
#if HAVE_STDINT_H_WITH_UINTMAX
24038
#include <stdint.h>
24040
#if HAVE_INTTYPES_H_WITH_UINTMAX
24041
#include <inttypes.h>
24053
rm -f conftest.$ac_objext
24054
if { (ac_try="$ac_compile"
24055
case "(($ac_try" in
24056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24057
*) ac_try_echo=$ac_try;;
24059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24060
(eval "$ac_compile") 2>conftest.er1
24062
grep -v '^ *+' conftest.er1 >conftest.err
24064
cat conftest.err >&5
24065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24066
(exit $ac_status); } && {
24067
test -z "$ac_c_werror_flag" ||
24068
test ! -s conftest.err
24069
} && test -s conftest.$ac_objext; then
24070
gt_cv_c_intmax_t=yes
24072
echo "$as_me: failed program was:" >&5
24073
sed 's/^/| /' conftest.$ac_ext >&5
24075
gt_cv_c_intmax_t=no
24078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24080
{ echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
24081
echo "${ECHO_T}$gt_cv_c_intmax_t" >&6; }
24082
if test $gt_cv_c_intmax_t = yes; then
24084
cat >>confdefs.h <<\_ACEOF
24085
#define HAVE_INTMAX_T 1
24092
{ echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
24093
echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6; }
24094
if test "${gt_cv_func_printf_posix+set}" = set; then
24095
echo $ECHO_N "(cached) $ECHO_C" >&6
24098
if test "$cross_compiling" = yes; then
24100
cat >conftest.$ac_ext <<_ACEOF
24103
cat confdefs.h >>conftest.$ac_ext
24104
cat >>conftest.$ac_ext <<_ACEOF
24105
/* end confdefs.h. */
24107
#if defined __NetBSD__ || defined __BEOS__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
24112
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24113
$EGREP "notposix" >/dev/null 2>&1; then
24114
gt_cv_func_printf_posix="guessing no"
24116
gt_cv_func_printf_posix="guessing yes"
24122
cat >conftest.$ac_ext <<_ACEOF
24125
cat confdefs.h >>conftest.$ac_ext
24126
cat >>conftest.$ac_ext <<_ACEOF
24127
/* end confdefs.h. */
24130
#include <string.h>
24131
/* The string "%2$d %1$d", with dollar characters protected from the shell's
24132
dollar expansion (possibly an autoconf bug). */
24133
static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
24134
static char buf[100];
24137
sprintf (buf, format, 33, 55);
24138
return (strcmp (buf, "55 33") != 0);
24141
rm -f conftest$ac_exeext
24142
if { (ac_try="$ac_link"
24143
case "(($ac_try" in
24144
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24145
*) ac_try_echo=$ac_try;;
24147
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24148
(eval "$ac_link") 2>&5
24150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24151
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24152
{ (case "(($ac_try" in
24153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24154
*) ac_try_echo=$ac_try;;
24156
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24157
(eval "$ac_try") 2>&5
24159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160
(exit $ac_status); }; }; then
24161
gt_cv_func_printf_posix=yes
24163
echo "$as_me: program exited with status $ac_status" >&5
24164
echo "$as_me: failed program was:" >&5
24165
sed 's/^/| /' conftest.$ac_ext >&5
24167
( exit $ac_status )
24168
gt_cv_func_printf_posix=no
24170
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24176
{ echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
24177
echo "${ECHO_T}$gt_cv_func_printf_posix" >&6; }
24178
case $gt_cv_func_printf_posix in
24181
cat >>confdefs.h <<\_ACEOF
24182
#define HAVE_POSIX_PRINTF 1
24189
{ echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
24190
echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6; }
24191
if test "${ac_cv_gnu_library_2_1+set}" = set; then
24192
echo $ECHO_N "(cached) $ECHO_C" >&6
24194
cat >conftest.$ac_ext <<_ACEOF
24197
cat confdefs.h >>conftest.$ac_ext
24198
cat >>conftest.$ac_ext <<_ACEOF
24199
/* end confdefs.h. */
24201
#include <features.h>
24202
#ifdef __GNU_LIBRARY__
24203
#if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
24209
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24210
$EGREP "Lucky GNU user" >/dev/null 2>&1; then
24211
ac_cv_gnu_library_2_1=yes
24213
ac_cv_gnu_library_2_1=no
24220
{ echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
24221
echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6; }
24223
GLIBC21="$ac_cv_gnu_library_2_1"
24228
for ac_header in stdint.h
24230
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
24231
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24232
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24233
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24234
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24235
echo $ECHO_N "(cached) $ECHO_C" >&6
24237
ac_res=`eval echo '${'$as_ac_Header'}'`
24238
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24239
echo "${ECHO_T}$ac_res" >&6; }
24241
# Is the header compilable?
24242
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
24243
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
24244
cat >conftest.$ac_ext <<_ACEOF
24247
cat confdefs.h >>conftest.$ac_ext
24248
cat >>conftest.$ac_ext <<_ACEOF
24249
/* end confdefs.h. */
24250
$ac_includes_default
24251
#include <$ac_header>
24253
rm -f conftest.$ac_objext
24254
if { (ac_try="$ac_compile"
24255
case "(($ac_try" in
24256
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24257
*) ac_try_echo=$ac_try;;
24259
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24260
(eval "$ac_compile") 2>conftest.er1
24262
grep -v '^ *+' conftest.er1 >conftest.err
24264
cat conftest.err >&5
24265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266
(exit $ac_status); } && {
24267
test -z "$ac_c_werror_flag" ||
24268
test ! -s conftest.err
24269
} && test -s conftest.$ac_objext; then
24270
ac_header_compiler=yes
24272
echo "$as_me: failed program was:" >&5
24273
sed 's/^/| /' conftest.$ac_ext >&5
24275
ac_header_compiler=no
24278
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24280
echo "${ECHO_T}$ac_header_compiler" >&6; }
24282
# Is the header present?
24283
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
24284
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
24285
cat >conftest.$ac_ext <<_ACEOF
24288
cat confdefs.h >>conftest.$ac_ext
24289
cat >>conftest.$ac_ext <<_ACEOF
24290
/* end confdefs.h. */
24291
#include <$ac_header>
24293
if { (ac_try="$ac_cpp conftest.$ac_ext"
24294
case "(($ac_try" in
24295
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296
*) ac_try_echo=$ac_try;;
24298
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
24301
grep -v '^ *+' conftest.er1 >conftest.err
24303
cat conftest.err >&5
24304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305
(exit $ac_status); } >/dev/null && {
24306
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
24307
test ! -s conftest.err
24309
ac_header_preproc=yes
24311
echo "$as_me: failed program was:" >&5
24312
sed 's/^/| /' conftest.$ac_ext >&5
24314
ac_header_preproc=no
24317
rm -f conftest.err conftest.$ac_ext
24318
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24319
echo "${ECHO_T}$ac_header_preproc" >&6; }
24321
# So? What about this header?
24322
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
24324
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
24325
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
24326
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
24327
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
24328
ac_header_preproc=yes
24331
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
24332
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
24333
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
24334
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
24335
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
24336
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
24337
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
24338
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
24339
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
24340
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
24341
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
24342
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
24344
## -------------------------------- ##
24345
## Report this to sitecopy@lyra.org ##
24346
## -------------------------------- ##
24348
) | sed "s/^/$as_me: WARNING: /" >&2
24351
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
24352
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
24353
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
24354
echo $ECHO_N "(cached) $ECHO_C" >&6
24356
eval "$as_ac_Header=\$ac_header_preproc"
24358
ac_res=`eval echo '${'$as_ac_Header'}'`
24359
{ echo "$as_me:$LINENO: result: $ac_res" >&5
24360
echo "${ECHO_T}$ac_res" >&6; }
24363
if test `eval echo '${'$as_ac_Header'}'` = yes; then
24364
cat >>confdefs.h <<_ACEOF
24365
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
24372
{ echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
24373
echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6; }
24374
if test "${gl_cv_size_max+set}" = set; then
24375
echo $ECHO_N "(cached) $ECHO_C" >&6
24379
cat >conftest.$ac_ext <<_ACEOF
24382
cat confdefs.h >>conftest.$ac_ext
24383
cat >>conftest.$ac_ext <<_ACEOF
24384
/* end confdefs.h. */
24386
#include <limits.h>
24388
#include <stdint.h>
24395
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24396
$EGREP "Found it" >/dev/null 2>&1; then
24401
if test -z "$gl_cv_size_max"; then
24402
if test "$cross_compiling" = yes; then
24403
# Depending upon the size, compute the lo and hi bounds.
24404
cat >conftest.$ac_ext <<_ACEOF
24407
cat confdefs.h >>conftest.$ac_ext
24408
cat >>conftest.$ac_ext <<_ACEOF
24409
/* end confdefs.h. */
24410
#include <stddef.h>
24411
#include <limits.h>
24415
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= 0)];
24422
rm -f conftest.$ac_objext
24423
if { (ac_try="$ac_compile"
24424
case "(($ac_try" in
24425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24426
*) ac_try_echo=$ac_try;;
24428
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24429
(eval "$ac_compile") 2>conftest.er1
24431
grep -v '^ *+' conftest.er1 >conftest.err
24433
cat conftest.err >&5
24434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435
(exit $ac_status); } && {
24436
test -z "$ac_c_werror_flag" ||
24437
test ! -s conftest.err
24438
} && test -s conftest.$ac_objext; then
24441
cat >conftest.$ac_ext <<_ACEOF
24444
cat confdefs.h >>conftest.$ac_ext
24445
cat >>conftest.$ac_ext <<_ACEOF
24446
/* end confdefs.h. */
24447
#include <stddef.h>
24448
#include <limits.h>
24452
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
24459
rm -f conftest.$ac_objext
24460
if { (ac_try="$ac_compile"
24461
case "(($ac_try" in
24462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24463
*) ac_try_echo=$ac_try;;
24465
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24466
(eval "$ac_compile") 2>conftest.er1
24468
grep -v '^ *+' conftest.er1 >conftest.err
24470
cat conftest.err >&5
24471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472
(exit $ac_status); } && {
24473
test -z "$ac_c_werror_flag" ||
24474
test ! -s conftest.err
24475
} && test -s conftest.$ac_objext; then
24476
ac_hi=$ac_mid; break
24478
echo "$as_me: failed program was:" >&5
24479
sed 's/^/| /' conftest.$ac_ext >&5
24481
ac_lo=`expr $ac_mid + 1`
24482
if test $ac_lo -le $ac_mid; then
24486
ac_mid=`expr 2 '*' $ac_mid + 1`
24489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492
echo "$as_me: failed program was:" >&5
24493
sed 's/^/| /' conftest.$ac_ext >&5
24495
cat >conftest.$ac_ext <<_ACEOF
24498
cat confdefs.h >>conftest.$ac_ext
24499
cat >>conftest.$ac_ext <<_ACEOF
24500
/* end confdefs.h. */
24501
#include <stddef.h>
24502
#include <limits.h>
24506
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) < 0)];
24513
rm -f conftest.$ac_objext
24514
if { (ac_try="$ac_compile"
24515
case "(($ac_try" in
24516
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24517
*) ac_try_echo=$ac_try;;
24519
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24520
(eval "$ac_compile") 2>conftest.er1
24522
grep -v '^ *+' conftest.er1 >conftest.err
24524
cat conftest.err >&5
24525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526
(exit $ac_status); } && {
24527
test -z "$ac_c_werror_flag" ||
24528
test ! -s conftest.err
24529
} && test -s conftest.$ac_objext; then
24532
cat >conftest.$ac_ext <<_ACEOF
24535
cat confdefs.h >>conftest.$ac_ext
24536
cat >>conftest.$ac_ext <<_ACEOF
24537
/* end confdefs.h. */
24538
#include <stddef.h>
24539
#include <limits.h>
24543
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) >= $ac_mid)];
24550
rm -f conftest.$ac_objext
24551
if { (ac_try="$ac_compile"
24552
case "(($ac_try" in
24553
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24554
*) ac_try_echo=$ac_try;;
24556
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24557
(eval "$ac_compile") 2>conftest.er1
24559
grep -v '^ *+' conftest.er1 >conftest.err
24561
cat conftest.err >&5
24562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563
(exit $ac_status); } && {
24564
test -z "$ac_c_werror_flag" ||
24565
test ! -s conftest.err
24566
} && test -s conftest.$ac_objext; then
24567
ac_lo=$ac_mid; break
24569
echo "$as_me: failed program was:" >&5
24570
sed 's/^/| /' conftest.$ac_ext >&5
24572
ac_hi=`expr '(' $ac_mid ')' - 1`
24573
if test $ac_mid -le $ac_hi; then
24577
ac_mid=`expr 2 '*' $ac_mid`
24580
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24583
echo "$as_me: failed program was:" >&5
24584
sed 's/^/| /' conftest.$ac_ext >&5
24589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24592
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24593
# Binary search between lo and hi bounds.
24594
while test "x$ac_lo" != "x$ac_hi"; do
24595
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24596
cat >conftest.$ac_ext <<_ACEOF
24599
cat confdefs.h >>conftest.$ac_ext
24600
cat >>conftest.$ac_ext <<_ACEOF
24601
/* end confdefs.h. */
24602
#include <stddef.h>
24603
#include <limits.h>
24607
static int test_array [1 - 2 * !((sizeof (size_t) * CHAR_BIT - 1) <= $ac_mid)];
24614
rm -f conftest.$ac_objext
24615
if { (ac_try="$ac_compile"
24616
case "(($ac_try" in
24617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24618
*) ac_try_echo=$ac_try;;
24620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24621
(eval "$ac_compile") 2>conftest.er1
24623
grep -v '^ *+' conftest.er1 >conftest.err
24625
cat conftest.err >&5
24626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24627
(exit $ac_status); } && {
24628
test -z "$ac_c_werror_flag" ||
24629
test ! -s conftest.err
24630
} && test -s conftest.$ac_objext; then
24633
echo "$as_me: failed program was:" >&5
24634
sed 's/^/| /' conftest.$ac_ext >&5
24636
ac_lo=`expr '(' $ac_mid ')' + 1`
24639
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24642
?*) size_t_bits_minus_1=$ac_lo;;
24643
'') size_t_bits_minus_1= ;;
24646
cat >conftest.$ac_ext <<_ACEOF
24649
cat confdefs.h >>conftest.$ac_ext
24650
cat >>conftest.$ac_ext <<_ACEOF
24651
/* end confdefs.h. */
24652
#include <stddef.h>
24653
#include <limits.h>
24654
static long int longval () { return sizeof (size_t) * CHAR_BIT - 1; }
24655
static unsigned long int ulongval () { return sizeof (size_t) * CHAR_BIT - 1; }
24657
#include <stdlib.h>
24662
FILE *f = fopen ("conftest.val", "w");
24665
if ((sizeof (size_t) * CHAR_BIT - 1) < 0)
24667
long int i = longval ();
24668
if (i != (sizeof (size_t) * CHAR_BIT - 1))
24670
fprintf (f, "%ld\n", i);
24674
unsigned long int i = ulongval ();
24675
if (i != (sizeof (size_t) * CHAR_BIT - 1))
24677
fprintf (f, "%lu\n", i);
24679
return ferror (f) || fclose (f) != 0;
24685
rm -f conftest$ac_exeext
24686
if { (ac_try="$ac_link"
24687
case "(($ac_try" in
24688
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24689
*) ac_try_echo=$ac_try;;
24691
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24692
(eval "$ac_link") 2>&5
24694
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24696
{ (case "(($ac_try" in
24697
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24698
*) ac_try_echo=$ac_try;;
24700
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24701
(eval "$ac_try") 2>&5
24703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704
(exit $ac_status); }; }; then
24705
size_t_bits_minus_1=`cat conftest.val`
24707
echo "$as_me: program exited with status $ac_status" >&5
24708
echo "$as_me: failed program was:" >&5
24709
sed 's/^/| /' conftest.$ac_ext >&5
24711
( exit $ac_status )
24712
size_t_bits_minus_1=
24714
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24717
if test "$cross_compiling" = yes; then
24718
# Depending upon the size, compute the lo and hi bounds.
24719
cat >conftest.$ac_ext <<_ACEOF
24722
cat confdefs.h >>conftest.$ac_ext
24723
cat >>conftest.$ac_ext <<_ACEOF
24724
/* end confdefs.h. */
24725
#include <stddef.h>
24729
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
24736
rm -f conftest.$ac_objext
24737
if { (ac_try="$ac_compile"
24738
case "(($ac_try" in
24739
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24740
*) ac_try_echo=$ac_try;;
24742
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24743
(eval "$ac_compile") 2>conftest.er1
24745
grep -v '^ *+' conftest.er1 >conftest.err
24747
cat conftest.err >&5
24748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749
(exit $ac_status); } && {
24750
test -z "$ac_c_werror_flag" ||
24751
test ! -s conftest.err
24752
} && test -s conftest.$ac_objext; then
24755
cat >conftest.$ac_ext <<_ACEOF
24758
cat confdefs.h >>conftest.$ac_ext
24759
cat >>conftest.$ac_ext <<_ACEOF
24760
/* end confdefs.h. */
24761
#include <stddef.h>
24765
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
24772
rm -f conftest.$ac_objext
24773
if { (ac_try="$ac_compile"
24774
case "(($ac_try" in
24775
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24776
*) ac_try_echo=$ac_try;;
24778
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24779
(eval "$ac_compile") 2>conftest.er1
24781
grep -v '^ *+' conftest.er1 >conftest.err
24783
cat conftest.err >&5
24784
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785
(exit $ac_status); } && {
24786
test -z "$ac_c_werror_flag" ||
24787
test ! -s conftest.err
24788
} && test -s conftest.$ac_objext; then
24789
ac_hi=$ac_mid; break
24791
echo "$as_me: failed program was:" >&5
24792
sed 's/^/| /' conftest.$ac_ext >&5
24794
ac_lo=`expr $ac_mid + 1`
24795
if test $ac_lo -le $ac_mid; then
24799
ac_mid=`expr 2 '*' $ac_mid + 1`
24802
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24805
echo "$as_me: failed program was:" >&5
24806
sed 's/^/| /' conftest.$ac_ext >&5
24808
cat >conftest.$ac_ext <<_ACEOF
24811
cat confdefs.h >>conftest.$ac_ext
24812
cat >>conftest.$ac_ext <<_ACEOF
24813
/* end confdefs.h. */
24814
#include <stddef.h>
24818
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
24825
rm -f conftest.$ac_objext
24826
if { (ac_try="$ac_compile"
24827
case "(($ac_try" in
24828
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24829
*) ac_try_echo=$ac_try;;
24831
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24832
(eval "$ac_compile") 2>conftest.er1
24834
grep -v '^ *+' conftest.er1 >conftest.err
24836
cat conftest.err >&5
24837
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24838
(exit $ac_status); } && {
24839
test -z "$ac_c_werror_flag" ||
24840
test ! -s conftest.err
24841
} && test -s conftest.$ac_objext; then
24844
cat >conftest.$ac_ext <<_ACEOF
24847
cat confdefs.h >>conftest.$ac_ext
24848
cat >>conftest.$ac_ext <<_ACEOF
24849
/* end confdefs.h. */
24850
#include <stddef.h>
24854
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
24861
rm -f conftest.$ac_objext
24862
if { (ac_try="$ac_compile"
24863
case "(($ac_try" in
24864
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24865
*) ac_try_echo=$ac_try;;
24867
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24868
(eval "$ac_compile") 2>conftest.er1
24870
grep -v '^ *+' conftest.er1 >conftest.err
24872
cat conftest.err >&5
24873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24874
(exit $ac_status); } && {
24875
test -z "$ac_c_werror_flag" ||
24876
test ! -s conftest.err
24877
} && test -s conftest.$ac_objext; then
24878
ac_lo=$ac_mid; break
24880
echo "$as_me: failed program was:" >&5
24881
sed 's/^/| /' conftest.$ac_ext >&5
24883
ac_hi=`expr '(' $ac_mid ')' - 1`
24884
if test $ac_mid -le $ac_hi; then
24888
ac_mid=`expr 2 '*' $ac_mid`
24891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894
echo "$as_me: failed program was:" >&5
24895
sed 's/^/| /' conftest.$ac_ext >&5
24900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904
# Binary search between lo and hi bounds.
24905
while test "x$ac_lo" != "x$ac_hi"; do
24906
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24907
cat >conftest.$ac_ext <<_ACEOF
24910
cat confdefs.h >>conftest.$ac_ext
24911
cat >>conftest.$ac_ext <<_ACEOF
24912
/* end confdefs.h. */
24913
#include <stddef.h>
24917
static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
24924
rm -f conftest.$ac_objext
24925
if { (ac_try="$ac_compile"
24926
case "(($ac_try" in
24927
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928
*) ac_try_echo=$ac_try;;
24930
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931
(eval "$ac_compile") 2>conftest.er1
24933
grep -v '^ *+' conftest.er1 >conftest.err
24935
cat conftest.err >&5
24936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937
(exit $ac_status); } && {
24938
test -z "$ac_c_werror_flag" ||
24939
test ! -s conftest.err
24940
} && test -s conftest.$ac_objext; then
24943
echo "$as_me: failed program was:" >&5
24944
sed 's/^/| /' conftest.$ac_ext >&5
24946
ac_lo=`expr '(' $ac_mid ')' + 1`
24949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952
?*) fits_in_uint=$ac_lo;;
24953
'') fits_in_uint= ;;
24956
cat >conftest.$ac_ext <<_ACEOF
24959
cat confdefs.h >>conftest.$ac_ext
24960
cat >>conftest.$ac_ext <<_ACEOF
24961
/* end confdefs.h. */
24962
#include <stddef.h>
24963
static long int longval () { return sizeof (size_t) <= sizeof (unsigned int); }
24964
static unsigned long int ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
24966
#include <stdlib.h>
24971
FILE *f = fopen ("conftest.val", "w");
24974
if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
24976
long int i = longval ();
24977
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
24979
fprintf (f, "%ld\n", i);
24983
unsigned long int i = ulongval ();
24984
if (i != (sizeof (size_t) <= sizeof (unsigned int)))
24986
fprintf (f, "%lu\n", i);
24988
return ferror (f) || fclose (f) != 0;
24994
rm -f conftest$ac_exeext
24995
if { (ac_try="$ac_link"
24996
case "(($ac_try" in
24997
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24998
*) ac_try_echo=$ac_try;;
25000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25001
(eval "$ac_link") 2>&5
25003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25005
{ (case "(($ac_try" in
25006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25007
*) ac_try_echo=$ac_try;;
25009
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25010
(eval "$ac_try") 2>&5
25012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25013
(exit $ac_status); }; }; then
25014
fits_in_uint=`cat conftest.val`
25016
echo "$as_me: program exited with status $ac_status" >&5
25017
echo "$as_me: failed program was:" >&5
25018
sed 's/^/| /' conftest.$ac_ext >&5
25020
( exit $ac_status )
25023
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25026
if test -n "$size_t_bits_minus_1" && test -n "$fits_in_uint"; then
25027
if test $fits_in_uint = 1; then
25028
cat >conftest.$ac_ext <<_ACEOF
25031
cat confdefs.h >>conftest.$ac_ext
25032
cat >>conftest.$ac_ext <<_ACEOF
25033
/* end confdefs.h. */
25034
#include <stddef.h>
25036
extern unsigned long foo;
25046
rm -f conftest.$ac_objext
25047
if { (ac_try="$ac_compile"
25048
case "(($ac_try" in
25049
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25050
*) ac_try_echo=$ac_try;;
25052
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25053
(eval "$ac_compile") 2>conftest.er1
25055
grep -v '^ *+' conftest.er1 >conftest.err
25057
cat conftest.err >&5
25058
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059
(exit $ac_status); } && {
25060
test -z "$ac_c_werror_flag" ||
25061
test ! -s conftest.err
25062
} && test -s conftest.$ac_objext; then
25065
echo "$as_me: failed program was:" >&5
25066
sed 's/^/| /' conftest.$ac_ext >&5
25071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25073
if test $fits_in_uint = 1; then
25074
gl_cv_size_max="(((1U << $size_t_bits_minus_1) - 1) * 2 + 1)"
25076
gl_cv_size_max="(((1UL << $size_t_bits_minus_1) - 1) * 2 + 1)"
25079
gl_cv_size_max='((size_t)~(size_t)0)'
25085
{ echo "$as_me:$LINENO: result: $gl_cv_size_max" >&5
25086
echo "${ECHO_T}$gl_cv_size_max" >&6; }
25087
if test "$gl_cv_size_max" != yes; then
25089
cat >>confdefs.h <<_ACEOF
25090
#define SIZE_MAX $gl_cv_size_max
25099
for ac_header in stdint.h
25101
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25102
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25103
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25104
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25105
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25106
echo $ECHO_N "(cached) $ECHO_C" >&6
25108
ac_res=`eval echo '${'$as_ac_Header'}'`
25109
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25110
echo "${ECHO_T}$ac_res" >&6; }
25112
# Is the header compilable?
25113
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25114
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25115
cat >conftest.$ac_ext <<_ACEOF
25118
cat confdefs.h >>conftest.$ac_ext
25119
cat >>conftest.$ac_ext <<_ACEOF
25120
/* end confdefs.h. */
25121
$ac_includes_default
25122
#include <$ac_header>
25124
rm -f conftest.$ac_objext
25125
if { (ac_try="$ac_compile"
25126
case "(($ac_try" in
25127
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25128
*) ac_try_echo=$ac_try;;
25130
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25131
(eval "$ac_compile") 2>conftest.er1
25133
grep -v '^ *+' conftest.er1 >conftest.err
25135
cat conftest.err >&5
25136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25137
(exit $ac_status); } && {
25138
test -z "$ac_c_werror_flag" ||
25139
test ! -s conftest.err
25140
} && test -s conftest.$ac_objext; then
25141
ac_header_compiler=yes
25143
echo "$as_me: failed program was:" >&5
25144
sed 's/^/| /' conftest.$ac_ext >&5
25146
ac_header_compiler=no
25149
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25151
echo "${ECHO_T}$ac_header_compiler" >&6; }
25153
# Is the header present?
25154
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25155
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25156
cat >conftest.$ac_ext <<_ACEOF
25159
cat confdefs.h >>conftest.$ac_ext
25160
cat >>conftest.$ac_ext <<_ACEOF
25161
/* end confdefs.h. */
25162
#include <$ac_header>
25164
if { (ac_try="$ac_cpp conftest.$ac_ext"
25165
case "(($ac_try" in
25166
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25167
*) ac_try_echo=$ac_try;;
25169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25170
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25172
grep -v '^ *+' conftest.er1 >conftest.err
25174
cat conftest.err >&5
25175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176
(exit $ac_status); } >/dev/null && {
25177
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25178
test ! -s conftest.err
25180
ac_header_preproc=yes
25182
echo "$as_me: failed program was:" >&5
25183
sed 's/^/| /' conftest.$ac_ext >&5
25185
ac_header_preproc=no
25188
rm -f conftest.err conftest.$ac_ext
25189
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25190
echo "${ECHO_T}$ac_header_preproc" >&6; }
25192
# So? What about this header?
25193
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25195
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25196
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25197
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25198
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25199
ac_header_preproc=yes
25202
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25203
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25204
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25205
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25206
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25207
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25208
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25209
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25210
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25211
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25212
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25213
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25215
## -------------------------------- ##
25216
## Report this to sitecopy@lyra.org ##
25217
## -------------------------------- ##
25219
) | sed "s/^/$as_me: WARNING: /" >&2
25222
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25223
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25224
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25225
echo $ECHO_N "(cached) $ECHO_C" >&6
25227
eval "$as_ac_Header=\$ac_header_preproc"
25229
ac_res=`eval echo '${'$as_ac_Header'}'`
25230
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25231
echo "${ECHO_T}$ac_res" >&6; }
25234
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25235
cat >>confdefs.h <<_ACEOF
25236
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25245
{ echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
25246
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
25247
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
25248
echo $ECHO_N "(cached) $ECHO_C" >&6
25250
gt_save_LIBS="$LIBS"
25251
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
25252
cat >conftest.$ac_ext <<_ACEOF
25255
cat confdefs.h >>conftest.$ac_ext
25256
cat >>conftest.$ac_ext <<_ACEOF
25257
/* end confdefs.h. */
25258
#include <CoreFoundation/CFPreferences.h>
25262
CFPreferencesCopyAppValue(NULL, NULL)
25267
rm -f conftest.$ac_objext conftest$ac_exeext
25268
if { (ac_try="$ac_link"
25269
case "(($ac_try" in
25270
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25271
*) ac_try_echo=$ac_try;;
25273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25274
(eval "$ac_link") 2>conftest.er1
25276
grep -v '^ *+' conftest.er1 >conftest.err
25278
cat conftest.err >&5
25279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280
(exit $ac_status); } && {
25281
test -z "$ac_c_werror_flag" ||
25282
test ! -s conftest.err
25283
} && test -s conftest$ac_exeext &&
25284
$as_test_x conftest$ac_exeext; then
25285
gt_cv_func_CFPreferencesCopyAppValue=yes
25287
echo "$as_me: failed program was:" >&5
25288
sed 's/^/| /' conftest.$ac_ext >&5
25290
gt_cv_func_CFPreferencesCopyAppValue=no
25293
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25294
conftest$ac_exeext conftest.$ac_ext
25295
LIBS="$gt_save_LIBS"
25297
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
25298
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
25299
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
25301
cat >>confdefs.h <<\_ACEOF
25302
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
25306
{ echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
25307
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
25308
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
25309
echo $ECHO_N "(cached) $ECHO_C" >&6
25311
gt_save_LIBS="$LIBS"
25312
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
25313
cat >conftest.$ac_ext <<_ACEOF
25316
cat confdefs.h >>conftest.$ac_ext
25317
cat >>conftest.$ac_ext <<_ACEOF
25318
/* end confdefs.h. */
25319
#include <CoreFoundation/CFLocale.h>
25323
CFLocaleCopyCurrent();
25328
rm -f conftest.$ac_objext conftest$ac_exeext
25329
if { (ac_try="$ac_link"
25330
case "(($ac_try" in
25331
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25332
*) ac_try_echo=$ac_try;;
25334
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25335
(eval "$ac_link") 2>conftest.er1
25337
grep -v '^ *+' conftest.er1 >conftest.err
25339
cat conftest.err >&5
25340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341
(exit $ac_status); } && {
25342
test -z "$ac_c_werror_flag" ||
25343
test ! -s conftest.err
25344
} && test -s conftest$ac_exeext &&
25345
$as_test_x conftest$ac_exeext; then
25346
gt_cv_func_CFLocaleCopyCurrent=yes
25348
echo "$as_me: failed program was:" >&5
25349
sed 's/^/| /' conftest.$ac_ext >&5
25351
gt_cv_func_CFLocaleCopyCurrent=no
25354
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25355
conftest$ac_exeext conftest.$ac_ext
25356
LIBS="$gt_save_LIBS"
25358
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
25359
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
25360
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
25362
cat >>confdefs.h <<\_ACEOF
25363
#define HAVE_CFLOCALECOPYCURRENT 1
25368
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
25369
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
25378
{ echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
25379
echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6; }
25380
if test "${ac_cv_type_ptrdiff_t+set}" = set; then
25381
echo $ECHO_N "(cached) $ECHO_C" >&6
25383
cat >conftest.$ac_ext <<_ACEOF
25386
cat confdefs.h >>conftest.$ac_ext
25387
cat >>conftest.$ac_ext <<_ACEOF
25388
/* end confdefs.h. */
25389
$ac_includes_default
25390
typedef ptrdiff_t ac__type_new_;
25394
if ((ac__type_new_ *) 0)
25396
if (sizeof (ac__type_new_))
25402
rm -f conftest.$ac_objext
25403
if { (ac_try="$ac_compile"
25404
case "(($ac_try" in
25405
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25406
*) ac_try_echo=$ac_try;;
25408
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25409
(eval "$ac_compile") 2>conftest.er1
25411
grep -v '^ *+' conftest.er1 >conftest.err
25413
cat conftest.err >&5
25414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415
(exit $ac_status); } && {
25416
test -z "$ac_c_werror_flag" ||
25417
test ! -s conftest.err
25418
} && test -s conftest.$ac_objext; then
25419
ac_cv_type_ptrdiff_t=yes
25421
echo "$as_me: failed program was:" >&5
25422
sed 's/^/| /' conftest.$ac_ext >&5
25424
ac_cv_type_ptrdiff_t=no
25427
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25429
{ echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
25430
echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6; }
25431
if test $ac_cv_type_ptrdiff_t = yes; then
25435
cat >>confdefs.h <<\_ACEOF
25436
#define ptrdiff_t long
25445
for ac_header in stddef.h stdlib.h string.h
25447
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25448
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25449
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25450
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25451
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25452
echo $ECHO_N "(cached) $ECHO_C" >&6
25454
ac_res=`eval echo '${'$as_ac_Header'}'`
25455
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25456
echo "${ECHO_T}$ac_res" >&6; }
25458
# Is the header compilable?
25459
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
25460
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
25461
cat >conftest.$ac_ext <<_ACEOF
25464
cat confdefs.h >>conftest.$ac_ext
25465
cat >>conftest.$ac_ext <<_ACEOF
25466
/* end confdefs.h. */
25467
$ac_includes_default
25468
#include <$ac_header>
25470
rm -f conftest.$ac_objext
25471
if { (ac_try="$ac_compile"
25472
case "(($ac_try" in
25473
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25474
*) ac_try_echo=$ac_try;;
25476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25477
(eval "$ac_compile") 2>conftest.er1
25479
grep -v '^ *+' conftest.er1 >conftest.err
25481
cat conftest.err >&5
25482
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25483
(exit $ac_status); } && {
25484
test -z "$ac_c_werror_flag" ||
25485
test ! -s conftest.err
25486
} && test -s conftest.$ac_objext; then
25487
ac_header_compiler=yes
25489
echo "$as_me: failed program was:" >&5
25490
sed 's/^/| /' conftest.$ac_ext >&5
25492
ac_header_compiler=no
25495
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25496
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25497
echo "${ECHO_T}$ac_header_compiler" >&6; }
25499
# Is the header present?
25500
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
25501
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
25502
cat >conftest.$ac_ext <<_ACEOF
25505
cat confdefs.h >>conftest.$ac_ext
25506
cat >>conftest.$ac_ext <<_ACEOF
25507
/* end confdefs.h. */
25508
#include <$ac_header>
25510
if { (ac_try="$ac_cpp conftest.$ac_ext"
25511
case "(($ac_try" in
25512
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25513
*) ac_try_echo=$ac_try;;
25515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25516
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
25518
grep -v '^ *+' conftest.er1 >conftest.err
25520
cat conftest.err >&5
25521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522
(exit $ac_status); } >/dev/null && {
25523
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
25524
test ! -s conftest.err
25526
ac_header_preproc=yes
25528
echo "$as_me: failed program was:" >&5
25529
sed 's/^/| /' conftest.$ac_ext >&5
25531
ac_header_preproc=no
25534
rm -f conftest.err conftest.$ac_ext
25535
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25536
echo "${ECHO_T}$ac_header_preproc" >&6; }
25538
# So? What about this header?
25539
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
25541
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
25542
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
25543
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
25544
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
25545
ac_header_preproc=yes
25548
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
25549
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
25550
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
25551
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
25552
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
25553
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
25554
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
25555
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
25556
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
25557
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
25558
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
25559
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
25561
## -------------------------------- ##
25562
## Report this to sitecopy@lyra.org ##
25563
## -------------------------------- ##
25565
) | sed "s/^/$as_me: WARNING: /" >&2
25568
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
25569
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25570
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25571
echo $ECHO_N "(cached) $ECHO_C" >&6
25573
eval "$as_ac_Header=\$ac_header_preproc"
25575
ac_res=`eval echo '${'$as_ac_Header'}'`
25576
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25577
echo "${ECHO_T}$ac_res" >&6; }
25580
if test `eval echo '${'$as_ac_Header'}'` = yes; then
25581
cat >>confdefs.h <<_ACEOF
25582
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25596
for ac_func in asprintf fwprintf putenv setenv setlocale snprintf wcslen
25598
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25599
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
25600
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25601
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25602
echo $ECHO_N "(cached) $ECHO_C" >&6
25604
cat >conftest.$ac_ext <<_ACEOF
25607
cat confdefs.h >>conftest.$ac_ext
25608
cat >>conftest.$ac_ext <<_ACEOF
25609
/* end confdefs.h. */
25610
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25611
For example, HP-UX 11i <limits.h> declares gettimeofday. */
25612
#define $ac_func innocuous_$ac_func
25614
/* System header to define __stub macros and hopefully few prototypes,
25615
which can conflict with char $ac_func (); below.
25616
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25617
<limits.h> exists even on freestanding compilers. */
25620
# include <limits.h>
25622
# include <assert.h>
25627
/* Override any GCC internal prototype to avoid an error.
25628
Use char because int might match the return type of a GCC
25629
builtin and then its argument prototype would still apply. */
25634
/* The GNU C library defines this for functions which it implements
25635
to always fail with ENOSYS. Some functions are actually named
25636
something starting with __ and the normal name is an alias. */
25637
#if defined __stub_$ac_func || defined __stub___$ac_func
25644
return $ac_func ();
25649
rm -f conftest.$ac_objext conftest$ac_exeext
25650
if { (ac_try="$ac_link"
25651
case "(($ac_try" in
25652
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25653
*) ac_try_echo=$ac_try;;
25655
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25656
(eval "$ac_link") 2>conftest.er1
25658
grep -v '^ *+' conftest.er1 >conftest.err
25660
cat conftest.err >&5
25661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662
(exit $ac_status); } && {
25663
test -z "$ac_c_werror_flag" ||
25664
test ! -s conftest.err
25665
} && test -s conftest$ac_exeext &&
25666
$as_test_x conftest$ac_exeext; then
25667
eval "$as_ac_var=yes"
25669
echo "$as_me: failed program was:" >&5
25670
sed 's/^/| /' conftest.$ac_ext >&5
25672
eval "$as_ac_var=no"
25675
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25676
conftest$ac_exeext conftest.$ac_ext
25678
ac_res=`eval echo '${'$as_ac_var'}'`
25679
{ echo "$as_me:$LINENO: result: $ac_res" >&5
25680
echo "${ECHO_T}$ac_res" >&6; }
25681
if test `eval echo '${'$as_ac_var'}'` = yes; then
25682
cat >>confdefs.h <<_ACEOF
25683
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25691
{ echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
25692
echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6; }
25693
if test "${ac_cv_have_decl__snprintf+set}" = set; then
25694
echo $ECHO_N "(cached) $ECHO_C" >&6
25696
cat >conftest.$ac_ext <<_ACEOF
25699
cat confdefs.h >>conftest.$ac_ext
25700
cat >>conftest.$ac_ext <<_ACEOF
25701
/* end confdefs.h. */
25708
char *p = (char *) _snprintf;
25715
rm -f conftest.$ac_objext
25716
if { (ac_try="$ac_compile"
25717
case "(($ac_try" in
25718
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25719
*) ac_try_echo=$ac_try;;
25721
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25722
(eval "$ac_compile") 2>conftest.er1
25724
grep -v '^ *+' conftest.er1 >conftest.err
25726
cat conftest.err >&5
25727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728
(exit $ac_status); } && {
25729
test -z "$ac_c_werror_flag" ||
25730
test ! -s conftest.err
25731
} && test -s conftest.$ac_objext; then
25732
ac_cv_have_decl__snprintf=yes
25734
echo "$as_me: failed program was:" >&5
25735
sed 's/^/| /' conftest.$ac_ext >&5
25737
ac_cv_have_decl__snprintf=no
25740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25742
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
25743
echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6; }
25744
if test $ac_cv_have_decl__snprintf = yes; then
25750
cat >>confdefs.h <<_ACEOF
25751
#define HAVE_DECL__SNPRINTF $gt_value
25756
{ echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
25757
echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6; }
25758
if test "${ac_cv_have_decl__snwprintf+set}" = set; then
25759
echo $ECHO_N "(cached) $ECHO_C" >&6
25761
cat >conftest.$ac_ext <<_ACEOF
25764
cat confdefs.h >>conftest.$ac_ext
25765
cat >>conftest.$ac_ext <<_ACEOF
25766
/* end confdefs.h. */
25773
char *p = (char *) _snwprintf;
25780
rm -f conftest.$ac_objext
25781
if { (ac_try="$ac_compile"
25782
case "(($ac_try" in
25783
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25784
*) ac_try_echo=$ac_try;;
25786
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25787
(eval "$ac_compile") 2>conftest.er1
25789
grep -v '^ *+' conftest.er1 >conftest.err
25791
cat conftest.err >&5
25792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793
(exit $ac_status); } && {
25794
test -z "$ac_c_werror_flag" ||
25795
test ! -s conftest.err
25796
} && test -s conftest.$ac_objext; then
25797
ac_cv_have_decl__snwprintf=yes
25799
echo "$as_me: failed program was:" >&5
25800
sed 's/^/| /' conftest.$ac_ext >&5
25802
ac_cv_have_decl__snwprintf=no
25805
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25807
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
25808
echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6; }
25809
if test $ac_cv_have_decl__snwprintf = yes; then
25815
cat >>confdefs.h <<_ACEOF
25816
#define HAVE_DECL__SNWPRINTF $gt_value
25822
{ echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
25823
echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6; }
25824
if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
25825
echo $ECHO_N "(cached) $ECHO_C" >&6
25827
cat >conftest.$ac_ext <<_ACEOF
25830
cat confdefs.h >>conftest.$ac_ext
25831
cat >>conftest.$ac_ext <<_ACEOF
25832
/* end confdefs.h. */
25838
#ifndef getc_unlocked
25839
char *p = (char *) getc_unlocked;
25846
rm -f conftest.$ac_objext
25847
if { (ac_try="$ac_compile"
25848
case "(($ac_try" in
25849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25850
*) ac_try_echo=$ac_try;;
25852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25853
(eval "$ac_compile") 2>conftest.er1
25855
grep -v '^ *+' conftest.er1 >conftest.err
25857
cat conftest.err >&5
25858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25859
(exit $ac_status); } && {
25860
test -z "$ac_c_werror_flag" ||
25861
test ! -s conftest.err
25862
} && test -s conftest.$ac_objext; then
25863
ac_cv_have_decl_getc_unlocked=yes
25865
echo "$as_me: failed program was:" >&5
25866
sed 's/^/| /' conftest.$ac_ext >&5
25868
ac_cv_have_decl_getc_unlocked=no
25871
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25873
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
25874
echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6; }
25875
if test $ac_cv_have_decl_getc_unlocked = yes; then
25881
cat >>confdefs.h <<_ACEOF
25882
#define HAVE_DECL_GETC_UNLOCKED $gt_value
25887
case $gt_cv_func_printf_posix in
25888
*yes) HAVE_POSIX_PRINTF=1 ;;
25889
*) HAVE_POSIX_PRINTF=0 ;;
25892
if test "$ac_cv_func_asprintf" = yes; then
25898
if test "$ac_cv_func_snprintf" = yes; then
25904
if test "$ac_cv_func_wprintf" = yes; then
25912
{ echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
25913
echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6; }
25914
if test "${am_cv_langinfo_codeset+set}" = set; then
25915
echo $ECHO_N "(cached) $ECHO_C" >&6
25917
cat >conftest.$ac_ext <<_ACEOF
25920
cat confdefs.h >>conftest.$ac_ext
25921
cat >>conftest.$ac_ext <<_ACEOF
25922
/* end confdefs.h. */
25923
#include <langinfo.h>
25927
char* cs = nl_langinfo(CODESET); return !cs;
25932
rm -f conftest.$ac_objext conftest$ac_exeext
25933
if { (ac_try="$ac_link"
25934
case "(($ac_try" in
25935
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25936
*) ac_try_echo=$ac_try;;
25938
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25939
(eval "$ac_link") 2>conftest.er1
25941
grep -v '^ *+' conftest.er1 >conftest.err
25943
cat conftest.err >&5
25944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945
(exit $ac_status); } && {
25946
test -z "$ac_c_werror_flag" ||
25947
test ! -s conftest.err
25948
} && test -s conftest$ac_exeext &&
25949
$as_test_x conftest$ac_exeext; then
25950
am_cv_langinfo_codeset=yes
25952
echo "$as_me: failed program was:" >&5
25953
sed 's/^/| /' conftest.$ac_ext >&5
25955
am_cv_langinfo_codeset=no
25958
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25959
conftest$ac_exeext conftest.$ac_ext
25962
{ echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
25963
echo "${ECHO_T}$am_cv_langinfo_codeset" >&6; }
25964
if test $am_cv_langinfo_codeset = yes; then
25966
cat >>confdefs.h <<\_ACEOF
25967
#define HAVE_LANGINFO_CODESET 1
25973
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
25974
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
25975
if test "${gt_cv_val_LC_MESSAGES+set}" = set; then
25976
echo $ECHO_N "(cached) $ECHO_C" >&6
25978
cat >conftest.$ac_ext <<_ACEOF
25981
cat confdefs.h >>conftest.$ac_ext
25982
cat >>conftest.$ac_ext <<_ACEOF
25983
/* end confdefs.h. */
25984
#include <locale.h>
25993
rm -f conftest.$ac_objext conftest$ac_exeext
25994
if { (ac_try="$ac_link"
25995
case "(($ac_try" in
25996
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25997
*) ac_try_echo=$ac_try;;
25999
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26000
(eval "$ac_link") 2>conftest.er1
26002
grep -v '^ *+' conftest.er1 >conftest.err
26004
cat conftest.err >&5
26005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26006
(exit $ac_status); } && {
26007
test -z "$ac_c_werror_flag" ||
26008
test ! -s conftest.err
26009
} && test -s conftest$ac_exeext &&
26010
$as_test_x conftest$ac_exeext; then
26011
gt_cv_val_LC_MESSAGES=yes
26013
echo "$as_me: failed program was:" >&5
26014
sed 's/^/| /' conftest.$ac_ext >&5
26016
gt_cv_val_LC_MESSAGES=no
26019
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26020
conftest$ac_exeext conftest.$ac_ext
26022
{ echo "$as_me:$LINENO: result: $gt_cv_val_LC_MESSAGES" >&5
26023
echo "${ECHO_T}$gt_cv_val_LC_MESSAGES" >&6; }
26024
if test $gt_cv_val_LC_MESSAGES = yes; then
26026
cat >>confdefs.h <<\_ACEOF
26027
#define HAVE_LC_MESSAGES 1
26033
if test "$enable_shared" = yes; then
26035
mingw* | cygwin*) is_woe32dll=yes ;;
26036
*) is_woe32dll=no ;;
26041
WOE32DLL=$is_woe32dll
26045
mingw* | cygwin*) is_woe32=yes ;;
26050
if test $WOE32 = yes; then
26051
if test -n "$ac_tool_prefix"; then
26052
# Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
26053
set dummy ${ac_tool_prefix}windres; ac_word=$2
26054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26056
if test "${ac_cv_prog_WINDRES+set}" = set; then
26057
echo $ECHO_N "(cached) $ECHO_C" >&6
26059
if test -n "$WINDRES"; then
26060
ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
26062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26063
for as_dir in $PATH
26066
test -z "$as_dir" && as_dir=.
26067
for ac_exec_ext in '' $ac_executable_extensions; do
26068
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26069
ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
26070
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26079
WINDRES=$ac_cv_prog_WINDRES
26080
if test -n "$WINDRES"; then
26081
{ echo "$as_me:$LINENO: result: $WINDRES" >&5
26082
echo "${ECHO_T}$WINDRES" >&6; }
26084
{ echo "$as_me:$LINENO: result: no" >&5
26085
echo "${ECHO_T}no" >&6; }
26090
if test -z "$ac_cv_prog_WINDRES"; then
26091
ac_ct_WINDRES=$WINDRES
26092
# Extract the first word of "windres", so it can be a program name with args.
26093
set dummy windres; ac_word=$2
26094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
26095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26096
if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
26097
echo $ECHO_N "(cached) $ECHO_C" >&6
26099
if test -n "$ac_ct_WINDRES"; then
26100
ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
26102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26103
for as_dir in $PATH
26106
test -z "$as_dir" && as_dir=.
26107
for ac_exec_ext in '' $ac_executable_extensions; do
26108
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26109
ac_cv_prog_ac_ct_WINDRES="windres"
26110
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26119
ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
26120
if test -n "$ac_ct_WINDRES"; then
26121
{ echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
26122
echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
26124
{ echo "$as_me:$LINENO: result: no" >&5
26125
echo "${ECHO_T}no" >&6; }
26128
if test "x$ac_ct_WINDRES" = x; then
26131
case $cross_compiling:$ac_tool_warned in
26133
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
26134
whose name does not start with the host triplet. If you think this
26135
configuration is useful to you, please write to autoconf@gnu.org." >&5
26136
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
26137
whose name does not start with the host triplet. If you think this
26138
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
26139
ac_tool_warned=yes ;;
26141
WINDRES=$ac_ct_WINDRES
26144
WINDRES="$ac_cv_prog_WINDRES"
26150
hpux*) LTLIBC="" ;;
26180
{ echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
26181
echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; }
26182
if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
26183
echo $ECHO_N "(cached) $ECHO_C" >&6
26185
gt_save_LIBS="$LIBS"
26186
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
26187
cat >conftest.$ac_ext <<_ACEOF
26190
cat confdefs.h >>conftest.$ac_ext
26191
cat >>conftest.$ac_ext <<_ACEOF
26192
/* end confdefs.h. */
26193
#include <CoreFoundation/CFPreferences.h>
26197
CFPreferencesCopyAppValue(NULL, NULL)
26202
rm -f conftest.$ac_objext conftest$ac_exeext
26203
if { (ac_try="$ac_link"
26204
case "(($ac_try" in
26205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26206
*) ac_try_echo=$ac_try;;
26208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26209
(eval "$ac_link") 2>conftest.er1
26211
grep -v '^ *+' conftest.er1 >conftest.err
26213
cat conftest.err >&5
26214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26215
(exit $ac_status); } && {
26216
test -z "$ac_c_werror_flag" ||
26217
test ! -s conftest.err
26218
} && test -s conftest$ac_exeext &&
26219
$as_test_x conftest$ac_exeext; then
26220
gt_cv_func_CFPreferencesCopyAppValue=yes
26222
echo "$as_me: failed program was:" >&5
26223
sed 's/^/| /' conftest.$ac_ext >&5
26225
gt_cv_func_CFPreferencesCopyAppValue=no
26228
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26229
conftest$ac_exeext conftest.$ac_ext
26230
LIBS="$gt_save_LIBS"
26232
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
26233
echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
26234
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
26236
cat >>confdefs.h <<\_ACEOF
26237
#define HAVE_CFPREFERENCESCOPYAPPVALUE 1
26241
{ echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
26242
echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; }
26243
if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
26244
echo $ECHO_N "(cached) $ECHO_C" >&6
26246
gt_save_LIBS="$LIBS"
26247
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
26248
cat >conftest.$ac_ext <<_ACEOF
26251
cat confdefs.h >>conftest.$ac_ext
26252
cat >>conftest.$ac_ext <<_ACEOF
26253
/* end confdefs.h. */
26254
#include <CoreFoundation/CFLocale.h>
26258
CFLocaleCopyCurrent();
26263
rm -f conftest.$ac_objext conftest$ac_exeext
26264
if { (ac_try="$ac_link"
26265
case "(($ac_try" in
26266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267
*) ac_try_echo=$ac_try;;
26269
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270
(eval "$ac_link") 2>conftest.er1
26272
grep -v '^ *+' conftest.er1 >conftest.err
26274
cat conftest.err >&5
26275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276
(exit $ac_status); } && {
26277
test -z "$ac_c_werror_flag" ||
26278
test ! -s conftest.err
26279
} && test -s conftest$ac_exeext &&
26280
$as_test_x conftest$ac_exeext; then
26281
gt_cv_func_CFLocaleCopyCurrent=yes
26283
echo "$as_me: failed program was:" >&5
26284
sed 's/^/| /' conftest.$ac_ext >&5
26286
gt_cv_func_CFLocaleCopyCurrent=no
26289
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26290
conftest$ac_exeext conftest.$ac_ext
26291
LIBS="$gt_save_LIBS"
26293
{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
26294
echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; }
26295
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
26297
cat >>confdefs.h <<\_ACEOF
26298
#define HAVE_CFLOCALECOPYCURRENT 1
26303
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
26304
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
22774
27819
# Have a temporary directory for convenience. Make it in the build tree
22775
# simply because there is no reason to put it here, and in addition,
27820
# simply because there is no reason against having it here, and in addition,
22776
27821
# creating and moving files from /tmp can sometimes cause problems.
22777
# Create a temporary directory, and hook for its removal unless debugging.
27822
# Hook for its removal unless debugging.
27823
# Note that there is a small window in which the directory will not be cleaned:
27824
# after its creation but before its name has been assigned to `$tmp'.
22780
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
27828
trap 'exit_status=$?
27829
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22781
27831
trap '{ (exit 1); exit 1; }' 1 2 13 15
22784
27833
# Create a (secure) tmp directory for tmp files.
22787
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
27836
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22788
27837
test -n "$tmp" && test -d "$tmp"
22791
tmp=./confstat$$-$RANDOM
22792
(umask 077 && mkdir $tmp)
27840
tmp=./conf$$-$RANDOM
27841
(umask 077 && mkdir "$tmp")
22795
27844
echo "$me: cannot create a temporary directory in ." >&2
22796
27845
{ (exit 1); exit 1; }
22801
cat >>$CONFIG_STATUS <<_ACEOF
22804
# CONFIG_FILES section.
27849
# Set up the sed scripts for CONFIG_FILES section.
22807
27852
# No need to generate the scripts if there are no CONFIG_FILES.
22808
27853
# This happens for instance when ./config.status config.h
22809
if test -n "\$CONFIG_FILES"; then
22810
# Protect against being on the right side of a sed subst in config.status.
22811
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22812
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22813
s,@SHELL@,$SHELL,;t t
22814
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22815
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22816
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22817
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22818
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22819
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22820
s,@exec_prefix@,$exec_prefix,;t t
22821
s,@prefix@,$prefix,;t t
22822
s,@program_transform_name@,$program_transform_name,;t t
22823
s,@bindir@,$bindir,;t t
22824
s,@sbindir@,$sbindir,;t t
22825
s,@libexecdir@,$libexecdir,;t t
22826
s,@datadir@,$datadir,;t t
22827
s,@sysconfdir@,$sysconfdir,;t t
22828
s,@sharedstatedir@,$sharedstatedir,;t t
22829
s,@localstatedir@,$localstatedir,;t t
22830
s,@libdir@,$libdir,;t t
22831
s,@includedir@,$includedir,;t t
22832
s,@oldincludedir@,$oldincludedir,;t t
22833
s,@infodir@,$infodir,;t t
22834
s,@mandir@,$mandir,;t t
22835
s,@build_alias@,$build_alias,;t t
22836
s,@host_alias@,$host_alias,;t t
22837
s,@target_alias@,$target_alias,;t t
22838
s,@DEFS@,$DEFS,;t t
22839
s,@ECHO_C@,$ECHO_C,;t t
22840
s,@ECHO_N@,$ECHO_N,;t t
22841
s,@ECHO_T@,$ECHO_T,;t t
22842
s,@LIBS@,$LIBS,;t t
22844
s,@CFLAGS@,$CFLAGS,;t t
22845
s,@LDFLAGS@,$LDFLAGS,;t t
22846
s,@CPPFLAGS@,$CPPFLAGS,;t t
22847
s,@ac_ct_CC@,$ac_ct_CC,;t t
22848
s,@EXEEXT@,$EXEEXT,;t t
22849
s,@OBJEXT@,$OBJEXT,;t t
22850
s,@SET_MAKE@,$SET_MAKE,;t t
22851
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22852
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22853
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22855
s,@EGREP@,$EGREP,;t t
22856
s,@LIBOBJS@,$LIBOBJS,;t t
22857
s,@NEON_CONFIG@,$NEON_CONFIG,;t t
22858
s,@NE_FLAG_SSL@,$NE_FLAG_SSL,;t t
22859
s,@NE_FLAG_ZLIB@,$NE_FLAG_ZLIB,;t t
22860
s,@NE_FLAG_IPV6@,$NE_FLAG_IPV6,;t t
22861
s,@NE_FLAG_LFS@,$NE_FLAG_LFS,;t t
22862
s,@NE_FLAG_SOCKS@,$NE_FLAG_SOCKS,;t t
22863
s,@NE_FLAG_TS_SSL@,$NE_FLAG_TS_SSL,;t t
22864
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22865
s,@GNUTLS_CONFIG@,$GNUTLS_CONFIG,;t t
22866
s,@NEON_SUPPORTS_SSL@,$NEON_SUPPORTS_SSL,;t t
22867
s,@KRB5_CONFIG@,$KRB5_CONFIG,;t t
22868
s,@NEON_CFLAGS@,$NEON_CFLAGS,;t t
22869
s,@NEON_LIBS@,$NEON_LIBS,;t t
22870
s,@NEON_LTLIBS@,$NEON_LTLIBS,;t t
22871
s,@NEON_BUILD_BUNDLED@,$NEON_BUILD_BUNDLED,;t t
22872
s,@XML2_CONFIG@,$XML2_CONFIG,;t t
22874
s,@ac_pt_AR@,$ac_pt_AR,;t t
22875
s,@RANLIB@,$RANLIB,;t t
22876
s,@ac_pt_RANLIB@,$ac_pt_RANLIB,;t t
22877
s,@NE_FLAG_DAV@,$NE_FLAG_DAV,;t t
22878
s,@NEON_TARGET@,$NEON_TARGET,;t t
22879
s,@NEON_OBJEXT@,$NEON_OBJEXT,;t t
22880
s,@NEONOBJS@,$NEONOBJS,;t t
22881
s,@NEON_EXTRAOBJS@,$NEON_EXTRAOBJS,;t t
22882
s,@NEON_LINK_FLAGS@,$NEON_LINK_FLAGS,;t t
22883
s,@LIBGLADE_CONFIG@,$LIBGLADE_CONFIG,;t t
22884
s,@LIBGLADE_CFLAGS@,$LIBGLADE_CFLAGS,;t t
22885
s,@LIBGLADE_LIBS@,$LIBGLADE_LIBS,;t t
22886
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22887
s,@USE_NLS@,$USE_NLS,;t t
22888
s,@MSGFMT@,$MSGFMT,;t t
22889
s,@GMSGFMT@,$GMSGFMT,;t t
22890
s,@XGETTEXT@,$XGETTEXT,;t t
22891
s,@MSGMERGE@,$MSGMERGE,;t t
22892
s,@build@,$build,;t t
22893
s,@build_cpu@,$build_cpu,;t t
22894
s,@build_vendor@,$build_vendor,;t t
22895
s,@build_os@,$build_os,;t t
22896
s,@host@,$host,;t t
22897
s,@host_cpu@,$host_cpu,;t t
22898
s,@host_vendor@,$host_vendor,;t t
22899
s,@host_os@,$host_os,;t t
22900
s,@GLIBC2@,$GLIBC2,;t t
22901
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22902
s,@ALLOCA@,$ALLOCA,;t t
22903
s,@GLIBC21@,$GLIBC21,;t t
22904
s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t
22905
s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
22906
s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
22907
s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
22908
s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
22909
s,@LIBICONV@,$LIBICONV,;t t
22910
s,@LTLIBICONV@,$LTLIBICONV,;t t
22911
s,@INTLBISON@,$INTLBISON,;t t
22912
s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
22913
s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
22914
s,@CATOBJEXT@,$CATOBJEXT,;t t
22915
s,@DATADIRNAME@,$DATADIRNAME,;t t
22916
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
22917
s,@GENCAT@,$GENCAT,;t t
22918
s,@INTLOBJS@,$INTLOBJS,;t t
22919
s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
22920
s,@INTLLIBS@,$INTLLIBS,;t t
22921
s,@LIBINTL@,$LIBINTL,;t t
22922
s,@LTLIBINTL@,$LTLIBINTL,;t t
22923
s,@POSUB@,$POSUB,;t t
22924
s,@GNOME_SC_HELPDIR@,$GNOME_SC_HELPDIR,;t t
22925
s,@XSC_HELP@,$XSC_HELP,;t t
22926
s,@SHORTCUT_LOCATION@,$SHORTCUT_LOCATION,;t t
22927
s,@EXTRAOBJS@,$EXTRAOBJS,;t t
22928
s,@TARGET@,$TARGET,;t t
22929
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22934
cat >>$CONFIG_STATUS <<\_ACEOF
22935
# Split the substitutions into bite-sized pieces for seds with
22936
# small command number limits, like on Digital OSF/1 and HP-UX.
22937
ac_max_sed_lines=48
22938
ac_sed_frag=1 # Number of current file.
22939
ac_beg=1 # First line for current file.
22940
ac_end=$ac_max_sed_lines # Line after last line for current file.
22943
while $ac_more_lines; do
22944
if test $ac_beg -gt 1; then
22945
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22947
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22949
if test ! -s $tmp/subs.frag; then
22950
ac_more_lines=false
22952
# The purpose of the label and of the branching condition is to
22953
# speed up the sed processing (if there are no `@' at all, there
22954
# is no need to browse any of the substitutions).
22955
# These are the two extra sed commands mentioned above.
22957
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22958
if test -z "$ac_sed_cmds"; then
22959
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22961
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22963
ac_sed_frag=`expr $ac_sed_frag + 1`
22965
ac_end=`expr $ac_end + $ac_max_sed_lines`
22968
if test -z "$ac_sed_cmds"; then
27854
if test -n "$CONFIG_FILES"; then
27861
for ac_last_try in false false false false false :; do
27862
cat >conf$$subs.sed <<_ACEOF
27863
SHELL!$SHELL$ac_delim
27864
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
27865
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
27866
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
27867
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
27868
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27869
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27870
exec_prefix!$exec_prefix$ac_delim
27871
prefix!$prefix$ac_delim
27872
program_transform_name!$program_transform_name$ac_delim
27873
bindir!$bindir$ac_delim
27874
sbindir!$sbindir$ac_delim
27875
libexecdir!$libexecdir$ac_delim
27876
datarootdir!$datarootdir$ac_delim
27877
datadir!$datadir$ac_delim
27878
sysconfdir!$sysconfdir$ac_delim
27879
sharedstatedir!$sharedstatedir$ac_delim
27880
localstatedir!$localstatedir$ac_delim
27881
includedir!$includedir$ac_delim
27882
oldincludedir!$oldincludedir$ac_delim
27883
docdir!$docdir$ac_delim
27884
infodir!$infodir$ac_delim
27885
htmldir!$htmldir$ac_delim
27886
dvidir!$dvidir$ac_delim
27887
pdfdir!$pdfdir$ac_delim
27888
psdir!$psdir$ac_delim
27889
libdir!$libdir$ac_delim
27890
localedir!$localedir$ac_delim
27891
mandir!$mandir$ac_delim
27892
DEFS!$DEFS$ac_delim
27893
ECHO_C!$ECHO_C$ac_delim
27894
ECHO_N!$ECHO_N$ac_delim
27895
ECHO_T!$ECHO_T$ac_delim
27896
LIBS!$LIBS$ac_delim
27897
build_alias!$build_alias$ac_delim
27898
host_alias!$host_alias$ac_delim
27899
target_alias!$target_alias$ac_delim
27901
CFLAGS!$CFLAGS$ac_delim
27902
LDFLAGS!$LDFLAGS$ac_delim
27903
CPPFLAGS!$CPPFLAGS$ac_delim
27904
ac_ct_CC!$ac_ct_CC$ac_delim
27905
EXEEXT!$EXEEXT$ac_delim
27906
OBJEXT!$OBJEXT$ac_delim
27907
SET_MAKE!$SET_MAKE$ac_delim
27908
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27909
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27910
INSTALL_DATA!$INSTALL_DATA$ac_delim
27912
GREP!$GREP$ac_delim
27913
EGREP!$EGREP$ac_delim
27914
LIBOBJS!$LIBOBJS$ac_delim
27915
NEON_CONFIG!$NEON_CONFIG$ac_delim
27916
NE_FLAG_SSL!$NE_FLAG_SSL$ac_delim
27917
NE_FLAG_ZLIB!$NE_FLAG_ZLIB$ac_delim
27918
NE_FLAG_IPV6!$NE_FLAG_IPV6$ac_delim
27919
NE_FLAG_LFS!$NE_FLAG_LFS$ac_delim
27920
NE_FLAG_SOCKS!$NE_FLAG_SOCKS$ac_delim
27921
NE_FLAG_TS_SSL!$NE_FLAG_TS_SSL$ac_delim
27922
PKG_CONFIG!$PKG_CONFIG$ac_delim
27923
GNUTLS_CONFIG!$GNUTLS_CONFIG$ac_delim
27924
NEON_SUPPORTS_SSL!$NEON_SUPPORTS_SSL$ac_delim
27925
KRB5_CONFIG!$KRB5_CONFIG$ac_delim
27926
NEON_CFLAGS!$NEON_CFLAGS$ac_delim
27927
NEON_LIBS!$NEON_LIBS$ac_delim
27928
NEON_LTLIBS!$NEON_LTLIBS$ac_delim
27929
NEON_BUILD_BUNDLED!$NEON_BUILD_BUNDLED$ac_delim
27930
XML2_CONFIG!$XML2_CONFIG$ac_delim
27932
RANLIB!$RANLIB$ac_delim
27933
NE_FLAG_DAV!$NE_FLAG_DAV$ac_delim
27934
NEON_TARGET!$NEON_TARGET$ac_delim
27935
NEON_OBJEXT!$NEON_OBJEXT$ac_delim
27936
NEONOBJS!$NEONOBJS$ac_delim
27937
NEON_EXTRAOBJS!$NEON_EXTRAOBJS$ac_delim
27938
NEON_LINK_FLAGS!$NEON_LINK_FLAGS$ac_delim
27939
LIBGLADE_CONFIG!$LIBGLADE_CONFIG$ac_delim
27940
LIBGLADE_CFLAGS!$LIBGLADE_CFLAGS$ac_delim
27941
LIBGLADE_LIBS!$LIBGLADE_LIBS$ac_delim
27942
mkdir_p!$mkdir_p$ac_delim
27943
USE_NLS!$USE_NLS$ac_delim
27944
GETTEXT_MACRO_VERSION!$GETTEXT_MACRO_VERSION$ac_delim
27945
MSGFMT!$MSGFMT$ac_delim
27946
GMSGFMT!$GMSGFMT$ac_delim
27947
MSGFMT_015!$MSGFMT_015$ac_delim
27948
GMSGFMT_015!$GMSGFMT_015$ac_delim
27949
XGETTEXT!$XGETTEXT$ac_delim
27950
XGETTEXT_015!$XGETTEXT_015$ac_delim
27951
MSGMERGE!$MSGMERGE$ac_delim
27952
XGETTEXT_EXTRA_OPTIONS!$XGETTEXT_EXTRA_OPTIONS$ac_delim
27953
build!$build$ac_delim
27954
build_cpu!$build_cpu$ac_delim
27955
build_vendor!$build_vendor$ac_delim
27956
build_os!$build_os$ac_delim
27957
host!$host$ac_delim
27958
host_cpu!$host_cpu$ac_delim
27959
host_vendor!$host_vendor$ac_delim
27962
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27964
elif $ac_last_try; then
27965
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27966
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27967
{ (exit 1); exit 1; }; }
27969
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27973
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27974
if test -n "$ac_eof"; then
27975
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27976
ac_eof=`expr $ac_eof + 1`
27979
cat >>$CONFIG_STATUS <<_ACEOF
27980
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27981
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27984
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27985
s/^/s,@/; s/!/@,|#_!!_#|/
27988
s/'"$ac_delim"'$/,g/; t
27990
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27991
' >>$CONFIG_STATUS <conf$$subs.sed
27992
rm -f conf$$subs.sed
27993
cat >>$CONFIG_STATUS <<_ACEOF
27999
for ac_last_try in false false false false false :; do
28000
cat >conf$$subs.sed <<_ACEOF
28001
host_os!$host_os$ac_delim
28002
GLIBC2!$GLIBC2$ac_delim
28003
CFLAG_VISIBILITY!$CFLAG_VISIBILITY$ac_delim
28004
HAVE_VISIBILITY!$HAVE_VISIBILITY$ac_delim
28005
ALLOCA!$ALLOCA$ac_delim
28006
PRI_MACROS_BROKEN!$PRI_MACROS_BROKEN$ac_delim
28007
LIBPTH!$LIBPTH$ac_delim
28008
LTLIBPTH!$LTLIBPTH$ac_delim
28009
LIBPTH_PREFIX!$LIBPTH_PREFIX$ac_delim
28010
LIBTHREAD!$LIBTHREAD$ac_delim
28011
LTLIBTHREAD!$LTLIBTHREAD$ac_delim
28012
LIBMULTITHREAD!$LIBMULTITHREAD$ac_delim
28013
LTLIBMULTITHREAD!$LTLIBMULTITHREAD$ac_delim
28014
LIBICONV!$LIBICONV$ac_delim
28015
LTLIBICONV!$LTLIBICONV$ac_delim
28016
INTLBISON!$INTLBISON$ac_delim
28017
GLIBC21!$GLIBC21$ac_delim
28018
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
28019
HAVE_POSIX_PRINTF!$HAVE_POSIX_PRINTF$ac_delim
28020
HAVE_ASPRINTF!$HAVE_ASPRINTF$ac_delim
28021
HAVE_SNPRINTF!$HAVE_SNPRINTF$ac_delim
28022
HAVE_WPRINTF!$HAVE_WPRINTF$ac_delim
28023
WOE32DLL!$WOE32DLL$ac_delim
28024
WOE32!$WOE32$ac_delim
28025
WINDRES!$WINDRES$ac_delim
28026
LTLIBC!$LTLIBC$ac_delim
28027
BUILD_INCLUDED_LIBINTL!$BUILD_INCLUDED_LIBINTL$ac_delim
28028
USE_INCLUDED_LIBINTL!$USE_INCLUDED_LIBINTL$ac_delim
28029
CATOBJEXT!$CATOBJEXT$ac_delim
28030
DATADIRNAME!$DATADIRNAME$ac_delim
28031
INSTOBJEXT!$INSTOBJEXT$ac_delim
28032
GENCAT!$GENCAT$ac_delim
28033
INTLOBJS!$INTLOBJS$ac_delim
28034
INTL_LIBTOOL_SUFFIX_PREFIX!$INTL_LIBTOOL_SUFFIX_PREFIX$ac_delim
28035
INTLLIBS!$INTLLIBS$ac_delim
28036
LIBINTL!$LIBINTL$ac_delim
28037
LTLIBINTL!$LTLIBINTL$ac_delim
28038
POSUB!$POSUB$ac_delim
28039
GNOME_SC_HELPDIR!$GNOME_SC_HELPDIR$ac_delim
28040
XSC_HELP!$XSC_HELP$ac_delim
28041
SHORTCUT_LOCATION!$SHORTCUT_LOCATION$ac_delim
28042
EXTRAOBJS!$EXTRAOBJS$ac_delim
28043
TARGET!$TARGET$ac_delim
28044
LTLIBOBJS!$LTLIBOBJS$ac_delim
28047
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
28049
elif $ac_last_try; then
28050
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
28051
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
28052
{ (exit 1); exit 1; }; }
28054
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28058
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
28059
if test -n "$ac_eof"; then
28060
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
28061
ac_eof=`expr $ac_eof + 1`
28064
cat >>$CONFIG_STATUS <<_ACEOF
28065
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
28066
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
28069
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
28070
s/^/s,@/; s/!/@,|#_!!_#|/
28073
s/'"$ac_delim"'$/,g/; t
28075
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
28076
' >>$CONFIG_STATUS <conf$$subs.sed
28077
rm -f conf$$subs.sed
28078
cat >>$CONFIG_STATUS <<_ACEOF
28085
# VPATH may cause trouble with some makes, so we remove $(srcdir),
28086
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
28087
# trailing colons and then remove the whole line if VPATH becomes empty
28088
# (actually we leave an empty line to preserve line numbers).
28089
if test "x$srcdir" = x.; then
28090
ac_vpsub='/^[ ]*VPATH[ ]*=/{
28091
s/:*\$(srcdir):*/:/
28092
s/:*\${srcdir}:*/:/
28094
s/^\([^=]*=[ ]*\):*/\1/
28100
cat >>$CONFIG_STATUS <<\_ACEOF
22971
28101
fi # test -n "$CONFIG_FILES"
22974
cat >>$CONFIG_STATUS <<\_ACEOF
22975
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22976
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22978
- | *:- | *:-:* ) # input from stdin
22980
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22981
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22982
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22983
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22984
* ) ac_file_in=$ac_file.in ;;
22987
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22988
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
28104
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
28107
:[FHLC]) ac_mode=$ac_tag; continue;;
28109
case $ac_mode$ac_tag in
28111
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
28112
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
28113
{ (exit 1); exit 1; }; };;
28114
:[FH]-) ac_tag=-:-;;
28115
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28132
-) ac_f="$tmp/stdin";;
28133
*) # Look for the file first in the build tree, then in the source tree
28134
# (if the path is not absolute). The absolute path cannot be DOS-style,
28135
# because $ac_f cannot contain `:'.
28139
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28141
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
28142
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
28143
{ (exit 1); exit 1; }; };;
28145
ac_file_inputs="$ac_file_inputs $ac_f"
28148
# Let's still pretend it is `configure' which instantiates (i.e., don't
28149
# use $as_me), people would be surprised to read:
28150
# /* config.h. Generated by config.status. */
28151
configure_input="Generated from "`IFS=:
28152
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
28153
if test x"$ac_file" != x-; then
28154
configure_input="$ac_file. $configure_input"
28155
{ echo "$as_me:$LINENO: creating $ac_file" >&5
28156
echo "$as_me: creating $ac_file" >&6;}
28160
*:-:* | *:-) cat >"$tmp/stdin";;
28165
ac_dir=`$as_dirname -- "$ac_file" ||
22989
28166
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22990
28167
X"$ac_file" : 'X\(//\)[^/]' \| \
22991
28168
X"$ac_file" : 'X\(//\)$' \| \
22992
X"$ac_file" : 'X\(/\)' \| \
22993
. : '\(.\)' 2>/dev/null ||
28169
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22994
28170
echo X"$ac_file" |
22995
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22996
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22997
/^X\(\/\/\)$/{ s//\1/; q; }
22998
/^X\(\/\).*/{ s//\1/; q; }
23000
{ if $as_mkdir_p; then
28171
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28175
/^X\(\/\/\)[^/].*/{
28190
-*) as_dir=./$as_dir;;
28192
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23005
while test ! -d "$as_dir"; do
23006
as_dirs="$as_dir $as_dirs"
23007
as_dir=`(dirname "$as_dir") 2>/dev/null ||
28196
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
28197
*) as_qdir=$as_dir;;
28199
as_dirs="'$as_qdir' $as_dirs"
28200
as_dir=`$as_dirname -- "$as_dir" ||
23008
28201
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23009
28202
X"$as_dir" : 'X\(//\)[^/]' \| \
23010
28203
X"$as_dir" : 'X\(//\)$' \| \
23011
X"$as_dir" : 'X\(/\)' \| \
23012
. : '\(.\)' 2>/dev/null ||
28204
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23013
28205
echo X"$as_dir" |
23014
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23015
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23016
/^X\(\/\/\)$/{ s//\1/; q; }
23017
/^X\(\/\).*/{ s//\1/; q; }
28206
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28210
/^X\(\/\/\)[^/].*/{
28223
test -d "$as_dir" && break
23020
test ! -n "$as_dirs" || mkdir $as_dirs
23021
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23022
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
28225
test -z "$as_dirs" || eval "mkdir $as_dirs"
28226
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
28227
echo "$as_me: error: cannot create directory $as_dir" >&2;}
23023
28228
{ (exit 1); exit 1; }; }; }
23025
28229
ac_builddir=.
23027
if test "$ac_dir" != .; then
28232
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23028
28234
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23029
# A "../" for each directory in $ac_dir_suffix.
23030
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23032
ac_dir_suffix= ac_top_builddir=
28235
# A ".." for each directory in $ac_dir_suffix.
28236
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
28237
case $ac_top_builddir_sub in
28238
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28239
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28242
ac_abs_top_builddir=$ac_pwd
28243
ac_abs_builddir=$ac_pwd$ac_dir_suffix
28244
# for backward compatibility:
28245
ac_top_builddir=$ac_top_build_prefix
23035
28247
case $srcdir in
23036
.) # No --srcdir option. We are building in place.
28248
.) # We are building in place.
23038
if test -z "$ac_top_builddir"; then
23041
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23043
[\\/]* | ?:[\\/]* ) # Absolute path.
28250
ac_top_srcdir=$ac_top_builddir_sub
28251
ac_abs_top_srcdir=$ac_pwd ;;
28252
[\\/]* | ?:[\\/]* ) # Absolute name.
23044
28253
ac_srcdir=$srcdir$ac_dir_suffix;
23045
ac_top_srcdir=$srcdir ;;
23046
*) # Relative path.
23047
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23048
ac_top_srcdir=$ac_top_builddir$srcdir ;;
23051
# Do not use `cd foo && pwd` to compute absolute paths, because
23052
# the directories may not exist.
23054
.) ac_abs_builddir="$ac_dir";;
23057
.) ac_abs_builddir=`pwd`;;
23058
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23059
*) ac_abs_builddir=`pwd`/"$ac_dir";;
23062
case $ac_abs_builddir in
23063
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23065
case ${ac_top_builddir}. in
23066
.) ac_abs_top_builddir=$ac_abs_builddir;;
23067
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23068
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23071
case $ac_abs_builddir in
23072
.) ac_abs_srcdir=$ac_srcdir;;
23075
.) ac_abs_srcdir=$ac_abs_builddir;;
23076
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23077
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23080
case $ac_abs_builddir in
23081
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23083
case $ac_top_srcdir in
23084
.) ac_abs_top_srcdir=$ac_abs_builddir;;
23085
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23086
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
28254
ac_top_srcdir=$srcdir
28255
ac_abs_top_srcdir=$srcdir ;;
28256
*) # Relative name.
28257
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28258
ac_top_srcdir=$ac_top_build_prefix$srcdir
28259
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28261
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23091
28270
case $INSTALL in
23092
28271
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23093
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23096
if test x"$ac_file" != x-; then
23097
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23098
echo "$as_me: creating $ac_file" >&6;}
23101
# Let's still pretend it is `configure' which instantiates (i.e., don't
23102
# use $as_me), people would be surprised to read:
23103
# /* config.h. Generated by config.status. */
23104
if test x"$ac_file" = x-; then
23107
configure_input="$ac_file. "
23109
configure_input=$configure_input"Generated from `echo $ac_file_in |
23110
sed 's,.*/,,'` by configure."
23112
# First look for the input files in the build tree, otherwise in the
23114
ac_file_inputs=`IFS=:
23115
for f in $ac_file_in; do
23117
-) echo $tmp/stdin ;;
23119
# Absolute (can't be DOS-style, as IFS=:)
23120
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23121
echo "$as_me: error: cannot find input file: $f" >&2;}
23122
{ (exit 1); exit 1; }; }
23125
if test -f "$f"; then
23128
elif test -f "$srcdir/$f"; then
23133
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23134
echo "$as_me: error: cannot find input file: $f" >&2;}
23135
{ (exit 1); exit 1; }; }
23138
done` || { (exit 1); exit 1; }
28272
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28274
ac_MKDIR_P=$MKDIR_P
28276
[\\/$]* | ?:[\\/]* ) ;;
28277
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
28281
cat >>$CONFIG_STATUS <<\_ACEOF
28282
# If the template does not know about datarootdir, expand it.
28283
# FIXME: This hack should be removed a few years after 2.60.
28284
ac_datarootdir_hack=; ac_datarootdir_seen=
28286
case `sed -n '/datarootdir/ {
28295
' $ac_file_inputs` in
28296
*datarootdir*) ac_datarootdir_seen=yes;;
28297
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28298
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28299
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28301
cat >>$CONFIG_STATUS <<_ACEOF
28302
ac_datarootdir_hack='
28303
s&@datadir@&$datadir&g
28304
s&@docdir@&$docdir&g
28305
s&@infodir@&$infodir&g
28306
s&@localedir@&$localedir&g
28307
s&@mandir@&$mandir&g
28308
s&\\\${datarootdir}&$datarootdir&g' ;;
28312
# Neutralize VPATH when `$srcdir' = `.'.
28313
# Shell code in configure.ac might set extrasub.
28314
# FIXME: do we really want to maintain this feature?
23140
28315
cat >>$CONFIG_STATUS <<_ACEOF
23141
28316
sed "$ac_vpsub
23144
28319
cat >>$CONFIG_STATUS <<\_ACEOF
23146
28321
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23147
s,@configure_input@,$configure_input,;t t
23148
s,@srcdir@,$ac_srcdir,;t t
23149
s,@abs_srcdir@,$ac_abs_srcdir,;t t
23150
s,@top_srcdir@,$ac_top_srcdir,;t t
23151
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23152
s,@builddir@,$ac_builddir,;t t
23153
s,@abs_builddir@,$ac_abs_builddir,;t t
23154
s,@top_builddir@,$ac_top_builddir,;t t
23155
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23156
s,@INSTALL@,$ac_INSTALL,;t t
23157
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23159
if test x"$ac_file" != x-; then
23160
mv $tmp/out $ac_file
28322
s&@configure_input@&$configure_input&;t t
28323
s&@top_builddir@&$ac_top_builddir_sub&;t t
28324
s&@srcdir@&$ac_srcdir&;t t
28325
s&@abs_srcdir@&$ac_abs_srcdir&;t t
28326
s&@top_srcdir@&$ac_top_srcdir&;t t
28327
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28328
s&@builddir@&$ac_builddir&;t t
28329
s&@abs_builddir@&$ac_abs_builddir&;t t
28330
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28331
s&@INSTALL@&$ac_INSTALL&;t t
28332
s&@MKDIR_P@&$ac_MKDIR_P&;t t
28333
$ac_datarootdir_hack
28334
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
28336
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28337
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
28338
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
28339
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28340
which seems to be undefined. Please make sure it is defined." >&5
28341
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28342
which seems to be undefined. Please make sure it is defined." >&2;}
28346
-) cat "$tmp/out"; rm -f "$tmp/out";;
28347
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23168
cat >>$CONFIG_STATUS <<\_ACEOF
23171
# CONFIG_HEADER section.
23174
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
23175
# NAME is the cpp macro being defined and VALUE is the value it is being given.
23177
# ac_d sets the value in "#define NAME VALUE" lines.
23178
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
23179
ac_dB='[ ].*$,\1#\2'
28356
# Transform confdefs.h into a sed script `conftest.defines', that
28357
# substitutes the proper values into config.h.in to produce config.h.
28358
rm -f conftest.defines conftest.tail
28359
# First, append a space to every undef/define line, to ease matching.
28360
echo 's/$/ /' >conftest.defines
28361
# Then, protect against being on the right side of a sed subst, or in
28362
# an unquoted here document, in config.status. If some macros were
28363
# called several times there might be several #defines for the same
28364
# symbol, which is useless. But do not sort them, since the last
28365
# AC_DEFINE must be honored.
28366
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28367
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
28368
# NAME is the cpp macro being defined, VALUE is the value it is being given.
28369
# PARAMS is the parameter list in the macro definition--in most cases, it's
28370
# just an empty string.
28371
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
28372
ac_dB='\\)[ (].*,\\1define\\2'
23182
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
23183
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
23184
ac_uB='$,\1#\2define\3'
23188
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
23189
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23191
- | *:- | *:-:* ) # input from stdin
23193
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23194
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23195
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23196
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23197
* ) ac_file_in=$ac_file.in ;;
23200
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
23201
echo "$as_me: creating $ac_file" >&6;}
23203
# First look for the input files in the build tree, otherwise in the
23205
ac_file_inputs=`IFS=:
23206
for f in $ac_file_in; do
23208
-) echo $tmp/stdin ;;
23210
# Absolute (can't be DOS-style, as IFS=:)
23211
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23212
echo "$as_me: error: cannot find input file: $f" >&2;}
23213
{ (exit 1); exit 1; }; }
23214
# Do quote $f, to prevent DOS paths from being IFS'd.
23217
if test -f "$f"; then
23220
elif test -f "$srcdir/$f"; then
23225
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23226
echo "$as_me: error: cannot find input file: $f" >&2;}
23227
{ (exit 1); exit 1; }; }
23230
done` || { (exit 1); exit 1; }
23231
# Remove the trailing spaces.
23232
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
23236
# Transform confdefs.h into two sed scripts, `conftest.defines' and
23237
# `conftest.undefs', that substitutes the proper values into
23238
# config.h.in to produce config.h. The first handles `#define'
23239
# templates, and the second `#undef' templates.
23240
# And first: Protect against being on the right side of a sed subst in
23241
# config.status. Protect against being in an unquoted here document
23242
# in config.status.
23243
rm -f conftest.defines conftest.undefs
23244
# Using a here document instead of a string reduces the quoting nightmare.
23245
# Putting comments in sed scripts is not portable.
23247
# `end' is used to avoid that the second main sed command (meant for
23248
# 0-ary CPP macros) applies to n-ary macro definitions.
23249
# See the Autoconf documentation for `clear'.
23250
cat >confdef2sed.sed <<\_ACEOF
23255
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
23257
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
23260
# If some macros were called several times there might be several times
23261
# the same #defines, which is useless. Nevertheless, we may not want to
23262
# sort them, since we want the *last* AC-DEFINE to be honored.
23263
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
23264
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
23265
rm -f confdef2sed.sed
23267
# This sed command replaces #undef with comments. This is necessary, for
28380
s/^[ ]*#[ ]*define[ ][ ]*//
28385
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
28386
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
28387
' >>conftest.defines
28389
# Remove the space that was appended to ease matching.
28390
# Then replace #undef with comments. This is necessary, for
23268
28391
# example, in the case of _POSIX_SOURCE, which is predefined and required
23269
28392
# on some systems where configure will not decide to define it.
23270
cat >>conftest.undefs <<\_ACEOF
23271
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
28393
# (The regexp can be short, since the line contains either #define or #undef.)
28395
s,^[ #]*u.*,/* & */,' >>conftest.defines
28397
# Break up conftest.defines:
28398
ac_max_sed_lines=50
28400
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
28401
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
28402
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
28404
ac_in='$ac_file_inputs'
28405
ac_out='"$tmp/out1"'
28406
ac_nxt='"$tmp/out2"'
28410
# Write a here document:
28411
cat >>$CONFIG_STATUS <<_ACEOF
28412
# First, check the format of the line:
28413
cat >"\$tmp/defines.sed" <<\\CEOF
28414
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
28415
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
23274
# Break up conftest.defines because some shells have a limit on the size
23275
# of here documents, and old seds have small limits too (100 cmds).
23276
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
23277
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
23278
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
23279
echo ' :' >>$CONFIG_STATUS
23280
rm -f conftest.tail
23281
while grep . conftest.defines >/dev/null
23283
# Write a limited-size here document to $tmp/defines.sed.
23284
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
23285
# Speed up: don't consider the non `#define' lines.
23286
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
23287
# Work around the forget-to-reset-the-flag bug.
23288
echo 't clr' >>$CONFIG_STATUS
23289
echo ': clr' >>$CONFIG_STATUS
23290
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
28419
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23292
sed -f $tmp/defines.sed $tmp/in >$tmp/out
23294
mv $tmp/out $tmp/in
23296
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
28421
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
28422
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
28423
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
28424
grep . conftest.tail >/dev/null || break
23297
28425
rm -f conftest.defines
23298
28426
mv conftest.tail conftest.defines
23300
rm -f conftest.defines
23301
echo ' fi # grep' >>$CONFIG_STATUS
23302
echo >>$CONFIG_STATUS
23304
# Break up conftest.undefs because some shells have a limit on the size
23305
# of here documents, and old seds have small limits too (100 cmds).
23306
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
23307
rm -f conftest.tail
23308
while grep . conftest.undefs >/dev/null
23310
# Write a limited-size here document to $tmp/undefs.sed.
23311
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
23312
# Speed up: don't consider the non `#undef'
23313
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
23314
# Work around the forget-to-reset-the-flag bug.
23315
echo 't clr' >>$CONFIG_STATUS
23316
echo ': clr' >>$CONFIG_STATUS
23317
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
23319
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
23321
mv $tmp/out $tmp/in
23323
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
23324
rm -f conftest.undefs
23325
mv conftest.tail conftest.undefs
23327
rm -f conftest.undefs
28428
rm -f conftest.defines conftest.tail
28430
echo "ac_result=$ac_in" >>$CONFIG_STATUS
23329
28431
cat >>$CONFIG_STATUS <<\_ACEOF
23330
# Let's still pretend it is `configure' which instantiates (i.e., don't
23331
# use $as_me), people would be surprised to read:
23332
# /* config.h. Generated by config.status. */
23333
if test x"$ac_file" = x-; then
23334
echo "/* Generated by configure. */" >$tmp/config.h
23336
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
23338
cat $tmp/in >>$tmp/config.h
23340
28432
if test x"$ac_file" != x-; then
23341
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
28433
echo "/* $configure_input */" >"$tmp/config.h"
28434
cat "$ac_result" >>"$tmp/config.h"
28435
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23342
28436
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23343
28437
echo "$as_me: $ac_file is unchanged" >&6;}
23345
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23346
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23347
X"$ac_file" : 'X\(//\)[^/]' \| \
23348
X"$ac_file" : 'X\(//\)$' \| \
23349
X"$ac_file" : 'X\(/\)' \| \
23350
. : '\(.\)' 2>/dev/null ||
23352
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23353
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23354
/^X\(\/\/\)$/{ s//\1/; q; }
23355
/^X\(\/\).*/{ s//\1/; q; }
23357
{ if $as_mkdir_p; then
23362
while test ! -d "$as_dir"; do
23363
as_dirs="$as_dir $as_dirs"
23364
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23365
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23366
X"$as_dir" : 'X\(//\)[^/]' \| \
23367
X"$as_dir" : 'X\(//\)$' \| \
23368
X"$as_dir" : 'X\(/\)' \| \
23369
. : '\(.\)' 2>/dev/null ||
23371
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23372
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23373
/^X\(\/\/\)$/{ s//\1/; q; }
23374
/^X\(\/\).*/{ s//\1/; q; }
23377
test ! -n "$as_dirs" || mkdir $as_dirs
23378
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23379
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23380
{ (exit 1); exit 1; }; }; }
23382
28439
rm -f $ac_file
23383
mv $tmp/config.h $ac_file
28440
mv "$tmp/config.h" $ac_file
23387
rm -f $tmp/config.h
28443
echo "/* $configure_input */"
23391
cat >>$CONFIG_STATUS <<\_ACEOF
23394
# CONFIG_COMMANDS section.
23396
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
23397
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
23398
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
23399
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
23400
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23401
X"$ac_dest" : 'X\(//\)[^/]' \| \
23402
X"$ac_dest" : 'X\(//\)$' \| \
23403
X"$ac_dest" : 'X\(/\)' \| \
23404
. : '\(.\)' 2>/dev/null ||
23406
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23407
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23408
/^X\(\/\/\)$/{ s//\1/; q; }
23409
/^X\(\/\).*/{ s//\1/; q; }
23411
{ if $as_mkdir_p; then
23416
while test ! -d "$as_dir"; do
23417
as_dirs="$as_dir $as_dirs"
23418
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23419
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23420
X"$as_dir" : 'X\(//\)[^/]' \| \
23421
X"$as_dir" : 'X\(//\)$' \| \
23422
X"$as_dir" : 'X\(/\)' \| \
23423
. : '\(.\)' 2>/dev/null ||
23425
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23426
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
23427
/^X\(\/\/\)$/{ s//\1/; q; }
23428
/^X\(\/\).*/{ s//\1/; q; }
23431
test ! -n "$as_dirs" || mkdir $as_dirs
23432
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23433
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23434
{ (exit 1); exit 1; }; }; }
23438
if test "$ac_dir" != .; then
23439
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23440
# A "../" for each directory in $ac_dir_suffix.
23441
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23443
ac_dir_suffix= ac_top_builddir=
23447
.) # No --srcdir option. We are building in place.
23449
if test -z "$ac_top_builddir"; then
23452
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23454
[\\/]* | ?:[\\/]* ) # Absolute path.
23455
ac_srcdir=$srcdir$ac_dir_suffix;
23456
ac_top_srcdir=$srcdir ;;
23457
*) # Relative path.
23458
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23459
ac_top_srcdir=$ac_top_builddir$srcdir ;;
23462
# Do not use `cd foo && pwd` to compute absolute paths, because
23463
# the directories may not exist.
23465
.) ac_abs_builddir="$ac_dir";;
23468
.) ac_abs_builddir=`pwd`;;
23469
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
23470
*) ac_abs_builddir=`pwd`/"$ac_dir";;
23473
case $ac_abs_builddir in
23474
.) ac_abs_top_builddir=${ac_top_builddir}.;;
23476
case ${ac_top_builddir}. in
23477
.) ac_abs_top_builddir=$ac_abs_builddir;;
23478
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
23479
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
23482
case $ac_abs_builddir in
23483
.) ac_abs_srcdir=$ac_srcdir;;
23486
.) ac_abs_srcdir=$ac_abs_builddir;;
23487
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
23488
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
23491
case $ac_abs_builddir in
23492
.) ac_abs_top_srcdir=$ac_top_srcdir;;
23494
case $ac_top_srcdir in
23495
.) ac_abs_top_srcdir=$ac_abs_builddir;;
23496
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
23497
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23502
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
23503
echo "$as_me: executing $ac_dest commands" >&6;}
28449
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
28450
echo "$as_me: executing $ac_file commands" >&6;}
28455
case $ac_file$ac_mode in
28456
"po-directories":C)
23506
28457
for ac_file in $CONFIG_FILES; do
23507
28458
# Support "outfile[:infile[:infile...]]"
23508
28459
case "$ac_file" in