136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
175
138
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
177
178
as_have_required=yes
179
180
as_have_required=no
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
190
test -z "$as_dir" && as_dir=.
249
194
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
367
222
export CONFIG_SHELL
368
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: https://bugs.freedesktop.org/enter_bug.cgi?product=desktop-file-utils
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375
$as_echo "$as_me: error: $1" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1669
1625
test -n "$ac_init_help" && exit $ac_status
1670
1626
if $ac_init_version; then
1672
desktop-file-utils configure 0.16
1673
generated by GNU Autoconf 2.63
1628
desktop-file-utils configure 0.17
1629
generated by GNU Autoconf 2.65
1675
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1676
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1631
Copyright (C) 2009 Free Software Foundation, Inc.
1677
1632
This configure script is free software; the Free Software Foundation
1678
1633
gives unlimited permission to copy, distribute and modify it.
1638
## ------------------------ ##
1639
## Autoconf initialization. ##
1640
## ------------------------ ##
1642
# ac_fn_c_try_compile LINENO
1643
# --------------------------
1644
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1645
ac_fn_c_try_compile ()
1647
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648
rm -f conftest.$ac_objext
1649
if { { ac_try="$ac_compile"
1651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652
*) ac_try_echo=$ac_try;;
1654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655
$as_echo "$ac_try_echo"; } >&5
1656
(eval "$ac_compile") 2>conftest.err
1658
if test -s conftest.err; then
1659
grep -v '^ *+' conftest.err >conftest.er1
1660
cat conftest.er1 >&5
1661
mv -f conftest.er1 conftest.err
1663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
test $ac_status = 0; } && {
1665
test -z "$ac_c_werror_flag" ||
1666
test ! -s conftest.err
1667
} && test -s conftest.$ac_objext; then :
1670
$as_echo "$as_me: failed program was:" >&5
1671
sed 's/^/| /' conftest.$ac_ext >&5
1675
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1676
as_fn_set_status $ac_retval
1678
} # ac_fn_c_try_compile
1680
# ac_fn_c_try_link LINENO
1681
# -----------------------
1682
# Try to link conftest.$ac_ext, and return whether this succeeded.
1685
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
rm -f conftest.$ac_objext conftest$ac_exeext
1687
if { { ac_try="$ac_link"
1689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
*) ac_try_echo=$ac_try;;
1692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
$as_echo "$ac_try_echo"; } >&5
1694
(eval "$ac_link") 2>conftest.err
1696
if test -s conftest.err; then
1697
grep -v '^ *+' conftest.err >conftest.er1
1698
cat conftest.er1 >&5
1699
mv -f conftest.er1 conftest.err
1701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702
test $ac_status = 0; } && {
1703
test -z "$ac_c_werror_flag" ||
1704
test ! -s conftest.err
1705
} && test -s conftest$ac_exeext && {
1706
test "$cross_compiling" = yes ||
1707
$as_test_x conftest$ac_exeext
1711
$as_echo "$as_me: failed program was:" >&5
1712
sed 's/^/| /' conftest.$ac_ext >&5
1716
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718
# interfere with the next link command; also delete a directory that is
1719
# left behind by Apple's compiler. We do this before executing the actions.
1720
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722
as_fn_set_status $ac_retval
1724
} # ac_fn_c_try_link
1726
# ac_fn_c_try_cpp LINENO
1727
# ----------------------
1728
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
if { { ac_try="$ac_cpp conftest.$ac_ext"
1734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735
*) ac_try_echo=$ac_try;;
1737
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738
$as_echo "$ac_try_echo"; } >&5
1739
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741
if test -s conftest.err; then
1742
grep -v '^ *+' conftest.err >conftest.er1
1743
cat conftest.er1 >&5
1744
mv -f conftest.er1 conftest.err
1746
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747
test $ac_status = 0; } >/dev/null && {
1748
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749
test ! -s conftest.err
1753
$as_echo "$as_me: failed program was:" >&5
1754
sed 's/^/| /' conftest.$ac_ext >&5
1758
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759
as_fn_set_status $ac_retval
1763
# ac_fn_c_try_run LINENO
1764
# ----------------------
1765
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1766
# that executables *can* be run.
1769
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770
if { { ac_try="$ac_link"
1772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773
*) ac_try_echo=$ac_try;;
1775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776
$as_echo "$ac_try_echo"; } >&5
1777
(eval "$ac_link") 2>&5
1779
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1781
{ { case "(($ac_try" in
1782
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783
*) ac_try_echo=$ac_try;;
1785
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786
$as_echo "$ac_try_echo"; } >&5
1787
(eval "$ac_try") 2>&5
1789
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790
test $ac_status = 0; }; }; then :
1793
$as_echo "$as_me: program exited with status $ac_status" >&5
1794
$as_echo "$as_me: failed program was:" >&5
1795
sed 's/^/| /' conftest.$ac_ext >&5
1797
ac_retval=$ac_status
1799
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801
as_fn_set_status $ac_retval
1805
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1806
# -------------------------------------------------------
1807
# Tests whether HEADER exists and can be compiled using the include files in
1808
# INCLUDES, setting the cache variable VAR accordingly.
1809
ac_fn_c_check_header_compile ()
1811
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813
$as_echo_n "checking for $2... " >&6; }
1814
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1815
$as_echo_n "(cached) " >&6
1817
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818
/* end confdefs.h. */
1822
if ac_fn_c_try_compile "$LINENO"; then :
1827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831
$as_echo "$ac_res" >&6; }
1832
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834
} # ac_fn_c_check_header_compile
1836
# ac_fn_c_check_func LINENO FUNC VAR
1837
# ----------------------------------
1838
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1839
ac_fn_c_check_func ()
1841
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1843
$as_echo_n "checking for $2... " >&6; }
1844
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1845
$as_echo_n "(cached) " >&6
1847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1848
/* end confdefs.h. */
1849
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1850
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1851
#define $2 innocuous_$2
1853
/* System header to define __stub macros and hopefully few prototypes,
1854
which can conflict with char $2 (); below.
1855
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1856
<limits.h> exists even on freestanding compilers. */
1859
# include <limits.h>
1861
# include <assert.h>
1866
/* Override any GCC internal prototype to avoid an error.
1867
Use char because int might match the return type of a GCC
1868
builtin and then its argument prototype would still apply. */
1873
/* The GNU C library defines this for functions which it implements
1874
to always fail with ENOSYS. Some functions are actually named
1875
something starting with __ and the normal name is an alias. */
1876
#if defined __stub_$2 || defined __stub___$2
1888
if ac_fn_c_try_link "$LINENO"; then :
1893
rm -f core conftest.err conftest.$ac_objext \
1894
conftest$ac_exeext conftest.$ac_ext
1897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1898
$as_echo "$ac_res" >&6; }
1899
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1901
} # ac_fn_c_check_func
1682
1902
cat >config.log <<_ACEOF
1683
1903
This file contains any messages produced by compilers while
1684
1904
running configure, to aid debugging if configure makes a mistake.
1686
It was created by desktop-file-utils $as_me 0.16, which was
1687
generated by GNU Autoconf 2.63. Invocation command line was
1906
It was created by desktop-file-utils $as_me 0.17, which was
1907
generated by GNU Autoconf 2.65. Invocation command line was
2919
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3098
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2920
3099
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2921
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2922
See \`config.log' for more details." >&5
2923
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2924
See \`config.log' for more details." >&2;}
2925
{ (exit 1); exit 1; }; }; }
3100
as_fn_error "no acceptable C compiler found in \$PATH
3101
See \`config.log' for more details." "$LINENO" 5; }
2927
3103
# Provide some information about the compiler.
2928
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3104
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2929
3105
set X $ac_compile
2931
{ (ac_try="$ac_compiler --version >&5"
2933
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934
*) ac_try_echo=$ac_try;;
2936
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2937
$as_echo "$ac_try_echo") >&5
2938
(eval "$ac_compiler --version >&5") 2>&5
2940
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941
(exit $ac_status); }
2942
{ (ac_try="$ac_compiler -v >&5"
2944
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945
*) ac_try_echo=$ac_try;;
2947
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2948
$as_echo "$ac_try_echo") >&5
2949
(eval "$ac_compiler -v >&5") 2>&5
2951
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2952
(exit $ac_status); }
2953
{ (ac_try="$ac_compiler -V >&5"
2955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956
*) ac_try_echo=$ac_try;;
2958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959
$as_echo "$ac_try_echo") >&5
2960
(eval "$ac_compiler -V >&5") 2>&5
2962
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
(exit $ac_status); }
3107
for ac_option in --version -v -V -qversion; do
3108
{ { ac_try="$ac_compiler $ac_option >&5"
3110
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3111
*) ac_try_echo=$ac_try;;
3113
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3114
$as_echo "$ac_try_echo"; } >&5
3115
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3117
if test -s conftest.err; then
3119
... rest of stderr output deleted ...
3120
10q' conftest.err >conftest.er1
3121
cat conftest.er1 >&5
3123
rm -f conftest.er1 conftest.err
3124
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3125
test $ac_status = 0; }
2965
cat >conftest.$ac_ext <<_ACEOF
2968
cat confdefs.h >>conftest.$ac_ext
2969
cat >>conftest.$ac_ext <<_ACEOF
3128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2970
3129
/* end confdefs.h. */
3207
if test -z "$ac_file"; then :
3208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3209
$as_echo "no" >&6; }
3210
$as_echo "$as_me: failed program was:" >&5
3211
sed 's/^/| /' conftest.$ac_ext >&5
3049
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3213
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3214
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3215
{ as_fn_set_status 77
3216
as_fn_error "C compiler cannot create executables
3217
See \`config.log' for more details." "$LINENO" 5; }; }
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220
$as_echo "yes" >&6; }
3222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3223
$as_echo_n "checking for C compiler default output file name... " >&6; }
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3050
3225
$as_echo "$ac_file" >&6; }
3051
if test -z "$ac_file"; then
3052
$as_echo "$as_me: failed program was:" >&5
3053
sed 's/^/| /' conftest.$ac_ext >&5
3055
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3056
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3058
See \`config.log' for more details." >&5
3059
$as_echo "$as_me: error: C compiler cannot create executables
3060
See \`config.log' for more details." >&2;}
3061
{ (exit 77); exit 77; }; }; }
3064
3226
ac_exeext=$ac_cv_exeext
3066
# Check that the compiler produces executables we can run. If not, either
3067
# the compiler is broken, or we cross compile.
3068
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3069
$as_echo_n "checking whether the C compiler works... " >&6; }
3070
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3071
# If not cross compiling, check that we can run a simple program.
3072
if test "$cross_compiling" != yes; then
3073
if { ac_try='./$ac_file'
3074
{ (case "(($ac_try" in
3075
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3076
*) ac_try_echo=$ac_try;;
3078
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3079
$as_echo "$ac_try_echo") >&5
3080
(eval "$ac_try") 2>&5
3082
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083
(exit $ac_status); }; }; then
3086
if test "$cross_compiling" = maybe; then
3089
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3090
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3091
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3092
If you meant to cross compile, use \`--host'.
3093
See \`config.log' for more details." >&5
3094
$as_echo "$as_me: error: cannot run C compiled programs.
3095
If you meant to cross compile, use \`--host'.
3096
See \`config.log' for more details." >&2;}
3097
{ (exit 1); exit 1; }; }; }
3101
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3102
$as_echo "yes" >&6; }
3104
3228
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3105
3229
ac_clean_files=$ac_clean_files_save
3106
# Check that the compiler produces executables we can run. If not, either
3107
# the compiler is broken, or we cross compile.
3108
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3109
$as_echo_n "checking whether we are cross compiling... " >&6; }
3110
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3111
$as_echo "$cross_compiling" >&6; }
3113
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3114
3231
$as_echo_n "checking for suffix of executables... " >&6; }
3115
if { (ac_try="$ac_link"
3232
if { { ac_try="$ac_link"
3116
3233
case "(($ac_try" in
3117
3234
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3118
3235
*) ac_try_echo=$ac_try;;
3120
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3121
$as_echo "$ac_try_echo") >&5
3237
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238
$as_echo "$ac_try_echo"; } >&5
3122
3239
(eval "$ac_link") 2>&5
3124
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125
(exit $ac_status); }; then
3241
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3242
test $ac_status = 0; }; then :
3126
3243
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3127
3244
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3128
3245
# work properly (i.e., refer to `conftest.exe'), while it won't with
3140
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3257
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141
3258
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3143
See \`config.log' for more details." >&5
3144
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3145
See \`config.log' for more details." >&2;}
3146
{ (exit 1); exit 1; }; }; }
3259
as_fn_error "cannot compute suffix of executables: cannot compile and link
3260
See \`config.log' for more details." "$LINENO" 5; }
3149
rm -f conftest$ac_cv_exeext
3150
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3262
rm -f conftest conftest$ac_cv_exeext
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3151
3264
$as_echo "$ac_cv_exeext" >&6; }
3153
3266
rm -f conftest.$ac_ext
3154
3267
EXEEXT=$ac_cv_exeext
3155
3268
ac_exeext=$EXEEXT
3156
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3270
/* end confdefs.h. */
3275
FILE *f = fopen ("conftest.out", "w");
3276
return ferror (f) || fclose (f) != 0;
3282
ac_clean_files="$ac_clean_files conftest.out"
3283
# Check that the compiler produces executables we can run. If not, either
3284
# the compiler is broken, or we cross compile.
3285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3286
$as_echo_n "checking whether we are cross compiling... " >&6; }
3287
if test "$cross_compiling" != yes; then
3288
{ { ac_try="$ac_link"
3290
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291
*) ac_try_echo=$ac_try;;
3293
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3294
$as_echo "$ac_try_echo"; } >&5
3295
(eval "$ac_link") 2>&5
3297
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3298
test $ac_status = 0; }
3299
if { ac_try='./conftest$ac_cv_exeext'
3300
{ { case "(($ac_try" in
3301
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3302
*) ac_try_echo=$ac_try;;
3304
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3305
$as_echo "$ac_try_echo"; } >&5
3306
(eval "$ac_try") 2>&5
3308
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3309
test $ac_status = 0; }; }; then
3312
if test "$cross_compiling" = maybe; then
3315
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317
as_fn_error "cannot run C compiled programs.
3318
If you meant to cross compile, use \`--host'.
3319
See \`config.log' for more details." "$LINENO" 5; }
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3324
$as_echo "$cross_compiling" >&6; }
3326
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3327
ac_clean_files=$ac_clean_files_save
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157
3329
$as_echo_n "checking for suffix of object files... " >&6; }
3158
if test "${ac_cv_objext+set}" = set; then
3330
if test "${ac_cv_objext+set}" = set; then :
3159
3331
$as_echo_n "(cached) " >&6
3161
cat >conftest.$ac_ext <<_ACEOF
3164
cat confdefs.h >>conftest.$ac_ext
3165
cat >>conftest.$ac_ext <<_ACEOF
3333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166
3334
/* end confdefs.h. */
3978
if { (ac_try="$ac_cpp conftest.$ac_ext"
3980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981
*) ac_try_echo=$ac_try;;
3983
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3984
$as_echo "$ac_try_echo") >&5
3985
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3987
grep -v '^ *+' conftest.er1 >conftest.err
3989
cat conftest.err >&5
3990
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3991
(exit $ac_status); } >/dev/null && {
3992
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3993
test ! -s conftest.err
3932
if ac_fn_c_try_cpp "$LINENO"; then :
3997
$as_echo "$as_me: failed program was:" >&5
3998
sed 's/^/| /' conftest.$ac_ext >&5
4000
3935
# Broken: fails on valid input.
4004
3938
rm -f conftest.err conftest.$ac_ext
4006
3940
# OK, works on sane cases. Now check whether nonexistent headers
4007
3941
# can be detected and how.
4008
cat >conftest.$ac_ext <<_ACEOF
4011
cat confdefs.h >>conftest.$ac_ext
4012
cat >>conftest.$ac_ext <<_ACEOF
3942
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4013
3943
/* end confdefs.h. */
4014
3944
#include <ac_nonexistent.h>
4016
if { (ac_try="$ac_cpp conftest.$ac_ext"
4018
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019
*) ac_try_echo=$ac_try;;
4021
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4022
$as_echo "$ac_try_echo") >&5
4023
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4025
grep -v '^ *+' conftest.er1 >conftest.err
4027
cat conftest.err >&5
4028
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029
(exit $ac_status); } >/dev/null && {
4030
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4031
test ! -s conftest.err
3946
if ac_fn_c_try_cpp "$LINENO"; then :
4033
3947
# Broken: success on invalid input.
4036
$as_echo "$as_me: failed program was:" >&5
4037
sed 's/^/| /' conftest.$ac_ext >&5
4039
3950
# Passes both tests.
4040
3951
ac_preproc_ok=:
4044
3954
rm -f conftest.err conftest.$ac_ext
4047
3957
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4048
3958
rm -f conftest.err conftest.$ac_ext
4049
if $ac_preproc_ok; then
3959
if $ac_preproc_ok; then :
4052
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3962
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053
3963
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4055
See \`config.log' for more details." >&5
4056
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4057
See \`config.log' for more details." >&2;}
4058
{ (exit 1); exit 1; }; }; }
3964
as_fn_error "C preprocessor \"$CPP\" fails sanity check
3965
See \`config.log' for more details." "$LINENO" 5; }
4941
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4942
4761
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4943
if test "${lt_cv_nm_interface+set}" = set; then
4762
if test "${lt_cv_nm_interface+set}" = set; then :
4944
4763
$as_echo_n "(cached) " >&6
4946
4765
lt_cv_nm_interface="BSD nm"
4947
4766
echo "int some_variable = 0;" > conftest.$ac_ext
4948
(eval echo "\"\$as_me:4948: $ac_compile\"" >&5)
4767
(eval echo "\"\$as_me:4767: $ac_compile\"" >&5)
4949
4768
(eval "$ac_compile" 2>conftest.err)
4950
4769
cat conftest.err >&5
4951
(eval echo "\"\$as_me:4951: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4770
(eval echo "\"\$as_me:4770: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4952
4771
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4953
4772
cat conftest.err >&5
4954
(eval echo "\"\$as_me:4954: output\"" >&5)
4773
(eval echo "\"\$as_me:4773: output\"" >&5)
4955
4774
cat conftest.out >&5
4956
4775
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4957
4776
lt_cv_nm_interface="MS dumpbin"
4959
4778
rm -f conftest*
4961
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4962
4781
$as_echo "$lt_cv_nm_interface" >&6; }
4964
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4965
4784
$as_echo_n "checking whether ln -s works... " >&6; }
4967
4786
if test "$LN_S" = "ln -s"; then
4968
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4969
4788
$as_echo "yes" >&6; }
4971
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4972
4791
$as_echo "no, using $LN_S" >&6; }
4975
4794
# find the maximum length of command line arguments
4976
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4977
4796
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4978
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4797
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4979
4798
$as_echo_n "(cached) " >&6
10401
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10402
$as_echo_n "checking for shl_load... " >&6; }
10403
if test "${ac_cv_func_shl_load+set}" = set; then
10404
$as_echo_n "(cached) " >&6
10406
cat >conftest.$ac_ext <<_ACEOF
10409
cat confdefs.h >>conftest.$ac_ext
10410
cat >>conftest.$ac_ext <<_ACEOF
10411
/* end confdefs.h. */
10412
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10413
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10414
#define shl_load innocuous_shl_load
10416
/* System header to define __stub macros and hopefully few prototypes,
10417
which can conflict with char shl_load (); below.
10418
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10419
<limits.h> exists even on freestanding compilers. */
10422
# include <limits.h>
10424
# include <assert.h>
10429
/* Override any GCC internal prototype to avoid an error.
10430
Use char because int might match the return type of a GCC
10431
builtin and then its argument prototype would still apply. */
10436
/* The GNU C library defines this for functions which it implements
10437
to always fail with ENOSYS. Some functions are actually named
10438
something starting with __ and the normal name is an alias. */
10439
#if defined __stub_shl_load || defined __stub___shl_load
10446
return shl_load ();
10451
rm -f conftest.$ac_objext conftest$ac_exeext
10452
if { (ac_try="$ac_link"
10453
case "(($ac_try" in
10454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10455
*) ac_try_echo=$ac_try;;
10457
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10458
$as_echo "$ac_try_echo") >&5
10459
(eval "$ac_link") 2>conftest.er1
10461
grep -v '^ *+' conftest.er1 >conftest.err
10463
cat conftest.err >&5
10464
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465
(exit $ac_status); } && {
10466
test -z "$ac_c_werror_flag" ||
10467
test ! -s conftest.err
10468
} && test -s conftest$ac_exeext && {
10469
test "$cross_compiling" = yes ||
10470
$as_test_x conftest$ac_exeext
10472
ac_cv_func_shl_load=yes
10474
$as_echo "$as_me: failed program was:" >&5
10475
sed 's/^/| /' conftest.$ac_ext >&5
10477
ac_cv_func_shl_load=no
10480
rm -rf conftest.dSYM
10481
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10482
conftest$ac_exeext conftest.$ac_ext
10484
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10485
$as_echo "$ac_cv_func_shl_load" >&6; }
10486
if test "x$ac_cv_func_shl_load" = x""yes; then
9909
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
9910
if test "x$ac_cv_func_shl_load" = x""yes; then :
10487
9911
lt_cv_dlopen="shl_load"
10489
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10490
9914
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10491
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9915
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10492
9916
$as_echo_n "(cached) " >&6
10494
9918
ac_check_lib_save_LIBS=$LIBS
10495
9919
LIBS="-ldld $LIBS"
10496
cat >conftest.$ac_ext <<_ACEOF
10499
cat confdefs.h >>conftest.$ac_ext
10500
cat >>conftest.$ac_ext <<_ACEOF
9920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501
9921
/* end confdefs.h. */
10503
9923
/* Override any GCC internal prototype to avoid an error.
10518
rm -f conftest.$ac_objext conftest$ac_exeext
10519
if { (ac_try="$ac_link"
10520
case "(($ac_try" in
10521
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10522
*) ac_try_echo=$ac_try;;
10524
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10525
$as_echo "$ac_try_echo") >&5
10526
(eval "$ac_link") 2>conftest.er1
10528
grep -v '^ *+' conftest.er1 >conftest.err
10530
cat conftest.err >&5
10531
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10532
(exit $ac_status); } && {
10533
test -z "$ac_c_werror_flag" ||
10534
test ! -s conftest.err
10535
} && test -s conftest$ac_exeext && {
10536
test "$cross_compiling" = yes ||
10537
$as_test_x conftest$ac_exeext
9938
if ac_fn_c_try_link "$LINENO"; then :
10539
9939
ac_cv_lib_dld_shl_load=yes
10541
$as_echo "$as_me: failed program was:" >&5
10542
sed 's/^/| /' conftest.$ac_ext >&5
10544
ac_cv_lib_dld_shl_load=no
9941
ac_cv_lib_dld_shl_load=no
10547
rm -rf conftest.dSYM
10548
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10549
conftest$ac_exeext conftest.$ac_ext
9943
rm -f core conftest.err conftest.$ac_objext \
9944
conftest$ac_exeext conftest.$ac_ext
10550
9945
LIBS=$ac_check_lib_save_LIBS
10552
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10553
9948
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10554
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
9949
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10555
9950
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10557
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10558
$as_echo_n "checking for dlopen... " >&6; }
10559
if test "${ac_cv_func_dlopen+set}" = set; then
10560
$as_echo_n "(cached) " >&6
10562
cat >conftest.$ac_ext <<_ACEOF
10565
cat confdefs.h >>conftest.$ac_ext
10566
cat >>conftest.$ac_ext <<_ACEOF
10567
/* end confdefs.h. */
10568
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10569
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10570
#define dlopen innocuous_dlopen
10572
/* System header to define __stub macros and hopefully few prototypes,
10573
which can conflict with char dlopen (); below.
10574
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10575
<limits.h> exists even on freestanding compilers. */
10578
# include <limits.h>
10580
# include <assert.h>
10585
/* Override any GCC internal prototype to avoid an error.
10586
Use char because int might match the return type of a GCC
10587
builtin and then its argument prototype would still apply. */
10592
/* The GNU C library defines this for functions which it implements
10593
to always fail with ENOSYS. Some functions are actually named
10594
something starting with __ and the normal name is an alias. */
10595
#if defined __stub_dlopen || defined __stub___dlopen
10607
rm -f conftest.$ac_objext conftest$ac_exeext
10608
if { (ac_try="$ac_link"
10609
case "(($ac_try" in
10610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10611
*) ac_try_echo=$ac_try;;
10613
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10614
$as_echo "$ac_try_echo") >&5
10615
(eval "$ac_link") 2>conftest.er1
10617
grep -v '^ *+' conftest.er1 >conftest.err
10619
cat conftest.err >&5
10620
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10621
(exit $ac_status); } && {
10622
test -z "$ac_c_werror_flag" ||
10623
test ! -s conftest.err
10624
} && test -s conftest$ac_exeext && {
10625
test "$cross_compiling" = yes ||
10626
$as_test_x conftest$ac_exeext
10628
ac_cv_func_dlopen=yes
10630
$as_echo "$as_me: failed program was:" >&5
10631
sed 's/^/| /' conftest.$ac_ext >&5
10633
ac_cv_func_dlopen=no
10636
rm -rf conftest.dSYM
10637
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638
conftest$ac_exeext conftest.$ac_ext
10640
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10641
$as_echo "$ac_cv_func_dlopen" >&6; }
10642
if test "x$ac_cv_func_dlopen" = x""yes; then
9952
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
9953
if test "x$ac_cv_func_dlopen" = x""yes; then :
10643
9954
lt_cv_dlopen="dlopen"
10645
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10646
9957
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10647
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9958
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10648
9959
$as_echo_n "(cached) " >&6
10650
9961
ac_check_lib_save_LIBS=$LIBS
10651
9962
LIBS="-ldl $LIBS"
10652
cat >conftest.$ac_ext <<_ACEOF
10655
cat confdefs.h >>conftest.$ac_ext
10656
cat >>conftest.$ac_ext <<_ACEOF
9963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10657
9964
/* end confdefs.h. */
10659
9966
/* Override any GCC internal prototype to avoid an error.
11465
10692
# Put the nasty error message in config.log where it belongs
11466
10693
echo "$DESKTOP_FILE_UTILS_PKG_ERRORS" >&5
11468
{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11470
$DESKTOP_FILE_UTILS_PKG_ERRORS
11472
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11473
installed software in a non-standard prefix.
11475
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11476
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11477
See the pkg-config man page for more details.
11479
$as_echo "$as_me: error: Package requirements (glib-2.0 >= 2.8.0) were not met:
11481
$DESKTOP_FILE_UTILS_PKG_ERRORS
11483
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11484
installed software in a non-standard prefix.
11486
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11487
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11488
See the pkg-config man page for more details.
11490
{ (exit 1); exit 1; }; }
10695
as_fn_error "Package requirements (glib-2.0 >= 2.8.0) were not met:
10697
$DESKTOP_FILE_UTILS_PKG_ERRORS
10699
Consider adjusting the PKG_CONFIG_PATH environment variable if you
10700
installed software in a non-standard prefix.
10702
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
10703
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
10704
See the pkg-config man page for more details." "$LINENO" 5
11491
10705
elif test $pkg_failed = untried; then
11492
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
10706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10707
$as_echo "no" >&6; }
10708
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11493
10709
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11494
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
11495
is in your PATH or set the PKG_CONFIG environment variable to the full
11496
path to pkg-config.
11498
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11499
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11500
See the pkg-config man page for more details.
11502
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11503
See \`config.log' for more details." >&5
11504
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
11505
is in your PATH or set the PKG_CONFIG environment variable to the full
11506
path to pkg-config.
11508
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
11509
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
11510
See the pkg-config man page for more details.
11512
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11513
See \`config.log' for more details." >&2;}
11514
{ (exit 1); exit 1; }; }; }
10710
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
10711
is in your PATH or set the PKG_CONFIG environment variable to the full
10712
path to pkg-config.
10714
Alternatively, you may set the environment variables DESKTOP_FILE_UTILS_CFLAGS
10715
and DESKTOP_FILE_UTILS_LIBS to avoid the need to call pkg-config.
10716
See the pkg-config man page for more details.
10718
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
10719
See \`config.log' for more details." "$LINENO" 5; }
11516
10721
DESKTOP_FILE_UTILS_CFLAGS=$pkg_cv_DESKTOP_FILE_UTILS_CFLAGS
11517
10722
DESKTOP_FILE_UTILS_LIBS=$pkg_cv_DESKTOP_FILE_UTILS_LIBS
11518
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11519
10724
$as_echo "yes" >&6; }
11523
10728
# If set to t, that means we are running in a shell under Emacs.