134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
173
136
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
175
176
as_have_required=yes
177
178
as_have_required=no
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
188
test -z "$as_dir" && as_dir=.
247
192
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
365
220
export CONFIG_SHELL
366
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1858
1811
test -n "$ac_init_help" && exit $ac_status
1859
1812
if $ac_init_version; then
1861
gnome-power-manager configure 2.29.1
1862
generated by GNU Autoconf 2.63
1814
gnome-power-manager configure 2.29.2
1815
generated by GNU Autoconf 2.65
1864
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1865
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1817
Copyright (C) 2009 Free Software Foundation, Inc.
1866
1818
This configure script is free software; the Free Software Foundation
1867
1819
gives unlimited permission to copy, distribute and modify it.
1824
## ------------------------ ##
1825
## Autoconf initialization. ##
1826
## ------------------------ ##
1828
# ac_fn_c_try_compile LINENO
1829
# --------------------------
1830
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1831
ac_fn_c_try_compile ()
1833
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834
rm -f conftest.$ac_objext
1835
if { { ac_try="$ac_compile"
1837
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838
*) ac_try_echo=$ac_try;;
1840
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841
$as_echo "$ac_try_echo"; } >&5
1842
(eval "$ac_compile") 2>conftest.err
1844
if test -s conftest.err; then
1845
grep -v '^ *+' conftest.err >conftest.er1
1846
cat conftest.er1 >&5
1847
mv -f conftest.er1 conftest.err
1849
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850
test $ac_status = 0; } && {
1851
test -z "$ac_c_werror_flag" ||
1852
test ! -s conftest.err
1853
} && test -s conftest.$ac_objext; then :
1856
$as_echo "$as_me: failed program was:" >&5
1857
sed 's/^/| /' conftest.$ac_ext >&5
1861
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862
as_fn_set_status $ac_retval
1864
} # ac_fn_c_try_compile
1866
# ac_fn_c_try_link LINENO
1867
# -----------------------
1868
# Try to link conftest.$ac_ext, and return whether this succeeded.
1871
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872
rm -f conftest.$ac_objext conftest$ac_exeext
1873
if { { ac_try="$ac_link"
1875
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1876
*) ac_try_echo=$ac_try;;
1878
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879
$as_echo "$ac_try_echo"; } >&5
1880
(eval "$ac_link") 2>conftest.err
1882
if test -s conftest.err; then
1883
grep -v '^ *+' conftest.err >conftest.er1
1884
cat conftest.er1 >&5
1885
mv -f conftest.er1 conftest.err
1887
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888
test $ac_status = 0; } && {
1889
test -z "$ac_c_werror_flag" ||
1890
test ! -s conftest.err
1891
} && test -s conftest$ac_exeext && {
1892
test "$cross_compiling" = yes ||
1893
$as_test_x conftest$ac_exeext
1897
$as_echo "$as_me: failed program was:" >&5
1898
sed 's/^/| /' conftest.$ac_ext >&5
1902
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1903
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1904
# interfere with the next link command; also delete a directory that is
1905
# left behind by Apple's compiler. We do this before executing the actions.
1906
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1907
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1908
as_fn_set_status $ac_retval
1910
} # ac_fn_c_try_link
1912
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1913
# -------------------------------------------------------
1914
# Tests whether HEADER exists and can be compiled using the include files in
1915
# INCLUDES, setting the cache variable VAR accordingly.
1916
ac_fn_c_check_header_compile ()
1918
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1920
$as_echo_n "checking for $2... " >&6; }
1921
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1922
$as_echo_n "(cached) " >&6
1924
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1925
/* end confdefs.h. */
1929
if ac_fn_c_try_compile "$LINENO"; then :
1934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1938
$as_echo "$ac_res" >&6; }
1939
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1941
} # ac_fn_c_check_header_compile
1943
# ac_fn_c_try_cpp LINENO
1944
# ----------------------
1945
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1948
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949
if { { ac_try="$ac_cpp conftest.$ac_ext"
1951
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1952
*) ac_try_echo=$ac_try;;
1954
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1955
$as_echo "$ac_try_echo"; } >&5
1956
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1958
if test -s conftest.err; then
1959
grep -v '^ *+' conftest.err >conftest.er1
1960
cat conftest.er1 >&5
1961
mv -f conftest.er1 conftest.err
1963
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1964
test $ac_status = 0; } >/dev/null && {
1965
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1966
test ! -s conftest.err
1970
$as_echo "$as_me: failed program was:" >&5
1971
sed 's/^/| /' conftest.$ac_ext >&5
1975
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1976
as_fn_set_status $ac_retval
1980
# ac_fn_c_try_run LINENO
1981
# ----------------------
1982
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1983
# that executables *can* be run.
1986
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1987
if { { ac_try="$ac_link"
1989
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1990
*) ac_try_echo=$ac_try;;
1992
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1993
$as_echo "$ac_try_echo"; } >&5
1994
(eval "$ac_link") 2>&5
1996
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1998
{ { case "(($ac_try" in
1999
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2000
*) ac_try_echo=$ac_try;;
2002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2003
$as_echo "$ac_try_echo"; } >&5
2004
(eval "$ac_try") 2>&5
2006
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007
test $ac_status = 0; }; }; then :
2010
$as_echo "$as_me: program exited with status $ac_status" >&5
2011
$as_echo "$as_me: failed program was:" >&5
2012
sed 's/^/| /' conftest.$ac_ext >&5
2014
ac_retval=$ac_status
2016
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2018
as_fn_set_status $ac_retval
2022
# ac_fn_c_check_func LINENO FUNC VAR
2023
# ----------------------------------
2024
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2025
ac_fn_c_check_func ()
2027
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2029
$as_echo_n "checking for $2... " >&6; }
2030
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2031
$as_echo_n "(cached) " >&6
2033
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2034
/* end confdefs.h. */
2035
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2036
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2037
#define $2 innocuous_$2
2039
/* System header to define __stub macros and hopefully few prototypes,
2040
which can conflict with char $2 (); below.
2041
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2042
<limits.h> exists even on freestanding compilers. */
2045
# include <limits.h>
2047
# include <assert.h>
2052
/* Override any GCC internal prototype to avoid an error.
2053
Use char because int might match the return type of a GCC
2054
builtin and then its argument prototype would still apply. */
2059
/* The GNU C library defines this for functions which it implements
2060
to always fail with ENOSYS. Some functions are actually named
2061
something starting with __ and the normal name is an alias. */
2062
#if defined __stub_$2 || defined __stub___$2
2074
if ac_fn_c_try_link "$LINENO"; then :
2079
rm -f core conftest.err conftest.$ac_objext \
2080
conftest$ac_exeext conftest.$ac_ext
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2084
$as_echo "$ac_res" >&6; }
2085
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2087
} # ac_fn_c_check_func
2089
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2090
# -------------------------------------------------------
2091
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2092
# the include files in INCLUDES and setting the cache variable VAR
2094
ac_fn_c_check_header_mongrel ()
2096
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2097
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099
$as_echo_n "checking for $2... " >&6; }
2100
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2101
$as_echo_n "(cached) " >&6
2104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105
$as_echo "$ac_res" >&6; }
2107
# Is the header compilable?
2108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2109
$as_echo_n "checking $2 usability... " >&6; }
2110
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2111
/* end confdefs.h. */
2115
if ac_fn_c_try_compile "$LINENO"; then :
2116
ac_header_compiler=yes
2118
ac_header_compiler=no
2120
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2122
$as_echo "$ac_header_compiler" >&6; }
2124
# Is the header present?
2125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2126
$as_echo_n "checking $2 presence... " >&6; }
2127
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128
/* end confdefs.h. */
2131
if ac_fn_c_try_cpp "$LINENO"; then :
2132
ac_header_preproc=yes
2134
ac_header_preproc=no
2136
rm -f conftest.err conftest.$ac_ext
2137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2138
$as_echo "$ac_header_preproc" >&6; }
2140
# So? What about this header?
2141
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2143
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2144
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2145
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2146
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2150
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2152
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2153
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2154
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2155
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2156
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2157
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2158
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2162
$as_echo_n "checking for $2... " >&6; }
2163
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2164
$as_echo_n "(cached) " >&6
2166
eval "$3=\$ac_header_compiler"
2169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170
$as_echo "$ac_res" >&6; }
2172
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2174
} # ac_fn_c_check_header_mongrel
2176
# ac_fn_c_check_decl LINENO SYMBOL VAR
2177
# ------------------------------------
2178
# Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2179
ac_fn_c_check_decl ()
2181
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2183
$as_echo_n "checking whether $2 is declared... " >&6; }
2184
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2185
$as_echo_n "(cached) " >&6
2187
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2188
/* end confdefs.h. */
2201
if ac_fn_c_try_compile "$LINENO"; then :
2206
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2210
$as_echo "$ac_res" >&6; }
2211
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2213
} # ac_fn_c_check_decl
1871
2214
cat >config.log <<_ACEOF
1872
2215
This file contains any messages produced by compilers while
1873
2216
running configure, to aid debugging if configure makes a mistake.
1875
It was created by gnome-power-manager $as_me 2.29.1, which was
1876
generated by GNU Autoconf 2.63. Invocation command line was
2218
It was created by gnome-power-manager $as_me 2.29.2, which was
2219
generated by GNU Autoconf 2.65. Invocation command line was
3145
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3445
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3146
3446
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3147
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3148
See \`config.log' for more details." >&5
3149
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3150
See \`config.log' for more details." >&2;}
3151
{ (exit 1); exit 1; }; }; }
3447
as_fn_error "no acceptable C compiler found in \$PATH
3448
See \`config.log' for more details." "$LINENO" 5; }
3153
3450
# Provide some information about the compiler.
3154
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3451
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3155
3452
set X $ac_compile
3157
{ (ac_try="$ac_compiler --version >&5"
3159
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160
*) ac_try_echo=$ac_try;;
3162
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3163
$as_echo "$ac_try_echo") >&5
3164
(eval "$ac_compiler --version >&5") 2>&5
3166
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3167
(exit $ac_status); }
3168
{ (ac_try="$ac_compiler -v >&5"
3170
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171
*) ac_try_echo=$ac_try;;
3173
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3174
$as_echo "$ac_try_echo") >&5
3175
(eval "$ac_compiler -v >&5") 2>&5
3177
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178
(exit $ac_status); }
3179
{ (ac_try="$ac_compiler -V >&5"
3181
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3182
*) ac_try_echo=$ac_try;;
3184
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3185
$as_echo "$ac_try_echo") >&5
3186
(eval "$ac_compiler -V >&5") 2>&5
3188
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189
(exit $ac_status); }
3454
for ac_option in --version -v -V -qversion; do
3455
{ { ac_try="$ac_compiler $ac_option >&5"
3457
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3458
*) ac_try_echo=$ac_try;;
3460
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3461
$as_echo "$ac_try_echo"; } >&5
3462
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3464
if test -s conftest.err; then
3466
... rest of stderr output deleted ...
3467
10q' conftest.err >conftest.er1
3468
cat conftest.er1 >&5
3470
rm -f conftest.er1 conftest.err
3471
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472
test $ac_status = 0; }
3191
cat >conftest.$ac_ext <<_ACEOF
3194
cat confdefs.h >>conftest.$ac_ext
3195
cat >>conftest.$ac_ext <<_ACEOF
3475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196
3476
/* end confdefs.h. */
3554
if test -z "$ac_file"; then :
3555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556
$as_echo "no" >&6; }
3557
$as_echo "$as_me: failed program was:" >&5
3558
sed 's/^/| /' conftest.$ac_ext >&5
3275
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3560
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3561
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3562
{ as_fn_set_status 77
3563
as_fn_error "C compiler cannot create executables
3564
See \`config.log' for more details." "$LINENO" 5; }; }
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3567
$as_echo "yes" >&6; }
3569
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3570
$as_echo_n "checking for C compiler default output file name... " >&6; }
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3276
3572
$as_echo "$ac_file" >&6; }
3277
if test -z "$ac_file"; then
3278
$as_echo "$as_me: failed program was:" >&5
3279
sed 's/^/| /' conftest.$ac_ext >&5
3281
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3282
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3283
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3284
See \`config.log' for more details." >&5
3285
$as_echo "$as_me: error: C compiler cannot create executables
3286
See \`config.log' for more details." >&2;}
3287
{ (exit 77); exit 77; }; }; }
3290
3573
ac_exeext=$ac_cv_exeext
3292
# Check that the compiler produces executables we can run. If not, either
3293
# the compiler is broken, or we cross compile.
3294
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3295
$as_echo_n "checking whether the C compiler works... " >&6; }
3296
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3297
# If not cross compiling, check that we can run a simple program.
3298
if test "$cross_compiling" != yes; then
3299
if { ac_try='./$ac_file'
3300
{ (case "(($ac_try" in
3301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
*) ac_try_echo=$ac_try;;
3304
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3305
$as_echo "$ac_try_echo") >&5
3306
(eval "$ac_try") 2>&5
3308
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309
(exit $ac_status); }; }; then
3312
if test "$cross_compiling" = maybe; then
3315
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3318
If you meant to cross compile, use \`--host'.
3319
See \`config.log' for more details." >&5
3320
$as_echo "$as_me: error: cannot run C compiled programs.
3321
If you meant to cross compile, use \`--host'.
3322
See \`config.log' for more details." >&2;}
3323
{ (exit 1); exit 1; }; }; }
3327
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3328
$as_echo "yes" >&6; }
3330
3575
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3331
3576
ac_clean_files=$ac_clean_files_save
3332
# Check that the compiler produces executables we can run. If not, either
3333
# the compiler is broken, or we cross compile.
3334
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3335
$as_echo_n "checking whether we are cross compiling... " >&6; }
3336
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3337
$as_echo "$cross_compiling" >&6; }
3339
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3340
3578
$as_echo_n "checking for suffix of executables... " >&6; }
3341
if { (ac_try="$ac_link"
3579
if { { ac_try="$ac_link"
3342
3580
case "(($ac_try" in
3343
3581
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344
3582
*) ac_try_echo=$ac_try;;
3346
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3347
$as_echo "$ac_try_echo") >&5
3584
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3585
$as_echo "$ac_try_echo"; } >&5
3348
3586
(eval "$ac_link") 2>&5
3350
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351
(exit $ac_status); }; then
3588
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3589
test $ac_status = 0; }; then :
3352
3590
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3353
3591
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3354
3592
# work properly (i.e., refer to `conftest.exe'), while it won't with
3366
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3604
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3367
3605
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3368
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3369
See \`config.log' for more details." >&5
3370
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3371
See \`config.log' for more details." >&2;}
3372
{ (exit 1); exit 1; }; }; }
3606
as_fn_error "cannot compute suffix of executables: cannot compile and link
3607
See \`config.log' for more details." "$LINENO" 5; }
3375
rm -f conftest$ac_cv_exeext
3376
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3609
rm -f conftest conftest$ac_cv_exeext
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3377
3611
$as_echo "$ac_cv_exeext" >&6; }
3379
3613
rm -f conftest.$ac_ext
3380
3614
EXEEXT=$ac_cv_exeext
3381
3615
ac_exeext=$EXEEXT
3382
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617
/* end confdefs.h. */
3622
FILE *f = fopen ("conftest.out", "w");
3623
return ferror (f) || fclose (f) != 0;
3629
ac_clean_files="$ac_clean_files conftest.out"
3630
# Check that the compiler produces executables we can run. If not, either
3631
# the compiler is broken, or we cross compile.
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3633
$as_echo_n "checking whether we are cross compiling... " >&6; }
3634
if test "$cross_compiling" != yes; then
3635
{ { ac_try="$ac_link"
3637
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3638
*) ac_try_echo=$ac_try;;
3640
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3641
$as_echo "$ac_try_echo"; } >&5
3642
(eval "$ac_link") 2>&5
3644
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645
test $ac_status = 0; }
3646
if { ac_try='./conftest$ac_cv_exeext'
3647
{ { case "(($ac_try" in
3648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649
*) ac_try_echo=$ac_try;;
3651
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3652
$as_echo "$ac_try_echo"; } >&5
3653
(eval "$ac_try") 2>&5
3655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3656
test $ac_status = 0; }; }; then
3659
if test "$cross_compiling" = maybe; then
3662
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3663
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3664
as_fn_error "cannot run C compiled programs.
3665
If you meant to cross compile, use \`--host'.
3666
See \`config.log' for more details." "$LINENO" 5; }
3670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3671
$as_echo "$cross_compiling" >&6; }
3673
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3674
ac_clean_files=$ac_clean_files_save
3675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3383
3676
$as_echo_n "checking for suffix of object files... " >&6; }
3384
if test "${ac_cv_objext+set}" = set; then
3677
if test "${ac_cv_objext+set}" = set; then :
3385
3678
$as_echo_n "(cached) " >&6
3387
cat >conftest.$ac_ext <<_ACEOF
3390
cat confdefs.h >>conftest.$ac_ext
3391
cat >>conftest.$ac_ext <<_ACEOF
3680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3392
3681
/* end confdefs.h. */
4125
4279
# existing .o file with -o, though they will create one.
4126
4280
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4127
4281
rm -f conftest2.*
4128
if { (case "(($ac_try" in
4129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4130
*) ac_try_echo=$ac_try;;
4132
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4133
$as_echo "$ac_try_echo") >&5
4134
(eval "$ac_try") 2>&5
4136
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137
(exit $ac_status); } &&
4138
test -f conftest2.$ac_objext && { (case "(($ac_try" in
4139
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4140
*) ac_try_echo=$ac_try;;
4142
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4143
$as_echo "$ac_try_echo") >&5
4144
(eval "$ac_try") 2>&5
4146
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147
(exit $ac_status); };
4282
if { { case "(($ac_try" in
4283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4284
*) ac_try_echo=$ac_try;;
4286
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4287
$as_echo "$ac_try_echo"; } >&5
4288
(eval "$ac_try") 2>&5
4290
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4291
test $ac_status = 0; } &&
4292
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4293
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294
*) ac_try_echo=$ac_try;;
4296
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4297
$as_echo "$ac_try_echo"; } >&5
4298
(eval "$ac_try") 2>&5
4300
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4301
test $ac_status = 0; };
4149
4303
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4150
4304
if test "x$CC" != xcc; then
4151
4305
# Test first that cc exists at all.
4152
4306
if { ac_try='cc -c conftest.$ac_ext >&5'
4153
{ (case "(($ac_try" in
4307
{ { case "(($ac_try" in
4154
4308
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4155
4309
*) ac_try_echo=$ac_try;;
4157
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4158
$as_echo "$ac_try_echo") >&5
4311
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312
$as_echo "$ac_try_echo"; } >&5
4159
4313
(eval "$ac_try") 2>&5
4161
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162
(exit $ac_status); }; }; then
4315
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316
test $ac_status = 0; }; }; then
4163
4317
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4164
4318
rm -f conftest2.*
4165
if { (case "(($ac_try" in
4166
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4167
*) ac_try_echo=$ac_try;;
4169
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4170
$as_echo "$ac_try_echo") >&5
4171
(eval "$ac_try") 2>&5
4173
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174
(exit $ac_status); } &&
4175
test -f conftest2.$ac_objext && { (case "(($ac_try" in
4176
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177
*) ac_try_echo=$ac_try;;
4179
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4180
$as_echo "$ac_try_echo") >&5
4181
(eval "$ac_try") 2>&5
4183
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184
(exit $ac_status); };
4319
if { { case "(($ac_try" in
4320
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321
*) ac_try_echo=$ac_try;;
4323
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4324
$as_echo "$ac_try_echo"; } >&5
4325
(eval "$ac_try") 2>&5
4327
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4328
test $ac_status = 0; } &&
4329
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4330
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4331
*) ac_try_echo=$ac_try;;
4333
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4334
$as_echo "$ac_try_echo"; } >&5
4335
(eval "$ac_try") 2>&5
4337
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4338
test $ac_status = 0; };
4186
4340
# cc works too.
4229
# Find a good install program. We prefer a C program (faster),
4230
# so one script is as good as another. But avoid the broken or
4231
# incompatible versions:
4232
# SysV /etc/install, /usr/sbin/install
4233
# SunOS /usr/etc/install
4234
# IRIX /sbin/install
4236
# AmigaOS /C/install, which installs bootblocks on floppy discs
4237
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4238
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4239
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4240
# OS/2's system install, which has a completely different semantic
4241
# ./install, which can be erroneously created by make from ./install.sh.
4242
# Reject install programs that cannot install multiple files.
4243
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4244
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4245
if test -z "$INSTALL"; then
4246
if test "${ac_cv_path_install+set}" = set; then
4247
$as_echo_n "(cached) " >&6
4249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253
test -z "$as_dir" && as_dir=.
4254
# Account for people who put trailing slashes in PATH elements.
4256
./ | .// | /cC/* | \
4257
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4258
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4261
# OSF1 and SCO ODT 3.0 have their own names for install.
4262
# Don't use installbsd from OSF since it installs stuff as root
4264
for ac_prog in ginstall scoinst install; do
4265
for ac_exec_ext in '' $ac_executable_extensions; do
4266
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4267
if test $ac_prog = install &&
4268
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4269
# AIX install. It has an incompatible calling convention.
4271
elif test $ac_prog = install &&
4272
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4273
# program-specific install script used by HP pwplus--don't use.
4276
rm -rf conftest.one conftest.two conftest.dir
4277
echo one > conftest.one
4278
echo two > conftest.two
4280
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4281
test -s conftest.one && test -s conftest.two &&
4282
test -s conftest.dir/conftest.one &&
4283
test -s conftest.dir/conftest.two
4285
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4298
rm -rf conftest.one conftest.two conftest.dir
4301
if test "${ac_cv_path_install+set}" = set; then
4302
INSTALL=$ac_cv_path_install
4304
# As a last resort, use the slow shell script. Don't cache a
4305
# value for INSTALL within a source directory, because that will
4306
# break other packages using the cache if that directory is
4307
# removed, or if the value is a relative name.
4308
INSTALL=$ac_install_sh
4311
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
4312
$as_echo "$INSTALL" >&6; }
4314
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4315
# It thinks the first close brace ends the variable substitution.
4316
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4318
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4320
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4324
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4325
4385
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7188
if { (ac_try="$ac_cpp conftest.$ac_ext"
7190
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7191
*) ac_try_echo=$ac_try;;
7193
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7194
$as_echo "$ac_try_echo") >&5
7195
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7197
grep -v '^ *+' conftest.er1 >conftest.err
7199
cat conftest.err >&5
7200
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201
(exit $ac_status); } >/dev/null && {
7202
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7203
test ! -s conftest.err
7116
if ac_fn_c_try_cpp "$LINENO"; then :
7207
$as_echo "$as_me: failed program was:" >&5
7208
sed 's/^/| /' conftest.$ac_ext >&5
7210
7119
# Broken: fails on valid input.
7214
7122
rm -f conftest.err conftest.$ac_ext
7216
7124
# OK, works on sane cases. Now check whether nonexistent headers
7217
7125
# can be detected and how.
7218
cat >conftest.$ac_ext <<_ACEOF
7221
cat confdefs.h >>conftest.$ac_ext
7222
cat >>conftest.$ac_ext <<_ACEOF
7126
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223
7127
/* end confdefs.h. */
7224
7128
#include <ac_nonexistent.h>
7226
if { (ac_try="$ac_cpp conftest.$ac_ext"
7228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7229
*) ac_try_echo=$ac_try;;
7231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7232
$as_echo "$ac_try_echo") >&5
7233
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7235
grep -v '^ *+' conftest.er1 >conftest.err
7237
cat conftest.err >&5
7238
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7239
(exit $ac_status); } >/dev/null && {
7240
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7241
test ! -s conftest.err
7130
if ac_fn_c_try_cpp "$LINENO"; then :
7243
7131
# Broken: success on invalid input.
7246
$as_echo "$as_me: failed program was:" >&5
7247
sed 's/^/| /' conftest.$ac_ext >&5
7249
7134
# Passes both tests.
7250
7135
ac_preproc_ok=:
7254
7138
rm -f conftest.err conftest.$ac_ext
7257
7141
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7258
7142
rm -f conftest.err conftest.$ac_ext
7259
if $ac_preproc_ok; then
7143
if $ac_preproc_ok; then :
7262
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7146
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7263
7147
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7264
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7265
See \`config.log' for more details." >&5
7266
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7267
See \`config.log' for more details." >&2;}
7268
{ (exit 1); exit 1; }; }; }
7148
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7149
See \`config.log' for more details." "$LINENO" 5; }
7408
rm -f conftest$ac_exeext
7409
if { (ac_try="$ac_link"
7411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7412
*) ac_try_echo=$ac_try;;
7414
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7415
$as_echo "$ac_try_echo") >&5
7416
(eval "$ac_link") 2>&5
7418
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7420
{ (case "(($ac_try" in
7421
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7422
*) ac_try_echo=$ac_try;;
7424
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7425
$as_echo "$ac_try_echo") >&5
7426
(eval "$ac_try") 2>&5
7428
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7429
(exit $ac_status); }; }; then
7252
if ac_fn_c_try_run "$LINENO"; then :
7432
$as_echo "$as_me: program exited with status $ac_status" >&5
7433
$as_echo "$as_me: failed program was:" >&5
7434
sed 's/^/| /' conftest.$ac_ext >&5
7437
ac_cv_header_stdc=no
7439
rm -rf conftest.dSYM
7440
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7446
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7255
ac_cv_header_stdc=no
7257
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7258
conftest.$ac_objext conftest.beam conftest.$ac_ext
7263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7447
7264
$as_echo "$ac_cv_header_stdc" >&6; }
7448
7265
if test $ac_cv_header_stdc = yes; then
7450
cat >>confdefs.h <<\_ACEOF
7451
#define STDC_HEADERS 1
7267
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7456
7271
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7466
7272
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7467
7273
inttypes.h stdint.h unistd.h
7469
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7470
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7471
$as_echo_n "checking for $ac_header... " >&6; }
7472
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7473
$as_echo_n "(cached) " >&6
7475
cat >conftest.$ac_ext <<_ACEOF
7478
cat confdefs.h >>conftest.$ac_ext
7479
cat >>conftest.$ac_ext <<_ACEOF
7480
/* end confdefs.h. */
7481
$ac_includes_default
7483
#include <$ac_header>
7485
rm -f conftest.$ac_objext
7486
if { (ac_try="$ac_compile"
7488
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7489
*) ac_try_echo=$ac_try;;
7491
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7492
$as_echo "$ac_try_echo") >&5
7493
(eval "$ac_compile") 2>conftest.er1
7495
grep -v '^ *+' conftest.er1 >conftest.err
7497
cat conftest.err >&5
7498
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499
(exit $ac_status); } && {
7500
test -z "$ac_c_werror_flag" ||
7501
test ! -s conftest.err
7502
} && test -s conftest.$ac_objext; then
7503
eval "$as_ac_Header=yes"
7505
$as_echo "$as_me: failed program was:" >&5
7506
sed 's/^/| /' conftest.$ac_ext >&5
7508
eval "$as_ac_Header=no"
7511
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7513
ac_res=`eval 'as_val=${'$as_ac_Header'}
7514
$as_echo "$as_val"'`
7515
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7516
$as_echo "$ac_res" >&6; }
7517
as_val=`eval 'as_val=${'$as_ac_Header'}
7518
$as_echo "$as_val"'`
7519
if test "x$as_val" = x""yes; then
7275
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7276
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7278
eval as_val=\$$as_ac_Header
7279
if test "x$as_val" = x""yes; then :
7520
7280
cat >>confdefs.h <<_ACEOF
7521
7281
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10900
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10901
$as_echo_n "checking for shl_load... " >&6; }
10902
if test "${ac_cv_func_shl_load+set}" = set; then
10903
$as_echo_n "(cached) " >&6
10905
cat >conftest.$ac_ext <<_ACEOF
10908
cat confdefs.h >>conftest.$ac_ext
10909
cat >>conftest.$ac_ext <<_ACEOF
10910
/* end confdefs.h. */
10911
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10912
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10913
#define shl_load innocuous_shl_load
10915
/* System header to define __stub macros and hopefully few prototypes,
10916
which can conflict with char shl_load (); below.
10917
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10918
<limits.h> exists even on freestanding compilers. */
10921
# include <limits.h>
10923
# include <assert.h>
10928
/* Override any GCC internal prototype to avoid an error.
10929
Use char because int might match the return type of a GCC
10930
builtin and then its argument prototype would still apply. */
10935
/* The GNU C library defines this for functions which it implements
10936
to always fail with ENOSYS. Some functions are actually named
10937
something starting with __ and the normal name is an alias. */
10938
#if defined __stub_shl_load || defined __stub___shl_load
10945
return shl_load ();
10950
rm -f conftest.$ac_objext conftest$ac_exeext
10951
if { (ac_try="$ac_link"
10952
case "(($ac_try" in
10953
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10954
*) ac_try_echo=$ac_try;;
10956
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10957
$as_echo "$ac_try_echo") >&5
10958
(eval "$ac_link") 2>conftest.er1
10960
grep -v '^ *+' conftest.er1 >conftest.err
10962
cat conftest.err >&5
10963
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964
(exit $ac_status); } && {
10965
test -z "$ac_c_werror_flag" ||
10966
test ! -s conftest.err
10967
} && test -s conftest$ac_exeext && {
10968
test "$cross_compiling" = yes ||
10969
$as_test_x conftest$ac_exeext
10971
ac_cv_func_shl_load=yes
10973
$as_echo "$as_me: failed program was:" >&5
10974
sed 's/^/| /' conftest.$ac_ext >&5
10976
ac_cv_func_shl_load=no
10979
rm -rf conftest.dSYM
10980
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10981
conftest$ac_exeext conftest.$ac_ext
10983
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10984
$as_echo "$ac_cv_func_shl_load" >&6; }
10985
if test "x$ac_cv_func_shl_load" = x""yes; then
10462
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10463
if test "x$ac_cv_func_shl_load" = x""yes; then :
10986
10464
lt_cv_dlopen="shl_load"
10988
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10989
10467
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10990
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10468
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10991
10469
$as_echo_n "(cached) " >&6
10993
10471
ac_check_lib_save_LIBS=$LIBS
10994
10472
LIBS="-ldld $LIBS"
10995
cat >conftest.$ac_ext <<_ACEOF
10998
cat confdefs.h >>conftest.$ac_ext
10999
cat >>conftest.$ac_ext <<_ACEOF
10473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000
10474
/* end confdefs.h. */
11002
10476
/* Override any GCC internal prototype to avoid an error.
11017
rm -f conftest.$ac_objext conftest$ac_exeext
11018
if { (ac_try="$ac_link"
11019
case "(($ac_try" in
11020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021
*) ac_try_echo=$ac_try;;
11023
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11024
$as_echo "$ac_try_echo") >&5
11025
(eval "$ac_link") 2>conftest.er1
11027
grep -v '^ *+' conftest.er1 >conftest.err
11029
cat conftest.err >&5
11030
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031
(exit $ac_status); } && {
11032
test -z "$ac_c_werror_flag" ||
11033
test ! -s conftest.err
11034
} && test -s conftest$ac_exeext && {
11035
test "$cross_compiling" = yes ||
11036
$as_test_x conftest$ac_exeext
10491
if ac_fn_c_try_link "$LINENO"; then :
11038
10492
ac_cv_lib_dld_shl_load=yes
11040
$as_echo "$as_me: failed program was:" >&5
11041
sed 's/^/| /' conftest.$ac_ext >&5
11043
ac_cv_lib_dld_shl_load=no
10494
ac_cv_lib_dld_shl_load=no
11046
rm -rf conftest.dSYM
11047
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11048
conftest$ac_exeext conftest.$ac_ext
10496
rm -f core conftest.err conftest.$ac_objext \
10497
conftest$ac_exeext conftest.$ac_ext
11049
10498
LIBS=$ac_check_lib_save_LIBS
11051
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11052
10501
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11053
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10502
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11054
10503
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11056
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11057
$as_echo_n "checking for dlopen... " >&6; }
11058
if test "${ac_cv_func_dlopen+set}" = set; then
11059
$as_echo_n "(cached) " >&6
11061
cat >conftest.$ac_ext <<_ACEOF
11064
cat confdefs.h >>conftest.$ac_ext
11065
cat >>conftest.$ac_ext <<_ACEOF
11066
/* end confdefs.h. */
11067
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11068
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11069
#define dlopen innocuous_dlopen
11071
/* System header to define __stub macros and hopefully few prototypes,
11072
which can conflict with char dlopen (); below.
11073
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11074
<limits.h> exists even on freestanding compilers. */
11077
# include <limits.h>
11079
# include <assert.h>
11084
/* Override any GCC internal prototype to avoid an error.
11085
Use char because int might match the return type of a GCC
11086
builtin and then its argument prototype would still apply. */
11091
/* The GNU C library defines this for functions which it implements
11092
to always fail with ENOSYS. Some functions are actually named
11093
something starting with __ and the normal name is an alias. */
11094
#if defined __stub_dlopen || defined __stub___dlopen
11106
rm -f conftest.$ac_objext conftest$ac_exeext
11107
if { (ac_try="$ac_link"
11108
case "(($ac_try" in
11109
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11110
*) ac_try_echo=$ac_try;;
11112
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11113
$as_echo "$ac_try_echo") >&5
11114
(eval "$ac_link") 2>conftest.er1
11116
grep -v '^ *+' conftest.er1 >conftest.err
11118
cat conftest.err >&5
11119
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11120
(exit $ac_status); } && {
11121
test -z "$ac_c_werror_flag" ||
11122
test ! -s conftest.err
11123
} && test -s conftest$ac_exeext && {
11124
test "$cross_compiling" = yes ||
11125
$as_test_x conftest$ac_exeext
11127
ac_cv_func_dlopen=yes
11129
$as_echo "$as_me: failed program was:" >&5
11130
sed 's/^/| /' conftest.$ac_ext >&5
11132
ac_cv_func_dlopen=no
11135
rm -rf conftest.dSYM
11136
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11137
conftest$ac_exeext conftest.$ac_ext
11139
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11140
$as_echo "$ac_cv_func_dlopen" >&6; }
11141
if test "x$ac_cv_func_dlopen" = x""yes; then
10505
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10506
if test "x$ac_cv_func_dlopen" = x""yes; then :
11142
10507
lt_cv_dlopen="dlopen"
11144
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11145
10510
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11146
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10511
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11147
10512
$as_echo_n "(cached) " >&6
11149
10514
ac_check_lib_save_LIBS=$LIBS
11150
10515
LIBS="-ldl $LIBS"
11151
cat >conftest.$ac_ext <<_ACEOF
11154
cat confdefs.h >>conftest.$ac_ext
11155
cat >>conftest.$ac_ext <<_ACEOF
10516
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156
10517
/* end confdefs.h. */
11158
10519
/* Override any GCC internal prototype to avoid an error.
12270
rm -f conftest.$ac_objext conftest$ac_exeext
12271
if { (ac_try="$ac_link"
12272
case "(($ac_try" in
12273
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12274
*) ac_try_echo=$ac_try;;
12276
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12277
$as_echo "$ac_try_echo") >&5
12278
(eval "$ac_link") 2>conftest.er1
12280
grep -v '^ *+' conftest.er1 >conftest.err
12282
cat conftest.err >&5
12283
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12284
(exit $ac_status); } && {
12285
test -z "$ac_c_werror_flag" ||
12286
test ! -s conftest.err
12287
} && test -s conftest$ac_exeext && {
12288
test "$cross_compiling" = yes ||
12289
$as_test_x conftest$ac_exeext
11528
if ac_fn_c_try_link "$LINENO"; then :
12291
11529
DATADIRNAME=share
12293
$as_echo "$as_me: failed program was:" >&5
12294
sed 's/^/| /' conftest.$ac_ext >&5
12297
11532
*-*-solaris*)
12298
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12299
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12300
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12301
$as_echo_n "(cached) " >&6
12303
cat >conftest.$ac_ext <<_ACEOF
12306
cat confdefs.h >>conftest.$ac_ext
12307
cat >>conftest.$ac_ext <<_ACEOF
12308
/* end confdefs.h. */
12309
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12310
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12311
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12313
/* System header to define __stub macros and hopefully few prototypes,
12314
which can conflict with char bind_textdomain_codeset (); below.
12315
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12316
<limits.h> exists even on freestanding compilers. */
12319
# include <limits.h>
12321
# include <assert.h>
12324
#undef bind_textdomain_codeset
12326
/* Override any GCC internal prototype to avoid an error.
12327
Use char because int might match the return type of a GCC
12328
builtin and then its argument prototype would still apply. */
12332
char bind_textdomain_codeset ();
12333
/* The GNU C library defines this for functions which it implements
12334
to always fail with ENOSYS. Some functions are actually named
12335
something starting with __ and the normal name is an alias. */
12336
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12343
return bind_textdomain_codeset ();
12348
rm -f conftest.$ac_objext conftest$ac_exeext
12349
if { (ac_try="$ac_link"
12350
case "(($ac_try" in
12351
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12352
*) ac_try_echo=$ac_try;;
12354
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12355
$as_echo "$ac_try_echo") >&5
12356
(eval "$ac_link") 2>conftest.er1
12358
grep -v '^ *+' conftest.er1 >conftest.err
12360
cat conftest.err >&5
12361
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362
(exit $ac_status); } && {
12363
test -z "$ac_c_werror_flag" ||
12364
test ! -s conftest.err
12365
} && test -s conftest$ac_exeext && {
12366
test "$cross_compiling" = yes ||
12367
$as_test_x conftest$ac_exeext
12369
ac_cv_func_bind_textdomain_codeset=yes
12371
$as_echo "$as_me: failed program was:" >&5
12372
sed 's/^/| /' conftest.$ac_ext >&5
12374
ac_cv_func_bind_textdomain_codeset=no
12377
rm -rf conftest.dSYM
12378
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12379
conftest$ac_exeext conftest.$ac_ext
12381
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12382
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12383
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
11533
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11534
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
12384
11535
DATADIRNAME=share
12386
11537
DATADIRNAME=lib
12854
11974
GETTEXT_PACKAGE=gnome-power-manager
12857
cat >>confdefs.h <<\_ACEOF
12858
#define GETTEXT_PACKAGE "gnome-power-manager"
12864
for ac_header in locale.h
12866
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12867
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12868
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12869
$as_echo_n "checking for $ac_header... " >&6; }
12870
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12871
$as_echo_n "(cached) " >&6
12873
ac_res=`eval 'as_val=${'$as_ac_Header'}
12874
$as_echo "$as_val"'`
12875
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12876
$as_echo "$ac_res" >&6; }
12878
# Is the header compilable?
12879
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12880
$as_echo_n "checking $ac_header usability... " >&6; }
12881
cat >conftest.$ac_ext <<_ACEOF
12884
cat confdefs.h >>conftest.$ac_ext
12885
cat >>conftest.$ac_ext <<_ACEOF
12886
/* end confdefs.h. */
12887
$ac_includes_default
12888
#include <$ac_header>
12890
rm -f conftest.$ac_objext
12891
if { (ac_try="$ac_compile"
12892
case "(($ac_try" in
12893
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894
*) ac_try_echo=$ac_try;;
12896
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12897
$as_echo "$ac_try_echo") >&5
12898
(eval "$ac_compile") 2>conftest.er1
12900
grep -v '^ *+' conftest.er1 >conftest.err
12902
cat conftest.err >&5
12903
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904
(exit $ac_status); } && {
12905
test -z "$ac_c_werror_flag" ||
12906
test ! -s conftest.err
12907
} && test -s conftest.$ac_objext; then
12908
ac_header_compiler=yes
12910
$as_echo "$as_me: failed program was:" >&5
12911
sed 's/^/| /' conftest.$ac_ext >&5
12913
ac_header_compiler=no
12916
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12917
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12918
$as_echo "$ac_header_compiler" >&6; }
12920
# Is the header present?
12921
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12922
$as_echo_n "checking $ac_header presence... " >&6; }
12923
cat >conftest.$ac_ext <<_ACEOF
12926
cat confdefs.h >>conftest.$ac_ext
12927
cat >>conftest.$ac_ext <<_ACEOF
12928
/* end confdefs.h. */
12929
#include <$ac_header>
12931
if { (ac_try="$ac_cpp conftest.$ac_ext"
12932
case "(($ac_try" in
12933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12934
*) ac_try_echo=$ac_try;;
12936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12937
$as_echo "$ac_try_echo") >&5
12938
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12940
grep -v '^ *+' conftest.er1 >conftest.err
12942
cat conftest.err >&5
12943
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944
(exit $ac_status); } >/dev/null && {
12945
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12946
test ! -s conftest.err
12948
ac_header_preproc=yes
12950
$as_echo "$as_me: failed program was:" >&5
12951
sed 's/^/| /' conftest.$ac_ext >&5
12953
ac_header_preproc=no
12956
rm -f conftest.err conftest.$ac_ext
12957
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12958
$as_echo "$ac_header_preproc" >&6; }
12960
# So? What about this header?
12961
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12963
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12964
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12965
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12966
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12967
ac_header_preproc=yes
12970
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12971
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12972
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12973
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12974
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12975
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12976
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12977
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12978
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12979
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12980
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12981
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12985
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12986
$as_echo_n "checking for $ac_header... " >&6; }
12987
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12988
$as_echo_n "(cached) " >&6
12990
eval "$as_ac_Header=\$ac_header_preproc"
12992
ac_res=`eval 'as_val=${'$as_ac_Header'}
12993
$as_echo "$as_val"'`
12994
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12995
$as_echo "$ac_res" >&6; }
12998
as_val=`eval 'as_val=${'$as_ac_Header'}
12999
$as_echo "$as_val"'`
13000
if test "x$as_val" = x""yes; then
11977
$as_echo "#define GETTEXT_PACKAGE \"gnome-power-manager\"" >>confdefs.h
11981
for ac_header in locale.h
11983
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11984
if test "x$ac_cv_header_locale_h" = x""yes; then :
13001
11985
cat >>confdefs.h <<_ACEOF
13002
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11986
#define HAVE_LOCALE_H 1
13082
if test "${ac_cv_header_libintl_h+set}" = set; then
13083
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13084
$as_echo_n "checking for libintl.h... " >&6; }
13085
if test "${ac_cv_header_libintl_h+set}" = set; then
13086
$as_echo_n "(cached) " >&6
13088
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13089
$as_echo "$ac_cv_header_libintl_h" >&6; }
13091
# Is the header compilable?
13092
{ $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
13093
$as_echo_n "checking libintl.h usability... " >&6; }
13094
cat >conftest.$ac_ext <<_ACEOF
13097
cat confdefs.h >>conftest.$ac_ext
13098
cat >>conftest.$ac_ext <<_ACEOF
13099
/* end confdefs.h. */
13100
$ac_includes_default
13101
#include <libintl.h>
13103
rm -f conftest.$ac_objext
13104
if { (ac_try="$ac_compile"
13105
case "(($ac_try" in
13106
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13107
*) ac_try_echo=$ac_try;;
13109
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13110
$as_echo "$ac_try_echo") >&5
13111
(eval "$ac_compile") 2>conftest.er1
13113
grep -v '^ *+' conftest.er1 >conftest.err
13115
cat conftest.err >&5
13116
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117
(exit $ac_status); } && {
13118
test -z "$ac_c_werror_flag" ||
13119
test ! -s conftest.err
13120
} && test -s conftest.$ac_objext; then
13121
ac_header_compiler=yes
13123
$as_echo "$as_me: failed program was:" >&5
13124
sed 's/^/| /' conftest.$ac_ext >&5
13126
ac_header_compiler=no
13129
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13130
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13131
$as_echo "$ac_header_compiler" >&6; }
13133
# Is the header present?
13134
{ $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
13135
$as_echo_n "checking libintl.h presence... " >&6; }
13136
cat >conftest.$ac_ext <<_ACEOF
13139
cat confdefs.h >>conftest.$ac_ext
13140
cat >>conftest.$ac_ext <<_ACEOF
13141
/* end confdefs.h. */
13142
#include <libintl.h>
13144
if { (ac_try="$ac_cpp conftest.$ac_ext"
13145
case "(($ac_try" in
13146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13147
*) ac_try_echo=$ac_try;;
13149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13150
$as_echo "$ac_try_echo") >&5
13151
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13153
grep -v '^ *+' conftest.er1 >conftest.err
13155
cat conftest.err >&5
13156
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157
(exit $ac_status); } >/dev/null && {
13158
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13159
test ! -s conftest.err
13161
ac_header_preproc=yes
13163
$as_echo "$as_me: failed program was:" >&5
13164
sed 's/^/| /' conftest.$ac_ext >&5
13166
ac_header_preproc=no
13169
rm -f conftest.err conftest.$ac_ext
13170
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13171
$as_echo "$ac_header_preproc" >&6; }
13173
# So? What about this header?
13174
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13176
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
13177
$as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13178
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
13179
$as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
13180
ac_header_preproc=yes
13183
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
13184
$as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
13185
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
13186
$as_echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
13187
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
13188
$as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
13189
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
13190
$as_echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
13191
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
13192
$as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
13193
{ $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
13194
$as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
13198
{ $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
13199
$as_echo_n "checking for libintl.h... " >&6; }
13200
if test "${ac_cv_header_libintl_h+set}" = set; then
13201
$as_echo_n "(cached) " >&6
13203
ac_cv_header_libintl_h=$ac_header_preproc
13205
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
13206
$as_echo "$ac_cv_header_libintl_h" >&6; }
13209
if test "x$ac_cv_header_libintl_h" = x""yes; then
12035
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12036
if test "x$ac_cv_header_libintl_h" = x""yes; then :
13210
12037
gt_cv_func_dgettext_libintl="no"
13211
12038
libintl_extra_libs=""
13214
12041
# First check in libc
13216
{ $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
13217
12044
$as_echo_n "checking for ngettext in libc... " >&6; }
13218
if test "${gt_cv_func_ngettext_libc+set}" = set; then
12045
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
13219
12046
$as_echo_n "(cached) " >&6
13221
cat >conftest.$ac_ext <<_ACEOF
13224
cat confdefs.h >>conftest.$ac_ext
13225
cat >>conftest.$ac_ext <<_ACEOF
12048
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13226
12049
/* end confdefs.h. */
13228
12051
#include <libintl.h>
13298
rm -f conftest.$ac_objext conftest$ac_exeext
13299
if { (ac_try="$ac_link"
13300
case "(($ac_try" in
13301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13302
*) ac_try_echo=$ac_try;;
13304
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13305
$as_echo "$ac_try_echo") >&5
13306
(eval "$ac_link") 2>conftest.er1
13308
grep -v '^ *+' conftest.er1 >conftest.err
13310
cat conftest.err >&5
13311
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312
(exit $ac_status); } && {
13313
test -z "$ac_c_werror_flag" ||
13314
test ! -s conftest.err
13315
} && test -s conftest$ac_exeext && {
13316
test "$cross_compiling" = yes ||
13317
$as_test_x conftest$ac_exeext
12092
if ac_fn_c_try_link "$LINENO"; then :
13319
12093
gt_cv_func_dgettext_libc=yes
13321
$as_echo "$as_me: failed program was:" >&5
13322
sed 's/^/| /' conftest.$ac_ext >&5
13324
gt_cv_func_dgettext_libc=no
13327
rm -rf conftest.dSYM
13328
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13329
conftest$ac_exeext conftest.$ac_ext
13332
{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
12095
gt_cv_func_dgettext_libc=no
12097
rm -f core conftest.err conftest.$ac_objext \
12098
conftest$ac_exeext conftest.$ac_ext
12101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
13333
12102
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
13336
12105
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
13338
for ac_func in bind_textdomain_codeset
13340
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13341
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13342
$as_echo_n "checking for $ac_func... " >&6; }
13343
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13344
$as_echo_n "(cached) " >&6
13346
cat >conftest.$ac_ext <<_ACEOF
13349
cat confdefs.h >>conftest.$ac_ext
13350
cat >>conftest.$ac_ext <<_ACEOF
13351
/* end confdefs.h. */
13352
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13353
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13354
#define $ac_func innocuous_$ac_func
13356
/* System header to define __stub macros and hopefully few prototypes,
13357
which can conflict with char $ac_func (); below.
13358
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13359
<limits.h> exists even on freestanding compilers. */
13362
# include <limits.h>
13364
# include <assert.h>
13369
/* Override any GCC internal prototype to avoid an error.
13370
Use char because int might match the return type of a GCC
13371
builtin and then its argument prototype would still apply. */
13376
/* The GNU C library defines this for functions which it implements
13377
to always fail with ENOSYS. Some functions are actually named
13378
something starting with __ and the normal name is an alias. */
13379
#if defined __stub_$ac_func || defined __stub___$ac_func
13386
return $ac_func ();
13391
rm -f conftest.$ac_objext conftest$ac_exeext
13392
if { (ac_try="$ac_link"
13393
case "(($ac_try" in
13394
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13395
*) ac_try_echo=$ac_try;;
13397
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13398
$as_echo "$ac_try_echo") >&5
13399
(eval "$ac_link") 2>conftest.er1
13401
grep -v '^ *+' conftest.er1 >conftest.err
13403
cat conftest.err >&5
13404
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405
(exit $ac_status); } && {
13406
test -z "$ac_c_werror_flag" ||
13407
test ! -s conftest.err
13408
} && test -s conftest$ac_exeext && {
13409
test "$cross_compiling" = yes ||
13410
$as_test_x conftest$ac_exeext
13412
eval "$as_ac_var=yes"
13414
$as_echo "$as_me: failed program was:" >&5
13415
sed 's/^/| /' conftest.$ac_ext >&5
13417
eval "$as_ac_var=no"
13420
rm -rf conftest.dSYM
13421
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13422
conftest$ac_exeext conftest.$ac_ext
13424
ac_res=`eval 'as_val=${'$as_ac_var'}
13425
$as_echo "$as_val"'`
13426
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13427
$as_echo "$ac_res" >&6; }
13428
as_val=`eval 'as_val=${'$as_ac_var'}
13429
$as_echo "$as_val"'`
13430
if test "x$as_val" = x""yes; then
12106
for ac_func in bind_textdomain_codeset
12108
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12109
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13431
12110
cat >>confdefs.h <<_ACEOF
13432
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12111
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13808
12342
glib_save_LIBS="$LIBS"
13809
12343
LIBS="$LIBS -lintl $libintl_extra_libs"
13810
12344
unset ac_cv_func_bind_textdomain_codeset
13812
for ac_func in bind_textdomain_codeset
13814
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13815
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13816
$as_echo_n "checking for $ac_func... " >&6; }
13817
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13818
$as_echo_n "(cached) " >&6
13820
cat >conftest.$ac_ext <<_ACEOF
13823
cat confdefs.h >>conftest.$ac_ext
13824
cat >>conftest.$ac_ext <<_ACEOF
13825
/* end confdefs.h. */
13826
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13827
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13828
#define $ac_func innocuous_$ac_func
13830
/* System header to define __stub macros and hopefully few prototypes,
13831
which can conflict with char $ac_func (); below.
13832
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13833
<limits.h> exists even on freestanding compilers. */
13836
# include <limits.h>
13838
# include <assert.h>
13843
/* Override any GCC internal prototype to avoid an error.
13844
Use char because int might match the return type of a GCC
13845
builtin and then its argument prototype would still apply. */
13850
/* The GNU C library defines this for functions which it implements
13851
to always fail with ENOSYS. Some functions are actually named
13852
something starting with __ and the normal name is an alias. */
13853
#if defined __stub_$ac_func || defined __stub___$ac_func
13860
return $ac_func ();
13865
rm -f conftest.$ac_objext conftest$ac_exeext
13866
if { (ac_try="$ac_link"
13867
case "(($ac_try" in
13868
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869
*) ac_try_echo=$ac_try;;
13871
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13872
$as_echo "$ac_try_echo") >&5
13873
(eval "$ac_link") 2>conftest.er1
13875
grep -v '^ *+' conftest.er1 >conftest.err
13877
cat conftest.err >&5
13878
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879
(exit $ac_status); } && {
13880
test -z "$ac_c_werror_flag" ||
13881
test ! -s conftest.err
13882
} && test -s conftest$ac_exeext && {
13883
test "$cross_compiling" = yes ||
13884
$as_test_x conftest$ac_exeext
13886
eval "$as_ac_var=yes"
13888
$as_echo "$as_me: failed program was:" >&5
13889
sed 's/^/| /' conftest.$ac_ext >&5
13891
eval "$as_ac_var=no"
13894
rm -rf conftest.dSYM
13895
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13896
conftest$ac_exeext conftest.$ac_ext
13898
ac_res=`eval 'as_val=${'$as_ac_var'}
13899
$as_echo "$as_val"'`
13900
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13901
$as_echo "$ac_res" >&6; }
13902
as_val=`eval 'as_val=${'$as_ac_var'}
13903
$as_echo "$as_val"'`
13904
if test "x$as_val" = x""yes; then
12345
for ac_func in bind_textdomain_codeset
12347
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12348
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
13905
12349
cat >>confdefs.h <<_ACEOF
13906
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12350
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13967
12409
MSGFMT="$ac_cv_path_MSGFMT"
13968
12410
if test "$MSGFMT" != "no"; then
13969
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13970
12412
$as_echo "$MSGFMT" >&6; }
13972
{ $as_echo "$as_me:$LINENO: result: no" >&5
12414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13973
12415
$as_echo "no" >&6; }
13975
12417
if test "$MSGFMT" != "no"; then
13976
12418
glib_save_LIBS="$LIBS"
13977
12419
LIBS="$LIBS $INTLLIBS"
13979
for ac_func in dcgettext
13981
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13982
{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13983
$as_echo_n "checking for $ac_func... " >&6; }
13984
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13985
$as_echo_n "(cached) " >&6
13987
cat >conftest.$ac_ext <<_ACEOF
13990
cat confdefs.h >>conftest.$ac_ext
13991
cat >>conftest.$ac_ext <<_ACEOF
13992
/* end confdefs.h. */
13993
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13994
For example, HP-UX 11i <limits.h> declares gettimeofday. */
13995
#define $ac_func innocuous_$ac_func
13997
/* System header to define __stub macros and hopefully few prototypes,
13998
which can conflict with char $ac_func (); below.
13999
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14000
<limits.h> exists even on freestanding compilers. */
14003
# include <limits.h>
14005
# include <assert.h>
14010
/* Override any GCC internal prototype to avoid an error.
14011
Use char because int might match the return type of a GCC
14012
builtin and then its argument prototype would still apply. */
14017
/* The GNU C library defines this for functions which it implements
14018
to always fail with ENOSYS. Some functions are actually named
14019
something starting with __ and the normal name is an alias. */
14020
#if defined __stub_$ac_func || defined __stub___$ac_func
14027
return $ac_func ();
14032
rm -f conftest.$ac_objext conftest$ac_exeext
14033
if { (ac_try="$ac_link"
14034
case "(($ac_try" in
14035
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14036
*) ac_try_echo=$ac_try;;
14038
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14039
$as_echo "$ac_try_echo") >&5
14040
(eval "$ac_link") 2>conftest.er1
14042
grep -v '^ *+' conftest.er1 >conftest.err
14044
cat conftest.err >&5
14045
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14046
(exit $ac_status); } && {
14047
test -z "$ac_c_werror_flag" ||
14048
test ! -s conftest.err
14049
} && test -s conftest$ac_exeext && {
14050
test "$cross_compiling" = yes ||
14051
$as_test_x conftest$ac_exeext
14053
eval "$as_ac_var=yes"
14055
$as_echo "$as_me: failed program was:" >&5
14056
sed 's/^/| /' conftest.$ac_ext >&5
14058
eval "$as_ac_var=no"
14061
rm -rf conftest.dSYM
14062
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14063
conftest$ac_exeext conftest.$ac_ext
14065
ac_res=`eval 'as_val=${'$as_ac_var'}
14066
$as_echo "$as_val"'`
14067
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14068
$as_echo "$ac_res" >&6; }
14069
as_val=`eval 'as_val=${'$as_ac_var'}
14070
$as_echo "$as_val"'`
14071
if test "x$as_val" = x""yes; then
12420
for ac_func in dcgettext
12422
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12423
if test "x$ac_cv_func_dcgettext" = x""yes; then :
14072
12424
cat >>confdefs.h <<_ACEOF
14073
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12425
#define HAVE_DCGETTEXT 1
14080
{ $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
12432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14081
12433
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14082
12434
cat >conftest.foo <<_ACEOF
14201
rm -f conftest.$ac_objext conftest$ac_exeext
14202
if { (ac_try="$ac_link"
14203
case "(($ac_try" in
14204
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14205
*) ac_try_echo=$ac_try;;
14207
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14208
$as_echo "$ac_try_echo") >&5
14209
(eval "$ac_link") 2>conftest.er1
14211
grep -v '^ *+' conftest.er1 >conftest.err
14213
cat conftest.err >&5
14214
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215
(exit $ac_status); } && {
14216
test -z "$ac_c_werror_flag" ||
14217
test ! -s conftest.err
14218
} && test -s conftest$ac_exeext && {
14219
test "$cross_compiling" = yes ||
14220
$as_test_x conftest$ac_exeext
12549
if ac_fn_c_try_link "$LINENO"; then :
14222
12550
CATOBJEXT=.gmo
14223
12551
DATADIRNAME=share
14225
$as_echo "$as_me: failed program was:" >&5
14226
sed 's/^/| /' conftest.$ac_ext >&5
14229
12554
*-*-solaris*)
14230
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
14231
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
14232
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
14233
$as_echo_n "(cached) " >&6
14235
cat >conftest.$ac_ext <<_ACEOF
14238
cat confdefs.h >>conftest.$ac_ext
14239
cat >>conftest.$ac_ext <<_ACEOF
14240
/* end confdefs.h. */
14241
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
14242
For example, HP-UX 11i <limits.h> declares gettimeofday. */
14243
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
14245
/* System header to define __stub macros and hopefully few prototypes,
14246
which can conflict with char bind_textdomain_codeset (); below.
14247
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14248
<limits.h> exists even on freestanding compilers. */
14251
# include <limits.h>
14253
# include <assert.h>
14256
#undef bind_textdomain_codeset
14258
/* Override any GCC internal prototype to avoid an error.
14259
Use char because int might match the return type of a GCC
14260
builtin and then its argument prototype would still apply. */
14264
char bind_textdomain_codeset ();
14265
/* The GNU C library defines this for functions which it implements
14266
to always fail with ENOSYS. Some functions are actually named
14267
something starting with __ and the normal name is an alias. */
14268
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
14275
return bind_textdomain_codeset ();
14280
rm -f conftest.$ac_objext conftest$ac_exeext
14281
if { (ac_try="$ac_link"
14282
case "(($ac_try" in
14283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14284
*) ac_try_echo=$ac_try;;
14286
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14287
$as_echo "$ac_try_echo") >&5
14288
(eval "$ac_link") 2>conftest.er1
14290
grep -v '^ *+' conftest.er1 >conftest.err
14292
cat conftest.err >&5
14293
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294
(exit $ac_status); } && {
14295
test -z "$ac_c_werror_flag" ||
14296
test ! -s conftest.err
14297
} && test -s conftest$ac_exeext && {
14298
test "$cross_compiling" = yes ||
14299
$as_test_x conftest$ac_exeext
14301
ac_cv_func_bind_textdomain_codeset=yes
14303
$as_echo "$as_me: failed program was:" >&5
14304
sed 's/^/| /' conftest.$ac_ext >&5
14306
ac_cv_func_bind_textdomain_codeset=no
14309
rm -rf conftest.dSYM
14310
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14311
conftest$ac_exeext conftest.$ac_ext
14313
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
14314
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
14315
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
12555
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12556
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
14316
12557
CATOBJEXT=.gmo
14317
12558
DATADIRNAME=share
14528
12765
# Put the nasty error message in config.log where it belongs
14529
12766
echo "$GLIB_PKG_ERRORS" >&5
14531
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0) were not met:
14535
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14536
installed software in a non-standard prefix.
14538
Alternatively, you may set the environment variables GLIB_CFLAGS
14539
and GLIB_LIBS to avoid the need to call pkg-config.
14540
See the pkg-config man page for more details.
14542
$as_echo "$as_me: error: Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0) were not met:
14546
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14547
installed software in a non-standard prefix.
14549
Alternatively, you may set the environment variables GLIB_CFLAGS
14550
and GLIB_LIBS to avoid the need to call pkg-config.
14551
See the pkg-config man page for more details.
14553
{ (exit 1); exit 1; }; }
12768
as_fn_error "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0) were not met:
12772
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12773
installed software in a non-standard prefix.
12775
Alternatively, you may set the environment variables GLIB_CFLAGS
12776
and GLIB_LIBS to avoid the need to call pkg-config.
12777
See the pkg-config man page for more details.
14554
12779
elif test $pkg_failed = untried; then
14555
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14556
12781
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14557
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14558
is in your PATH or set the PKG_CONFIG environment variable to the full
14559
path to pkg-config.
14561
Alternatively, you may set the environment variables GLIB_CFLAGS
14562
and GLIB_LIBS to avoid the need to call pkg-config.
14563
See the pkg-config man page for more details.
14565
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14566
See \`config.log' for more details." >&5
14567
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14568
is in your PATH or set the PKG_CONFIG environment variable to the full
14569
path to pkg-config.
14571
Alternatively, you may set the environment variables GLIB_CFLAGS
14572
and GLIB_LIBS to avoid the need to call pkg-config.
14573
See the pkg-config man page for more details.
14575
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14576
See \`config.log' for more details." >&2;}
14577
{ (exit 1); exit 1; }; }; }
12782
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12783
is in your PATH or set the PKG_CONFIG environment variable to the full
12784
path to pkg-config.
12786
Alternatively, you may set the environment variables GLIB_CFLAGS
12787
and GLIB_LIBS to avoid the need to call pkg-config.
12788
See the pkg-config man page for more details.
12790
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12791
See \`config.log' for more details." "$LINENO" 5; }
14579
12793
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
14580
12794
GLIB_LIBS=$pkg_cv_GLIB_LIBS
14581
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14582
12796
$as_echo "yes" >&6; }
14640
12854
# Put the nasty error message in config.log where it belongs
14641
12855
echo "$CANBERRA_PKG_ERRORS" >&5
14643
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libcanberra-gtk >= $CANBERRA_REQUIRED) were not met:
14645
$CANBERRA_PKG_ERRORS
14647
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14648
installed software in a non-standard prefix.
14650
Alternatively, you may set the environment variables CANBERRA_CFLAGS
14651
and CANBERRA_LIBS to avoid the need to call pkg-config.
14652
See the pkg-config man page for more details.
14654
$as_echo "$as_me: error: Package requirements (libcanberra-gtk >= $CANBERRA_REQUIRED) were not met:
14656
$CANBERRA_PKG_ERRORS
14658
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14659
installed software in a non-standard prefix.
14661
Alternatively, you may set the environment variables CANBERRA_CFLAGS
14662
and CANBERRA_LIBS to avoid the need to call pkg-config.
14663
See the pkg-config man page for more details.
14665
{ (exit 1); exit 1; }; }
12857
as_fn_error "Package requirements (libcanberra-gtk >= $CANBERRA_REQUIRED) were not met:
12859
$CANBERRA_PKG_ERRORS
12861
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12862
installed software in a non-standard prefix.
12864
Alternatively, you may set the environment variables CANBERRA_CFLAGS
12865
and CANBERRA_LIBS to avoid the need to call pkg-config.
12866
See the pkg-config man page for more details.
14666
12868
elif test $pkg_failed = untried; then
14667
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12869
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14668
12870
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14669
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14670
is in your PATH or set the PKG_CONFIG environment variable to the full
14671
path to pkg-config.
14673
Alternatively, you may set the environment variables CANBERRA_CFLAGS
14674
and CANBERRA_LIBS to avoid the need to call pkg-config.
14675
See the pkg-config man page for more details.
14677
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14678
See \`config.log' for more details." >&5
14679
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14680
is in your PATH or set the PKG_CONFIG environment variable to the full
14681
path to pkg-config.
14683
Alternatively, you may set the environment variables CANBERRA_CFLAGS
14684
and CANBERRA_LIBS to avoid the need to call pkg-config.
14685
See the pkg-config man page for more details.
14687
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14688
See \`config.log' for more details." >&2;}
14689
{ (exit 1); exit 1; }; }; }
12871
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12872
is in your PATH or set the PKG_CONFIG environment variable to the full
12873
path to pkg-config.
12875
Alternatively, you may set the environment variables CANBERRA_CFLAGS
12876
and CANBERRA_LIBS to avoid the need to call pkg-config.
12877
See the pkg-config man page for more details.
12879
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12880
See \`config.log' for more details." "$LINENO" 5; }
14691
12882
CANBERRA_CFLAGS=$pkg_cv_CANBERRA_CFLAGS
14692
12883
CANBERRA_LIBS=$pkg_cv_CANBERRA_LIBS
14693
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14694
12885
$as_echo "yes" >&6; }
14776
12967
# Put the nasty error message in config.log where it belongs
14777
12968
echo "$DBUS_PKG_ERRORS" >&5
14779
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
14780
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14781
dbus-1 >= $DBUS_REQUIRED
14782
gthread-2.0) were not met:
14786
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14787
installed software in a non-standard prefix.
14789
Alternatively, you may set the environment variables DBUS_CFLAGS
14790
and DBUS_LIBS to avoid the need to call pkg-config.
14791
See the pkg-config man page for more details.
14793
$as_echo "$as_me: error: Package requirements (
14794
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
14795
dbus-1 >= $DBUS_REQUIRED
14796
gthread-2.0) were not met:
14800
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14801
installed software in a non-standard prefix.
14803
Alternatively, you may set the environment variables DBUS_CFLAGS
14804
and DBUS_LIBS to avoid the need to call pkg-config.
14805
See the pkg-config man page for more details.
14807
{ (exit 1); exit 1; }; }
12970
as_fn_error "Package requirements (
12971
dbus-glib-1 >= $DBUS_GLIB_REQUIRED
12972
dbus-1 >= $DBUS_REQUIRED
12973
gthread-2.0) were not met:
12977
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12978
installed software in a non-standard prefix.
12980
Alternatively, you may set the environment variables DBUS_CFLAGS
12981
and DBUS_LIBS to avoid the need to call pkg-config.
12982
See the pkg-config man page for more details.
14808
12984
elif test $pkg_failed = untried; then
14809
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
12985
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14810
12986
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14811
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14812
is in your PATH or set the PKG_CONFIG environment variable to the full
14813
path to pkg-config.
14815
Alternatively, you may set the environment variables DBUS_CFLAGS
14816
and DBUS_LIBS to avoid the need to call pkg-config.
14817
See the pkg-config man page for more details.
14819
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14820
See \`config.log' for more details." >&5
14821
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14822
is in your PATH or set the PKG_CONFIG environment variable to the full
14823
path to pkg-config.
14825
Alternatively, you may set the environment variables DBUS_CFLAGS
14826
and DBUS_LIBS to avoid the need to call pkg-config.
14827
See the pkg-config man page for more details.
14829
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14830
See \`config.log' for more details." >&2;}
14831
{ (exit 1); exit 1; }; }; }
12987
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
12988
is in your PATH or set the PKG_CONFIG environment variable to the full
12989
path to pkg-config.
12991
Alternatively, you may set the environment variables DBUS_CFLAGS
12992
and DBUS_LIBS to avoid the need to call pkg-config.
12993
See the pkg-config man page for more details.
12995
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12996
See \`config.log' for more details." "$LINENO" 5; }
14833
12998
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
14834
12999
DBUS_LIBS=$pkg_cv_DBUS_LIBS
14835
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14836
13001
$as_echo "yes" >&6; }
14934
13099
# Put the nasty error message in config.log where it belongs
14935
13100
echo "$GNOME_PKG_ERRORS" >&5
14937
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
14938
libwnck-1.0 >= $LIBWNCK_REQUIRED
14939
gtk+-2.0 >= $GTK_REQUIRED
14940
gconf-2.0 >= $GCONF_REQUIRED
14941
gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED
14942
cairo >= $CAIRO_REQUIRED) were not met:
14946
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14947
installed software in a non-standard prefix.
14949
Alternatively, you may set the environment variables GNOME_CFLAGS
14950
and GNOME_LIBS to avoid the need to call pkg-config.
14951
See the pkg-config man page for more details.
14953
$as_echo "$as_me: error: Package requirements (
14954
libwnck-1.0 >= $LIBWNCK_REQUIRED
14955
gtk+-2.0 >= $GTK_REQUIRED
14956
gconf-2.0 >= $GCONF_REQUIRED
14957
gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED
14958
cairo >= $CAIRO_REQUIRED) were not met:
14962
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14963
installed software in a non-standard prefix.
14965
Alternatively, you may set the environment variables GNOME_CFLAGS
14966
and GNOME_LIBS to avoid the need to call pkg-config.
14967
See the pkg-config man page for more details.
14969
{ (exit 1); exit 1; }; }
13102
as_fn_error "Package requirements (
13103
libwnck-1.0 >= $LIBWNCK_REQUIRED
13104
gtk+-2.0 >= $GTK_REQUIRED
13105
gconf-2.0 >= $GCONF_REQUIRED
13106
gnome-keyring-1 >= $GNOME_KEYRING_REQUIRED
13107
cairo >= $CAIRO_REQUIRED) were not met:
13111
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13112
installed software in a non-standard prefix.
13114
Alternatively, you may set the environment variables GNOME_CFLAGS
13115
and GNOME_LIBS to avoid the need to call pkg-config.
13116
See the pkg-config man page for more details.
14970
13118
elif test $pkg_failed = untried; then
14971
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13119
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14972
13120
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14973
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
14974
is in your PATH or set the PKG_CONFIG environment variable to the full
14975
path to pkg-config.
14977
Alternatively, you may set the environment variables GNOME_CFLAGS
14978
and GNOME_LIBS to avoid the need to call pkg-config.
14979
See the pkg-config man page for more details.
14981
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14982
See \`config.log' for more details." >&5
14983
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
14984
is in your PATH or set the PKG_CONFIG environment variable to the full
14985
path to pkg-config.
14987
Alternatively, you may set the environment variables GNOME_CFLAGS
14988
and GNOME_LIBS to avoid the need to call pkg-config.
14989
See the pkg-config man page for more details.
14991
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14992
See \`config.log' for more details." >&2;}
14993
{ (exit 1); exit 1; }; }; }
13121
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13122
is in your PATH or set the PKG_CONFIG environment variable to the full
13123
path to pkg-config.
13125
Alternatively, you may set the environment variables GNOME_CFLAGS
13126
and GNOME_LIBS to avoid the need to call pkg-config.
13127
See the pkg-config man page for more details.
13129
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13130
See \`config.log' for more details." "$LINENO" 5; }
14995
13132
GNOME_CFLAGS=$pkg_cv_GNOME_CFLAGS
14996
13133
GNOME_LIBS=$pkg_cv_GNOME_LIBS
14997
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14998
13135
$as_echo "yes" >&6; }
15064
13201
# Put the nasty error message in config.log where it belongs
15065
13202
echo "$PANEL_PKG_ERRORS" >&5
15067
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
15068
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED) were not met:
15072
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15073
installed software in a non-standard prefix.
15075
Alternatively, you may set the environment variables PANEL_CFLAGS
15076
and PANEL_LIBS to avoid the need to call pkg-config.
15077
See the pkg-config man page for more details.
15079
$as_echo "$as_me: error: Package requirements (
15080
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED) were not met:
15084
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15085
installed software in a non-standard prefix.
15087
Alternatively, you may set the environment variables PANEL_CFLAGS
15088
and PANEL_LIBS to avoid the need to call pkg-config.
15089
See the pkg-config man page for more details.
15091
{ (exit 1); exit 1; }; }
13204
as_fn_error "Package requirements (
13205
libpanelapplet-2.0 >= $LIBPANEL_REQUIRED) were not met:
13209
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13210
installed software in a non-standard prefix.
13212
Alternatively, you may set the environment variables PANEL_CFLAGS
13213
and PANEL_LIBS to avoid the need to call pkg-config.
13214
See the pkg-config man page for more details.
15092
13216
elif test $pkg_failed = untried; then
15093
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13217
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15094
13218
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15095
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15096
is in your PATH or set the PKG_CONFIG environment variable to the full
15097
path to pkg-config.
15099
Alternatively, you may set the environment variables PANEL_CFLAGS
15100
and PANEL_LIBS to avoid the need to call pkg-config.
15101
See the pkg-config man page for more details.
15103
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15104
See \`config.log' for more details." >&5
15105
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15106
is in your PATH or set the PKG_CONFIG environment variable to the full
15107
path to pkg-config.
15109
Alternatively, you may set the environment variables PANEL_CFLAGS
15110
and PANEL_LIBS to avoid the need to call pkg-config.
15111
See the pkg-config man page for more details.
15113
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15114
See \`config.log' for more details." >&2;}
15115
{ (exit 1); exit 1; }; }; }
13219
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13220
is in your PATH or set the PKG_CONFIG environment variable to the full
13221
path to pkg-config.
13223
Alternatively, you may set the environment variables PANEL_CFLAGS
13224
and PANEL_LIBS to avoid the need to call pkg-config.
13225
See the pkg-config man page for more details.
13227
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13228
See \`config.log' for more details." "$LINENO" 5; }
15117
13230
PANEL_CFLAGS=$pkg_cv_PANEL_CFLAGS
15118
13231
PANEL_LIBS=$pkg_cv_PANEL_LIBS
15119
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15120
13233
$as_echo "yes" >&6; }
15195
13308
# Put the nasty error message in config.log where it belongs
15196
13309
echo "$GDK_PKG_ERRORS" >&5
15198
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
15199
gdk-2.0 >= $GDK_REQUIRED
15200
gdk-x11-2.0 >= $GDK_REQUIRED) were not met:
15204
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15205
installed software in a non-standard prefix.
15207
Alternatively, you may set the environment variables GDK_CFLAGS
15208
and GDK_LIBS to avoid the need to call pkg-config.
15209
See the pkg-config man page for more details.
15211
$as_echo "$as_me: error: Package requirements (
15212
gdk-2.0 >= $GDK_REQUIRED
15213
gdk-x11-2.0 >= $GDK_REQUIRED) were not met:
15217
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15218
installed software in a non-standard prefix.
15220
Alternatively, you may set the environment variables GDK_CFLAGS
15221
and GDK_LIBS to avoid the need to call pkg-config.
15222
See the pkg-config man page for more details.
15224
{ (exit 1); exit 1; }; }
13311
as_fn_error "Package requirements (
13312
gdk-2.0 >= $GDK_REQUIRED
13313
gdk-x11-2.0 >= $GDK_REQUIRED) were not met:
13317
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13318
installed software in a non-standard prefix.
13320
Alternatively, you may set the environment variables GDK_CFLAGS
13321
and GDK_LIBS to avoid the need to call pkg-config.
13322
See the pkg-config man page for more details.
15225
13324
elif test $pkg_failed = untried; then
15226
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13325
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15227
13326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15228
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15229
is in your PATH or set the PKG_CONFIG environment variable to the full
15230
path to pkg-config.
15232
Alternatively, you may set the environment variables GDK_CFLAGS
15233
and GDK_LIBS to avoid the need to call pkg-config.
15234
See the pkg-config man page for more details.
15236
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15237
See \`config.log' for more details." >&5
15238
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15239
is in your PATH or set the PKG_CONFIG environment variable to the full
15240
path to pkg-config.
15242
Alternatively, you may set the environment variables GDK_CFLAGS
15243
and GDK_LIBS to avoid the need to call pkg-config.
15244
See the pkg-config man page for more details.
15246
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15247
See \`config.log' for more details." >&2;}
15248
{ (exit 1); exit 1; }; }; }
13327
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13328
is in your PATH or set the PKG_CONFIG environment variable to the full
13329
path to pkg-config.
13331
Alternatively, you may set the environment variables GDK_CFLAGS
13332
and GDK_LIBS to avoid the need to call pkg-config.
13333
See the pkg-config man page for more details.
13335
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13336
See \`config.log' for more details." "$LINENO" 5; }
15250
13338
GDK_CFLAGS=$pkg_cv_GDK_CFLAGS
15251
13339
GDK_LIBS=$pkg_cv_GDK_LIBS
15252
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15253
13341
$as_echo "yes" >&6; }
15318
13400
if test $_pkg_short_errors_supported = yes; then
15319
13401
XRANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15320
xrandr >= $XRANDR_REQUIRED
13402
xrandr >= $XRANDR_REQUIRED" 2>&1`
15323
13404
XRANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15324
xrandr >= $XRANDR_REQUIRED
13405
xrandr >= $XRANDR_REQUIRED" 2>&1`
15327
13407
# Put the nasty error message in config.log where it belongs
15328
13408
echo "$XRANDR_PKG_ERRORS" >&5
15330
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
15331
xrandr >= $XRANDR_REQUIRED
15332
xrender x11) were not met:
15336
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15337
installed software in a non-standard prefix.
15339
Alternatively, you may set the environment variables XRANDR_CFLAGS
15340
and XRANDR_LIBS to avoid the need to call pkg-config.
15341
See the pkg-config man page for more details.
15343
$as_echo "$as_me: error: Package requirements (
15344
xrandr >= $XRANDR_REQUIRED
15345
xrender x11) were not met:
15349
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15350
installed software in a non-standard prefix.
15352
Alternatively, you may set the environment variables XRANDR_CFLAGS
15353
and XRANDR_LIBS to avoid the need to call pkg-config.
15354
See the pkg-config man page for more details.
15356
{ (exit 1); exit 1; }; }
13410
as_fn_error "Package requirements (
13411
xrandr >= $XRANDR_REQUIRED) were not met:
13415
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13416
installed software in a non-standard prefix.
13418
Alternatively, you may set the environment variables XRANDR_CFLAGS
13419
and XRANDR_LIBS to avoid the need to call pkg-config.
13420
See the pkg-config man page for more details.
15357
13422
elif test $pkg_failed = untried; then
15358
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13423
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15359
13424
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15360
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15361
is in your PATH or set the PKG_CONFIG environment variable to the full
15362
path to pkg-config.
15364
Alternatively, you may set the environment variables XRANDR_CFLAGS
15365
and XRANDR_LIBS to avoid the need to call pkg-config.
15366
See the pkg-config man page for more details.
15368
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15369
See \`config.log' for more details." >&5
15370
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15371
is in your PATH or set the PKG_CONFIG environment variable to the full
15372
path to pkg-config.
15374
Alternatively, you may set the environment variables XRANDR_CFLAGS
15375
and XRANDR_LIBS to avoid the need to call pkg-config.
15376
See the pkg-config man page for more details.
15378
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15379
See \`config.log' for more details." >&2;}
15380
{ (exit 1); exit 1; }; }; }
13425
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13426
is in your PATH or set the PKG_CONFIG environment variable to the full
13427
path to pkg-config.
13429
Alternatively, you may set the environment variables XRANDR_CFLAGS
13430
and XRANDR_LIBS to avoid the need to call pkg-config.
13431
See the pkg-config man page for more details.
13433
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13434
See \`config.log' for more details." "$LINENO" 5; }
15382
13436
XRANDR_CFLAGS=$pkg_cv_XRANDR_CFLAGS
15383
13437
XRANDR_LIBS=$pkg_cv_XRANDR_LIBS
15384
{ $as_echo "$as_me:$LINENO: result: yes" >&5
15385
$as_echo "yes" >&6; }
15393
{ $as_echo "$as_me:$LINENO: checking for LIBNOTIFY" >&5
13438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13439
$as_echo "yes" >&6; }
13447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5
13448
$as_echo_n "checking for X11... " >&6; }
13450
if test -n "$X11_CFLAGS"; then
13451
pkg_cv_X11_CFLAGS="$X11_CFLAGS"
13452
elif test -n "$PKG_CONFIG"; then
13453
if test -n "$PKG_CONFIG" && \
13454
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xrender\""; } >&5
13455
($PKG_CONFIG --exists --print-errors "x11 xrender") 2>&5
13457
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13458
test $ac_status = 0; }; then
13459
pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11 xrender" 2>/dev/null`
13466
if test -n "$X11_LIBS"; then
13467
pkg_cv_X11_LIBS="$X11_LIBS"
13468
elif test -n "$PKG_CONFIG"; then
13469
if test -n "$PKG_CONFIG" && \
13470
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xrender\""; } >&5
13471
($PKG_CONFIG --exists --print-errors "x11 xrender") 2>&5
13473
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13474
test $ac_status = 0; }; then
13475
pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11 xrender" 2>/dev/null`
13485
if test $pkg_failed = yes; then
13487
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13488
_pkg_short_errors_supported=yes
13490
_pkg_short_errors_supported=no
13492
if test $_pkg_short_errors_supported = yes; then
13493
X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xrender" 2>&1`
13495
X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xrender" 2>&1`
13497
# Put the nasty error message in config.log where it belongs
13498
echo "$X11_PKG_ERRORS" >&5
13500
as_fn_error "Package requirements (x11 xrender) were not met:
13504
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13505
installed software in a non-standard prefix.
13507
Alternatively, you may set the environment variables X11_CFLAGS
13508
and X11_LIBS to avoid the need to call pkg-config.
13509
See the pkg-config man page for more details.
13511
elif test $pkg_failed = untried; then
13512
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13513
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13514
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13515
is in your PATH or set the PKG_CONFIG environment variable to the full
13516
path to pkg-config.
13518
Alternatively, you may set the environment variables X11_CFLAGS
13519
and X11_LIBS to avoid the need to call pkg-config.
13520
See the pkg-config man page for more details.
13522
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13523
See \`config.log' for more details." "$LINENO" 5; }
13525
X11_CFLAGS=$pkg_cv_X11_CFLAGS
13526
X11_LIBS=$pkg_cv_X11_LIBS
13527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13528
$as_echo "yes" >&6; }
13536
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
15394
13537
$as_echo_n "checking for LIBNOTIFY... " >&6; }
15396
13539
if test -n "$LIBNOTIFY_CFLAGS"; then
15397
13540
pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
15398
13541
elif test -n "$PKG_CONFIG"; then
15399
13542
if test -n "$PKG_CONFIG" && \
15400
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\"") >&5
13543
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\""; } >&5
15401
13544
($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
15403
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404
(exit $ac_status); }; then
13546
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13547
test $ac_status = 0; }; then
15405
13548
pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
15407
13550
pkg_failed=yes
15443
13586
# Put the nasty error message in config.log where it belongs
15444
13587
echo "$LIBNOTIFY_PKG_ERRORS" >&5
15446
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met:
15448
$LIBNOTIFY_PKG_ERRORS
15450
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15451
installed software in a non-standard prefix.
15453
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15454
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15455
See the pkg-config man page for more details.
15457
$as_echo "$as_me: error: Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met:
15459
$LIBNOTIFY_PKG_ERRORS
15461
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15462
installed software in a non-standard prefix.
15464
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15465
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15466
See the pkg-config man page for more details.
15468
{ (exit 1); exit 1; }; }
13589
as_fn_error "Package requirements (libnotify >= $LIBNOTIFY_REQUIRED) were not met:
13591
$LIBNOTIFY_PKG_ERRORS
13593
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13594
installed software in a non-standard prefix.
13596
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13597
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13598
See the pkg-config man page for more details.
15469
13600
elif test $pkg_failed = untried; then
15470
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13601
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15471
13602
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15472
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15473
is in your PATH or set the PKG_CONFIG environment variable to the full
15474
path to pkg-config.
15476
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15477
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15478
See the pkg-config man page for more details.
15480
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15481
See \`config.log' for more details." >&5
15482
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15483
is in your PATH or set the PKG_CONFIG environment variable to the full
15484
path to pkg-config.
15486
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
15487
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
15488
See the pkg-config man page for more details.
15490
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15491
See \`config.log' for more details." >&2;}
15492
{ (exit 1); exit 1; }; }; }
13603
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13604
is in your PATH or set the PKG_CONFIG environment variable to the full
13605
path to pkg-config.
13607
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
13608
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
13609
See the pkg-config man page for more details.
13611
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13612
See \`config.log' for more details." "$LINENO" 5; }
15494
13614
LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
15495
13615
LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
15496
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15497
13617
$as_echo "yes" >&6; }
15555
13675
# Put the nasty error message in config.log where it belongs
15556
13676
echo "$UNIQUE_PKG_ERRORS" >&5
15558
{ { $as_echo "$as_me:$LINENO: error: Package requirements (unique-1.0 >= $UNIQUE_REQUIRED) were not met:
15562
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15563
installed software in a non-standard prefix.
15565
Alternatively, you may set the environment variables UNIQUE_CFLAGS
15566
and UNIQUE_LIBS to avoid the need to call pkg-config.
15567
See the pkg-config man page for more details.
15569
$as_echo "$as_me: error: Package requirements (unique-1.0 >= $UNIQUE_REQUIRED) were not met:
15573
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15574
installed software in a non-standard prefix.
15576
Alternatively, you may set the environment variables UNIQUE_CFLAGS
15577
and UNIQUE_LIBS to avoid the need to call pkg-config.
15578
See the pkg-config man page for more details.
15580
{ (exit 1); exit 1; }; }
13678
as_fn_error "Package requirements (unique-1.0 >= $UNIQUE_REQUIRED) were not met:
13682
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13683
installed software in a non-standard prefix.
13685
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13686
and UNIQUE_LIBS to avoid the need to call pkg-config.
13687
See the pkg-config man page for more details.
15581
13689
elif test $pkg_failed = untried; then
15582
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13690
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15583
13691
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15584
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15585
is in your PATH or set the PKG_CONFIG environment variable to the full
15586
path to pkg-config.
15588
Alternatively, you may set the environment variables UNIQUE_CFLAGS
15589
and UNIQUE_LIBS to avoid the need to call pkg-config.
15590
See the pkg-config man page for more details.
15592
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15593
See \`config.log' for more details." >&5
15594
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15595
is in your PATH or set the PKG_CONFIG environment variable to the full
15596
path to pkg-config.
15598
Alternatively, you may set the environment variables UNIQUE_CFLAGS
15599
and UNIQUE_LIBS to avoid the need to call pkg-config.
15600
See the pkg-config man page for more details.
15602
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15603
See \`config.log' for more details." >&2;}
15604
{ (exit 1); exit 1; }; }; }
13692
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13693
is in your PATH or set the PKG_CONFIG environment variable to the full
13694
path to pkg-config.
13696
Alternatively, you may set the environment variables UNIQUE_CFLAGS
13697
and UNIQUE_LIBS to avoid the need to call pkg-config.
13698
See the pkg-config man page for more details.
13700
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13701
See \`config.log' for more details." "$LINENO" 5; }
15606
13703
UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
15607
13704
UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
15608
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15609
13706
$as_echo "yes" >&6; }
15675
13772
# Put the nasty error message in config.log where it belongs
15676
13773
echo "$DEVKIT_PKG_ERRORS" >&5
15678
{ { $as_echo "$as_me:$LINENO: error: Package requirements (
15679
devkit-power-gobject >= $DEVKIT_POWER_REQUIRED) were not met:
15683
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15684
installed software in a non-standard prefix.
15686
Alternatively, you may set the environment variables DEVKIT_CFLAGS
15687
and DEVKIT_LIBS to avoid the need to call pkg-config.
15688
See the pkg-config man page for more details.
15690
$as_echo "$as_me: error: Package requirements (
15691
devkit-power-gobject >= $DEVKIT_POWER_REQUIRED) were not met:
15695
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15696
installed software in a non-standard prefix.
15698
Alternatively, you may set the environment variables DEVKIT_CFLAGS
15699
and DEVKIT_LIBS to avoid the need to call pkg-config.
15700
See the pkg-config man page for more details.
15702
{ (exit 1); exit 1; }; }
13775
as_fn_error "Package requirements (
13776
devkit-power-gobject >= $DEVKIT_POWER_REQUIRED) were not met:
13780
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13781
installed software in a non-standard prefix.
13783
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13784
and DEVKIT_LIBS to avoid the need to call pkg-config.
13785
See the pkg-config man page for more details.
15703
13787
elif test $pkg_failed = untried; then
15704
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13788
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15705
13789
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15706
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
15707
is in your PATH or set the PKG_CONFIG environment variable to the full
15708
path to pkg-config.
15710
Alternatively, you may set the environment variables DEVKIT_CFLAGS
15711
and DEVKIT_LIBS to avoid the need to call pkg-config.
15712
See the pkg-config man page for more details.
15714
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15715
See \`config.log' for more details." >&5
15716
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
15717
is in your PATH or set the PKG_CONFIG environment variable to the full
15718
path to pkg-config.
15720
Alternatively, you may set the environment variables DEVKIT_CFLAGS
15721
and DEVKIT_LIBS to avoid the need to call pkg-config.
15722
See the pkg-config man page for more details.
15724
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15725
See \`config.log' for more details." >&2;}
15726
{ (exit 1); exit 1; }; }; }
13790
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
13791
is in your PATH or set the PKG_CONFIG environment variable to the full
13792
path to pkg-config.
13794
Alternatively, you may set the environment variables DEVKIT_CFLAGS
13795
and DEVKIT_LIBS to avoid the need to call pkg-config.
13796
See the pkg-config man page for more details.
13798
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13799
See \`config.log' for more details." "$LINENO" 5; }
15728
13801
DEVKIT_CFLAGS=$pkg_cv_DEVKIT_CFLAGS
15729
13802
DEVKIT_LIBS=$pkg_cv_DEVKIT_LIBS
15730
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15731
13804
$as_echo "yes" >&6; }
16411
14284
# on Irix 5.2, according to T.E. Dickey.
16412
14285
# The functions gethostbyname, getservbyname, and inet_addr are
16413
14286
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
16414
{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
16415
$as_echo_n "checking for gethostbyname... " >&6; }
16416
if test "${ac_cv_func_gethostbyname+set}" = set; then
16417
$as_echo_n "(cached) " >&6
16419
cat >conftest.$ac_ext <<_ACEOF
16422
cat confdefs.h >>conftest.$ac_ext
16423
cat >>conftest.$ac_ext <<_ACEOF
16424
/* end confdefs.h. */
16425
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
16426
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16427
#define gethostbyname innocuous_gethostbyname
16429
/* System header to define __stub macros and hopefully few prototypes,
16430
which can conflict with char gethostbyname (); below.
16431
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16432
<limits.h> exists even on freestanding compilers. */
16435
# include <limits.h>
16437
# include <assert.h>
16440
#undef gethostbyname
16442
/* Override any GCC internal prototype to avoid an error.
16443
Use char because int might match the return type of a GCC
16444
builtin and then its argument prototype would still apply. */
16448
char gethostbyname ();
16449
/* The GNU C library defines this for functions which it implements
16450
to always fail with ENOSYS. Some functions are actually named
16451
something starting with __ and the normal name is an alias. */
16452
#if defined __stub_gethostbyname || defined __stub___gethostbyname
16459
return gethostbyname ();
16464
rm -f conftest.$ac_objext conftest$ac_exeext
16465
if { (ac_try="$ac_link"
16466
case "(($ac_try" in
16467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16468
*) ac_try_echo=$ac_try;;
16470
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16471
$as_echo "$ac_try_echo") >&5
16472
(eval "$ac_link") 2>conftest.er1
16474
grep -v '^ *+' conftest.er1 >conftest.err
16476
cat conftest.err >&5
16477
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478
(exit $ac_status); } && {
16479
test -z "$ac_c_werror_flag" ||
16480
test ! -s conftest.err
16481
} && test -s conftest$ac_exeext && {
16482
test "$cross_compiling" = yes ||
16483
$as_test_x conftest$ac_exeext
16485
ac_cv_func_gethostbyname=yes
16487
$as_echo "$as_me: failed program was:" >&5
16488
sed 's/^/| /' conftest.$ac_ext >&5
16490
ac_cv_func_gethostbyname=no
16493
rm -rf conftest.dSYM
16494
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16495
conftest$ac_exeext conftest.$ac_ext
16497
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
16498
$as_echo "$ac_cv_func_gethostbyname" >&6; }
14287
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14288
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
16500
14292
if test $ac_cv_func_gethostbyname = no; then
16501
{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
14293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
16502
14294
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
16503
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
14295
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
16504
14296
$as_echo_n "(cached) " >&6
16506
14298
ac_check_lib_save_LIBS=$LIBS
16507
14299
LIBS="-lnsl $LIBS"
16508
cat >conftest.$ac_ext <<_ACEOF
16511
cat confdefs.h >>conftest.$ac_ext
16512
cat >>conftest.$ac_ext <<_ACEOF
14300
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16513
14301
/* end confdefs.h. */
16515
14303
/* Override any GCC internal prototype to avoid an error.
16647
14381
# variants that don't use the name server (or something). -lsocket
16648
14382
# must be given before -lnsl if both are needed. We assume that
16649
14383
# if connect needs -lnsl, so does gethostbyname.
16650
{ $as_echo "$as_me:$LINENO: checking for connect" >&5
16651
$as_echo_n "checking for connect... " >&6; }
16652
if test "${ac_cv_func_connect+set}" = set; then
16653
$as_echo_n "(cached) " >&6
16655
cat >conftest.$ac_ext <<_ACEOF
16658
cat confdefs.h >>conftest.$ac_ext
16659
cat >>conftest.$ac_ext <<_ACEOF
16660
/* end confdefs.h. */
16661
/* Define connect to an innocuous variant, in case <limits.h> declares connect.
16662
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16663
#define connect innocuous_connect
16665
/* System header to define __stub macros and hopefully few prototypes,
16666
which can conflict with char connect (); below.
16667
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16668
<limits.h> exists even on freestanding compilers. */
16671
# include <limits.h>
16673
# include <assert.h>
16678
/* Override any GCC internal prototype to avoid an error.
16679
Use char because int might match the return type of a GCC
16680
builtin and then its argument prototype would still apply. */
16685
/* The GNU C library defines this for functions which it implements
16686
to always fail with ENOSYS. Some functions are actually named
16687
something starting with __ and the normal name is an alias. */
16688
#if defined __stub_connect || defined __stub___connect
16700
rm -f conftest.$ac_objext conftest$ac_exeext
16701
if { (ac_try="$ac_link"
16702
case "(($ac_try" in
16703
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704
*) ac_try_echo=$ac_try;;
16706
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16707
$as_echo "$ac_try_echo") >&5
16708
(eval "$ac_link") 2>conftest.er1
16710
grep -v '^ *+' conftest.er1 >conftest.err
16712
cat conftest.err >&5
16713
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16714
(exit $ac_status); } && {
16715
test -z "$ac_c_werror_flag" ||
16716
test ! -s conftest.err
16717
} && test -s conftest$ac_exeext && {
16718
test "$cross_compiling" = yes ||
16719
$as_test_x conftest$ac_exeext
16721
ac_cv_func_connect=yes
16723
$as_echo "$as_me: failed program was:" >&5
16724
sed 's/^/| /' conftest.$ac_ext >&5
16726
ac_cv_func_connect=no
16729
rm -rf conftest.dSYM
16730
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16731
conftest$ac_exeext conftest.$ac_ext
16733
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
16734
$as_echo "$ac_cv_func_connect" >&6; }
14384
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14385
if test "x$ac_cv_func_connect" = x""yes; then :
16736
14389
if test $ac_cv_func_connect = no; then
16737
{ $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
14390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
16738
14391
$as_echo_n "checking for connect in -lsocket... " >&6; }
16739
if test "${ac_cv_lib_socket_connect+set}" = set; then
14392
if test "${ac_cv_lib_socket_connect+set}" = set; then :
16740
14393
$as_echo_n "(cached) " >&6
16742
14395
ac_check_lib_save_LIBS=$LIBS
16743
14396
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
16744
cat >conftest.$ac_ext <<_ACEOF
16747
cat confdefs.h >>conftest.$ac_ext
16748
cat >>conftest.$ac_ext <<_ACEOF
14397
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749
14398
/* end confdefs.h. */
16751
14400
/* Override any GCC internal prototype to avoid an error.
16766
rm -f conftest.$ac_objext conftest$ac_exeext
16767
if { (ac_try="$ac_link"
16768
case "(($ac_try" in
16769
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770
*) ac_try_echo=$ac_try;;
16772
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16773
$as_echo "$ac_try_echo") >&5
16774
(eval "$ac_link") 2>conftest.er1
16776
grep -v '^ *+' conftest.er1 >conftest.err
16778
cat conftest.err >&5
16779
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780
(exit $ac_status); } && {
16781
test -z "$ac_c_werror_flag" ||
16782
test ! -s conftest.err
16783
} && test -s conftest$ac_exeext && {
16784
test "$cross_compiling" = yes ||
16785
$as_test_x conftest$ac_exeext
14415
if ac_fn_c_try_link "$LINENO"; then :
16787
14416
ac_cv_lib_socket_connect=yes
16789
$as_echo "$as_me: failed program was:" >&5
16790
sed 's/^/| /' conftest.$ac_ext >&5
16792
ac_cv_lib_socket_connect=no
14418
ac_cv_lib_socket_connect=no
16795
rm -rf conftest.dSYM
16796
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16797
conftest$ac_exeext conftest.$ac_ext
14420
rm -f core conftest.err conftest.$ac_objext \
14421
conftest$ac_exeext conftest.$ac_ext
16798
14422
LIBS=$ac_check_lib_save_LIBS
16800
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
14424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
16801
14425
$as_echo "$ac_cv_lib_socket_connect" >&6; }
16802
if test "x$ac_cv_lib_socket_connect" = x""yes; then
14426
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
16803
14427
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
16808
14432
# Guillermo Gomez says -lposix is necessary on A/UX.
16809
{ $as_echo "$as_me:$LINENO: checking for remove" >&5
16810
$as_echo_n "checking for remove... " >&6; }
16811
if test "${ac_cv_func_remove+set}" = set; then
16812
$as_echo_n "(cached) " >&6
16814
cat >conftest.$ac_ext <<_ACEOF
16817
cat confdefs.h >>conftest.$ac_ext
16818
cat >>conftest.$ac_ext <<_ACEOF
16819
/* end confdefs.h. */
16820
/* Define remove to an innocuous variant, in case <limits.h> declares remove.
16821
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16822
#define remove innocuous_remove
16824
/* System header to define __stub macros and hopefully few prototypes,
16825
which can conflict with char remove (); below.
16826
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16827
<limits.h> exists even on freestanding compilers. */
16830
# include <limits.h>
16832
# include <assert.h>
16837
/* Override any GCC internal prototype to avoid an error.
16838
Use char because int might match the return type of a GCC
16839
builtin and then its argument prototype would still apply. */
16844
/* The GNU C library defines this for functions which it implements
16845
to always fail with ENOSYS. Some functions are actually named
16846
something starting with __ and the normal name is an alias. */
16847
#if defined __stub_remove || defined __stub___remove
16859
rm -f conftest.$ac_objext conftest$ac_exeext
16860
if { (ac_try="$ac_link"
16861
case "(($ac_try" in
16862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16863
*) ac_try_echo=$ac_try;;
16865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16866
$as_echo "$ac_try_echo") >&5
16867
(eval "$ac_link") 2>conftest.er1
16869
grep -v '^ *+' conftest.er1 >conftest.err
16871
cat conftest.err >&5
16872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873
(exit $ac_status); } && {
16874
test -z "$ac_c_werror_flag" ||
16875
test ! -s conftest.err
16876
} && test -s conftest$ac_exeext && {
16877
test "$cross_compiling" = yes ||
16878
$as_test_x conftest$ac_exeext
16880
ac_cv_func_remove=yes
16882
$as_echo "$as_me: failed program was:" >&5
16883
sed 's/^/| /' conftest.$ac_ext >&5
16885
ac_cv_func_remove=no
16888
rm -rf conftest.dSYM
16889
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16890
conftest$ac_exeext conftest.$ac_ext
16892
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
16893
$as_echo "$ac_cv_func_remove" >&6; }
14433
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14434
if test "x$ac_cv_func_remove" = x""yes; then :
16895
14438
if test $ac_cv_func_remove = no; then
16896
{ $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
14439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
16897
14440
$as_echo_n "checking for remove in -lposix... " >&6; }
16898
if test "${ac_cv_lib_posix_remove+set}" = set; then
14441
if test "${ac_cv_lib_posix_remove+set}" = set; then :
16899
14442
$as_echo_n "(cached) " >&6
16901
14444
ac_check_lib_save_LIBS=$LIBS
16902
14445
LIBS="-lposix $LIBS"
16903
cat >conftest.$ac_ext <<_ACEOF
16906
cat confdefs.h >>conftest.$ac_ext
16907
cat >>conftest.$ac_ext <<_ACEOF
14446
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908
14447
/* end confdefs.h. */
16910
14449
/* Override any GCC internal prototype to avoid an error.
16925
rm -f conftest.$ac_objext conftest$ac_exeext
16926
if { (ac_try="$ac_link"
16927
case "(($ac_try" in
16928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16929
*) ac_try_echo=$ac_try;;
16931
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16932
$as_echo "$ac_try_echo") >&5
16933
(eval "$ac_link") 2>conftest.er1
16935
grep -v '^ *+' conftest.er1 >conftest.err
16937
cat conftest.err >&5
16938
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939
(exit $ac_status); } && {
16940
test -z "$ac_c_werror_flag" ||
16941
test ! -s conftest.err
16942
} && test -s conftest$ac_exeext && {
16943
test "$cross_compiling" = yes ||
16944
$as_test_x conftest$ac_exeext
14464
if ac_fn_c_try_link "$LINENO"; then :
16946
14465
ac_cv_lib_posix_remove=yes
16948
$as_echo "$as_me: failed program was:" >&5
16949
sed 's/^/| /' conftest.$ac_ext >&5
16951
ac_cv_lib_posix_remove=no
14467
ac_cv_lib_posix_remove=no
16954
rm -rf conftest.dSYM
16955
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16956
conftest$ac_exeext conftest.$ac_ext
14469
rm -f core conftest.err conftest.$ac_objext \
14470
conftest$ac_exeext conftest.$ac_ext
16957
14471
LIBS=$ac_check_lib_save_LIBS
16959
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
14473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
16960
14474
$as_echo "$ac_cv_lib_posix_remove" >&6; }
16961
if test "x$ac_cv_lib_posix_remove" = x""yes; then
14475
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
16962
14476
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
16967
14481
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
16968
{ $as_echo "$as_me:$LINENO: checking for shmat" >&5
16969
$as_echo_n "checking for shmat... " >&6; }
16970
if test "${ac_cv_func_shmat+set}" = set; then
16971
$as_echo_n "(cached) " >&6
16973
cat >conftest.$ac_ext <<_ACEOF
16976
cat confdefs.h >>conftest.$ac_ext
16977
cat >>conftest.$ac_ext <<_ACEOF
16978
/* end confdefs.h. */
16979
/* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
16980
For example, HP-UX 11i <limits.h> declares gettimeofday. */
16981
#define shmat innocuous_shmat
16983
/* System header to define __stub macros and hopefully few prototypes,
16984
which can conflict with char shmat (); below.
16985
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16986
<limits.h> exists even on freestanding compilers. */
16989
# include <limits.h>
16991
# include <assert.h>
16996
/* Override any GCC internal prototype to avoid an error.
16997
Use char because int might match the return type of a GCC
16998
builtin and then its argument prototype would still apply. */
17003
/* The GNU C library defines this for functions which it implements
17004
to always fail with ENOSYS. Some functions are actually named
17005
something starting with __ and the normal name is an alias. */
17006
#if defined __stub_shmat || defined __stub___shmat
17018
rm -f conftest.$ac_objext conftest$ac_exeext
17019
if { (ac_try="$ac_link"
17020
case "(($ac_try" in
17021
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17022
*) ac_try_echo=$ac_try;;
17024
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17025
$as_echo "$ac_try_echo") >&5
17026
(eval "$ac_link") 2>conftest.er1
17028
grep -v '^ *+' conftest.er1 >conftest.err
17030
cat conftest.err >&5
17031
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032
(exit $ac_status); } && {
17033
test -z "$ac_c_werror_flag" ||
17034
test ! -s conftest.err
17035
} && test -s conftest$ac_exeext && {
17036
test "$cross_compiling" = yes ||
17037
$as_test_x conftest$ac_exeext
17039
ac_cv_func_shmat=yes
17041
$as_echo "$as_me: failed program was:" >&5
17042
sed 's/^/| /' conftest.$ac_ext >&5
17044
ac_cv_func_shmat=no
17047
rm -rf conftest.dSYM
17048
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17049
conftest$ac_exeext conftest.$ac_ext
17051
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
17052
$as_echo "$ac_cv_func_shmat" >&6; }
14482
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14483
if test "x$ac_cv_func_shmat" = x""yes; then :
17054
14487
if test $ac_cv_func_shmat = no; then
17055
{ $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
14488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
17056
14489
$as_echo_n "checking for shmat in -lipc... " >&6; }
17057
if test "${ac_cv_lib_ipc_shmat+set}" = set; then
14490
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
17058
14491
$as_echo_n "(cached) " >&6
17060
14493
ac_check_lib_save_LIBS=$LIBS
17061
14494
LIBS="-lipc $LIBS"
17062
cat >conftest.$ac_ext <<_ACEOF
17065
cat confdefs.h >>conftest.$ac_ext
17066
cat >>conftest.$ac_ext <<_ACEOF
14495
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17067
14496
/* end confdefs.h. */
17069
14498
/* Override any GCC internal prototype to avoid an error.
18269
15338
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18270
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18271
Usually this means the macro was only invoked conditionally." >&5
18272
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18273
Usually this means the macro was only invoked conditionally." >&2;}
18274
{ (exit 1); exit 1; }; }
18276
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18277
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18278
Usually this means the macro was only invoked conditionally." >&5
18279
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18280
Usually this means the macro was only invoked conditionally." >&2;}
18281
{ (exit 1); exit 1; }; }
18283
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18284
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18285
Usually this means the macro was only invoked conditionally." >&5
18286
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18287
Usually this means the macro was only invoked conditionally." >&2;}
18288
{ (exit 1); exit 1; }; }
15339
as_fn_error "conditional \"AMDEP\" was never defined.
15340
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15342
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15343
as_fn_error "conditional \"am__fastdepCC\" was never defined.
15344
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15346
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15347
as_fn_error "conditional \"am__fastdepCC\" was never defined.
15348
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18291
15351
ac_config_commands="$ac_config_commands po/stamp-it"
18294
15354
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
18295
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_SK\" was never defined.
18296
Usually this means the macro was only invoked conditionally." >&5
18297
$as_echo "$as_me: error: conditional \"ENABLE_SK\" was never defined.
18298
Usually this means the macro was only invoked conditionally." >&2;}
18299
{ (exit 1); exit 1; }; }
15355
as_fn_error "conditional \"ENABLE_SK\" was never defined.
15356
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18301
15358
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
18302
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
18303
Usually this means the macro was only invoked conditionally." >&5
18304
$as_echo "$as_me: error: conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
18305
Usually this means the macro was only invoked conditionally." >&2;}
18306
{ (exit 1); exit 1; }; }
15359
as_fn_error "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
15360
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18308
15362
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
18309
{ { $as_echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
18310
Usually this means the macro was only invoked conditionally." >&5
18311
$as_echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
18312
Usually this means the macro was only invoked conditionally." >&2;}
18313
{ (exit 1); exit 1; }; }
15363
as_fn_error "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
15364
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18315
15366
if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then
18316
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_HAL\" was never defined.
18317
Usually this means the macro was only invoked conditionally." >&5
18318
$as_echo "$as_me: error: conditional \"HAVE_HAL\" was never defined.
18319
Usually this means the macro was only invoked conditionally." >&2;}
18320
{ (exit 1); exit 1; }; }
15367
as_fn_error "conditional \"HAVE_HAL\" was never defined.
15368
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18322
15370
if test -z "${HAVE_TESTS_TRUE}" && test -z "${HAVE_TESTS_FALSE}"; then
18323
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_TESTS\" was never defined.
18324
Usually this means the macro was only invoked conditionally." >&5
18325
$as_echo "$as_me: error: conditional \"HAVE_TESTS\" was never defined.
18326
Usually this means the macro was only invoked conditionally." >&2;}
18327
{ (exit 1); exit 1; }; }
15371
as_fn_error "conditional \"HAVE_TESTS\" was never defined.
15372
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18329
15374
if test -z "${HAVE_GCONF_DEFAULTS_TRUE}" && test -z "${HAVE_GCONF_DEFAULTS_FALSE}"; then
18330
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_GCONF_DEFAULTS\" was never defined.
18331
Usually this means the macro was only invoked conditionally." >&5
18332
$as_echo "$as_me: error: conditional \"HAVE_GCONF_DEFAULTS\" was never defined.
18333
Usually this means the macro was only invoked conditionally." >&2;}
18334
{ (exit 1); exit 1; }; }
15375
as_fn_error "conditional \"HAVE_GCONF_DEFAULTS\" was never defined.
15376
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18336
15378
if test -z "${HAVE_APPLETS_TRUE}" && test -z "${HAVE_APPLETS_FALSE}"; then
18337
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_APPLETS\" was never defined.
18338
Usually this means the macro was only invoked conditionally." >&5
18339
$as_echo "$as_me: error: conditional \"HAVE_APPLETS\" was never defined.
18340
Usually this means the macro was only invoked conditionally." >&2;}
18341
{ (exit 1); exit 1; }; }
15379
as_fn_error "conditional \"HAVE_APPLETS\" was never defined.
15380
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18343
15382
if test -z "${DOCBOOK_DOCS_ENABLED_TRUE}" && test -z "${DOCBOOK_DOCS_ENABLED_FALSE}"; then
18344
{ { $as_echo "$as_me:$LINENO: error: conditional \"DOCBOOK_DOCS_ENABLED\" was never defined.
18345
Usually this means the macro was only invoked conditionally." >&5
18346
$as_echo "$as_me: error: conditional \"DOCBOOK_DOCS_ENABLED\" was never defined.
18347
Usually this means the macro was only invoked conditionally." >&2;}
18348
{ (exit 1); exit 1; }; }
15383
as_fn_error "conditional \"DOCBOOK_DOCS_ENABLED\" was never defined.
15384
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18350
15386
if test -z "${HAVE_DOCBOOK2MAN_TRUE}" && test -z "${HAVE_DOCBOOK2MAN_FALSE}"; then
18351
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOCBOOK2MAN\" was never defined.
18352
Usually this means the macro was only invoked conditionally." >&5
18353
$as_echo "$as_me: error: conditional \"HAVE_DOCBOOK2MAN\" was never defined.
18354
Usually this means the macro was only invoked conditionally." >&2;}
18355
{ (exit 1); exit 1; }; }
15387
as_fn_error "conditional \"HAVE_DOCBOOK2MAN\" was never defined.
15388
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18358
15391
: ${CONFIG_STATUS=./config.status}
18359
15392
ac_write_fail=0
18360
15393
ac_clean_files_save=$ac_clean_files
18361
15394
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18362
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15395
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18363
15396
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18364
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15398
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18366
15400
# Generated by $as_me.
18367
15401
# Run this file to recreate the current configuration.