2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for Protocol Buffers 2.3.0.
3
# Generated by GNU Autoconf 2.65 for Protocol Buffers 2.4.0a.
5
5
# Report bugs to <protobuf@googlegroups.com>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
# is contrary to our usage. Disable this feature.
22
26
alias -g '${1+"$@"}'='"$@"'
23
27
setopt NO_GLOB_SUBST
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
29
case `(set -o) 2>/dev/null` in #(
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
91
112
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
156
138
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
158
178
as_have_required=yes
160
180
as_have_required=no
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
190
test -z "$as_dir" && as_dir=.
230
194
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: protobuf@googlegroups.com about your system, including
235
$0: any error possibly output before this message. Then
236
$0: install a modern shell, or manually run the script
237
$0: under such a shell if you do have one."
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1583
1623
test -n "$ac_init_help" && exit $ac_status
1584
1624
if $ac_init_version; then
1586
Protocol Buffers configure 2.3.0
1587
generated by GNU Autoconf 2.61
1626
Protocol Buffers configure 2.4.0a
1627
generated by GNU Autoconf 2.65
1589
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1590
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1629
Copyright (C) 2009 Free Software Foundation, Inc.
1591
1630
This configure script is free software; the Free Software Foundation
1592
1631
gives unlimited permission to copy, distribute and modify it.
1636
## ------------------------ ##
1637
## Autoconf initialization. ##
1638
## ------------------------ ##
1640
# ac_fn_c_try_compile LINENO
1641
# --------------------------
1642
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1643
ac_fn_c_try_compile ()
1645
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646
rm -f conftest.$ac_objext
1647
if { { ac_try="$ac_compile"
1649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1650
*) ac_try_echo=$ac_try;;
1652
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1653
$as_echo "$ac_try_echo"; } >&5
1654
(eval "$ac_compile") 2>conftest.err
1656
if test -s conftest.err; then
1657
grep -v '^ *+' conftest.err >conftest.er1
1658
cat conftest.er1 >&5
1659
mv -f conftest.er1 conftest.err
1661
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1662
test $ac_status = 0; } && {
1663
test -z "$ac_c_werror_flag" ||
1664
test ! -s conftest.err
1665
} && test -s conftest.$ac_objext; then :
1668
$as_echo "$as_me: failed program was:" >&5
1669
sed 's/^/| /' conftest.$ac_ext >&5
1673
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1674
as_fn_set_status $ac_retval
1676
} # ac_fn_c_try_compile
1678
# ac_fn_cxx_try_compile LINENO
1679
# ----------------------------
1680
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1681
ac_fn_cxx_try_compile ()
1683
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684
rm -f conftest.$ac_objext
1685
if { { ac_try="$ac_compile"
1687
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688
*) ac_try_echo=$ac_try;;
1690
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691
$as_echo "$ac_try_echo"; } >&5
1692
(eval "$ac_compile") 2>conftest.err
1694
if test -s conftest.err; then
1695
grep -v '^ *+' conftest.err >conftest.er1
1696
cat conftest.er1 >&5
1697
mv -f conftest.er1 conftest.err
1699
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1700
test $ac_status = 0; } && {
1701
test -z "$ac_cxx_werror_flag" ||
1702
test ! -s conftest.err
1703
} && test -s conftest.$ac_objext; then :
1706
$as_echo "$as_me: failed program was:" >&5
1707
sed 's/^/| /' conftest.$ac_ext >&5
1711
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1712
as_fn_set_status $ac_retval
1714
} # ac_fn_cxx_try_compile
1716
# ac_fn_cxx_try_cpp LINENO
1717
# ------------------------
1718
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1719
ac_fn_cxx_try_cpp ()
1721
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722
if { { ac_try="$ac_cpp conftest.$ac_ext"
1724
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725
*) ac_try_echo=$ac_try;;
1727
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728
$as_echo "$ac_try_echo"; } >&5
1729
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1731
if test -s conftest.err; then
1732
grep -v '^ *+' conftest.err >conftest.er1
1733
cat conftest.er1 >&5
1734
mv -f conftest.er1 conftest.err
1736
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737
test $ac_status = 0; } >/dev/null && {
1738
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1739
test ! -s conftest.err
1743
$as_echo "$as_me: failed program was:" >&5
1744
sed 's/^/| /' conftest.$ac_ext >&5
1748
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749
as_fn_set_status $ac_retval
1751
} # ac_fn_cxx_try_cpp
1753
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1754
# ---------------------------------------------------------
1755
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1756
# the include files in INCLUDES and setting the cache variable VAR
1758
ac_fn_cxx_check_header_mongrel ()
1760
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1763
$as_echo_n "checking for $2... " >&6; }
1764
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765
$as_echo_n "(cached) " >&6
1768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769
$as_echo "$ac_res" >&6; }
1771
# Is the header compilable?
1772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1773
$as_echo_n "checking $2 usability... " >&6; }
1774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
/* end confdefs.h. */
1779
if ac_fn_cxx_try_compile "$LINENO"; then :
1780
ac_header_compiler=yes
1782
ac_header_compiler=no
1784
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1786
$as_echo "$ac_header_compiler" >&6; }
1788
# Is the header present?
1789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1790
$as_echo_n "checking $2 presence... " >&6; }
1791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792
/* end confdefs.h. */
1795
if ac_fn_cxx_try_cpp "$LINENO"; then :
1796
ac_header_preproc=yes
1798
ac_header_preproc=no
1800
rm -f conftest.err conftest.$ac_ext
1801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1802
$as_echo "$ac_header_preproc" >&6; }
1804
# So? What about this header?
1805
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1807
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1808
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1809
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1810
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1813
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1814
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1815
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1816
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1817
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1818
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1820
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1821
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1822
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1824
## ---------------------------------------- ##
1825
## Report this to protobuf@googlegroups.com ##
1826
## ---------------------------------------- ##
1828
) | sed "s/^/$as_me: WARNING: /" >&2
1831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1832
$as_echo_n "checking for $2... " >&6; }
1833
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1834
$as_echo_n "(cached) " >&6
1836
eval "$3=\$ac_header_compiler"
1839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840
$as_echo "$ac_res" >&6; }
1842
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1844
} # ac_fn_cxx_check_header_mongrel
1846
# ac_fn_cxx_try_run LINENO
1847
# ------------------------
1848
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1849
# that executables *can* be run.
1850
ac_fn_cxx_try_run ()
1852
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853
if { { ac_try="$ac_link"
1855
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1856
*) ac_try_echo=$ac_try;;
1858
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859
$as_echo "$ac_try_echo"; } >&5
1860
(eval "$ac_link") 2>&5
1862
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1864
{ { case "(($ac_try" in
1865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866
*) ac_try_echo=$ac_try;;
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869
$as_echo "$ac_try_echo"; } >&5
1870
(eval "$ac_try") 2>&5
1872
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873
test $ac_status = 0; }; }; then :
1876
$as_echo "$as_me: program exited with status $ac_status" >&5
1877
$as_echo "$as_me: failed program was:" >&5
1878
sed 's/^/| /' conftest.$ac_ext >&5
1880
ac_retval=$ac_status
1882
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1883
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884
as_fn_set_status $ac_retval
1886
} # ac_fn_cxx_try_run
1888
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1889
# ---------------------------------------------------------
1890
# Tests whether HEADER exists and can be compiled using the include files in
1891
# INCLUDES, setting the cache variable VAR accordingly.
1892
ac_fn_cxx_check_header_compile ()
1894
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896
$as_echo_n "checking for $2... " >&6; }
1897
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1898
$as_echo_n "(cached) " >&6
1900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901
/* end confdefs.h. */
1905
if ac_fn_cxx_try_compile "$LINENO"; then :
1910
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914
$as_echo "$ac_res" >&6; }
1915
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917
} # ac_fn_cxx_check_header_compile
1919
# ac_fn_cxx_check_decl LINENO SYMBOL VAR
1920
# --------------------------------------
1921
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1922
ac_fn_cxx_check_decl ()
1924
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1926
$as_echo_n "checking whether $2 is declared... " >&6; }
1927
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1928
$as_echo_n "(cached) " >&6
1930
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931
/* end confdefs.h. */
1944
if ac_fn_cxx_try_compile "$LINENO"; then :
1949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953
$as_echo "$ac_res" >&6; }
1954
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1956
} # ac_fn_cxx_check_decl
1958
# ac_fn_c_try_link LINENO
1959
# -----------------------
1960
# Try to link conftest.$ac_ext, and return whether this succeeded.
1963
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964
rm -f conftest.$ac_objext conftest$ac_exeext
1965
if { { ac_try="$ac_link"
1967
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968
*) ac_try_echo=$ac_try;;
1970
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971
$as_echo "$ac_try_echo"; } >&5
1972
(eval "$ac_link") 2>conftest.err
1974
if test -s conftest.err; then
1975
grep -v '^ *+' conftest.err >conftest.er1
1976
cat conftest.er1 >&5
1977
mv -f conftest.er1 conftest.err
1979
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1980
test $ac_status = 0; } && {
1981
test -z "$ac_c_werror_flag" ||
1982
test ! -s conftest.err
1983
} && test -s conftest$ac_exeext && {
1984
test "$cross_compiling" = yes ||
1985
$as_test_x conftest$ac_exeext
1989
$as_echo "$as_me: failed program was:" >&5
1990
sed 's/^/| /' conftest.$ac_ext >&5
1994
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1995
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1996
# interfere with the next link command; also delete a directory that is
1997
# left behind by Apple's compiler. We do this before executing the actions.
1998
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1999
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2000
as_fn_set_status $ac_retval
2002
} # ac_fn_c_try_link
2004
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2005
# -------------------------------------------------------
2006
# Tests whether HEADER exists and can be compiled using the include files in
2007
# INCLUDES, setting the cache variable VAR accordingly.
2008
ac_fn_c_check_header_compile ()
2010
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2012
$as_echo_n "checking for $2... " >&6; }
2013
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2014
$as_echo_n "(cached) " >&6
2016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017
/* end confdefs.h. */
2021
if ac_fn_c_try_compile "$LINENO"; then :
2026
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2030
$as_echo "$ac_res" >&6; }
2031
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033
} # ac_fn_c_check_header_compile
2035
# ac_fn_c_check_func LINENO FUNC VAR
2036
# ----------------------------------
2037
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2038
ac_fn_c_check_func ()
2040
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2042
$as_echo_n "checking for $2... " >&6; }
2043
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2044
$as_echo_n "(cached) " >&6
2046
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2047
/* end confdefs.h. */
2048
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2049
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2050
#define $2 innocuous_$2
2052
/* System header to define __stub macros and hopefully few prototypes,
2053
which can conflict with char $2 (); below.
2054
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2055
<limits.h> exists even on freestanding compilers. */
2058
# include <limits.h>
2060
# include <assert.h>
2065
/* Override any GCC internal prototype to avoid an error.
2066
Use char because int might match the return type of a GCC
2067
builtin and then its argument prototype would still apply. */
2072
/* The GNU C library defines this for functions which it implements
2073
to always fail with ENOSYS. Some functions are actually named
2074
something starting with __ and the normal name is an alias. */
2075
#if defined __stub_$2 || defined __stub___$2
2087
if ac_fn_c_try_link "$LINENO"; then :
2092
rm -f core conftest.err conftest.$ac_objext \
2093
conftest$ac_exeext conftest.$ac_ext
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097
$as_echo "$ac_res" >&6; }
2098
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2100
} # ac_fn_c_check_func
2102
# ac_fn_cxx_try_link LINENO
2103
# -------------------------
2104
# Try to link conftest.$ac_ext, and return whether this succeeded.
2105
ac_fn_cxx_try_link ()
2107
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108
rm -f conftest.$ac_objext conftest$ac_exeext
2109
if { { ac_try="$ac_link"
2111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112
*) ac_try_echo=$ac_try;;
2114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115
$as_echo "$ac_try_echo"; } >&5
2116
(eval "$ac_link") 2>conftest.err
2118
if test -s conftest.err; then
2119
grep -v '^ *+' conftest.err >conftest.er1
2120
cat conftest.er1 >&5
2121
mv -f conftest.er1 conftest.err
2123
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124
test $ac_status = 0; } && {
2125
test -z "$ac_cxx_werror_flag" ||
2126
test ! -s conftest.err
2127
} && test -s conftest$ac_exeext && {
2128
test "$cross_compiling" = yes ||
2129
$as_test_x conftest$ac_exeext
2133
$as_echo "$as_me: failed program was:" >&5
2134
sed 's/^/| /' conftest.$ac_ext >&5
2138
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2139
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2140
# interfere with the next link command; also delete a directory that is
2141
# left behind by Apple's compiler. We do this before executing the actions.
2142
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2143
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144
as_fn_set_status $ac_retval
2146
} # ac_fn_cxx_try_link
2148
# ac_fn_cxx_check_func LINENO FUNC VAR
2149
# ------------------------------------
2150
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2151
ac_fn_cxx_check_func ()
2153
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155
$as_echo_n "checking for $2... " >&6; }
2156
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2157
$as_echo_n "(cached) " >&6
2159
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160
/* end confdefs.h. */
2161
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2162
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2163
#define $2 innocuous_$2
2165
/* System header to define __stub macros and hopefully few prototypes,
2166
which can conflict with char $2 (); below.
2167
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2168
<limits.h> exists even on freestanding compilers. */
2171
# include <limits.h>
2173
# include <assert.h>
2178
/* Override any GCC internal prototype to avoid an error.
2179
Use char because int might match the return type of a GCC
2180
builtin and then its argument prototype would still apply. */
2185
/* The GNU C library defines this for functions which it implements
2186
to always fail with ENOSYS. Some functions are actually named
2187
something starting with __ and the normal name is an alias. */
2188
#if defined __stub_$2 || defined __stub___$2
2200
if ac_fn_cxx_try_link "$LINENO"; then :
2205
rm -f core conftest.err conftest.$ac_objext \
2206
conftest$ac_exeext conftest.$ac_ext
2209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210
$as_echo "$ac_res" >&6; }
2211
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2213
} # ac_fn_cxx_check_func
1596
2214
cat >config.log <<_ACEOF
1597
2215
This file contains any messages produced by compilers while
1598
2216
running configure, to aid debugging if configure makes a mistake.
1600
It was created by Protocol Buffers $as_me 2.3.0, which was
1601
generated by GNU Autoconf 2.61. Invocation command line was
2218
It was created by Protocol Buffers $as_me 2.4.0a, which was
2219
generated by GNU Autoconf 2.65. Invocation command line was
2248
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2249
Check your system clock" >&5
2250
echo "$as_me: error: newly created file is older than distributed files!
2251
Check your system clock" >&2;}
2252
{ (exit 1); exit 1; }; }
2857
as_fn_error "newly created file is older than distributed files!
2858
Check your system clock" "$LINENO" 5
2254
{ echo "$as_me:$LINENO: result: yes" >&5
2255
echo "${ECHO_T}yes" >&6; }
2860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2861
$as_echo "yes" >&6; }
2256
2862
test "$program_prefix" != NONE &&
2257
2863
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2258
2864
# Use a double $ so make ignores it.
2259
2865
test "$program_suffix" != NONE &&
2260
2866
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2261
# Double any \ or $. echo might interpret backslashes.
2867
# Double any \ or $.
2262
2868
# By default was `s,x,x', remove it if useless.
2263
cat <<\_ACEOF >conftest.sed
2264
s/[\\$]/&&/g;s/;s,x,x,$//
2266
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2869
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2870
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2269
2872
# expand $ac_aux_dir to an absolute path
2270
2873
am_aux_dir=`cd $ac_aux_dir && pwd`
2272
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2875
if test x"${MISSING+set}" != xset; then
2878
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2880
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2273
2883
# Use eval to expand $SHELL
2274
2884
if eval "$MISSING --run true"; then
2275
2885
am_missing_run="$MISSING --run "
2277
2887
am_missing_run=
2278
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2279
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2282
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2283
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2889
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2892
if test x"${install_sh}" != xset; then
2895
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2897
install_sh="\${SHELL} $am_aux_dir/install-sh"
2901
# Installed binaries are usually stripped using `strip' when the user
2902
# run `make install-strip'. However `strip' might not be the right
2903
# tool to use in cross-compilation environments, therefore Automake
2904
# will honor the `STRIP' environment variable to overrule this program.
2905
if test "$cross_compiling" != no; then
2906
if test -n "$ac_tool_prefix"; then
2907
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2908
set dummy ${ac_tool_prefix}strip; ac_word=$2
2909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2910
$as_echo_n "checking for $ac_word... " >&6; }
2911
if test "${ac_cv_prog_STRIP+set}" = set; then :
2912
$as_echo_n "(cached) " >&6
2914
if test -n "$STRIP"; then
2915
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2921
test -z "$as_dir" && as_dir=.
2922
for ac_exec_ext in '' $ac_executable_extensions; do
2923
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2924
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2925
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2934
STRIP=$ac_cv_prog_STRIP
2935
if test -n "$STRIP"; then
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2937
$as_echo "$STRIP" >&6; }
2939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2940
$as_echo "no" >&6; }
2945
if test -z "$ac_cv_prog_STRIP"; then
2947
# Extract the first word of "strip", so it can be a program name with args.
2948
set dummy strip; ac_word=$2
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2950
$as_echo_n "checking for $ac_word... " >&6; }
2951
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2952
$as_echo_n "(cached) " >&6
2954
if test -n "$ac_ct_STRIP"; then
2955
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2957
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961
test -z "$as_dir" && as_dir=.
2962
for ac_exec_ext in '' $ac_executable_extensions; do
2963
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2964
ac_cv_prog_ac_ct_STRIP="strip"
2965
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2974
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2975
if test -n "$ac_ct_STRIP"; then
2976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2977
$as_echo "$ac_ct_STRIP" >&6; }
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2980
$as_echo "no" >&6; }
2983
if test "x$ac_ct_STRIP" = x; then
2986
case $cross_compiling:$ac_tool_warned in
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2989
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2990
ac_tool_warned=yes ;;
2995
STRIP="$ac_cv_prog_STRIP"
2999
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3002
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2284
3003
if test -z "$MKDIR_P"; then
2285
if test "${ac_cv_path_mkdir+set}" = set; then
2286
echo $ECHO_N "(cached) $ECHO_C" >&6
3004
if test "${ac_cv_path_mkdir+set}" = set; then :
3005
$as_echo_n "(cached) " >&6
2288
3007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289
3008
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2291
3010
IFS=$as_save_IFS
2292
3011
test -z "$as_dir" && as_dir=.
2293
for ac_prog in mkdir gmkdir; do
3012
for ac_prog in mkdir gmkdir; do
2294
3013
for ac_exec_ext in '' $ac_executable_extensions; do
2295
3014
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2296
3015
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3035
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3036
echo "${ECHO_T}$ac_file" >&6; }
3037
if test -z "$ac_file"; then
3038
echo "$as_me: failed program was:" >&5
3620
if test -z "$ac_file"; then :
3621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3622
$as_echo "no" >&6; }
3623
$as_echo "$as_me: failed program was:" >&5
3039
3624
sed 's/^/| /' conftest.$ac_ext >&5
3041
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3042
See \`config.log' for more details." >&5
3043
echo "$as_me: error: C compiler cannot create executables
3044
See \`config.log' for more details." >&2;}
3045
{ (exit 77); exit 77; }; }
3626
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3628
{ as_fn_set_status 77
3629
as_fn_error "C compiler cannot create executables
3630
See \`config.log' for more details." "$LINENO" 5; }; }
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3633
$as_echo "yes" >&6; }
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3636
$as_echo_n "checking for C compiler default output file name... " >&6; }
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3638
$as_echo "$ac_file" >&6; }
3048
3639
ac_exeext=$ac_cv_exeext
3050
# Check that the compiler produces executables we can run. If not, either
3051
# the compiler is broken, or we cross compile.
3052
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3053
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3054
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3055
# If not cross compiling, check that we can run a simple program.
3056
if test "$cross_compiling" != yes; then
3057
if { ac_try='./$ac_file'
3058
{ (case "(($ac_try" in
3059
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060
*) ac_try_echo=$ac_try;;
3062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063
(eval "$ac_try") 2>&5
3065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066
(exit $ac_status); }; }; then
3069
if test "$cross_compiling" = maybe; then
3072
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3073
If you meant to cross compile, use \`--host'.
3074
See \`config.log' for more details." >&5
3075
echo "$as_me: error: cannot run C compiled programs.
3076
If you meant to cross compile, use \`--host'.
3077
See \`config.log' for more details." >&2;}
3078
{ (exit 1); exit 1; }; }
3082
{ echo "$as_me:$LINENO: result: yes" >&5
3083
echo "${ECHO_T}yes" >&6; }
3085
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3641
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3086
3642
ac_clean_files=$ac_clean_files_save
3087
# Check that the compiler produces executables we can run. If not, either
3088
# the compiler is broken, or we cross compile.
3089
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3090
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3091
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3092
echo "${ECHO_T}$cross_compiling" >&6; }
3094
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3095
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3096
if { (ac_try="$ac_link"
3643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3644
$as_echo_n "checking for suffix of executables... " >&6; }
3645
if { { ac_try="$ac_link"
3097
3646
case "(($ac_try" in
3098
3647
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099
3648
*) ac_try_echo=$ac_try;;
3101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3650
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3651
$as_echo "$ac_try_echo"; } >&5
3102
3652
(eval "$ac_link") 2>&5
3104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105
(exit $ac_status); }; then
3654
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3655
test $ac_status = 0; }; then :
3106
3656
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3107
3657
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3108
3658
# work properly (i.e., refer to `conftest.exe'), while it won't with
4836
if test "${ac_cv_header_minix_config_h+set}" = set; then
4837
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
4838
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4839
if test "${ac_cv_header_minix_config_h+set}" = set; then
4840
echo $ECHO_N "(cached) $ECHO_C" >&6
4842
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4843
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4845
# Is the header compilable?
4846
{ echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4847
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4848
cat >conftest.$ac_ext <<_ACEOF
4851
cat confdefs.h >>conftest.$ac_ext
4852
cat >>conftest.$ac_ext <<_ACEOF
4853
/* end confdefs.h. */
4854
$ac_includes_default
4855
#include <minix/config.h>
4857
rm -f conftest.$ac_objext
4858
if { (ac_try="$ac_compile"
4860
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4861
*) ac_try_echo=$ac_try;;
4863
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4864
(eval "$ac_compile") 2>conftest.er1
4866
grep -v '^ *+' conftest.er1 >conftest.err
4868
cat conftest.err >&5
4869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870
(exit $ac_status); } && {
4871
test -z "$ac_cxx_werror_flag" ||
4872
test ! -s conftest.err
4873
} && test -s conftest.$ac_objext; then
4874
ac_header_compiler=yes
4876
echo "$as_me: failed program was:" >&5
4877
sed 's/^/| /' conftest.$ac_ext >&5
4879
ac_header_compiler=no
4882
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4884
echo "${ECHO_T}$ac_header_compiler" >&6; }
4886
# Is the header present?
4887
{ echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4888
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4889
cat >conftest.$ac_ext <<_ACEOF
4892
cat confdefs.h >>conftest.$ac_ext
4893
cat >>conftest.$ac_ext <<_ACEOF
4894
/* end confdefs.h. */
4895
#include <minix/config.h>
4897
if { (ac_try="$ac_cpp conftest.$ac_ext"
4899
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4900
*) ac_try_echo=$ac_try;;
4902
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4905
grep -v '^ *+' conftest.er1 >conftest.err
4907
cat conftest.err >&5
4908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909
(exit $ac_status); } >/dev/null && {
4910
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4911
test ! -s conftest.err
4913
ac_header_preproc=yes
4915
echo "$as_me: failed program was:" >&5
4916
sed 's/^/| /' conftest.$ac_ext >&5
4918
ac_header_preproc=no
4921
rm -f conftest.err conftest.$ac_ext
4922
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4923
echo "${ECHO_T}$ac_header_preproc" >&6; }
4925
# So? What about this header?
4926
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
4928
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4929
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4930
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4931
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4932
ac_header_preproc=yes
4935
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4936
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4937
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4938
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4939
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4940
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4941
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4942
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4943
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4944
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4945
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4946
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4948
## ---------------------------------------- ##
4949
## Report this to protobuf@googlegroups.com ##
4950
## ---------------------------------------- ##
4952
) | sed "s/^/$as_me: WARNING: /" >&2
4955
{ echo "$as_me:$LINENO: checking for minix/config.h" >&5
4956
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4957
if test "${ac_cv_header_minix_config_h+set}" = set; then
4958
echo $ECHO_N "(cached) $ECHO_C" >&6
4960
ac_cv_header_minix_config_h=$ac_header_preproc
4962
{ echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4963
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4966
if test $ac_cv_header_minix_config_h = yes; then
4979
ac_fn_cxx_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4980
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4973
if test "$MINIX" = yes; then
4975
cat >>confdefs.h <<\_ACEOF
4976
#define _POSIX_SOURCE 1
4980
cat >>confdefs.h <<\_ACEOF
4981
#define _POSIX_1_SOURCE 2
4985
cat >>confdefs.h <<\_ACEOF
5003
{ echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
5004
echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
5005
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
5006
echo $ECHO_N "(cached) $ECHO_C" >&6
4987
if test "$MINIX" = yes; then
4989
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4992
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4995
$as_echo "#define _MINIX 1" >>confdefs.h
5000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5001
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5002
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5003
$as_echo_n "(cached) " >&6
5008
cat >conftest.$ac_ext <<_ACEOF
5011
cat confdefs.h >>conftest.$ac_ext
5012
cat >>conftest.$ac_ext <<_ACEOF
5005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5013
5006
/* end confdefs.h. */
5015
5008
# define __EXTENSIONS__ 1
9425
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9426
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9427
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9428
echo $ECHO_N "(cached) $ECHO_C" >&6
9430
lt_cv_prog_compiler_c_o=no
9431
$RM -r conftest 2>/dev/null
9435
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9437
lt_compiler_flag="-o out/conftest2.$ac_objext"
9438
# Insert the option either (1) after the last *FLAGS variable, or
9439
# (2) before a word containing "conftest.", or (3) at the end.
9440
# Note that $ac_compile itself does not contain backslashes and begins
9441
# with a dollar sign (not a hyphen), so the echo should work correctly.
9442
lt_compile=`echo "$ac_compile" | $SED \
9443
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9444
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9445
-e 's:$: $lt_compiler_flag:'`
9446
(eval echo "\"\$as_me:9446: $lt_compile\"" >&5)
9447
(eval "$lt_compile" 2>out/conftest.err)
9449
cat out/conftest.err >&5
9450
echo "$as_me:9450: \$? = $ac_status" >&5
9451
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9453
# The compiler can only warn and ignore the option if not recognized
9454
# So say no if there are warnings
9455
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9456
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9457
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9458
lt_cv_prog_compiler_c_o=yes
9463
# SGI C++ compiler will create directory out/ii_files/ for
9464
# template instantiation
9465
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9466
$RM out/* && rmdir out
9472
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9473
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9480
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9481
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9482
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9483
echo $ECHO_N "(cached) $ECHO_C" >&6
9485
lt_cv_prog_compiler_c_o=no
9486
$RM -r conftest 2>/dev/null
9490
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9492
lt_compiler_flag="-o out/conftest2.$ac_objext"
9493
# Insert the option either (1) after the last *FLAGS variable, or
9494
# (2) before a word containing "conftest.", or (3) at the end.
9495
# Note that $ac_compile itself does not contain backslashes and begins
9496
# with a dollar sign (not a hyphen), so the echo should work correctly.
9497
lt_compile=`echo "$ac_compile" | $SED \
9498
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9499
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9500
-e 's:$: $lt_compiler_flag:'`
9501
(eval echo "\"\$as_me:9501: $lt_compile\"" >&5)
9502
(eval "$lt_compile" 2>out/conftest.err)
9504
cat out/conftest.err >&5
9505
echo "$as_me:9505: \$? = $ac_status" >&5
9506
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9508
# The compiler can only warn and ignore the option if not recognized
9509
# So say no if there are warnings
9510
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9511
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9512
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9513
lt_cv_prog_compiler_c_o=yes
9518
# SGI C++ compiler will create directory out/ii_files/ for
9519
# template instantiation
9520
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9521
$RM out/* && rmdir out
9527
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9528
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9119
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9120
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9121
$as_echo_n "(cached) " >&6
9123
lt_cv_prog_compiler_c_o=no
9124
$RM -r conftest 2>/dev/null
9128
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9130
lt_compiler_flag="-o out/conftest2.$ac_objext"
9131
# Insert the option either (1) after the last *FLAGS variable, or
9132
# (2) before a word containing "conftest.", or (3) at the end.
9133
# Note that $ac_compile itself does not contain backslashes and begins
9134
# with a dollar sign (not a hyphen), so the echo should work correctly.
9135
lt_compile=`echo "$ac_compile" | $SED \
9136
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9137
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9138
-e 's:$: $lt_compiler_flag:'`
9139
(eval echo "\"\$as_me:9139: $lt_compile\"" >&5)
9140
(eval "$lt_compile" 2>out/conftest.err)
9142
cat out/conftest.err >&5
9143
echo "$as_me:9143: \$? = $ac_status" >&5
9144
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9146
# The compiler can only warn and ignore the option if not recognized
9147
# So say no if there are warnings
9148
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9149
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9150
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9151
lt_cv_prog_compiler_c_o=yes
9156
# SGI C++ compiler will create directory out/ii_files/ for
9157
# template instantiation
9158
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9159
$RM out/* && rmdir out
9165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9166
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9174
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9175
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9176
$as_echo_n "(cached) " >&6
9178
lt_cv_prog_compiler_c_o=no
9179
$RM -r conftest 2>/dev/null
9183
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185
lt_compiler_flag="-o out/conftest2.$ac_objext"
9186
# Insert the option either (1) after the last *FLAGS variable, or
9187
# (2) before a word containing "conftest.", or (3) at the end.
9188
# Note that $ac_compile itself does not contain backslashes and begins
9189
# with a dollar sign (not a hyphen), so the echo should work correctly.
9190
lt_compile=`echo "$ac_compile" | $SED \
9191
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9192
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9193
-e 's:$: $lt_compiler_flag:'`
9194
(eval echo "\"\$as_me:9194: $lt_compile\"" >&5)
9195
(eval "$lt_compile" 2>out/conftest.err)
9197
cat out/conftest.err >&5
9198
echo "$as_me:9198: \$? = $ac_status" >&5
9199
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9201
# The compiler can only warn and ignore the option if not recognized
9202
# So say no if there are warnings
9203
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9204
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9205
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9206
lt_cv_prog_compiler_c_o=yes
9211
# SGI C++ compiler will create directory out/ii_files/ for
9212
# template instantiation
9213
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9214
$RM out/* && rmdir out
9220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9221
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11891
rm -f conftest.$ac_objext conftest$ac_exeext
11892
if { (ac_try="$ac_link"
11893
case "(($ac_try" in
11894
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11895
*) ac_try_echo=$ac_try;;
11897
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11898
(eval "$ac_link") 2>conftest.er1
11900
grep -v '^ *+' conftest.er1 >conftest.err
11902
cat conftest.err >&5
11903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904
(exit $ac_status); } && {
11905
test -z "$ac_c_werror_flag" ||
11906
test ! -s conftest.err
11907
} && test -s conftest$ac_exeext &&
11908
$as_test_x conftest$ac_exeext; then
11396
if ac_fn_c_try_link "$LINENO"; then :
11909
11397
ac_cv_lib_dld_shl_load=yes
11911
echo "$as_me: failed program was:" >&5
11912
sed 's/^/| /' conftest.$ac_ext >&5
11914
ac_cv_lib_dld_shl_load=no
11399
ac_cv_lib_dld_shl_load=no
11917
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11918
conftest$ac_exeext conftest.$ac_ext
11401
rm -f core conftest.err conftest.$ac_objext \
11402
conftest$ac_exeext conftest.$ac_ext
11919
11403
LIBS=$ac_check_lib_save_LIBS
11921
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11922
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
11923
if test $ac_cv_lib_dld_shl_load = yes; then
11405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11406
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11407
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11924
11408
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11926
{ echo "$as_me:$LINENO: checking for dlopen" >&5
11927
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11928
if test "${ac_cv_func_dlopen+set}" = set; then
11929
echo $ECHO_N "(cached) $ECHO_C" >&6
11931
cat >conftest.$ac_ext <<_ACEOF
11934
cat confdefs.h >>conftest.$ac_ext
11935
cat >>conftest.$ac_ext <<_ACEOF
11936
/* end confdefs.h. */
11937
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11938
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11939
#define dlopen innocuous_dlopen
11941
/* System header to define __stub macros and hopefully few prototypes,
11942
which can conflict with char dlopen (); below.
11943
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11944
<limits.h> exists even on freestanding compilers. */
11947
# include <limits.h>
11949
# include <assert.h>
11954
/* Override any GCC internal prototype to avoid an error.
11955
Use char because int might match the return type of a GCC
11956
builtin and then its argument prototype would still apply. */
11961
/* The GNU C library defines this for functions which it implements
11962
to always fail with ENOSYS. Some functions are actually named
11963
something starting with __ and the normal name is an alias. */
11964
#if defined __stub_dlopen || defined __stub___dlopen
11976
rm -f conftest.$ac_objext conftest$ac_exeext
11977
if { (ac_try="$ac_link"
11978
case "(($ac_try" in
11979
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11980
*) ac_try_echo=$ac_try;;
11982
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983
(eval "$ac_link") 2>conftest.er1
11985
grep -v '^ *+' conftest.er1 >conftest.err
11987
cat conftest.err >&5
11988
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989
(exit $ac_status); } && {
11990
test -z "$ac_c_werror_flag" ||
11991
test ! -s conftest.err
11992
} && test -s conftest$ac_exeext &&
11993
$as_test_x conftest$ac_exeext; then
11994
ac_cv_func_dlopen=yes
11996
echo "$as_me: failed program was:" >&5
11997
sed 's/^/| /' conftest.$ac_ext >&5
11999
ac_cv_func_dlopen=no
12002
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12003
conftest$ac_exeext conftest.$ac_ext
12005
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12006
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12007
if test $ac_cv_func_dlopen = yes; then
11410
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11411
if test "x$ac_cv_func_dlopen" = x""yes; then :
12008
11412
lt_cv_dlopen="dlopen"
12010
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12011
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12012
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12013
echo $ECHO_N "(cached) $ECHO_C" >&6
11414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11415
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11416
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11417
$as_echo_n "(cached) " >&6
12015
11419
ac_check_lib_save_LIBS=$LIBS
12016
11420
LIBS="-ldl $LIBS"
12017
cat >conftest.$ac_ext <<_ACEOF
12020
cat confdefs.h >>conftest.$ac_ext
12021
cat >>conftest.$ac_ext <<_ACEOF
11421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12022
11422
/* end confdefs.h. */
12024
11424
/* Override any GCC internal prototype to avoid an error.
14430
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14431
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14432
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14433
echo $ECHO_N "(cached) $ECHO_C" >&6
14435
lt_cv_prog_compiler_c_o_CXX=no
14436
$RM -r conftest 2>/dev/null
14440
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14442
lt_compiler_flag="-o out/conftest2.$ac_objext"
14443
# Insert the option either (1) after the last *FLAGS variable, or
14444
# (2) before a word containing "conftest.", or (3) at the end.
14445
# Note that $ac_compile itself does not contain backslashes and begins
14446
# with a dollar sign (not a hyphen), so the echo should work correctly.
14447
lt_compile=`echo "$ac_compile" | $SED \
14448
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14449
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14450
-e 's:$: $lt_compiler_flag:'`
14451
(eval echo "\"\$as_me:14451: $lt_compile\"" >&5)
14452
(eval "$lt_compile" 2>out/conftest.err)
14454
cat out/conftest.err >&5
14455
echo "$as_me:14455: \$? = $ac_status" >&5
14456
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14458
# The compiler can only warn and ignore the option if not recognized
14459
# So say no if there are warnings
14460
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14461
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14462
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14463
lt_cv_prog_compiler_c_o_CXX=yes
14468
# SGI C++ compiler will create directory out/ii_files/ for
14469
# template instantiation
14470
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14471
$RM out/* && rmdir out
14477
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14478
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14482
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14483
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14484
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14485
echo $ECHO_N "(cached) $ECHO_C" >&6
14487
lt_cv_prog_compiler_c_o_CXX=no
14488
$RM -r conftest 2>/dev/null
14492
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14494
lt_compiler_flag="-o out/conftest2.$ac_objext"
14495
# Insert the option either (1) after the last *FLAGS variable, or
14496
# (2) before a word containing "conftest.", or (3) at the end.
14497
# Note that $ac_compile itself does not contain backslashes and begins
14498
# with a dollar sign (not a hyphen), so the echo should work correctly.
14499
lt_compile=`echo "$ac_compile" | $SED \
14500
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14501
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14502
-e 's:$: $lt_compiler_flag:'`
14503
(eval echo "\"\$as_me:14503: $lt_compile\"" >&5)
14504
(eval "$lt_compile" 2>out/conftest.err)
14506
cat out/conftest.err >&5
14507
echo "$as_me:14507: \$? = $ac_status" >&5
14508
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14510
# The compiler can only warn and ignore the option if not recognized
14511
# So say no if there are warnings
14512
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14513
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14514
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14515
lt_cv_prog_compiler_c_o_CXX=yes
14520
# SGI C++ compiler will create directory out/ii_files/ for
14521
# template instantiation
14522
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14523
$RM out/* && rmdir out
14529
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14530
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
13708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13709
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13710
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13711
$as_echo_n "(cached) " >&6
13713
lt_cv_prog_compiler_c_o_CXX=no
13714
$RM -r conftest 2>/dev/null
13718
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13720
lt_compiler_flag="-o out/conftest2.$ac_objext"
13721
# Insert the option either (1) after the last *FLAGS variable, or
13722
# (2) before a word containing "conftest.", or (3) at the end.
13723
# Note that $ac_compile itself does not contain backslashes and begins
13724
# with a dollar sign (not a hyphen), so the echo should work correctly.
13725
lt_compile=`echo "$ac_compile" | $SED \
13726
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13727
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13728
-e 's:$: $lt_compiler_flag:'`
13729
(eval echo "\"\$as_me:13729: $lt_compile\"" >&5)
13730
(eval "$lt_compile" 2>out/conftest.err)
13732
cat out/conftest.err >&5
13733
echo "$as_me:13733: \$? = $ac_status" >&5
13734
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13736
# The compiler can only warn and ignore the option if not recognized
13737
# So say no if there are warnings
13738
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13739
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13740
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13741
lt_cv_prog_compiler_c_o_CXX=yes
13746
# SGI C++ compiler will create directory out/ii_files/ for
13747
# template instantiation
13748
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13749
$RM out/* && rmdir out
13755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13756
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13761
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13762
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13763
$as_echo_n "(cached) " >&6
13765
lt_cv_prog_compiler_c_o_CXX=no
13766
$RM -r conftest 2>/dev/null
13770
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13772
lt_compiler_flag="-o out/conftest2.$ac_objext"
13773
# Insert the option either (1) after the last *FLAGS variable, or
13774
# (2) before a word containing "conftest.", or (3) at the end.
13775
# Note that $ac_compile itself does not contain backslashes and begins
13776
# with a dollar sign (not a hyphen), so the echo should work correctly.
13777
lt_compile=`echo "$ac_compile" | $SED \
13778
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13779
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13780
-e 's:$: $lt_compiler_flag:'`
13781
(eval echo "\"\$as_me:13781: $lt_compile\"" >&5)
13782
(eval "$lt_compile" 2>out/conftest.err)
13784
cat out/conftest.err >&5
13785
echo "$as_me:13785: \$? = $ac_status" >&5
13786
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13788
# The compiler can only warn and ignore the option if not recognized
13789
# So say no if there are warnings
13790
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13791
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13792
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13793
lt_cv_prog_compiler_c_o_CXX=yes
13798
# SGI C++ compiler will create directory out/ii_files/ for
13799
# template instantiation
13800
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13801
$RM out/* && rmdir out
13807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13808
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15614
rm -f conftest$ac_exeext
15615
if { (ac_try="$ac_link"
15616
case "(($ac_try" in
15617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15618
*) ac_try_echo=$ac_try;;
15620
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15621
(eval "$ac_link") 2>&5
15623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15624
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15625
{ (case "(($ac_try" in
15626
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15627
*) ac_try_echo=$ac_try;;
15629
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15630
(eval "$ac_try") 2>&5
15632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633
(exit $ac_status); }; }; then
14843
if ac_fn_cxx_try_run "$LINENO"; then :
15636
echo "$as_me: program exited with status $ac_status" >&5
15637
echo "$as_me: failed program was:" >&5
15638
sed 's/^/| /' conftest.$ac_ext >&5
15640
( exit $ac_status )
15641
ac_cv_header_stdc=no
15643
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15649
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
15650
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
14846
ac_cv_header_stdc=no
14848
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14849
conftest.$ac_objext conftest.beam conftest.$ac_ext
14854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
14855
$as_echo "$ac_cv_header_stdc" >&6; }
15651
14856
if test $ac_cv_header_stdc = yes; then
15653
cat >>confdefs.h <<\_ACEOF
15654
#define STDC_HEADERS 1
14858
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15664
14862
for ac_header in fcntl.h inttypes.h limits.h stdlib.h unistd.h
15666
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15667
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15668
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15669
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15670
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15671
echo $ECHO_N "(cached) $ECHO_C" >&6
15673
ac_res=`eval echo '${'$as_ac_Header'}'`
15674
{ echo "$as_me:$LINENO: result: $ac_res" >&5
15675
echo "${ECHO_T}$ac_res" >&6; }
15677
# Is the header compilable?
15678
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
15679
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15680
cat >conftest.$ac_ext <<_ACEOF
15683
cat confdefs.h >>conftest.$ac_ext
15684
cat >>conftest.$ac_ext <<_ACEOF
15685
/* end confdefs.h. */
15686
$ac_includes_default
15687
#include <$ac_header>
15689
rm -f conftest.$ac_objext
15690
if { (ac_try="$ac_compile"
15691
case "(($ac_try" in
15692
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15693
*) ac_try_echo=$ac_try;;
15695
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15696
(eval "$ac_compile") 2>conftest.er1
15698
grep -v '^ *+' conftest.er1 >conftest.err
15700
cat conftest.err >&5
15701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702
(exit $ac_status); } && {
15703
test -z "$ac_cxx_werror_flag" ||
15704
test ! -s conftest.err
15705
} && test -s conftest.$ac_objext; then
15706
ac_header_compiler=yes
15708
echo "$as_me: failed program was:" >&5
15709
sed 's/^/| /' conftest.$ac_ext >&5
15711
ac_header_compiler=no
15714
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15715
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15716
echo "${ECHO_T}$ac_header_compiler" >&6; }
15718
# Is the header present?
15719
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
15720
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15721
cat >conftest.$ac_ext <<_ACEOF
15724
cat confdefs.h >>conftest.$ac_ext
15725
cat >>conftest.$ac_ext <<_ACEOF
15726
/* end confdefs.h. */
15727
#include <$ac_header>
15729
if { (ac_try="$ac_cpp conftest.$ac_ext"
15730
case "(($ac_try" in
15731
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732
*) ac_try_echo=$ac_try;;
15734
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15737
grep -v '^ *+' conftest.er1 >conftest.err
15739
cat conftest.err >&5
15740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741
(exit $ac_status); } >/dev/null && {
15742
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
15743
test ! -s conftest.err
15745
ac_header_preproc=yes
15747
echo "$as_me: failed program was:" >&5
15748
sed 's/^/| /' conftest.$ac_ext >&5
15750
ac_header_preproc=no
15753
rm -f conftest.err conftest.$ac_ext
15754
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15755
echo "${ECHO_T}$ac_header_preproc" >&6; }
15757
# So? What about this header?
15758
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15760
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15761
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15762
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15763
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15764
ac_header_preproc=yes
15767
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15768
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15769
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15770
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15771
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15772
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15773
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15774
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15775
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15776
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15777
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15778
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15780
## ---------------------------------------- ##
15781
## Report this to protobuf@googlegroups.com ##
15782
## ---------------------------------------- ##
15784
) | sed "s/^/$as_me: WARNING: /" >&2
15787
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
15788
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15789
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15790
echo $ECHO_N "(cached) $ECHO_C" >&6
15792
eval "$as_ac_Header=\$ac_header_preproc"
15794
ac_res=`eval echo '${'$as_ac_Header'}'`
15795
{ echo "$as_me:$LINENO: result: $ac_res" >&5
15796
echo "${ECHO_T}$ac_res" >&6; }
15799
if test `eval echo '${'$as_ac_Header'}'` = yes; then
14864
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14865
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14866
eval as_val=\$$as_ac_Header
14867
if test "x$as_val" = x""yes; then :
15800
14868
cat >>confdefs.h <<_ACEOF
15801
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14869
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16100
rm -f conftest.$ac_objext conftest$ac_exeext
16101
if { (ac_try="$ac_link"
16102
case "(($ac_try" in
16103
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104
*) ac_try_echo=$ac_try;;
16106
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107
(eval "$ac_link") 2>conftest.er1
16109
grep -v '^ *+' conftest.er1 >conftest.err
16111
cat conftest.err >&5
16112
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113
(exit $ac_status); } && {
16114
test -z "$ac_cxx_werror_flag" ||
16115
test ! -s conftest.err
16116
} && test -s conftest$ac_exeext &&
16117
$as_test_x conftest$ac_exeext; then
15031
if ac_fn_cxx_try_link "$LINENO"; then :
16118
15032
ac_cv_lib_m_pow=yes
16120
echo "$as_me: failed program was:" >&5
16121
sed 's/^/| /' conftest.$ac_ext >&5
16126
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16127
conftest$ac_exeext conftest.$ac_ext
15036
rm -f core conftest.err conftest.$ac_objext \
15037
conftest$ac_exeext conftest.$ac_ext
16128
15038
LIBS=$ac_check_lib_save_LIBS
16130
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
16131
echo "${ECHO_T}$ac_cv_lib_m_pow" >&6; }
16132
if test $ac_cv_lib_m_pow = yes; then
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
15041
$as_echo "$ac_cv_lib_m_pow" >&6; }
15042
if test "x$ac_cv_lib_m_pow" = x""yes; then :
16135
{ echo "$as_me:$LINENO: WARNING: cannot find library containing definition of pow" >&5
16136
echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
15045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find library containing definition of pow" >&5
15046
$as_echo "$as_me: WARNING: cannot find library containing definition of pow" >&2;}
16149
15053
for ac_func in ftruncate memset mkdir strchr strerror strtol
16151
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16152
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
16153
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16154
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16155
echo $ECHO_N "(cached) $ECHO_C" >&6
16157
cat >conftest.$ac_ext <<_ACEOF
16160
cat confdefs.h >>conftest.$ac_ext
16161
cat >>conftest.$ac_ext <<_ACEOF
16162
/* end confdefs.h. */
16163
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16164
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16165
#define $ac_func innocuous_$ac_func
16167
/* System header to define __stub macros and hopefully few prototypes,
16168
which can conflict with char $ac_func (); below.
16169
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16170
<limits.h> exists even on freestanding compilers. */
16173
# include <limits.h>
16175
# include <assert.h>
16180
/* Override any GCC internal prototype to avoid an error.
16181
Use char because int might match the return type of a GCC
16182
builtin and then its argument prototype would still apply. */
16187
/* The GNU C library defines this for functions which it implements
16188
to always fail with ENOSYS. Some functions are actually named
16189
something starting with __ and the normal name is an alias. */
16190
#if defined __stub_$ac_func || defined __stub___$ac_func
16197
return $ac_func ();
16202
rm -f conftest.$ac_objext conftest$ac_exeext
16203
if { (ac_try="$ac_link"
16204
case "(($ac_try" in
16205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206
*) ac_try_echo=$ac_try;;
16208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209
(eval "$ac_link") 2>conftest.er1
16211
grep -v '^ *+' conftest.er1 >conftest.err
16213
cat conftest.err >&5
16214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215
(exit $ac_status); } && {
16216
test -z "$ac_cxx_werror_flag" ||
16217
test ! -s conftest.err
16218
} && test -s conftest$ac_exeext &&
16219
$as_test_x conftest$ac_exeext; then
16220
eval "$as_ac_var=yes"
16222
echo "$as_me: failed program was:" >&5
16223
sed 's/^/| /' conftest.$ac_ext >&5
16225
eval "$as_ac_var=no"
16228
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16229
conftest$ac_exeext conftest.$ac_ext
16231
ac_res=`eval echo '${'$as_ac_var'}'`
16232
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16233
echo "${ECHO_T}$ac_res" >&6; }
16234
if test `eval echo '${'$as_ac_var'}'` = yes; then
15055
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15056
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15057
eval as_val=\$$as_ac_var
15058
if test "x$as_val" = x""yes; then :
16235
15059
cat >>confdefs.h <<_ACEOF
16236
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15060
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17102
rm -f conftest.$ac_objext conftest$ac_exeext
17103
if { (ac_try="$ac_link"
17104
case "(($ac_try" in
17105
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17106
*) ac_try_echo=$ac_try;;
17108
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17109
(eval "$ac_link") 2>conftest.er1
17111
grep -v '^ *+' conftest.er1 >conftest.err
17113
cat conftest.err >&5
17114
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115
(exit $ac_status); } && {
17116
test -z "$ac_c_werror_flag" ||
17117
test ! -s conftest.err
17118
} && test -s conftest$ac_exeext &&
17119
$as_test_x conftest$ac_exeext; then
15701
if ac_fn_c_try_link "$LINENO"; then :
17122
echo "$as_me: failed program was:" >&5
17123
sed 's/^/| /' conftest.$ac_ext >&5
17128
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17129
conftest$ac_exeext conftest.$ac_ext
15704
rm -f core conftest.err conftest.$ac_objext \
15705
conftest$ac_exeext conftest.$ac_ext
17131
15707
if test "x$done" = xyes; then
17132
{ echo "$as_me:$LINENO: result: yes" >&5
17133
echo "${ECHO_T}yes" >&6; }
15708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15709
$as_echo "yes" >&6; }
17134
15710
PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
17136
{ echo "$as_me:$LINENO: result: no" >&5
17137
echo "${ECHO_T}no" >&6; }
15712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15713
$as_echo "no" >&6; }
17140
15716
if test x"$done" = xno; then
17141
15717
# OK, we have run out of ideas
17142
{ echo "$as_me:$LINENO: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
17143
echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
15718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
15719
$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
17145
15721
# so it's not safe to assume that we may use pthreads
17146
15722
acx_pthread_ok=no
15725
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether what we have so far is sufficient with -nostdlib" >&5
15726
$as_echo_n "checking whether what we have so far is sufficient with -nostdlib... " >&6; }
15727
CFLAGS="-nostdlib $CFLAGS"
15728
# we need c with nostdlib
15730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731
/* end confdefs.h. */
15732
#include <pthread.h>
15736
pthread_t th; pthread_join(th, 0);
15737
pthread_attr_init(0); pthread_cleanup_push(0, 0);
15738
pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15743
if ac_fn_c_try_link "$LINENO"; then :
15748
rm -f core conftest.err conftest.$ac_objext \
15749
conftest$ac_exeext conftest.$ac_ext
15751
if test "x$done" = xyes; then
15752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15753
$as_echo "yes" >&6; }
15755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15756
$as_echo "no" >&6; }
15759
if test x"$done" = xno; then
15760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lpthread saves the day" >&5
15761
$as_echo_n "checking whether -lpthread saves the day... " >&6; }
15762
LIBS="-lpthread $LIBS"
15763
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764
/* end confdefs.h. */
15765
#include <pthread.h>
15769
pthread_t th; pthread_join(th, 0);
15770
pthread_attr_init(0); pthread_cleanup_push(0, 0);
15771
pthread_create(0,0,0,0); pthread_cleanup_pop(0);
15776
if ac_fn_c_try_link "$LINENO"; then :
15781
rm -f core conftest.err conftest.$ac_objext \
15782
conftest$ac_exeext conftest.$ac_ext
15784
if test "x$done" = xyes; then
15785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15786
$as_echo "yes" >&6; }
15787
PTHREAD_LIBS="$PTHREAD_LIBS -lpthread"
15789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15790
$as_echo "no" >&6; }
15791
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&5
15792
$as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&2;}
17149
15796
CFLAGS="$save_CFLAGS"
17150
15797
LIBS="$save_LIBS"
17151
15798
CC="$save_CC"
17185
15831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17186
15832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17188
ac_cv_cxx_hash_map_header=""
17189
ac_cv_cxx_hash_map_class=""
17190
for location in tr1/unordered_map ext/hash_map hash_map; do
17191
for namespace in std::tr1 __gnu_cxx "" std stdext; do
17192
for name in unordered_map hash_map; do
17194
if test -z "$ac_cv_cxx_hash_map_header"; then
17196
# On OSX 1.5 / GCC 4.0.1 (the standard compiler on that platform),
17197
# calling find() on a const unordered_map does not compile. So, we
17198
# include a call to find() in our test to detect this broken
17199
# implementation and avoid using it. Note that ext/hash_map works
17200
# fine on this platform, so we'll end up using that.
17201
cat >conftest.$ac_ext <<_ACEOF
17204
cat confdefs.h >>conftest.$ac_ext
17205
cat >>conftest.$ac_ext <<_ACEOF
15834
ac_cv_cxx_hash_map=""
15835
# First try unordered_map, but not on gcc's before 4.2 -- I've
15836
# seen unexplainable unordered_map bugs with -O2 on older gcc's.
15837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206
15838
/* end confdefs.h. */
17207
#include <$location>
15839
#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 2))
15840
# error GCC too old for unordered_map
17211
const ${namespace}::$name<int, int> t;
15846
/* no program body necessary */
17217
rm -f conftest.$ac_objext
17218
if { (ac_try="$ac_compile"
17219
case "(($ac_try" in
17220
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17221
*) ac_try_echo=$ac_try;;
17223
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17224
(eval "$ac_compile") 2>conftest.er1
17226
grep -v '^ *+' conftest.er1 >conftest.err
17228
cat conftest.err >&5
17229
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230
(exit $ac_status); } && {
17231
test -z "$ac_cxx_werror_flag" ||
17232
test ! -s conftest.err
17233
} && test -s conftest.$ac_objext; then
17234
ac_cv_cxx_hash_map_header="<$location>";
17235
ac_cv_cxx_hash_namespace="$namespace";
17236
ac_cv_cxx_hash_map_class="$name";
15851
if ac_fn_cxx_try_compile "$LINENO"; then :
15852
stl_hash_old_gcc=no
17238
echo "$as_me: failed program was:" >&5
17239
sed 's/^/| /' conftest.$ac_ext >&5
17244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249
ac_cv_cxx_hash_set_header=`echo "$ac_cv_cxx_hash_map_header" | sed s/map/set/`;
15854
stl_hash_old_gcc=yes
15856
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15857
for location in unordered_map tr1/unordered_map; do
15858
for namespace in std std::tr1; do
15859
if test -z "$ac_cv_cxx_hash_map" -a "$stl_hash_old_gcc" != yes; then
15860
# Some older gcc's have a buggy tr1, so test a bit of code.
15861
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15862
/* end confdefs.h. */
15863
#include <$location>
15867
const ${namespace}::unordered_map<int, int> t;
15868
return t.find(5) == t.end();
15873
if ac_fn_cxx_try_compile "$LINENO"; then :
15874
ac_cv_cxx_hash_map="<$location>";
15875
ac_cv_cxx_hash_namespace="$namespace";
15876
ac_cv_cxx_hash_map_class="unordered_map";
15878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15883
for location in ext/hash_map hash_map; do
15884
for namespace in __gnu_cxx "" std stdext; do
15885
if test -z "$ac_cv_cxx_hash_map"; then
15886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15887
/* end confdefs.h. */
15888
#include <$location>
15892
${namespace}::hash_map<int, int> t
15897
if ac_fn_cxx_try_compile "$LINENO"; then :
15898
ac_cv_cxx_hash_map="<$location>";
15899
ac_cv_cxx_hash_namespace="$namespace";
15900
ac_cv_cxx_hash_map_class="hash_map";
15902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15906
ac_cv_cxx_hash_set=`echo "$ac_cv_cxx_hash_map" | sed s/map/set/`;
17250
15907
ac_cv_cxx_hash_set_class=`echo "$ac_cv_cxx_hash_map_class" | sed s/map/set/`;
17251
if test -n "$ac_cv_cxx_hash_map_header"; then
17253
cat >>confdefs.h <<\_ACEOF
17254
#define HAVE_HASH_MAP 1
17258
cat >>confdefs.h <<\_ACEOF
17259
#define HAVE_HASH_SET 1
17263
cat >>confdefs.h <<_ACEOF
17264
#define HASH_MAP_H $ac_cv_cxx_hash_map_header
17268
cat >>confdefs.h <<_ACEOF
17269
#define HASH_SET_H $ac_cv_cxx_hash_set_header
15908
if test -n "$ac_cv_cxx_hash_map"; then
15910
$as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
15913
$as_echo "#define HAVE_HASH_SET 1" >>confdefs.h
15916
cat >>confdefs.h <<_ACEOF
15917
#define HASH_MAP_H $ac_cv_cxx_hash_map
15921
cat >>confdefs.h <<_ACEOF
15922
#define HASH_SET_H $ac_cv_cxx_hash_set
15926
cat >>confdefs.h <<_ACEOF
15927
#define HASH_NAMESPACE $ac_cv_cxx_hash_namespace
17389
16045
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17390
16046
# 1. Remove the extension, and $U if already installed.
17391
16047
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17392
ac_i=`echo "$ac_i" | sed "$ac_script"`
16048
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17393
16049
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17394
16050
# will be set to the directory where LIBOBJS objects are built.
17395
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17396
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
16051
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16052
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17398
16054
LIBOBJS=$ac_libobjs
17400
16056
LTLIBOBJS=$ac_ltlibobjs
16059
if test -n "$EXEEXT"; then
16061
am__EXEEXT_FALSE='#'
16063
am__EXEEXT_TRUE='#'
17403
16067
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17404
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17405
Usually this means the macro was only invoked conditionally." >&5
17406
echo "$as_me: error: conditional \"AMDEP\" was never defined.
17407
Usually this means the macro was only invoked conditionally." >&2;}
17408
{ (exit 1); exit 1; }; }
16068
as_fn_error "conditional \"AMDEP\" was never defined.
16069
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17410
16071
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17411
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17412
Usually this means the macro was only invoked conditionally." >&5
17413
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17414
Usually this means the macro was only invoked conditionally." >&2;}
17415
{ (exit 1); exit 1; }; }
16072
as_fn_error "conditional \"am__fastdepCC\" was never defined.
16073
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17417
16075
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17418
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17419
Usually this means the macro was only invoked conditionally." >&5
17420
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17421
Usually this means the macro was only invoked conditionally." >&2;}
17422
{ (exit 1); exit 1; }; }
16076
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16077
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17424
16079
if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
17425
{ { echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
17426
Usually this means the macro was only invoked conditionally." >&5
17427
echo "$as_me: error: conditional \"GCC\" was never defined.
17428
Usually this means the macro was only invoked conditionally." >&2;}
17429
{ (exit 1); exit 1; }; }
16080
as_fn_error "conditional \"GCC\" was never defined.
16081
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17431
16083
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17432
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
17433
Usually this means the macro was only invoked conditionally." >&5
17434
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
17435
Usually this means the macro was only invoked conditionally." >&2;}
17436
{ (exit 1); exit 1; }; }
16084
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16085
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17438
16087
if test -z "${HAVE_ZLIB_TRUE}" && test -z "${HAVE_ZLIB_FALSE}"; then
17439
{ { echo "$as_me:$LINENO: error: conditional \"HAVE_ZLIB\" was never defined.
17440
Usually this means the macro was only invoked conditionally." >&5
17441
echo "$as_me: error: conditional \"HAVE_ZLIB\" was never defined.
17442
Usually this means the macro was only invoked conditionally." >&2;}
17443
{ (exit 1); exit 1; }; }
16088
as_fn_error "conditional \"HAVE_ZLIB\" was never defined.
16089
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17445
16091
if test -z "${USE_EXTERNAL_PROTOC_TRUE}" && test -z "${USE_EXTERNAL_PROTOC_FALSE}"; then
17446
{ { echo "$as_me:$LINENO: error: conditional \"USE_EXTERNAL_PROTOC\" was never defined.
17447
Usually this means the macro was only invoked conditionally." >&5
17448
echo "$as_me: error: conditional \"USE_EXTERNAL_PROTOC\" was never defined.
17449
Usually this means the macro was only invoked conditionally." >&2;}
17450
{ (exit 1); exit 1; }; }
16092
as_fn_error "conditional \"USE_EXTERNAL_PROTOC\" was never defined.
16093
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17453
16096
: ${CONFIG_STATUS=./config.status}
17454
16098
ac_clean_files_save=$ac_clean_files
17455
16099
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17456
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17457
echo "$as_me: creating $CONFIG_STATUS" >&6;}
17458
cat >$CONFIG_STATUS <<_ACEOF
16100
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16101
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16103
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17460
16105
# Generated by $as_me.
17461
16106
# Run this file to recreate the current configuration.
17618
as_lineno_1=$LINENO
17619
as_lineno_2=$LINENO
17620
test "x$as_lineno_1" != "x$as_lineno_2" &&
17621
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
17623
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17624
# uniformly replaced by the line number. The first 'sed' inserts a
17625
# line-number line after each line using $LINENO; the second 'sed'
17626
# does the real work. The second script uses 'N' to pair each
17627
# line-number line with the line containing $LINENO, and appends
17628
# trailing '-' during substitution so that $LINENO is not a special
17629
# case at line end.
17630
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17631
# scripts with optimization help from Paolo Bonzini. Blame Lee
17632
# E. McMahon (1931-1989) for sed's syntax. :-)
17644
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17647
' >$as_me.lineno &&
17648
chmod +x "$as_me.lineno" ||
17649
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17650
{ (exit 1); exit 1; }; }
17652
# Don't try to exec as it changes $[0], causing all sort of problems
17653
# (the dirname of $[0] is not the place where we might find the
17654
# original and so on. Autoconf is especially sensitive to this).
17655
. "./$as_me.lineno"
17656
# Exit status is that of the last command.
17661
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16359
# Avoid depending upon Character Ranges.
16360
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16361
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16362
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16363
as_cr_digits='0123456789'
16364
as_cr_alnum=$as_cr_Letters$as_cr_digits
17667
16366
ECHO_C= ECHO_N= ECHO_T=
17668
case `echo -n x` in
16367
case `echo -n x` in #(((((
17670
case `echo 'x\c'` in
16369
case `echo 'xy\c'` in
17671
16370
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16372
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17675
16376
ECHO_N='-n';;
17678
if expr a : '\(a\)' >/dev/null 2>&1 &&
17679
test "X`expr 00001 : '.*\(...\)'`" = X001; then
17685
16379
rm -f conf$$ conf$$.exe conf$$.file
17686
16380
if test -d conf$$.dir; then
17687
16381
rm -f conf$$.dir/conf$$.file
17689
16383
rm -f conf$$.dir
16384
mkdir conf$$.dir 2>/dev/null
17693
if ln -s conf$$.file conf$$ 2>/dev/null; then
17695
# ... but there are two gotchas:
17696
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17697
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17698
# In both cases, we have to default to `cp -p'.
17699
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16386
if (echo >conf$$.file) 2>/dev/null; then
16387
if ln -s conf$$.file conf$$ 2>/dev/null; then
16389
# ... but there are two gotchas:
16390
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16391
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16392
# In both cases, we have to default to `cp -p'.
16393
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16395
elif ln conf$$.file conf$$ 2>/dev/null; then
17700
16398
as_ln_s='cp -p'
17701
elif ln conf$$.file conf$$ 2>/dev/null; then
17704
16401
as_ln_s='cp -p'
17706
16403
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17707
16404
rmdir conf$$.dir 2>/dev/null
16409
# Create "$as_dir" as a directory, including parents if necessary.
16414
-*) as_dir=./$as_dir;;
16416
test -d "$as_dir" || eval $as_mkdir_p || {
16420
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16421
*) as_qdir=$as_dir;;
16423
as_dirs="'$as_qdir' $as_dirs"
16424
as_dir=`$as_dirname -- "$as_dir" ||
16425
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16426
X"$as_dir" : 'X\(//\)[^/]' \| \
16427
X"$as_dir" : 'X\(//\)$' \| \
16428
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16429
$as_echo X"$as_dir" |
16430
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16434
/^X\(\/\/\)[^/].*/{
16447
test -d "$as_dir" && break
16449
test -z "$as_dirs" || eval "mkdir $as_dirs"
16450
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17709
16454
if mkdir -p . 2>/dev/null; then
16455
as_mkdir_p='mkdir -p "$as_dir"'
17712
16457
test -d ./-p && rmdir ./-p
17713
16458
as_mkdir_p=false
18314
17087
tmp=./conf$$-$RANDOM
18315
17088
(umask 077 && mkdir "$tmp")
18318
echo "$me: cannot create a temporary directory in ." >&2
18319
{ (exit 1); exit 1; }
18323
# Set up the sed scripts for CONFIG_FILES section.
18326
# No need to generate the scripts if there are no CONFIG_FILES.
18327
# This happens for instance when ./config.status config.h
17089
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17091
# Set up the scripts for CONFIG_FILES section.
17092
# No need to generate them if there are no CONFIG_FILES.
17093
# This happens for instance with `./config.status config.h'.
18328
17094
if test -n "$CONFIG_FILES"; then
18335
for ac_last_try in false false false false false :; do
18336
cat >conf$$subs.sed <<_ACEOF
18337
SHELL!$SHELL$ac_delim
18338
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
18339
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
18340
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
18341
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
18342
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
18343
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
18344
exec_prefix!$exec_prefix$ac_delim
18345
prefix!$prefix$ac_delim
18346
program_transform_name!$program_transform_name$ac_delim
18347
bindir!$bindir$ac_delim
18348
sbindir!$sbindir$ac_delim
18349
libexecdir!$libexecdir$ac_delim
18350
datarootdir!$datarootdir$ac_delim
18351
datadir!$datadir$ac_delim
18352
sysconfdir!$sysconfdir$ac_delim
18353
sharedstatedir!$sharedstatedir$ac_delim
18354
localstatedir!$localstatedir$ac_delim
18355
includedir!$includedir$ac_delim
18356
oldincludedir!$oldincludedir$ac_delim
18357
docdir!$docdir$ac_delim
18358
infodir!$infodir$ac_delim
18359
htmldir!$htmldir$ac_delim
18360
dvidir!$dvidir$ac_delim
18361
pdfdir!$pdfdir$ac_delim
18362
psdir!$psdir$ac_delim
18363
libdir!$libdir$ac_delim
18364
localedir!$localedir$ac_delim
18365
mandir!$mandir$ac_delim
18366
DEFS!$DEFS$ac_delim
18367
ECHO_C!$ECHO_C$ac_delim
18368
ECHO_N!$ECHO_N$ac_delim
18369
ECHO_T!$ECHO_T$ac_delim
18370
LIBS!$LIBS$ac_delim
18371
build_alias!$build_alias$ac_delim
18372
host_alias!$host_alias$ac_delim
18373
target_alias!$target_alias$ac_delim
18374
build!$build$ac_delim
18375
build_cpu!$build_cpu$ac_delim
18376
build_vendor!$build_vendor$ac_delim
18377
build_os!$build_os$ac_delim
18378
host!$host$ac_delim
18379
host_cpu!$host_cpu$ac_delim
18380
host_vendor!$host_vendor$ac_delim
18381
host_os!$host_os$ac_delim
18382
target!$target$ac_delim
18383
target_cpu!$target_cpu$ac_delim
18384
target_vendor!$target_vendor$ac_delim
18385
target_os!$target_os$ac_delim
18386
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
18387
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
18388
INSTALL_DATA!$INSTALL_DATA$ac_delim
18389
am__isrc!$am__isrc$ac_delim
18390
CYGPATH_W!$CYGPATH_W$ac_delim
18391
PACKAGE!$PACKAGE$ac_delim
18392
VERSION!$VERSION$ac_delim
18393
ACLOCAL!$ACLOCAL$ac_delim
18394
AUTOCONF!$AUTOCONF$ac_delim
18395
AUTOMAKE!$AUTOMAKE$ac_delim
18396
AUTOHEADER!$AUTOHEADER$ac_delim
18397
MAKEINFO!$MAKEINFO$ac_delim
18398
install_sh!$install_sh$ac_delim
18399
STRIP!$STRIP$ac_delim
18400
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
18401
mkdir_p!$mkdir_p$ac_delim
18403
SET_MAKE!$SET_MAKE$ac_delim
18404
am__leading_dot!$am__leading_dot$ac_delim
18405
AMTAR!$AMTAR$ac_delim
18406
am__tar!$am__tar$ac_delim
18407
am__untar!$am__untar$ac_delim
18409
CFLAGS!$CFLAGS$ac_delim
18410
LDFLAGS!$LDFLAGS$ac_delim
18411
CPPFLAGS!$CPPFLAGS$ac_delim
18412
ac_ct_CC!$ac_ct_CC$ac_delim
18413
EXEEXT!$EXEEXT$ac_delim
18414
OBJEXT!$OBJEXT$ac_delim
18415
DEPDIR!$DEPDIR$ac_delim
18416
am__include!$am__include$ac_delim
18417
am__quote!$am__quote$ac_delim
18418
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
18419
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
18420
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
18421
CCDEPMODE!$CCDEPMODE$ac_delim
18422
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
18423
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
18425
CXXFLAGS!$CXXFLAGS$ac_delim
18426
ac_ct_CXX!$ac_ct_CXX$ac_delim
18427
CXXDEPMODE!$CXXDEPMODE$ac_delim
18428
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
18429
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
18430
CXXCPP!$CXXCPP$ac_delim
18431
GREP!$GREP$ac_delim
18432
EGREP!$EGREP$ac_delim
18433
GCC_TRUE!$GCC_TRUE$ac_delim
18436
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
18438
elif $ac_last_try; then
18439
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18440
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18441
{ (exit 1); exit 1; }; }
18443
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18447
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18448
if test -n "$ac_eof"; then
18449
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18450
ac_eof=`expr $ac_eof + 1`
18453
cat >>$CONFIG_STATUS <<_ACEOF
18454
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
18455
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18458
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18459
s/^/s,@/; s/!/@,|#_!!_#|/
18462
s/'"$ac_delim"'$/,g/; t
18464
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18465
' >>$CONFIG_STATUS <conf$$subs.sed
18466
rm -f conf$$subs.sed
18467
cat >>$CONFIG_STATUS <<_ACEOF
18473
for ac_last_try in false false false false false :; do
18474
cat >conf$$subs.sed <<_ACEOF
18475
GCC_FALSE!$GCC_FALSE$ac_delim
18476
PROTOBUF_OPT_FLAG!$PROTOBUF_OPT_FLAG$ac_delim
18477
ISAINFO!$ISAINFO$ac_delim
18478
LIBTOOL!$LIBTOOL$ac_delim
18480
FGREP!$FGREP$ac_delim
18482
DUMPBIN!$DUMPBIN$ac_delim
18483
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
18485
LN_S!$LN_S$ac_delim
18487
RANLIB!$RANLIB$ac_delim
18488
lt_ECHO!$lt_ECHO$ac_delim
18489
DSYMUTIL!$DSYMUTIL$ac_delim
18490
NMEDIT!$NMEDIT$ac_delim
18491
LIPO!$LIPO$ac_delim
18492
OTOOL!$OTOOL$ac_delim
18493
OTOOL64!$OTOOL64$ac_delim
18494
LIBOBJS!$LIBOBJS$ac_delim
18495
POW_LIB!$POW_LIB$ac_delim
18496
HAVE_ZLIB_TRUE!$HAVE_ZLIB_TRUE$ac_delim
18497
HAVE_ZLIB_FALSE!$HAVE_ZLIB_FALSE$ac_delim
18498
PROTOC!$PROTOC$ac_delim
18499
USE_EXTERNAL_PROTOC_TRUE!$USE_EXTERNAL_PROTOC_TRUE$ac_delim
18500
USE_EXTERNAL_PROTOC_FALSE!$USE_EXTERNAL_PROTOC_FALSE$ac_delim
18501
acx_pthread_config!$acx_pthread_config$ac_delim
18502
PTHREAD_CC!$PTHREAD_CC$ac_delim
18503
PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
18504
PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
18505
subdirs!$subdirs$ac_delim
18506
LTLIBOBJS!$LTLIBOBJS$ac_delim
18509
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then
18511
elif $ac_last_try; then
18512
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
18513
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
18514
{ (exit 1); exit 1; }; }
18516
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18520
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
18521
if test -n "$ac_eof"; then
18522
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
18523
ac_eof=`expr $ac_eof + 1`
18526
cat >>$CONFIG_STATUS <<_ACEOF
18527
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
18528
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
18531
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
18532
s/^/s,@/; s/!/@,|#_!!_#|/
18535
s/'"$ac_delim"'$/,g/; t
18537
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
18538
' >>$CONFIG_STATUS <conf$$subs.sed
18539
rm -f conf$$subs.sed
18540
cat >>$CONFIG_STATUS <<_ACEOF
17097
ac_cr=`echo X | tr X '\015'`
17098
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17099
# But we know of no other shell where ac_cr would be empty at this
17100
# point, so we can use a bashism as a fallback.
17101
if test "x$ac_cr" = x; then
17102
eval ac_cr=\$\'\\r\'
17104
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17105
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17108
ac_cs_awk_cr=$ac_cr
17111
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17116
echo "cat >conf$$subs.awk <<_ACEOF" &&
17117
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17119
} >conf$$subs.sh ||
17120
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17121
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17123
for ac_last_try in false false false false false :; do
17124
. ./conf$$subs.sh ||
17125
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17127
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17128
if test $ac_delim_n = $ac_delim_num; then
17130
elif $ac_last_try; then
17131
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17133
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17136
rm -f conf$$subs.sh
17138
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17139
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17143
s/^/S["/; s/!.*/"]=/
17153
s/\(.\{148\}\)..*/\1/
17155
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17160
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17167
s/\(.\{148\}\)..*/\1/
17169
s/["\\]/\\&/g; s/^/"/; s/$/"/
17173
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17178
' <conf$$subs.awk | sed '
17183
' >>$CONFIG_STATUS || ac_write_fail=1
17184
rm -f conf$$subs.awk
17185
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17187
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17188
for (key in S) S_is_set[key] = 1
17194
nfields = split(line, field, "@")
17196
len = length(field[1])
17197
for (i = 2; i < nfields; i++) {
17199
keylen = length(key)
17200
if (S_is_set[key]) {
17202
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17203
len += length(value) + length(field[++i])
17214
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17215
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17216
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17219
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17220
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
18547
17223
# VPATH may cause trouble with some makes, so we remove $(srcdir),
18548
17224
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18793
17546
s&@INSTALL@&$ac_INSTALL&;t t
18794
17547
s&@MKDIR_P@&$ac_MKDIR_P&;t t
18795
17548
$ac_datarootdir_hack
18796
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
17550
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17551
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18798
17553
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18799
17554
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
18800
17555
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
18801
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17556
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18802
17557
which seems to be undefined. Please make sure it is defined." >&5
18803
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17558
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18804
17559
which seems to be undefined. Please make sure it is defined." >&2;}
18806
17561
rm -f "$tmp/stdin"
18807
17562
case $ac_file in
18808
-) cat "$tmp/out"; rm -f "$tmp/out";;
18809
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
17563
-) cat "$tmp/out" && rm -f "$tmp/out";;
17564
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17566
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18814
17570
# CONFIG_HEADER
18818
# Transform confdefs.h into a sed script `conftest.defines', that
18819
# substitutes the proper values into config.h.in to produce config.h.
18820
rm -f conftest.defines conftest.tail
18821
# First, append a space to every undef/define line, to ease matching.
18822
echo 's/$/ /' >conftest.defines
18823
# Then, protect against being on the right side of a sed subst, or in
18824
# an unquoted here document, in config.status. If some macros were
18825
# called several times there might be several #defines for the same
18826
# symbol, which is useless. But do not sort them, since the last
18827
# AC_DEFINE must be honored.
18828
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18829
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
18830
# NAME is the cpp macro being defined, VALUE is the value it is being given.
18831
# PARAMS is the parameter list in the macro definition--in most cases, it's
18832
# just an empty string.
18833
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
18834
ac_dB='\\)[ (].*,\\1define\\2'
18842
s/^[ ]*#[ ]*define[ ][ ]*//
18847
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
18848
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
18849
' >>conftest.defines
18851
# Remove the space that was appended to ease matching.
18852
# Then replace #undef with comments. This is necessary, for
18853
# example, in the case of _POSIX_SOURCE, which is predefined and required
18854
# on some systems where configure will not decide to define it.
18855
# (The regexp can be short, since the line contains either #define or #undef.)
18857
s,^[ #]*u.*,/* & */,' >>conftest.defines
18859
# Break up conftest.defines:
18860
ac_max_sed_lines=50
18862
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
18863
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
18864
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
18866
ac_in='$ac_file_inputs'
18867
ac_out='"$tmp/out1"'
18868
ac_nxt='"$tmp/out2"'
18872
# Write a here document:
18873
cat >>$CONFIG_STATUS <<_ACEOF
18874
# First, check the format of the line:
18875
cat >"\$tmp/defines.sed" <<\\CEOF
18876
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
18877
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
18881
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
18883
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
18884
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
18885
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
18886
grep . conftest.tail >/dev/null || break
18887
rm -f conftest.defines
18888
mv conftest.tail conftest.defines
18890
rm -f conftest.defines conftest.tail
18892
echo "ac_result=$ac_in" >>$CONFIG_STATUS
18893
cat >>$CONFIG_STATUS <<\_ACEOF
18894
17572
if test x"$ac_file" != x-; then
18895
echo "/* $configure_input */" >"$tmp/config.h"
18896
cat "$ac_result" >>"$tmp/config.h"
18897
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
18898
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18899
echo "$as_me: $ac_file is unchanged" >&6;}
17574
$as_echo "/* $configure_input */" \
17575
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17576
} >"$tmp/config.h" \
17577
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17578
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17579
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17580
$as_echo "$as_me: $ac_file is unchanged" >&6;}
18902
mv "$tmp/config.h" $ac_file
17583
mv "$tmp/config.h" "$ac_file" \
17584
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18905
echo "/* $configure_input */"
17587
$as_echo "/* $configure_input */" \
17588
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17589
|| as_fn_error "could not create -" "$LINENO" 5
18909
# Compute $ac_file's index in $config_headers.
17591
# Compute "$ac_file"'s index in $config_headers.
18911
17593
_am_stamp_count=1
18912
17594
for _am_header in $config_headers :; do
18913
17595
case $_am_header in