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://bugzilla.gnome.org/enter_bug.cgi?product=libunique
233
$0: about your system, including any error possibly output
234
$0: before this message. Then install a modern shell, or
235
$0: manually run the script under such a shell if you do
242
SHELL=${CONFIG_SHELL-/bin/sh}
244
# Unset more variables known to interfere with behavior of common tools.
245
CLICOLOR_FORCE= GREP_OPTIONS=
246
unset CLICOLOR_FORCE GREP_OPTIONS
248
## --------------------- ##
249
## M4sh Shell Functions. ##
250
## --------------------- ##
253
# Portably unset VAR.
256
{ eval $1=; unset $1;}
260
# as_fn_set_status STATUS
261
# -----------------------
262
# Set $? to STATUS, without forking.
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280
# Create "$as_dir" as a directory, including parents if necessary.
285
-*) as_dir=./$as_dir;;
287
test -d "$as_dir" || eval $as_mkdir_p || {
291
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294
as_dirs="'$as_qdir' $as_dirs"
295
as_dir=`$as_dirname -- "$as_dir" ||
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
X"$as_dir" : 'X\(//\)[^/]' \| \
298
X"$as_dir" : 'X\(//\)$' \| \
299
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
$as_echo X"$as_dir" |
301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318
test -d "$as_dir" && break
320
test -z "$as_dirs" || eval "mkdir $as_dirs"
321
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
325
# as_fn_append VAR VALUE
326
# ----------------------
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
# advantage of any shell optimizations that allow amortized linear growth over
329
# repeated appends, instead of the typical quadratic growth present in naive
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
eval 'as_fn_append ()
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
# must be portable across $(()) and expr.
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356
as_val=`expr "$@" || test $? -eq 1`
361
# as_fn_error ERROR [LINENO LOG_FD]
362
# ---------------------------------
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
# script with status $?, using 1 if that was 0.
368
as_status=$?; test $as_status -eq 0 && as_status=1
370
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
373
$as_echo "$as_me: error: $1" >&2
374
as_fn_exit $as_status
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
test "X`expr 00001 : '.*\(...\)'`" = X001; then
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396
as_me=`$as_basename -- "$0" ||
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398
X"$0" : 'X\(//\)$' \| \
399
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
sed '/^.*\/\([^/][^/]*\)\/*$/{
415
# Avoid depending upon Character Ranges.
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419
as_cr_digits='0123456789'
420
as_cr_alnum=$as_cr_Letters$as_cr_digits
423
as_lineno_1=$LINENO as_lineno_1a=$LINENO
424
as_lineno_2=$LINENO as_lineno_2a=$LINENO
425
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
# 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. :-)
1703
1744
test -n "$ac_init_help" && exit $ac_status
1704
1745
if $ac_init_version; then
1706
unique configure 1.1.2
1707
generated by GNU Autoconf 2.64
1747
unique configure 1.1.6
1748
generated by GNU Autoconf 2.63
1709
Copyright (C) 2009 Free Software Foundation, Inc.
1750
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1751
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1710
1752
This configure script is free software; the Free Software Foundation
1711
1753
gives unlimited permission to copy, distribute and modify it.
1716
## ------------------------ ##
1717
## Autoconf initialization. ##
1718
## ------------------------ ##
1720
# ac_fn_c_try_compile LINENO
1721
# --------------------------
1722
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1723
ac_fn_c_try_compile ()
1725
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726
rm -f conftest.$ac_objext
1727
if { { ac_try="$ac_compile"
1729
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1730
*) ac_try_echo=$ac_try;;
1732
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733
$as_echo "$ac_try_echo"; } >&5
1734
(eval "$ac_compile") 2>conftest.err
1736
if test -s conftest.err; then
1737
grep -v '^ *+' conftest.err >conftest.er1
1738
cat conftest.er1 >&5
1739
mv -f conftest.er1 conftest.err
1741
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742
test $ac_status = 0; } && {
1743
test -z "$ac_c_werror_flag" ||
1744
test ! -s conftest.err
1745
} && test -s conftest.$ac_objext; then :
1748
$as_echo "$as_me: failed program was:" >&5
1749
sed 's/^/| /' conftest.$ac_ext >&5
1753
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756
} # ac_fn_c_try_compile
1758
# ac_fn_c_try_link LINENO
1759
# -----------------------
1760
# Try to link conftest.$ac_ext, and return whether this succeeded.
1763
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764
rm -f conftest.$ac_objext conftest$ac_exeext
1765
if { { ac_try="$ac_link"
1767
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1768
*) ac_try_echo=$ac_try;;
1770
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771
$as_echo "$ac_try_echo"; } >&5
1772
(eval "$ac_link") 2>conftest.err
1774
if test -s conftest.err; then
1775
grep -v '^ *+' conftest.err >conftest.er1
1776
cat conftest.er1 >&5
1777
mv -f conftest.er1 conftest.err
1779
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780
test $ac_status = 0; } && {
1781
test -z "$ac_c_werror_flag" ||
1782
test ! -s conftest.err
1783
} && test -s conftest$ac_exeext && {
1784
test "$cross_compiling" = yes ||
1785
$as_test_x conftest$ac_exeext
1789
$as_echo "$as_me: failed program was:" >&5
1790
sed 's/^/| /' conftest.$ac_ext >&5
1794
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796
# interfere with the next link command; also delete a directory that is
1797
# left behind by Apple's compiler. We do this before executing the actions.
1798
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802
} # ac_fn_c_try_link
1804
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805
# -------------------------------------------------------
1806
# Tests whether HEADER exists and can be compiled using the include files in
1807
# INCLUDES, setting the cache variable VAR accordingly.
1808
ac_fn_c_check_header_compile ()
1810
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812
$as_echo_n "checking for $2... " >&6; }
1813
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814
$as_echo_n "(cached) " >&6
1816
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817
/* end confdefs.h. */
1821
if ac_fn_c_try_compile "$LINENO"; then :
1826
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830
$as_echo "$ac_res" >&6; }
1831
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833
} # ac_fn_c_check_header_compile
1835
# ac_fn_c_try_cpp LINENO
1836
# ----------------------
1837
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1840
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841
if { { ac_try="$ac_cpp conftest.$ac_ext"
1843
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1844
*) ac_try_echo=$ac_try;;
1846
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847
$as_echo "$ac_try_echo"; } >&5
1848
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1850
if test -s conftest.err; then
1851
grep -v '^ *+' conftest.err >conftest.er1
1852
cat conftest.er1 >&5
1853
mv -f conftest.er1 conftest.err
1855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856
test $ac_status = 0; } >/dev/null && {
1857
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1858
test ! -s conftest.err
1862
$as_echo "$as_me: failed program was:" >&5
1863
sed 's/^/| /' conftest.$ac_ext >&5
1867
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1872
# ac_fn_c_try_run LINENO
1873
# ----------------------
1874
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1875
# that executables *can* be run.
1878
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879
if { { ac_try="$ac_link"
1881
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882
*) ac_try_echo=$ac_try;;
1884
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885
$as_echo "$ac_try_echo"; } >&5
1886
(eval "$ac_link") 2>&5
1888
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1889
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1890
{ { case "(($ac_try" in
1891
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892
*) ac_try_echo=$ac_try;;
1894
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895
$as_echo "$ac_try_echo"; } >&5
1896
(eval "$ac_try") 2>&5
1898
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899
test $ac_status = 0; }; }; then :
1902
$as_echo "$as_me: program exited with status $ac_status" >&5
1903
$as_echo "$as_me: failed program was:" >&5
1904
sed 's/^/| /' conftest.$ac_ext >&5
1906
ac_retval=$ac_status
1908
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1909
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1914
# ac_fn_c_check_func LINENO FUNC VAR
1915
# ----------------------------------
1916
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1917
ac_fn_c_check_func ()
1919
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1921
$as_echo_n "checking for $2... " >&6; }
1922
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1923
$as_echo_n "(cached) " >&6
1925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926
/* end confdefs.h. */
1927
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1928
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1929
#define $2 innocuous_$2
1931
/* System header to define __stub macros and hopefully few prototypes,
1932
which can conflict with char $2 (); below.
1933
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1934
<limits.h> exists even on freestanding compilers. */
1937
# include <limits.h>
1939
# include <assert.h>
1944
/* Override any GCC internal prototype to avoid an error.
1945
Use char because int might match the return type of a GCC
1946
builtin and then its argument prototype would still apply. */
1951
/* The GNU C library defines this for functions which it implements
1952
to always fail with ENOSYS. Some functions are actually named
1953
something starting with __ and the normal name is an alias. */
1954
#if defined __stub_$2 || defined __stub___$2
1966
if ac_fn_c_try_link "$LINENO"; then :
1971
rm -f core conftest.err conftest.$ac_objext \
1972
conftest$ac_exeext conftest.$ac_ext
1975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976
$as_echo "$ac_res" >&6; }
1977
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1979
} # ac_fn_c_check_func
1981
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1982
# -------------------------------------------------------
1983
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1984
# the include files in INCLUDES and setting the cache variable VAR
1986
ac_fn_c_check_header_mongrel ()
1988
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1989
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991
$as_echo_n "checking for $2... " >&6; }
1992
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1993
$as_echo_n "(cached) " >&6
1996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1997
$as_echo "$ac_res" >&6; }
1999
# Is the header compilable?
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2001
$as_echo_n "checking $2 usability... " >&6; }
2002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003
/* end confdefs.h. */
2007
if ac_fn_c_try_compile "$LINENO"; then :
2008
ac_header_compiler=yes
2010
ac_header_compiler=no
2012
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2014
$as_echo "$ac_header_compiler" >&6; }
2016
# Is the header present?
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2018
$as_echo_n "checking $2 presence... " >&6; }
2019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020
/* end confdefs.h. */
2023
if ac_fn_c_try_cpp "$LINENO"; then :
2024
ac_header_preproc=yes
2026
ac_header_preproc=no
2028
rm -f conftest.err conftest.$ac_ext
2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2030
$as_echo "$ac_header_preproc" >&6; }
2032
# So? What about this header?
2033
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2035
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2036
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2037
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2038
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2041
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2042
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2043
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2044
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2045
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2046
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2048
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2049
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2050
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2052
## ------------------------------------------------------------------------ ##
2053
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
2054
## ------------------------------------------------------------------------ ##
2056
) | sed "s/^/$as_me: WARNING: /" >&2
2059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060
$as_echo_n "checking for $2... " >&6; }
2061
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2062
$as_echo_n "(cached) " >&6
2064
eval "$3=\$ac_header_compiler"
2067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068
$as_echo "$ac_res" >&6; }
2070
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072
} # ac_fn_c_check_header_mongrel
2073
1757
cat >config.log <<_ACEOF
2074
1758
This file contains any messages produced by compilers while
2075
1759
running configure, to aid debugging if configure makes a mistake.
2077
It was created by unique $as_me 1.1.2, which was
2078
generated by GNU Autoconf 2.64. Invocation command line was
1761
It was created by unique $as_me 1.1.6, which was
1762
generated by GNU Autoconf 2.63. Invocation command line was
3316
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3317
3041
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3318
as_fn_error "no acceptable C compiler found in \$PATH
3319
See \`config.log' for more details." "$LINENO" 5; }
3042
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3043
See \`config.log' for more details." >&5
3044
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3045
See \`config.log' for more details." >&2;}
3046
{ (exit 1); exit 1; }; }; }
3321
3048
# Provide some information about the compiler.
3322
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3049
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3323
3050
set X $ac_compile
3325
for ac_option in --version -v -V -qversion; do
3326
{ { ac_try="$ac_compiler $ac_option >&5"
3328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329
*) ac_try_echo=$ac_try;;
3331
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332
$as_echo "$ac_try_echo"; } >&5
3333
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3335
if test -s conftest.err; then
3337
... rest of stderr output deleted ...
3338
10q' conftest.err >conftest.er1
3339
cat conftest.er1 >&5
3340
rm -f conftest.er1 conftest.err
3342
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3343
test $ac_status = 0; }
3052
{ (ac_try="$ac_compiler --version >&5"
3054
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3055
*) ac_try_echo=$ac_try;;
3057
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3058
$as_echo "$ac_try_echo") >&5
3059
(eval "$ac_compiler --version >&5") 2>&5
3061
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3062
(exit $ac_status); }
3063
{ (ac_try="$ac_compiler -v >&5"
3065
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
*) ac_try_echo=$ac_try;;
3068
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3069
$as_echo "$ac_try_echo") >&5
3070
(eval "$ac_compiler -v >&5") 2>&5
3072
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073
(exit $ac_status); }
3074
{ (ac_try="$ac_compiler -V >&5"
3076
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3077
*) ac_try_echo=$ac_try;;
3079
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3080
$as_echo "$ac_try_echo") >&5
3081
(eval "$ac_compiler -V >&5") 2>&5
3083
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084
(exit $ac_status); }
3346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3086
cat >conftest.$ac_ext <<_ACEOF
3089
cat confdefs.h >>conftest.$ac_ext
3090
cat >>conftest.$ac_ext <<_ACEOF
3347
3091
/* end confdefs.h. */
3352
FILE *f = fopen ("conftest.out", "w");
3353
return ferror (f) || fclose (f) != 0;
3359
3101
ac_clean_files_save=$ac_clean_files
3360
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3102
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3361
3103
# Try to create an executable without -o first, disregard a.out.
3362
3104
# It will help us diagnose broken compilers, and finding out an intuition
3364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3106
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3365
3107
$as_echo_n "checking for C compiler default output file name... " >&6; }
3366
3108
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3170
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3428
3171
$as_echo "$ac_file" >&6; }
3429
if test -z "$ac_file"; then :
3172
if test -z "$ac_file"; then
3430
3173
$as_echo "$as_me: failed program was:" >&5
3431
3174
sed 's/^/| /' conftest.$ac_ext >&5
3433
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3434
3177
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3435
{ as_fn_set_status 77
3436
as_fn_error "C compiler cannot create executables
3437
See \`config.log' for more details." "$LINENO" 5; }; }
3178
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3179
See \`config.log' for more details." >&5
3180
$as_echo "$as_me: error: C compiler cannot create executables
3181
See \`config.log' for more details." >&2;}
3182
{ (exit 77); exit 77; }; }; }
3439
3185
ac_exeext=$ac_cv_exeext
3441
3187
# Check that the compiler produces executables we can run. If not, either
3442
3188
# the compiler is broken, or we cross compile.
3443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3189
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3444
3190
$as_echo_n "checking whether the C compiler works... " >&6; }
3191
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3445
3192
# If not cross compiling, check that we can run a simple program.
3446
3193
if test "$cross_compiling" != yes; then
3447
3194
if { ac_try='./$ac_file'
3448
{ { case "(($ac_try" in
3195
{ (case "(($ac_try" in
3449
3196
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450
3197
*) ac_try_echo=$ac_try;;
3452
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453
$as_echo "$ac_try_echo"; } >&5
3199
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3200
$as_echo "$ac_try_echo") >&5
3454
3201
(eval "$ac_try") 2>&5
3456
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457
test $ac_status = 0; }; }; then
3203
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204
(exit $ac_status); }; }; then
3458
3205
cross_compiling=no
3460
3207
if test "$cross_compiling" = maybe; then
3461
3208
cross_compiling=yes
3463
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3464
3211
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465
as_fn_error "cannot run C compiled programs.
3466
If you meant to cross compile, use \`--host'.
3467
See \`config.log' for more details." "$LINENO" 5; }
3212
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3213
If you meant to cross compile, use \`--host'.
3214
See \`config.log' for more details." >&5
3215
$as_echo "$as_me: error: cannot run C compiled programs.
3216
If you meant to cross compile, use \`--host'.
3217
See \`config.log' for more details." >&2;}
3218
{ (exit 1); exit 1; }; }; }
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3472
3223
$as_echo "yes" >&6; }
3474
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3225
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3475
3226
ac_clean_files=$ac_clean_files_save
3476
3227
# Check that the compiler produces executables we can run. If not, either
3477
3228
# the compiler is broken, or we cross compile.
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3229
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3479
3230
$as_echo_n "checking whether we are cross compiling... " >&6; }
3480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3231
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3481
3232
$as_echo "$cross_compiling" >&6; }
3483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3234
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3484
3235
$as_echo_n "checking for suffix of executables... " >&6; }
3485
if { { ac_try="$ac_link"
3236
if { (ac_try="$ac_link"
3486
3237
case "(($ac_try" in
3487
3238
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3488
3239
*) ac_try_echo=$ac_try;;
3490
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3491
$as_echo "$ac_try_echo"; } >&5
3241
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3242
$as_echo "$ac_try_echo") >&5
3492
3243
(eval "$ac_link") 2>&5
3494
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3495
test $ac_status = 0; }; then :
3245
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246
(exit $ac_status); }; then
3496
3247
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3497
3248
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3498
3249
# work properly (i.e., refer to `conftest.exe'), while it won't with
4267
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4188
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4268
4189
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4269
as_fn_error "no acceptable C compiler found in \$PATH
4270
See \`config.log' for more details." "$LINENO" 5; }
4190
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4191
See \`config.log' for more details." >&5
4192
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4193
See \`config.log' for more details." >&2;}
4194
{ (exit 1); exit 1; }; }; }
4272
4196
# Provide some information about the compiler.
4273
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4197
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4274
4198
set X $ac_compile
4276
for ac_option in --version -v -V -qversion; do
4277
{ { ac_try="$ac_compiler $ac_option >&5"
4279
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4280
*) ac_try_echo=$ac_try;;
4282
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4283
$as_echo "$ac_try_echo"; } >&5
4284
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4286
if test -s conftest.err; then
4288
... rest of stderr output deleted ...
4289
10q' conftest.err >conftest.er1
4290
cat conftest.er1 >&5
4291
rm -f conftest.er1 conftest.err
4293
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4294
test $ac_status = 0; }
4200
{ (ac_try="$ac_compiler --version >&5"
4202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4203
*) ac_try_echo=$ac_try;;
4205
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4206
$as_echo "$ac_try_echo") >&5
4207
(eval "$ac_compiler --version >&5") 2>&5
4209
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210
(exit $ac_status); }
4211
{ (ac_try="$ac_compiler -v >&5"
4213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4214
*) ac_try_echo=$ac_try;;
4216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4217
$as_echo "$ac_try_echo") >&5
4218
(eval "$ac_compiler -v >&5") 2>&5
4220
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221
(exit $ac_status); }
4222
{ (ac_try="$ac_compiler -V >&5"
4224
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4225
*) ac_try_echo=$ac_try;;
4227
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4228
$as_echo "$ac_try_echo") >&5
4229
(eval "$ac_compiler -V >&5") 2>&5
4231
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4232
(exit $ac_status); }
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4234
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4298
4235
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4299
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4236
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4300
4237
$as_echo_n "(cached) " >&6
4302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239
cat >conftest.$ac_ext <<_ACEOF
4242
cat confdefs.h >>conftest.$ac_ext
4243
cat >>conftest.$ac_ext <<_ACEOF
4303
4244
/* end confdefs.h. */
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4700
# Find a good install program. We prefer a C program (faster),
4701
# so one script is as good as another. But avoid the broken or
4702
# incompatible versions:
4703
# SysV /etc/install, /usr/sbin/install
4704
# SunOS /usr/etc/install
4705
# IRIX /sbin/install
4707
# AmigaOS /C/install, which installs bootblocks on floppy discs
4708
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4709
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4710
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4711
# OS/2's system install, which has a completely different semantic
4712
# ./install, which can be erroneously created by make from ./install.sh.
4713
# Reject install programs that cannot install multiple files.
4714
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4715
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4716
if test -z "$INSTALL"; then
4717
if test "${ac_cv_path_install+set}" = set; then
4718
$as_echo_n "(cached) " >&6
4720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4724
test -z "$as_dir" && as_dir=.
4725
# Account for people who put trailing slashes in PATH elements.
4727
./ | .// | /cC/* | \
4728
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4729
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4732
# OSF1 and SCO ODT 3.0 have their own names for install.
4733
# Don't use installbsd from OSF since it installs stuff as root
4735
for ac_prog in ginstall scoinst install; do
4736
for ac_exec_ext in '' $ac_executable_extensions; do
4737
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4738
if test $ac_prog = install &&
4739
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4740
# AIX install. It has an incompatible calling convention.
4742
elif test $ac_prog = install &&
4743
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4744
# program-specific install script used by HP pwplus--don't use.
4747
rm -rf conftest.one conftest.two conftest.dir
4748
echo one > conftest.one
4749
echo two > conftest.two
4751
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4752
test -s conftest.one && test -s conftest.two &&
4753
test -s conftest.dir/conftest.one &&
4754
test -s conftest.dir/conftest.two
4756
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4769
rm -rf conftest.one conftest.two conftest.dir
4772
if test "${ac_cv_path_install+set}" = set; then
4773
INSTALL=$ac_cv_path_install
4775
# As a last resort, use the slow shell script. Don't cache a
4776
# value for INSTALL within a source directory, because that will
4777
# break other packages using the cache if that directory is
4778
# removed, or if the value is a relative name.
4779
INSTALL=$ac_install_sh
4782
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4783
$as_echo "$INSTALL" >&6; }
4785
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4786
# It thinks the first close brace ends the variable substitution.
4787
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4789
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4791
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4793
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4638
4794
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4639
4795
set x ${MAKE-make}
4640
4796
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4641
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
4797
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
4642
4798
$as_echo_n "(cached) " >&6
4644
4800
cat >conftest.make <<\_ACEOF
7481
if ac_fn_c_try_cpp "$LINENO"; then :
7796
if { (ac_try="$ac_cpp conftest.$ac_ext"
7798
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7799
*) ac_try_echo=$ac_try;;
7801
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7802
$as_echo "$ac_try_echo") >&5
7803
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7805
grep -v '^ *+' conftest.er1 >conftest.err
7807
cat conftest.err >&5
7808
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809
(exit $ac_status); } >/dev/null && {
7810
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7811
test ! -s conftest.err
7815
$as_echo "$as_me: failed program was:" >&5
7816
sed 's/^/| /' conftest.$ac_ext >&5
7484
7818
# Broken: fails on valid input.
7487
7822
rm -f conftest.err conftest.$ac_ext
7489
7824
# OK, works on sane cases. Now check whether nonexistent headers
7490
7825
# can be detected and how.
7491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7826
cat >conftest.$ac_ext <<_ACEOF
7829
cat confdefs.h >>conftest.$ac_ext
7830
cat >>conftest.$ac_ext <<_ACEOF
7492
7831
/* end confdefs.h. */
7493
7832
#include <ac_nonexistent.h>
7495
if ac_fn_c_try_cpp "$LINENO"; then :
7834
if { (ac_try="$ac_cpp conftest.$ac_ext"
7836
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7837
*) ac_try_echo=$ac_try;;
7839
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7840
$as_echo "$ac_try_echo") >&5
7841
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7843
grep -v '^ *+' conftest.er1 >conftest.err
7845
cat conftest.err >&5
7846
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847
(exit $ac_status); } >/dev/null && {
7848
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7849
test ! -s conftest.err
7496
7851
# Broken: success on invalid input.
7854
$as_echo "$as_me: failed program was:" >&5
7855
sed 's/^/| /' conftest.$ac_ext >&5
7499
7857
# Passes both tests.
7500
7858
ac_preproc_ok=:
7503
7862
rm -f conftest.err conftest.$ac_ext
7506
7865
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7507
7866
rm -f conftest.err conftest.$ac_ext
7508
if $ac_preproc_ok; then :
7867
if $ac_preproc_ok; then
7511
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7870
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7512
7871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7513
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7514
See \`config.log' for more details." "$LINENO" 5; }
7872
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7873
See \`config.log' for more details." >&5
7874
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7875
See \`config.log' for more details." >&2;}
7876
{ (exit 1); exit 1; }; }; }
7617
if ac_fn_c_try_run "$LINENO"; then :
8016
rm -f conftest$ac_exeext
8017
if { (ac_try="$ac_link"
8019
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8020
*) ac_try_echo=$ac_try;;
8022
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8023
$as_echo "$ac_try_echo") >&5
8024
(eval "$ac_link") 2>&5
8026
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8027
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8028
{ (case "(($ac_try" in
8029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8030
*) ac_try_echo=$ac_try;;
8032
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8033
$as_echo "$ac_try_echo") >&5
8034
(eval "$ac_try") 2>&5
8036
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8037
(exit $ac_status); }; }; then
7620
ac_cv_header_stdc=no
7622
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7623
conftest.$ac_objext conftest.beam conftest.$ac_ext
7628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8040
$as_echo "$as_me: program exited with status $ac_status" >&5
8041
$as_echo "$as_me: failed program was:" >&5
8042
sed 's/^/| /' conftest.$ac_ext >&5
8045
ac_cv_header_stdc=no
8047
rm -rf conftest.dSYM
8048
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8054
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7629
8055
$as_echo "$ac_cv_header_stdc" >&6; }
7630
8056
if test $ac_cv_header_stdc = yes; then
7632
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8058
cat >>confdefs.h <<\_ACEOF
8059
#define STDC_HEADERS 1
7636
8064
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7637
8074
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7638
8075
inttypes.h stdint.h unistd.h
7640
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7641
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7643
eval as_val=\$$as_ac_Header
7644
if test "x$as_val" = x""yes; then :
8077
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8078
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8079
$as_echo_n "checking for $ac_header... " >&6; }
8080
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8081
$as_echo_n "(cached) " >&6
8083
cat >conftest.$ac_ext <<_ACEOF
8086
cat confdefs.h >>conftest.$ac_ext
8087
cat >>conftest.$ac_ext <<_ACEOF
8088
/* end confdefs.h. */
8089
$ac_includes_default
8091
#include <$ac_header>
8093
rm -f conftest.$ac_objext
8094
if { (ac_try="$ac_compile"
8096
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8097
*) ac_try_echo=$ac_try;;
8099
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8100
$as_echo "$ac_try_echo") >&5
8101
(eval "$ac_compile") 2>conftest.er1
8103
grep -v '^ *+' conftest.er1 >conftest.err
8105
cat conftest.err >&5
8106
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107
(exit $ac_status); } && {
8108
test -z "$ac_c_werror_flag" ||
8109
test ! -s conftest.err
8110
} && test -s conftest.$ac_objext; then
8111
eval "$as_ac_Header=yes"
8113
$as_echo "$as_me: failed program was:" >&5
8114
sed 's/^/| /' conftest.$ac_ext >&5
8116
eval "$as_ac_Header=no"
8119
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8121
ac_res=`eval 'as_val=${'$as_ac_Header'}
8122
$as_echo "$as_val"'`
8123
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8124
$as_echo "$ac_res" >&6; }
8125
as_val=`eval 'as_val=${'$as_ac_Header'}
8126
$as_echo "$as_val"'`
8127
if test "x$as_val" = x""yes; then
7645
8128
cat >>confdefs.h <<_ACEOF
7646
8129
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10840
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10841
if test "x$ac_cv_func_shl_load" = x""yes; then :
11508
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11509
$as_echo_n "checking for shl_load... " >&6; }
11510
if test "${ac_cv_func_shl_load+set}" = set; then
11511
$as_echo_n "(cached) " >&6
11513
cat >conftest.$ac_ext <<_ACEOF
11516
cat confdefs.h >>conftest.$ac_ext
11517
cat >>conftest.$ac_ext <<_ACEOF
11518
/* end confdefs.h. */
11519
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11520
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11521
#define shl_load innocuous_shl_load
11523
/* System header to define __stub macros and hopefully few prototypes,
11524
which can conflict with char shl_load (); below.
11525
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11526
<limits.h> exists even on freestanding compilers. */
11529
# include <limits.h>
11531
# include <assert.h>
11536
/* Override any GCC internal prototype to avoid an error.
11537
Use char because int might match the return type of a GCC
11538
builtin and then its argument prototype would still apply. */
11543
/* The GNU C library defines this for functions which it implements
11544
to always fail with ENOSYS. Some functions are actually named
11545
something starting with __ and the normal name is an alias. */
11546
#if defined __stub_shl_load || defined __stub___shl_load
11553
return shl_load ();
11558
rm -f conftest.$ac_objext conftest$ac_exeext
11559
if { (ac_try="$ac_link"
11560
case "(($ac_try" in
11561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11562
*) ac_try_echo=$ac_try;;
11564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11565
$as_echo "$ac_try_echo") >&5
11566
(eval "$ac_link") 2>conftest.er1
11568
grep -v '^ *+' conftest.er1 >conftest.err
11570
cat conftest.err >&5
11571
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572
(exit $ac_status); } && {
11573
test -z "$ac_c_werror_flag" ||
11574
test ! -s conftest.err
11575
} && test -s conftest$ac_exeext && {
11576
test "$cross_compiling" = yes ||
11577
$as_test_x conftest$ac_exeext
11579
ac_cv_func_shl_load=yes
11581
$as_echo "$as_me: failed program was:" >&5
11582
sed 's/^/| /' conftest.$ac_ext >&5
11584
ac_cv_func_shl_load=no
11587
rm -rf conftest.dSYM
11588
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11589
conftest$ac_exeext conftest.$ac_ext
11591
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11592
$as_echo "$ac_cv_func_shl_load" >&6; }
11593
if test "x$ac_cv_func_shl_load" = x""yes; then
10842
11594
lt_cv_dlopen="shl_load"
10844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11596
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10845
11597
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10846
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11598
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10847
11599
$as_echo_n "(cached) " >&6
10849
11601
ac_check_lib_save_LIBS=$LIBS
10850
11602
LIBS="-ldld $LIBS"
10851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11603
cat >conftest.$ac_ext <<_ACEOF
11606
cat confdefs.h >>conftest.$ac_ext
11607
cat >>conftest.$ac_ext <<_ACEOF
10852
11608
/* end confdefs.h. */
10854
11610
/* Override any GCC internal prototype to avoid an error.
10869
if ac_fn_c_try_link "$LINENO"; then :
11625
rm -f conftest.$ac_objext conftest$ac_exeext
11626
if { (ac_try="$ac_link"
11627
case "(($ac_try" in
11628
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11629
*) ac_try_echo=$ac_try;;
11631
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11632
$as_echo "$ac_try_echo") >&5
11633
(eval "$ac_link") 2>conftest.er1
11635
grep -v '^ *+' conftest.er1 >conftest.err
11637
cat conftest.err >&5
11638
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639
(exit $ac_status); } && {
11640
test -z "$ac_c_werror_flag" ||
11641
test ! -s conftest.err
11642
} && test -s conftest$ac_exeext && {
11643
test "$cross_compiling" = yes ||
11644
$as_test_x conftest$ac_exeext
10870
11646
ac_cv_lib_dld_shl_load=yes
10872
ac_cv_lib_dld_shl_load=no
11648
$as_echo "$as_me: failed program was:" >&5
11649
sed 's/^/| /' conftest.$ac_ext >&5
11651
ac_cv_lib_dld_shl_load=no
10874
rm -f core conftest.err conftest.$ac_objext \
10875
conftest$ac_exeext conftest.$ac_ext
11654
rm -rf conftest.dSYM
11655
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11656
conftest$ac_exeext conftest.$ac_ext
10876
11657
LIBS=$ac_check_lib_save_LIBS
10878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11659
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10879
11660
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10880
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11661
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10881
11662
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10883
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10884
if test "x$ac_cv_func_dlopen" = x""yes; then :
11664
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11665
$as_echo_n "checking for dlopen... " >&6; }
11666
if test "${ac_cv_func_dlopen+set}" = set; then
11667
$as_echo_n "(cached) " >&6
11669
cat >conftest.$ac_ext <<_ACEOF
11672
cat confdefs.h >>conftest.$ac_ext
11673
cat >>conftest.$ac_ext <<_ACEOF
11674
/* end confdefs.h. */
11675
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11676
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11677
#define dlopen innocuous_dlopen
11679
/* System header to define __stub macros and hopefully few prototypes,
11680
which can conflict with char dlopen (); below.
11681
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11682
<limits.h> exists even on freestanding compilers. */
11685
# include <limits.h>
11687
# include <assert.h>
11692
/* Override any GCC internal prototype to avoid an error.
11693
Use char because int might match the return type of a GCC
11694
builtin and then its argument prototype would still apply. */
11699
/* The GNU C library defines this for functions which it implements
11700
to always fail with ENOSYS. Some functions are actually named
11701
something starting with __ and the normal name is an alias. */
11702
#if defined __stub_dlopen || defined __stub___dlopen
11714
rm -f conftest.$ac_objext conftest$ac_exeext
11715
if { (ac_try="$ac_link"
11716
case "(($ac_try" in
11717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11718
*) ac_try_echo=$ac_try;;
11720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11721
$as_echo "$ac_try_echo") >&5
11722
(eval "$ac_link") 2>conftest.er1
11724
grep -v '^ *+' conftest.er1 >conftest.err
11726
cat conftest.err >&5
11727
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728
(exit $ac_status); } && {
11729
test -z "$ac_c_werror_flag" ||
11730
test ! -s conftest.err
11731
} && test -s conftest$ac_exeext && {
11732
test "$cross_compiling" = yes ||
11733
$as_test_x conftest$ac_exeext
11735
ac_cv_func_dlopen=yes
11737
$as_echo "$as_me: failed program was:" >&5
11738
sed 's/^/| /' conftest.$ac_ext >&5
11740
ac_cv_func_dlopen=no
11743
rm -rf conftest.dSYM
11744
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11745
conftest$ac_exeext conftest.$ac_ext
11747
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11748
$as_echo "$ac_cv_func_dlopen" >&6; }
11749
if test "x$ac_cv_func_dlopen" = x""yes; then
10885
11750
lt_cv_dlopen="dlopen"
10887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11752
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10888
11753
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10889
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11754
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10890
11755
$as_echo_n "(cached) " >&6
10892
11757
ac_check_lib_save_LIBS=$LIBS
10893
11758
LIBS="-ldl $LIBS"
10894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759
cat >conftest.$ac_ext <<_ACEOF
11762
cat confdefs.h >>conftest.$ac_ext
11763
cat >>conftest.$ac_ext <<_ACEOF
10895
11764
/* end confdefs.h. */
10897
11766
/* Override any GCC internal prototype to avoid an error.
11805
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12767
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
11806
12768
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11807
as_fn_error "no acceptable C compiler found in \$PATH
11808
See \`config.log' for more details." "$LINENO" 5; }
12769
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12770
See \`config.log' for more details." >&5
12771
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
12772
See \`config.log' for more details." >&2;}
12773
{ (exit 1); exit 1; }; }; }
11810
12775
# Provide some information about the compiler.
11811
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12776
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
11812
12777
set X $ac_compile
11813
12778
ac_compiler=$2
11814
for ac_option in --version -v -V -qversion; do
11815
{ { ac_try="$ac_compiler $ac_option >&5"
11816
case "(($ac_try" in
11817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11818
*) ac_try_echo=$ac_try;;
11820
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11821
$as_echo "$ac_try_echo"; } >&5
11822
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11824
if test -s conftest.err; then
11826
... rest of stderr output deleted ...
11827
10q' conftest.err >conftest.er1
11828
cat conftest.er1 >&5
11829
rm -f conftest.er1 conftest.err
11831
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11832
test $ac_status = 0; }
12779
{ (ac_try="$ac_compiler --version >&5"
12780
case "(($ac_try" in
12781
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12782
*) ac_try_echo=$ac_try;;
12784
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12785
$as_echo "$ac_try_echo") >&5
12786
(eval "$ac_compiler --version >&5") 2>&5
12788
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789
(exit $ac_status); }
12790
{ (ac_try="$ac_compiler -v >&5"
12791
case "(($ac_try" in
12792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12793
*) ac_try_echo=$ac_try;;
12795
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12796
$as_echo "$ac_try_echo") >&5
12797
(eval "$ac_compiler -v >&5") 2>&5
12799
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800
(exit $ac_status); }
12801
{ (ac_try="$ac_compiler -V >&5"
12802
case "(($ac_try" in
12803
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12804
*) ac_try_echo=$ac_try;;
12806
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12807
$as_echo "$ac_try_echo") >&5
12808
(eval "$ac_compiler -V >&5") 2>&5
12810
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811
(exit $ac_status); }
11835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12813
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
11836
12814
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11837
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
12815
if test "${ac_cv_c_compiler_gnu+set}" = set; then
11838
12816
$as_echo_n "(cached) " >&6
11840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818
cat >conftest.$ac_ext <<_ACEOF
12821
cat confdefs.h >>conftest.$ac_ext
12822
cat >>conftest.$ac_ext <<_ACEOF
11841
12823
/* end confdefs.h. */
12350
13451
_pkg_short_errors_supported=no
12352
13453
if test $_pkg_short_errors_supported = yes; then
12353
UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0"`
13454
UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0" 2>&1`
12355
UNIQUE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0"`
13456
UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0" 2>&1`
12357
13458
# Put the nasty error message in config.log where it belongs
12358
13459
echo "$UNIQUE_PKG_ERRORS" >&5
12360
as_fn_error "Package requirements (glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0) were not met:
12364
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12365
installed software in a non-standard prefix.
12367
Alternatively, you may set the environment variables UNIQUE_CFLAGS
12368
and UNIQUE_LIBS to avoid the need to call pkg-config.
12369
See the pkg-config man page for more details.
13461
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0) were not met:
13465
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13466
installed software in a non-standard prefix.
13468
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13469
and UNIQUE_LIBS to avoid the need to call pkg-config.
13470
See the pkg-config man page for more details.
13472
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.12.0 gtk+-2.0 >= 2.11.0) were not met:
13476
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13477
installed software in a non-standard prefix.
13479
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13480
and UNIQUE_LIBS to avoid the need to call pkg-config.
13481
See the pkg-config man page for more details.
13483
{ (exit 1); exit 1; }; }
12371
13484
elif test $pkg_failed = untried; then
12372
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13485
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12373
13486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12374
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12375
is in your PATH or set the PKG_CONFIG environment variable to the full
12376
path to pkg-config.
12378
Alternatively, you may set the environment variables UNIQUE_CFLAGS
12379
and UNIQUE_LIBS to avoid the need to call pkg-config.
12380
See the pkg-config man page for more details.
12382
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12383
See \`config.log' for more details." "$LINENO" 5; }
13487
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13488
is in your PATH or set the PKG_CONFIG environment variable to the full
13489
path to pkg-config.
13491
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13492
and UNIQUE_LIBS to avoid the need to call pkg-config.
13493
See the pkg-config man page for more details.
13495
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13496
See \`config.log' for more details." >&5
13497
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13498
is in your PATH or set the PKG_CONFIG environment variable to the full
13499
path to pkg-config.
13501
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13502
and UNIQUE_LIBS to avoid the need to call pkg-config.
13503
See the pkg-config man page for more details.
13505
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13506
See \`config.log' for more details." >&2;}
13507
{ (exit 1); exit 1; }; }; }
12385
13509
UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
12386
13510
UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
12387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13511
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12388
13512
$as_echo "yes" >&6; }
12392
13516
gdktarget=`$PKG_CONFIG --variable=target gdk-2.0`
12393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13517
{ $as_echo "$as_me:$LINENO: checking for X" >&5
12394
13518
$as_echo_n "checking for X... " >&6; }
12397
13521
# Check whether --with-x was given.
12398
if test "${with_x+set}" = set; then :
13522
if test "${with_x+set}" = set; then
12399
13523
withval=$with_x;
12711
if ac_fn_c_try_link "$LINENO"; then :
13977
rm -f conftest.$ac_objext conftest$ac_exeext
13978
if { (ac_try="$ac_link"
13979
case "(($ac_try" in
13980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13981
*) ac_try_echo=$ac_try;;
13983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13984
$as_echo "$ac_try_echo") >&5
13985
(eval "$ac_link") 2>conftest.er1
13987
grep -v '^ *+' conftest.er1 >conftest.err
13989
cat conftest.err >&5
13990
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13991
(exit $ac_status); } && {
13992
test -z "$ac_c_werror_flag" ||
13993
test ! -s conftest.err
13994
} && test -s conftest$ac_exeext && {
13995
test "$cross_compiling" = yes ||
13996
$as_test_x conftest$ac_exeext
12712
13998
ac_cv_lib_dnet_dnet_ntoa=yes
12714
ac_cv_lib_dnet_dnet_ntoa=no
14000
$as_echo "$as_me: failed program was:" >&5
14001
sed 's/^/| /' conftest.$ac_ext >&5
14003
ac_cv_lib_dnet_dnet_ntoa=no
12716
rm -f core conftest.err conftest.$ac_objext \
12717
conftest$ac_exeext conftest.$ac_ext
14006
rm -rf conftest.dSYM
14007
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14008
conftest$ac_exeext conftest.$ac_ext
12718
14009
LIBS=$ac_check_lib_save_LIBS
12720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14011
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12721
14012
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12722
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
14013
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then
12723
14014
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12726
14017
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14018
{ $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
12728
14019
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12729
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
14020
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
12730
14021
$as_echo_n "(cached) " >&6
12732
14023
ac_check_lib_save_LIBS=$LIBS
12733
14024
LIBS="-ldnet_stub $LIBS"
12734
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025
cat >conftest.$ac_ext <<_ACEOF
14028
cat confdefs.h >>conftest.$ac_ext
14029
cat >>conftest.$ac_ext <<_ACEOF
12735
14030
/* end confdefs.h. */
12737
14032
/* Override any GCC internal prototype to avoid an error.
12778
14100
# on Irix 5.2, according to T.E. Dickey.
12779
14101
# The functions gethostbyname, getservbyname, and inet_addr are
12780
14102
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12781
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12782
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
14103
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
14104
$as_echo_n "checking for gethostbyname... " >&6; }
14105
if test "${ac_cv_func_gethostbyname+set}" = set; then
14106
$as_echo_n "(cached) " >&6
14108
cat >conftest.$ac_ext <<_ACEOF
14111
cat confdefs.h >>conftest.$ac_ext
14112
cat >>conftest.$ac_ext <<_ACEOF
14113
/* end confdefs.h. */
14114
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
14115
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14116
#define gethostbyname innocuous_gethostbyname
14118
/* System header to define __stub macros and hopefully few prototypes,
14119
which can conflict with char gethostbyname (); below.
14120
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14121
<limits.h> exists even on freestanding compilers. */
14124
# include <limits.h>
14126
# include <assert.h>
14129
#undef gethostbyname
14131
/* Override any GCC internal prototype to avoid an error.
14132
Use char because int might match the return type of a GCC
14133
builtin and then its argument prototype would still apply. */
14137
char gethostbyname ();
14138
/* The GNU C library defines this for functions which it implements
14139
to always fail with ENOSYS. Some functions are actually named
14140
something starting with __ and the normal name is an alias. */
14141
#if defined __stub_gethostbyname || defined __stub___gethostbyname
14148
return gethostbyname ();
14153
rm -f conftest.$ac_objext conftest$ac_exeext
14154
if { (ac_try="$ac_link"
14155
case "(($ac_try" in
14156
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14157
*) ac_try_echo=$ac_try;;
14159
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14160
$as_echo "$ac_try_echo") >&5
14161
(eval "$ac_link") 2>conftest.er1
14163
grep -v '^ *+' conftest.er1 >conftest.err
14165
cat conftest.err >&5
14166
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167
(exit $ac_status); } && {
14168
test -z "$ac_c_werror_flag" ||
14169
test ! -s conftest.err
14170
} && test -s conftest$ac_exeext && {
14171
test "$cross_compiling" = yes ||
14172
$as_test_x conftest$ac_exeext
14174
ac_cv_func_gethostbyname=yes
14176
$as_echo "$as_me: failed program was:" >&5
14177
sed 's/^/| /' conftest.$ac_ext >&5
14179
ac_cv_func_gethostbyname=no
14182
rm -rf conftest.dSYM
14183
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14184
conftest$ac_exeext conftest.$ac_ext
14186
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
14187
$as_echo "$ac_cv_func_gethostbyname" >&6; }
12786
14189
if test $ac_cv_func_gethostbyname = no; then
12787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14190
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
12788
14191
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12789
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
14192
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
12790
14193
$as_echo_n "(cached) " >&6
12792
14195
ac_check_lib_save_LIBS=$LIBS
12793
14196
LIBS="-lnsl $LIBS"
12794
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14197
cat >conftest.$ac_ext <<_ACEOF
14200
cat confdefs.h >>conftest.$ac_ext
14201
cat >>conftest.$ac_ext <<_ACEOF
12795
14202
/* end confdefs.h. */
12797
14204
/* Override any GCC internal prototype to avoid an error.
12812
if ac_fn_c_try_link "$LINENO"; then :
14219
rm -f conftest.$ac_objext conftest$ac_exeext
14220
if { (ac_try="$ac_link"
14221
case "(($ac_try" in
14222
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14223
*) ac_try_echo=$ac_try;;
14225
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14226
$as_echo "$ac_try_echo") >&5
14227
(eval "$ac_link") 2>conftest.er1
14229
grep -v '^ *+' conftest.er1 >conftest.err
14231
cat conftest.err >&5
14232
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14233
(exit $ac_status); } && {
14234
test -z "$ac_c_werror_flag" ||
14235
test ! -s conftest.err
14236
} && test -s conftest$ac_exeext && {
14237
test "$cross_compiling" = yes ||
14238
$as_test_x conftest$ac_exeext
12813
14240
ac_cv_lib_nsl_gethostbyname=yes
12815
ac_cv_lib_nsl_gethostbyname=no
14242
$as_echo "$as_me: failed program was:" >&5
14243
sed 's/^/| /' conftest.$ac_ext >&5
14245
ac_cv_lib_nsl_gethostbyname=no
12817
rm -f core conftest.err conftest.$ac_objext \
12818
conftest$ac_exeext conftest.$ac_ext
14248
rm -rf conftest.dSYM
14249
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14250
conftest$ac_exeext conftest.$ac_ext
12819
14251
LIBS=$ac_check_lib_save_LIBS
12821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14253
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
12822
14254
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12823
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
14255
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
12824
14256
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12827
14259
if test $ac_cv_lib_nsl_gethostbyname = no; then
12828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14260
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
12829
14261
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12830
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
14262
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
12831
14263
$as_echo_n "(cached) " >&6
12833
14265
ac_check_lib_save_LIBS=$LIBS
12834
14266
LIBS="-lbsd $LIBS"
12835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14267
cat >conftest.$ac_ext <<_ACEOF
14270
cat confdefs.h >>conftest.$ac_ext
14271
cat >>conftest.$ac_ext <<_ACEOF
12836
14272
/* end confdefs.h. */
12838
14274
/* Override any GCC internal prototype to avoid an error.
12875
14336
# variants that don't use the name server (or something). -lsocket
12876
14337
# must be given before -lnsl if both are needed. We assume that
12877
14338
# if connect needs -lnsl, so does gethostbyname.
12878
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12879
if test "x$ac_cv_func_connect" = x""yes; then :
14339
{ $as_echo "$as_me:$LINENO: checking for connect" >&5
14340
$as_echo_n "checking for connect... " >&6; }
14341
if test "${ac_cv_func_connect+set}" = set; then
14342
$as_echo_n "(cached) " >&6
14344
cat >conftest.$ac_ext <<_ACEOF
14347
cat confdefs.h >>conftest.$ac_ext
14348
cat >>conftest.$ac_ext <<_ACEOF
14349
/* end confdefs.h. */
14350
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
14351
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14352
#define connect innocuous_connect
14354
/* System header to define __stub macros and hopefully few prototypes,
14355
which can conflict with char connect (); below.
14356
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14357
<limits.h> exists even on freestanding compilers. */
14360
# include <limits.h>
14362
# include <assert.h>
14367
/* Override any GCC internal prototype to avoid an error.
14368
Use char because int might match the return type of a GCC
14369
builtin and then its argument prototype would still apply. */
14374
/* The GNU C library defines this for functions which it implements
14375
to always fail with ENOSYS. Some functions are actually named
14376
something starting with __ and the normal name is an alias. */
14377
#if defined __stub_connect || defined __stub___connect
14389
rm -f conftest.$ac_objext conftest$ac_exeext
14390
if { (ac_try="$ac_link"
14391
case "(($ac_try" in
14392
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14393
*) ac_try_echo=$ac_try;;
14395
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14396
$as_echo "$ac_try_echo") >&5
14397
(eval "$ac_link") 2>conftest.er1
14399
grep -v '^ *+' conftest.er1 >conftest.err
14401
cat conftest.err >&5
14402
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403
(exit $ac_status); } && {
14404
test -z "$ac_c_werror_flag" ||
14405
test ! -s conftest.err
14406
} && test -s conftest$ac_exeext && {
14407
test "$cross_compiling" = yes ||
14408
$as_test_x conftest$ac_exeext
14410
ac_cv_func_connect=yes
14412
$as_echo "$as_me: failed program was:" >&5
14413
sed 's/^/| /' conftest.$ac_ext >&5
14415
ac_cv_func_connect=no
14418
rm -rf conftest.dSYM
14419
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14420
conftest$ac_exeext conftest.$ac_ext
14422
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
14423
$as_echo "$ac_cv_func_connect" >&6; }
12883
14425
if test $ac_cv_func_connect = no; then
12884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14426
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
12885
14427
$as_echo_n "checking for connect in -lsocket... " >&6; }
12886
if test "${ac_cv_lib_socket_connect+set}" = set; then :
14428
if test "${ac_cv_lib_socket_connect+set}" = set; then
12887
14429
$as_echo_n "(cached) " >&6
12889
14431
ac_check_lib_save_LIBS=$LIBS
12890
14432
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12891
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433
cat >conftest.$ac_ext <<_ACEOF
14436
cat confdefs.h >>conftest.$ac_ext
14437
cat >>conftest.$ac_ext <<_ACEOF
12892
14438
/* end confdefs.h. */
12894
14440
/* Override any GCC internal prototype to avoid an error.
12909
if ac_fn_c_try_link "$LINENO"; then :
14455
rm -f conftest.$ac_objext conftest$ac_exeext
14456
if { (ac_try="$ac_link"
14457
case "(($ac_try" in
14458
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14459
*) ac_try_echo=$ac_try;;
14461
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14462
$as_echo "$ac_try_echo") >&5
14463
(eval "$ac_link") 2>conftest.er1
14465
grep -v '^ *+' conftest.er1 >conftest.err
14467
cat conftest.err >&5
14468
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14469
(exit $ac_status); } && {
14470
test -z "$ac_c_werror_flag" ||
14471
test ! -s conftest.err
14472
} && test -s conftest$ac_exeext && {
14473
test "$cross_compiling" = yes ||
14474
$as_test_x conftest$ac_exeext
12910
14476
ac_cv_lib_socket_connect=yes
12912
ac_cv_lib_socket_connect=no
14478
$as_echo "$as_me: failed program was:" >&5
14479
sed 's/^/| /' conftest.$ac_ext >&5
14481
ac_cv_lib_socket_connect=no
12914
rm -f core conftest.err conftest.$ac_objext \
12915
conftest$ac_exeext conftest.$ac_ext
14484
rm -rf conftest.dSYM
14485
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14486
conftest$ac_exeext conftest.$ac_ext
12916
14487
LIBS=$ac_check_lib_save_LIBS
12918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14489
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
12919
14490
$as_echo "$ac_cv_lib_socket_connect" >&6; }
12920
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
14491
if test "x$ac_cv_lib_socket_connect" = x""yes; then
12921
14492
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12926
14497
# Guillermo Gomez says -lposix is necessary on A/UX.
12927
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12928
if test "x$ac_cv_func_remove" = x""yes; then :
14498
{ $as_echo "$as_me:$LINENO: checking for remove" >&5
14499
$as_echo_n "checking for remove... " >&6; }
14500
if test "${ac_cv_func_remove+set}" = set; then
14501
$as_echo_n "(cached) " >&6
14503
cat >conftest.$ac_ext <<_ACEOF
14506
cat confdefs.h >>conftest.$ac_ext
14507
cat >>conftest.$ac_ext <<_ACEOF
14508
/* end confdefs.h. */
14509
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
14510
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14511
#define remove innocuous_remove
14513
/* System header to define __stub macros and hopefully few prototypes,
14514
which can conflict with char remove (); below.
14515
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14516
<limits.h> exists even on freestanding compilers. */
14519
# include <limits.h>
14521
# include <assert.h>
14526
/* Override any GCC internal prototype to avoid an error.
14527
Use char because int might match the return type of a GCC
14528
builtin and then its argument prototype would still apply. */
14533
/* The GNU C library defines this for functions which it implements
14534
to always fail with ENOSYS. Some functions are actually named
14535
something starting with __ and the normal name is an alias. */
14536
#if defined __stub_remove || defined __stub___remove
14548
rm -f conftest.$ac_objext conftest$ac_exeext
14549
if { (ac_try="$ac_link"
14550
case "(($ac_try" in
14551
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14552
*) ac_try_echo=$ac_try;;
14554
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14555
$as_echo "$ac_try_echo") >&5
14556
(eval "$ac_link") 2>conftest.er1
14558
grep -v '^ *+' conftest.er1 >conftest.err
14560
cat conftest.err >&5
14561
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14562
(exit $ac_status); } && {
14563
test -z "$ac_c_werror_flag" ||
14564
test ! -s conftest.err
14565
} && test -s conftest$ac_exeext && {
14566
test "$cross_compiling" = yes ||
14567
$as_test_x conftest$ac_exeext
14569
ac_cv_func_remove=yes
14571
$as_echo "$as_me: failed program was:" >&5
14572
sed 's/^/| /' conftest.$ac_ext >&5
14574
ac_cv_func_remove=no
14577
rm -rf conftest.dSYM
14578
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14579
conftest$ac_exeext conftest.$ac_ext
14581
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
14582
$as_echo "$ac_cv_func_remove" >&6; }
12932
14584
if test $ac_cv_func_remove = no; then
12933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14585
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
12934
14586
$as_echo_n "checking for remove in -lposix... " >&6; }
12935
if test "${ac_cv_lib_posix_remove+set}" = set; then :
14587
if test "${ac_cv_lib_posix_remove+set}" = set; then
12936
14588
$as_echo_n "(cached) " >&6
12938
14590
ac_check_lib_save_LIBS=$LIBS
12939
14591
LIBS="-lposix $LIBS"
12940
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14592
cat >conftest.$ac_ext <<_ACEOF
14595
cat confdefs.h >>conftest.$ac_ext
14596
cat >>conftest.$ac_ext <<_ACEOF
12941
14597
/* end confdefs.h. */
12943
14599
/* Override any GCC internal prototype to avoid an error.
12958
if ac_fn_c_try_link "$LINENO"; then :
14614
rm -f conftest.$ac_objext conftest$ac_exeext
14615
if { (ac_try="$ac_link"
14616
case "(($ac_try" in
14617
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14618
*) ac_try_echo=$ac_try;;
14620
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14621
$as_echo "$ac_try_echo") >&5
14622
(eval "$ac_link") 2>conftest.er1
14624
grep -v '^ *+' conftest.er1 >conftest.err
14626
cat conftest.err >&5
14627
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14628
(exit $ac_status); } && {
14629
test -z "$ac_c_werror_flag" ||
14630
test ! -s conftest.err
14631
} && test -s conftest$ac_exeext && {
14632
test "$cross_compiling" = yes ||
14633
$as_test_x conftest$ac_exeext
12959
14635
ac_cv_lib_posix_remove=yes
12961
ac_cv_lib_posix_remove=no
14637
$as_echo "$as_me: failed program was:" >&5
14638
sed 's/^/| /' conftest.$ac_ext >&5
14640
ac_cv_lib_posix_remove=no
12963
rm -f core conftest.err conftest.$ac_objext \
12964
conftest$ac_exeext conftest.$ac_ext
14643
rm -rf conftest.dSYM
14644
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14645
conftest$ac_exeext conftest.$ac_ext
12965
14646
LIBS=$ac_check_lib_save_LIBS
12967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14648
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
12968
14649
$as_echo "$ac_cv_lib_posix_remove" >&6; }
12969
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
14650
if test "x$ac_cv_lib_posix_remove" = x""yes; then
12970
14651
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12975
14656
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12976
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12977
if test "x$ac_cv_func_shmat" = x""yes; then :
14657
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5
14658
$as_echo_n "checking for shmat... " >&6; }
14659
if test "${ac_cv_func_shmat+set}" = set; then
14660
$as_echo_n "(cached) " >&6
14662
cat >conftest.$ac_ext <<_ACEOF
14665
cat confdefs.h >>conftest.$ac_ext
14666
cat >>conftest.$ac_ext <<_ACEOF
14667
/* end confdefs.h. */
14668
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
14669
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14670
#define shmat innocuous_shmat
14672
/* System header to define __stub macros and hopefully few prototypes,
14673
which can conflict with char shmat (); below.
14674
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14675
<limits.h> exists even on freestanding compilers. */
14678
# include <limits.h>
14680
# include <assert.h>
14685
/* Override any GCC internal prototype to avoid an error.
14686
Use char because int might match the return type of a GCC
14687
builtin and then its argument prototype would still apply. */
14692
/* The GNU C library defines this for functions which it implements
14693
to always fail with ENOSYS. Some functions are actually named
14694
something starting with __ and the normal name is an alias. */
14695
#if defined __stub_shmat || defined __stub___shmat
14707
rm -f conftest.$ac_objext conftest$ac_exeext
14708
if { (ac_try="$ac_link"
14709
case "(($ac_try" in
14710
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14711
*) ac_try_echo=$ac_try;;
14713
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14714
$as_echo "$ac_try_echo") >&5
14715
(eval "$ac_link") 2>conftest.er1
14717
grep -v '^ *+' conftest.er1 >conftest.err
14719
cat conftest.err >&5
14720
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721
(exit $ac_status); } && {
14722
test -z "$ac_c_werror_flag" ||
14723
test ! -s conftest.err
14724
} && test -s conftest$ac_exeext && {
14725
test "$cross_compiling" = yes ||
14726
$as_test_x conftest$ac_exeext
14728
ac_cv_func_shmat=yes
14730
$as_echo "$as_me: failed program was:" >&5
14731
sed 's/^/| /' conftest.$ac_ext >&5
14733
ac_cv_func_shmat=no
14736
rm -rf conftest.dSYM
14737
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14738
conftest$ac_exeext conftest.$ac_ext
14740
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
14741
$as_echo "$ac_cv_func_shmat" >&6; }
12981
14743
if test $ac_cv_func_shmat = no; then
12982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14744
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
12983
14745
$as_echo_n "checking for shmat in -lipc... " >&6; }
12984
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
14746
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
12985
14747
$as_echo_n "(cached) " >&6
12987
14749
ac_check_lib_save_LIBS=$LIBS
12988
14750
LIBS="-lipc $LIBS"
12989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14751
cat >conftest.$ac_ext <<_ACEOF
14754
cat confdefs.h >>conftest.$ac_ext
14755
cat >>conftest.$ac_ext <<_ACEOF
12990
14756
/* end confdefs.h. */
12992
14758
/* Override any GCC internal prototype to avoid an error.
13128
14944
_pkg_short_errors_supported=no
13130
14946
if test $_pkg_short_errors_supported = yes; then
13131
UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "x11"`
14947
UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
13133
UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "x11"`
14949
UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
13135
14951
# Put the nasty error message in config.log where it belongs
13136
14952
echo "$UNIQUE_X11_PKG_ERRORS" >&5
13138
as_fn_error "Package requirements (x11) were not met:
13140
$UNIQUE_X11_PKG_ERRORS
13142
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13143
installed software in a non-standard prefix.
13145
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
13146
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
13147
See the pkg-config man page for more details.
14954
{ { $as_echo "$as_me:$LINENO: error: Package requirements (x11) were not met:
14956
$UNIQUE_X11_PKG_ERRORS
14958
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14959
installed software in a non-standard prefix.
14961
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
14962
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
14963
See the pkg-config man page for more details.
14965
$as_echo "$as_me: error: Package requirements (x11) were not met:
14967
$UNIQUE_X11_PKG_ERRORS
14969
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14970
installed software in a non-standard prefix.
14972
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
14973
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
14974
See the pkg-config man page for more details.
14976
{ (exit 1); exit 1; }; }
13149
14977
elif test $pkg_failed = untried; then
13150
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14978
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13151
14979
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13152
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13153
is in your PATH or set the PKG_CONFIG environment variable to the full
13154
path to pkg-config.
13156
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
13157
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
13158
See the pkg-config man page for more details.
13160
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13161
See \`config.log' for more details." "$LINENO" 5; }
14980
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14981
is in your PATH or set the PKG_CONFIG environment variable to the full
14982
path to pkg-config.
14984
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
14985
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
14986
See the pkg-config man page for more details.
14988
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14989
See \`config.log' for more details." >&5
14990
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14991
is in your PATH or set the PKG_CONFIG environment variable to the full
14992
path to pkg-config.
14994
Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
14995
and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
14996
See the pkg-config man page for more details.
14998
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14999
See \`config.log' for more details." >&2;}
15000
{ (exit 1); exit 1; }; }; }
13163
15002
UNIQUE_X11_CFLAGS=$pkg_cv_UNIQUE_X11_CFLAGS
13164
15003
UNIQUE_X11_LIBS=$pkg_cv_UNIQUE_X11_LIBS
13165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15004
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13166
15005
$as_echo "yes" >&6; }
13331
15170
# Check whether --enable-bacon was given.
13332
if test "${enable_bacon+set}" = set; then :
15171
if test "${enable_bacon+set}" = set; then
13333
15172
enableval=$enable_bacon;
13335
15174
enable_bacon=yes
13339
if test "x$enable_bacon" = "xyes"; then :
13341
for ac_header in fcntl.h sys/types.h sys/socket.h sys/un.h
13343
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13344
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13345
eval as_val=\$$as_ac_Header
13346
if test "x$as_val" = x""yes; then :
15178
if test "x$enable_bacon" = "xyes"; then
15184
for ac_header in fcntl.h sys/types.h sys/socket.h sys/un.h
15186
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15187
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15188
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15189
$as_echo_n "checking for $ac_header... " >&6; }
15190
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15191
$as_echo_n "(cached) " >&6
15193
ac_res=`eval 'as_val=${'$as_ac_Header'}
15194
$as_echo "$as_val"'`
15195
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15196
$as_echo "$ac_res" >&6; }
15198
# Is the header compilable?
15199
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15200
$as_echo_n "checking $ac_header usability... " >&6; }
15201
cat >conftest.$ac_ext <<_ACEOF
15204
cat confdefs.h >>conftest.$ac_ext
15205
cat >>conftest.$ac_ext <<_ACEOF
15206
/* end confdefs.h. */
15207
$ac_includes_default
15208
#include <$ac_header>
15210
rm -f conftest.$ac_objext
15211
if { (ac_try="$ac_compile"
15212
case "(($ac_try" in
15213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15214
*) ac_try_echo=$ac_try;;
15216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15217
$as_echo "$ac_try_echo") >&5
15218
(eval "$ac_compile") 2>conftest.er1
15220
grep -v '^ *+' conftest.er1 >conftest.err
15222
cat conftest.err >&5
15223
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224
(exit $ac_status); } && {
15225
test -z "$ac_c_werror_flag" ||
15226
test ! -s conftest.err
15227
} && test -s conftest.$ac_objext; then
15228
ac_header_compiler=yes
15230
$as_echo "$as_me: failed program was:" >&5
15231
sed 's/^/| /' conftest.$ac_ext >&5
15233
ac_header_compiler=no
15236
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15237
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15238
$as_echo "$ac_header_compiler" >&6; }
15240
# Is the header present?
15241
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15242
$as_echo_n "checking $ac_header presence... " >&6; }
15243
cat >conftest.$ac_ext <<_ACEOF
15246
cat confdefs.h >>conftest.$ac_ext
15247
cat >>conftest.$ac_ext <<_ACEOF
15248
/* end confdefs.h. */
15249
#include <$ac_header>
15251
if { (ac_try="$ac_cpp conftest.$ac_ext"
15252
case "(($ac_try" in
15253
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254
*) ac_try_echo=$ac_try;;
15256
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15257
$as_echo "$ac_try_echo") >&5
15258
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15260
grep -v '^ *+' conftest.er1 >conftest.err
15262
cat conftest.err >&5
15263
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264
(exit $ac_status); } >/dev/null && {
15265
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15266
test ! -s conftest.err
15268
ac_header_preproc=yes
15270
$as_echo "$as_me: failed program was:" >&5
15271
sed 's/^/| /' conftest.$ac_ext >&5
15273
ac_header_preproc=no
15276
rm -f conftest.err conftest.$ac_ext
15277
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15278
$as_echo "$ac_header_preproc" >&6; }
15280
# So? What about this header?
15281
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15283
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15284
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15285
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15286
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15287
ac_header_preproc=yes
15290
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15291
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15292
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15293
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15294
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15295
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15296
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15297
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15298
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15299
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15300
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15301
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15303
## ------------------------------------------------------------------------ ##
15304
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
15305
## ------------------------------------------------------------------------ ##
15307
) | sed "s/^/$as_me: WARNING: /" >&2
15310
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15311
$as_echo_n "checking for $ac_header... " >&6; }
15312
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15313
$as_echo_n "(cached) " >&6
15315
eval "$as_ac_Header=\$ac_header_preproc"
15317
ac_res=`eval 'as_val=${'$as_ac_Header'}
15318
$as_echo "$as_val"'`
15319
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15320
$as_echo "$ac_res" >&6; }
15323
as_val=`eval 'as_val=${'$as_ac_Header'}
15324
$as_echo "$as_val"'`
15325
if test "x$as_val" = x""yes; then
13347
15326
cat >>confdefs.h <<_ACEOF
13348
15327
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13447
15477
# enable debug flags and symbols
13449
15479
# Check whether --enable-debug was given.
13450
if test "${enable_debug+set}" = set; then :
15480
if test "${enable_debug+set}" = set; then
13451
15481
enableval=$enable_debug;
13453
15483
enable_debug=yes
13457
case $enable_debug in #(
15487
case $enable_debug in
13460
15489
test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
13461
15490
UNIQUE_DEBUG_CFLAGS="-DUNIQUE_ENABLE_DEBUG"
13465
15493
UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
13469
15496
UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_CAST_CHECKS"
13472
as_fn_error "Unknown argument to --enable-debug" "$LINENO" 5
15499
{ { $as_echo "$as_me:$LINENO: error: Unknown argument to --enable-debug" >&5
15500
$as_echo "$as_me: error: Unknown argument to --enable-debug" >&2;}
15501
{ (exit 1); exit 1; }; }
13481
15509
ALL_LINGUAS=""
13483
for ac_header in locale.h
13485
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
13486
if test "x$ac_cv_header_locale_h" = x""yes; then :
15512
for ac_header in locale.h
15514
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15515
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15516
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15517
$as_echo_n "checking for $ac_header... " >&6; }
15518
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15519
$as_echo_n "(cached) " >&6
15521
ac_res=`eval 'as_val=${'$as_ac_Header'}
15522
$as_echo "$as_val"'`
15523
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15524
$as_echo "$ac_res" >&6; }
15526
# Is the header compilable?
15527
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
15528
$as_echo_n "checking $ac_header usability... " >&6; }
15529
cat >conftest.$ac_ext <<_ACEOF
15532
cat confdefs.h >>conftest.$ac_ext
15533
cat >>conftest.$ac_ext <<_ACEOF
15534
/* end confdefs.h. */
15535
$ac_includes_default
15536
#include <$ac_header>
15538
rm -f conftest.$ac_objext
15539
if { (ac_try="$ac_compile"
15540
case "(($ac_try" in
15541
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15542
*) ac_try_echo=$ac_try;;
15544
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15545
$as_echo "$ac_try_echo") >&5
15546
(eval "$ac_compile") 2>conftest.er1
15548
grep -v '^ *+' conftest.er1 >conftest.err
15550
cat conftest.err >&5
15551
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552
(exit $ac_status); } && {
15553
test -z "$ac_c_werror_flag" ||
15554
test ! -s conftest.err
15555
} && test -s conftest.$ac_objext; then
15556
ac_header_compiler=yes
15558
$as_echo "$as_me: failed program was:" >&5
15559
sed 's/^/| /' conftest.$ac_ext >&5
15561
ac_header_compiler=no
15564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15566
$as_echo "$ac_header_compiler" >&6; }
15568
# Is the header present?
15569
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
15570
$as_echo_n "checking $ac_header presence... " >&6; }
15571
cat >conftest.$ac_ext <<_ACEOF
15574
cat confdefs.h >>conftest.$ac_ext
15575
cat >>conftest.$ac_ext <<_ACEOF
15576
/* end confdefs.h. */
15577
#include <$ac_header>
15579
if { (ac_try="$ac_cpp conftest.$ac_ext"
15580
case "(($ac_try" in
15581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15582
*) ac_try_echo=$ac_try;;
15584
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15585
$as_echo "$ac_try_echo") >&5
15586
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15588
grep -v '^ *+' conftest.er1 >conftest.err
15590
cat conftest.err >&5
15591
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592
(exit $ac_status); } >/dev/null && {
15593
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15594
test ! -s conftest.err
15596
ac_header_preproc=yes
15598
$as_echo "$as_me: failed program was:" >&5
15599
sed 's/^/| /' conftest.$ac_ext >&5
15601
ac_header_preproc=no
15604
rm -f conftest.err conftest.$ac_ext
15605
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15606
$as_echo "$ac_header_preproc" >&6; }
15608
# So? What about this header?
15609
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15611
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15612
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15613
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15614
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15615
ac_header_preproc=yes
15618
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15619
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15620
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15621
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15622
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15623
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15624
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15625
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15626
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15627
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15628
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15629
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15631
## ------------------------------------------------------------------------ ##
15632
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
15633
## ------------------------------------------------------------------------ ##
15635
) | sed "s/^/$as_me: WARNING: /" >&2
15638
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
15639
$as_echo_n "checking for $ac_header... " >&6; }
15640
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15641
$as_echo_n "(cached) " >&6
15643
eval "$as_ac_Header=\$ac_header_preproc"
15645
ac_res=`eval 'as_val=${'$as_ac_Header'}
15646
$as_echo "$as_val"'`
15647
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15648
$as_echo "$ac_res" >&6; }
15651
as_val=`eval 'as_val=${'$as_ac_Header'}
15652
$as_echo "$as_val"'`
15653
if test "x$as_val" = x""yes; then
13487
15654
cat >>confdefs.h <<_ACEOF
13488
#define HAVE_LOCALE_H 1
15655
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13537
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
13538
if test "x$ac_cv_header_libintl_h" = x""yes; then :
15735
if test "${ac_cv_header_libintl_h+set}" = set; then
15736
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15737
$as_echo_n "checking for libintl.h... " >&6; }
15738
if test "${ac_cv_header_libintl_h+set}" = set; then
15739
$as_echo_n "(cached) " >&6
15741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15742
$as_echo "$ac_cv_header_libintl_h" >&6; }
15744
# Is the header compilable?
15745
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
15746
$as_echo_n "checking libintl.h usability... " >&6; }
15747
cat >conftest.$ac_ext <<_ACEOF
15750
cat confdefs.h >>conftest.$ac_ext
15751
cat >>conftest.$ac_ext <<_ACEOF
15752
/* end confdefs.h. */
15753
$ac_includes_default
15754
#include <libintl.h>
15756
rm -f conftest.$ac_objext
15757
if { (ac_try="$ac_compile"
15758
case "(($ac_try" in
15759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15760
*) ac_try_echo=$ac_try;;
15762
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15763
$as_echo "$ac_try_echo") >&5
15764
(eval "$ac_compile") 2>conftest.er1
15766
grep -v '^ *+' conftest.er1 >conftest.err
15768
cat conftest.err >&5
15769
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770
(exit $ac_status); } && {
15771
test -z "$ac_c_werror_flag" ||
15772
test ! -s conftest.err
15773
} && test -s conftest.$ac_objext; then
15774
ac_header_compiler=yes
15776
$as_echo "$as_me: failed program was:" >&5
15777
sed 's/^/| /' conftest.$ac_ext >&5
15779
ac_header_compiler=no
15782
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15783
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15784
$as_echo "$ac_header_compiler" >&6; }
15786
# Is the header present?
15787
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
15788
$as_echo_n "checking libintl.h presence... " >&6; }
15789
cat >conftest.$ac_ext <<_ACEOF
15792
cat confdefs.h >>conftest.$ac_ext
15793
cat >>conftest.$ac_ext <<_ACEOF
15794
/* end confdefs.h. */
15795
#include <libintl.h>
15797
if { (ac_try="$ac_cpp conftest.$ac_ext"
15798
case "(($ac_try" in
15799
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15800
*) ac_try_echo=$ac_try;;
15802
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15803
$as_echo "$ac_try_echo") >&5
15804
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15806
grep -v '^ *+' conftest.er1 >conftest.err
15808
cat conftest.err >&5
15809
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810
(exit $ac_status); } >/dev/null && {
15811
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15812
test ! -s conftest.err
15814
ac_header_preproc=yes
15816
$as_echo "$as_me: failed program was:" >&5
15817
sed 's/^/| /' conftest.$ac_ext >&5
15819
ac_header_preproc=no
15822
rm -f conftest.err conftest.$ac_ext
15823
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15824
$as_echo "$ac_header_preproc" >&6; }
15826
# So? What about this header?
15827
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15829
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
15830
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15831
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
15832
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
15833
ac_header_preproc=yes
15836
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
15837
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
15838
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
15839
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
15840
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
15841
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
15842
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
15843
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
15844
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
15845
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
15846
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
15847
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
15849
## ------------------------------------------------------------------------ ##
15850
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
15851
## ------------------------------------------------------------------------ ##
15853
) | sed "s/^/$as_me: WARNING: /" >&2
15856
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
15857
$as_echo_n "checking for libintl.h... " >&6; }
15858
if test "${ac_cv_header_libintl_h+set}" = set; then
15859
$as_echo_n "(cached) " >&6
15861
ac_cv_header_libintl_h=$ac_header_preproc
15863
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
15864
$as_echo "$ac_cv_header_libintl_h" >&6; }
15867
if test "x$ac_cv_header_libintl_h" = x""yes; then
13539
15868
gt_cv_func_dgettext_libintl="no"
13540
15869
libintl_extra_libs=""
13543
15872
# First check in libc
13545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15874
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
13546
15875
$as_echo_n "checking for ngettext in libc... " >&6; }
13547
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
15876
if test "${gt_cv_func_ngettext_libc+set}" = set; then
13548
15877
$as_echo_n "(cached) " >&6
13550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879
cat >conftest.$ac_ext <<_ACEOF
15882
cat confdefs.h >>conftest.$ac_ext
15883
cat >>conftest.$ac_ext <<_ACEOF
13551
15884
/* end confdefs.h. */
13553
15886
#include <libintl.h>
13594
if ac_fn_c_try_link "$LINENO"; then :
15956
rm -f conftest.$ac_objext conftest$ac_exeext
15957
if { (ac_try="$ac_link"
15958
case "(($ac_try" in
15959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15960
*) ac_try_echo=$ac_try;;
15962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15963
$as_echo "$ac_try_echo") >&5
15964
(eval "$ac_link") 2>conftest.er1
15966
grep -v '^ *+' conftest.er1 >conftest.err
15968
cat conftest.err >&5
15969
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970
(exit $ac_status); } && {
15971
test -z "$ac_c_werror_flag" ||
15972
test ! -s conftest.err
15973
} && test -s conftest$ac_exeext && {
15974
test "$cross_compiling" = yes ||
15975
$as_test_x conftest$ac_exeext
13595
15977
gt_cv_func_dgettext_libc=yes
13597
gt_cv_func_dgettext_libc=no
13599
rm -f core conftest.err conftest.$ac_objext \
13600
conftest$ac_exeext conftest.$ac_ext
13603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15979
$as_echo "$as_me: failed program was:" >&5
15980
sed 's/^/| /' conftest.$ac_ext >&5
15982
gt_cv_func_dgettext_libc=no
15985
rm -rf conftest.dSYM
15986
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15987
conftest$ac_exeext conftest.$ac_ext
15990
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
13604
15991
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13607
15994
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13608
for ac_func in bind_textdomain_codeset
13610
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13611
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15996
for ac_func in bind_textdomain_codeset
15998
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15999
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16000
$as_echo_n "checking for $ac_func... " >&6; }
16001
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16002
$as_echo_n "(cached) " >&6
16004
cat >conftest.$ac_ext <<_ACEOF
16007
cat confdefs.h >>conftest.$ac_ext
16008
cat >>conftest.$ac_ext <<_ACEOF
16009
/* end confdefs.h. */
16010
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16011
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16012
#define $ac_func innocuous_$ac_func
16014
/* System header to define __stub macros and hopefully few prototypes,
16015
which can conflict with char $ac_func (); below.
16016
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16017
<limits.h> exists even on freestanding compilers. */
16020
# include <limits.h>
16022
# include <assert.h>
16027
/* Override any GCC internal prototype to avoid an error.
16028
Use char because int might match the return type of a GCC
16029
builtin and then its argument prototype would still apply. */
16034
/* The GNU C library defines this for functions which it implements
16035
to always fail with ENOSYS. Some functions are actually named
16036
something starting with __ and the normal name is an alias. */
16037
#if defined __stub_$ac_func || defined __stub___$ac_func
16044
return $ac_func ();
16049
rm -f conftest.$ac_objext conftest$ac_exeext
16050
if { (ac_try="$ac_link"
16051
case "(($ac_try" in
16052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16053
*) ac_try_echo=$ac_try;;
16055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16056
$as_echo "$ac_try_echo") >&5
16057
(eval "$ac_link") 2>conftest.er1
16059
grep -v '^ *+' conftest.er1 >conftest.err
16061
cat conftest.err >&5
16062
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16063
(exit $ac_status); } && {
16064
test -z "$ac_c_werror_flag" ||
16065
test ! -s conftest.err
16066
} && test -s conftest$ac_exeext && {
16067
test "$cross_compiling" = yes ||
16068
$as_test_x conftest$ac_exeext
16070
eval "$as_ac_var=yes"
16072
$as_echo "$as_me: failed program was:" >&5
16073
sed 's/^/| /' conftest.$ac_ext >&5
16075
eval "$as_ac_var=no"
16078
rm -rf conftest.dSYM
16079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16080
conftest$ac_exeext conftest.$ac_ext
16082
ac_res=`eval 'as_val=${'$as_ac_var'}
16083
$as_echo "$as_val"'`
16084
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16085
$as_echo "$ac_res" >&6; }
16086
as_val=`eval 'as_val=${'$as_ac_var'}
16087
$as_echo "$as_val"'`
16088
if test "x$as_val" = x""yes; then
13612
16089
cat >>confdefs.h <<_ACEOF
13613
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16090
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13844
16466
glib_save_LIBS="$LIBS"
13845
16467
LIBS="$LIBS -lintl $libintl_extra_libs"
13846
16468
unset ac_cv_func_bind_textdomain_codeset
13847
for ac_func in bind_textdomain_codeset
13849
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13850
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16470
for ac_func in bind_textdomain_codeset
16472
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16473
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16474
$as_echo_n "checking for $ac_func... " >&6; }
16475
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16476
$as_echo_n "(cached) " >&6
16478
cat >conftest.$ac_ext <<_ACEOF
16481
cat confdefs.h >>conftest.$ac_ext
16482
cat >>conftest.$ac_ext <<_ACEOF
16483
/* end confdefs.h. */
16484
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16485
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16486
#define $ac_func innocuous_$ac_func
16488
/* System header to define __stub macros and hopefully few prototypes,
16489
which can conflict with char $ac_func (); below.
16490
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16491
<limits.h> exists even on freestanding compilers. */
16494
# include <limits.h>
16496
# include <assert.h>
16501
/* Override any GCC internal prototype to avoid an error.
16502
Use char because int might match the return type of a GCC
16503
builtin and then its argument prototype would still apply. */
16508
/* The GNU C library defines this for functions which it implements
16509
to always fail with ENOSYS. Some functions are actually named
16510
something starting with __ and the normal name is an alias. */
16511
#if defined __stub_$ac_func || defined __stub___$ac_func
16518
return $ac_func ();
16523
rm -f conftest.$ac_objext conftest$ac_exeext
16524
if { (ac_try="$ac_link"
16525
case "(($ac_try" in
16526
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16527
*) ac_try_echo=$ac_try;;
16529
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16530
$as_echo "$ac_try_echo") >&5
16531
(eval "$ac_link") 2>conftest.er1
16533
grep -v '^ *+' conftest.er1 >conftest.err
16535
cat conftest.err >&5
16536
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537
(exit $ac_status); } && {
16538
test -z "$ac_c_werror_flag" ||
16539
test ! -s conftest.err
16540
} && test -s conftest$ac_exeext && {
16541
test "$cross_compiling" = yes ||
16542
$as_test_x conftest$ac_exeext
16544
eval "$as_ac_var=yes"
16546
$as_echo "$as_me: failed program was:" >&5
16547
sed 's/^/| /' conftest.$ac_ext >&5
16549
eval "$as_ac_var=no"
16552
rm -rf conftest.dSYM
16553
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16554
conftest$ac_exeext conftest.$ac_ext
16556
ac_res=`eval 'as_val=${'$as_ac_var'}
16557
$as_echo "$as_val"'`
16558
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16559
$as_echo "$ac_res" >&6; }
16560
as_val=`eval 'as_val=${'$as_ac_var'}
16561
$as_echo "$as_val"'`
16562
if test "x$as_val" = x""yes; then
13851
16563
cat >>confdefs.h <<_ACEOF
13852
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16564
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13911
16625
MSGFMT="$ac_cv_path_MSGFMT"
13912
16626
if test "$MSGFMT" != "no"; then
13913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16627
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
13914
16628
$as_echo "$MSGFMT" >&6; }
13916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16630
{ $as_echo "$as_me:$LINENO: result: no" >&5
13917
16631
$as_echo "no" >&6; }
13919
16633
if test "$MSGFMT" != "no"; then
13920
16634
glib_save_LIBS="$LIBS"
13921
16635
LIBS="$LIBS $INTLLIBS"
13922
for ac_func in dcgettext
13924
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13925
if test "x$ac_cv_func_dcgettext" = x""yes; then :
16637
for ac_func in dcgettext
16639
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16640
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16641
$as_echo_n "checking for $ac_func... " >&6; }
16642
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16643
$as_echo_n "(cached) " >&6
16645
cat >conftest.$ac_ext <<_ACEOF
16648
cat confdefs.h >>conftest.$ac_ext
16649
cat >>conftest.$ac_ext <<_ACEOF
16650
/* end confdefs.h. */
16651
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16652
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16653
#define $ac_func innocuous_$ac_func
16655
/* System header to define __stub macros and hopefully few prototypes,
16656
which can conflict with char $ac_func (); below.
16657
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16658
<limits.h> exists even on freestanding compilers. */
16661
# include <limits.h>
16663
# include <assert.h>
16668
/* Override any GCC internal prototype to avoid an error.
16669
Use char because int might match the return type of a GCC
16670
builtin and then its argument prototype would still apply. */
16675
/* The GNU C library defines this for functions which it implements
16676
to always fail with ENOSYS. Some functions are actually named
16677
something starting with __ and the normal name is an alias. */
16678
#if defined __stub_$ac_func || defined __stub___$ac_func
16685
return $ac_func ();
16690
rm -f conftest.$ac_objext conftest$ac_exeext
16691
if { (ac_try="$ac_link"
16692
case "(($ac_try" in
16693
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16694
*) ac_try_echo=$ac_try;;
16696
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16697
$as_echo "$ac_try_echo") >&5
16698
(eval "$ac_link") 2>conftest.er1
16700
grep -v '^ *+' conftest.er1 >conftest.err
16702
cat conftest.err >&5
16703
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704
(exit $ac_status); } && {
16705
test -z "$ac_c_werror_flag" ||
16706
test ! -s conftest.err
16707
} && test -s conftest$ac_exeext && {
16708
test "$cross_compiling" = yes ||
16709
$as_test_x conftest$ac_exeext
16711
eval "$as_ac_var=yes"
16713
$as_echo "$as_me: failed program was:" >&5
16714
sed 's/^/| /' conftest.$ac_ext >&5
16716
eval "$as_ac_var=no"
16719
rm -rf conftest.dSYM
16720
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16721
conftest$ac_exeext conftest.$ac_ext
16723
ac_res=`eval 'as_val=${'$as_ac_var'}
16724
$as_echo "$as_val"'`
16725
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16726
$as_echo "$ac_res" >&6; }
16727
as_val=`eval 'as_val=${'$as_ac_var'}
16728
$as_echo "$as_val"'`
16729
if test "x$as_val" = x""yes; then
13926
16730
cat >>confdefs.h <<_ACEOF
13927
#define HAVE_DCGETTEXT 1
16731
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
16738
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
13935
16739
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13936
16740
cat >conftest.foo <<_ACEOF
14051
if ac_fn_c_try_link "$LINENO"; then :
16859
rm -f conftest.$ac_objext conftest$ac_exeext
16860
if { (ac_try="$ac_link"
16861
case "(($ac_try" in
16862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863
*) ac_try_echo=$ac_try;;
16865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16866
$as_echo "$ac_try_echo") >&5
16867
(eval "$ac_link") 2>conftest.er1
16869
grep -v '^ *+' conftest.er1 >conftest.err
16871
cat conftest.err >&5
16872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873
(exit $ac_status); } && {
16874
test -z "$ac_c_werror_flag" ||
16875
test ! -s conftest.err
16876
} && test -s conftest$ac_exeext && {
16877
test "$cross_compiling" = yes ||
16878
$as_test_x conftest$ac_exeext
14052
16880
CATOBJEXT=.gmo
14053
16881
DATADIRNAME=share
16883
$as_echo "$as_me: failed program was:" >&5
16884
sed 's/^/| /' conftest.$ac_ext >&5
14056
16887
*-*-solaris*)
14057
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14058
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
16888
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
16889
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
16890
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
16891
$as_echo_n "(cached) " >&6
16893
cat >conftest.$ac_ext <<_ACEOF
16896
cat confdefs.h >>conftest.$ac_ext
16897
cat >>conftest.$ac_ext <<_ACEOF
16898
/* end confdefs.h. */
16899
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
16900
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16901
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
16903
/* System header to define __stub macros and hopefully few prototypes,
16904
which can conflict with char bind_textdomain_codeset (); below.
16905
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16906
<limits.h> exists even on freestanding compilers. */
16909
# include <limits.h>
16911
# include <assert.h>
16914
#undef bind_textdomain_codeset
16916
/* Override any GCC internal prototype to avoid an error.
16917
Use char because int might match the return type of a GCC
16918
builtin and then its argument prototype would still apply. */
16922
char bind_textdomain_codeset ();
16923
/* The GNU C library defines this for functions which it implements
16924
to always fail with ENOSYS. Some functions are actually named
16925
something starting with __ and the normal name is an alias. */
16926
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
16933
return bind_textdomain_codeset ();
16938
rm -f conftest.$ac_objext conftest$ac_exeext
16939
if { (ac_try="$ac_link"
16940
case "(($ac_try" in
16941
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16942
*) ac_try_echo=$ac_try;;
16944
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16945
$as_echo "$ac_try_echo") >&5
16946
(eval "$ac_link") 2>conftest.er1
16948
grep -v '^ *+' conftest.er1 >conftest.err
16950
cat conftest.err >&5
16951
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952
(exit $ac_status); } && {
16953
test -z "$ac_c_werror_flag" ||
16954
test ! -s conftest.err
16955
} && test -s conftest$ac_exeext && {
16956
test "$cross_compiling" = yes ||
16957
$as_test_x conftest$ac_exeext
16959
ac_cv_func_bind_textdomain_codeset=yes
16961
$as_echo "$as_me: failed program was:" >&5
16962
sed 's/^/| /' conftest.$ac_ext >&5
16964
ac_cv_func_bind_textdomain_codeset=no
16967
rm -rf conftest.dSYM
16968
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16969
conftest$ac_exeext conftest.$ac_ext
16971
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
16972
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
16973
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
14059
16974
CATOBJEXT=.gmo
14060
16975
DATADIRNAME=share
14220
17139
# Check whether --enable-introspection was given.
14221
if test "${enable_introspection+set}" = set; then :
17140
if test "${enable_introspection+set}" = set; then
14222
17141
enableval=$enable_introspection;
14224
17143
enable_introspection=auto
14228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
17147
{ $as_echo "$as_me:$LINENO: checking for gobject-introspection" >&5
14229
17148
$as_echo_n "checking for gobject-introspection... " >&6; }
14231
case $enable_introspection in #(
14233
found_introspection="no (disabled, use --enable-introspection to enable)"
14236
if test -n "$PKG_CONFIG" && \
14237
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
17150
case $enable_introspection in
17151
no) found_introspection="no (disabled, use --enable-introspection to enable)"
17153
yes) if test -n "$PKG_CONFIG" && \
17154
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\"") >&5
14238
17155
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14240
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14241
test $ac_status = 0; }; then
17157
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158
(exit $ac_status); }; then
14244
as_fn_error "gobject-introspection-1.0 is not installed" "$LINENO" 5
17161
{ { $as_echo "$as_me:$LINENO: error: gobject-introspection-1.0 is not installed" >&5
17162
$as_echo "$as_me: error: gobject-introspection-1.0 is not installed" >&2;}
17163
{ (exit 1); exit 1; }; }
14246
17165
if test -n "$PKG_CONFIG" && \
14247
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
17166
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
14248
17167
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
14250
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14251
test $ac_status = 0; }; then
17169
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17170
(exit $ac_status); }; then
14252
17171
found_introspection=yes
14254
as_fn_error "You need to have gobject-introspection >= 0.6.3 installed to build unique" "$LINENO" 5
17173
{ { $as_echo "$as_me:$LINENO: error: You need to have gobject-introspection >= 0.6.3 installed to build unique" >&5
17174
$as_echo "$as_me: error: You need to have gobject-introspection >= 0.6.3 installed to build unique" >&2;}
17175
{ (exit 1); exit 1; }; }
14258
if test -n "$PKG_CONFIG" && \
14259
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\""; } >&5
17178
auto) if test -n "$PKG_CONFIG" && \
17179
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.3\"") >&5
14260
17180
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.3") 2>&5
14262
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14263
test $ac_status = 0; }; then
17182
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183
(exit $ac_status); }; then
14264
17184
found_introspection=yes
14266
17186
found_introspection=no
14270
as_fn_error "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
17189
*) { { $as_echo "$as_me:$LINENO: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&5
17190
$as_echo "$as_me: error: invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" >&2;}
17191
{ (exit 1); exit 1; }; }
14273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
17195
{ $as_echo "$as_me:$LINENO: result: $found_introspection" >&5
14274
17196
$as_echo "$found_introspection" >&6; }
14276
17198
INTROSPECTION_SCANNER=
14308
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
14309
set dummy gtkdoc-check; ac_word=$2
14310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14311
$as_echo_n "checking for $ac_word... " >&6; }
14312
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
14313
$as_echo_n "(cached) " >&6
14315
case $GTKDOC_CHECK in
14317
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
14320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321
for as_dir in $PATH
14324
test -z "$as_dir" && as_dir=.
14325
for ac_exec_ext in '' $ac_executable_extensions; do
14326
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14327
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
14328
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14338
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
14339
if test -n "$GTKDOC_CHECK"; then
14340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14341
$as_echo "$GTKDOC_CHECK" >&6; }
14343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14344
$as_echo "no" >&6; }
14348
for ac_prog in gtkdoc-rebase
14350
# Extract the first word of "$ac_prog", so it can be a program name with args.
14351
set dummy $ac_prog; ac_word=$2
14352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14353
$as_echo_n "checking for $ac_word... " >&6; }
14354
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
14355
$as_echo_n "(cached) " >&6
14357
case $GTKDOC_REBASE in
14359
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14362
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14363
for as_dir in $PATH
14366
test -z "$as_dir" && as_dir=.
14367
for ac_exec_ext in '' $ac_executable_extensions; do
14368
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14369
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14370
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14380
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14381
if test -n "$GTKDOC_REBASE"; then
14382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14383
$as_echo "$GTKDOC_REBASE" >&6; }
14385
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14386
$as_echo "no" >&6; }
14390
test -n "$GTKDOC_REBASE" && break
14392
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14394
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14395
set dummy gtkdoc-mkpdf; ac_word=$2
14396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14397
$as_echo_n "checking for $ac_word... " >&6; }
14398
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
14399
$as_echo_n "(cached) " >&6
14401
case $GTKDOC_MKPDF in
14403
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14407
for as_dir in $PATH
14410
test -z "$as_dir" && as_dir=.
14411
for ac_exec_ext in '' $ac_executable_extensions; do
14412
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14413
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14414
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14424
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14425
if test -n "$GTKDOC_MKPDF"; then
14426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14427
$as_echo "$GTKDOC_MKPDF" >&6; }
14429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14430
$as_echo "no" >&6; }
14436
17230
# Check whether --with-html-dir was given.
14437
if test "${with_html_dir+set}" = set; then :
17231
if test "${with_html_dir+set}" = set; then
14438
17232
withval=$with_html_dir;
14440
17234
with_html_dir='${datadir}/gtk-doc/html'
14454
17248
if test x$enable_gtk_doc = xyes; then
14455
17249
if test -n "$PKG_CONFIG" && \
14456
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\""; } >&5
17250
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.11\"") >&5
14457
17251
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.11") 2>&5
14459
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14460
test $ac_status = 0; }; then
17253
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254
(exit $ac_status); }; then
14463
as_fn_error "You need to have gtk-doc >= 1.11 installed to build $PACKAGE_NAME" "$LINENO" 5
17257
{ { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.11 installed to build gtk-doc" >&5
17258
$as_echo "$as_me: error: You need to have gtk-doc >= 1.11 installed to build gtk-doc" >&2;}
17259
{ (exit 1); exit 1; }; }
14467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
17263
{ $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5
14468
17264
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
17265
{ $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5
14470
17266
$as_echo "$enable_gtk_doc" >&6; }
14472
# Check whether --enable-gtk-doc-html was given.
14473
if test "${enable_gtk_doc_html+set}" = set; then :
14474
enableval=$enable_gtk_doc_html;
14476
enable_gtk_doc_html=yes
14479
# Check whether --enable-gtk-doc-pdf was given.
14480
if test "${enable_gtk_doc_pdf+set}" = set; then :
14481
enableval=$enable_gtk_doc_pdf;
14483
enable_gtk_doc_pdf=no
14487
if test -z "$GTKDOC_MKPDF"; then
14488
enable_gtk_doc_pdf=no
17268
for ac_prog in gtkdoc-check
17270
# Extract the first word of "$ac_prog", so it can be a program name with args.
17271
set dummy $ac_prog; ac_word=$2
17272
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
17273
$as_echo_n "checking for $ac_word... " >&6; }
17274
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then
17275
$as_echo_n "(cached) " >&6
17277
case $GTKDOC_CHECK in
17279
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
17282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17283
for as_dir in $PATH
17286
test -z "$as_dir" && as_dir=.
17287
for ac_exec_ext in '' $ac_executable_extensions; do
17288
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17289
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
17290
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17300
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
17301
if test -n "$GTKDOC_CHECK"; then
17302
{ $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5
17303
$as_echo "$GTKDOC_CHECK" >&6; }
17305
{ $as_echo "$as_me:$LINENO: result: no" >&5
17306
$as_echo "no" >&6; }
17310
test -n "$GTKDOC_CHECK" && break
14492
17314
if test x$enable_gtk_doc = xyes; then
14521
17327
GTK_DOC_USE_LIBTOOL_FALSE=
14524
if test -n "$GTKDOC_REBASE"; then
14525
GTK_DOC_USE_REBASE_TRUE=
14526
GTK_DOC_USE_REBASE_FALSE='#'
14528
GTK_DOC_USE_REBASE_TRUE='#'
14529
GTK_DOC_USE_REBASE_FALSE=
14537
# Check whether --enable-shave was given.
14538
if test "${enable_shave+set}" = set; then :
14539
enableval=$enable_shave;
14547
if test x"$enable_shave" = xyes; then
14548
shavedir="$ac_pwd/build/autotools"
14553
AM_MAKEFLAGS='`test -z $V && echo -s`'
14556
# Extract the first word of "sed", so it can be a program name with args.
14557
set dummy sed; ac_word=$2
14558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14559
$as_echo_n "checking for $ac_word... " >&6; }
14560
if test "${ac_cv_prog_SED+set}" = set; then :
14561
$as_echo_n "(cached) " >&6
14563
if test -n "$SED"; then
14564
ac_cv_prog_SED="$SED" # Let the user override the test.
14566
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14567
for as_dir in $PATH
14570
test -z "$as_dir" && as_dir=.
14571
for ac_exec_ext in '' $ac_executable_extensions; do
14572
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14573
ac_cv_prog_SED="sed"
14574
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14581
test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="false"
14584
SED=$ac_cv_prog_SED
14585
if test -n "$SED"; then
14586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14587
$as_echo "$SED" >&6; }
14589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14590
$as_echo "no" >&6; }
14595
SHAVE_SAVED_LIBTOOL=$LIBTOOL
14596
LIBTOOL="${SHELL} ${shavedir}/shave-libtool '${SHAVE_SAVED_LIBTOOL}'"
14600
SHAVE_SAVED_CXX=$CXX
14602
SHAVE_SAVED_F77=$F77
14603
SHAVE_SAVED_OBJC=$OBJC
14604
CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}"
14605
CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}"
14606
FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}"
14607
F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}"
14608
OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}"
14624
ac_config_files="$ac_config_files Makefile unique.pc build/Makefile build/autotools/Makefile build/autotools/shave build/autotools/shave-libtool doc/Makefile doc/reference/Makefile doc/reference/version.xml unique/Makefile unique/uniqueversion.h unique/bacon/Makefile unique/dbus/Makefile tests/Makefile po/Makefile.in"
17334
# Check whether --enable-silent-rules was given.
17335
if test "${enable_silent_rules+set}" = set; then
17336
enableval=$enable_silent_rules;
17339
case $enable_silent_rules in
17340
yes) AM_DEFAULT_VERBOSITY=0;;
17341
no) AM_DEFAULT_VERBOSITY=1;;
17342
*) AM_DEFAULT_VERBOSITY=0;;
17349
if test "x$use_shave" = "xyes"; then
17351
USE_SHAVE_FALSE='#'
17358
ac_config_files="$ac_config_files Makefile unique.pc build/Makefile build/autotools/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml unique/Makefile unique/uniqueversion.h unique/bacon/Makefile unique/dbus/Makefile tests/Makefile po/Makefile.in"
14627
17361
cat >confcache <<\_ACEOF
14732
17466
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14733
as_fn_error "conditional \"AMDEP\" was never defined.
14734
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14736
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14737
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14738
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14740
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14741
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14742
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14744
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14745
as_fn_error "conditional \"am__fastdepCC\" was never defined.
14746
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17467
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17468
Usually this means the macro was only invoked conditionally." >&5
17469
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17470
Usually this means the macro was only invoked conditionally." >&2;}
17471
{ (exit 1); exit 1; }; }
17473
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17474
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17475
Usually this means the macro was only invoked conditionally." >&5
17476
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17477
Usually this means the macro was only invoked conditionally." >&2;}
17478
{ (exit 1); exit 1; }; }
17480
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17481
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17482
Usually this means the macro was only invoked conditionally." >&5
17483
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17484
Usually this means the macro was only invoked conditionally." >&2;}
17485
{ (exit 1); exit 1; }; }
17487
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17488
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17489
Usually this means the macro was only invoked conditionally." >&5
17490
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17491
Usually this means the macro was only invoked conditionally." >&2;}
17492
{ (exit 1); exit 1; }; }
14748
17494
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
14749
as_fn_error "conditional \"HAVE_DBUS\" was never defined.
14750
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17495
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DBUS\" was never defined.
17496
Usually this means the macro was only invoked conditionally." >&5
17497
$as_echo "$as_me: error: conditional \"HAVE_DBUS\" was never defined.
17498
Usually this means the macro was only invoked conditionally." >&2;}
17499
{ (exit 1); exit 1; }; }
17501
if test -z "${HAVE_BACON_TRUE}" && test -z "${HAVE_BACON_FALSE}"; then
17502
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_BACON\" was never defined.
17503
Usually this means the macro was only invoked conditionally." >&5
17504
$as_echo "$as_me: error: conditional \"HAVE_BACON\" was never defined.
17505
Usually this means the macro was only invoked conditionally." >&2;}
17506
{ (exit 1); exit 1; }; }
14752
17508
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
14753
as_fn_error "conditional \"HAVE_INTROSPECTION\" was never defined.
14754
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17509
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_INTROSPECTION\" was never defined.
17510
Usually this means the macro was only invoked conditionally." >&5
17511
$as_echo "$as_me: error: conditional \"HAVE_INTROSPECTION\" was never defined.
17512
Usually this means the macro was only invoked conditionally." >&2;}
17513
{ (exit 1); exit 1; }; }
14756
17515
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
14757
as_fn_error "conditional \"ENABLE_GTK_DOC\" was never defined.
14758
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14760
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
14761
as_fn_error "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
14762
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14764
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
14765
as_fn_error "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
14766
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17516
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17517
Usually this means the macro was only invoked conditionally." >&5
17518
$as_echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" was never defined.
17519
Usually this means the macro was only invoked conditionally." >&2;}
17520
{ (exit 1); exit 1; }; }
14768
17522
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
14769
as_fn_error "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
14770
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17523
{ { $as_echo "$as_me:$LINENO: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17524
Usually this means the macro was only invoked conditionally." >&5
17525
$as_echo "$as_me: error: conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
17526
Usually this means the macro was only invoked conditionally." >&2;}
17527
{ (exit 1); exit 1; }; }
14772
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
14773
as_fn_error "conditional \"GTK_DOC_USE_REBASE\" was never defined.
14774
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17529
if test -z "${USE_SHAVE_TRUE}" && test -z "${USE_SHAVE_FALSE}"; then
17530
{ { $as_echo "$as_me:$LINENO: error: conditional \"USE_SHAVE\" was never defined.
17531
Usually this means the macro was only invoked conditionally." >&5
17532
$as_echo "$as_me: error: conditional \"USE_SHAVE\" was never defined.
17533
Usually this means the macro was only invoked conditionally." >&2;}
17534
{ (exit 1); exit 1; }; }
14777
17537
: ${CONFIG_STATUS=./config.status}
14778
17538
ac_write_fail=0
14779
17539
ac_clean_files_save=$ac_clean_files
14780
17540
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14781
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17541
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
14782
17542
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14784
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17543
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14786
17545
# Generated by $as_me.
14787
17546
# Run this file to recreate the current configuration.