134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
136
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; 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 :
175
176
as_have_required=yes
177
178
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
test -z "$as_dir" && as_dir=.
247
192
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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 :
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
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
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
365
220
export CONFIG_SHELL
366
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
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 about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1861
1809
test -n "$ac_init_help" && exit $ac_status
1862
1810
if $ac_init_version; then
1864
tomboy configure 1.2.1
1865
generated by GNU Autoconf 2.63
1812
tomboy configure 1.2.2
1813
generated by GNU Autoconf 2.65
1867
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1868
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1815
Copyright (C) 2009 Free Software Foundation, Inc.
1869
1816
This configure script is free software; the Free Software Foundation
1870
1817
gives unlimited permission to copy, distribute and modify it.
1822
## ------------------------ ##
1823
## Autoconf initialization. ##
1824
## ------------------------ ##
1826
# ac_fn_c_try_compile LINENO
1827
# --------------------------
1828
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1829
ac_fn_c_try_compile ()
1831
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
rm -f conftest.$ac_objext
1833
if { { ac_try="$ac_compile"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_compile") 2>conftest.err
1842
if test -s conftest.err; then
1843
grep -v '^ *+' conftest.err >conftest.er1
1844
cat conftest.er1 >&5
1845
mv -f conftest.er1 conftest.err
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; } && {
1849
test -z "$ac_c_werror_flag" ||
1850
test ! -s conftest.err
1851
} && test -s conftest.$ac_objext; then :
1854
$as_echo "$as_me: failed program was:" >&5
1855
sed 's/^/| /' conftest.$ac_ext >&5
1859
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1860
as_fn_set_status $ac_retval
1862
} # ac_fn_c_try_compile
1864
# ac_fn_c_try_link LINENO
1865
# -----------------------
1866
# Try to link conftest.$ac_ext, and return whether this succeeded.
1869
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870
rm -f conftest.$ac_objext conftest$ac_exeext
1871
if { { ac_try="$ac_link"
1873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874
*) ac_try_echo=$ac_try;;
1876
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877
$as_echo "$ac_try_echo"; } >&5
1878
(eval "$ac_link") 2>conftest.err
1880
if test -s conftest.err; then
1881
grep -v '^ *+' conftest.err >conftest.er1
1882
cat conftest.er1 >&5
1883
mv -f conftest.er1 conftest.err
1885
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886
test $ac_status = 0; } && {
1887
test -z "$ac_c_werror_flag" ||
1888
test ! -s conftest.err
1889
} && test -s conftest$ac_exeext && {
1890
test "$cross_compiling" = yes ||
1891
$as_test_x conftest$ac_exeext
1895
$as_echo "$as_me: failed program was:" >&5
1896
sed 's/^/| /' conftest.$ac_ext >&5
1900
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1901
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1902
# interfere with the next link command; also delete a directory that is
1903
# left behind by Apple's compiler. We do this before executing the actions.
1904
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1905
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906
as_fn_set_status $ac_retval
1908
} # ac_fn_c_try_link
1910
# ac_fn_c_check_func LINENO FUNC VAR
1911
# ----------------------------------
1912
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1913
ac_fn_c_check_func ()
1915
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1917
$as_echo_n "checking for $2... " >&6; }
1918
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1919
$as_echo_n "(cached) " >&6
1921
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922
/* end confdefs.h. */
1923
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925
#define $2 innocuous_$2
1927
/* System header to define __stub macros and hopefully few prototypes,
1928
which can conflict with char $2 (); below.
1929
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930
<limits.h> exists even on freestanding compilers. */
1933
# include <limits.h>
1935
# include <assert.h>
1940
/* Override any GCC internal prototype to avoid an error.
1941
Use char because int might match the return type of a GCC
1942
builtin and then its argument prototype would still apply. */
1947
/* The GNU C library defines this for functions which it implements
1948
to always fail with ENOSYS. Some functions are actually named
1949
something starting with __ and the normal name is an alias. */
1950
#if defined __stub_$2 || defined __stub___$2
1962
if ac_fn_c_try_link "$LINENO"; then :
1967
rm -f core conftest.err conftest.$ac_objext \
1968
conftest$ac_exeext conftest.$ac_ext
1971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972
$as_echo "$ac_res" >&6; }
1973
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1975
} # ac_fn_c_check_func
1977
# ac_fn_c_try_cpp LINENO
1978
# ----------------------
1979
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1982
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983
if { { ac_try="$ac_cpp conftest.$ac_ext"
1985
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986
*) ac_try_echo=$ac_try;;
1988
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989
$as_echo "$ac_try_echo"; } >&5
1990
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1992
if test -s conftest.err; then
1993
grep -v '^ *+' conftest.err >conftest.er1
1994
cat conftest.er1 >&5
1995
mv -f conftest.er1 conftest.err
1997
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998
test $ac_status = 0; } >/dev/null && {
1999
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2000
test ! -s conftest.err
2004
$as_echo "$as_me: failed program was:" >&5
2005
sed 's/^/| /' conftest.$ac_ext >&5
2009
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010
as_fn_set_status $ac_retval
2014
# ac_fn_c_try_run LINENO
2015
# ----------------------
2016
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2017
# that executables *can* be run.
2020
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021
if { { ac_try="$ac_link"
2023
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024
*) ac_try_echo=$ac_try;;
2026
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027
$as_echo "$ac_try_echo"; } >&5
2028
(eval "$ac_link") 2>&5
2030
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2031
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2032
{ { case "(($ac_try" in
2033
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2034
*) ac_try_echo=$ac_try;;
2036
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2037
$as_echo "$ac_try_echo"; } >&5
2038
(eval "$ac_try") 2>&5
2040
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2041
test $ac_status = 0; }; }; then :
2044
$as_echo "$as_me: program exited with status $ac_status" >&5
2045
$as_echo "$as_me: failed program was:" >&5
2046
sed 's/^/| /' conftest.$ac_ext >&5
2048
ac_retval=$ac_status
2050
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2051
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2052
as_fn_set_status $ac_retval
2056
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2057
# -------------------------------------------------------
2058
# Tests whether HEADER exists and can be compiled using the include files in
2059
# INCLUDES, setting the cache variable VAR accordingly.
2060
ac_fn_c_check_header_compile ()
2062
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064
$as_echo_n "checking for $2... " >&6; }
2065
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066
$as_echo_n "(cached) " >&6
2068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
/* end confdefs.h. */
2073
if ac_fn_c_try_compile "$LINENO"; then :
2078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082
$as_echo "$ac_res" >&6; }
2083
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2085
} # ac_fn_c_check_header_compile
2087
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2088
# -------------------------------------------------------
2089
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2090
# the include files in INCLUDES and setting the cache variable VAR
2092
ac_fn_c_check_header_mongrel ()
2094
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2095
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2097
$as_echo_n "checking for $2... " >&6; }
2098
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2099
$as_echo_n "(cached) " >&6
2102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2103
$as_echo "$ac_res" >&6; }
2105
# Is the header compilable?
2106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2107
$as_echo_n "checking $2 usability... " >&6; }
2108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2109
/* end confdefs.h. */
2113
if ac_fn_c_try_compile "$LINENO"; then :
2114
ac_header_compiler=yes
2116
ac_header_compiler=no
2118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2120
$as_echo "$ac_header_compiler" >&6; }
2122
# Is the header present?
2123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2124
$as_echo_n "checking $2 presence... " >&6; }
2125
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2126
/* end confdefs.h. */
2129
if ac_fn_c_try_cpp "$LINENO"; then :
2130
ac_header_preproc=yes
2132
ac_header_preproc=no
2134
rm -f conftest.err conftest.$ac_ext
2135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2136
$as_echo "$ac_header_preproc" >&6; }
2138
# So? What about this header?
2139
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2142
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2143
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2144
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2148
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2150
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2152
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2153
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2154
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2155
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2160
$as_echo_n "checking for $2... " >&6; }
2161
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2162
$as_echo_n "(cached) " >&6
2164
eval "$3=\$ac_header_compiler"
2167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2168
$as_echo "$ac_res" >&6; }
2170
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172
} # ac_fn_c_check_header_mongrel
1874
2173
cat >config.log <<_ACEOF
1875
2174
This file contains any messages produced by compilers while
1876
2175
running configure, to aid debugging if configure makes a mistake.
1878
It was created by tomboy $as_me 1.2.1, which was
1879
generated by GNU Autoconf 2.63. Invocation command line was
2177
It was created by tomboy $as_me 1.2.2, which was
2178
generated by GNU Autoconf 2.65. Invocation command line was
3102
3358
ac_config_headers="$ac_config_headers config.h"
3105
# Find a good install program. We prefer a C program (faster),
3106
# so one script is as good as another. But avoid the broken or
3107
# incompatible versions:
3108
# SysV /etc/install, /usr/sbin/install
3109
# SunOS /usr/etc/install
3110
# IRIX /sbin/install
3112
# AmigaOS /C/install, which installs bootblocks on floppy discs
3113
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3114
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3115
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3116
# OS/2's system install, which has a completely different semantic
3117
# ./install, which can be erroneously created by make from ./install.sh.
3118
# Reject install programs that cannot install multiple files.
3119
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3120
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3121
if test -z "$INSTALL"; then
3122
if test "${ac_cv_path_install+set}" = set; then
3123
$as_echo_n "(cached) " >&6
3125
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3129
test -z "$as_dir" && as_dir=.
3130
# Account for people who put trailing slashes in PATH elements.
3132
./ | .// | /cC/* | \
3133
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3134
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3137
# OSF1 and SCO ODT 3.0 have their own names for install.
3138
# Don't use installbsd from OSF since it installs stuff as root
3140
for ac_prog in ginstall scoinst install; do
3141
for ac_exec_ext in '' $ac_executable_extensions; do
3142
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3143
if test $ac_prog = install &&
3144
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3145
# AIX install. It has an incompatible calling convention.
3147
elif test $ac_prog = install &&
3148
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3149
# program-specific install script used by HP pwplus--don't use.
3152
rm -rf conftest.one conftest.two conftest.dir
3153
echo one > conftest.one
3154
echo two > conftest.two
3156
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3157
test -s conftest.one && test -s conftest.two &&
3158
test -s conftest.dir/conftest.one &&
3159
test -s conftest.dir/conftest.two
3161
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3174
rm -rf conftest.one conftest.two conftest.dir
3177
if test "${ac_cv_path_install+set}" = set; then
3178
INSTALL=$ac_cv_path_install
3180
# As a last resort, use the slow shell script. Don't cache a
3181
# value for INSTALL within a source directory, because that will
3182
# break other packages using the cache if that directory is
3183
# removed, or if the value is a relative name.
3184
INSTALL=$ac_install_sh
3187
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3188
$as_echo "$INSTALL" >&6; }
3190
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3191
# It thinks the first close brace ends the variable substitution.
3192
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3194
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3196
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3199
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3200
3364
$as_echo_n "checking whether NLS is requested... " >&6; }
3201
3365
# Check whether --enable-nls was given.
3202
if test "${enable_nls+set}" = set; then
3366
if test "${enable_nls+set}" = set; then :
3203
3367
enableval=$enable_nls; USE_NLS=$enableval
3208
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
3372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3209
3373
$as_echo "$USE_NLS" >&6; }
3572
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3736
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3573
3737
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3574
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3575
See \`config.log' for more details." >&5
3576
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3577
See \`config.log' for more details." >&2;}
3578
{ (exit 1); exit 1; }; }; }
3738
as_fn_error "no acceptable C compiler found in \$PATH
3739
See \`config.log' for more details." "$LINENO" 5; }
3580
3741
# Provide some information about the compiler.
3581
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3742
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3582
3743
set X $ac_compile
3584
{ (ac_try="$ac_compiler --version >&5"
3586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587
*) ac_try_echo=$ac_try;;
3589
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3590
$as_echo "$ac_try_echo") >&5
3591
(eval "$ac_compiler --version >&5") 2>&5
3593
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594
(exit $ac_status); }
3595
{ (ac_try="$ac_compiler -v >&5"
3597
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3598
*) ac_try_echo=$ac_try;;
3600
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3601
$as_echo "$ac_try_echo") >&5
3602
(eval "$ac_compiler -v >&5") 2>&5
3604
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605
(exit $ac_status); }
3606
{ (ac_try="$ac_compiler -V >&5"
3608
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3609
*) ac_try_echo=$ac_try;;
3611
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3612
$as_echo "$ac_try_echo") >&5
3613
(eval "$ac_compiler -V >&5") 2>&5
3615
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3616
(exit $ac_status); }
3745
for ac_option in --version -v -V -qversion; do
3746
{ { ac_try="$ac_compiler $ac_option >&5"
3748
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3749
*) ac_try_echo=$ac_try;;
3751
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3752
$as_echo "$ac_try_echo"; } >&5
3753
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3755
if test -s conftest.err; then
3757
... rest of stderr output deleted ...
3758
10q' conftest.err >conftest.er1
3759
cat conftest.er1 >&5
3761
rm -f conftest.er1 conftest.err
3762
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763
test $ac_status = 0; }
3618
cat >conftest.$ac_ext <<_ACEOF
3621
cat confdefs.h >>conftest.$ac_ext
3622
cat >>conftest.$ac_ext <<_ACEOF
3766
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3623
3767
/* end confdefs.h. */
3845
if test -z "$ac_file"; then :
3846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3847
$as_echo "no" >&6; }
3848
$as_echo "$as_me: failed program was:" >&5
3849
sed 's/^/| /' conftest.$ac_ext >&5
3702
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3851
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3852
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3853
{ as_fn_set_status 77
3854
as_fn_error "C compiler cannot create executables
3855
See \`config.log' for more details." "$LINENO" 5; }; }
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3858
$as_echo "yes" >&6; }
3860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3861
$as_echo_n "checking for C compiler default output file name... " >&6; }
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703
3863
$as_echo "$ac_file" >&6; }
3704
if test -z "$ac_file"; then
3705
$as_echo "$as_me: failed program was:" >&5
3706
sed 's/^/| /' conftest.$ac_ext >&5
3708
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3709
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3711
See \`config.log' for more details." >&5
3712
$as_echo "$as_me: error: C compiler cannot create executables
3713
See \`config.log' for more details." >&2;}
3714
{ (exit 77); exit 77; }; }; }
3717
3864
ac_exeext=$ac_cv_exeext
3719
# Check that the compiler produces executables we can run. If not, either
3720
# the compiler is broken, or we cross compile.
3721
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3722
$as_echo_n "checking whether the C compiler works... " >&6; }
3723
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3724
# If not cross compiling, check that we can run a simple program.
3725
if test "$cross_compiling" != yes; then
3726
if { ac_try='./$ac_file'
3727
{ (case "(($ac_try" in
3728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729
*) ac_try_echo=$ac_try;;
3731
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3732
$as_echo "$ac_try_echo") >&5
3733
(eval "$ac_try") 2>&5
3735
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736
(exit $ac_status); }; }; then
3739
if test "$cross_compiling" = maybe; then
3742
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3743
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3744
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3745
If you meant to cross compile, use \`--host'.
3746
See \`config.log' for more details." >&5
3747
$as_echo "$as_me: error: cannot run C compiled programs.
3748
If you meant to cross compile, use \`--host'.
3749
See \`config.log' for more details." >&2;}
3750
{ (exit 1); exit 1; }; }; }
3754
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3755
$as_echo "yes" >&6; }
3757
3866
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3758
3867
ac_clean_files=$ac_clean_files_save
3759
# Check that the compiler produces executables we can run. If not, either
3760
# the compiler is broken, or we cross compile.
3761
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3762
$as_echo_n "checking whether we are cross compiling... " >&6; }
3763
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3764
$as_echo "$cross_compiling" >&6; }
3766
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3767
3869
$as_echo_n "checking for suffix of executables... " >&6; }
3768
if { (ac_try="$ac_link"
3870
if { { ac_try="$ac_link"
3769
3871
case "(($ac_try" in
3770
3872
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771
3873
*) ac_try_echo=$ac_try;;
3773
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3774
$as_echo "$ac_try_echo") >&5
3875
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876
$as_echo "$ac_try_echo"; } >&5
3775
3877
(eval "$ac_link") 2>&5
3777
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778
(exit $ac_status); }; then
3879
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880
test $ac_status = 0; }; then :
3779
3881
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3780
3882
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3781
3883
# work properly (i.e., refer to `conftest.exe'), while it won't with
3793
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3895
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794
3896
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3796
See \`config.log' for more details." >&5
3797
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3798
See \`config.log' for more details." >&2;}
3799
{ (exit 1); exit 1; }; }; }
3897
as_fn_error "cannot compute suffix of executables: cannot compile and link
3898
See \`config.log' for more details." "$LINENO" 5; }
3802
rm -f conftest$ac_cv_exeext
3803
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3900
rm -f conftest conftest$ac_cv_exeext
3901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3804
3902
$as_echo "$ac_cv_exeext" >&6; }
3806
3904
rm -f conftest.$ac_ext
3807
3905
EXEEXT=$ac_cv_exeext
3808
3906
ac_exeext=$EXEEXT
3809
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3907
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908
/* end confdefs.h. */
3913
FILE *f = fopen ("conftest.out", "w");
3914
return ferror (f) || fclose (f) != 0;
3920
ac_clean_files="$ac_clean_files conftest.out"
3921
# Check that the compiler produces executables we can run. If not, either
3922
# the compiler is broken, or we cross compile.
3923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3924
$as_echo_n "checking whether we are cross compiling... " >&6; }
3925
if test "$cross_compiling" != yes; then
3926
{ { ac_try="$ac_link"
3928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3929
*) ac_try_echo=$ac_try;;
3931
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3932
$as_echo "$ac_try_echo"; } >&5
3933
(eval "$ac_link") 2>&5
3935
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3936
test $ac_status = 0; }
3937
if { ac_try='./conftest$ac_cv_exeext'
3938
{ { case "(($ac_try" in
3939
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940
*) ac_try_echo=$ac_try;;
3942
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943
$as_echo "$ac_try_echo"; } >&5
3944
(eval "$ac_try") 2>&5
3946
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3947
test $ac_status = 0; }; }; then
3950
if test "$cross_compiling" = maybe; then
3953
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3954
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3955
as_fn_error "cannot run C compiled programs.
3956
If you meant to cross compile, use \`--host'.
3957
See \`config.log' for more details." "$LINENO" 5; }
3961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3962
$as_echo "$cross_compiling" >&6; }
3964
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3965
ac_clean_files=$ac_clean_files_save
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3810
3967
$as_echo_n "checking for suffix of object files... " >&6; }
3811
if test "${ac_cv_objext+set}" = set; then
3968
if test "${ac_cv_objext+set}" = set; then :
3812
3969
$as_echo_n "(cached) " >&6
3814
cat >conftest.$ac_ext <<_ACEOF
3817
cat confdefs.h >>conftest.$ac_ext
3818
cat >>conftest.$ac_ext <<_ACEOF
3971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819
3972
/* end confdefs.h. */
4873
rm -f conftest.$ac_objext conftest$ac_exeext
4874
if { (ac_try="$ac_link"
4876
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4877
*) ac_try_echo=$ac_try;;
4879
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4880
$as_echo "$ac_try_echo") >&5
4881
(eval "$ac_link") 2>conftest.er1
4883
grep -v '^ *+' conftest.er1 >conftest.err
4885
cat conftest.err >&5
4886
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887
(exit $ac_status); } && {
4888
test -z "$ac_c_werror_flag" ||
4889
test ! -s conftest.err
4890
} && test -s conftest$ac_exeext && {
4891
test "$cross_compiling" = yes ||
4892
$as_test_x conftest$ac_exeext
4875
if ac_fn_c_try_link "$LINENO"; then :
4894
4876
DATADIRNAME=share
4896
$as_echo "$as_me: failed program was:" >&5
4897
sed 's/^/| /' conftest.$ac_ext >&5
4901
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
4902
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
4903
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
4904
$as_echo_n "(cached) " >&6
4906
cat >conftest.$ac_ext <<_ACEOF
4909
cat confdefs.h >>conftest.$ac_ext
4910
cat >>conftest.$ac_ext <<_ACEOF
4911
/* end confdefs.h. */
4912
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
4913
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4914
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
4916
/* System header to define __stub macros and hopefully few prototypes,
4917
which can conflict with char bind_textdomain_codeset (); below.
4918
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4919
<limits.h> exists even on freestanding compilers. */
4922
# include <limits.h>
4924
# include <assert.h>
4927
#undef bind_textdomain_codeset
4929
/* Override any GCC internal prototype to avoid an error.
4930
Use char because int might match the return type of a GCC
4931
builtin and then its argument prototype would still apply. */
4935
char bind_textdomain_codeset ();
4936
/* The GNU C library defines this for functions which it implements
4937
to always fail with ENOSYS. Some functions are actually named
4938
something starting with __ and the normal name is an alias. */
4939
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
4946
return bind_textdomain_codeset ();
4951
rm -f conftest.$ac_objext conftest$ac_exeext
4952
if { (ac_try="$ac_link"
4954
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4955
*) ac_try_echo=$ac_try;;
4957
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4958
$as_echo "$ac_try_echo") >&5
4959
(eval "$ac_link") 2>conftest.er1
4961
grep -v '^ *+' conftest.er1 >conftest.err
4963
cat conftest.err >&5
4964
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965
(exit $ac_status); } && {
4966
test -z "$ac_c_werror_flag" ||
4967
test ! -s conftest.err
4968
} && test -s conftest$ac_exeext && {
4969
test "$cross_compiling" = yes ||
4970
$as_test_x conftest$ac_exeext
4972
ac_cv_func_bind_textdomain_codeset=yes
4974
$as_echo "$as_me: failed program was:" >&5
4975
sed 's/^/| /' conftest.$ac_ext >&5
4977
ac_cv_func_bind_textdomain_codeset=no
4980
rm -rf conftest.dSYM
4981
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4982
conftest$ac_exeext conftest.$ac_ext
4984
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
4985
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
4986
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
4880
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4881
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4987
4882
DATADIRNAME=share
4989
4884
DATADIRNAME=lib