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
175
136
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
177
176
as_have_required=yes
179
178
as_have_required=no
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
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
188
test -z "$as_dir" && as_dir=.
249
192
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
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
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
367
220
export CONFIG_SHELL
368
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
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. :-)
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.xfce.org/ about your system, including
233
$0: any error possibly output before this message. Then
234
$0: install a modern shell, or manually run the script
235
$0: under such a shell if you do have one."
241
SHELL=${CONFIG_SHELL-/bin/sh}
243
# Unset more variables known to interfere with behavior of common tools.
244
CLICOLOR_FORCE= GREP_OPTIONS=
245
unset CLICOLOR_FORCE GREP_OPTIONS
247
## --------------------- ##
248
## M4sh Shell Functions. ##
249
## --------------------- ##
252
# Portably unset VAR.
255
{ eval $1=; unset $1;}
259
# as_fn_set_status STATUS
260
# -----------------------
261
# Set $? to STATUS, without forking.
269
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
279
# Create "$as_dir" as a directory, including parents if necessary.
284
-*) as_dir=./$as_dir;;
286
test -d "$as_dir" || eval $as_mkdir_p || {
290
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293
as_dirs="'$as_qdir' $as_dirs"
294
as_dir=`$as_dirname -- "$as_dir" ||
295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
296
X"$as_dir" : 'X\(//\)[^/]' \| \
297
X"$as_dir" : 'X\(//\)$' \| \
298
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
299
$as_echo X"$as_dir" |
300
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
317
test -d "$as_dir" && break
319
test -z "$as_dirs" || eval "mkdir $as_dirs"
320
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
324
# as_fn_append VAR VALUE
325
# ----------------------
326
# Append the text in VALUE to the end of the definition contained in VAR. Take
327
# advantage of any shell optimizations that allow amortized linear growth over
328
# repeated appends, instead of the typical quadratic growth present in naive
330
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
331
eval 'as_fn_append ()
344
# Perform arithmetic evaluation on the ARGs, and store the result in the
345
# global $as_val. Take advantage of shells that can avoid forks. The arguments
346
# must be portable across $(()) and expr.
347
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355
as_val=`expr "$@" || test $? -eq 1`
360
# as_fn_error ERROR [LINENO LOG_FD]
361
# ---------------------------------
362
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
363
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
364
# script with status $?, using 1 if that was 0.
367
as_status=$?; test $as_status -eq 0 && as_status=1
369
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
370
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372
$as_echo "$as_me: error: $1" >&2
373
as_fn_exit $as_status
376
if expr a : '\(a\)' >/dev/null 2>&1 &&
377
test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
as_me=`$as_basename -- "$0" ||
396
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
397
X"$0" : 'X\(//\)$' \| \
398
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400
sed '/^.*\/\([^/][^/]*\)\/*$/{
414
# Avoid depending upon Character Ranges.
415
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
416
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
417
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
418
as_cr_digits='0123456789'
419
as_cr_alnum=$as_cr_Letters$as_cr_digits
422
as_lineno_1=$LINENO as_lineno_1a=$LINENO
423
as_lineno_2=$LINENO as_lineno_2a=$LINENO
424
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
425
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
426
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1763
1709
test -n "$ac_init_help" && exit $ac_status
1764
1710
if $ac_init_version; then
1766
xfce4-power-manager configure 0.8.3.1
1767
generated by GNU Autoconf 2.63
1712
xfce4-power-manager configure 0.8.4
1713
generated by GNU Autoconf 2.64
1769
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1770
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1715
Copyright (C) 2009 Free Software Foundation, Inc.
1771
1716
This configure script is free software; the Free Software Foundation
1772
1717
gives unlimited permission to copy, distribute and modify it.
1722
## ------------------------ ##
1723
## Autoconf initialization. ##
1724
## ------------------------ ##
1726
# ac_fn_c_try_compile LINENO
1727
# --------------------------
1728
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1729
ac_fn_c_try_compile ()
1731
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
rm -f conftest.$ac_objext
1733
if { { ac_try="$ac_compile"
1735
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1736
*) ac_try_echo=$ac_try;;
1738
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739
$as_echo "$ac_try_echo"; } >&5
1740
(eval "$ac_compile") 2>conftest.err
1742
if test -s conftest.err; then
1743
grep -v '^ *+' conftest.err >conftest.er1
1744
cat conftest.er1 >&5
1745
mv -f conftest.er1 conftest.err
1747
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748
test $ac_status = 0; } && {
1749
test -z "$ac_c_werror_flag" ||
1750
test ! -s conftest.err
1751
} && test -s conftest.$ac_objext; then :
1754
$as_echo "$as_me: failed program was:" >&5
1755
sed 's/^/| /' conftest.$ac_ext >&5
1759
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1762
} # ac_fn_c_try_compile
1764
# ac_fn_c_try_cpp LINENO
1765
# ----------------------
1766
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1769
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
if { { ac_try="$ac_cpp conftest.$ac_ext"
1772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773
*) ac_try_echo=$ac_try;;
1775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776
$as_echo "$ac_try_echo"; } >&5
1777
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1779
if test -s conftest.err; then
1780
grep -v '^ *+' conftest.err >conftest.er1
1781
cat conftest.er1 >&5
1782
mv -f conftest.er1 conftest.err
1784
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785
test $ac_status = 0; } >/dev/null && {
1786
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1787
test ! -s conftest.err
1791
$as_echo "$as_me: failed program was:" >&5
1792
sed 's/^/| /' conftest.$ac_ext >&5
1796
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1802
# -------------------------------------------------------
1803
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1804
# the include files in INCLUDES and setting the cache variable VAR
1806
ac_fn_c_check_header_mongrel ()
1808
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1809
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811
$as_echo_n "checking for $2... " >&6; }
1812
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1813
$as_echo_n "(cached) " >&6
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817
$as_echo "$ac_res" >&6; }
1819
# Is the header compilable?
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1821
$as_echo_n "checking $2 usability... " >&6; }
1822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823
/* end confdefs.h. */
1827
if ac_fn_c_try_compile "$LINENO"; then :
1828
ac_header_compiler=yes
1830
ac_header_compiler=no
1832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1834
$as_echo "$ac_header_compiler" >&6; }
1836
# Is the header present?
1837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1838
$as_echo_n "checking $2 presence... " >&6; }
1839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840
/* end confdefs.h. */
1843
if ac_fn_c_try_cpp "$LINENO"; then :
1844
ac_header_preproc=yes
1846
ac_header_preproc=no
1848
rm -f conftest.err conftest.$ac_ext
1849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1850
$as_echo "$ac_header_preproc" >&6; }
1852
# So? What about this header?
1853
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1855
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1856
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1857
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1861
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1862
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1863
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1864
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1865
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1866
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1868
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1869
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1870
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1872
## ---------------------------------------- ##
1873
## Report this to http://bugzilla.xfce.org/ ##
1874
## ---------------------------------------- ##
1876
) | sed "s/^/$as_me: WARNING: /" >&2
1879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880
$as_echo_n "checking for $2... " >&6; }
1881
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1882
$as_echo_n "(cached) " >&6
1884
eval "$3=\$ac_header_compiler"
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888
$as_echo "$ac_res" >&6; }
1890
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892
} # ac_fn_c_check_header_mongrel
1894
# ac_fn_c_try_run LINENO
1895
# ----------------------
1896
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1897
# that executables *can* be run.
1900
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901
if { { ac_try="$ac_link"
1903
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904
*) ac_try_echo=$ac_try;;
1906
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907
$as_echo "$ac_try_echo"; } >&5
1908
(eval "$ac_link") 2>&5
1910
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1912
{ { case "(($ac_try" in
1913
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914
*) ac_try_echo=$ac_try;;
1916
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917
$as_echo "$ac_try_echo"; } >&5
1918
(eval "$ac_try") 2>&5
1920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921
test $ac_status = 0; }; }; then :
1924
$as_echo "$as_me: program exited with status $ac_status" >&5
1925
$as_echo "$as_me: failed program was:" >&5
1926
sed 's/^/| /' conftest.$ac_ext >&5
1928
ac_retval=$ac_status
1930
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1937
# -------------------------------------------------------
1938
# Tests whether HEADER exists and can be compiled using the include files in
1939
# INCLUDES, setting the cache variable VAR accordingly.
1940
ac_fn_c_check_header_compile ()
1942
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944
$as_echo_n "checking for $2... " >&6; }
1945
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1946
$as_echo_n "(cached) " >&6
1948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949
/* end confdefs.h. */
1953
if ac_fn_c_try_compile "$LINENO"; then :
1958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1962
$as_echo "$ac_res" >&6; }
1963
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965
} # ac_fn_c_check_header_compile
1967
# ac_fn_c_try_link LINENO
1968
# -----------------------
1969
# Try to link conftest.$ac_ext, and return whether this succeeded.
1972
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973
rm -f conftest.$ac_objext conftest$ac_exeext
1974
if { { ac_try="$ac_link"
1976
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1977
*) ac_try_echo=$ac_try;;
1979
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1980
$as_echo "$ac_try_echo"; } >&5
1981
(eval "$ac_link") 2>conftest.err
1983
if test -s conftest.err; then
1984
grep -v '^ *+' conftest.err >conftest.er1
1985
cat conftest.er1 >&5
1986
mv -f conftest.er1 conftest.err
1988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1989
test $ac_status = 0; } && {
1990
test -z "$ac_c_werror_flag" ||
1991
test ! -s conftest.err
1992
} && test -s conftest$ac_exeext && {
1993
test "$cross_compiling" = yes ||
1994
$as_test_x conftest$ac_exeext
1998
$as_echo "$as_me: failed program was:" >&5
1999
sed 's/^/| /' conftest.$ac_ext >&5
2003
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2004
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2005
# interfere with the next link command; also delete a directory that is
2006
# left behind by Apple's compiler. We do this before executing the actions.
2007
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2008
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
} # ac_fn_c_try_link
2013
# ac_fn_c_check_func LINENO FUNC VAR
2014
# ----------------------------------
2015
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2016
ac_fn_c_check_func ()
2018
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2020
$as_echo_n "checking for $2... " >&6; }
2021
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2022
$as_echo_n "(cached) " >&6
2024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025
/* end confdefs.h. */
2026
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2027
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2028
#define $2 innocuous_$2
2030
/* System header to define __stub macros and hopefully few prototypes,
2031
which can conflict with char $2 (); below.
2032
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2033
<limits.h> exists even on freestanding compilers. */
2036
# include <limits.h>
2038
# include <assert.h>
2043
/* Override any GCC internal prototype to avoid an error.
2044
Use char because int might match the return type of a GCC
2045
builtin and then its argument prototype would still apply. */
2050
/* The GNU C library defines this for functions which it implements
2051
to always fail with ENOSYS. Some functions are actually named
2052
something starting with __ and the normal name is an alias. */
2053
#if defined __stub_$2 || defined __stub___$2
2065
if ac_fn_c_try_link "$LINENO"; then :
2070
rm -f core conftest.err conftest.$ac_objext \
2071
conftest$ac_exeext conftest.$ac_ext
2074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075
$as_echo "$ac_res" >&6; }
2076
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2078
} # ac_fn_c_check_func
2080
# ac_fn_c_check_decl LINENO SYMBOL VAR
2081
# ------------------------------------
2082
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2083
ac_fn_c_check_decl ()
2085
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2087
$as_echo_n "checking whether $2 is declared... " >&6; }
2088
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2089
$as_echo_n "(cached) " >&6
2091
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2092
/* end confdefs.h. */
2105
if ac_fn_c_try_compile "$LINENO"; then :
2110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2114
$as_echo "$ac_res" >&6; }
2115
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117
} # ac_fn_c_check_decl
1776
2118
cat >config.log <<_ACEOF
1777
2119
This file contains any messages produced by compilers while
1778
2120
running configure, to aid debugging if configure makes a mistake.
1780
It was created by xfce4-power-manager $as_me 0.8.3.1, which was
1781
generated by GNU Autoconf 2.63. Invocation command line was
2122
It was created by xfce4-power-manager $as_me 0.8.4, which was
2123
generated by GNU Autoconf 2.64. Invocation command line was
2331
2651
# expand $ac_aux_dir to an absolute path
2332
2652
am_aux_dir=`cd $ac_aux_dir && pwd`
2334
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2654
if test x"${MISSING+set}" != xset; then
2657
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2335
2662
# Use eval to expand $SHELL
2336
2663
if eval "$MISSING --run true"; then
2337
2664
am_missing_run="$MISSING --run "
2339
2666
am_missing_run=
2340
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2667
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2341
2668
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2344
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2671
if test x"${install_sh}" != xset; then
2674
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676
install_sh="\${SHELL} $am_aux_dir/install-sh"
2680
# Installed binaries are usually stripped using `strip' when the user
2681
# run `make install-strip'. However `strip' might not be the right
2682
# tool to use in cross-compilation environments, therefore Automake
2683
# will honor the `STRIP' environment variable to overrule this program.
2684
if test "$cross_compiling" != no; then
2685
if test -n "$ac_tool_prefix"; then
2686
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687
set dummy ${ac_tool_prefix}strip; ac_word=$2
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689
$as_echo_n "checking for $ac_word... " >&6; }
2690
if test "${ac_cv_prog_STRIP+set}" = set; then :
2691
$as_echo_n "(cached) " >&6
2693
if test -n "$STRIP"; then
2694
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700
test -z "$as_dir" && as_dir=.
2701
for ac_exec_ext in '' $ac_executable_extensions; do
2702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713
STRIP=$ac_cv_prog_STRIP
2714
if test -n "$STRIP"; then
2715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716
$as_echo "$STRIP" >&6; }
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719
$as_echo "no" >&6; }
2724
if test -z "$ac_cv_prog_STRIP"; then
2726
# Extract the first word of "strip", so it can be a program name with args.
2727
set dummy strip; ac_word=$2
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729
$as_echo_n "checking for $ac_word... " >&6; }
2730
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2731
$as_echo_n "(cached) " >&6
2733
if test -n "$ac_ct_STRIP"; then
2734
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740
test -z "$as_dir" && as_dir=.
2741
for ac_exec_ext in '' $ac_executable_extensions; do
2742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2743
ac_cv_prog_ac_ct_STRIP="strip"
2744
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2754
if test -n "$ac_ct_STRIP"; then
2755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756
$as_echo "$ac_ct_STRIP" >&6; }
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759
$as_echo "no" >&6; }
2762
if test "x$ac_ct_STRIP" = x; then
2765
case $cross_compiling:$ac_tool_warned in
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769
ac_tool_warned=yes ;;
2774
STRIP="$ac_cv_prog_STRIP"
2778
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2345
2781
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2346
2782
if test -z "$MKDIR_P"; then
2347
if test "${ac_cv_path_mkdir+set}" = set; then
2783
if test "${ac_cv_path_mkdir+set}" = set; then :
2348
2784
$as_echo_n "(cached) " >&6
2350
2786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2524
2958
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2526
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2528
# Installed binaries are usually stripped using `strip' when the user
2529
# run `make install-strip'. However `strip' might not be the right
2530
# tool to use in cross-compilation environments, therefore Automake
2531
# will honor the `STRIP' environment variable to overrule this program.
2532
if test "$cross_compiling" != no; then
2533
if test -n "$ac_tool_prefix"; then
2534
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2535
set dummy ${ac_tool_prefix}strip; ac_word=$2
2536
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2537
$as_echo_n "checking for $ac_word... " >&6; }
2538
if test "${ac_cv_prog_STRIP+set}" = set; then
2539
$as_echo_n "(cached) " >&6
2541
if test -n "$STRIP"; then
2542
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2544
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548
test -z "$as_dir" && as_dir=.
2549
for ac_exec_ext in '' $ac_executable_extensions; do
2550
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2551
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2552
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561
STRIP=$ac_cv_prog_STRIP
2562
if test -n "$STRIP"; then
2563
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2564
$as_echo "$STRIP" >&6; }
2566
{ $as_echo "$as_me:$LINENO: result: no" >&5
2567
$as_echo "no" >&6; }
2572
if test -z "$ac_cv_prog_STRIP"; then
2574
# Extract the first word of "strip", so it can be a program name with args.
2575
set dummy strip; ac_word=$2
2576
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2577
$as_echo_n "checking for $ac_word... " >&6; }
2578
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2579
$as_echo_n "(cached) " >&6
2581
if test -n "$ac_ct_STRIP"; then
2582
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2584
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588
test -z "$as_dir" && as_dir=.
2589
for ac_exec_ext in '' $ac_executable_extensions; do
2590
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591
ac_cv_prog_ac_ct_STRIP="strip"
2592
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2602
if test -n "$ac_ct_STRIP"; then
2603
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2604
$as_echo "$ac_ct_STRIP" >&6; }
2606
{ $as_echo "$as_me:$LINENO: result: no" >&5
2607
$as_echo "no" >&6; }
2610
if test "x$ac_ct_STRIP" = x; then
2613
case $cross_compiling:$ac_tool_warned in
2615
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2616
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2617
ac_tool_warned=yes ;;
2622
STRIP="$ac_cv_prog_STRIP"
2626
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2628
2960
# We need awk for the "check" target. The system "awk" is bad on
2629
2961
# some platforms.
2630
2962
# Always define AMTAR for backward compatibility.
3109
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3442
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3110
3443
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3111
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3112
See \`config.log' for more details." >&5
3113
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3114
See \`config.log' for more details." >&2;}
3115
{ (exit 1); exit 1; }; }; }
3444
as_fn_error "no acceptable C compiler found in \$PATH
3445
See \`config.log' for more details." "$LINENO" 5; }
3117
3447
# Provide some information about the compiler.
3118
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3448
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3119
3449
set X $ac_compile
3121
{ (ac_try="$ac_compiler --version >&5"
3123
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3124
*) ac_try_echo=$ac_try;;
3126
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3127
$as_echo "$ac_try_echo") >&5
3128
(eval "$ac_compiler --version >&5") 2>&5
3130
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131
(exit $ac_status); }
3132
{ (ac_try="$ac_compiler -v >&5"
3134
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135
*) ac_try_echo=$ac_try;;
3137
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3138
$as_echo "$ac_try_echo") >&5
3139
(eval "$ac_compiler -v >&5") 2>&5
3141
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142
(exit $ac_status); }
3143
{ (ac_try="$ac_compiler -V >&5"
3145
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146
*) ac_try_echo=$ac_try;;
3148
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3149
$as_echo "$ac_try_echo") >&5
3150
(eval "$ac_compiler -V >&5") 2>&5
3152
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
(exit $ac_status); }
3451
for ac_option in --version -v -V -qversion; do
3452
{ { ac_try="$ac_compiler $ac_option >&5"
3454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
*) ac_try_echo=$ac_try;;
3457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3458
$as_echo "$ac_try_echo"; } >&5
3459
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3461
if test -s conftest.err; then
3463
... rest of stderr output deleted ...
3464
10q' conftest.err >conftest.er1
3465
cat conftest.er1 >&5
3466
rm -f conftest.er1 conftest.err
3468
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3469
test $ac_status = 0; }
3155
cat >conftest.$ac_ext <<_ACEOF
3158
cat confdefs.h >>conftest.$ac_ext
3159
cat >>conftest.$ac_ext <<_ACEOF
3472
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160
3473
/* end confdefs.h. */
3478
FILE *f = fopen ("conftest.out", "w");
3479
return ferror (f) || fclose (f) != 0;
3170
3485
ac_clean_files_save=$ac_clean_files
3171
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3486
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3172
3487
# Try to create an executable without -o first, disregard a.out.
3173
3488
# It will help us diagnose broken compilers, and finding out an intuition
3175
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3176
3491
$as_echo_n "checking for C compiler default output file name... " >&6; }
3177
3492
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3239
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3240
3554
$as_echo "$ac_file" >&6; }
3241
if test -z "$ac_file"; then
3555
if test -z "$ac_file"; then :
3242
3556
$as_echo "$as_me: failed program was:" >&5
3243
3557
sed 's/^/| /' conftest.$ac_ext >&5
3245
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3559
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3246
3560
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3247
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3248
See \`config.log' for more details." >&5
3249
$as_echo "$as_me: error: C compiler cannot create executables
3250
See \`config.log' for more details." >&2;}
3251
{ (exit 77); exit 77; }; }; }
3561
{ as_fn_set_status 77
3562
as_fn_error "C compiler cannot create executables
3563
See \`config.log' for more details." "$LINENO" 5; }; }
3254
3565
ac_exeext=$ac_cv_exeext
3256
3567
# Check that the compiler produces executables we can run. If not, either
3257
3568
# the compiler is broken, or we cross compile.
3258
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3259
3570
$as_echo_n "checking whether the C compiler works... " >&6; }
3260
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3261
3571
# If not cross compiling, check that we can run a simple program.
3262
3572
if test "$cross_compiling" != yes; then
3263
3573
if { ac_try='./$ac_file'
3264
{ (case "(($ac_try" in
3574
{ { case "(($ac_try" in
3265
3575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266
3576
*) ac_try_echo=$ac_try;;
3268
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3269
$as_echo "$ac_try_echo") >&5
3578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579
$as_echo "$ac_try_echo"; } >&5
3270
3580
(eval "$ac_try") 2>&5
3272
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
(exit $ac_status); }; }; then
3582
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583
test $ac_status = 0; }; }; then
3274
3584
cross_compiling=no
3276
3586
if test "$cross_compiling" = maybe; then
3277
3587
cross_compiling=yes
3279
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3589
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3280
3590
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3281
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3282
If you meant to cross compile, use \`--host'.
3283
See \`config.log' for more details." >&5
3284
$as_echo "$as_me: error: cannot run C compiled programs.
3285
If you meant to cross compile, use \`--host'.
3286
See \`config.log' for more details." >&2;}
3287
{ (exit 1); exit 1; }; }; }
3591
as_fn_error "cannot run C compiled programs.
3592
If you meant to cross compile, use \`--host'.
3593
See \`config.log' for more details." "$LINENO" 5; }
3291
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292
3598
$as_echo "yes" >&6; }
3294
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3600
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3295
3601
ac_clean_files=$ac_clean_files_save
3296
3602
# Check that the compiler produces executables we can run. If not, either
3297
3603
# the compiler is broken, or we cross compile.
3298
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3299
3605
$as_echo_n "checking whether we are cross compiling... " >&6; }
3300
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3301
3607
$as_echo "$cross_compiling" >&6; }
3303
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3304
3610
$as_echo_n "checking for suffix of executables... " >&6; }
3305
if { (ac_try="$ac_link"
3611
if { { ac_try="$ac_link"
3306
3612
case "(($ac_try" in
3307
3613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308
3614
*) ac_try_echo=$ac_try;;
3310
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3311
$as_echo "$ac_try_echo") >&5
3616
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3617
$as_echo "$ac_try_echo"; } >&5
3312
3618
(eval "$ac_link") 2>&5
3314
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315
(exit $ac_status); }; then
3620
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3621
test $ac_status = 0; }; then :
3316
3622
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3317
3623
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3318
3624
# work properly (i.e., refer to `conftest.exe'), while it won't with
4000
if { (ac_try="$ac_cpp conftest.$ac_ext"
4002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
*) ac_try_echo=$ac_try;;
4005
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4006
$as_echo "$ac_try_echo") >&5
4007
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4009
grep -v '^ *+' conftest.er1 >conftest.err
4011
cat conftest.err >&5
4012
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013
(exit $ac_status); } >/dev/null && {
4014
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4015
test ! -s conftest.err
4134
if ac_fn_c_try_cpp "$LINENO"; then :
4019
$as_echo "$as_me: failed program was:" >&5
4020
sed 's/^/| /' conftest.$ac_ext >&5
4022
4137
# Broken: fails on valid input.
4026
4140
rm -f conftest.err conftest.$ac_ext
4028
4142
# OK, works on sane cases. Now check whether nonexistent headers
4029
4143
# can be detected and how.
4030
cat >conftest.$ac_ext <<_ACEOF
4033
cat confdefs.h >>conftest.$ac_ext
4034
cat >>conftest.$ac_ext <<_ACEOF
4144
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035
4145
/* end confdefs.h. */
4036
4146
#include <ac_nonexistent.h>
4038
if { (ac_try="$ac_cpp conftest.$ac_ext"
4040
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4041
*) ac_try_echo=$ac_try;;
4043
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4044
$as_echo "$ac_try_echo") >&5
4045
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4047
grep -v '^ *+' conftest.er1 >conftest.err
4049
cat conftest.err >&5
4050
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051
(exit $ac_status); } >/dev/null && {
4052
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4053
test ! -s conftest.err
4148
if ac_fn_c_try_cpp "$LINENO"; then :
4055
4149
# Broken: success on invalid input.
4058
$as_echo "$as_me: failed program was:" >&5
4059
sed 's/^/| /' conftest.$ac_ext >&5
4061
4152
# Passes both tests.
4062
4153
ac_preproc_ok=:
4066
4156
rm -f conftest.err conftest.$ac_ext
4069
4159
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4070
4160
rm -f conftest.err conftest.$ac_ext
4071
if $ac_preproc_ok; then
4161
if $ac_preproc_ok; then :
4074
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4164
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4075
4165
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4077
See \`config.log' for more details." >&5
4078
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4079
See \`config.log' for more details." >&2;}
4080
{ (exit 1); exit 1; }; }; }
4166
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4167
See \`config.log' for more details." "$LINENO" 5; }
4354
rm -f conftest$ac_exeext
4355
if { (ac_try="$ac_link"
4357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358
*) ac_try_echo=$ac_try;;
4360
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4361
$as_echo "$ac_try_echo") >&5
4362
(eval "$ac_link") 2>&5
4364
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4366
{ (case "(($ac_try" in
4367
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368
*) ac_try_echo=$ac_try;;
4370
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4371
$as_echo "$ac_try_echo") >&5
4372
(eval "$ac_try") 2>&5
4374
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375
(exit $ac_status); }; }; then
4400
if ac_fn_c_try_run "$LINENO"; then :
4378
$as_echo "$as_me: program exited with status $ac_status" >&5
4379
$as_echo "$as_me: failed program was:" >&5
4380
sed 's/^/| /' conftest.$ac_ext >&5
4383
ac_cv_header_stdc=no
4385
rm -rf conftest.dSYM
4386
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4392
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4403
ac_cv_header_stdc=no
4405
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4406
conftest.$ac_objext conftest.beam conftest.$ac_ext
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4393
4412
$as_echo "$ac_cv_header_stdc" >&6; }
4394
4413
if test $ac_cv_header_stdc = yes; then
4396
cat >>confdefs.h <<\_ACEOF
4397
#define STDC_HEADERS 1
4415
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4402
4419
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4412
4420
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4413
4421
inttypes.h stdint.h unistd.h
4415
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4416
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4417
$as_echo_n "checking for $ac_header... " >&6; }
4418
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4419
$as_echo_n "(cached) " >&6
4421
cat >conftest.$ac_ext <<_ACEOF
4424
cat confdefs.h >>conftest.$ac_ext
4425
cat >>conftest.$ac_ext <<_ACEOF
4426
/* end confdefs.h. */
4427
$ac_includes_default
4429
#include <$ac_header>
4431
rm -f conftest.$ac_objext
4432
if { (ac_try="$ac_compile"
4434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4435
*) ac_try_echo=$ac_try;;
4437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4438
$as_echo "$ac_try_echo") >&5
4439
(eval "$ac_compile") 2>conftest.er1
4441
grep -v '^ *+' conftest.er1 >conftest.err
4443
cat conftest.err >&5
4444
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445
(exit $ac_status); } && {
4446
test -z "$ac_c_werror_flag" ||
4447
test ! -s conftest.err
4448
} && test -s conftest.$ac_objext; then
4449
eval "$as_ac_Header=yes"
4451
$as_echo "$as_me: failed program was:" >&5
4452
sed 's/^/| /' conftest.$ac_ext >&5
4454
eval "$as_ac_Header=no"
4457
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459
ac_res=`eval 'as_val=${'$as_ac_Header'}
4460
$as_echo "$as_val"'`
4461
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4462
$as_echo "$ac_res" >&6; }
4463
as_val=`eval 'as_val=${'$as_ac_Header'}
4464
$as_echo "$as_val"'`
4465
if test "x$as_val" = x""yes; then
4423
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4424
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4426
eval as_val=\$$as_ac_Header
4427
if test "x$as_val" = x""yes; then :
4466
4428
cat >>confdefs.h <<_ACEOF
4467
4429
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4476
if test "${ac_cv_header_minix_config_h+set}" = set; then
4477
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4478
$as_echo_n "checking for minix/config.h... " >&6; }
4479
if test "${ac_cv_header_minix_config_h+set}" = set; then
4480
$as_echo_n "(cached) " >&6
4482
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4483
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4485
# Is the header compilable?
4486
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4487
$as_echo_n "checking minix/config.h usability... " >&6; }
4488
cat >conftest.$ac_ext <<_ACEOF
4491
cat confdefs.h >>conftest.$ac_ext
4492
cat >>conftest.$ac_ext <<_ACEOF
4493
/* end confdefs.h. */
4494
$ac_includes_default
4495
#include <minix/config.h>
4497
rm -f conftest.$ac_objext
4498
if { (ac_try="$ac_compile"
4500
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4501
*) ac_try_echo=$ac_try;;
4503
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4504
$as_echo "$ac_try_echo") >&5
4505
(eval "$ac_compile") 2>conftest.er1
4507
grep -v '^ *+' conftest.er1 >conftest.err
4509
cat conftest.err >&5
4510
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511
(exit $ac_status); } && {
4512
test -z "$ac_c_werror_flag" ||
4513
test ! -s conftest.err
4514
} && test -s conftest.$ac_objext; then
4515
ac_header_compiler=yes
4517
$as_echo "$as_me: failed program was:" >&5
4518
sed 's/^/| /' conftest.$ac_ext >&5
4520
ac_header_compiler=no
4523
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4525
$as_echo "$ac_header_compiler" >&6; }
4527
# Is the header present?
4528
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4529
$as_echo_n "checking minix/config.h presence... " >&6; }
4530
cat >conftest.$ac_ext <<_ACEOF
4533
cat confdefs.h >>conftest.$ac_ext
4534
cat >>conftest.$ac_ext <<_ACEOF
4535
/* end confdefs.h. */
4536
#include <minix/config.h>
4538
if { (ac_try="$ac_cpp conftest.$ac_ext"
4540
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541
*) ac_try_echo=$ac_try;;
4543
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4544
$as_echo "$ac_try_echo") >&5
4545
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4547
grep -v '^ *+' conftest.er1 >conftest.err
4549
cat conftest.err >&5
4550
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4551
(exit $ac_status); } >/dev/null && {
4552
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4553
test ! -s conftest.err
4555
ac_header_preproc=yes
4557
$as_echo "$as_me: failed program was:" >&5
4558
sed 's/^/| /' conftest.$ac_ext >&5
4560
ac_header_preproc=no
4563
rm -f conftest.err conftest.$ac_ext
4564
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4565
$as_echo "$ac_header_preproc" >&6; }
4567
# So? What about this header?
4568
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4570
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4571
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4572
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4573
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4574
ac_header_preproc=yes
4577
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4578
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4579
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4580
$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4581
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4582
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4583
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4584
$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4585
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4586
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4587
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4588
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4590
## ---------------------------------------- ##
4591
## Report this to http://bugzilla.xfce.org/ ##
4592
## ---------------------------------------- ##
4594
) | sed "s/^/$as_me: WARNING: /" >&2
4597
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4598
$as_echo_n "checking for minix/config.h... " >&6; }
4599
if test "${ac_cv_header_minix_config_h+set}" = set; then
4600
$as_echo_n "(cached) " >&6
4602
ac_cv_header_minix_config_h=$ac_header_preproc
4604
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4605
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4608
if test "x$ac_cv_header_minix_config_h" = x""yes; then
4438
ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4439
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4657
rm -f conftest.$ac_objext
4658
if { (ac_try="$ac_compile"
4660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661
*) ac_try_echo=$ac_try;;
4663
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4664
$as_echo "$ac_try_echo") >&5
4665
(eval "$ac_compile") 2>conftest.er1
4667
grep -v '^ *+' conftest.er1 >conftest.err
4669
cat conftest.err >&5
4670
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671
(exit $ac_status); } && {
4672
test -z "$ac_c_werror_flag" ||
4673
test ! -s conftest.err
4674
} && test -s conftest.$ac_objext; then
4477
if ac_fn_c_try_compile "$LINENO"; then :
4675
4478
ac_cv_safe_to_define___extensions__=yes
4677
$as_echo "$as_me: failed program was:" >&5
4678
sed 's/^/| /' conftest.$ac_ext >&5
4680
ac_cv_safe_to_define___extensions__=no
4480
ac_cv_safe_to_define___extensions__=no
4683
4482
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4685
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4686
4485
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4687
4486
test $ac_cv_safe_to_define___extensions__ = yes &&
4688
cat >>confdefs.h <<\_ACEOF
4689
#define __EXTENSIONS__ 1
4692
cat >>confdefs.h <<\_ACEOF
4693
#define _ALL_SOURCE 1
4696
cat >>confdefs.h <<\_ACEOF
4697
#define _GNU_SOURCE 1
4700
cat >>confdefs.h <<\_ACEOF
4701
#define _POSIX_PTHREAD_SEMANTICS 1
4704
cat >>confdefs.h <<\_ACEOF
4705
#define _TANDEM_SOURCE 1
4709
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
4487
$as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4489
$as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4491
$as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4493
$as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4495
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4710
4500
$as_echo_n "checking for library containing strerror... " >&6; }
4711
if test "${ac_cv_search_strerror+set}" = set; then
4501
if test "${ac_cv_search_strerror+set}" = set; then :
4712
4502
$as_echo_n "(cached) " >&6
4714
4504
ac_func_search_save_LIBS=$LIBS
4715
cat >conftest.$ac_ext <<_ACEOF
4718
cat confdefs.h >>conftest.$ac_ext
4719
cat >>conftest.$ac_ext <<_ACEOF
4505
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720
4506
/* end confdefs.h. */
4722
4508
/* Override any GCC internal prototype to avoid an error.
4741
4527
ac_res=-l$ac_lib
4742
4528
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4744
rm -f conftest.$ac_objext conftest$ac_exeext
4745
if { (ac_try="$ac_link"
4747
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4748
*) ac_try_echo=$ac_try;;
4750
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4751
$as_echo "$ac_try_echo") >&5
4752
(eval "$ac_link") 2>conftest.er1
4754
grep -v '^ *+' conftest.er1 >conftest.err
4756
cat conftest.err >&5
4757
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758
(exit $ac_status); } && {
4759
test -z "$ac_c_werror_flag" ||
4760
test ! -s conftest.err
4761
} && test -s conftest$ac_exeext && {
4762
test "$cross_compiling" = yes ||
4763
$as_test_x conftest$ac_exeext
4530
if ac_fn_c_try_link "$LINENO"; then :
4765
4531
ac_cv_search_strerror=$ac_res
4767
$as_echo "$as_me: failed program was:" >&5
4768
sed 's/^/| /' conftest.$ac_ext >&5
4773
rm -rf conftest.dSYM
4774
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4776
if test "${ac_cv_search_strerror+set}" = set; then
4533
rm -f core conftest.err conftest.$ac_objext \
4535
if test "${ac_cv_search_strerror+set}" = set; then :
4780
if test "${ac_cv_search_strerror+set}" = set; then
4539
if test "${ac_cv_search_strerror+set}" = set; then :
4783
4542
ac_cv_search_strerror=no
4785
4544
rm conftest.$ac_ext
4786
4545
LIBS=$ac_func_search_save_LIBS
4788
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
4547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4789
4548
$as_echo "$ac_cv_search_strerror" >&6; }
4790
4549
ac_res=$ac_cv_search_strerror
4791
if test "$ac_res" != no; then
4550
if test "$ac_res" != no; then :
4792
4551
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4797
if test "${ac_cv_header_minix_config_h+set}" = set; then
4798
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4799
$as_echo_n "checking for minix/config.h... " >&6; }
4800
if test "${ac_cv_header_minix_config_h+set}" = set; then
4801
$as_echo_n "(cached) " >&6
4803
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4804
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4806
# Is the header compilable?
4807
{ $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4808
$as_echo_n "checking minix/config.h usability... " >&6; }
4809
cat >conftest.$ac_ext <<_ACEOF
4812
cat confdefs.h >>conftest.$ac_ext
4813
cat >>conftest.$ac_ext <<_ACEOF
4814
/* end confdefs.h. */
4815
$ac_includes_default
4816
#include <minix/config.h>
4818
rm -f conftest.$ac_objext
4819
if { (ac_try="$ac_compile"
4821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822
*) ac_try_echo=$ac_try;;
4824
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4825
$as_echo "$ac_try_echo") >&5
4826
(eval "$ac_compile") 2>conftest.er1
4828
grep -v '^ *+' conftest.er1 >conftest.err
4830
cat conftest.err >&5
4831
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832
(exit $ac_status); } && {
4833
test -z "$ac_c_werror_flag" ||
4834
test ! -s conftest.err
4835
} && test -s conftest.$ac_objext; then
4836
ac_header_compiler=yes
4838
$as_echo "$as_me: failed program was:" >&5
4839
sed 's/^/| /' conftest.$ac_ext >&5
4841
ac_header_compiler=no
4844
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4845
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4846
$as_echo "$ac_header_compiler" >&6; }
4848
# Is the header present?
4849
{ $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4850
$as_echo_n "checking minix/config.h presence... " >&6; }
4851
cat >conftest.$ac_ext <<_ACEOF
4854
cat confdefs.h >>conftest.$ac_ext
4855
cat >>conftest.$ac_ext <<_ACEOF
4856
/* end confdefs.h. */
4857
#include <minix/config.h>
4859
if { (ac_try="$ac_cpp conftest.$ac_ext"
4861
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4862
*) ac_try_echo=$ac_try;;
4864
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4865
$as_echo "$ac_try_echo") >&5
4866
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4868
grep -v '^ *+' conftest.er1 >conftest.err
4870
cat conftest.err >&5
4871
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872
(exit $ac_status); } >/dev/null && {
4873
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4874
test ! -s conftest.err
4876
ac_header_preproc=yes
4878
$as_echo "$as_me: failed program was:" >&5
4879
sed 's/^/| /' conftest.$ac_ext >&5
4881
ac_header_preproc=no
4884
rm -f conftest.err conftest.$ac_ext
4885
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4886
$as_echo "$ac_header_preproc" >&6; }
4888
# So? What about this header?
4889
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4891
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4892
$as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4893
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4894
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4895
ac_header_preproc=yes
4898
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4899
$as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4900
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4901
$as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4902
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4903
$as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4904
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4905
$as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4906
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4907
$as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4908
{ $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4909
$as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4911
## ---------------------------------------- ##
4912
## Report this to http://bugzilla.xfce.org/ ##
4913
## ---------------------------------------- ##
4915
) | sed "s/^/$as_me: WARNING: /" >&2
4918
{ $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4919
$as_echo_n "checking for minix/config.h... " >&6; }
4920
if test "${ac_cv_header_minix_config_h+set}" = set; then
4921
$as_echo_n "(cached) " >&6
4923
ac_cv_header_minix_config_h=$ac_header_preproc
4925
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4926
$as_echo "$ac_cv_header_minix_config_h" >&6; }
4929
if test "x$ac_cv_header_minix_config_h" = x""yes; then
4936
if test "$MINIX" = yes; then
4938
cat >>confdefs.h <<\_ACEOF
4939
#define _POSIX_SOURCE 1
4943
cat >>confdefs.h <<\_ACEOF
4944
#define _POSIX_1_SOURCE 2
4948
cat >>confdefs.h <<\_ACEOF
4956
{ $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4957
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4958
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4959
$as_echo_n "(cached) " >&6
4961
cat >conftest.$ac_ext <<_ACEOF
4964
cat confdefs.h >>conftest.$ac_ext
4965
cat >>conftest.$ac_ext <<_ACEOF
4966
/* end confdefs.h. */
4968
# define __EXTENSIONS__ 1
4969
$ac_includes_default
4978
rm -f conftest.$ac_objext
4979
if { (ac_try="$ac_compile"
4981
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4982
*) ac_try_echo=$ac_try;;
4984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4985
$as_echo "$ac_try_echo") >&5
4986
(eval "$ac_compile") 2>conftest.er1
4988
grep -v '^ *+' conftest.er1 >conftest.err
4990
cat conftest.err >&5
4991
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992
(exit $ac_status); } && {
4993
test -z "$ac_c_werror_flag" ||
4994
test ! -s conftest.err
4995
} && test -s conftest.$ac_objext; then
4996
ac_cv_safe_to_define___extensions__=yes
4998
$as_echo "$as_me: failed program was:" >&5
4999
sed 's/^/| /' conftest.$ac_ext >&5
5001
ac_cv_safe_to_define___extensions__=no
5004
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5006
{ $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
5007
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5008
test $ac_cv_safe_to_define___extensions__ = yes &&
5009
cat >>confdefs.h <<\_ACEOF
5010
#define __EXTENSIONS__ 1
5013
cat >>confdefs.h <<\_ACEOF
5014
#define _ALL_SOURCE 1
5017
cat >>confdefs.h <<\_ACEOF
5018
#define _GNU_SOURCE 1
5021
cat >>confdefs.h <<\_ACEOF
5022
#define _POSIX_PTHREAD_SEMANTICS 1
5025
cat >>confdefs.h <<\_ACEOF
5026
#define _TANDEM_SOURCE 1
5031
4557
# ===================================================== #
5032
4558
# Basic compiler settings #
5332
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4858
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5333
4859
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5334
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
5335
See \`config.log' for more details." >&5
5336
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
5337
See \`config.log' for more details." >&2;}
5338
{ (exit 1); exit 1; }; }; }
4860
as_fn_error "no acceptable C compiler found in \$PATH
4861
See \`config.log' for more details." "$LINENO" 5; }
5340
4863
# Provide some information about the compiler.
5341
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4864
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5342
4865
set X $ac_compile
5344
{ (ac_try="$ac_compiler --version >&5"
5346
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5347
*) ac_try_echo=$ac_try;;
5349
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5350
$as_echo "$ac_try_echo") >&5
5351
(eval "$ac_compiler --version >&5") 2>&5
5353
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5354
(exit $ac_status); }
5355
{ (ac_try="$ac_compiler -v >&5"
5357
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5358
*) ac_try_echo=$ac_try;;
5360
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5361
$as_echo "$ac_try_echo") >&5
5362
(eval "$ac_compiler -v >&5") 2>&5
5364
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365
(exit $ac_status); }
5366
{ (ac_try="$ac_compiler -V >&5"
5368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5369
*) ac_try_echo=$ac_try;;
5371
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5372
$as_echo "$ac_try_echo") >&5
5373
(eval "$ac_compiler -V >&5") 2>&5
5375
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376
(exit $ac_status); }
4867
for ac_option in --version -v -V -qversion; do
4868
{ { ac_try="$ac_compiler $ac_option >&5"
4870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871
*) ac_try_echo=$ac_try;;
4873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874
$as_echo "$ac_try_echo"; } >&5
4875
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4877
if test -s conftest.err; then
4879
... rest of stderr output deleted ...
4880
10q' conftest.err >conftest.er1
4881
cat conftest.er1 >&5
4882
rm -f conftest.er1 conftest.err
4884
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4885
test $ac_status = 0; }
5378
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5379
4889
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5380
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4890
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5381
4891
$as_echo_n "(cached) " >&6
5383
cat >conftest.$ac_ext <<_ACEOF
5386
cat confdefs.h >>conftest.$ac_ext
5387
cat >>conftest.$ac_ext <<_ACEOF
4893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388
4894
/* end confdefs.h. */
5854
5252
# existing .o file with -o, though they will create one.
5855
5253
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5856
5254
rm -f conftest2.*
5857
if { (case "(($ac_try" in
5858
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5859
*) ac_try_echo=$ac_try;;
5861
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862
$as_echo "$ac_try_echo") >&5
5863
(eval "$ac_try") 2>&5
5865
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866
(exit $ac_status); } &&
5867
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5869
*) ac_try_echo=$ac_try;;
5871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5872
$as_echo "$ac_try_echo") >&5
5873
(eval "$ac_try") 2>&5
5875
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876
(exit $ac_status); };
5255
if { { case "(($ac_try" in
5256
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5257
*) ac_try_echo=$ac_try;;
5259
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5260
$as_echo "$ac_try_echo"; } >&5
5261
(eval "$ac_try") 2>&5
5263
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5264
test $ac_status = 0; } &&
5265
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5266
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5267
*) ac_try_echo=$ac_try;;
5269
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5270
$as_echo "$ac_try_echo"; } >&5
5271
(eval "$ac_try") 2>&5
5273
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5274
test $ac_status = 0; };
5878
5276
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
5879
5277
if test "x$CC" != xcc; then
5880
5278
# Test first that cc exists at all.
5881
5279
if { ac_try='cc -c conftest.$ac_ext >&5'
5882
{ (case "(($ac_try" in
5280
{ { case "(($ac_try" in
5883
5281
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5884
5282
*) ac_try_echo=$ac_try;;
5886
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5887
$as_echo "$ac_try_echo") >&5
5284
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5285
$as_echo "$ac_try_echo"; } >&5
5888
5286
(eval "$ac_try") 2>&5
5890
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891
(exit $ac_status); }; }; then
5288
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5289
test $ac_status = 0; }; }; then
5892
5290
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
5893
5291
rm -f conftest2.*
5894
if { (case "(($ac_try" in
5895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5896
*) ac_try_echo=$ac_try;;
5898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5899
$as_echo "$ac_try_echo") >&5
5900
(eval "$ac_try") 2>&5
5902
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5903
(exit $ac_status); } &&
5904
test -f conftest2.$ac_objext && { (case "(($ac_try" in
5905
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5906
*) ac_try_echo=$ac_try;;
5908
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5909
$as_echo "$ac_try_echo") >&5
5910
(eval "$ac_try") 2>&5
5912
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913
(exit $ac_status); };
5292
if { { case "(($ac_try" in
5293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5294
*) ac_try_echo=$ac_try;;
5296
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5297
$as_echo "$ac_try_echo"; } >&5
5298
(eval "$ac_try") 2>&5
5300
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5301
test $ac_status = 0; } &&
5302
test -f conftest2.$ac_objext && { { case "(($ac_try" in
5303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5304
*) ac_try_echo=$ac_try;;
5306
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5307
$as_echo "$ac_try_echo"; } >&5
5308
(eval "$ac_try") 2>&5
5310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5311
test $ac_status = 0; };
5915
5313
# cc works too.
6326
# Find a good install program. We prefer a C program (faster),
6327
# so one script is as good as another. But avoid the broken or
6328
# incompatible versions:
6329
# SysV /etc/install, /usr/sbin/install
6330
# SunOS /usr/etc/install
6331
# IRIX /sbin/install
6333
# AmigaOS /C/install, which installs bootblocks on floppy discs
6334
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6335
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
6336
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6337
# OS/2's system install, which has a completely different semantic
6338
# ./install, which can be erroneously created by make from ./install.sh.
6339
# Reject install programs that cannot install multiple files.
6340
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6341
$as_echo_n "checking for a BSD-compatible install... " >&6; }
6342
if test -z "$INSTALL"; then
6343
if test "${ac_cv_path_install+set}" = set; then
6344
$as_echo_n "(cached) " >&6
6346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350
test -z "$as_dir" && as_dir=.
6351
# Account for people who put trailing slashes in PATH elements.
6353
./ | .// | /cC/* | \
6354
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6355
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6358
# OSF1 and SCO ODT 3.0 have their own names for install.
6359
# Don't use installbsd from OSF since it installs stuff as root
6361
for ac_prog in ginstall scoinst install; do
6362
for ac_exec_ext in '' $ac_executable_extensions; do
6363
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6364
if test $ac_prog = install &&
6365
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6366
# AIX install. It has an incompatible calling convention.
6368
elif test $ac_prog = install &&
6369
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6370
# program-specific install script used by HP pwplus--don't use.
6373
rm -rf conftest.one conftest.two conftest.dir
6374
echo one > conftest.one
6375
echo two > conftest.two
6377
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
6378
test -s conftest.one && test -s conftest.two &&
6379
test -s conftest.dir/conftest.one &&
6380
test -s conftest.dir/conftest.two
6382
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6395
rm -rf conftest.one conftest.two conftest.dir
6398
if test "${ac_cv_path_install+set}" = set; then
6399
INSTALL=$ac_cv_path_install
6401
# As a last resort, use the slow shell script. Don't cache a
6402
# value for INSTALL within a source directory, because that will
6403
# break other packages using the cache if that directory is
6404
# removed, or if the value is a relative name.
6405
INSTALL=$ac_install_sh
6408
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
6409
$as_echo "$INSTALL" >&6; }
6411
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6412
# It thinks the first close brace ends the variable substitution.
6413
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6415
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6417
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6420
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
6421
5707
$as_echo_n "checking whether NLS is requested... " >&6; }
6422
5708
# Check whether --enable-nls was given.
6423
if test "${enable_nls+set}" = set; then
5709
if test "${enable_nls+set}" = set; then :
6424
5710
enableval=$enable_nls; USE_NLS=$enableval
6429
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
5715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
6430
5716
$as_echo "$USE_NLS" >&6; }
6971
rm -f conftest.$ac_objext conftest$ac_exeext
6972
if { (ac_try="$ac_link"
6974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975
*) ac_try_echo=$ac_try;;
6977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6978
$as_echo "$ac_try_echo") >&5
6979
(eval "$ac_link") 2>conftest.er1
6981
grep -v '^ *+' conftest.er1 >conftest.err
6983
cat conftest.err >&5
6984
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985
(exit $ac_status); } && {
6986
test -z "$ac_c_werror_flag" ||
6987
test ! -s conftest.err
6988
} && test -s conftest$ac_exeext && {
6989
test "$cross_compiling" = yes ||
6990
$as_test_x conftest$ac_exeext
6237
if ac_fn_c_try_link "$LINENO"; then :
6992
6238
DATADIRNAME=share
6994
$as_echo "$as_me: failed program was:" >&5
6995
sed 's/^/| /' conftest.$ac_ext >&5
6999
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
7000
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
7001
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
7002
$as_echo_n "(cached) " >&6
7004
cat >conftest.$ac_ext <<_ACEOF
7007
cat confdefs.h >>conftest.$ac_ext
7008
cat >>conftest.$ac_ext <<_ACEOF
7009
/* end confdefs.h. */
7010
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
7011
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7012
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
7014
/* System header to define __stub macros and hopefully few prototypes,
7015
which can conflict with char bind_textdomain_codeset (); below.
7016
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7017
<limits.h> exists even on freestanding compilers. */
7020
# include <limits.h>
7022
# include <assert.h>
7025
#undef bind_textdomain_codeset
7027
/* Override any GCC internal prototype to avoid an error.
7028
Use char because int might match the return type of a GCC
7029
builtin and then its argument prototype would still apply. */
7033
char bind_textdomain_codeset ();
7034
/* The GNU C library defines this for functions which it implements
7035
to always fail with ENOSYS. Some functions are actually named
7036
something starting with __ and the normal name is an alias. */
7037
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
7044
return bind_textdomain_codeset ();
7049
rm -f conftest.$ac_objext conftest$ac_exeext
7050
if { (ac_try="$ac_link"
7052
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7053
*) ac_try_echo=$ac_try;;
7055
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7056
$as_echo "$ac_try_echo") >&5
7057
(eval "$ac_link") 2>conftest.er1
7059
grep -v '^ *+' conftest.er1 >conftest.err
7061
cat conftest.err >&5
7062
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063
(exit $ac_status); } && {
7064
test -z "$ac_c_werror_flag" ||
7065
test ! -s conftest.err
7066
} && test -s conftest$ac_exeext && {
7067
test "$cross_compiling" = yes ||
7068
$as_test_x conftest$ac_exeext
7070
ac_cv_func_bind_textdomain_codeset=yes
7072
$as_echo "$as_me: failed program was:" >&5
7073
sed 's/^/| /' conftest.$ac_ext >&5
7075
ac_cv_func_bind_textdomain_codeset=no
7078
rm -rf conftest.dSYM
7079
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7080
conftest$ac_exeext conftest.$ac_ext
7082
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
7083
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
7084
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
6242
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
6243
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
7085
6244
DATADIRNAME=share
7087
6246
DATADIRNAME=lib
12703
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12704
$as_echo_n "checking for shl_load... " >&6; }
12705
if test "${ac_cv_func_shl_load+set}" = set; then
12706
$as_echo_n "(cached) " >&6
12708
cat >conftest.$ac_ext <<_ACEOF
12711
cat confdefs.h >>conftest.$ac_ext
12712
cat >>conftest.$ac_ext <<_ACEOF
12713
/* end confdefs.h. */
12714
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12715
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12716
#define shl_load innocuous_shl_load
12718
/* System header to define __stub macros and hopefully few prototypes,
12719
which can conflict with char shl_load (); below.
12720
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12721
<limits.h> exists even on freestanding compilers. */
12724
# include <limits.h>
12726
# include <assert.h>
12731
/* Override any GCC internal prototype to avoid an error.
12732
Use char because int might match the return type of a GCC
12733
builtin and then its argument prototype would still apply. */
12738
/* The GNU C library defines this for functions which it implements
12739
to always fail with ENOSYS. Some functions are actually named
12740
something starting with __ and the normal name is an alias. */
12741
#if defined __stub_shl_load || defined __stub___shl_load
12748
return shl_load ();
12753
rm -f conftest.$ac_objext conftest$ac_exeext
12754
if { (ac_try="$ac_link"
12755
case "(($ac_try" in
12756
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12757
*) ac_try_echo=$ac_try;;
12759
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12760
$as_echo "$ac_try_echo") >&5
12761
(eval "$ac_link") 2>conftest.er1
12763
grep -v '^ *+' conftest.er1 >conftest.err
12765
cat conftest.err >&5
12766
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767
(exit $ac_status); } && {
12768
test -z "$ac_c_werror_flag" ||
12769
test ! -s conftest.err
12770
} && test -s conftest$ac_exeext && {
12771
test "$cross_compiling" = yes ||
12772
$as_test_x conftest$ac_exeext
12774
ac_cv_func_shl_load=yes
12776
$as_echo "$as_me: failed program was:" >&5
12777
sed 's/^/| /' conftest.$ac_ext >&5
12779
ac_cv_func_shl_load=no
12782
rm -rf conftest.dSYM
12783
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12784
conftest$ac_exeext conftest.$ac_ext
12786
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12787
$as_echo "$ac_cv_func_shl_load" >&6; }
12788
if test "x$ac_cv_func_shl_load" = x""yes; then
11591
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11592
if test "x$ac_cv_func_shl_load" = x""yes; then :
12789
11593
lt_cv_dlopen="shl_load"
12791
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12792
11596
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12793
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11597
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12794
11598
$as_echo_n "(cached) " >&6
12796
11600
ac_check_lib_save_LIBS=$LIBS
12797
11601
LIBS="-ldld $LIBS"
12798
cat >conftest.$ac_ext <<_ACEOF
12801
cat confdefs.h >>conftest.$ac_ext
12802
cat >>conftest.$ac_ext <<_ACEOF
11602
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12803
11603
/* end confdefs.h. */
12805
11605
/* Override any GCC internal prototype to avoid an error.
12820
rm -f conftest.$ac_objext conftest$ac_exeext
12821
if { (ac_try="$ac_link"
12822
case "(($ac_try" in
12823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12824
*) ac_try_echo=$ac_try;;
12826
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12827
$as_echo "$ac_try_echo") >&5
12828
(eval "$ac_link") 2>conftest.er1
12830
grep -v '^ *+' conftest.er1 >conftest.err
12832
cat conftest.err >&5
12833
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834
(exit $ac_status); } && {
12835
test -z "$ac_c_werror_flag" ||
12836
test ! -s conftest.err
12837
} && test -s conftest$ac_exeext && {
12838
test "$cross_compiling" = yes ||
12839
$as_test_x conftest$ac_exeext
11620
if ac_fn_c_try_link "$LINENO"; then :
12841
11621
ac_cv_lib_dld_shl_load=yes
12843
$as_echo "$as_me: failed program was:" >&5
12844
sed 's/^/| /' conftest.$ac_ext >&5
12846
ac_cv_lib_dld_shl_load=no
11623
ac_cv_lib_dld_shl_load=no
12849
rm -rf conftest.dSYM
12850
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12851
conftest$ac_exeext conftest.$ac_ext
11625
rm -f core conftest.err conftest.$ac_objext \
11626
conftest$ac_exeext conftest.$ac_ext
12852
11627
LIBS=$ac_check_lib_save_LIBS
12854
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12855
11630
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12856
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11631
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12857
11632
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12859
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12860
$as_echo_n "checking for dlopen... " >&6; }
12861
if test "${ac_cv_func_dlopen+set}" = set; then
12862
$as_echo_n "(cached) " >&6
12864
cat >conftest.$ac_ext <<_ACEOF
12867
cat confdefs.h >>conftest.$ac_ext
12868
cat >>conftest.$ac_ext <<_ACEOF
12869
/* end confdefs.h. */
12870
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12871
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12872
#define dlopen innocuous_dlopen
12874
/* System header to define __stub macros and hopefully few prototypes,
12875
which can conflict with char dlopen (); below.
12876
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12877
<limits.h> exists even on freestanding compilers. */
12880
# include <limits.h>
12882
# include <assert.h>
12887
/* Override any GCC internal prototype to avoid an error.
12888
Use char because int might match the return type of a GCC
12889
builtin and then its argument prototype would still apply. */
12894
/* The GNU C library defines this for functions which it implements
12895
to always fail with ENOSYS. Some functions are actually named
12896
something starting with __ and the normal name is an alias. */
12897
#if defined __stub_dlopen || defined __stub___dlopen
12909
rm -f conftest.$ac_objext conftest$ac_exeext
12910
if { (ac_try="$ac_link"
12911
case "(($ac_try" in
12912
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12913
*) ac_try_echo=$ac_try;;
12915
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12916
$as_echo "$ac_try_echo") >&5
12917
(eval "$ac_link") 2>conftest.er1
12919
grep -v '^ *+' conftest.er1 >conftest.err
12921
cat conftest.err >&5
12922
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923
(exit $ac_status); } && {
12924
test -z "$ac_c_werror_flag" ||
12925
test ! -s conftest.err
12926
} && test -s conftest$ac_exeext && {
12927
test "$cross_compiling" = yes ||
12928
$as_test_x conftest$ac_exeext
12930
ac_cv_func_dlopen=yes
12932
$as_echo "$as_me: failed program was:" >&5
12933
sed 's/^/| /' conftest.$ac_ext >&5
12935
ac_cv_func_dlopen=no
12938
rm -rf conftest.dSYM
12939
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12940
conftest$ac_exeext conftest.$ac_ext
12942
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12943
$as_echo "$ac_cv_func_dlopen" >&6; }
12944
if test "x$ac_cv_func_dlopen" = x""yes; then
11634
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11635
if test "x$ac_cv_func_dlopen" = x""yes; then :
12945
11636
lt_cv_dlopen="dlopen"
12947
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12948
11639
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12949
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11640
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12950
11641
$as_echo_n "(cached) " >&6
12952
11643
ac_check_lib_save_LIBS=$LIBS
12953
11644
LIBS="-ldl $LIBS"
12954
cat >conftest.$ac_ext <<_ACEOF
12957
cat confdefs.h >>conftest.$ac_ext
12958
cat >>conftest.$ac_ext <<_ACEOF
11645
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12959
11646
/* end confdefs.h. */
12961
11648
/* Override any GCC internal prototype to avoid an error.
13655
rm -f conftest$ac_exeext
13656
if { (ac_try="$ac_link"
13657
case "(($ac_try" in
13658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659
*) ac_try_echo=$ac_try;;
13661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13662
$as_echo "$ac_try_echo") >&5
13663
(eval "$ac_link") 2>&5
13665
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13666
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13667
{ (case "(($ac_try" in
13668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13669
*) ac_try_echo=$ac_try;;
13671
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13672
$as_echo "$ac_try_echo") >&5
13673
(eval "$ac_try") 2>&5
13675
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13676
(exit $ac_status); }; }; then
12222
if ac_fn_c_try_run "$LINENO"; then :
13679
$as_echo "$as_me: program exited with status $ac_status" >&5
13680
$as_echo "$as_me: failed program was:" >&5
13681
sed 's/^/| /' conftest.$ac_ext >&5
13683
( exit $ac_status )
13684
ac_cv_header_stdc=no
13686
rm -rf conftest.dSYM
13687
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13693
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12225
ac_cv_header_stdc=no
12227
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12228
conftest.$ac_objext conftest.beam conftest.$ac_ext
12233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
13694
12234
$as_echo "$ac_cv_header_stdc" >&6; }
13695
12235
if test $ac_cv_header_stdc = yes; then
13697
cat >>confdefs.h <<\_ACEOF
13698
#define STDC_HEADERS 1
12237
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
13712
12241
for ac_header in errno.h signal.h stddef.h \
13713
12242
string.h sys/stat.h sys/types.h sys/wait.h time.h \
13716
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13717
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13718
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13719
$as_echo_n "checking for $ac_header... " >&6; }
13720
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13721
$as_echo_n "(cached) " >&6
13723
ac_res=`eval 'as_val=${'$as_ac_Header'}
13724
$as_echo "$as_val"'`
13725
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13726
$as_echo "$ac_res" >&6; }
13728
# Is the header compilable?
13729
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13730
$as_echo_n "checking $ac_header usability... " >&6; }
13731
cat >conftest.$ac_ext <<_ACEOF
13734
cat confdefs.h >>conftest.$ac_ext
13735
cat >>conftest.$ac_ext <<_ACEOF
13736
/* end confdefs.h. */
13737
$ac_includes_default
13738
#include <$ac_header>
13740
rm -f conftest.$ac_objext
13741
if { (ac_try="$ac_compile"
13742
case "(($ac_try" in
13743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13744
*) ac_try_echo=$ac_try;;
13746
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13747
$as_echo "$ac_try_echo") >&5
13748
(eval "$ac_compile") 2>conftest.er1
13750
grep -v '^ *+' conftest.er1 >conftest.err
13752
cat conftest.err >&5
13753
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13754
(exit $ac_status); } && {
13755
test -z "$ac_c_werror_flag" ||
13756
test ! -s conftest.err
13757
} && test -s conftest.$ac_objext; then
13758
ac_header_compiler=yes
13760
$as_echo "$as_me: failed program was:" >&5
13761
sed 's/^/| /' conftest.$ac_ext >&5
13763
ac_header_compiler=no
13766
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13767
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13768
$as_echo "$ac_header_compiler" >&6; }
13770
# Is the header present?
13771
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13772
$as_echo_n "checking $ac_header presence... " >&6; }
13773
cat >conftest.$ac_ext <<_ACEOF
13776
cat confdefs.h >>conftest.$ac_ext
13777
cat >>conftest.$ac_ext <<_ACEOF
13778
/* end confdefs.h. */
13779
#include <$ac_header>
13781
if { (ac_try="$ac_cpp conftest.$ac_ext"
13782
case "(($ac_try" in
13783
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13784
*) ac_try_echo=$ac_try;;
13786
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13787
$as_echo "$ac_try_echo") >&5
13788
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13790
grep -v '^ *+' conftest.er1 >conftest.err
13792
cat conftest.err >&5
13793
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13794
(exit $ac_status); } >/dev/null && {
13795
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13796
test ! -s conftest.err
13798
ac_header_preproc=yes
13800
$as_echo "$as_me: failed program was:" >&5
13801
sed 's/^/| /' conftest.$ac_ext >&5
13803
ac_header_preproc=no
13806
rm -f conftest.err conftest.$ac_ext
13807
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13808
$as_echo "$ac_header_preproc" >&6; }
13810
# So? What about this header?
13811
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13813
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13814
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13815
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13816
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13817
ac_header_preproc=yes
13820
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13821
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13822
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13823
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13824
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13825
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13826
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13827
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13828
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13829
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13830
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13831
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13833
## ---------------------------------------- ##
13834
## Report this to http://bugzilla.xfce.org/ ##
13835
## ---------------------------------------- ##
13837
) | sed "s/^/$as_me: WARNING: /" >&2
13840
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13841
$as_echo_n "checking for $ac_header... " >&6; }
13842
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13843
$as_echo_n "(cached) " >&6
13845
eval "$as_ac_Header=\$ac_header_preproc"
13847
ac_res=`eval 'as_val=${'$as_ac_Header'}
13848
$as_echo "$as_val"'`
13849
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13850
$as_echo "$ac_res" >&6; }
13853
as_val=`eval 'as_val=${'$as_ac_Header'}
13854
$as_echo "$as_val"'`
13855
if test "x$as_val" = x""yes; then
12245
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12246
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12247
eval as_val=\$$as_ac_Header
12248
if test "x$as_val" = x""yes; then :
13856
12249
cat >>confdefs.h <<_ACEOF
13857
12250
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13878
ALL_LINGUAS="ca cs da de el es et eu fi fr gl id it ja nb nl pt_BR pt ru sv tr uk ur ur_PK zh_CN "
13881
for ac_header in locale.h
13883
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13884
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13885
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
13886
$as_echo_n "checking for $ac_header... " >&6; }
13887
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13888
$as_echo_n "(cached) " >&6
13890
ac_res=`eval 'as_val=${'$as_ac_Header'}
13891
$as_echo "$as_val"'`
13892
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13893
$as_echo "$ac_res" >&6; }
13895
# Is the header compilable?
13896
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
13897
$as_echo_n "checking $ac_header usability... " >&6; }
13898
cat >conftest.$ac_ext <<_ACEOF
13901
cat confdefs.h >>conftest.$ac_ext
13902
cat >>conftest.$ac_ext <<_ACEOF
13903
/* end confdefs.h. */
13904
$ac_includes_default
13905
#include <$ac_header>
13907
rm -f conftest.$ac_objext
13908
if { (ac_try="$ac_compile"
13909
case "(($ac_try" in
13910
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13911
*) ac_try_echo=$ac_try;;
13913
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13914
$as_echo "$ac_try_echo") >&5
13915
(eval "$ac_compile") 2>conftest.er1
13917
grep -v '^ *+' conftest.er1 >conftest.err
13919
cat conftest.err >&5
13920
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921
(exit $ac_status); } && {
13922
test -z "$ac_c_werror_flag" ||
13923
test ! -s conftest.err
13924
} && test -s conftest.$ac_objext; then
13925
ac_header_compiler=yes
13927
$as_echo "$as_me: failed program was:" >&5
13928
sed 's/^/| /' conftest.$ac_ext >&5
13930
ac_header_compiler=no
13933
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13934
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13935
$as_echo "$ac_header_compiler" >&6; }
13937
# Is the header present?
13938
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
13939
$as_echo_n "checking $ac_header presence... " >&6; }
13940
cat >conftest.$ac_ext <<_ACEOF
13943
cat confdefs.h >>conftest.$ac_ext
13944
cat >>conftest.$ac_ext <<_ACEOF
13945
/* end confdefs.h. */
13946
#include <$ac_header>
13948
if { (ac_try="$ac_cpp conftest.$ac_ext"
13949
case "(($ac_try" in
13950
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13951
*) ac_try_echo=$ac_try;;
13953
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13954
$as_echo "$ac_try_echo") >&5
13955
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13957
grep -v '^ *+' conftest.er1 >conftest.err
13959
cat conftest.err >&5
13960
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961
(exit $ac_status); } >/dev/null && {
13962
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13963
test ! -s conftest.err
13965
ac_header_preproc=yes
13967
$as_echo "$as_me: failed program was:" >&5
13968
sed 's/^/| /' conftest.$ac_ext >&5
13970
ac_header_preproc=no
13973
rm -f conftest.err conftest.$ac_ext
13974
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13975
$as_echo "$ac_header_preproc" >&6; }
13977
# So? What about this header?
13978
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13980
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13981
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13982
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13983
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13984
ac_header_preproc=yes
13987
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13988
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13989
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13990
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13991
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13992
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13993
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13994
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13995
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13996
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13997
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13998
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14000
## ---------------------------------------- ##
14001
## Report this to http://bugzilla.xfce.org/ ##
14002
## ---------------------------------------- ##
14004
) | sed "s/^/$as_me: WARNING: /" >&2
14007
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
14008
$as_echo_n "checking for $ac_header... " >&6; }
14009
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14010
$as_echo_n "(cached) " >&6
14012
eval "$as_ac_Header=\$ac_header_preproc"
14014
ac_res=`eval 'as_val=${'$as_ac_Header'}
14015
$as_echo "$as_val"'`
14016
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14017
$as_echo "$ac_res" >&6; }
14020
as_val=`eval 'as_val=${'$as_ac_Header'}
14021
$as_echo "$as_val"'`
14022
if test "x$as_val" = x""yes; then
12271
ALL_LINGUAS="ast ca cs da de el es et eu fi fr gl id it ja nb nl pt_BR pt ru sv tr uk ur ur_PK zh_CN "
12273
for ac_header in locale.h
12275
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12276
if test "x$ac_cv_header_locale_h" = x""yes; then :
14023
12277
cat >>confdefs.h <<_ACEOF
14024
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12278
#define HAVE_LOCALE_H 1
14104
if test "${ac_cv_header_libintl_h+set}" = set; then
14105
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14106
$as_echo_n "checking for libintl.h... " >&6; }
14107
if test "${ac_cv_header_libintl_h+set}" = set; then
14108
$as_echo_n "(cached) " >&6
14110
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14111
$as_echo "$ac_cv_header_libintl_h" >&6; }
14113
# Is the header compilable?
14114
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
14115
$as_echo_n "checking libintl.h usability... " >&6; }
14116
cat >conftest.$ac_ext <<_ACEOF
14119
cat confdefs.h >>conftest.$ac_ext
14120
cat >>conftest.$ac_ext <<_ACEOF
14121
/* end confdefs.h. */
14122
$ac_includes_default
14123
#include <libintl.h>
14125
rm -f conftest.$ac_objext
14126
if { (ac_try="$ac_compile"
14127
case "(($ac_try" in
14128
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14129
*) ac_try_echo=$ac_try;;
14131
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14132
$as_echo "$ac_try_echo") >&5
14133
(eval "$ac_compile") 2>conftest.er1
14135
grep -v '^ *+' conftest.er1 >conftest.err
14137
cat conftest.err >&5
14138
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139
(exit $ac_status); } && {
14140
test -z "$ac_c_werror_flag" ||
14141
test ! -s conftest.err
14142
} && test -s conftest.$ac_objext; then
14143
ac_header_compiler=yes
14145
$as_echo "$as_me: failed program was:" >&5
14146
sed 's/^/| /' conftest.$ac_ext >&5
14148
ac_header_compiler=no
14151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14152
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14153
$as_echo "$ac_header_compiler" >&6; }
14155
# Is the header present?
14156
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
14157
$as_echo_n "checking libintl.h presence... " >&6; }
14158
cat >conftest.$ac_ext <<_ACEOF
14161
cat confdefs.h >>conftest.$ac_ext
14162
cat >>conftest.$ac_ext <<_ACEOF
14163
/* end confdefs.h. */
14164
#include <libintl.h>
14166
if { (ac_try="$ac_cpp conftest.$ac_ext"
14167
case "(($ac_try" in
14168
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14169
*) ac_try_echo=$ac_try;;
14171
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14172
$as_echo "$ac_try_echo") >&5
14173
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14175
grep -v '^ *+' conftest.er1 >conftest.err
14177
cat conftest.err >&5
14178
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179
(exit $ac_status); } >/dev/null && {
14180
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14181
test ! -s conftest.err
14183
ac_header_preproc=yes
14185
$as_echo "$as_me: failed program was:" >&5
14186
sed 's/^/| /' conftest.$ac_ext >&5
14188
ac_header_preproc=no
14191
rm -f conftest.err conftest.$ac_ext
14192
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14193
$as_echo "$ac_header_preproc" >&6; }
14195
# So? What about this header?
14196
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14198
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14199
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14200
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
14201
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
14202
ac_header_preproc=yes
14205
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
14206
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
14207
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
14208
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
14209
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
14210
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
14211
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
14212
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14213
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
14214
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
14215
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
14216
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
14218
## ---------------------------------------- ##
14219
## Report this to http://bugzilla.xfce.org/ ##
14220
## ---------------------------------------- ##
14222
) | sed "s/^/$as_me: WARNING: /" >&2
14225
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
14226
$as_echo_n "checking for libintl.h... " >&6; }
14227
if test "${ac_cv_header_libintl_h+set}" = set; then
14228
$as_echo_n "(cached) " >&6
14230
ac_cv_header_libintl_h=$ac_header_preproc
14232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
14233
$as_echo "$ac_cv_header_libintl_h" >&6; }
14236
if test "x$ac_cv_header_libintl_h" = x""yes; then
12327
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12328
if test "x$ac_cv_header_libintl_h" = x""yes; then :
14237
12329
gt_cv_func_dgettext_libintl="no"
14238
12330
libintl_extra_libs=""
14241
12333
# First check in libc
14243
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
12335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14244
12336
$as_echo_n "checking for ngettext in libc... " >&6; }
14245
if test "${gt_cv_func_ngettext_libc+set}" = set; then
12337
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
14246
12338
$as_echo_n "(cached) " >&6
14248
cat >conftest.$ac_ext <<_ACEOF
14251
cat confdefs.h >>conftest.$ac_ext
14252
cat >>conftest.$ac_ext <<_ACEOF
12340
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253
12341
/* end confdefs.h. */
14255
12343
#include <libintl.h>
14325
rm -f conftest.$ac_objext conftest$ac_exeext
14326
if { (ac_try="$ac_link"
14327
case "(($ac_try" in
14328
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14329
*) ac_try_echo=$ac_try;;
14331
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14332
$as_echo "$ac_try_echo") >&5
14333
(eval "$ac_link") 2>conftest.er1
14335
grep -v '^ *+' conftest.er1 >conftest.err
14337
cat conftest.err >&5
14338
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339
(exit $ac_status); } && {
14340
test -z "$ac_c_werror_flag" ||
14341
test ! -s conftest.err
14342
} && test -s conftest$ac_exeext && {
14343
test "$cross_compiling" = yes ||
14344
$as_test_x conftest$ac_exeext
12384
if ac_fn_c_try_link "$LINENO"; then :
14346
12385
gt_cv_func_dgettext_libc=yes
14348
$as_echo "$as_me: failed program was:" >&5
14349
sed 's/^/| /' conftest.$ac_ext >&5
14351
gt_cv_func_dgettext_libc=no
14354
rm -rf conftest.dSYM
14355
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14356
conftest$ac_exeext conftest.$ac_ext
14359
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
12387
gt_cv_func_dgettext_libc=no
12389
rm -f core conftest.err conftest.$ac_objext \
12390
conftest$ac_exeext conftest.$ac_ext
12393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14360
12394
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14363
12397
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14365
for ac_func in bind_textdomain_codeset
14367
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14368
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14369
$as_echo_n "checking for $ac_func... " >&6; }
14370
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14371
$as_echo_n "(cached) " >&6
14373
cat >conftest.$ac_ext <<_ACEOF
14376
cat confdefs.h >>conftest.$ac_ext
14377
cat >>conftest.$ac_ext <<_ACEOF
14378
/* end confdefs.h. */
14379
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14380
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14381
#define $ac_func innocuous_$ac_func
14383
/* System header to define __stub macros and hopefully few prototypes,
14384
which can conflict with char $ac_func (); below.
14385
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14386
<limits.h> exists even on freestanding compilers. */
14389
# include <limits.h>
14391
# include <assert.h>
14396
/* Override any GCC internal prototype to avoid an error.
14397
Use char because int might match the return type of a GCC
14398
builtin and then its argument prototype would still apply. */
14403
/* The GNU C library defines this for functions which it implements
14404
to always fail with ENOSYS. Some functions are actually named
14405
something starting with __ and the normal name is an alias. */
14406
#if defined __stub_$ac_func || defined __stub___$ac_func
14413
return $ac_func ();
14418
rm -f conftest.$ac_objext conftest$ac_exeext
14419
if { (ac_try="$ac_link"
14420
case "(($ac_try" in
14421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14422
*) ac_try_echo=$ac_try;;
14424
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14425
$as_echo "$ac_try_echo") >&5
14426
(eval "$ac_link") 2>conftest.er1
14428
grep -v '^ *+' conftest.er1 >conftest.err
14430
cat conftest.err >&5
14431
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432
(exit $ac_status); } && {
14433
test -z "$ac_c_werror_flag" ||
14434
test ! -s conftest.err
14435
} && test -s conftest$ac_exeext && {
14436
test "$cross_compiling" = yes ||
14437
$as_test_x conftest$ac_exeext
14439
eval "$as_ac_var=yes"
14441
$as_echo "$as_me: failed program was:" >&5
14442
sed 's/^/| /' conftest.$ac_ext >&5
14444
eval "$as_ac_var=no"
14447
rm -rf conftest.dSYM
14448
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14449
conftest$ac_exeext conftest.$ac_ext
14451
ac_res=`eval 'as_val=${'$as_ac_var'}
14452
$as_echo "$as_val"'`
14453
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14454
$as_echo "$ac_res" >&6; }
14455
as_val=`eval 'as_val=${'$as_ac_var'}
14456
$as_echo "$as_val"'`
14457
if test "x$as_val" = x""yes; then
12398
for ac_func in bind_textdomain_codeset
12400
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12401
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14458
12402
cat >>confdefs.h <<_ACEOF
14459
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12403
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14835
12634
glib_save_LIBS="$LIBS"
14836
12635
LIBS="$LIBS -lintl $libintl_extra_libs"
14837
12636
unset ac_cv_func_bind_textdomain_codeset
14839
for ac_func in bind_textdomain_codeset
14841
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14842
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14843
$as_echo_n "checking for $ac_func... " >&6; }
14844
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14845
$as_echo_n "(cached) " >&6
14847
cat >conftest.$ac_ext <<_ACEOF
14850
cat confdefs.h >>conftest.$ac_ext
14851
cat >>conftest.$ac_ext <<_ACEOF
14852
/* end confdefs.h. */
14853
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14854
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14855
#define $ac_func innocuous_$ac_func
14857
/* System header to define __stub macros and hopefully few prototypes,
14858
which can conflict with char $ac_func (); below.
14859
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14860
<limits.h> exists even on freestanding compilers. */
14863
# include <limits.h>
14865
# include <assert.h>
14870
/* Override any GCC internal prototype to avoid an error.
14871
Use char because int might match the return type of a GCC
14872
builtin and then its argument prototype would still apply. */
14877
/* The GNU C library defines this for functions which it implements
14878
to always fail with ENOSYS. Some functions are actually named
14879
something starting with __ and the normal name is an alias. */
14880
#if defined __stub_$ac_func || defined __stub___$ac_func
14887
return $ac_func ();
14892
rm -f conftest.$ac_objext conftest$ac_exeext
14893
if { (ac_try="$ac_link"
14894
case "(($ac_try" in
14895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14896
*) ac_try_echo=$ac_try;;
14898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14899
$as_echo "$ac_try_echo") >&5
14900
(eval "$ac_link") 2>conftest.er1
14902
grep -v '^ *+' conftest.er1 >conftest.err
14904
cat conftest.err >&5
14905
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906
(exit $ac_status); } && {
14907
test -z "$ac_c_werror_flag" ||
14908
test ! -s conftest.err
14909
} && test -s conftest$ac_exeext && {
14910
test "$cross_compiling" = yes ||
14911
$as_test_x conftest$ac_exeext
14913
eval "$as_ac_var=yes"
14915
$as_echo "$as_me: failed program was:" >&5
14916
sed 's/^/| /' conftest.$ac_ext >&5
14918
eval "$as_ac_var=no"
14921
rm -rf conftest.dSYM
14922
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14923
conftest$ac_exeext conftest.$ac_ext
14925
ac_res=`eval 'as_val=${'$as_ac_var'}
14926
$as_echo "$as_val"'`
14927
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14928
$as_echo "$ac_res" >&6; }
14929
as_val=`eval 'as_val=${'$as_ac_var'}
14930
$as_echo "$as_val"'`
14931
if test "x$as_val" = x""yes; then
12637
for ac_func in bind_textdomain_codeset
12639
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12640
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14932
12641
cat >>confdefs.h <<_ACEOF
14933
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12642
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14994
12701
MSGFMT="$ac_cv_path_MSGFMT"
14995
12702
if test "$MSGFMT" != "no"; then
14996
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12703
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14997
12704
$as_echo "$MSGFMT" >&6; }
14999
{ $as_echo "$as_me:$LINENO: result: no" >&5
12706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15000
12707
$as_echo "no" >&6; }
15002
12709
if test "$MSGFMT" != "no"; then
15003
12710
glib_save_LIBS="$LIBS"
15004
12711
LIBS="$LIBS $INTLLIBS"
15006
for ac_func in dcgettext
15008
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15009
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15010
$as_echo_n "checking for $ac_func... " >&6; }
15011
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15012
$as_echo_n "(cached) " >&6
15014
cat >conftest.$ac_ext <<_ACEOF
15017
cat confdefs.h >>conftest.$ac_ext
15018
cat >>conftest.$ac_ext <<_ACEOF
15019
/* end confdefs.h. */
15020
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15021
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15022
#define $ac_func innocuous_$ac_func
15024
/* System header to define __stub macros and hopefully few prototypes,
15025
which can conflict with char $ac_func (); below.
15026
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15027
<limits.h> exists even on freestanding compilers. */
15030
# include <limits.h>
15032
# include <assert.h>
15037
/* Override any GCC internal prototype to avoid an error.
15038
Use char because int might match the return type of a GCC
15039
builtin and then its argument prototype would still apply. */
15044
/* The GNU C library defines this for functions which it implements
15045
to always fail with ENOSYS. Some functions are actually named
15046
something starting with __ and the normal name is an alias. */
15047
#if defined __stub_$ac_func || defined __stub___$ac_func
15054
return $ac_func ();
15059
rm -f conftest.$ac_objext conftest$ac_exeext
15060
if { (ac_try="$ac_link"
15061
case "(($ac_try" in
15062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15063
*) ac_try_echo=$ac_try;;
15065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15066
$as_echo "$ac_try_echo") >&5
15067
(eval "$ac_link") 2>conftest.er1
15069
grep -v '^ *+' conftest.er1 >conftest.err
15071
cat conftest.err >&5
15072
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073
(exit $ac_status); } && {
15074
test -z "$ac_c_werror_flag" ||
15075
test ! -s conftest.err
15076
} && test -s conftest$ac_exeext && {
15077
test "$cross_compiling" = yes ||
15078
$as_test_x conftest$ac_exeext
15080
eval "$as_ac_var=yes"
15082
$as_echo "$as_me: failed program was:" >&5
15083
sed 's/^/| /' conftest.$ac_ext >&5
15085
eval "$as_ac_var=no"
15088
rm -rf conftest.dSYM
15089
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15090
conftest$ac_exeext conftest.$ac_ext
15092
ac_res=`eval 'as_val=${'$as_ac_var'}
15093
$as_echo "$as_val"'`
15094
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15095
$as_echo "$ac_res" >&6; }
15096
as_val=`eval 'as_val=${'$as_ac_var'}
15097
$as_echo "$as_val"'`
15098
if test "x$as_val" = x""yes; then
12712
for ac_func in dcgettext
12714
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12715
if test "x$ac_cv_func_dcgettext" = x""yes; then :
15099
12716
cat >>confdefs.h <<_ACEOF
15100
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12717
#define HAVE_DCGETTEXT 1
15107
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
12724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15108
12725
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15109
12726
cat >conftest.foo <<_ACEOF
15228
rm -f conftest.$ac_objext conftest$ac_exeext
15229
if { (ac_try="$ac_link"
15230
case "(($ac_try" in
15231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15232
*) ac_try_echo=$ac_try;;
15234
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15235
$as_echo "$ac_try_echo") >&5
15236
(eval "$ac_link") 2>conftest.er1
15238
grep -v '^ *+' conftest.er1 >conftest.err
15240
cat conftest.err >&5
15241
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15242
(exit $ac_status); } && {
15243
test -z "$ac_c_werror_flag" ||
15244
test ! -s conftest.err
15245
} && test -s conftest$ac_exeext && {
15246
test "$cross_compiling" = yes ||
15247
$as_test_x conftest$ac_exeext
12841
if ac_fn_c_try_link "$LINENO"; then :
15249
12842
CATOBJEXT=.gmo
15250
12843
DATADIRNAME=share
15252
$as_echo "$as_me: failed program was:" >&5
15253
sed 's/^/| /' conftest.$ac_ext >&5
15256
12846
*-*-solaris*)
15257
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15258
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15259
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15260
$as_echo_n "(cached) " >&6
15262
cat >conftest.$ac_ext <<_ACEOF
15265
cat confdefs.h >>conftest.$ac_ext
15266
cat >>conftest.$ac_ext <<_ACEOF
15267
/* end confdefs.h. */
15268
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15269
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15270
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15272
/* System header to define __stub macros and hopefully few prototypes,
15273
which can conflict with char bind_textdomain_codeset (); below.
15274
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15275
<limits.h> exists even on freestanding compilers. */
15278
# include <limits.h>
15280
# include <assert.h>
15283
#undef bind_textdomain_codeset
15285
/* Override any GCC internal prototype to avoid an error.
15286
Use char because int might match the return type of a GCC
15287
builtin and then its argument prototype would still apply. */
15291
char bind_textdomain_codeset ();
15292
/* The GNU C library defines this for functions which it implements
15293
to always fail with ENOSYS. Some functions are actually named
15294
something starting with __ and the normal name is an alias. */
15295
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15302
return bind_textdomain_codeset ();
15307
rm -f conftest.$ac_objext conftest$ac_exeext
15308
if { (ac_try="$ac_link"
15309
case "(($ac_try" in
15310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15311
*) ac_try_echo=$ac_try;;
15313
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15314
$as_echo "$ac_try_echo") >&5
15315
(eval "$ac_link") 2>conftest.er1
15317
grep -v '^ *+' conftest.er1 >conftest.err
15319
cat conftest.err >&5
15320
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15321
(exit $ac_status); } && {
15322
test -z "$ac_c_werror_flag" ||
15323
test ! -s conftest.err
15324
} && test -s conftest$ac_exeext && {
15325
test "$cross_compiling" = yes ||
15326
$as_test_x conftest$ac_exeext
15328
ac_cv_func_bind_textdomain_codeset=yes
15330
$as_echo "$as_me: failed program was:" >&5
15331
sed 's/^/| /' conftest.$ac_ext >&5
15333
ac_cv_func_bind_textdomain_codeset=no
15336
rm -rf conftest.dSYM
15337
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15338
conftest$ac_exeext conftest.$ac_ext
15340
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15341
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15342
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
12847
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12848
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15343
12849
CATOBJEXT=.gmo
15344
12850
DATADIRNAME=share
15472
12974
< $srcdir/po/POTFILES.in > po/POTFILES
15475
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
15476
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
15477
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
15478
$as_echo_n "(cached) " >&6
15480
cat >conftest.$ac_ext <<_ACEOF
15483
cat confdefs.h >>conftest.$ac_ext
15484
cat >>conftest.$ac_ext <<_ACEOF
15485
/* end confdefs.h. */
15486
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
15487
For example, HP-UX 11i <limits.h> declares gettimeofday. */
15488
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
15490
/* System header to define __stub macros and hopefully few prototypes,
15491
which can conflict with char bind_textdomain_codeset (); below.
15492
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15493
<limits.h> exists even on freestanding compilers. */
15496
# include <limits.h>
15498
# include <assert.h>
15501
#undef bind_textdomain_codeset
15503
/* Override any GCC internal prototype to avoid an error.
15504
Use char because int might match the return type of a GCC
15505
builtin and then its argument prototype would still apply. */
15509
char bind_textdomain_codeset ();
15510
/* The GNU C library defines this for functions which it implements
15511
to always fail with ENOSYS. Some functions are actually named
15512
something starting with __ and the normal name is an alias. */
15513
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
15520
return bind_textdomain_codeset ();
15525
rm -f conftest.$ac_objext conftest$ac_exeext
15526
if { (ac_try="$ac_link"
15527
case "(($ac_try" in
15528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529
*) ac_try_echo=$ac_try;;
15531
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15532
$as_echo "$ac_try_echo") >&5
15533
(eval "$ac_link") 2>conftest.er1
15535
grep -v '^ *+' conftest.er1 >conftest.err
15537
cat conftest.err >&5
15538
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539
(exit $ac_status); } && {
15540
test -z "$ac_c_werror_flag" ||
15541
test ! -s conftest.err
15542
} && test -s conftest$ac_exeext && {
15543
test "$cross_compiling" = yes ||
15544
$as_test_x conftest$ac_exeext
15546
ac_cv_func_bind_textdomain_codeset=yes
15548
$as_echo "$as_me: failed program was:" >&5
15549
sed 's/^/| /' conftest.$ac_ext >&5
15551
ac_cv_func_bind_textdomain_codeset=no
15554
rm -rf conftest.dSYM
15555
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15556
conftest$ac_exeext conftest.$ac_ext
15558
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
15559
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
15562
{ $as_echo "$as_me:$LINENO: checking for locales directory" >&5
12977
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12978
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5
15563
12984
$as_echo_n "checking for locales directory... " >&6; }
15565
12986
# Check whether --with-locales-dir was given.
15566
if test "${with_locales_dir+set}" = set; then
12987
if test "${with_locales_dir+set}" = set; then :
15567
12988
withval=$with_locales_dir; localedir=$withval
17879
15129
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17880
15130
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17881
15131
# will be set to the directory where LIBOBJS objects are built.
17882
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17883
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15132
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15133
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17885
15135
LIBOBJS=$ac_libobjs
17887
15137
LTLIBOBJS=$ac_ltlibobjs
15140
if test -n "$EXEEXT"; then
15142
am__EXEEXT_FALSE='#'
15144
am__EXEEXT_TRUE='#'
17890
15148
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17891
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
17892
Usually this means the macro was only invoked conditionally." >&5
17893
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
17894
Usually this means the macro was only invoked conditionally." >&2;}
17895
{ (exit 1); exit 1; }; }
15149
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
15150
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17897
15152
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17898
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
17899
Usually this means the macro was only invoked conditionally." >&5
17900
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
17901
Usually this means the macro was only invoked conditionally." >&2;}
17902
{ (exit 1); exit 1; }; }
17904
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17905
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17906
Usually this means the macro was only invoked conditionally." >&5
17907
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17908
Usually this means the macro was only invoked conditionally." >&2;}
17909
{ (exit 1); exit 1; }; }
17911
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17912
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
17913
Usually this means the macro was only invoked conditionally." >&5
17914
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
17915
Usually this means the macro was only invoked conditionally." >&2;}
17916
{ (exit 1); exit 1; }; }
15153
as_fn_error "conditional \"AMDEP\" was never defined.
15154
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15156
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15157
as_fn_error "conditional \"am__fastdepCC\" was never defined.
15158
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15160
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15161
as_fn_error "conditional \"am__fastdepCC\" was never defined.
15162
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17919
15165
ac_config_commands="$ac_config_commands po/stamp-it"
17922
15168
if test -z "${BUILD_PANEL_PLUGINS_TRUE}" && test -z "${BUILD_PANEL_PLUGINS_FALSE}"; then
17923
{ { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_PANEL_PLUGINS\" was never defined.
17924
Usually this means the macro was only invoked conditionally." >&5
17925
$as_echo "$as_me: error: conditional \"BUILD_PANEL_PLUGINS\" was never defined.
17926
Usually this means the macro was only invoked conditionally." >&2;}
17927
{ (exit 1); exit 1; }; }
15169
as_fn_error "conditional \"BUILD_PANEL_PLUGINS\" was never defined.
15170
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17929
15172
if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
17930
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XSLTPROC\" was never defined.
17931
Usually this means the macro was only invoked conditionally." >&5
17932
$as_echo "$as_me: error: conditional \"HAVE_XSLTPROC\" was never defined.
17933
Usually this means the macro was only invoked conditionally." >&2;}
17934
{ (exit 1); exit 1; }; }
15173
as_fn_error "conditional \"HAVE_XSLTPROC\" was never defined.
15174
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17936
15176
if test -z "${ENABLE_XML2PO_TRUE}" && test -z "${ENABLE_XML2PO_FALSE}"; then
17937
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_XML2PO\" was never defined.
17938
Usually this means the macro was only invoked conditionally." >&5
17939
$as_echo "$as_me: error: conditional \"ENABLE_XML2PO\" was never defined.
17940
Usually this means the macro was only invoked conditionally." >&2;}
17941
{ (exit 1); exit 1; }; }
15177
as_fn_error "conditional \"ENABLE_XML2PO\" was never defined.
15178
Usually this means the macro was only invoked conditionally." "$LINENO" 5
17944
15181
: ${CONFIG_STATUS=./config.status}
17945
15182
ac_write_fail=0
17946
15183
ac_clean_files_save=$ac_clean_files
17947
15184
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17948
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15185
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17949
15186
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17950
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15188
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17952
15190
# Generated by $as_me.
17953
15191
# Run this file to recreate the current configuration.