136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
175
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
176
if (eval ":") 2>/dev/null; then
176
177
as_have_required=yes
178
179
as_have_required=no
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
246
test -z "$as_dir" && as_dir=.
192
249
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
220
367
export CONFIG_SHELL
221
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org and
232
$0: http://sv.nongnu.org/bugs/?group=lordsawar about your
233
$0: system, including any error possibly output before this
234
$0: message. Then install a modern shell, or manually run
235
$0: the script under such a shell if you do have one."
241
SHELL=${CONFIG_SHELL-/bin/sh}
243
# Unset more variables known to interfere with behavior of common tools.
244
CLICOLOR_FORCE= GREP_OPTIONS=
245
unset CLICOLOR_FORCE GREP_OPTIONS
247
## --------------------- ##
248
## M4sh Shell Functions. ##
249
## --------------------- ##
252
# Portably unset VAR.
255
{ eval $1=; unset $1;}
259
# as_fn_set_status STATUS
260
# -----------------------
261
# Set $? to STATUS, without forking.
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279
# Create "$as_dir" as a directory, including parents if necessary.
284
-*) as_dir=./$as_dir;;
286
test -d "$as_dir" || eval $as_mkdir_p || {
290
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
as_dirs="'$as_qdir' $as_dirs"
294
as_dir=`$as_dirname -- "$as_dir" ||
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
X"$as_dir" : 'X\(//\)[^/]' \| \
297
X"$as_dir" : 'X\(//\)$' \| \
298
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
$as_echo X"$as_dir" |
300
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317
test -d "$as_dir" && break
319
test -z "$as_dirs" || eval "mkdir $as_dirs"
320
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
# as_fn_append VAR VALUE
325
# ----------------------
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
# advantage of any shell optimizations that allow amortized linear growth over
328
# repeated appends, instead of the typical quadratic growth present in naive
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
eval 'as_fn_append ()
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
# must be portable across $(()) and expr.
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355
as_val=`expr "$@" || test $? -eq 1`
360
# as_fn_error ERROR [LINENO LOG_FD]
361
# ---------------------------------
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
# script with status $?, using 1 if that was 0.
367
as_status=$?; test $as_status -eq 0 && as_status=1
369
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372
$as_echo "$as_me: error: $1" >&2
373
as_fn_exit $as_status
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
as_me=`$as_basename -- "$0" ||
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397
X"$0" : 'X\(//\)$' \| \
398
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
sed '/^.*\/\([^/][^/]*\)\/*$/{
414
# Avoid depending upon Character Ranges.
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418
as_cr_digits='0123456789'
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
as_lineno_1=$LINENO as_lineno_1a=$LINENO
423
as_lineno_2=$LINENO as_lineno_2a=$LINENO
424
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
1737
1796
test -n "$ac_init_help" && exit $ac_status
1738
1797
if $ac_init_version; then
1740
lordsawar configure 0.1.6
1741
generated by GNU Autoconf 2.64
1799
lordsawar configure 0.1.8
1800
generated by GNU Autoconf 2.63
1743
Copyright (C) 2009 Free Software Foundation, Inc.
1802
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1803
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1744
1804
This configure script is free software; the Free Software Foundation
1745
1805
gives unlimited permission to copy, distribute and modify it.
1750
## ------------------------ ##
1751
## Autoconf initialization. ##
1752
## ------------------------ ##
1754
# ac_fn_c_try_compile LINENO
1755
# --------------------------
1756
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1757
ac_fn_c_try_compile ()
1759
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
rm -f conftest.$ac_objext
1761
if { { ac_try="$ac_compile"
1763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764
*) ac_try_echo=$ac_try;;
1766
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767
$as_echo "$ac_try_echo"; } >&5
1768
(eval "$ac_compile") 2>conftest.err
1770
if test -s conftest.err; then
1771
grep -v '^ *+' conftest.err >conftest.er1
1772
cat conftest.er1 >&5
1773
mv -f conftest.er1 conftest.err
1775
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776
test $ac_status = 0; } && {
1777
test -z "$ac_c_werror_flag" ||
1778
test ! -s conftest.err
1779
} && test -s conftest.$ac_objext; then :
1782
$as_echo "$as_me: failed program was:" >&5
1783
sed 's/^/| /' conftest.$ac_ext >&5
1787
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1790
} # ac_fn_c_try_compile
1792
# ac_fn_c_try_link LINENO
1793
# -----------------------
1794
# Try to link conftest.$ac_ext, and return whether this succeeded.
1797
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798
rm -f conftest.$ac_objext conftest$ac_exeext
1799
if { { ac_try="$ac_link"
1801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802
*) ac_try_echo=$ac_try;;
1804
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805
$as_echo "$ac_try_echo"; } >&5
1806
(eval "$ac_link") 2>conftest.err
1808
if test -s conftest.err; then
1809
grep -v '^ *+' conftest.err >conftest.er1
1810
cat conftest.er1 >&5
1811
mv -f conftest.er1 conftest.err
1813
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814
test $ac_status = 0; } && {
1815
test -z "$ac_c_werror_flag" ||
1816
test ! -s conftest.err
1817
} && test -s conftest$ac_exeext && {
1818
test "$cross_compiling" = yes ||
1819
$as_test_x conftest$ac_exeext
1823
$as_echo "$as_me: failed program was:" >&5
1824
sed 's/^/| /' conftest.$ac_ext >&5
1828
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830
# interfere with the next link command; also delete a directory that is
1831
# left behind by Apple's compiler. We do this before executing the actions.
1832
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836
} # ac_fn_c_try_link
1838
# ac_fn_c_check_func LINENO FUNC VAR
1839
# ----------------------------------
1840
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1841
ac_fn_c_check_func ()
1843
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845
$as_echo_n "checking for $2... " >&6; }
1846
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1847
$as_echo_n "(cached) " >&6
1849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850
/* end confdefs.h. */
1851
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1852
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1853
#define $2 innocuous_$2
1855
/* System header to define __stub macros and hopefully few prototypes,
1856
which can conflict with char $2 (); below.
1857
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1858
<limits.h> exists even on freestanding compilers. */
1861
# include <limits.h>
1863
# include <assert.h>
1868
/* Override any GCC internal prototype to avoid an error.
1869
Use char because int might match the return type of a GCC
1870
builtin and then its argument prototype would still apply. */
1875
/* The GNU C library defines this for functions which it implements
1876
to always fail with ENOSYS. Some functions are actually named
1877
something starting with __ and the normal name is an alias. */
1878
#if defined __stub_$2 || defined __stub___$2
1890
if ac_fn_c_try_link "$LINENO"; then :
1895
rm -f core conftest.err conftest.$ac_objext \
1896
conftest$ac_exeext conftest.$ac_ext
1899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900
$as_echo "$ac_res" >&6; }
1901
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903
} # ac_fn_c_check_func
1905
# ac_fn_c_try_cpp LINENO
1906
# ----------------------
1907
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1910
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911
if { { ac_try="$ac_cpp conftest.$ac_ext"
1913
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914
*) ac_try_echo=$ac_try;;
1916
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917
$as_echo "$ac_try_echo"; } >&5
1918
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1920
if test -s conftest.err; then
1921
grep -v '^ *+' conftest.err >conftest.er1
1922
cat conftest.er1 >&5
1923
mv -f conftest.er1 conftest.err
1925
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926
test $ac_status = 0; } >/dev/null && {
1927
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1928
test ! -s conftest.err
1932
$as_echo "$as_me: failed program was:" >&5
1933
sed 's/^/| /' conftest.$ac_ext >&5
1937
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942
# ac_fn_c_try_run LINENO
1943
# ----------------------
1944
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1945
# that executables *can* be run.
1948
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949
if { { ac_try="$ac_link"
1951
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952
*) ac_try_echo=$ac_try;;
1954
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955
$as_echo "$ac_try_echo"; } >&5
1956
(eval "$ac_link") 2>&5
1958
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1960
{ { case "(($ac_try" in
1961
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1962
*) ac_try_echo=$ac_try;;
1964
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965
$as_echo "$ac_try_echo"; } >&5
1966
(eval "$ac_try") 2>&5
1968
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
test $ac_status = 0; }; }; then :
1972
$as_echo "$as_me: program exited with status $ac_status" >&5
1973
$as_echo "$as_me: failed program was:" >&5
1974
sed 's/^/| /' conftest.$ac_ext >&5
1976
ac_retval=$ac_status
1978
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1979
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1985
# -------------------------------------------------------
1986
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1987
# the include files in INCLUDES and setting the cache variable VAR
1989
ac_fn_c_check_header_mongrel ()
1991
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1994
$as_echo_n "checking for $2... " >&6; }
1995
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1996
$as_echo_n "(cached) " >&6
1999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000
$as_echo "$ac_res" >&6; }
2002
# Is the header compilable?
2003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2004
$as_echo_n "checking $2 usability... " >&6; }
2005
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2006
/* end confdefs.h. */
2010
if ac_fn_c_try_compile "$LINENO"; then :
2011
ac_header_compiler=yes
2013
ac_header_compiler=no
2015
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2017
$as_echo "$ac_header_compiler" >&6; }
2019
# Is the header present?
2020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2021
$as_echo_n "checking $2 presence... " >&6; }
2022
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2023
/* end confdefs.h. */
2026
if ac_fn_c_try_cpp "$LINENO"; then :
2027
ac_header_preproc=yes
2029
ac_header_preproc=no
2031
rm -f conftest.err conftest.$ac_ext
2032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2033
$as_echo "$ac_header_preproc" >&6; }
2035
# So? What about this header?
2036
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2038
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2039
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2041
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2045
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2047
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2048
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2049
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2051
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2052
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2053
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2055
## --------------------------------------------------------- ##
2056
## Report this to http://sv.nongnu.org/bugs/?group=lordsawar ##
2057
## --------------------------------------------------------- ##
2059
) | sed "s/^/$as_me: WARNING: /" >&2
2062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2063
$as_echo_n "checking for $2... " >&6; }
2064
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2065
$as_echo_n "(cached) " >&6
2067
eval "$3=\$ac_header_compiler"
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071
$as_echo "$ac_res" >&6; }
2073
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2075
} # ac_fn_c_check_header_mongrel
2077
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2078
# -------------------------------------------------------
2079
# Tests whether HEADER exists and can be compiled using the include files in
2080
# INCLUDES, setting the cache variable VAR accordingly.
2081
ac_fn_c_check_header_compile ()
2083
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085
$as_echo_n "checking for $2... " >&6; }
2086
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2087
$as_echo_n "(cached) " >&6
2089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090
/* end confdefs.h. */
2094
if ac_fn_c_try_compile "$LINENO"; then :
2099
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
$as_echo "$ac_res" >&6; }
2104
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2106
} # ac_fn_c_check_header_compile
2108
# ac_fn_cxx_try_compile LINENO
2109
# ----------------------------
2110
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2111
ac_fn_cxx_try_compile ()
2113
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2114
rm -f conftest.$ac_objext
2115
if { { ac_try="$ac_compile"
2117
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2118
*) ac_try_echo=$ac_try;;
2120
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2121
$as_echo "$ac_try_echo"; } >&5
2122
(eval "$ac_compile") 2>conftest.err
2124
if test -s conftest.err; then
2125
grep -v '^ *+' conftest.err >conftest.er1
2126
cat conftest.er1 >&5
2127
mv -f conftest.er1 conftest.err
2129
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2130
test $ac_status = 0; } && {
2131
test -z "$ac_cxx_werror_flag" ||
2132
test ! -s conftest.err
2133
} && test -s conftest.$ac_objext; then :
2136
$as_echo "$as_me: failed program was:" >&5
2137
sed 's/^/| /' conftest.$ac_ext >&5
2141
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144
} # ac_fn_cxx_try_compile
2146
# ac_fn_cxx_try_cpp LINENO
2147
# ------------------------
2148
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2149
ac_fn_cxx_try_cpp ()
2151
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152
if { { ac_try="$ac_cpp conftest.$ac_ext"
2154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155
*) ac_try_echo=$ac_try;;
2157
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158
$as_echo "$ac_try_echo"; } >&5
2159
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2161
if test -s conftest.err; then
2162
grep -v '^ *+' conftest.err >conftest.er1
2163
cat conftest.er1 >&5
2164
mv -f conftest.er1 conftest.err
2166
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2167
test $ac_status = 0; } >/dev/null && {
2168
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2169
test ! -s conftest.err
2173
$as_echo "$as_me: failed program was:" >&5
2174
sed 's/^/| /' conftest.$ac_ext >&5
2178
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
} # ac_fn_cxx_try_cpp
2183
# ac_fn_cxx_try_link LINENO
2184
# -------------------------
2185
# Try to link conftest.$ac_ext, and return whether this succeeded.
2186
ac_fn_cxx_try_link ()
2188
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189
rm -f conftest.$ac_objext conftest$ac_exeext
2190
if { { ac_try="$ac_link"
2192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2193
*) ac_try_echo=$ac_try;;
2195
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2196
$as_echo "$ac_try_echo"; } >&5
2197
(eval "$ac_link") 2>conftest.err
2199
if test -s conftest.err; then
2200
grep -v '^ *+' conftest.err >conftest.er1
2201
cat conftest.er1 >&5
2202
mv -f conftest.er1 conftest.err
2204
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2205
test $ac_status = 0; } && {
2206
test -z "$ac_cxx_werror_flag" ||
2207
test ! -s conftest.err
2208
} && test -s conftest$ac_exeext && {
2209
test "$cross_compiling" = yes ||
2210
$as_test_x conftest$ac_exeext
2214
$as_echo "$as_me: failed program was:" >&5
2215
sed 's/^/| /' conftest.$ac_ext >&5
2219
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2220
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2221
# interfere with the next link command; also delete a directory that is
2222
# left behind by Apple's compiler. We do this before executing the actions.
2223
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2224
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2227
} # ac_fn_cxx_try_link
2229
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2230
# ---------------------------------------------------------
2231
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2232
# the include files in INCLUDES and setting the cache variable VAR
2234
ac_fn_cxx_check_header_mongrel ()
2236
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
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
2244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245
$as_echo "$ac_res" >&6; }
2247
# Is the header compilable?
2248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2249
$as_echo_n "checking $2 usability... " >&6; }
2250
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2251
/* end confdefs.h. */
2255
if ac_fn_cxx_try_compile "$LINENO"; then :
2256
ac_header_compiler=yes
2258
ac_header_compiler=no
2260
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2262
$as_echo "$ac_header_compiler" >&6; }
2264
# Is the header present?
2265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2266
$as_echo_n "checking $2 presence... " >&6; }
2267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268
/* end confdefs.h. */
2271
if ac_fn_cxx_try_cpp "$LINENO"; then :
2272
ac_header_preproc=yes
2274
ac_header_preproc=no
2276
rm -f conftest.err conftest.$ac_ext
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2278
$as_echo "$ac_header_preproc" >&6; }
2280
# So? What about this header?
2281
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2283
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2284
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2285
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2286
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2289
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2290
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2291
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2292
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2294
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2296
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2298
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2300
## --------------------------------------------------------- ##
2301
## Report this to http://sv.nongnu.org/bugs/?group=lordsawar ##
2302
## --------------------------------------------------------- ##
2304
) | sed "s/^/$as_me: WARNING: /" >&2
2307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308
$as_echo_n "checking for $2... " >&6; }
2309
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2310
$as_echo_n "(cached) " >&6
2312
eval "$3=\$ac_header_compiler"
2315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316
$as_echo "$ac_res" >&6; }
2318
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2320
} # ac_fn_cxx_check_header_mongrel
2321
1809
cat >config.log <<_ACEOF
2322
1810
This file contains any messages produced by compilers while
2323
1811
running configure, to aid debugging if configure makes a mistake.
2325
It was created by lordsawar $as_me 0.1.6, which was
2326
generated by GNU Autoconf 2.64. Invocation command line was
1813
It was created by lordsawar $as_me 0.1.8, which was
1814
generated by GNU Autoconf 2.63. Invocation command line was
3776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3340
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3777
3341
$as_echo "$ac_file" >&6; }
3778
if test -z "$ac_file"; then :
3342
if test -z "$ac_file"; then
3779
3343
$as_echo "$as_me: failed program was:" >&5
3780
3344
sed 's/^/| /' conftest.$ac_ext >&5
3782
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3783
3347
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784
{ as_fn_set_status 77
3785
as_fn_error "C compiler cannot create executables
3786
See \`config.log' for more details." "$LINENO" 5; }; }
3348
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3349
See \`config.log' for more details." >&5
3350
$as_echo "$as_me: error: C compiler cannot create executables
3351
See \`config.log' for more details." >&2;}
3352
{ (exit 77); exit 77; }; }; }
3788
3355
ac_exeext=$ac_cv_exeext
3790
3357
# Check that the compiler produces executables we can run. If not, either
3791
3358
# the compiler is broken, or we cross compile.
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3359
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3793
3360
$as_echo_n "checking whether the C compiler works... " >&6; }
3361
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3794
3362
# If not cross compiling, check that we can run a simple program.
3795
3363
if test "$cross_compiling" != yes; then
3796
3364
if { ac_try='./$ac_file'
3797
{ { case "(($ac_try" in
3365
{ (case "(($ac_try" in
3798
3366
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799
3367
*) ac_try_echo=$ac_try;;
3801
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802
$as_echo "$ac_try_echo"; } >&5
3369
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3370
$as_echo "$ac_try_echo") >&5
3803
3371
(eval "$ac_try") 2>&5
3805
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806
test $ac_status = 0; }; }; then
3373
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374
(exit $ac_status); }; }; then
3807
3375
cross_compiling=no
3809
3377
if test "$cross_compiling" = maybe; then
3810
3378
cross_compiling=yes
3812
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3380
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3813
3381
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3814
as_fn_error "cannot run C compiled programs.
3815
If you meant to cross compile, use \`--host'.
3816
See \`config.log' for more details." "$LINENO" 5; }
3382
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3383
If you meant to cross compile, use \`--host'.
3384
See \`config.log' for more details." >&5
3385
$as_echo "$as_me: error: cannot run C compiled programs.
3386
If you meant to cross compile, use \`--host'.
3387
See \`config.log' for more details." >&2;}
3388
{ (exit 1); exit 1; }; }; }
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3821
3393
$as_echo "yes" >&6; }
3823
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3395
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3824
3396
ac_clean_files=$ac_clean_files_save
3825
3397
# Check that the compiler produces executables we can run. If not, either
3826
3398
# the compiler is broken, or we cross compile.
3827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3399
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3828
3400
$as_echo_n "checking whether we are cross compiling... " >&6; }
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3401
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3830
3402
$as_echo "$cross_compiling" >&6; }
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3404
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3833
3405
$as_echo_n "checking for suffix of executables... " >&6; }
3834
if { { ac_try="$ac_link"
3406
if { (ac_try="$ac_link"
3835
3407
case "(($ac_try" in
3836
3408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837
3409
*) ac_try_echo=$ac_try;;
3839
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3840
$as_echo "$ac_try_echo"; } >&5
3411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3412
$as_echo "$ac_try_echo") >&5
3841
3413
(eval "$ac_link") 2>&5
3843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3844
test $ac_status = 0; }; then :
3415
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416
(exit $ac_status); }; then
3845
3417
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3846
3418
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3847
3419
# work properly (i.e., refer to `conftest.exe'), while it won't with
5213
for ac_header in locale.h
5215
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5216
if test "x$ac_cv_header_locale_h" = x""yes; then :
5278
for ac_header in locale.h
5280
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5281
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5282
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5283
$as_echo_n "checking for $ac_header... " >&6; }
5284
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5285
$as_echo_n "(cached) " >&6
5287
ac_res=`eval 'as_val=${'$as_ac_Header'}
5288
$as_echo "$as_val"'`
5289
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5290
$as_echo "$ac_res" >&6; }
5292
# Is the header compilable?
5293
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5294
$as_echo_n "checking $ac_header usability... " >&6; }
5295
cat >conftest.$ac_ext <<_ACEOF
5298
cat confdefs.h >>conftest.$ac_ext
5299
cat >>conftest.$ac_ext <<_ACEOF
5300
/* end confdefs.h. */
5301
$ac_includes_default
5302
#include <$ac_header>
5304
rm -f conftest.$ac_objext
5305
if { (ac_try="$ac_compile"
5307
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308
*) ac_try_echo=$ac_try;;
5310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5311
$as_echo "$ac_try_echo") >&5
5312
(eval "$ac_compile") 2>conftest.er1
5314
grep -v '^ *+' conftest.er1 >conftest.err
5316
cat conftest.err >&5
5317
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318
(exit $ac_status); } && {
5319
test -z "$ac_c_werror_flag" ||
5320
test ! -s conftest.err
5321
} && test -s conftest.$ac_objext; then
5322
ac_header_compiler=yes
5324
$as_echo "$as_me: failed program was:" >&5
5325
sed 's/^/| /' conftest.$ac_ext >&5
5327
ac_header_compiler=no
5330
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5331
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5332
$as_echo "$ac_header_compiler" >&6; }
5334
# Is the header present?
5335
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5336
$as_echo_n "checking $ac_header presence... " >&6; }
5337
cat >conftest.$ac_ext <<_ACEOF
5340
cat confdefs.h >>conftest.$ac_ext
5341
cat >>conftest.$ac_ext <<_ACEOF
5342
/* end confdefs.h. */
5343
#include <$ac_header>
5345
if { (ac_try="$ac_cpp conftest.$ac_ext"
5347
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5348
*) ac_try_echo=$ac_try;;
5350
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5351
$as_echo "$ac_try_echo") >&5
5352
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5354
grep -v '^ *+' conftest.er1 >conftest.err
5356
cat conftest.err >&5
5357
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5358
(exit $ac_status); } >/dev/null && {
5359
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5360
test ! -s conftest.err
5362
ac_header_preproc=yes
5364
$as_echo "$as_me: failed program was:" >&5
5365
sed 's/^/| /' conftest.$ac_ext >&5
5367
ac_header_preproc=no
5370
rm -f conftest.err conftest.$ac_ext
5371
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5372
$as_echo "$ac_header_preproc" >&6; }
5374
# So? What about this header?
5375
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5377
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5378
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5379
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5380
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5381
ac_header_preproc=yes
5384
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5385
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5386
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5387
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5388
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5389
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5390
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5391
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5392
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5393
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5394
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5395
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5397
## ------------------------------------------- ##
5398
## Report this to lordsawar-discuss@nongnu.org ##
5399
## ------------------------------------------- ##
5401
) | sed "s/^/$as_me: WARNING: /" >&2
5404
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5405
$as_echo_n "checking for $ac_header... " >&6; }
5406
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5407
$as_echo_n "(cached) " >&6
5409
eval "$as_ac_Header=\$ac_header_preproc"
5411
ac_res=`eval 'as_val=${'$as_ac_Header'}
5412
$as_echo "$as_val"'`
5413
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5414
$as_echo "$ac_res" >&6; }
5417
as_val=`eval 'as_val=${'$as_ac_Header'}
5418
$as_echo "$as_val"'`
5419
if test "x$as_val" = x""yes; then
5217
5420
cat >>confdefs.h <<_ACEOF
5218
#define HAVE_LOCALE_H 1
5421
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5267
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5268
if test "x$ac_cv_header_libintl_h" = x""yes; then :
5501
if test "${ac_cv_header_libintl_h+set}" = set; then
5502
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5503
$as_echo_n "checking for libintl.h... " >&6; }
5504
if test "${ac_cv_header_libintl_h+set}" = set; then
5505
$as_echo_n "(cached) " >&6
5507
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5508
$as_echo "$ac_cv_header_libintl_h" >&6; }
5510
# Is the header compilable?
5511
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
5512
$as_echo_n "checking libintl.h usability... " >&6; }
5513
cat >conftest.$ac_ext <<_ACEOF
5516
cat confdefs.h >>conftest.$ac_ext
5517
cat >>conftest.$ac_ext <<_ACEOF
5518
/* end confdefs.h. */
5519
$ac_includes_default
5520
#include <libintl.h>
5522
rm -f conftest.$ac_objext
5523
if { (ac_try="$ac_compile"
5525
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526
*) ac_try_echo=$ac_try;;
5528
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5529
$as_echo "$ac_try_echo") >&5
5530
(eval "$ac_compile") 2>conftest.er1
5532
grep -v '^ *+' conftest.er1 >conftest.err
5534
cat conftest.err >&5
5535
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536
(exit $ac_status); } && {
5537
test -z "$ac_c_werror_flag" ||
5538
test ! -s conftest.err
5539
} && test -s conftest.$ac_objext; then
5540
ac_header_compiler=yes
5542
$as_echo "$as_me: failed program was:" >&5
5543
sed 's/^/| /' conftest.$ac_ext >&5
5545
ac_header_compiler=no
5548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5549
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5550
$as_echo "$ac_header_compiler" >&6; }
5552
# Is the header present?
5553
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
5554
$as_echo_n "checking libintl.h presence... " >&6; }
5555
cat >conftest.$ac_ext <<_ACEOF
5558
cat confdefs.h >>conftest.$ac_ext
5559
cat >>conftest.$ac_ext <<_ACEOF
5560
/* end confdefs.h. */
5561
#include <libintl.h>
5563
if { (ac_try="$ac_cpp conftest.$ac_ext"
5565
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5566
*) ac_try_echo=$ac_try;;
5568
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5569
$as_echo "$ac_try_echo") >&5
5570
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5572
grep -v '^ *+' conftest.er1 >conftest.err
5574
cat conftest.err >&5
5575
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576
(exit $ac_status); } >/dev/null && {
5577
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5578
test ! -s conftest.err
5580
ac_header_preproc=yes
5582
$as_echo "$as_me: failed program was:" >&5
5583
sed 's/^/| /' conftest.$ac_ext >&5
5585
ac_header_preproc=no
5588
rm -f conftest.err conftest.$ac_ext
5589
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5590
$as_echo "$ac_header_preproc" >&6; }
5592
# So? What about this header?
5593
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5595
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
5596
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5597
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
5598
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
5599
ac_header_preproc=yes
5602
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
5603
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
5604
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
5605
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
5606
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
5607
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
5608
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
5609
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
5610
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
5611
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
5612
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
5613
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
5615
## ------------------------------------------- ##
5616
## Report this to lordsawar-discuss@nongnu.org ##
5617
## ------------------------------------------- ##
5619
) | sed "s/^/$as_me: WARNING: /" >&2
5622
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
5623
$as_echo_n "checking for libintl.h... " >&6; }
5624
if test "${ac_cv_header_libintl_h+set}" = set; then
5625
$as_echo_n "(cached) " >&6
5627
ac_cv_header_libintl_h=$ac_header_preproc
5629
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
5630
$as_echo "$ac_cv_header_libintl_h" >&6; }
5633
if test "x$ac_cv_header_libintl_h" = x""yes; then
5269
5634
gt_cv_func_dgettext_libintl="no"
5270
5635
libintl_extra_libs=""
5273
5638
# First check in libc
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5640
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
5276
5641
$as_echo_n "checking for ngettext in libc... " >&6; }
5277
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5642
if test "${gt_cv_func_ngettext_libc+set}" = set; then
5278
5643
$as_echo_n "(cached) " >&6
5280
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5645
cat >conftest.$ac_ext <<_ACEOF
5648
cat confdefs.h >>conftest.$ac_ext
5649
cat >>conftest.$ac_ext <<_ACEOF
5281
5650
/* end confdefs.h. */
5283
5652
#include <libintl.h>
5324
if ac_fn_c_try_link "$LINENO"; then :
5722
rm -f conftest.$ac_objext conftest$ac_exeext
5723
if { (ac_try="$ac_link"
5725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5726
*) ac_try_echo=$ac_try;;
5728
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5729
$as_echo "$ac_try_echo") >&5
5730
(eval "$ac_link") 2>conftest.er1
5732
grep -v '^ *+' conftest.er1 >conftest.err
5734
cat conftest.err >&5
5735
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736
(exit $ac_status); } && {
5737
test -z "$ac_c_werror_flag" ||
5738
test ! -s conftest.err
5739
} && test -s conftest$ac_exeext && {
5740
test "$cross_compiling" = yes ||
5741
$as_test_x conftest$ac_exeext
5325
5743
gt_cv_func_dgettext_libc=yes
5327
gt_cv_func_dgettext_libc=no
5329
rm -f core conftest.err conftest.$ac_objext \
5330
conftest$ac_exeext conftest.$ac_ext
5333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5745
$as_echo "$as_me: failed program was:" >&5
5746
sed 's/^/| /' conftest.$ac_ext >&5
5748
gt_cv_func_dgettext_libc=no
5751
rm -rf conftest.dSYM
5752
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5753
conftest$ac_exeext conftest.$ac_ext
5756
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
5334
5757
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5337
5760
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5338
for ac_func in bind_textdomain_codeset
5340
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5341
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5762
for ac_func in bind_textdomain_codeset
5764
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5765
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
5766
$as_echo_n "checking for $ac_func... " >&6; }
5767
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5768
$as_echo_n "(cached) " >&6
5770
cat >conftest.$ac_ext <<_ACEOF
5773
cat confdefs.h >>conftest.$ac_ext
5774
cat >>conftest.$ac_ext <<_ACEOF
5775
/* end confdefs.h. */
5776
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5777
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5778
#define $ac_func innocuous_$ac_func
5780
/* System header to define __stub macros and hopefully few prototypes,
5781
which can conflict with char $ac_func (); below.
5782
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5783
<limits.h> exists even on freestanding compilers. */
5786
# include <limits.h>
5788
# include <assert.h>
5793
/* Override any GCC internal prototype to avoid an error.
5794
Use char because int might match the return type of a GCC
5795
builtin and then its argument prototype would still apply. */
5800
/* The GNU C library defines this for functions which it implements
5801
to always fail with ENOSYS. Some functions are actually named
5802
something starting with __ and the normal name is an alias. */
5803
#if defined __stub_$ac_func || defined __stub___$ac_func
5815
rm -f conftest.$ac_objext conftest$ac_exeext
5816
if { (ac_try="$ac_link"
5818
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5819
*) ac_try_echo=$ac_try;;
5821
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5822
$as_echo "$ac_try_echo") >&5
5823
(eval "$ac_link") 2>conftest.er1
5825
grep -v '^ *+' conftest.er1 >conftest.err
5827
cat conftest.err >&5
5828
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5829
(exit $ac_status); } && {
5830
test -z "$ac_c_werror_flag" ||
5831
test ! -s conftest.err
5832
} && test -s conftest$ac_exeext && {
5833
test "$cross_compiling" = yes ||
5834
$as_test_x conftest$ac_exeext
5836
eval "$as_ac_var=yes"
5838
$as_echo "$as_me: failed program was:" >&5
5839
sed 's/^/| /' conftest.$ac_ext >&5
5841
eval "$as_ac_var=no"
5844
rm -rf conftest.dSYM
5845
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5846
conftest$ac_exeext conftest.$ac_ext
5848
ac_res=`eval 'as_val=${'$as_ac_var'}
5849
$as_echo "$as_val"'`
5850
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5851
$as_echo "$ac_res" >&6; }
5852
as_val=`eval 'as_val=${'$as_ac_var'}
5853
$as_echo "$as_val"'`
5854
if test "x$as_val" = x""yes; then
5342
5855
cat >>confdefs.h <<_ACEOF
5343
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5856
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12483
if ac_fn_c_try_link "$LINENO"; then :
14110
rm -f conftest.$ac_objext conftest$ac_exeext
14111
if { (ac_try="$ac_link"
14112
case "(($ac_try" in
14113
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14114
*) ac_try_echo=$ac_try;;
14116
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14117
$as_echo "$ac_try_echo") >&5
14118
(eval "$ac_link") 2>conftest.er1
14120
grep -v '^ *+' conftest.er1 >conftest.err
14122
cat conftest.err >&5
14123
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124
(exit $ac_status); } && {
14125
test -z "$ac_c_werror_flag" ||
14126
test ! -s conftest.err
14127
} && test -s conftest$ac_exeext && {
14128
test "$cross_compiling" = yes ||
14129
$as_test_x conftest$ac_exeext
12484
14131
ac_cv_lib_dld_shl_load=yes
12486
ac_cv_lib_dld_shl_load=no
14133
$as_echo "$as_me: failed program was:" >&5
14134
sed 's/^/| /' conftest.$ac_ext >&5
14136
ac_cv_lib_dld_shl_load=no
12488
rm -f core conftest.err conftest.$ac_objext \
12489
conftest$ac_exeext conftest.$ac_ext
14139
rm -rf conftest.dSYM
14140
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14141
conftest$ac_exeext conftest.$ac_ext
12490
14142
LIBS=$ac_check_lib_save_LIBS
12492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14144
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12493
14145
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12494
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
14146
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
12495
14147
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12497
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12498
if test "x$ac_cv_func_dlopen" = x""yes; then :
14149
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
14150
$as_echo_n "checking for dlopen... " >&6; }
14151
if test "${ac_cv_func_dlopen+set}" = set; then
14152
$as_echo_n "(cached) " >&6
14154
cat >conftest.$ac_ext <<_ACEOF
14157
cat confdefs.h >>conftest.$ac_ext
14158
cat >>conftest.$ac_ext <<_ACEOF
14159
/* end confdefs.h. */
14160
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
14161
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14162
#define dlopen innocuous_dlopen
14164
/* System header to define __stub macros and hopefully few prototypes,
14165
which can conflict with char dlopen (); below.
14166
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14167
<limits.h> exists even on freestanding compilers. */
14170
# include <limits.h>
14172
# include <assert.h>
14177
/* Override any GCC internal prototype to avoid an error.
14178
Use char because int might match the return type of a GCC
14179
builtin and then its argument prototype would still apply. */
14184
/* The GNU C library defines this for functions which it implements
14185
to always fail with ENOSYS. Some functions are actually named
14186
something starting with __ and the normal name is an alias. */
14187
#if defined __stub_dlopen || defined __stub___dlopen
14199
rm -f conftest.$ac_objext conftest$ac_exeext
14200
if { (ac_try="$ac_link"
14201
case "(($ac_try" in
14202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14203
*) ac_try_echo=$ac_try;;
14205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14206
$as_echo "$ac_try_echo") >&5
14207
(eval "$ac_link") 2>conftest.er1
14209
grep -v '^ *+' conftest.er1 >conftest.err
14211
cat conftest.err >&5
14212
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14213
(exit $ac_status); } && {
14214
test -z "$ac_c_werror_flag" ||
14215
test ! -s conftest.err
14216
} && test -s conftest$ac_exeext && {
14217
test "$cross_compiling" = yes ||
14218
$as_test_x conftest$ac_exeext
14220
ac_cv_func_dlopen=yes
14222
$as_echo "$as_me: failed program was:" >&5
14223
sed 's/^/| /' conftest.$ac_ext >&5
14225
ac_cv_func_dlopen=no
14228
rm -rf conftest.dSYM
14229
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14230
conftest$ac_exeext conftest.$ac_ext
14232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
14233
$as_echo "$ac_cv_func_dlopen" >&6; }
14234
if test "x$ac_cv_func_dlopen" = x""yes; then
12499
14235
lt_cv_dlopen="dlopen"
12501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14237
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12502
14238
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12503
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14239
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12504
14240
$as_echo_n "(cached) " >&6
12506
14242
ac_check_lib_save_LIBS=$LIBS
12507
14243
LIBS="-ldl $LIBS"
12508
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14244
cat >conftest.$ac_ext <<_ACEOF
14247
cat confdefs.h >>conftest.$ac_ext
14248
cat >>conftest.$ac_ext <<_ACEOF
12509
14249
/* end confdefs.h. */
12511
14251
/* Override any GCC internal prototype to avoid an error.
16183
18191
#echo "EXPAT=$expat"
16184
18192
if test $expat = 0 ; then
16185
for ac_header in expat.h
16187
ac_fn_c_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
16188
if test "x$ac_cv_header_expat_h" = x""yes; then :
18194
for ac_header in expat.h
18196
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18197
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18198
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18199
$as_echo_n "checking for $ac_header... " >&6; }
18200
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18201
$as_echo_n "(cached) " >&6
18203
ac_res=`eval 'as_val=${'$as_ac_Header'}
18204
$as_echo "$as_val"'`
18205
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18206
$as_echo "$ac_res" >&6; }
18208
# Is the header compilable?
18209
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18210
$as_echo_n "checking $ac_header usability... " >&6; }
18211
cat >conftest.$ac_ext <<_ACEOF
18214
cat confdefs.h >>conftest.$ac_ext
18215
cat >>conftest.$ac_ext <<_ACEOF
18216
/* end confdefs.h. */
18217
$ac_includes_default
18218
#include <$ac_header>
18220
rm -f conftest.$ac_objext
18221
if { (ac_try="$ac_compile"
18222
case "(($ac_try" in
18223
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18224
*) ac_try_echo=$ac_try;;
18226
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18227
$as_echo "$ac_try_echo") >&5
18228
(eval "$ac_compile") 2>conftest.er1
18230
grep -v '^ *+' conftest.er1 >conftest.err
18232
cat conftest.err >&5
18233
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234
(exit $ac_status); } && {
18235
test -z "$ac_c_werror_flag" ||
18236
test ! -s conftest.err
18237
} && test -s conftest.$ac_objext; then
18238
ac_header_compiler=yes
18240
$as_echo "$as_me: failed program was:" >&5
18241
sed 's/^/| /' conftest.$ac_ext >&5
18243
ac_header_compiler=no
18246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18247
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18248
$as_echo "$ac_header_compiler" >&6; }
18250
# Is the header present?
18251
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18252
$as_echo_n "checking $ac_header presence... " >&6; }
18253
cat >conftest.$ac_ext <<_ACEOF
18256
cat confdefs.h >>conftest.$ac_ext
18257
cat >>conftest.$ac_ext <<_ACEOF
18258
/* end confdefs.h. */
18259
#include <$ac_header>
18261
if { (ac_try="$ac_cpp conftest.$ac_ext"
18262
case "(($ac_try" in
18263
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18264
*) ac_try_echo=$ac_try;;
18266
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18267
$as_echo "$ac_try_echo") >&5
18268
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18270
grep -v '^ *+' conftest.er1 >conftest.err
18272
cat conftest.err >&5
18273
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274
(exit $ac_status); } >/dev/null && {
18275
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18276
test ! -s conftest.err
18278
ac_header_preproc=yes
18280
$as_echo "$as_me: failed program was:" >&5
18281
sed 's/^/| /' conftest.$ac_ext >&5
18283
ac_header_preproc=no
18286
rm -f conftest.err conftest.$ac_ext
18287
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18288
$as_echo "$ac_header_preproc" >&6; }
18290
# So? What about this header?
18291
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18293
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18294
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18295
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18296
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18297
ac_header_preproc=yes
18300
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18301
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18302
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18303
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18304
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18305
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18306
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18307
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18308
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18309
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18310
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18311
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18313
## ------------------------------------------- ##
18314
## Report this to lordsawar-discuss@nongnu.org ##
18315
## ------------------------------------------- ##
18317
) | sed "s/^/$as_me: WARNING: /" >&2
18320
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18321
$as_echo_n "checking for $ac_header... " >&6; }
18322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18323
$as_echo_n "(cached) " >&6
18325
eval "$as_ac_Header=\$ac_header_preproc"
18327
ac_res=`eval 'as_val=${'$as_ac_Header'}
18328
$as_echo "$as_val"'`
18329
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18330
$as_echo "$ac_res" >&6; }
18333
as_val=`eval 'as_val=${'$as_ac_Header'}
18334
$as_echo "$as_val"'`
18335
if test "x$as_val" = x""yes; then
16189
18336
cat >>confdefs.h <<_ACEOF
16190
#define HAVE_EXPAT_H 1
18337
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16194
as_fn_error "*** Expat not found!" "$LINENO" 5
18341
{ { $as_echo "$as_me:$LINENO: error: *** Expat not found!" >&5
18342
$as_echo "$as_me: error: *** Expat not found!" >&2;}
18343
{ (exit 1); exit 1; }; }
16199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
18349
{ $as_echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
16200
18350
$as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
16201
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then :
18351
if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
16202
18352
$as_echo_n "(cached) " >&6
16204
18354
ac_check_lib_save_LIBS=$LIBS
16205
18355
LIBS="-lexpat $LIBS"
16206
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356
cat >conftest.$ac_ext <<_ACEOF
18359
cat confdefs.h >>conftest.$ac_ext
18360
cat >>conftest.$ac_ext <<_ACEOF
16207
18361
/* end confdefs.h. */
16209
18363
/* Override any GCC internal prototype to avoid an error.
16240
18419
LIBS="-lexpat $LIBS"
16243
as_fn_error "*** Expat not found!" "$LINENO" 5
18422
{ { $as_echo "$as_me:$LINENO: error: *** Expat not found!" >&5
18423
$as_echo "$as_me: error: *** Expat not found!" >&2;}
18424
{ (exit 1); exit 1; }; }
18431
# Check whether --with-libtar was given.
18432
if test "${with_libtar+set}" = set; then
18433
withval=$with_libtar;
18435
CPPFLAGS="$CPPFLAGS -I$withval/include"
18436
LDFLAGS="$LDFLAGS -L$withval/lib"
18442
if test $libtar = 0 ; then
18444
for ac_header in libtar.h
18446
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18447
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18448
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18449
$as_echo_n "checking for $ac_header... " >&6; }
18450
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18451
$as_echo_n "(cached) " >&6
18453
ac_res=`eval 'as_val=${'$as_ac_Header'}
18454
$as_echo "$as_val"'`
18455
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18456
$as_echo "$ac_res" >&6; }
18458
# Is the header compilable?
18459
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
18460
$as_echo_n "checking $ac_header usability... " >&6; }
18461
cat >conftest.$ac_ext <<_ACEOF
18464
cat confdefs.h >>conftest.$ac_ext
18465
cat >>conftest.$ac_ext <<_ACEOF
18466
/* end confdefs.h. */
18467
$ac_includes_default
18468
#include <$ac_header>
18470
rm -f conftest.$ac_objext
18471
if { (ac_try="$ac_compile"
18472
case "(($ac_try" in
18473
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18474
*) ac_try_echo=$ac_try;;
18476
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18477
$as_echo "$ac_try_echo") >&5
18478
(eval "$ac_compile") 2>conftest.er1
18480
grep -v '^ *+' conftest.er1 >conftest.err
18482
cat conftest.err >&5
18483
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18484
(exit $ac_status); } && {
18485
test -z "$ac_c_werror_flag" ||
18486
test ! -s conftest.err
18487
} && test -s conftest.$ac_objext; then
18488
ac_header_compiler=yes
18490
$as_echo "$as_me: failed program was:" >&5
18491
sed 's/^/| /' conftest.$ac_ext >&5
18493
ac_header_compiler=no
18496
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18498
$as_echo "$ac_header_compiler" >&6; }
18500
# Is the header present?
18501
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
18502
$as_echo_n "checking $ac_header presence... " >&6; }
18503
cat >conftest.$ac_ext <<_ACEOF
18506
cat confdefs.h >>conftest.$ac_ext
18507
cat >>conftest.$ac_ext <<_ACEOF
18508
/* end confdefs.h. */
18509
#include <$ac_header>
18511
if { (ac_try="$ac_cpp conftest.$ac_ext"
18512
case "(($ac_try" in
18513
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18514
*) ac_try_echo=$ac_try;;
18516
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18517
$as_echo "$ac_try_echo") >&5
18518
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18520
grep -v '^ *+' conftest.er1 >conftest.err
18522
cat conftest.err >&5
18523
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524
(exit $ac_status); } >/dev/null && {
18525
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18526
test ! -s conftest.err
18528
ac_header_preproc=yes
18530
$as_echo "$as_me: failed program was:" >&5
18531
sed 's/^/| /' conftest.$ac_ext >&5
18533
ac_header_preproc=no
18536
rm -f conftest.err conftest.$ac_ext
18537
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18538
$as_echo "$ac_header_preproc" >&6; }
18540
# So? What about this header?
18541
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18543
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18544
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18545
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18546
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18547
ac_header_preproc=yes
18550
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18551
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18552
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18553
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18554
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18555
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18556
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18557
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18558
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18559
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18560
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18561
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18563
## ------------------------------------------- ##
18564
## Report this to lordsawar-discuss@nongnu.org ##
18565
## ------------------------------------------- ##
18567
) | sed "s/^/$as_me: WARNING: /" >&2
18570
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
18571
$as_echo_n "checking for $ac_header... " >&6; }
18572
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18573
$as_echo_n "(cached) " >&6
18575
eval "$as_ac_Header=\$ac_header_preproc"
18577
ac_res=`eval 'as_val=${'$as_ac_Header'}
18578
$as_echo "$as_val"'`
18579
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
18580
$as_echo "$ac_res" >&6; }
18583
as_val=`eval 'as_val=${'$as_ac_Header'}
18584
$as_echo "$as_val"'`
18585
if test "x$as_val" = x""yes; then
18586
cat >>confdefs.h <<_ACEOF
18587
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18591
{ { $as_echo "$as_me:$LINENO: error: *** Libtar not found!" >&5
18592
$as_echo "$as_me: error: *** Libtar not found!" >&2;}
18593
{ (exit 1); exit 1; }; }
18599
{ $as_echo "$as_me:$LINENO: checking for tar_open in -ltar" >&5
18600
$as_echo_n "checking for tar_open in -ltar... " >&6; }
18601
if test "${ac_cv_lib_tar_tar_open+set}" = set; then
18602
$as_echo_n "(cached) " >&6
18604
ac_check_lib_save_LIBS=$LIBS
18606
cat >conftest.$ac_ext <<_ACEOF
18609
cat confdefs.h >>conftest.$ac_ext
18610
cat >>conftest.$ac_ext <<_ACEOF
18611
/* end confdefs.h. */
18613
/* Override any GCC internal prototype to avoid an error.
18614
Use char because int might match the return type of a GCC
18615
builtin and then its argument prototype would still apply. */
18623
return tar_open ();
18628
rm -f conftest.$ac_objext conftest$ac_exeext
18629
if { (ac_try="$ac_link"
18630
case "(($ac_try" in
18631
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18632
*) ac_try_echo=$ac_try;;
18634
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
18635
$as_echo "$ac_try_echo") >&5
18636
(eval "$ac_link") 2>conftest.er1
18638
grep -v '^ *+' conftest.er1 >conftest.err
18640
cat conftest.err >&5
18641
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18642
(exit $ac_status); } && {
18643
test -z "$ac_c_werror_flag" ||
18644
test ! -s conftest.err
18645
} && test -s conftest$ac_exeext && {
18646
test "$cross_compiling" = yes ||
18647
$as_test_x conftest$ac_exeext
18649
ac_cv_lib_tar_tar_open=yes
18651
$as_echo "$as_me: failed program was:" >&5
18652
sed 's/^/| /' conftest.$ac_ext >&5
18654
ac_cv_lib_tar_tar_open=no
18657
rm -rf conftest.dSYM
18658
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18659
conftest$ac_exeext conftest.$ac_ext
18660
LIBS=$ac_check_lib_save_LIBS
18662
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_tar_tar_open" >&5
18663
$as_echo "$ac_cv_lib_tar_tar_open" >&6; }
18664
if test "x$ac_cv_lib_tar_tar_open" = x""yes; then
18665
cat >>confdefs.h <<_ACEOF
18666
#define HAVE_LIBTAR 1
18672
{ { $as_echo "$as_me:$LINENO: error: *** Libtar not found!" >&5
18673
$as_echo "$as_me: error: *** Libtar not found!" >&2;}
18674
{ (exit 1); exit 1; }; }
16248
18679
# Check whether --enable-winlibs was given.
16249
if test "${enable_winlibs+set}" = set; then :
18680
if test "${enable_winlibs+set}" = set; then
16250
18681
enableval=$enable_winlibs; LIBS="-lmingw32 -lws2_32 -lintl -lz -lpthreadGC2 -lpthreadGCE2 $LIBS"
18766
21529
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18767
21530
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18769
for ac_header in boost/version.hpp
18771
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/version.hpp" "ac_cv_header_boost_version_hpp" "$ac_includes_default"
18772
if test "x$ac_cv_header_boost_version_hpp" = x""yes; then :
21533
for ac_header in boost/version.hpp
21535
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21536
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21537
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21538
$as_echo_n "checking for $ac_header... " >&6; }
21539
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21540
$as_echo_n "(cached) " >&6
21542
ac_res=`eval 'as_val=${'$as_ac_Header'}
21543
$as_echo "$as_val"'`
21544
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21545
$as_echo "$ac_res" >&6; }
21547
# Is the header compilable?
21548
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
21549
$as_echo_n "checking $ac_header usability... " >&6; }
21550
cat >conftest.$ac_ext <<_ACEOF
21553
cat confdefs.h >>conftest.$ac_ext
21554
cat >>conftest.$ac_ext <<_ACEOF
21555
/* end confdefs.h. */
21556
$ac_includes_default
21557
#include <$ac_header>
21559
rm -f conftest.$ac_objext
21560
if { (ac_try="$ac_compile"
21561
case "(($ac_try" in
21562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21563
*) ac_try_echo=$ac_try;;
21565
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21566
$as_echo "$ac_try_echo") >&5
21567
(eval "$ac_compile") 2>conftest.er1
21569
grep -v '^ *+' conftest.er1 >conftest.err
21571
cat conftest.err >&5
21572
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573
(exit $ac_status); } && {
21574
test -z "$ac_cxx_werror_flag" ||
21575
test ! -s conftest.err
21576
} && test -s conftest.$ac_objext; then
21577
ac_header_compiler=yes
21579
$as_echo "$as_me: failed program was:" >&5
21580
sed 's/^/| /' conftest.$ac_ext >&5
21582
ac_header_compiler=no
21585
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21586
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21587
$as_echo "$ac_header_compiler" >&6; }
21589
# Is the header present?
21590
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
21591
$as_echo_n "checking $ac_header presence... " >&6; }
21592
cat >conftest.$ac_ext <<_ACEOF
21595
cat confdefs.h >>conftest.$ac_ext
21596
cat >>conftest.$ac_ext <<_ACEOF
21597
/* end confdefs.h. */
21598
#include <$ac_header>
21600
if { (ac_try="$ac_cpp conftest.$ac_ext"
21601
case "(($ac_try" in
21602
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21603
*) ac_try_echo=$ac_try;;
21605
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
21606
$as_echo "$ac_try_echo") >&5
21607
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21609
grep -v '^ *+' conftest.er1 >conftest.err
21611
cat conftest.err >&5
21612
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613
(exit $ac_status); } >/dev/null && {
21614
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
21615
test ! -s conftest.err
21617
ac_header_preproc=yes
21619
$as_echo "$as_me: failed program was:" >&5
21620
sed 's/^/| /' conftest.$ac_ext >&5
21622
ac_header_preproc=no
21625
rm -f conftest.err conftest.$ac_ext
21626
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21627
$as_echo "$ac_header_preproc" >&6; }
21629
# So? What about this header?
21630
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21632
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21633
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21634
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21635
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21636
ac_header_preproc=yes
21639
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21640
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21641
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21642
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21643
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21644
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21645
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21646
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21647
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21648
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21649
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21650
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21652
## ------------------------------------------- ##
21653
## Report this to lordsawar-discuss@nongnu.org ##
21654
## ------------------------------------------- ##
21656
) | sed "s/^/$as_me: WARNING: /" >&2
21659
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
21660
$as_echo_n "checking for $ac_header... " >&6; }
21661
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21662
$as_echo_n "(cached) " >&6
21664
eval "$as_ac_Header=\$ac_header_preproc"
21666
ac_res=`eval 'as_val=${'$as_ac_Header'}
21667
$as_echo "$as_val"'`
21668
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
21669
$as_echo "$ac_res" >&6; }
21672
as_val=`eval 'as_val=${'$as_ac_Header'}
21673
$as_echo "$as_val"'`
21674
if test "x$as_val" = x""yes; then
18773
21675
cat >>confdefs.h <<_ACEOF
18774
#define HAVE_BOOST_VERSION_HPP 1
21676
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18778
as_fn_error "*** Boost library not found! Install it." "$LINENO" 5
21680
{ { $as_echo "$as_me:$LINENO: error: *** Boost library not found! Install it." >&5
21681
$as_echo "$as_me: error: *** Boost library not found! Install it." >&2;}
21682
{ (exit 1); exit 1; }; }