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: zeromq-dev@lists.zeromq.org about your system,
235
$0: including any error possibly output before this
236
$0: message. Then install a modern shell, or manually run
237
$0: the script 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. :-)
1595
1632
test -n "$ac_init_help" && exit $ac_status
1596
1633
if $ac_init_version; then
1598
zeromq configure 2.0.9
1599
generated by GNU Autoconf 2.61
1635
zeromq configure 2.0.10
1636
generated by GNU Autoconf 2.65
1601
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1602
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1638
Copyright (C) 2009 Free Software Foundation, Inc.
1603
1639
This configure script is free software; the Free Software Foundation
1604
1640
gives unlimited permission to copy, distribute and modify it.
1645
## ------------------------ ##
1646
## Autoconf initialization. ##
1647
## ------------------------ ##
1649
# ac_fn_c_try_compile LINENO
1650
# --------------------------
1651
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1652
ac_fn_c_try_compile ()
1654
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655
rm -f conftest.$ac_objext
1656
if { { ac_try="$ac_compile"
1658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659
*) ac_try_echo=$ac_try;;
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662
$as_echo "$ac_try_echo"; } >&5
1663
(eval "$ac_compile") 2>conftest.err
1665
if test -s conftest.err; then
1666
grep -v '^ *+' conftest.err >conftest.er1
1667
cat conftest.er1 >&5
1668
mv -f conftest.er1 conftest.err
1670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
test $ac_status = 0; } && {
1672
test -z "$ac_c_werror_flag" ||
1673
test ! -s conftest.err
1674
} && test -s conftest.$ac_objext; then :
1677
$as_echo "$as_me: failed program was:" >&5
1678
sed 's/^/| /' conftest.$ac_ext >&5
1682
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683
as_fn_set_status $ac_retval
1685
} # ac_fn_c_try_compile
1687
# ac_fn_cxx_try_compile LINENO
1688
# ----------------------------
1689
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1690
ac_fn_cxx_try_compile ()
1692
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693
rm -f conftest.$ac_objext
1694
if { { ac_try="$ac_compile"
1696
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1697
*) ac_try_echo=$ac_try;;
1699
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700
$as_echo "$ac_try_echo"; } >&5
1701
(eval "$ac_compile") 2>conftest.err
1703
if test -s conftest.err; then
1704
grep -v '^ *+' conftest.err >conftest.er1
1705
cat conftest.er1 >&5
1706
mv -f conftest.er1 conftest.err
1708
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709
test $ac_status = 0; } && {
1710
test -z "$ac_cxx_werror_flag" ||
1711
test ! -s conftest.err
1712
} && test -s conftest.$ac_objext; then :
1715
$as_echo "$as_me: failed program was:" >&5
1716
sed 's/^/| /' conftest.$ac_ext >&5
1720
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1721
as_fn_set_status $ac_retval
1723
} # ac_fn_cxx_try_compile
1725
# ac_fn_c_try_link LINENO
1726
# -----------------------
1727
# Try to link conftest.$ac_ext, and return whether this succeeded.
1730
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731
rm -f conftest.$ac_objext conftest$ac_exeext
1732
if { { ac_try="$ac_link"
1734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735
*) ac_try_echo=$ac_try;;
1737
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738
$as_echo "$ac_try_echo"; } >&5
1739
(eval "$ac_link") 2>conftest.err
1741
if test -s conftest.err; then
1742
grep -v '^ *+' conftest.err >conftest.er1
1743
cat conftest.er1 >&5
1744
mv -f conftest.er1 conftest.err
1746
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747
test $ac_status = 0; } && {
1748
test -z "$ac_c_werror_flag" ||
1749
test ! -s conftest.err
1750
} && test -s conftest$ac_exeext && {
1751
test "$cross_compiling" = yes ||
1752
$as_test_x conftest$ac_exeext
1756
$as_echo "$as_me: failed program was:" >&5
1757
sed 's/^/| /' conftest.$ac_ext >&5
1761
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1762
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1763
# interfere with the next link command; also delete a directory that is
1764
# left behind by Apple's compiler. We do this before executing the actions.
1765
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1766
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1767
as_fn_set_status $ac_retval
1769
} # ac_fn_c_try_link
1771
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1772
# -------------------------------------------------------
1773
# Tests whether HEADER exists and can be compiled using the include files in
1774
# INCLUDES, setting the cache variable VAR accordingly.
1775
ac_fn_c_check_header_compile ()
1777
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779
$as_echo_n "checking for $2... " >&6; }
1780
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781
$as_echo_n "(cached) " >&6
1783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784
/* end confdefs.h. */
1788
if ac_fn_c_try_compile "$LINENO"; then :
1793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1797
$as_echo "$ac_res" >&6; }
1798
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800
} # ac_fn_c_check_header_compile
1802
# ac_fn_c_try_cpp LINENO
1803
# ----------------------
1804
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1807
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808
if { { ac_try="$ac_cpp conftest.$ac_ext"
1810
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811
*) ac_try_echo=$ac_try;;
1813
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814
$as_echo "$ac_try_echo"; } >&5
1815
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1817
if test -s conftest.err; then
1818
grep -v '^ *+' conftest.err >conftest.er1
1819
cat conftest.er1 >&5
1820
mv -f conftest.er1 conftest.err
1822
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1823
test $ac_status = 0; } >/dev/null && {
1824
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1825
test ! -s conftest.err
1829
$as_echo "$as_me: failed program was:" >&5
1830
sed 's/^/| /' conftest.$ac_ext >&5
1834
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1835
as_fn_set_status $ac_retval
1839
# ac_fn_c_try_run LINENO
1840
# ----------------------
1841
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1842
# that executables *can* be run.
1845
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846
if { { ac_try="$ac_link"
1848
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1849
*) ac_try_echo=$ac_try;;
1851
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852
$as_echo "$ac_try_echo"; } >&5
1853
(eval "$ac_link") 2>&5
1855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1857
{ { case "(($ac_try" in
1858
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1859
*) ac_try_echo=$ac_try;;
1861
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862
$as_echo "$ac_try_echo"; } >&5
1863
(eval "$ac_try") 2>&5
1865
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866
test $ac_status = 0; }; }; then :
1869
$as_echo "$as_me: program exited with status $ac_status" >&5
1870
$as_echo "$as_me: failed program was:" >&5
1871
sed 's/^/| /' conftest.$ac_ext >&5
1873
ac_retval=$ac_status
1875
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877
as_fn_set_status $ac_retval
1881
# ac_fn_c_check_func LINENO FUNC VAR
1882
# ----------------------------------
1883
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1884
ac_fn_c_check_func ()
1886
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888
$as_echo_n "checking for $2... " >&6; }
1889
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1890
$as_echo_n "(cached) " >&6
1892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1893
/* end confdefs.h. */
1894
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1895
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1896
#define $2 innocuous_$2
1898
/* System header to define __stub macros and hopefully few prototypes,
1899
which can conflict with char $2 (); below.
1900
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1901
<limits.h> exists even on freestanding compilers. */
1904
# include <limits.h>
1906
# include <assert.h>
1911
/* Override any GCC internal prototype to avoid an error.
1912
Use char because int might match the return type of a GCC
1913
builtin and then its argument prototype would still apply. */
1918
/* The GNU C library defines this for functions which it implements
1919
to always fail with ENOSYS. Some functions are actually named
1920
something starting with __ and the normal name is an alias. */
1921
#if defined __stub_$2 || defined __stub___$2
1933
if ac_fn_c_try_link "$LINENO"; then :
1938
rm -f core conftest.err conftest.$ac_objext \
1939
conftest$ac_exeext conftest.$ac_ext
1942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1943
$as_echo "$ac_res" >&6; }
1944
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1946
} # ac_fn_c_check_func
1948
# ac_fn_cxx_try_cpp LINENO
1949
# ------------------------
1950
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1951
ac_fn_cxx_try_cpp ()
1953
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954
if { { ac_try="$ac_cpp conftest.$ac_ext"
1956
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957
*) ac_try_echo=$ac_try;;
1959
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960
$as_echo "$ac_try_echo"; } >&5
1961
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1963
if test -s conftest.err; then
1964
grep -v '^ *+' conftest.err >conftest.er1
1965
cat conftest.er1 >&5
1966
mv -f conftest.er1 conftest.err
1968
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
test $ac_status = 0; } >/dev/null && {
1970
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1971
test ! -s conftest.err
1975
$as_echo "$as_me: failed program was:" >&5
1976
sed 's/^/| /' conftest.$ac_ext >&5
1980
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1981
as_fn_set_status $ac_retval
1983
} # ac_fn_cxx_try_cpp
1985
# ac_fn_cxx_try_link LINENO
1986
# -------------------------
1987
# Try to link conftest.$ac_ext, and return whether this succeeded.
1988
ac_fn_cxx_try_link ()
1990
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1991
rm -f conftest.$ac_objext conftest$ac_exeext
1992
if { { ac_try="$ac_link"
1994
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995
*) ac_try_echo=$ac_try;;
1997
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998
$as_echo "$ac_try_echo"; } >&5
1999
(eval "$ac_link") 2>conftest.err
2001
if test -s conftest.err; then
2002
grep -v '^ *+' conftest.err >conftest.er1
2003
cat conftest.er1 >&5
2004
mv -f conftest.er1 conftest.err
2006
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007
test $ac_status = 0; } && {
2008
test -z "$ac_cxx_werror_flag" ||
2009
test ! -s conftest.err
2010
} && test -s conftest$ac_exeext && {
2011
test "$cross_compiling" = yes ||
2012
$as_test_x conftest$ac_exeext
2016
$as_echo "$as_me: failed program was:" >&5
2017
sed 's/^/| /' conftest.$ac_ext >&5
2021
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2022
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2023
# interfere with the next link command; also delete a directory that is
2024
# left behind by Apple's compiler. We do this before executing the actions.
2025
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2026
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2027
as_fn_set_status $ac_retval
2029
} # ac_fn_cxx_try_link
2031
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2032
# -------------------------------------------------------
2033
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2034
# the include files in INCLUDES and setting the cache variable VAR
2036
ac_fn_c_check_header_mongrel ()
2038
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2041
$as_echo_n "checking for $2... " >&6; }
2042
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2043
$as_echo_n "(cached) " >&6
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047
$as_echo "$ac_res" >&6; }
2049
# Is the header compilable?
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2051
$as_echo_n "checking $2 usability... " >&6; }
2052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2053
/* end confdefs.h. */
2057
if ac_fn_c_try_compile "$LINENO"; then :
2058
ac_header_compiler=yes
2060
ac_header_compiler=no
2062
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2064
$as_echo "$ac_header_compiler" >&6; }
2066
# Is the header present?
2067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2068
$as_echo_n "checking $2 presence... " >&6; }
2069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2070
/* end confdefs.h. */
2073
if ac_fn_c_try_cpp "$LINENO"; then :
2074
ac_header_preproc=yes
2076
ac_header_preproc=no
2078
rm -f conftest.err conftest.$ac_ext
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2080
$as_echo "$ac_header_preproc" >&6; }
2082
# So? What about this header?
2083
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2085
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2086
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2087
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2088
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2091
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2092
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2093
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2094
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2096
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2097
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2098
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2100
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2102
## ------------------------------------------ ##
2103
## Report this to zeromq-dev@lists.zeromq.org ##
2104
## ------------------------------------------ ##
2106
) | sed "s/^/$as_me: WARNING: /" >&2
2109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110
$as_echo_n "checking for $2... " >&6; }
2111
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112
$as_echo_n "(cached) " >&6
2114
eval "$3=\$ac_header_compiler"
2117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118
$as_echo "$ac_res" >&6; }
2120
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2122
} # ac_fn_c_check_header_mongrel
2124
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2125
# ---------------------------------------------
2126
# Tests whether TYPE exists after having included INCLUDES, setting cache
2127
# variable VAR accordingly.
2128
ac_fn_cxx_check_type ()
2130
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132
$as_echo_n "checking for $2... " >&6; }
2133
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134
$as_echo_n "(cached) " >&6
2137
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138
/* end confdefs.h. */
2149
if ac_fn_cxx_try_compile "$LINENO"; then :
2150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151
/* end confdefs.h. */
2162
if ac_fn_cxx_try_compile "$LINENO"; then :
2167
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2173
$as_echo "$ac_res" >&6; }
2174
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2176
} # ac_fn_cxx_check_type
2178
# ac_fn_c_find_uintX_t LINENO BITS VAR
2179
# ------------------------------------
2180
# Finds an unsigned integer type with width BITS, setting cache variable VAR
2182
ac_fn_c_find_uintX_t ()
2184
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2186
$as_echo_n "checking for uint$2_t... " >&6; }
2187
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2188
$as_echo_n "(cached) " >&6
2191
# Order is important - never check a type that is potentially smaller
2192
# than half of the expected target width.
2193
for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2194
'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2196
/* end confdefs.h. */
2197
$ac_includes_default
2201
static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2208
if ac_fn_cxx_try_compile "$LINENO"; then :
2213
eval "$3=\$ac_type" ;;
2216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218
if test "x$as_val" = x""no; then :
2226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227
$as_echo "$ac_res" >&6; }
2228
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230
} # ac_fn_c_find_uintX_t
2232
# ac_fn_cxx_check_func LINENO FUNC VAR
2233
# ------------------------------------
2234
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2235
ac_fn_cxx_check_func ()
2237
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239
$as_echo_n "checking for $2... " >&6; }
2240
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2241
$as_echo_n "(cached) " >&6
2243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244
/* end confdefs.h. */
2245
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2246
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2247
#define $2 innocuous_$2
2249
/* System header to define __stub macros and hopefully few prototypes,
2250
which can conflict with char $2 (); below.
2251
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2252
<limits.h> exists even on freestanding compilers. */
2255
# include <limits.h>
2257
# include <assert.h>
2262
/* Override any GCC internal prototype to avoid an error.
2263
Use char because int might match the return type of a GCC
2264
builtin and then its argument prototype would still apply. */
2269
/* The GNU C library defines this for functions which it implements
2270
to always fail with ENOSYS. Some functions are actually named
2271
something starting with __ and the normal name is an alias. */
2272
#if defined __stub_$2 || defined __stub___$2
2284
if ac_fn_cxx_try_link "$LINENO"; then :
2289
rm -f core conftest.err conftest.$ac_objext \
2290
conftest$ac_exeext conftest.$ac_ext
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2294
$as_echo "$ac_res" >&6; }
2295
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2297
} # ac_fn_cxx_check_func
1608
2298
cat >config.log <<_ACEOF
1609
2299
This file contains any messages produced by compilers while
1610
2300
running configure, to aid debugging if configure makes a mistake.
1612
It was created by zeromq $as_me 2.0.9, which was
1613
generated by GNU Autoconf 2.61. Invocation command line was
2302
It was created by zeromq $as_me 2.0.10, which was
2303
generated by GNU Autoconf 2.65. Invocation command line was
2119
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2120
Check your system clock" >&5
2121
echo "$as_me: error: newly created file is older than distributed files!
2122
Check your system clock" >&2;}
2123
{ (exit 1); exit 1; }; }
2818
as_fn_error "newly created file is older than distributed files!
2819
Check your system clock" "$LINENO" 5
2125
{ echo "$as_me:$LINENO: result: yes" >&5
2126
echo "${ECHO_T}yes" >&6; }
2821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2822
$as_echo "yes" >&6; }
2127
2823
test "$program_prefix" != NONE &&
2128
2824
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2129
2825
# Use a double $ so make ignores it.
2130
2826
test "$program_suffix" != NONE &&
2131
2827
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2132
# Double any \ or $. echo might interpret backslashes.
2828
# Double any \ or $.
2133
2829
# By default was `s,x,x', remove it if useless.
2134
cat <<\_ACEOF >conftest.sed
2135
s/[\\$]/&&/g;s/;s,x,x,$//
2137
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2830
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2831
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2140
2833
# expand $ac_aux_dir to an absolute path
2141
2834
am_aux_dir=`cd $ac_aux_dir && pwd`
2143
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2836
if test x"${MISSING+set}" != xset; then
2839
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2841
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2144
2844
# Use eval to expand $SHELL
2145
2845
if eval "$MISSING --run true"; then
2146
2846
am_missing_run="$MISSING --run "
2148
2848
am_missing_run=
2149
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2150
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2153
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2154
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2849
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2850
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2853
if test x"${install_sh}" != xset; then
2856
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2858
install_sh="\${SHELL} $am_aux_dir/install-sh"
2862
# Installed binaries are usually stripped using `strip' when the user
2863
# run `make install-strip'. However `strip' might not be the right
2864
# tool to use in cross-compilation environments, therefore Automake
2865
# will honor the `STRIP' environment variable to overrule this program.
2866
if test "$cross_compiling" != no; then
2867
if test -n "$ac_tool_prefix"; then
2868
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2869
set dummy ${ac_tool_prefix}strip; ac_word=$2
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2871
$as_echo_n "checking for $ac_word... " >&6; }
2872
if test "${ac_cv_prog_STRIP+set}" = set; then :
2873
$as_echo_n "(cached) " >&6
2875
if test -n "$STRIP"; then
2876
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2882
test -z "$as_dir" && as_dir=.
2883
for ac_exec_ext in '' $ac_executable_extensions; do
2884
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2885
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2886
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895
STRIP=$ac_cv_prog_STRIP
2896
if test -n "$STRIP"; then
2897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2898
$as_echo "$STRIP" >&6; }
2900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2901
$as_echo "no" >&6; }
2906
if test -z "$ac_cv_prog_STRIP"; then
2908
# Extract the first word of "strip", so it can be a program name with args.
2909
set dummy strip; ac_word=$2
2910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911
$as_echo_n "checking for $ac_word... " >&6; }
2912
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2913
$as_echo_n "(cached) " >&6
2915
if test -n "$ac_ct_STRIP"; then
2916
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2922
test -z "$as_dir" && as_dir=.
2923
for ac_exec_ext in '' $ac_executable_extensions; do
2924
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925
ac_cv_prog_ac_ct_STRIP="strip"
2926
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2936
if test -n "$ac_ct_STRIP"; then
2937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2938
$as_echo "$ac_ct_STRIP" >&6; }
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941
$as_echo "no" >&6; }
2944
if test "x$ac_ct_STRIP" = x; then
2947
case $cross_compiling:$ac_tool_warned in
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2951
ac_tool_warned=yes ;;
2956
STRIP="$ac_cv_prog_STRIP"
2960
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2963
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2155
2964
if test -z "$MKDIR_P"; then
2156
if test "${ac_cv_path_mkdir+set}" = set; then
2157
echo $ECHO_N "(cached) $ECHO_C" >&6
2965
if test "${ac_cv_path_mkdir+set}" = set; then :
2966
$as_echo_n "(cached) " >&6
2159
2968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160
2969
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2162
2971
IFS=$as_save_IFS
2163
2972
test -z "$as_dir" && as_dir=.
2164
for ac_prog in mkdir gmkdir; do
2973
for ac_prog in mkdir gmkdir; do
2165
2974
for ac_exec_ext in '' $ac_executable_extensions; do
2166
2975
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2167
2976
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3002
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3003
echo "${ECHO_T}$ac_file" >&6; }
3004
if test -z "$ac_file"; then
3005
echo "$as_me: failed program was:" >&5
3657
if test -z "$ac_file"; then :
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659
$as_echo "no" >&6; }
3660
$as_echo "$as_me: failed program was:" >&5
3006
3661
sed 's/^/| /' conftest.$ac_ext >&5
3008
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3009
See \`config.log' for more details." >&5
3010
echo "$as_me: error: C compiler cannot create executables
3011
See \`config.log' for more details." >&2;}
3012
{ (exit 77); exit 77; }; }
3663
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3664
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3665
{ as_fn_set_status 77
3666
as_fn_error "C compiler cannot create executables
3667
See \`config.log' for more details." "$LINENO" 5; }; }
3669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3670
$as_echo "yes" >&6; }
3672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3673
$as_echo_n "checking for C compiler default output file name... " >&6; }
3674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3675
$as_echo "$ac_file" >&6; }
3015
3676
ac_exeext=$ac_cv_exeext
3017
# Check that the compiler produces executables we can run. If not, either
3018
# the compiler is broken, or we cross compile.
3019
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3020
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3021
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3022
# If not cross compiling, check that we can run a simple program.
3023
if test "$cross_compiling" != yes; then
3024
if { ac_try='./$ac_file'
3025
{ (case "(($ac_try" in
3026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
*) ac_try_echo=$ac_try;;
3029
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3030
(eval "$ac_try") 2>&5
3032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033
(exit $ac_status); }; }; then
3036
if test "$cross_compiling" = maybe; then
3039
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3040
If you meant to cross compile, use \`--host'.
3041
See \`config.log' for more details." >&5
3042
echo "$as_me: error: cannot run C compiled programs.
3043
If you meant to cross compile, use \`--host'.
3044
See \`config.log' for more details." >&2;}
3045
{ (exit 1); exit 1; }; }
3049
{ echo "$as_me:$LINENO: result: yes" >&5
3050
echo "${ECHO_T}yes" >&6; }
3052
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3678
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3053
3679
ac_clean_files=$ac_clean_files_save
3054
# Check that the compiler produces executables we can run. If not, either
3055
# the compiler is broken, or we cross compile.
3056
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3057
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3058
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3059
echo "${ECHO_T}$cross_compiling" >&6; }
3061
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3062
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3063
if { (ac_try="$ac_link"
3680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3681
$as_echo_n "checking for suffix of executables... " >&6; }
3682
if { { ac_try="$ac_link"
3064
3683
case "(($ac_try" in
3065
3684
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
3685
*) ac_try_echo=$ac_try;;
3068
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688
$as_echo "$ac_try_echo"; } >&5
3069
3689
(eval "$ac_link") 2>&5
3071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3072
(exit $ac_status); }; then
3691
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692
test $ac_status = 0; }; then :
3073
3693
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3074
3694
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3075
3695
# work properly (i.e., refer to `conftest.exe'), while it won't with
9533
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9534
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9535
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9536
echo $ECHO_N "(cached) $ECHO_C" >&6
9538
lt_cv_prog_compiler_c_o=no
9539
$RM -r conftest 2>/dev/null
9543
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9545
lt_compiler_flag="-o out/conftest2.$ac_objext"
9546
# Insert the option either (1) after the last *FLAGS variable, or
9547
# (2) before a word containing "conftest.", or (3) at the end.
9548
# Note that $ac_compile itself does not contain backslashes and begins
9549
# with a dollar sign (not a hyphen), so the echo should work correctly.
9550
lt_compile=`echo "$ac_compile" | $SED \
9551
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9552
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9553
-e 's:$: $lt_compiler_flag:'`
9554
(eval echo "\"\$as_me:9554: $lt_compile\"" >&5)
9555
(eval "$lt_compile" 2>out/conftest.err)
9557
cat out/conftest.err >&5
9558
echo "$as_me:9558: \$? = $ac_status" >&5
9559
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9561
# The compiler can only warn and ignore the option if not recognized
9562
# So say no if there are warnings
9563
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9564
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9565
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9566
lt_cv_prog_compiler_c_o=yes
9571
# SGI C++ compiler will create directory out/ii_files/ for
9572
# template instantiation
9573
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9574
$RM out/* && rmdir out
9580
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9581
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9588
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9589
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
9590
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9591
echo $ECHO_N "(cached) $ECHO_C" >&6
9593
lt_cv_prog_compiler_c_o=no
9594
$RM -r conftest 2>/dev/null
9598
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600
lt_compiler_flag="-o out/conftest2.$ac_objext"
9601
# Insert the option either (1) after the last *FLAGS variable, or
9602
# (2) before a word containing "conftest.", or (3) at the end.
9603
# Note that $ac_compile itself does not contain backslashes and begins
9604
# with a dollar sign (not a hyphen), so the echo should work correctly.
9605
lt_compile=`echo "$ac_compile" | $SED \
9606
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608
-e 's:$: $lt_compiler_flag:'`
9609
(eval echo "\"\$as_me:9609: $lt_compile\"" >&5)
9610
(eval "$lt_compile" 2>out/conftest.err)
9612
cat out/conftest.err >&5
9613
echo "$as_me:9613: \$? = $ac_status" >&5
9614
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9616
# The compiler can only warn and ignore the option if not recognized
9617
# So say no if there are warnings
9618
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9619
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621
lt_cv_prog_compiler_c_o=yes
9626
# SGI C++ compiler will create directory out/ii_files/ for
9627
# template instantiation
9628
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629
$RM out/* && rmdir out
9635
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9636
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
9410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9411
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9412
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9413
$as_echo_n "(cached) " >&6
9415
lt_cv_prog_compiler_c_o=no
9416
$RM -r conftest 2>/dev/null
9420
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9422
lt_compiler_flag="-o out/conftest2.$ac_objext"
9423
# Insert the option either (1) after the last *FLAGS variable, or
9424
# (2) before a word containing "conftest.", or (3) at the end.
9425
# Note that $ac_compile itself does not contain backslashes and begins
9426
# with a dollar sign (not a hyphen), so the echo should work correctly.
9427
lt_compile=`echo "$ac_compile" | $SED \
9428
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9429
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9430
-e 's:$: $lt_compiler_flag:'`
9431
(eval echo "\"\$as_me:9431: $lt_compile\"" >&5)
9432
(eval "$lt_compile" 2>out/conftest.err)
9434
cat out/conftest.err >&5
9435
echo "$as_me:9435: \$? = $ac_status" >&5
9436
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9438
# The compiler can only warn and ignore the option if not recognized
9439
# So say no if there are warnings
9440
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9441
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9442
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9443
lt_cv_prog_compiler_c_o=yes
9448
# SGI C++ compiler will create directory out/ii_files/ for
9449
# template instantiation
9450
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9451
$RM out/* && rmdir out
9457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9458
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9466
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9467
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9468
$as_echo_n "(cached) " >&6
9470
lt_cv_prog_compiler_c_o=no
9471
$RM -r conftest 2>/dev/null
9475
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9477
lt_compiler_flag="-o out/conftest2.$ac_objext"
9478
# Insert the option either (1) after the last *FLAGS variable, or
9479
# (2) before a word containing "conftest.", or (3) at the end.
9480
# Note that $ac_compile itself does not contain backslashes and begins
9481
# with a dollar sign (not a hyphen), so the echo should work correctly.
9482
lt_compile=`echo "$ac_compile" | $SED \
9483
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9484
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9485
-e 's:$: $lt_compiler_flag:'`
9486
(eval echo "\"\$as_me:9486: $lt_compile\"" >&5)
9487
(eval "$lt_compile" 2>out/conftest.err)
9489
cat out/conftest.err >&5
9490
echo "$as_me:9490: \$? = $ac_status" >&5
9491
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9493
# The compiler can only warn and ignore the option if not recognized
9494
# So say no if there are warnings
9495
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9496
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9497
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9498
lt_cv_prog_compiler_c_o=yes
9503
# SGI C++ compiler will create directory out/ii_files/ for
9504
# template instantiation
9505
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9506
$RM out/* && rmdir out
9512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9513
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
12024
rm -f conftest.$ac_objext conftest$ac_exeext
12025
if { (ac_try="$ac_link"
12026
case "(($ac_try" in
12027
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12028
*) ac_try_echo=$ac_try;;
12030
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12031
(eval "$ac_link") 2>conftest.er1
12033
grep -v '^ *+' conftest.er1 >conftest.err
12035
cat conftest.err >&5
12036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12037
(exit $ac_status); } && {
12038
test -z "$ac_c_werror_flag" ||
12039
test ! -s conftest.err
12040
} && test -s conftest$ac_exeext &&
12041
$as_test_x conftest$ac_exeext; then
11688
if ac_fn_c_try_link "$LINENO"; then :
12042
11689
ac_cv_lib_dld_shl_load=yes
12044
echo "$as_me: failed program was:" >&5
12045
sed 's/^/| /' conftest.$ac_ext >&5
12047
ac_cv_lib_dld_shl_load=no
11691
ac_cv_lib_dld_shl_load=no
12050
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12051
conftest$ac_exeext conftest.$ac_ext
11693
rm -f core conftest.err conftest.$ac_objext \
11694
conftest$ac_exeext conftest.$ac_ext
12052
11695
LIBS=$ac_check_lib_save_LIBS
12054
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12055
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
12056
if test $ac_cv_lib_dld_shl_load = yes; then
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11698
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11699
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12057
11700
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12059
{ echo "$as_me:$LINENO: checking for dlopen" >&5
12060
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
12061
if test "${ac_cv_func_dlopen+set}" = set; then
12062
echo $ECHO_N "(cached) $ECHO_C" >&6
12064
cat >conftest.$ac_ext <<_ACEOF
12067
cat confdefs.h >>conftest.$ac_ext
12068
cat >>conftest.$ac_ext <<_ACEOF
12069
/* end confdefs.h. */
12070
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12071
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12072
#define dlopen innocuous_dlopen
12074
/* System header to define __stub macros and hopefully few prototypes,
12075
which can conflict with char dlopen (); below.
12076
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12077
<limits.h> exists even on freestanding compilers. */
12080
# include <limits.h>
12082
# include <assert.h>
12087
/* Override any GCC internal prototype to avoid an error.
12088
Use char because int might match the return type of a GCC
12089
builtin and then its argument prototype would still apply. */
12094
/* The GNU C library defines this for functions which it implements
12095
to always fail with ENOSYS. Some functions are actually named
12096
something starting with __ and the normal name is an alias. */
12097
#if defined __stub_dlopen || defined __stub___dlopen
12109
rm -f conftest.$ac_objext conftest$ac_exeext
12110
if { (ac_try="$ac_link"
12111
case "(($ac_try" in
12112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12113
*) ac_try_echo=$ac_try;;
12115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12116
(eval "$ac_link") 2>conftest.er1
12118
grep -v '^ *+' conftest.er1 >conftest.err
12120
cat conftest.err >&5
12121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12122
(exit $ac_status); } && {
12123
test -z "$ac_c_werror_flag" ||
12124
test ! -s conftest.err
12125
} && test -s conftest$ac_exeext &&
12126
$as_test_x conftest$ac_exeext; then
12127
ac_cv_func_dlopen=yes
12129
echo "$as_me: failed program was:" >&5
12130
sed 's/^/| /' conftest.$ac_ext >&5
12132
ac_cv_func_dlopen=no
12135
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12136
conftest$ac_exeext conftest.$ac_ext
12138
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12139
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
12140
if test $ac_cv_func_dlopen = yes; then
11702
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11703
if test "x$ac_cv_func_dlopen" = x""yes; then :
12141
11704
lt_cv_dlopen="dlopen"
12143
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12144
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
12145
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12146
echo $ECHO_N "(cached) $ECHO_C" >&6
11706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11707
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11708
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11709
$as_echo_n "(cached) " >&6
12148
11711
ac_check_lib_save_LIBS=$LIBS
12149
11712
LIBS="-ldl $LIBS"
12150
cat >conftest.$ac_ext <<_ACEOF
12153
cat confdefs.h >>conftest.$ac_ext
12154
cat >>conftest.$ac_ext <<_ACEOF
11713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155
11714
/* end confdefs.h. */
12157
11716
/* Override any GCC internal prototype to avoid an error.
14568
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14569
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14570
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14571
echo $ECHO_N "(cached) $ECHO_C" >&6
14573
lt_cv_prog_compiler_c_o_CXX=no
14574
$RM -r conftest 2>/dev/null
14578
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14580
lt_compiler_flag="-o out/conftest2.$ac_objext"
14581
# Insert the option either (1) after the last *FLAGS variable, or
14582
# (2) before a word containing "conftest.", or (3) at the end.
14583
# Note that $ac_compile itself does not contain backslashes and begins
14584
# with a dollar sign (not a hyphen), so the echo should work correctly.
14585
lt_compile=`echo "$ac_compile" | $SED \
14586
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14587
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14588
-e 's:$: $lt_compiler_flag:'`
14589
(eval echo "\"\$as_me:14589: $lt_compile\"" >&5)
14590
(eval "$lt_compile" 2>out/conftest.err)
14592
cat out/conftest.err >&5
14593
echo "$as_me:14593: \$? = $ac_status" >&5
14594
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14596
# The compiler can only warn and ignore the option if not recognized
14597
# So say no if there are warnings
14598
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14599
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14600
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14601
lt_cv_prog_compiler_c_o_CXX=yes
14606
# SGI C++ compiler will create directory out/ii_files/ for
14607
# template instantiation
14608
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14609
$RM out/* && rmdir out
14615
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14616
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14620
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14621
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14622
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
14623
echo $ECHO_N "(cached) $ECHO_C" >&6
14625
lt_cv_prog_compiler_c_o_CXX=no
14626
$RM -r conftest 2>/dev/null
14630
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14632
lt_compiler_flag="-o out/conftest2.$ac_objext"
14633
# Insert the option either (1) after the last *FLAGS variable, or
14634
# (2) before a word containing "conftest.", or (3) at the end.
14635
# Note that $ac_compile itself does not contain backslashes and begins
14636
# with a dollar sign (not a hyphen), so the echo should work correctly.
14637
lt_compile=`echo "$ac_compile" | $SED \
14638
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14639
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14640
-e 's:$: $lt_compiler_flag:'`
14641
(eval echo "\"\$as_me:14641: $lt_compile\"" >&5)
14642
(eval "$lt_compile" 2>out/conftest.err)
14644
cat out/conftest.err >&5
14645
echo "$as_me:14645: \$? = $ac_status" >&5
14646
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14648
# The compiler can only warn and ignore the option if not recognized
14649
# So say no if there are warnings
14650
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14651
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14652
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14653
lt_cv_prog_compiler_c_o_CXX=yes
14658
# SGI C++ compiler will create directory out/ii_files/ for
14659
# template instantiation
14660
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14661
$RM out/* && rmdir out
14667
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14668
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
14000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14001
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14002
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14003
$as_echo_n "(cached) " >&6
14005
lt_cv_prog_compiler_c_o_CXX=no
14006
$RM -r conftest 2>/dev/null
14010
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14012
lt_compiler_flag="-o out/conftest2.$ac_objext"
14013
# Insert the option either (1) after the last *FLAGS variable, or
14014
# (2) before a word containing "conftest.", or (3) at the end.
14015
# Note that $ac_compile itself does not contain backslashes and begins
14016
# with a dollar sign (not a hyphen), so the echo should work correctly.
14017
lt_compile=`echo "$ac_compile" | $SED \
14018
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14019
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14020
-e 's:$: $lt_compiler_flag:'`
14021
(eval echo "\"\$as_me:14021: $lt_compile\"" >&5)
14022
(eval "$lt_compile" 2>out/conftest.err)
14024
cat out/conftest.err >&5
14025
echo "$as_me:14025: \$? = $ac_status" >&5
14026
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14028
# The compiler can only warn and ignore the option if not recognized
14029
# So say no if there are warnings
14030
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14031
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14032
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14033
lt_cv_prog_compiler_c_o_CXX=yes
14038
# SGI C++ compiler will create directory out/ii_files/ for
14039
# template instantiation
14040
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14041
$RM out/* && rmdir out
14047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14048
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14053
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14054
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14055
$as_echo_n "(cached) " >&6
14057
lt_cv_prog_compiler_c_o_CXX=no
14058
$RM -r conftest 2>/dev/null
14062
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14064
lt_compiler_flag="-o out/conftest2.$ac_objext"
14065
# Insert the option either (1) after the last *FLAGS variable, or
14066
# (2) before a word containing "conftest.", or (3) at the end.
14067
# Note that $ac_compile itself does not contain backslashes and begins
14068
# with a dollar sign (not a hyphen), so the echo should work correctly.
14069
lt_compile=`echo "$ac_compile" | $SED \
14070
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14071
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14072
-e 's:$: $lt_compiler_flag:'`
14073
(eval echo "\"\$as_me:14073: $lt_compile\"" >&5)
14074
(eval "$lt_compile" 2>out/conftest.err)
14076
cat out/conftest.err >&5
14077
echo "$as_me:14077: \$? = $ac_status" >&5
14078
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14080
# The compiler can only warn and ignore the option if not recognized
14081
# So say no if there are warnings
14082
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14083
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14084
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14085
lt_cv_prog_compiler_c_o_CXX=yes
14090
# SGI C++ compiler will create directory out/ii_files/ for
14091
# template instantiation
14092
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14093
$RM out/* && rmdir out
14099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14100
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16744
cat >>confdefs.h <<\_ACEOF
16745
#define ZMQ_HAVE_WINDOWS 1
16749
cat >>confdefs.h <<\_ACEOF
16750
#define ZMQ_HAVE_MINGW32 1
16754
for ac_header in windows.h
16756
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16757
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16758
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16759
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16760
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16761
echo $ECHO_N "(cached) $ECHO_C" >&6
16763
ac_res=`eval echo '${'$as_ac_Header'}'`
16764
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16765
echo "${ECHO_T}$ac_res" >&6; }
16767
# Is the header compilable?
16768
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
16769
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
16770
cat >conftest.$ac_ext <<_ACEOF
16773
cat confdefs.h >>conftest.$ac_ext
16774
cat >>conftest.$ac_ext <<_ACEOF
16775
/* end confdefs.h. */
16776
$ac_includes_default
16777
#include <$ac_header>
16779
rm -f conftest.$ac_objext
16780
if { (ac_try="$ac_compile"
16781
case "(($ac_try" in
16782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16783
*) ac_try_echo=$ac_try;;
16785
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16786
(eval "$ac_compile") 2>conftest.er1
16788
grep -v '^ *+' conftest.er1 >conftest.err
16790
cat conftest.err >&5
16791
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16792
(exit $ac_status); } && {
16793
test -z "$ac_c_werror_flag" ||
16794
test ! -s conftest.err
16795
} && test -s conftest.$ac_objext; then
16796
ac_header_compiler=yes
16798
echo "$as_me: failed program was:" >&5
16799
sed 's/^/| /' conftest.$ac_ext >&5
16801
ac_header_compiler=no
16804
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16805
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16806
echo "${ECHO_T}$ac_header_compiler" >&6; }
16808
# Is the header present?
16809
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
16810
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
16811
cat >conftest.$ac_ext <<_ACEOF
16814
cat confdefs.h >>conftest.$ac_ext
16815
cat >>conftest.$ac_ext <<_ACEOF
16816
/* end confdefs.h. */
16817
#include <$ac_header>
16819
if { (ac_try="$ac_cpp conftest.$ac_ext"
16820
case "(($ac_try" in
16821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822
*) ac_try_echo=$ac_try;;
16824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16827
grep -v '^ *+' conftest.er1 >conftest.err
16829
cat conftest.err >&5
16830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831
(exit $ac_status); } >/dev/null && {
16832
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16833
test ! -s conftest.err
16835
ac_header_preproc=yes
16837
echo "$as_me: failed program was:" >&5
16838
sed 's/^/| /' conftest.$ac_ext >&5
16840
ac_header_preproc=no
16843
rm -f conftest.err conftest.$ac_ext
16844
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16845
echo "${ECHO_T}$ac_header_preproc" >&6; }
16847
# So? What about this header?
16848
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16850
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16851
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16852
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16853
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16854
ac_header_preproc=yes
16857
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16858
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16859
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16860
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16861
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16862
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16863
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16864
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16865
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16866
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16867
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16868
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16870
## ------------------------------------------ ##
16871
## Report this to zeromq-dev@lists.zeromq.org ##
16872
## ------------------------------------------ ##
16874
) | sed "s/^/$as_me: WARNING: /" >&2
16877
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
16878
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
16879
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16880
echo $ECHO_N "(cached) $ECHO_C" >&6
16882
eval "$as_ac_Header=\$ac_header_preproc"
16884
ac_res=`eval echo '${'$as_ac_Header'}'`
16885
{ echo "$as_me:$LINENO: result: $ac_res" >&5
16886
echo "${ECHO_T}$ac_res" >&6; }
16889
if test `eval echo '${'$as_ac_Header'}'` = yes; then
15788
$as_echo "#define ZMQ_HAVE_WINDOWS 1" >>confdefs.h
15791
$as_echo "#define ZMQ_HAVE_MINGW32 1" >>confdefs.h
15793
for ac_header in windows.h
15795
ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
15796
if test "x$ac_cv_header_windows_h" = x""yes; then :
16890
15797
cat >>confdefs.h <<_ACEOF
16891
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15798
#define HAVE_WINDOWS_H 1
16899
{ echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
16900
echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }
16901
if test "${ac_cv_lib_ws2_32_main+set}" = set; then
16902
echo $ECHO_N "(cached) $ECHO_C" >&6
15805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
15806
$as_echo_n "checking for main in -lws2_32... " >&6; }
15807
if test "${ac_cv_lib_ws2_32_main+set}" = set; then :
15808
$as_echo_n "(cached) " >&6
16904
15810
ac_check_lib_save_LIBS=$LIBS
16905
15811
LIBS="-lws2_32 $LIBS"
16906
cat >conftest.$ac_ext <<_ACEOF
16909
cat confdefs.h >>conftest.$ac_ext
16910
cat >>conftest.$ac_ext <<_ACEOF
15812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16911
15813
/* end confdefs.h. */
17344
rm -f conftest$ac_exeext
17345
if { (ac_try="$ac_link"
17346
case "(($ac_try" in
17347
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17348
*) ac_try_echo=$ac_try;;
17350
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17351
(eval "$ac_link") 2>&5
17353
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17355
{ (case "(($ac_try" in
17356
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357
*) ac_try_echo=$ac_try;;
17359
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360
(eval "$ac_try") 2>&5
17362
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363
(exit $ac_status); }; }; then
16099
if ac_fn_c_try_run "$LINENO"; then :
17366
echo "$as_me: program exited with status $ac_status" >&5
17367
echo "$as_me: failed program was:" >&5
17368
sed 's/^/| /' conftest.$ac_ext >&5
17370
( exit $ac_status )
17371
ac_cv_header_stdc=no
17373
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17379
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17380
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
16102
ac_cv_header_stdc=no
16104
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16105
conftest.$ac_objext conftest.beam conftest.$ac_ext
16110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16111
$as_echo "$ac_cv_header_stdc" >&6; }
17381
16112
if test $ac_cv_header_stdc = yes; then
17383
cat >>confdefs.h <<\_ACEOF
17384
#define STDC_HEADERS 1
16114
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
17400
16118
for ac_header in errno.h arpa/inet.h netinet/tcp.h netinet/in.h stddef.h \
17401
16119
stdlib.h string.h sys/socket.h sys/time.h unistd.h limits.h
17403
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17404
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17405
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17406
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17407
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17408
echo $ECHO_N "(cached) $ECHO_C" >&6
17410
ac_res=`eval echo '${'$as_ac_Header'}'`
17411
{ echo "$as_me:$LINENO: result: $ac_res" >&5
17412
echo "${ECHO_T}$ac_res" >&6; }
17414
# Is the header compilable?
17415
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17416
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17417
cat >conftest.$ac_ext <<_ACEOF
17420
cat confdefs.h >>conftest.$ac_ext
17421
cat >>conftest.$ac_ext <<_ACEOF
17422
/* end confdefs.h. */
17423
$ac_includes_default
17424
#include <$ac_header>
17426
rm -f conftest.$ac_objext
17427
if { (ac_try="$ac_compile"
17428
case "(($ac_try" in
17429
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17430
*) ac_try_echo=$ac_try;;
17432
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17433
(eval "$ac_compile") 2>conftest.er1
17435
grep -v '^ *+' conftest.er1 >conftest.err
17437
cat conftest.err >&5
17438
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439
(exit $ac_status); } && {
17440
test -z "$ac_c_werror_flag" ||
17441
test ! -s conftest.err
17442
} && test -s conftest.$ac_objext; then
17443
ac_header_compiler=yes
17445
echo "$as_me: failed program was:" >&5
17446
sed 's/^/| /' conftest.$ac_ext >&5
17448
ac_header_compiler=no
17451
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17452
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17453
echo "${ECHO_T}$ac_header_compiler" >&6; }
17455
# Is the header present?
17456
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17457
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17458
cat >conftest.$ac_ext <<_ACEOF
17461
cat confdefs.h >>conftest.$ac_ext
17462
cat >>conftest.$ac_ext <<_ACEOF
17463
/* end confdefs.h. */
17464
#include <$ac_header>
17466
if { (ac_try="$ac_cpp conftest.$ac_ext"
17467
case "(($ac_try" in
17468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17469
*) ac_try_echo=$ac_try;;
17471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17472
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17474
grep -v '^ *+' conftest.er1 >conftest.err
17476
cat conftest.err >&5
17477
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17478
(exit $ac_status); } >/dev/null && {
17479
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17480
test ! -s conftest.err
17482
ac_header_preproc=yes
17484
echo "$as_me: failed program was:" >&5
17485
sed 's/^/| /' conftest.$ac_ext >&5
17487
ac_header_preproc=no
17490
rm -f conftest.err conftest.$ac_ext
17491
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17492
echo "${ECHO_T}$ac_header_preproc" >&6; }
17494
# So? What about this header?
17495
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17497
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17498
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17499
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17500
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17501
ac_header_preproc=yes
17504
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17505
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17506
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17507
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17508
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17509
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17510
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17511
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17512
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17513
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17514
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17515
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17517
## ------------------------------------------ ##
17518
## Report this to zeromq-dev@lists.zeromq.org ##
17519
## ------------------------------------------ ##
17521
) | sed "s/^/$as_me: WARNING: /" >&2
17524
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17525
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17526
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17527
echo $ECHO_N "(cached) $ECHO_C" >&6
17529
eval "$as_ac_Header=\$ac_header_preproc"
17531
ac_res=`eval echo '${'$as_ac_Header'}'`
17532
{ echo "$as_me:$LINENO: result: $ac_res" >&5
17533
echo "${ECHO_T}$ac_res" >&6; }
17536
if test `eval echo '${'$as_ac_Header'}'` = yes; then
16121
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16122
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16123
eval as_val=\$$as_ac_Header
16124
if test "x$as_val" = x""yes; then :
17537
16125
cat >>confdefs.h <<_ACEOF
17538
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16126
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17546
16134
# Check if we have ifaddrs.h header file.
17548
16135
for ac_header in ifaddrs.h
17550
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17552
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17553
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17554
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17555
echo $ECHO_N "(cached) $ECHO_C" >&6
17557
ac_res=`eval echo '${'$as_ac_Header'}'`
17558
{ echo "$as_me:$LINENO: result: $ac_res" >&5
17559
echo "${ECHO_T}$ac_res" >&6; }
17561
# Is the header compilable?
17562
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
17563
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
17564
cat >conftest.$ac_ext <<_ACEOF
17567
cat confdefs.h >>conftest.$ac_ext
17568
cat >>conftest.$ac_ext <<_ACEOF
17569
/* end confdefs.h. */
17570
$ac_includes_default
17571
#include <$ac_header>
17573
rm -f conftest.$ac_objext
17574
if { (ac_try="$ac_compile"
17575
case "(($ac_try" in
17576
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17577
*) ac_try_echo=$ac_try;;
17579
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17580
(eval "$ac_compile") 2>conftest.er1
17582
grep -v '^ *+' conftest.er1 >conftest.err
17584
cat conftest.err >&5
17585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586
(exit $ac_status); } && {
17587
test -z "$ac_c_werror_flag" ||
17588
test ! -s conftest.err
17589
} && test -s conftest.$ac_objext; then
17590
ac_header_compiler=yes
17592
echo "$as_me: failed program was:" >&5
17593
sed 's/^/| /' conftest.$ac_ext >&5
17595
ac_header_compiler=no
17598
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17599
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17600
echo "${ECHO_T}$ac_header_compiler" >&6; }
17602
# Is the header present?
17603
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
17604
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
17605
cat >conftest.$ac_ext <<_ACEOF
17608
cat confdefs.h >>conftest.$ac_ext
17609
cat >>conftest.$ac_ext <<_ACEOF
17610
/* end confdefs.h. */
17611
#include <$ac_header>
17613
if { (ac_try="$ac_cpp conftest.$ac_ext"
17614
case "(($ac_try" in
17615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17616
*) ac_try_echo=$ac_try;;
17618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17619
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17621
grep -v '^ *+' conftest.er1 >conftest.err
17623
cat conftest.err >&5
17624
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625
(exit $ac_status); } >/dev/null && {
17626
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17627
test ! -s conftest.err
17629
ac_header_preproc=yes
17631
echo "$as_me: failed program was:" >&5
17632
sed 's/^/| /' conftest.$ac_ext >&5
17634
ac_header_preproc=no
17637
rm -f conftest.err conftest.$ac_ext
17638
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17639
echo "${ECHO_T}$ac_header_preproc" >&6; }
17641
# So? What about this header?
17642
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17644
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17645
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17646
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17647
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17648
ac_header_preproc=yes
17651
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17652
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17653
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17654
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17655
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17656
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17657
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17658
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17659
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17660
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17661
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17662
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17664
## ------------------------------------------ ##
17665
## Report this to zeromq-dev@lists.zeromq.org ##
17666
## ------------------------------------------ ##
17668
) | sed "s/^/$as_me: WARNING: /" >&2
17671
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
17672
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17673
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17674
echo $ECHO_N "(cached) $ECHO_C" >&6
17676
eval "$as_ac_Header=\$ac_header_preproc"
17678
ac_res=`eval echo '${'$as_ac_Header'}'`
17679
{ echo "$as_me:$LINENO: result: $ac_res" >&5
17680
echo "${ECHO_T}$ac_res" >&6; }
17683
if test `eval echo '${'$as_ac_Header'}'` = yes; then
16137
ac_fn_c_check_header_mongrel "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "$ac_includes_default"
16138
if test "x$ac_cv_header_ifaddrs_h" = x""yes; then :
17684
16139
cat >>confdefs.h <<_ACEOF
17685
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16140
#define HAVE_IFADDRS_H 1
17688
cat >>confdefs.h <<\_ACEOF
17689
#define ZMQ_HAVE_IFADDRS 1
16143
$as_echo "#define ZMQ_HAVE_IFADDRS 1" >>confdefs.h
19197
17153
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19198
17154
# 1. Remove the extension, and $U if already installed.
19199
17155
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19200
ac_i=`echo "$ac_i" | sed "$ac_script"`
17156
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19201
17157
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19202
17158
# will be set to the directory where LIBOBJS objects are built.
19203
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19204
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17159
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17160
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19206
17162
LIBOBJS=$ac_libobjs
19208
17164
LTLIBOBJS=$ac_ltlibobjs
17167
if test -n "$EXEEXT"; then
17169
am__EXEEXT_FALSE='#'
17171
am__EXEEXT_TRUE='#'
19211
17175
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19212
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
19213
Usually this means the macro was only invoked conditionally." >&5
19214
echo "$as_me: error: conditional \"AMDEP\" was never defined.
19215
Usually this means the macro was only invoked conditionally." >&2;}
19216
{ (exit 1); exit 1; }; }
17176
as_fn_error "conditional \"AMDEP\" was never defined.
17177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19218
17179
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19219
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
19220
Usually this means the macro was only invoked conditionally." >&5
19221
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
19222
Usually this means the macro was only invoked conditionally." >&2;}
19223
{ (exit 1); exit 1; }; }
19225
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19226
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19227
Usually this means the macro was only invoked conditionally." >&5
19228
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19229
Usually this means the macro was only invoked conditionally." >&2;}
19230
{ (exit 1); exit 1; }; }
19232
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19233
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
19234
Usually this means the macro was only invoked conditionally." >&5
19235
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
19236
Usually this means the macro was only invoked conditionally." >&2;}
19237
{ (exit 1); exit 1; }; }
17180
as_fn_error "conditional \"am__fastdepCC\" was never defined.
17181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17183
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17184
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17187
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
17188
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
17189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19239
17191
if test -z "${BUILD_PGM_TRUE}" && test -z "${BUILD_PGM_FALSE}"; then
19240
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_PGM\" was never defined.
19241
Usually this means the macro was only invoked conditionally." >&5
19242
echo "$as_me: error: conditional \"BUILD_PGM\" was never defined.
19243
Usually this means the macro was only invoked conditionally." >&2;}
19244
{ (exit 1); exit 1; }; }
17192
as_fn_error "conditional \"BUILD_PGM\" was never defined.
17193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19246
17195
if test -z "${BUILD_NO_PGM_TRUE}" && test -z "${BUILD_NO_PGM_FALSE}"; then
19247
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_NO_PGM\" was never defined.
19248
Usually this means the macro was only invoked conditionally." >&5
19249
echo "$as_me: error: conditional \"BUILD_NO_PGM\" was never defined.
19250
Usually this means the macro was only invoked conditionally." >&2;}
19251
{ (exit 1); exit 1; }; }
17196
as_fn_error "conditional \"BUILD_NO_PGM\" was never defined.
17197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19253
17199
if test -z "${ON_MINGW_TRUE}" && test -z "${ON_MINGW_FALSE}"; then
19254
{ { echo "$as_me:$LINENO: error: conditional \"ON_MINGW\" was never defined.
19255
Usually this means the macro was only invoked conditionally." >&5
19256
echo "$as_me: error: conditional \"ON_MINGW\" was never defined.
19257
Usually this means the macro was only invoked conditionally." >&2;}
19258
{ (exit 1); exit 1; }; }
17200
as_fn_error "conditional \"ON_MINGW\" was never defined.
17201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19260
17203
if test -z "${INSTALL_MAN_TRUE}" && test -z "${INSTALL_MAN_FALSE}"; then
19261
{ { echo "$as_me:$LINENO: error: conditional \"INSTALL_MAN\" was never defined.
19262
Usually this means the macro was only invoked conditionally." >&5
19263
echo "$as_me: error: conditional \"INSTALL_MAN\" was never defined.
19264
Usually this means the macro was only invoked conditionally." >&2;}
19265
{ (exit 1); exit 1; }; }
17204
as_fn_error "conditional \"INSTALL_MAN\" was never defined.
17205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19267
17207
if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
19268
{ { echo "$as_me:$LINENO: error: conditional \"BUILD_DOC\" was never defined.
19269
Usually this means the macro was only invoked conditionally." >&5
19270
echo "$as_me: error: conditional \"BUILD_DOC\" was never defined.
19271
Usually this means the macro was only invoked conditionally." >&2;}
19272
{ (exit 1); exit 1; }; }
17208
as_fn_error "conditional \"BUILD_DOC\" was never defined.
17209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19275
17212
: ${CONFIG_STATUS=./config.status}
19276
17214
ac_clean_files_save=$ac_clean_files
19277
17215
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19278
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
19279
echo "$as_me: creating $CONFIG_STATUS" >&6;}
19280
cat >$CONFIG_STATUS <<_ACEOF
17216
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17217
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17219
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19282
17221
# Generated by $as_me.
19283
17222
# Run this file to recreate the current configuration.
19440
as_lineno_1=$LINENO
19441
as_lineno_2=$LINENO
19442
test "x$as_lineno_1" != "x$as_lineno_2" &&
19443
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
19445
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
19446
# uniformly replaced by the line number. The first 'sed' inserts a
19447
# line-number line after each line using $LINENO; the second 'sed'
19448
# does the real work. The second script uses 'N' to pair each
19449
# line-number line with the line containing $LINENO, and appends
19450
# trailing '-' during substitution so that $LINENO is not a special
19451
# case at line end.
19452
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
19453
# scripts with optimization help from Paolo Bonzini. Blame Lee
19454
# E. McMahon (1931-1989) for sed's syntax. :-)
19466
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
19469
' >$as_me.lineno &&
19470
chmod +x "$as_me.lineno" ||
19471
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
19472
{ (exit 1); exit 1; }; }
19474
# Don't try to exec as it changes $[0], causing all sort of problems
19475
# (the dirname of $[0] is not the place where we might find the
19476
# original and so on. Autoconf is especially sensitive to this).
19477
. "./$as_me.lineno"
19478
# Exit status is that of the last command.
19483
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17475
# Avoid depending upon Character Ranges.
17476
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17477
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17478
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17479
as_cr_digits='0123456789'
17480
as_cr_alnum=$as_cr_Letters$as_cr_digits
19489
17482
ECHO_C= ECHO_N= ECHO_T=
19490
case `echo -n x` in
17483
case `echo -n x` in #(((((
19492
case `echo 'x\c'` in
17485
case `echo 'xy\c'` in
19493
17486
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
17488
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19497
17492
ECHO_N='-n';;
19500
if expr a : '\(a\)' >/dev/null 2>&1 &&
19501
test "X`expr 00001 : '.*\(...\)'`" = X001; then
19507
17495
rm -f conf$$ conf$$.exe conf$$.file
19508
17496
if test -d conf$$.dir; then
19509
17497
rm -f conf$$.dir/conf$$.file
19511
17499
rm -f conf$$.dir
17500
mkdir conf$$.dir 2>/dev/null
19515
if ln -s conf$$.file conf$$ 2>/dev/null; then
19517
# ... but there are two gotchas:
19518
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19519
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19520
# In both cases, we have to default to `cp -p'.
19521
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17502
if (echo >conf$$.file) 2>/dev/null; then
17503
if ln -s conf$$.file conf$$ 2>/dev/null; then
17505
# ... but there are two gotchas:
17506
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17507
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17508
# In both cases, we have to default to `cp -p'.
17509
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17511
elif ln conf$$.file conf$$ 2>/dev/null; then
19522
17514
as_ln_s='cp -p'
19523
elif ln conf$$.file conf$$ 2>/dev/null; then
19526
17517
as_ln_s='cp -p'
19528
17519
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19529
17520
rmdir conf$$.dir 2>/dev/null
17525
# Create "$as_dir" as a directory, including parents if necessary.
17530
-*) as_dir=./$as_dir;;
17532
test -d "$as_dir" || eval $as_mkdir_p || {
17536
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17537
*) as_qdir=$as_dir;;
17539
as_dirs="'$as_qdir' $as_dirs"
17540
as_dir=`$as_dirname -- "$as_dir" ||
17541
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17542
X"$as_dir" : 'X\(//\)[^/]' \| \
17543
X"$as_dir" : 'X\(//\)$' \| \
17544
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17545
$as_echo X"$as_dir" |
17546
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17550
/^X\(\/\/\)[^/].*/{
17563
test -d "$as_dir" && break
17565
test -z "$as_dirs" || eval "mkdir $as_dirs"
17566
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
19531
17570
if mkdir -p . 2>/dev/null; then
17571
as_mkdir_p='mkdir -p "$as_dir"'
19534
17573
test -d ./-p && rmdir ./-p
19535
17574
as_mkdir_p=false
20145
18210
tmp=./conf$$-$RANDOM
20146
18211
(umask 077 && mkdir "$tmp")
20149
echo "$me: cannot create a temporary directory in ." >&2
20150
{ (exit 1); exit 1; }
20154
# Set up the sed scripts for CONFIG_FILES section.
20157
# No need to generate the scripts if there are no CONFIG_FILES.
20158
# This happens for instance when ./config.status config.h
18212
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
18214
# Set up the scripts for CONFIG_FILES section.
18215
# No need to generate them if there are no CONFIG_FILES.
18216
# This happens for instance with `./config.status config.h'.
20159
18217
if test -n "$CONFIG_FILES"; then
20166
for ac_last_try in false false false false false :; do
20167
cat >conf$$subs.sed <<_ACEOF
20168
SHELL!$SHELL$ac_delim
20169
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20170
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20171
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20172
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20173
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20174
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20175
exec_prefix!$exec_prefix$ac_delim
20176
prefix!$prefix$ac_delim
20177
program_transform_name!$program_transform_name$ac_delim
20178
bindir!$bindir$ac_delim
20179
sbindir!$sbindir$ac_delim
20180
libexecdir!$libexecdir$ac_delim
20181
datarootdir!$datarootdir$ac_delim
20182
datadir!$datadir$ac_delim
20183
sysconfdir!$sysconfdir$ac_delim
20184
sharedstatedir!$sharedstatedir$ac_delim
20185
localstatedir!$localstatedir$ac_delim
20186
includedir!$includedir$ac_delim
20187
oldincludedir!$oldincludedir$ac_delim
20188
docdir!$docdir$ac_delim
20189
infodir!$infodir$ac_delim
20190
htmldir!$htmldir$ac_delim
20191
dvidir!$dvidir$ac_delim
20192
pdfdir!$pdfdir$ac_delim
20193
psdir!$psdir$ac_delim
20194
libdir!$libdir$ac_delim
20195
localedir!$localedir$ac_delim
20196
mandir!$mandir$ac_delim
20197
DEFS!$DEFS$ac_delim
20198
ECHO_C!$ECHO_C$ac_delim
20199
ECHO_N!$ECHO_N$ac_delim
20200
ECHO_T!$ECHO_T$ac_delim
20201
LIBS!$LIBS$ac_delim
20202
build_alias!$build_alias$ac_delim
20203
host_alias!$host_alias$ac_delim
20204
target_alias!$target_alias$ac_delim
20205
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20206
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20207
INSTALL_DATA!$INSTALL_DATA$ac_delim
20208
am__isrc!$am__isrc$ac_delim
20209
CYGPATH_W!$CYGPATH_W$ac_delim
20210
PACKAGE!$PACKAGE$ac_delim
20211
VERSION!$VERSION$ac_delim
20212
ACLOCAL!$ACLOCAL$ac_delim
20213
AUTOCONF!$AUTOCONF$ac_delim
20214
AUTOMAKE!$AUTOMAKE$ac_delim
20215
AUTOHEADER!$AUTOHEADER$ac_delim
20216
MAKEINFO!$MAKEINFO$ac_delim
20217
install_sh!$install_sh$ac_delim
20218
STRIP!$STRIP$ac_delim
20219
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20220
mkdir_p!$mkdir_p$ac_delim
20222
SET_MAKE!$SET_MAKE$ac_delim
20223
am__leading_dot!$am__leading_dot$ac_delim
20224
AMTAR!$AMTAR$ac_delim
20225
am__tar!$am__tar$ac_delim
20226
am__untar!$am__untar$ac_delim
20227
LTVER!$LTVER$ac_delim
20229
CFLAGS!$CFLAGS$ac_delim
20230
LDFLAGS!$LDFLAGS$ac_delim
20231
CPPFLAGS!$CPPFLAGS$ac_delim
20232
ac_ct_CC!$ac_ct_CC$ac_delim
20233
EXEEXT!$EXEEXT$ac_delim
20234
OBJEXT!$OBJEXT$ac_delim
20235
DEPDIR!$DEPDIR$ac_delim
20236
am__include!$am__include$ac_delim
20237
am__quote!$am__quote$ac_delim
20238
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20239
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20240
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20241
CCDEPMODE!$CCDEPMODE$ac_delim
20242
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20243
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20245
CXXFLAGS!$CXXFLAGS$ac_delim
20246
ac_ct_CXX!$ac_ct_CXX$ac_delim
20247
CXXDEPMODE!$CXXDEPMODE$ac_delim
20248
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20249
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20250
build!$build$ac_delim
20251
build_cpu!$build_cpu$ac_delim
20252
build_vendor!$build_vendor$ac_delim
20253
build_os!$build_os$ac_delim
20254
host!$host$ac_delim
20255
host_cpu!$host_cpu$ac_delim
20256
host_vendor!$host_vendor$ac_delim
20257
host_os!$host_os$ac_delim
20259
DLLTOOL!$DLLTOOL$ac_delim
20260
OBJDUMP!$OBJDUMP$ac_delim
20261
LIBTOOL!$LIBTOOL$ac_delim
20263
GREP!$GREP$ac_delim
20264
EGREP!$EGREP$ac_delim
20267
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20269
elif $ac_last_try; then
20270
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20271
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20272
{ (exit 1); exit 1; }; }
20274
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20278
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20279
if test -n "$ac_eof"; then
20280
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20281
ac_eof=`expr $ac_eof + 1`
20284
cat >>$CONFIG_STATUS <<_ACEOF
20285
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20286
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20289
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20290
s/^/s,@/; s/!/@,|#_!!_#|/
20293
s/'"$ac_delim"'$/,g/; t
20295
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20296
' >>$CONFIG_STATUS <conf$$subs.sed
20297
rm -f conf$$subs.sed
20298
cat >>$CONFIG_STATUS <<_ACEOF
20304
for ac_last_try in false false false false false :; do
20305
cat >conf$$subs.sed <<_ACEOF
20306
FGREP!$FGREP$ac_delim
20308
DUMPBIN!$DUMPBIN$ac_delim
20309
ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
20311
LN_S!$LN_S$ac_delim
20313
RANLIB!$RANLIB$ac_delim
20314
lt_ECHO!$lt_ECHO$ac_delim
20315
DSYMUTIL!$DSYMUTIL$ac_delim
20316
NMEDIT!$NMEDIT$ac_delim
20317
LIPO!$LIPO$ac_delim
20318
OTOOL!$OTOOL$ac_delim
20319
OTOOL64!$OTOOL64$ac_delim
20321
CXXCPP!$CXXCPP$ac_delim
20322
have_asciidoc!$have_asciidoc$ac_delim
20323
have_xmlto!$have_xmlto$ac_delim
20324
have_pkg_config!$have_pkg_config$ac_delim
20325
pgm_basename!$pgm_basename$ac_delim
20326
PKG_CONFIG!$PKG_CONFIG$ac_delim
20327
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
20328
GLIB_LIBS!$GLIB_LIBS$ac_delim
20329
have_gzip!$have_gzip$ac_delim
20330
have_perl!$have_perl$ac_delim
20331
have_python!$have_python$ac_delim
20332
BUILD_PGM_TRUE!$BUILD_PGM_TRUE$ac_delim
20333
BUILD_PGM_FALSE!$BUILD_PGM_FALSE$ac_delim
20334
BUILD_NO_PGM_TRUE!$BUILD_NO_PGM_TRUE$ac_delim
20335
BUILD_NO_PGM_FALSE!$BUILD_NO_PGM_FALSE$ac_delim
20336
ON_MINGW_TRUE!$ON_MINGW_TRUE$ac_delim
20337
ON_MINGW_FALSE!$ON_MINGW_FALSE$ac_delim
20338
INSTALL_MAN_TRUE!$INSTALL_MAN_TRUE$ac_delim
20339
INSTALL_MAN_FALSE!$INSTALL_MAN_FALSE$ac_delim
20340
BUILD_DOC_TRUE!$BUILD_DOC_TRUE$ac_delim
20341
BUILD_DOC_FALSE!$BUILD_DOC_FALSE$ac_delim
20342
stdint!$stdint$ac_delim
20343
inttypes!$inttypes$ac_delim
20344
LIBZMQ_EXTRA_CXXFLAGS!$LIBZMQ_EXTRA_CXXFLAGS$ac_delim
20345
LIBZMQ_EXTRA_LDFLAGS!$LIBZMQ_EXTRA_LDFLAGS$ac_delim
20346
LIBOBJS!$LIBOBJS$ac_delim
20347
LTLIBOBJS!$LTLIBOBJS$ac_delim
20350
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
20352
elif $ac_last_try; then
20353
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20354
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20355
{ (exit 1); exit 1; }; }
20357
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20361
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20362
if test -n "$ac_eof"; then
20363
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20364
ac_eof=`expr $ac_eof + 1`
20367
cat >>$CONFIG_STATUS <<_ACEOF
20368
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20369
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20372
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20373
s/^/s,@/; s/!/@,|#_!!_#|/
20376
s/'"$ac_delim"'$/,g/; t
20378
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20379
' >>$CONFIG_STATUS <conf$$subs.sed
20380
rm -f conf$$subs.sed
20381
cat >>$CONFIG_STATUS <<_ACEOF
18220
ac_cr=`echo X | tr X '\015'`
18221
# On cygwin, bash can eat \r inside `` if the user requested igncr.
18222
# But we know of no other shell where ac_cr would be empty at this
18223
# point, so we can use a bashism as a fallback.
18224
if test "x$ac_cr" = x; then
18225
eval ac_cr=\$\'\\r\'
18227
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18228
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18231
ac_cs_awk_cr=$ac_cr
18234
echo 'BEGIN {' >"$tmp/subs1.awk" &&
18239
echo "cat >conf$$subs.awk <<_ACEOF" &&
18240
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18242
} >conf$$subs.sh ||
18243
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18244
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18246
for ac_last_try in false false false false false :; do
18247
. ./conf$$subs.sh ||
18248
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18250
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18251
if test $ac_delim_n = $ac_delim_num; then
18253
elif $ac_last_try; then
18254
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
18256
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18259
rm -f conf$$subs.sh
18261
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18262
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
18266
s/^/S["/; s/!.*/"]=/
18276
s/\(.\{148\}\)..*/\1/
18278
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18283
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18290
s/\(.\{148\}\)..*/\1/
18292
s/["\\]/\\&/g; s/^/"/; s/$/"/
18296
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18301
' <conf$$subs.awk | sed '
18306
' >>$CONFIG_STATUS || ac_write_fail=1
18307
rm -f conf$$subs.awk
18308
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18310
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18311
for (key in S) S_is_set[key] = 1
18317
nfields = split(line, field, "@")
18319
len = length(field[1])
18320
for (i = 2; i < nfields; i++) {
18322
keylen = length(key)
18323
if (S_is_set[key]) {
18325
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18326
len += length(value) + length(field[++i])
18337
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18338
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18339
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18342
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
18343
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
20388
18346
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20389
18347
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20634
18669
s&@INSTALL@&$ac_INSTALL&;t t
20635
18670
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20636
18671
$ac_datarootdir_hack
20637
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
18673
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
18674
|| as_fn_error "could not create $ac_file" "$LINENO" 5
20639
18676
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20640
18677
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20641
18678
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20642
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18679
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20643
18680
which seems to be undefined. Please make sure it is defined." >&5
20644
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18681
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20645
18682
which seems to be undefined. Please make sure it is defined." >&2;}
20647
18684
rm -f "$tmp/stdin"
20648
18685
case $ac_file in
20649
-) cat "$tmp/out"; rm -f "$tmp/out";;
20650
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
18686
-) cat "$tmp/out" && rm -f "$tmp/out";;
18687
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18689
|| as_fn_error "could not create $ac_file" "$LINENO" 5
20655
18693
# CONFIG_HEADER
20659
# Transform confdefs.h into a sed script `conftest.defines', that
20660
# substitutes the proper values into config.h.in to produce config.h.
20661
rm -f conftest.defines conftest.tail
20662
# First, append a space to every undef/define line, to ease matching.
20663
echo 's/$/ /' >conftest.defines
20664
# Then, protect against being on the right side of a sed subst, or in
20665
# an unquoted here document, in config.status. If some macros were
20666
# called several times there might be several #defines for the same
20667
# symbol, which is useless. But do not sort them, since the last
20668
# AC_DEFINE must be honored.
20669
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20670
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
20671
# NAME is the cpp macro being defined, VALUE is the value it is being given.
20672
# PARAMS is the parameter list in the macro definition--in most cases, it's
20673
# just an empty string.
20674
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
20675
ac_dB='\\)[ (].*,\\1define\\2'
20683
s/^[ ]*#[ ]*define[ ][ ]*//
20688
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
20689
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
20690
' >>conftest.defines
20692
# Remove the space that was appended to ease matching.
20693
# Then replace #undef with comments. This is necessary, for
20694
# example, in the case of _POSIX_SOURCE, which is predefined and required
20695
# on some systems where configure will not decide to define it.
20696
# (The regexp can be short, since the line contains either #define or #undef.)
20698
s,^[ #]*u.*,/* & */,' >>conftest.defines
20700
# Break up conftest.defines:
20701
ac_max_sed_lines=50
20703
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
20704
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
20705
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
20707
ac_in='$ac_file_inputs'
20708
ac_out='"$tmp/out1"'
20709
ac_nxt='"$tmp/out2"'
20713
# Write a here document:
20714
cat >>$CONFIG_STATUS <<_ACEOF
20715
# First, check the format of the line:
20716
cat >"\$tmp/defines.sed" <<\\CEOF
20717
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
20718
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
20722
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
20724
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
20725
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
20726
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
20727
grep . conftest.tail >/dev/null || break
20728
rm -f conftest.defines
20729
mv conftest.tail conftest.defines
20731
rm -f conftest.defines conftest.tail
20733
echo "ac_result=$ac_in" >>$CONFIG_STATUS
20734
cat >>$CONFIG_STATUS <<\_ACEOF
20735
18695
if test x"$ac_file" != x-; then
20736
echo "/* $configure_input */" >"$tmp/config.h"
20737
cat "$ac_result" >>"$tmp/config.h"
20738
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
20739
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
20740
echo "$as_me: $ac_file is unchanged" >&6;}
18697
$as_echo "/* $configure_input */" \
18698
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18699
} >"$tmp/config.h" \
18700
|| as_fn_error "could not create $ac_file" "$LINENO" 5
18701
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18702
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18703
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20743
mv "$tmp/config.h" $ac_file
18706
mv "$tmp/config.h" "$ac_file" \
18707
|| as_fn_error "could not create $ac_file" "$LINENO" 5
20746
echo "/* $configure_input */"
18710
$as_echo "/* $configure_input */" \
18711
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18712
|| as_fn_error "could not create -" "$LINENO" 5
20750
# Compute $ac_file's index in $config_headers.
18714
# Compute "$ac_file"'s index in $config_headers.
20752
18716
_am_stamp_count=1
20753
18717
for _am_header in $config_headers :; do
20754
18718
case $_am_header in