67
131
# Name of the executable.
68
as_me=`$as_basename "$0" ||
132
as_me=`$as_basename -- "$0" ||
69
133
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
134
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
135
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
137
sed '/^.*\/\([^/][^/]*\)\/*$/{
155
if test "x$CONFIG_SHELL" = x; then
156
if (eval ":") 2>/dev/null; then
162
if test $as_have_required = yes && (eval ":
172
as_func_ret_success () {
175
as_func_ret_failure () {
180
if as_func_success; then
184
echo as_func_success failed.
187
if as_func_failure; then
189
echo as_func_failure succeeded.
192
if as_func_ret_success; then
196
echo as_func_ret_success failed.
199
if as_func_ret_failure; then
201
echo as_func_ret_failure succeeded.
204
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208
echo positional parameters were not saved.
211
test \$exitcode = 0) || { (exit 1); exit 1; }
216
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218
") 2> /dev/null; then
132
222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
226
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
229
for as_base in sh bash ksh sh5; do
230
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
237
for as_shell in $as_candidate_shells $SHELL; do
238
# Try only shells that exist, to save several forks.
239
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240
{ ("$as_shell") 2> /dev/null <<\_ASEOF
241
# Be Bourne compatible
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
252
BIN_SH=xpg4; export BIN_SH # for Tru64
253
DUALCASE=1; export DUALCASE # for MKS sh
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
# Be Bourne compatible
262
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266
# is contrary to our usage. Disable this feature.
267
alias -g '${1+"$@"}'='"$@"'
270
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
272
BIN_SH=xpg4; export BIN_SH # for Tru64
273
DUALCASE=1; export DUALCASE # for MKS sh
285
as_func_ret_success () {
288
as_func_ret_failure () {
293
if as_func_success; then
297
echo as_func_success failed.
300
if as_func_failure; then
302
echo as_func_failure succeeded.
305
if as_func_ret_success; then
309
echo as_func_ret_success failed.
312
if as_func_ret_failure; then
314
echo as_func_ret_failure succeeded.
317
if ( set x; as_func_ret_success y && test x = "$1" ); then
321
echo positional parameters were not saved.
324
test $exitcode = 0) || { (exit 1); exit 1; }
329
test "x$as_lineno_1" != "x$as_lineno_2" &&
330
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
341
if test "x$CONFIG_SHELL" != x; then
342
for as_var in BASH_ENV ENV
343
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
346
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350
if test $as_have_required = no; then
351
echo This script requires a shell more modern than all the
352
echo shells that I found on your system. Please install a
353
echo modern shell, or manually run the script under such a
354
echo shell if you do have one.
355
{ (exit 1); exit 1; }
365
(eval "as_func_return () {
374
as_func_ret_success () {
377
as_func_ret_failure () {
382
if as_func_success; then
386
echo as_func_success failed.
389
if as_func_failure; then
391
echo as_func_failure succeeded.
394
if as_func_ret_success; then
398
echo as_func_ret_success failed.
401
if as_func_ret_failure; then
403
echo as_func_ret_failure succeeded.
406
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410
echo positional parameters were not saved.
413
test \$exitcode = 0") || {
414
echo No shell found that supports shell functions.
415
echo Please tell autoconf@gnu.org about your system,
416
echo including any error possibly output before this
424
test "x$as_lineno_1" != "x$as_lineno_2" &&
425
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
427
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
428
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
429
# line-number line after each line using $LINENO; the second 'sed'
430
# does the real work. The second script uses 'N' to pair each
431
# line-number line with the line containing $LINENO, and appends
432
# trailing '-' during substitution so that $LINENO is not a special
164
434
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
435
# scripts with optimization help from Paolo Bonzini. Blame Lee
436
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
448
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
451
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
452
chmod +x "$as_me.lineno" ||
177
453
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
454
{ (exit 1); exit 1; }; }
180
456
# Don't try to exec as it changes $[0], causing all sort of problems
181
457
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
458
# original and so on. Autoconf is especially sensitive to this).
184
460
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
465
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
471
ECHO_C= ECHO_N= ECHO_T=
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
482
if expr a : '\(a\)' >/dev/null 2>&1 &&
483
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
489
rm -f conf$$ conf$$.exe conf$$.file
490
if test -d conf$$.dir; then
491
rm -f conf$$.dir/conf$$.file
203
496
echo >conf$$.file
204
497
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
499
# ... but there are two gotchas:
500
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
501
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
502
# In both cases, we have to default to `cp -p'.
503
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
505
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
510
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
511
rmdir conf$$.dir 2>/dev/null
220
513
if mkdir -p . 2>/dev/null; then
516
test -d ./-p && rmdir ./-p
226
as_executable_p="test -f"
520
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
521
# systems may use methods other than mode bits to determine executability.
522
cat >conf$$.file <<_ASEOF
527
if test -x conf$$.file >/dev/null 2>&1; then
528
as_executable_p="test -x"
228
534
# Sed expression to map a string onto a valid CPP name.
229
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
535
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
537
# Sed expression to map a string onto a valid variable name.
232
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236
# We need space, tab and new line, in precisely that order.
538
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3054
3743
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3056
# Check whether --enable-shared or --disable-shared was given.
3746
case "$am__api_version" in
3748
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
3749
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
3750
{ (exit 1); exit 1; }; }
3757
{ echo "$as_me:$LINENO: checking for intltool >= " >&5
3758
echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; }
3760
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
3761
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
3762
INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in`
3764
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
3765
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
3766
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
3767
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5
3768
echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;}
3769
{ (exit 1); exit 1; }; }
3772
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3773
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3774
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3775
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3776
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
3777
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3778
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3779
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3780
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3781
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3782
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3783
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
3784
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3785
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3786
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3787
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3788
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3789
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
3810
# Use the tools built into the package, not the ones that are installed.
3811
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
3813
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
3815
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
3818
# Extract the first word of "perl", so it can be a program name with args.
3819
set dummy perl; ac_word=$2
3820
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3821
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3822
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
3823
echo $ECHO_N "(cached) $ECHO_C" >&6
3825
case $INTLTOOL_PERL in
3827
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
3830
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834
test -z "$as_dir" && as_dir=.
3835
for ac_exec_ext in '' $ac_executable_extensions; do
3836
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3837
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
3838
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3848
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
3849
if test -n "$INTLTOOL_PERL"; then
3850
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
3851
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
3853
{ echo "$as_me:$LINENO: result: no" >&5
3854
echo "${ECHO_T}no" >&6; }
3858
if test -z "$INTLTOOL_PERL"; then
3859
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
3860
echo "$as_me: error: perl not found; required for intltool" >&2;}
3861
{ (exit 1); exit 1; }; }
3863
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
3864
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
3865
echo "$as_me: error: perl 5.x required for intltool" >&2;}
3866
{ (exit 1); exit 1; }; }
3868
if test "x" != "xno-xml"; then
3869
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
3870
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
3871
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
3872
{ echo "$as_me:$LINENO: result: ok" >&5
3873
echo "${ECHO_T}ok" >&6; }
3875
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
3876
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
3877
{ (exit 1); exit 1; }; }
3881
# Extract the first word of "iconv", so it can be a program name with args.
3882
set dummy iconv; ac_word=$2
3883
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3884
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3885
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
3886
echo $ECHO_N "(cached) $ECHO_C" >&6
3888
case $INTLTOOL_ICONV in
3890
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
3893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897
test -z "$as_dir" && as_dir=.
3898
for ac_exec_ext in '' $ac_executable_extensions; do
3899
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3900
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
3901
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3908
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
3912
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
3913
if test -n "$INTLTOOL_ICONV"; then
3914
{ echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
3915
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
3917
{ echo "$as_me:$LINENO: result: no" >&5
3918
echo "${ECHO_T}no" >&6; }
3922
# Extract the first word of "msgfmt", so it can be a program name with args.
3923
set dummy msgfmt; ac_word=$2
3924
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3925
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3926
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
3927
echo $ECHO_N "(cached) $ECHO_C" >&6
3929
case $INTLTOOL_MSGFMT in
3931
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
3934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938
test -z "$as_dir" && as_dir=.
3939
for ac_exec_ext in '' $ac_executable_extensions; do
3940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3941
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
3942
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3949
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
3953
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
3954
if test -n "$INTLTOOL_MSGFMT"; then
3955
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
3956
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
3958
{ echo "$as_me:$LINENO: result: no" >&5
3959
echo "${ECHO_T}no" >&6; }
3963
# Extract the first word of "msgmerge", so it can be a program name with args.
3964
set dummy msgmerge; ac_word=$2
3965
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3966
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3967
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
3968
echo $ECHO_N "(cached) $ECHO_C" >&6
3970
case $INTLTOOL_MSGMERGE in
3972
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
3975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3979
test -z "$as_dir" && as_dir=.
3980
for ac_exec_ext in '' $ac_executable_extensions; do
3981
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3982
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
3983
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3990
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
3994
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
3995
if test -n "$INTLTOOL_MSGMERGE"; then
3996
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
3997
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
3999
{ echo "$as_me:$LINENO: result: no" >&5
4000
echo "${ECHO_T}no" >&6; }
4004
# Extract the first word of "xgettext", so it can be a program name with args.
4005
set dummy xgettext; ac_word=$2
4006
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4007
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4008
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
4009
echo $ECHO_N "(cached) $ECHO_C" >&6
4011
case $INTLTOOL_XGETTEXT in
4013
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
4016
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4020
test -z "$as_dir" && as_dir=.
4021
for ac_exec_ext in '' $ac_executable_extensions; do
4022
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
4023
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4024
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4031
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
4035
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
4036
if test -n "$INTLTOOL_XGETTEXT"; then
4037
{ echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
4038
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
4040
{ echo "$as_me:$LINENO: result: no" >&5
4041
echo "${ECHO_T}no" >&6; }
4046
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4052
ac_config_commands="$ac_config_commands intltool"
4056
# Check whether --enable-shared was given.
3057
4057
if test "${enable_shared+set}" = set; then
3058
enableval="$enable_shared"
3059
p=${PACKAGE-default}
4058
enableval=$enable_shared; p=${PACKAGE-default}
3060
4059
case $enableval in
3061
4060
yes) enable_shared=yes ;;
3062
4061
no) enable_shared=no ;;
11552
13967
enable_fast_install=needless
11557
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11558
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11559
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11560
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11561
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11562
echo "$as_me:$LINENO: result: yes" >&5
11563
echo "${ECHO_T}yes" >&6
11565
# FIXME - insert some real tests, host_os isn't really good enough
11568
if test -n "$STRIP" ; then
11569
striplib="$STRIP -x"
11570
echo "$as_me:$LINENO: result: yes" >&5
11571
echo "${ECHO_T}yes" >&6
11573
echo "$as_me:$LINENO: result: no" >&5
11574
echo "${ECHO_T}no" >&6
11578
echo "$as_me:$LINENO: result: no" >&5
11579
echo "${ECHO_T}no" >&6
11584
if test "x$enable_dlopen" != xyes; then
11585
enable_dlopen=unknown
11586
enable_dlopen_self=unknown
11587
enable_dlopen_self_static=unknown
11594
lt_cv_dlopen="load_add_on"
11596
lt_cv_dlopen_self=yes
11600
lt_cv_dlopen="LoadLibrary"
11605
lt_cv_dlopen="dlopen"
11610
# if libdl is installed we need to link against it
11611
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11612
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11613
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11614
echo $ECHO_N "(cached) $ECHO_C" >&6
11616
ac_check_lib_save_LIBS=$LIBS
11618
cat >conftest.$ac_ext <<_ACEOF
11619
#line $LINENO "configure"
11622
cat confdefs.h >>conftest.$ac_ext
11623
cat >>conftest.$ac_ext <<_ACEOF
11624
/* end confdefs.h. */
11626
/* Override any gcc2 internal prototype to avoid an error. */
11630
/* We use char because int might match the return type of a gcc2
11631
builtin and then its argument prototype would still apply. */
11641
rm -f conftest.$ac_objext conftest$ac_exeext
11642
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11643
(eval $ac_link) 2>&5
11645
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11646
(exit $ac_status); } &&
11647
{ ac_try='test -s conftest$ac_exeext'
11648
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11649
(eval $ac_try) 2>&5
11651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652
(exit $ac_status); }; }; then
11653
ac_cv_lib_dl_dlopen=yes
11655
echo "$as_me: failed program was:" >&5
11656
sed 's/^/| /' conftest.$ac_ext >&5
11658
ac_cv_lib_dl_dlopen=no
11660
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11661
LIBS=$ac_check_lib_save_LIBS
11663
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11664
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11665
if test $ac_cv_lib_dl_dlopen = yes; then
11666
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11669
lt_cv_dlopen="dyld"
11671
lt_cv_dlopen_self=yes
11678
echo "$as_me:$LINENO: checking for shl_load" >&5
11679
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11680
if test "${ac_cv_func_shl_load+set}" = set; then
11681
echo $ECHO_N "(cached) $ECHO_C" >&6
11683
cat >conftest.$ac_ext <<_ACEOF
11684
#line $LINENO "configure"
11687
cat confdefs.h >>conftest.$ac_ext
11688
cat >>conftest.$ac_ext <<_ACEOF
11689
/* end confdefs.h. */
11690
/* System header to define __stub macros and hopefully few prototypes,
11691
which can conflict with char shl_load (); below.
11692
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11693
<limits.h> exists even on freestanding compilers. */
11695
# include <limits.h>
11697
# include <assert.h>
11699
/* Override any gcc2 internal prototype to avoid an error. */
11704
/* We use char because int might match the return type of a gcc2
11705
builtin and then its argument prototype would still apply. */
11707
/* The GNU C library defines this for functions which it implements
11708
to always fail with ENOSYS. Some functions are actually named
11709
something starting with __ and the normal name is an alias. */
11710
#if defined (__stub_shl_load) || defined (__stub___shl_load)
11713
char (*f) () = shl_load;
11722
return f != shl_load;
11727
rm -f conftest.$ac_objext conftest$ac_exeext
11728
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11729
(eval $ac_link) 2>&5
11731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732
(exit $ac_status); } &&
11733
{ ac_try='test -s conftest$ac_exeext'
11734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735
(eval $ac_try) 2>&5
11737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738
(exit $ac_status); }; }; then
11739
ac_cv_func_shl_load=yes
11741
echo "$as_me: failed program was:" >&5
11742
sed 's/^/| /' conftest.$ac_ext >&5
11744
ac_cv_func_shl_load=no
11746
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11748
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11749
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11750
if test $ac_cv_func_shl_load = yes; then
11751
lt_cv_dlopen="shl_load"
11753
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11754
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11755
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11756
echo $ECHO_N "(cached) $ECHO_C" >&6
11758
ac_check_lib_save_LIBS=$LIBS
11760
cat >conftest.$ac_ext <<_ACEOF
11761
#line $LINENO "configure"
11764
cat confdefs.h >>conftest.$ac_ext
11765
cat >>conftest.$ac_ext <<_ACEOF
11766
/* end confdefs.h. */
11768
/* Override any gcc2 internal prototype to avoid an error. */
11772
/* We use char because int might match the return type of a gcc2
11773
builtin and then its argument prototype would still apply. */
11783
rm -f conftest.$ac_objext conftest$ac_exeext
11784
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11785
(eval $ac_link) 2>&5
11787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11788
(exit $ac_status); } &&
11789
{ ac_try='test -s conftest$ac_exeext'
11790
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11791
(eval $ac_try) 2>&5
11793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11794
(exit $ac_status); }; }; then
11795
ac_cv_lib_dld_shl_load=yes
11797
echo "$as_me: failed program was:" >&5
11798
sed 's/^/| /' conftest.$ac_ext >&5
11800
ac_cv_lib_dld_shl_load=no
11802
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11803
LIBS=$ac_check_lib_save_LIBS
11805
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11806
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11807
if test $ac_cv_lib_dld_shl_load = yes; then
11808
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11810
echo "$as_me:$LINENO: checking for dlopen" >&5
11811
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11812
if test "${ac_cv_func_dlopen+set}" = set; then
11813
echo $ECHO_N "(cached) $ECHO_C" >&6
11815
cat >conftest.$ac_ext <<_ACEOF
11816
#line $LINENO "configure"
11819
cat confdefs.h >>conftest.$ac_ext
11820
cat >>conftest.$ac_ext <<_ACEOF
11821
/* end confdefs.h. */
11822
/* System header to define __stub macros and hopefully few prototypes,
11823
which can conflict with char dlopen (); below.
11824
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11825
<limits.h> exists even on freestanding compilers. */
11827
# include <limits.h>
11829
# include <assert.h>
11831
/* Override any gcc2 internal prototype to avoid an error. */
11836
/* We use char because int might match the return type of a gcc2
11837
builtin and then its argument prototype would still apply. */
11839
/* The GNU C library defines this for functions which it implements
11840
to always fail with ENOSYS. Some functions are actually named
11841
something starting with __ and the normal name is an alias. */
11842
#if defined (__stub_dlopen) || defined (__stub___dlopen)
11845
char (*f) () = dlopen;
11854
return f != dlopen;
11859
rm -f conftest.$ac_objext conftest$ac_exeext
11860
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11861
(eval $ac_link) 2>&5
11863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864
(exit $ac_status); } &&
11865
{ ac_try='test -s conftest$ac_exeext'
11866
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867
(eval $ac_try) 2>&5
11869
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870
(exit $ac_status); }; }; then
11871
ac_cv_func_dlopen=yes
11873
echo "$as_me: failed program was:" >&5
11874
sed 's/^/| /' conftest.$ac_ext >&5
11876
ac_cv_func_dlopen=no
11878
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11880
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11881
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11882
if test $ac_cv_func_dlopen = yes; then
11883
lt_cv_dlopen="dlopen"
11885
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11886
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11887
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11888
echo $ECHO_N "(cached) $ECHO_C" >&6
11890
ac_check_lib_save_LIBS=$LIBS
11892
cat >conftest.$ac_ext <<_ACEOF
11893
#line $LINENO "configure"
11896
cat confdefs.h >>conftest.$ac_ext
11897
cat >>conftest.$ac_ext <<_ACEOF
11898
/* end confdefs.h. */
11900
/* Override any gcc2 internal prototype to avoid an error. */
11904
/* We use char because int might match the return type of a gcc2
11905
builtin and then its argument prototype would still apply. */
11915
rm -f conftest.$ac_objext conftest$ac_exeext
11916
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11917
(eval $ac_link) 2>&5
11919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11920
(exit $ac_status); } &&
11921
{ ac_try='test -s conftest$ac_exeext'
11922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11923
(eval $ac_try) 2>&5
11925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11926
(exit $ac_status); }; }; then
11927
ac_cv_lib_dl_dlopen=yes
11929
echo "$as_me: failed program was:" >&5
11930
sed 's/^/| /' conftest.$ac_ext >&5
11932
ac_cv_lib_dl_dlopen=no
11934
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11935
LIBS=$ac_check_lib_save_LIBS
11937
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11938
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11939
if test $ac_cv_lib_dl_dlopen = yes; then
11940
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11942
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11943
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11944
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11945
echo $ECHO_N "(cached) $ECHO_C" >&6
11947
ac_check_lib_save_LIBS=$LIBS
11948
LIBS="-lsvld $LIBS"
11949
cat >conftest.$ac_ext <<_ACEOF
11950
#line $LINENO "configure"
11953
cat confdefs.h >>conftest.$ac_ext
11954
cat >>conftest.$ac_ext <<_ACEOF
11955
/* end confdefs.h. */
11957
/* Override any gcc2 internal prototype to avoid an error. */
11961
/* We use char because int might match the return type of a gcc2
11962
builtin and then its argument prototype would still apply. */
11972
rm -f conftest.$ac_objext conftest$ac_exeext
11973
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11974
(eval $ac_link) 2>&5
11976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977
(exit $ac_status); } &&
11978
{ ac_try='test -s conftest$ac_exeext'
11979
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11980
(eval $ac_try) 2>&5
11982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11983
(exit $ac_status); }; }; then
11984
ac_cv_lib_svld_dlopen=yes
11986
echo "$as_me: failed program was:" >&5
11987
sed 's/^/| /' conftest.$ac_ext >&5
11989
ac_cv_lib_svld_dlopen=no
11991
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11992
LIBS=$ac_check_lib_save_LIBS
11994
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11995
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11996
if test $ac_cv_lib_svld_dlopen = yes; then
11997
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11999
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12000
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12001
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12002
echo $ECHO_N "(cached) $ECHO_C" >&6
12004
ac_check_lib_save_LIBS=$LIBS
12006
cat >conftest.$ac_ext <<_ACEOF
12007
#line $LINENO "configure"
12010
cat confdefs.h >>conftest.$ac_ext
12011
cat >>conftest.$ac_ext <<_ACEOF
12012
/* end confdefs.h. */
12014
/* Override any gcc2 internal prototype to avoid an error. */
12018
/* We use char because int might match the return type of a gcc2
12019
builtin and then its argument prototype would still apply. */
12029
rm -f conftest.$ac_objext conftest$ac_exeext
12030
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12031
(eval $ac_link) 2>&5
12033
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034
(exit $ac_status); } &&
12035
{ ac_try='test -s conftest$ac_exeext'
12036
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037
(eval $ac_try) 2>&5
12039
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040
(exit $ac_status); }; }; then
12041
ac_cv_lib_dld_dld_link=yes
12043
echo "$as_me: failed program was:" >&5
12044
sed 's/^/| /' conftest.$ac_ext >&5
12046
ac_cv_lib_dld_dld_link=no
12048
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12049
LIBS=$ac_check_lib_save_LIBS
12051
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12052
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12053
if test $ac_cv_lib_dld_dld_link = yes; then
12054
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12075
if test "x$lt_cv_dlopen" != xno; then
12081
case $lt_cv_dlopen in
12083
save_CPPFLAGS="$CPPFLAGS"
12084
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12086
save_LDFLAGS="$LDFLAGS"
12087
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12090
LIBS="$lt_cv_dlopen_libs $LIBS"
12092
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12093
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12094
if test "${lt_cv_dlopen_self+set}" = set; then
12095
echo $ECHO_N "(cached) $ECHO_C" >&6
12097
if test "$cross_compiling" = yes; then :
12098
lt_cv_dlopen_self=cross
12100
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12101
lt_status=$lt_dlunknown
12102
cat > conftest.$ac_ext <<EOF
12103
#line 12103 "configure"
12104
#include "confdefs.h"
12113
# define LT_DLGLOBAL RTLD_GLOBAL
12116
# define LT_DLGLOBAL DL_GLOBAL
12118
# define LT_DLGLOBAL 0
12122
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12123
find out it does not work in some platform. */
12124
#ifndef LT_DLLAZY_OR_NOW
12126
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12129
# define LT_DLLAZY_OR_NOW DL_LAZY
12132
# define LT_DLLAZY_OR_NOW RTLD_NOW
12135
# define LT_DLLAZY_OR_NOW DL_NOW
12137
# define LT_DLLAZY_OR_NOW 0
12145
extern "C" void exit (int);
12148
void fnord() { int i=42;}
12151
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12152
int status = $lt_dlunknown;
12156
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12157
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12158
/* dlclose (self); */
12164
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12165
(eval $ac_link) 2>&5
12167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12168
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12169
(./conftest; exit; ) 2>/dev/null
12171
case x$lt_status in
12172
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12173
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12174
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12177
# compilation failed
12178
lt_cv_dlopen_self=no
12185
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12186
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12188
if test "x$lt_cv_dlopen_self" = xyes; then
12189
LDFLAGS="$LDFLAGS $link_static_flag"
12190
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12191
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12192
if test "${lt_cv_dlopen_self_static+set}" = set; then
12193
echo $ECHO_N "(cached) $ECHO_C" >&6
12195
if test "$cross_compiling" = yes; then :
12196
lt_cv_dlopen_self_static=cross
12198
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12199
lt_status=$lt_dlunknown
12200
cat > conftest.$ac_ext <<EOF
12201
#line 12201 "configure"
12202
#include "confdefs.h"
12211
# define LT_DLGLOBAL RTLD_GLOBAL
12214
# define LT_DLGLOBAL DL_GLOBAL
12216
# define LT_DLGLOBAL 0
12220
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12221
find out it does not work in some platform. */
12222
#ifndef LT_DLLAZY_OR_NOW
12224
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12227
# define LT_DLLAZY_OR_NOW DL_LAZY
12230
# define LT_DLLAZY_OR_NOW RTLD_NOW
12233
# define LT_DLLAZY_OR_NOW DL_NOW
12235
# define LT_DLLAZY_OR_NOW 0
12243
extern "C" void exit (int);
12246
void fnord() { int i=42;}
12249
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12250
int status = $lt_dlunknown;
12254
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12255
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12256
/* dlclose (self); */
12262
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12263
(eval $ac_link) 2>&5
12265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12267
(./conftest; exit; ) 2>/dev/null
12269
case x$lt_status in
12270
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12271
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12272
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12275
# compilation failed
12276
lt_cv_dlopen_self_static=no
12283
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12284
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12287
CPPFLAGS="$save_CPPFLAGS"
12288
LDFLAGS="$save_LDFLAGS"
12293
case $lt_cv_dlopen_self in
12294
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12295
*) enable_dlopen_self=unknown ;;
12298
case $lt_cv_dlopen_self_static in
12299
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12300
*) enable_dlopen_self_static=unknown ;;
12305
13971
# The else clause should only fire when bootstrapping the
12306
13972
# libtool distribution, otherwise you forgot to ship ltmain.sh
16920
19182
enable_fast_install=needless
16925
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16926
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16927
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16928
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16929
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16930
echo "$as_me:$LINENO: result: yes" >&5
16931
echo "${ECHO_T}yes" >&6
16933
# FIXME - insert some real tests, host_os isn't really good enough
16936
if test -n "$STRIP" ; then
16937
striplib="$STRIP -x"
16938
echo "$as_me:$LINENO: result: yes" >&5
16939
echo "${ECHO_T}yes" >&6
16941
echo "$as_me:$LINENO: result: no" >&5
16942
echo "${ECHO_T}no" >&6
16946
echo "$as_me:$LINENO: result: no" >&5
16947
echo "${ECHO_T}no" >&6
16952
if test "x$enable_dlopen" != xyes; then
16953
enable_dlopen=unknown
16954
enable_dlopen_self=unknown
16955
enable_dlopen_self_static=unknown
16962
lt_cv_dlopen="load_add_on"
16964
lt_cv_dlopen_self=yes
16968
lt_cv_dlopen="LoadLibrary"
16973
lt_cv_dlopen="dlopen"
16978
# if libdl is installed we need to link against it
16979
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16980
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16981
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16982
echo $ECHO_N "(cached) $ECHO_C" >&6
16984
ac_check_lib_save_LIBS=$LIBS
16986
cat >conftest.$ac_ext <<_ACEOF
16987
#line $LINENO "configure"
16990
cat confdefs.h >>conftest.$ac_ext
16991
cat >>conftest.$ac_ext <<_ACEOF
16992
/* end confdefs.h. */
16994
/* Override any gcc2 internal prototype to avoid an error. */
16998
/* We use char because int might match the return type of a gcc2
16999
builtin and then its argument prototype would still apply. */
17009
rm -f conftest.$ac_objext conftest$ac_exeext
17010
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17011
(eval $ac_link) 2>&5
17013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17014
(exit $ac_status); } &&
17015
{ ac_try='test -s conftest$ac_exeext'
17016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17017
(eval $ac_try) 2>&5
17019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020
(exit $ac_status); }; }; then
17021
ac_cv_lib_dl_dlopen=yes
17023
echo "$as_me: failed program was:" >&5
17024
sed 's/^/| /' conftest.$ac_ext >&5
17026
ac_cv_lib_dl_dlopen=no
17028
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17029
LIBS=$ac_check_lib_save_LIBS
17031
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17032
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17033
if test $ac_cv_lib_dl_dlopen = yes; then
17034
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17037
lt_cv_dlopen="dyld"
17039
lt_cv_dlopen_self=yes
17046
echo "$as_me:$LINENO: checking for shl_load" >&5
17047
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17048
if test "${ac_cv_func_shl_load+set}" = set; then
17049
echo $ECHO_N "(cached) $ECHO_C" >&6
17051
cat >conftest.$ac_ext <<_ACEOF
17052
#line $LINENO "configure"
17055
cat confdefs.h >>conftest.$ac_ext
17056
cat >>conftest.$ac_ext <<_ACEOF
17057
/* end confdefs.h. */
17058
/* System header to define __stub macros and hopefully few prototypes,
17059
which can conflict with char shl_load (); below.
17060
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17061
<limits.h> exists even on freestanding compilers. */
17063
# include <limits.h>
17065
# include <assert.h>
17067
/* Override any gcc2 internal prototype to avoid an error. */
17072
/* We use char because int might match the return type of a gcc2
17073
builtin and then its argument prototype would still apply. */
17075
/* The GNU C library defines this for functions which it implements
17076
to always fail with ENOSYS. Some functions are actually named
17077
something starting with __ and the normal name is an alias. */
17078
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17081
char (*f) () = shl_load;
17090
return f != shl_load;
17095
rm -f conftest.$ac_objext conftest$ac_exeext
17096
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17097
(eval $ac_link) 2>&5
17099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100
(exit $ac_status); } &&
17101
{ ac_try='test -s conftest$ac_exeext'
17102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103
(eval $ac_try) 2>&5
17105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106
(exit $ac_status); }; }; then
17107
ac_cv_func_shl_load=yes
17109
echo "$as_me: failed program was:" >&5
17110
sed 's/^/| /' conftest.$ac_ext >&5
17112
ac_cv_func_shl_load=no
17114
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17116
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17117
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17118
if test $ac_cv_func_shl_load = yes; then
17119
lt_cv_dlopen="shl_load"
17121
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17122
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17123
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17124
echo $ECHO_N "(cached) $ECHO_C" >&6
17126
ac_check_lib_save_LIBS=$LIBS
17128
cat >conftest.$ac_ext <<_ACEOF
17129
#line $LINENO "configure"
17132
cat confdefs.h >>conftest.$ac_ext
17133
cat >>conftest.$ac_ext <<_ACEOF
17134
/* end confdefs.h. */
17136
/* Override any gcc2 internal prototype to avoid an error. */
17140
/* We use char because int might match the return type of a gcc2
17141
builtin and then its argument prototype would still apply. */
17151
rm -f conftest.$ac_objext conftest$ac_exeext
17152
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17153
(eval $ac_link) 2>&5
17155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156
(exit $ac_status); } &&
17157
{ ac_try='test -s conftest$ac_exeext'
17158
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159
(eval $ac_try) 2>&5
17161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162
(exit $ac_status); }; }; then
17163
ac_cv_lib_dld_shl_load=yes
17165
echo "$as_me: failed program was:" >&5
17166
sed 's/^/| /' conftest.$ac_ext >&5
17168
ac_cv_lib_dld_shl_load=no
17170
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17171
LIBS=$ac_check_lib_save_LIBS
17173
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17174
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17175
if test $ac_cv_lib_dld_shl_load = yes; then
17176
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17178
echo "$as_me:$LINENO: checking for dlopen" >&5
17179
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17180
if test "${ac_cv_func_dlopen+set}" = set; then
17181
echo $ECHO_N "(cached) $ECHO_C" >&6
17183
cat >conftest.$ac_ext <<_ACEOF
17184
#line $LINENO "configure"
17187
cat confdefs.h >>conftest.$ac_ext
17188
cat >>conftest.$ac_ext <<_ACEOF
17189
/* end confdefs.h. */
17190
/* System header to define __stub macros and hopefully few prototypes,
17191
which can conflict with char dlopen (); below.
17192
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17193
<limits.h> exists even on freestanding compilers. */
17195
# include <limits.h>
17197
# include <assert.h>
17199
/* Override any gcc2 internal prototype to avoid an error. */
17204
/* We use char because int might match the return type of a gcc2
17205
builtin and then its argument prototype would still apply. */
17207
/* The GNU C library defines this for functions which it implements
17208
to always fail with ENOSYS. Some functions are actually named
17209
something starting with __ and the normal name is an alias. */
17210
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17213
char (*f) () = dlopen;
17222
return f != dlopen;
17227
rm -f conftest.$ac_objext conftest$ac_exeext
17228
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17229
(eval $ac_link) 2>&5
17231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232
(exit $ac_status); } &&
17233
{ ac_try='test -s conftest$ac_exeext'
17234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17235
(eval $ac_try) 2>&5
17237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238
(exit $ac_status); }; }; then
17239
ac_cv_func_dlopen=yes
17241
echo "$as_me: failed program was:" >&5
17242
sed 's/^/| /' conftest.$ac_ext >&5
17244
ac_cv_func_dlopen=no
17246
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17248
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17249
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17250
if test $ac_cv_func_dlopen = yes; then
17251
lt_cv_dlopen="dlopen"
17253
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17254
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17255
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17256
echo $ECHO_N "(cached) $ECHO_C" >&6
17258
ac_check_lib_save_LIBS=$LIBS
17260
cat >conftest.$ac_ext <<_ACEOF
17261
#line $LINENO "configure"
17264
cat confdefs.h >>conftest.$ac_ext
17265
cat >>conftest.$ac_ext <<_ACEOF
17266
/* end confdefs.h. */
17268
/* Override any gcc2 internal prototype to avoid an error. */
17272
/* We use char because int might match the return type of a gcc2
17273
builtin and then its argument prototype would still apply. */
17283
rm -f conftest.$ac_objext conftest$ac_exeext
17284
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17285
(eval $ac_link) 2>&5
17287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288
(exit $ac_status); } &&
17289
{ ac_try='test -s conftest$ac_exeext'
17290
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17291
(eval $ac_try) 2>&5
17293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294
(exit $ac_status); }; }; then
17295
ac_cv_lib_dl_dlopen=yes
17297
echo "$as_me: failed program was:" >&5
17298
sed 's/^/| /' conftest.$ac_ext >&5
17300
ac_cv_lib_dl_dlopen=no
17302
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17303
LIBS=$ac_check_lib_save_LIBS
17305
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17306
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17307
if test $ac_cv_lib_dl_dlopen = yes; then
17308
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17310
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17311
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17312
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17313
echo $ECHO_N "(cached) $ECHO_C" >&6
17315
ac_check_lib_save_LIBS=$LIBS
17316
LIBS="-lsvld $LIBS"
17317
cat >conftest.$ac_ext <<_ACEOF
17318
#line $LINENO "configure"
17321
cat confdefs.h >>conftest.$ac_ext
17322
cat >>conftest.$ac_ext <<_ACEOF
17323
/* end confdefs.h. */
17325
/* Override any gcc2 internal prototype to avoid an error. */
17329
/* We use char because int might match the return type of a gcc2
17330
builtin and then its argument prototype would still apply. */
17340
rm -f conftest.$ac_objext conftest$ac_exeext
17341
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17342
(eval $ac_link) 2>&5
17344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345
(exit $ac_status); } &&
17346
{ ac_try='test -s conftest$ac_exeext'
17347
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348
(eval $ac_try) 2>&5
17350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351
(exit $ac_status); }; }; then
17352
ac_cv_lib_svld_dlopen=yes
17354
echo "$as_me: failed program was:" >&5
17355
sed 's/^/| /' conftest.$ac_ext >&5
17357
ac_cv_lib_svld_dlopen=no
17359
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17360
LIBS=$ac_check_lib_save_LIBS
17362
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17363
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17364
if test $ac_cv_lib_svld_dlopen = yes; then
17365
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17367
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17368
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17369
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17370
echo $ECHO_N "(cached) $ECHO_C" >&6
17372
ac_check_lib_save_LIBS=$LIBS
17374
cat >conftest.$ac_ext <<_ACEOF
17375
#line $LINENO "configure"
17378
cat confdefs.h >>conftest.$ac_ext
17379
cat >>conftest.$ac_ext <<_ACEOF
17380
/* end confdefs.h. */
17382
/* Override any gcc2 internal prototype to avoid an error. */
17386
/* We use char because int might match the return type of a gcc2
17387
builtin and then its argument prototype would still apply. */
17397
rm -f conftest.$ac_objext conftest$ac_exeext
17398
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17399
(eval $ac_link) 2>&5
17401
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402
(exit $ac_status); } &&
17403
{ ac_try='test -s conftest$ac_exeext'
17404
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17405
(eval $ac_try) 2>&5
17407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17408
(exit $ac_status); }; }; then
17409
ac_cv_lib_dld_dld_link=yes
17411
echo "$as_me: failed program was:" >&5
17412
sed 's/^/| /' conftest.$ac_ext >&5
17414
ac_cv_lib_dld_dld_link=no
17416
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17417
LIBS=$ac_check_lib_save_LIBS
17419
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17420
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17421
if test $ac_cv_lib_dld_dld_link = yes; then
17422
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17443
if test "x$lt_cv_dlopen" != xno; then
17449
case $lt_cv_dlopen in
17451
save_CPPFLAGS="$CPPFLAGS"
17452
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17454
save_LDFLAGS="$LDFLAGS"
17455
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17458
LIBS="$lt_cv_dlopen_libs $LIBS"
17460
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17461
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17462
if test "${lt_cv_dlopen_self+set}" = set; then
17463
echo $ECHO_N "(cached) $ECHO_C" >&6
17465
if test "$cross_compiling" = yes; then :
17466
lt_cv_dlopen_self=cross
17468
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17469
lt_status=$lt_dlunknown
17470
cat > conftest.$ac_ext <<EOF
17471
#line 17471 "configure"
17472
#include "confdefs.h"
17481
# define LT_DLGLOBAL RTLD_GLOBAL
17484
# define LT_DLGLOBAL DL_GLOBAL
17486
# define LT_DLGLOBAL 0
17490
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17491
find out it does not work in some platform. */
17492
#ifndef LT_DLLAZY_OR_NOW
17494
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17497
# define LT_DLLAZY_OR_NOW DL_LAZY
17500
# define LT_DLLAZY_OR_NOW RTLD_NOW
17503
# define LT_DLLAZY_OR_NOW DL_NOW
17505
# define LT_DLLAZY_OR_NOW 0
17513
extern "C" void exit (int);
17516
void fnord() { int i=42;}
17519
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17520
int status = $lt_dlunknown;
17524
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17525
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17526
/* dlclose (self); */
17532
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17533
(eval $ac_link) 2>&5
17535
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17537
(./conftest; exit; ) 2>/dev/null
17539
case x$lt_status in
17540
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17541
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17542
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17545
# compilation failed
17546
lt_cv_dlopen_self=no
17553
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17554
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17556
if test "x$lt_cv_dlopen_self" = xyes; then
17557
LDFLAGS="$LDFLAGS $link_static_flag"
17558
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17559
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17560
if test "${lt_cv_dlopen_self_static+set}" = set; then
17561
echo $ECHO_N "(cached) $ECHO_C" >&6
17563
if test "$cross_compiling" = yes; then :
17564
lt_cv_dlopen_self_static=cross
17566
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17567
lt_status=$lt_dlunknown
17568
cat > conftest.$ac_ext <<EOF
17569
#line 17569 "configure"
17570
#include "confdefs.h"
17579
# define LT_DLGLOBAL RTLD_GLOBAL
17582
# define LT_DLGLOBAL DL_GLOBAL
17584
# define LT_DLGLOBAL 0
17588
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17589
find out it does not work in some platform. */
17590
#ifndef LT_DLLAZY_OR_NOW
17592
# define LT_DLLAZY_OR_NOW RTLD_LAZY
17595
# define LT_DLLAZY_OR_NOW DL_LAZY
17598
# define LT_DLLAZY_OR_NOW RTLD_NOW
17601
# define LT_DLLAZY_OR_NOW DL_NOW
17603
# define LT_DLLAZY_OR_NOW 0
17611
extern "C" void exit (int);
17614
void fnord() { int i=42;}
17617
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17618
int status = $lt_dlunknown;
17622
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17623
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17624
/* dlclose (self); */
17630
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17631
(eval $ac_link) 2>&5
17633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17634
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17635
(./conftest; exit; ) 2>/dev/null
17637
case x$lt_status in
17638
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17639
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17640
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17643
# compilation failed
17644
lt_cv_dlopen_self_static=no
17651
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17652
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17655
CPPFLAGS="$save_CPPFLAGS"
17656
LDFLAGS="$save_LDFLAGS"
17661
case $lt_cv_dlopen_self in
17662
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17663
*) enable_dlopen_self=unknown ;;
17666
case $lt_cv_dlopen_self_static in
17667
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17668
*) enable_dlopen_self_static=unknown ;;
17673
19186
# The else clause should only fire when bootstrapping the
17674
19187
# libtool distribution, otherwise you forgot to ship ltmain.sh
18584
# Checks for libraries.
18586
# Checks for header files.
18588
# Checks for typedefs, structures, and compiler characteristics.
18589
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18590
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18591
if test "${ac_cv_c_const+set}" = set; then
18592
echo $ECHO_N "(cached) $ECHO_C" >&6
18594
cat >conftest.$ac_ext <<_ACEOF
18595
#line $LINENO "configure"
18598
cat confdefs.h >>conftest.$ac_ext
18599
cat >>conftest.$ac_ext <<_ACEOF
18600
/* end confdefs.h. */
18605
/* FIXME: Include the comments suggested by Paul. */
18606
#ifndef __cplusplus
18607
/* Ultrix mips cc rejects this. */
18608
typedef int charset[2];
18610
/* SunOS 4.1.1 cc rejects this. */
18611
char const *const *ccp;
18613
/* NEC SVR4.0.2 mips cc rejects this. */
18614
struct point {int x, y;};
18615
static struct point const zero = {0,0};
18616
/* AIX XL C 1.02.0.0 rejects this.
18617
It does not let you subtract one const X* pointer from another in
18618
an arm of an if-expression whose if-part is not a constant
18620
const char *g = "string";
18621
ccp = &g + (g ? g-g : 0);
18622
/* HPUX 7.0 cc rejects these. */
18625
ccp = (char const *const *) p;
18626
{ /* SCO 3.2v4 cc rejects this. */
18628
char const *s = 0 ? (char *) 0 : (char const *) 0;
18632
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18633
int x[] = {25, 17};
18634
const int *foo = &x[0];
18637
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18638
typedef const int *iptr;
18642
{ /* AIX XL C 1.02.0.0 rejects this saying
18643
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18644
struct s { int j; const int *ap[3]; };
18645
struct s *b; b->j = 5;
18647
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18648
const int foo = 10;
18656
rm -f conftest.$ac_objext
18657
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658
(eval $ac_compile) 2>&5
18660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18661
(exit $ac_status); } &&
18662
{ ac_try='test -s conftest.$ac_objext'
18663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18664
(eval $ac_try) 2>&5
18666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18667
(exit $ac_status); }; }; then
18670
echo "$as_me: failed program was:" >&5
18671
sed 's/^/| /' conftest.$ac_ext >&5
18675
rm -f conftest.$ac_objext conftest.$ac_ext
18677
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18678
echo "${ECHO_T}$ac_cv_c_const" >&6
18679
if test $ac_cv_c_const = no; then
18681
cat >>confdefs.h <<\_ACEOF
18687
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
18688
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
18689
if test "${ac_cv_header_time+set}" = set; then
18690
echo $ECHO_N "(cached) $ECHO_C" >&6
18692
cat >conftest.$ac_ext <<_ACEOF
18693
#line $LINENO "configure"
18696
cat confdefs.h >>conftest.$ac_ext
18697
cat >>conftest.$ac_ext <<_ACEOF
18698
/* end confdefs.h. */
18699
#include <sys/types.h>
18700
#include <sys/time.h>
18706
if ((struct tm *) 0)
18712
rm -f conftest.$ac_objext
18713
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714
(eval $ac_compile) 2>&5
18716
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717
(exit $ac_status); } &&
18718
{ ac_try='test -s conftest.$ac_objext'
18719
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18720
(eval $ac_try) 2>&5
18722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723
(exit $ac_status); }; }; then
18724
ac_cv_header_time=yes
18726
echo "$as_me: failed program was:" >&5
18727
sed 's/^/| /' conftest.$ac_ext >&5
18729
ac_cv_header_time=no
18731
rm -f conftest.$ac_objext conftest.$ac_ext
18733
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
18734
echo "${ECHO_T}$ac_cv_header_time" >&6
18735
if test $ac_cv_header_time = yes; then
18737
cat >>confdefs.h <<\_ACEOF
18738
#define TIME_WITH_SYS_TIME 1
18743
echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
18744
echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
18745
if test "${ac_cv_struct_tm+set}" = set; then
18746
echo $ECHO_N "(cached) $ECHO_C" >&6
18748
cat >conftest.$ac_ext <<_ACEOF
18749
#line $LINENO "configure"
18752
cat confdefs.h >>conftest.$ac_ext
18753
cat >>conftest.$ac_ext <<_ACEOF
18754
/* end confdefs.h. */
18755
#include <sys/types.h>
18761
struct tm *tp; tp->tm_sec;
18766
rm -f conftest.$ac_objext
18767
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18768
(eval $ac_compile) 2>&5
18770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18771
(exit $ac_status); } &&
18772
{ ac_try='test -s conftest.$ac_objext'
18773
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18774
(eval $ac_try) 2>&5
18776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18777
(exit $ac_status); }; }; then
18778
ac_cv_struct_tm=time.h
18780
echo "$as_me: failed program was:" >&5
18781
sed 's/^/| /' conftest.$ac_ext >&5
18783
ac_cv_struct_tm=sys/time.h
18785
rm -f conftest.$ac_objext conftest.$ac_ext
18787
echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
18788
echo "${ECHO_T}$ac_cv_struct_tm" >&6
18789
if test $ac_cv_struct_tm = sys/time.h; then
18791
cat >>confdefs.h <<\_ACEOF
18792
#define TM_IN_SYS_TIME 1
18798
# Checks for library functions.
18800
for ac_func in strftime
18802
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18803
echo "$as_me:$LINENO: checking for $ac_func" >&5
18804
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18805
if eval "test \"\${$as_ac_var+set}\" = set"; then
18806
echo $ECHO_N "(cached) $ECHO_C" >&6
18808
cat >conftest.$ac_ext <<_ACEOF
18809
#line $LINENO "configure"
18812
cat confdefs.h >>conftest.$ac_ext
18813
cat >>conftest.$ac_ext <<_ACEOF
18814
/* end confdefs.h. */
18815
/* System header to define __stub macros and hopefully few prototypes,
18816
which can conflict with char $ac_func (); below.
18817
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18818
<limits.h> exists even on freestanding compilers. */
18820
# include <limits.h>
18822
# include <assert.h>
18824
/* Override any gcc2 internal prototype to avoid an error. */
18829
/* We use char because int might match the return type of a gcc2
18830
builtin and then its argument prototype would still apply. */
18832
/* The GNU C library defines this for functions which it implements
18833
to always fail with ENOSYS. Some functions are actually named
18834
something starting with __ and the normal name is an alias. */
18835
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18838
char (*f) () = $ac_func;
18847
return f != $ac_func;
18852
rm -f conftest.$ac_objext conftest$ac_exeext
18853
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18854
(eval $ac_link) 2>&5
18856
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857
(exit $ac_status); } &&
18858
{ ac_try='test -s conftest$ac_exeext'
18859
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860
(eval $ac_try) 2>&5
18862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863
(exit $ac_status); }; }; then
18864
eval "$as_ac_var=yes"
18866
echo "$as_me: failed program was:" >&5
18867
sed 's/^/| /' conftest.$ac_ext >&5
18869
eval "$as_ac_var=no"
18871
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18873
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18874
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18875
if test `eval echo '${'$as_ac_var'}'` = yes; then
18876
cat >>confdefs.h <<_ACEOF
18877
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18881
# strftime is in -lintl on SCO UNIX.
18882
echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
18883
echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
18884
if test "${ac_cv_lib_intl_strftime+set}" = set; then
18885
echo $ECHO_N "(cached) $ECHO_C" >&6
18887
ac_check_lib_save_LIBS=$LIBS
18888
LIBS="-lintl $LIBS"
18889
cat >conftest.$ac_ext <<_ACEOF
18890
#line $LINENO "configure"
18893
cat confdefs.h >>conftest.$ac_ext
18894
cat >>conftest.$ac_ext <<_ACEOF
18895
/* end confdefs.h. */
18897
/* Override any gcc2 internal prototype to avoid an error. */
18901
/* We use char because int might match the return type of a gcc2
18902
builtin and then its argument prototype would still apply. */
18912
rm -f conftest.$ac_objext conftest$ac_exeext
18913
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18914
(eval $ac_link) 2>&5
18916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917
(exit $ac_status); } &&
18918
{ ac_try='test -s conftest$ac_exeext'
18919
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18920
(eval $ac_try) 2>&5
18922
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923
(exit $ac_status); }; }; then
18924
ac_cv_lib_intl_strftime=yes
18926
echo "$as_me: failed program was:" >&5
18927
sed 's/^/| /' conftest.$ac_ext >&5
18929
ac_cv_lib_intl_strftime=no
18931
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
18932
LIBS=$ac_check_lib_save_LIBS
18934
echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
18935
echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
18936
if test $ac_cv_lib_intl_strftime = yes; then
18937
cat >>confdefs.h <<\_ACEOF
18938
#define HAVE_STRFTIME 1
18941
LIBS="-lintl $LIBS"
18948
for ac_func in strstr
18950
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18951
echo "$as_me:$LINENO: checking for $ac_func" >&5
18952
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18953
if eval "test \"\${$as_ac_var+set}\" = set"; then
18954
echo $ECHO_N "(cached) $ECHO_C" >&6
18956
cat >conftest.$ac_ext <<_ACEOF
18957
#line $LINENO "configure"
18960
cat confdefs.h >>conftest.$ac_ext
18961
cat >>conftest.$ac_ext <<_ACEOF
18962
/* end confdefs.h. */
18963
/* System header to define __stub macros and hopefully few prototypes,
18964
which can conflict with char $ac_func (); below.
18965
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18966
<limits.h> exists even on freestanding compilers. */
18968
# include <limits.h>
18970
# include <assert.h>
18972
/* Override any gcc2 internal prototype to avoid an error. */
18977
/* We use char because int might match the return type of a gcc2
18978
builtin and then its argument prototype would still apply. */
18980
/* The GNU C library defines this for functions which it implements
18981
to always fail with ENOSYS. Some functions are actually named
18982
something starting with __ and the normal name is an alias. */
18983
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18986
char (*f) () = $ac_func;
18995
return f != $ac_func;
19000
rm -f conftest.$ac_objext conftest$ac_exeext
19001
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19002
(eval $ac_link) 2>&5
19004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005
(exit $ac_status); } &&
19006
{ ac_try='test -s conftest$ac_exeext'
19007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19008
(eval $ac_try) 2>&5
19010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19011
(exit $ac_status); }; }; then
19012
eval "$as_ac_var=yes"
19014
echo "$as_me: failed program was:" >&5
19015
sed 's/^/| /' conftest.$ac_ext >&5
19017
eval "$as_ac_var=no"
19019
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19021
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19022
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19023
if test `eval echo '${'$as_ac_var'}'` = yes; then
19024
cat >>confdefs.h <<_ACEOF
19025
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19032
# checks for xfce stuff
19033
# checks for the xfce panel plugin
19039
if test -z "$PKG_CONFIG"; then
19040
# Extract the first word of "pkg-config", so it can be a program name with args.
19041
set dummy pkg-config; ac_word=$2
19042
echo "$as_me:$LINENO: checking for $ac_word" >&5
19043
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19044
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19045
echo $ECHO_N "(cached) $ECHO_C" >&6
19047
case $PKG_CONFIG in
19049
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19053
for as_dir in $PATH
19056
test -z "$as_dir" && as_dir=.
19057
for ac_exec_ext in '' $ac_executable_extensions; do
19058
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19059
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19060
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19066
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19070
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19072
if test -n "$PKG_CONFIG"; then
19073
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19074
echo "${ECHO_T}$PKG_CONFIG" >&6
19076
echo "$as_me:$LINENO: result: no" >&5
19077
echo "${ECHO_T}no" >&6
19082
if test "$PKG_CONFIG" = "no" ; then
19083
echo "*** The pkg-config script could not be found. Make sure it is"
19084
echo "*** in your path, or set the PKG_CONFIG environment variable"
19085
echo "*** to the full path to pkg-config."
19086
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19088
PKG_CONFIG_MIN_VERSION=0.9.0
19089
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19090
echo "$as_me:$LINENO: checking for xfce4-panel-1.0 >= 4.0.0" >&5
19091
echo $ECHO_N "checking for xfce4-panel-1.0 >= 4.0.0... $ECHO_C" >&6
19093
if $PKG_CONFIG --exists "xfce4-panel-1.0 >= 4.0.0" ; then
19094
echo "$as_me:$LINENO: result: yes" >&5
19095
echo "${ECHO_T}yes" >&6
19098
echo "$as_me:$LINENO: checking XFCE4_PANEL_CFLAGS" >&5
19099
echo $ECHO_N "checking XFCE4_PANEL_CFLAGS... $ECHO_C" >&6
19100
XFCE4_PANEL_CFLAGS=`$PKG_CONFIG --cflags "xfce4-panel-1.0 >= 4.0.0"`
19101
echo "$as_me:$LINENO: result: $XFCE4_PANEL_CFLAGS" >&5
19102
echo "${ECHO_T}$XFCE4_PANEL_CFLAGS" >&6
19104
echo "$as_me:$LINENO: checking XFCE4_PANEL_LIBS" >&5
19105
echo $ECHO_N "checking XFCE4_PANEL_LIBS... $ECHO_C" >&6
19106
XFCE4_PANEL_LIBS=`$PKG_CONFIG --libs "xfce4-panel-1.0 >= 4.0.0"`
19107
echo "$as_me:$LINENO: result: $XFCE4_PANEL_LIBS" >&5
19108
echo "${ECHO_T}$XFCE4_PANEL_LIBS" >&6
19110
XFCE4_PANEL_CFLAGS=""
19111
XFCE4_PANEL_LIBS=""
19112
## If we have a custom action on failure, don't print errors, but
19113
## do set a variable so people can do so.
19114
XFCE4_PANEL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "xfce4-panel-1.0 >= 4.0.0"`
19115
echo $XFCE4_PANEL_PKG_ERRORS
19121
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19122
echo "*** See http://www.freedesktop.org/software/pkgconfig"
19126
if test $succeeded = yes; then
19129
{ { echo "$as_me:$LINENO: error: Library requirements (xfce4-panel-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19130
echo "$as_me: error: Library requirements (xfce4-panel-1.0 >= 4.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19131
{ (exit 1); exit 1; }; }
19134
XFCE4_PANEL_REQUIRED_VERSION=4.0.0
19138
echo "$as_me:$LINENO: checking where to install panel plugins" >&5
19139
echo $ECHO_N "checking where to install panel plugins... $ECHO_C" >&6
19140
XFCE4_PANEL_PLUGINSDIR=`$PKG_CONFIG --variable=pluginsdir xfce4-panel-1.0`
19142
echo "$as_me:$LINENO: result: $XFCE4_PANEL_PLUGINSDIR" >&5
19143
echo "${ECHO_T}$XFCE4_PANEL_PLUGINSDIR" >&6
19146
# Check for i18n support
19148
GETTEXT_PACKAGE=xfce4-datetime
19151
cat >>confdefs.h <<\_ACEOF
19152
#define GETTEXT_PACKAGE "xfce4-datetime"
19156
ALL_LINGUAS="ca fr ko"
20142
GETTEXT_PACKAGE=datetime
20144
cat >>confdefs.h <<_ACEOF
20145
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
19160
20153
for ac_header in locale.h
19162
20155
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19163
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19164
echo "$as_me:$LINENO: checking for $ac_header" >&5
19165
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19166
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20156
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20157
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20158
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20159
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19167
20160
echo $ECHO_N "(cached) $ECHO_C" >&6
19169
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19170
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20162
ac_res=`eval echo '${'$as_ac_Header'}'`
20163
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20164
echo "${ECHO_T}$ac_res" >&6; }
19172
20166
# Is the header compilable?
19173
echo "$as_me:$LINENO: checking $ac_header usability" >&5
19174
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20167
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20168
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19175
20169
cat >conftest.$ac_ext <<_ACEOF
19176
#line $LINENO "configure"
19177
20170
/* confdefs.h. */
19179
20172
cat confdefs.h >>conftest.$ac_ext
20444
21991
echo "$as_me: failed program was:" >&5
20445
21992
sed 's/^/| /' conftest.$ac_ext >&5
20447
ac_cv_func_bind_textdomain_codeset=no
20449
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
20451
echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20452
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6
20455
echo "$as_me:$LINENO: checking for locales directory" >&5
20456
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6
20458
# Check whether --with-locales-dir or --without-locales-dir was given.
21994
ac_cv_func_bind_textdomain_codeset=no
21997
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21998
conftest$ac_exeext conftest.$ac_ext
22000
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22001
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22004
{ echo "$as_me:$LINENO: checking for locales directory" >&5
22005
echo $ECHO_N "checking for locales directory... $ECHO_C" >&6; }
22007
# Check whether --with-locales-dir was given.
20459
22008
if test "${with_locales_dir+set}" = set; then
20460
withval="$with_locales_dir"
20463
localedir=$datadir/locale
20465
echo "$as_me:$LINENO: result: $localedir" >&5
20466
echo "${ECHO_T}$localedir" >&6
20470
# Check for debugging support
20472
# Check whether --enable-debug or --disable-debug was given.
22009
withval=$with_locales_dir; localedir=$withval
22012
if test x"$CATOBJEXT" = x".mo"; then
22013
localedir=$libdir/locale
22015
localedir=$datadir/locale
22020
{ echo "$as_me:$LINENO: result: $localedir" >&5
22021
echo "${ECHO_T}$localedir" >&6; }
22024
{ echo "$as_me:$LINENO: checking for additional xgettext flags" >&5
22025
echo $ECHO_N "checking for additional xgettext flags... $ECHO_C" >&6; }
22026
if test x"$XGETTEXT_ARGS" = x""; then
22027
XGETTEXT_ARGS="--keyword=Q_";
22029
XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_";
22032
{ echo "$as_me:$LINENO: result: $XGETTEXT_ARGS" >&5
22033
echo "${ECHO_T}$XGETTEXT_ARGS" >&6; }
22038
# minimum supported version of pkg-config
22039
xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
22041
# lookup pkg-config utility
22042
if test x"$PKG_CONFIG" = x""; then
22043
# Extract the first word of "pkg-config", so it can be a program name with args.
22044
set dummy pkg-config; ac_word=$2
22045
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22046
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22047
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22048
echo $ECHO_N "(cached) $ECHO_C" >&6
22050
case $PKG_CONFIG in
22052
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22056
for as_dir in $PATH
22059
test -z "$as_dir" && as_dir=.
22060
for ac_exec_ext in '' $ac_executable_extensions; do
22061
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22062
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22063
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22070
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22074
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22075
if test -n "$PKG_CONFIG"; then
22076
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22077
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22079
{ echo "$as_me:$LINENO: result: no" >&5
22080
echo "${ECHO_T}no" >&6; }
22085
if test x"$PKG_CONFIG" = x"no"; then
22086
echo "*** The pkg-config utility could not be found on your system."
22087
echo "*** Make sure it is in your path, or set the PKG_CONFIG"
22088
echo "*** environment variable to the full path to pkg-config."
22089
echo "*** You can download pkg-config from the freedesktop.org"
22090
echo "*** software repository at"
22092
echo "*** http://www.freedesktop.org/software/pkgconfig"
22097
# check pkg-config version
22098
{ echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
22099
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
22100
if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
22101
xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22102
{ echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22103
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22105
xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22106
{ echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22107
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22108
echo "*** Your version of pkg-config is too old. You need atleast"
22109
echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
22110
echo "*** from the freedesktop.org software repository at"
22112
echo "*** http://www.freedesktop.org/software/pkgconfig"
22119
{ echo "$as_me:$LINENO: checking for libxfce4panel-1.0 >= 4.3.20" >&5
22120
echo $ECHO_N "checking for libxfce4panel-1.0 >= 4.3.20... $ECHO_C" >&6; }
22121
if $PKG_CONFIG "--atleast-version=4.3.20" "libxfce4panel-1.0" >/dev/null 2>&1; then
22122
LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
22123
{ echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_VERSION" >&5
22124
echo "${ECHO_T}$LIBXFCE4PANEL_VERSION" >&6; }
22126
{ echo "$as_me:$LINENO: checking LIBXFCE4PANEL_CFLAGS" >&5
22127
echo $ECHO_N "checking LIBXFCE4PANEL_CFLAGS... $ECHO_C" >&6; }
22128
LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-1.0"`
22129
{ echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_CFLAGS" >&5
22130
echo "${ECHO_T}$LIBXFCE4PANEL_CFLAGS" >&6; }
22132
{ echo "$as_me:$LINENO: checking LIBXFCE4PANEL_LIBS" >&5
22133
echo $ECHO_N "checking LIBXFCE4PANEL_LIBS... $ECHO_C" >&6; }
22134
LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-1.0"`
22135
{ echo "$as_me:$LINENO: result: $LIBXFCE4PANEL_LIBS" >&5
22136
echo "${ECHO_T}$LIBXFCE4PANEL_LIBS" >&6; }
22138
LIBXFCE4PANEL_REQUIRED_VERSION=4.3.20
22146
elif $PKG_CONFIG --exists "libxfce4panel-1.0" >/dev/null 2>&1; then
22147
xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-1.0"`
22148
{ echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
22149
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
22152
echo "*** The required package libxfce4panel-1.0 was found on your system,"
22153
echo "*** but the installed version ($xdt_cv_version) is too old."
22154
echo "*** Please upgrade libxfce4panel-1.0 to atleast version 4.3.20, or adjust"
22155
echo "*** the PKG_CONFIG_PATH environment variable if you installed"
22156
echo "*** the new version of the package in a nonstandard prefix so"
22157
echo "*** pkg-config is able to find it."
22161
{ echo "$as_me:$LINENO: result: not found" >&5
22162
echo "${ECHO_T}not found" >&6; }
22165
echo "*** The required package libxfce4panel-1.0 was not found on your system."
22166
echo "*** Please install libxfce4panel-1.0 (atleast version 4.3.20) or adjust"
22167
echo "*** the PKG_CONFIG_PATH environment variable if you"
22168
echo "*** installed the package in a nonstandard prefix so that"
22169
echo "*** pkg-config is able to find it."
22178
# Check whether --enable-dbus was given.
22179
if test "${enable_dbus+set}" = set; then
22180
enableval=$enable_dbus; xdt_cv_DBUS_check=$enableval
22182
xdt_cv_DBUS_check=yes
22186
if test x"$xdt_cv_DBUS_check" = x"yes"; then
22187
if $PKG_CONFIG --exists "dbus-1 >= 0.22" >/dev/null 2>&1; then
22190
# minimum supported version of pkg-config
22191
xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0
22193
# lookup pkg-config utility
22194
if test x"$PKG_CONFIG" = x""; then
22195
# Extract the first word of "pkg-config", so it can be a program name with args.
22196
set dummy pkg-config; ac_word=$2
22197
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22198
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22199
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22200
echo $ECHO_N "(cached) $ECHO_C" >&6
22202
case $PKG_CONFIG in
22204
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22208
for as_dir in $PATH
22211
test -z "$as_dir" && as_dir=.
22212
for ac_exec_ext in '' $ac_executable_extensions; do
22213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
22214
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22215
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22222
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
22226
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22227
if test -n "$PKG_CONFIG"; then
22228
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22229
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22231
{ echo "$as_me:$LINENO: result: no" >&5
22232
echo "${ECHO_T}no" >&6; }
22237
if test x"$PKG_CONFIG" = x"no"; then
22238
echo "*** The pkg-config utility could not be found on your system."
22239
echo "*** Make sure it is in your path, or set the PKG_CONFIG"
22240
echo "*** environment variable to the full path to pkg-config."
22241
echo "*** You can download pkg-config from the freedesktop.org"
22242
echo "*** software repository at"
22244
echo "*** http://www.freedesktop.org/software/pkgconfig"
22249
# check pkg-config version
22250
{ echo "$as_me:$LINENO: checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION" >&5
22251
echo $ECHO_N "checking for pkg-config >= $xdt_cv_PKG_CONFIG_MIN_VERSION... $ECHO_C" >&6; }
22252
if $PKG_CONFIG --atleast-pkgconfig-version $xdt_cv_PKG_CONFIG_MIN_VERSION; then
22253
xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22254
{ echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22255
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22257
xdt_cv_PKG_CONFIG_VERSION=`$PKG_CONFIG --version`
22258
{ echo "$as_me:$LINENO: result: $xdt_cv_PKG_CONFIG_VERSION" >&5
22259
echo "${ECHO_T}$xdt_cv_PKG_CONFIG_VERSION" >&6; }
22260
echo "*** Your version of pkg-config is too old. You need atleast"
22261
echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config "
22262
echo "*** from the freedesktop.org software repository at"
22264
echo "*** http://www.freedesktop.org/software/pkgconfig"
22271
{ echo "$as_me:$LINENO: checking for dbus-1 >= 0.22" >&5
22272
echo $ECHO_N "checking for dbus-1 >= 0.22... $ECHO_C" >&6; }
22273
if $PKG_CONFIG "--atleast-version=0.22" "dbus-1" >/dev/null 2>&1; then
22274
DBUS_VERSION=`$PKG_CONFIG --modversion "dbus-1"`
22275
{ echo "$as_me:$LINENO: result: $DBUS_VERSION" >&5
22276
echo "${ECHO_T}$DBUS_VERSION" >&6; }
22278
{ echo "$as_me:$LINENO: checking DBUS_CFLAGS" >&5
22279
echo $ECHO_N "checking DBUS_CFLAGS... $ECHO_C" >&6; }
22280
DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1"`
22281
{ echo "$as_me:$LINENO: result: $DBUS_CFLAGS" >&5
22282
echo "${ECHO_T}$DBUS_CFLAGS" >&6; }
22284
{ echo "$as_me:$LINENO: checking DBUS_LIBS" >&5
22285
echo $ECHO_N "checking DBUS_LIBS... $ECHO_C" >&6; }
22286
DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1"`
22287
{ echo "$as_me:$LINENO: result: $DBUS_LIBS" >&5
22288
echo "${ECHO_T}$DBUS_LIBS" >&6; }
22290
DBUS_REQUIRED_VERSION=0.22
22299
cat >>confdefs.h <<\_ACEOF
22300
#define HAVE_DBUS 1
22305
elif $PKG_CONFIG --exists "dbus-1" >/dev/null 2>&1; then
22306
xdt_cv_version=`$PKG_CONFIG --modversion "dbus-1"`
22307
{ echo "$as_me:$LINENO: result: found, but $xdt_cv_version" >&5
22308
echo "${ECHO_T}found, but $xdt_cv_version" >&6; }
22311
echo "*** The required package dbus-1 was found on your system,"
22312
echo "*** but the installed version ($xdt_cv_version) is too old."
22313
echo "*** Please upgrade dbus-1 to atleast version 0.22, or adjust"
22314
echo "*** the PKG_CONFIG_PATH environment variable if you installed"
22315
echo "*** the new version of the package in a nonstandard prefix so"
22316
echo "*** pkg-config is able to find it."
22320
{ echo "$as_me:$LINENO: result: not found" >&5
22321
echo "${ECHO_T}not found" >&6; }
22324
echo "*** The required package dbus-1 was not found on your system."
22325
echo "*** Please install dbus-1 (atleast version 0.22) or adjust"
22326
echo "*** the PKG_CONFIG_PATH environment variable if you"
22327
echo "*** installed the package in a nonstandard prefix so that"
22328
echo "*** pkg-config is able to find it."
22334
{ echo "$as_me:$LINENO: checking for optional package dbus-1 >= 0.22" >&5
22335
echo $ECHO_N "checking for optional package dbus-1 >= 0.22... $ECHO_C" >&6; }
22336
{ echo "$as_me:$LINENO: result: not found" >&5
22337
echo "${ECHO_T}not found" >&6; }
22340
{ echo "$as_me:$LINENO: checking for optional package dbus-1" >&5
22341
echo $ECHO_N "checking for optional package dbus-1... $ECHO_C" >&6; }
22342
{ echo "$as_me:$LINENO: result: disabled" >&5
22343
echo "${ECHO_T}disabled" >&6; }
22348
if test x"$DBUS_FOUND" = x"yes"; then
22350
HAVE_DBUS_FALSE='#'
22359
# Check whether --enable-debug was given.
20473
22360
if test "${enable_debug+set}" = set; then
20474
enableval="$enable_debug"
22361
enableval=$enable_debug;
20477
22363
enable_debug=no
20480
echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
20481
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6
22367
{ echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
22368
echo $ECHO_N "checking whether to build with debugging support... $ECHO_C" >&6; }
20482
22369
if test x"$enable_debug" != x"no"; then
20484
22371
cat >>confdefs.h <<\_ACEOF
20485
22372
#define DEBUG 1
22376
if test x"$GCC" = x"yes"; then
22377
xdt_cv_additional_CFLAGS="-Wall"
22379
xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -DXFCE_DISABLE_DEPRECATED"
20488
22381
if test x"$enable_debug" = x"full"; then
20490
22383
cat >>confdefs.h <<\_ACEOF
20491
22384
#define DEBUG_TRACE 1
20494
CFLAGS="$CFLAGS -g3 -Wall -Werror -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
20495
echo "$as_me:$LINENO: result: full" >&5
20496
echo "${ECHO_T}full" >&6
22387
if test x"$GCC" = x"yes"; then
22388
xdt_cv_additional_CFLAGS="-g3 -Werror $xdt_cv_additional_CFLAGS"
22390
{ echo "$as_me:$LINENO: result: full" >&5
22391
echo "${ECHO_T}full" >&6; }
20498
CFLAGS="$CFLAGS -g -Wall -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED"
20499
echo "$as_me:$LINENO: result: yes" >&5
20500
echo "${ECHO_T}yes" >&6
22393
if test x"$GCC" = x"yes"; then
22394
xdt_cv_additional_CFLAGS="-g $xdt_cv_additional_CFLAGS"
22396
{ echo "$as_me:$LINENO: result: yes" >&5
22397
echo "${ECHO_T}yes" >&6; }
22400
CFLAGS="$CFLAGS $xdt_cv_additional_CFLAGS"
22401
CXXFLAGS="$CXXFLAGS $xdt_cv_additional_CFLAGS"
20503
echo "$as_me:$LINENO: result: no" >&5
20504
echo "${ECHO_T}no" >&6
22403
{ echo "$as_me:$LINENO: result: no" >&5
22404
echo "${ECHO_T}no" >&6; }
20507
# Check whether --enable-profiling or --disable-profiling was given.
22410
# Check whether --enable-profiling was given.
20508
22411
if test "${enable_profiling+set}" = set; then
20509
enableval="$enable_profiling"
22412
enableval=$enable_profiling;
20512
22414
enable_profiling=no
20515
echo "$as_me:$LINENO: checking whether to build with profiling support" >&5
20516
echo $ECHO_N "checking whether to build with profiling support... $ECHO_C" >&6
22418
{ echo "$as_me:$LINENO: checking whether to build with profiling support" >&5
22419
echo $ECHO_N "checking whether to build with profiling support... $ECHO_C" >&6; }
20517
22420
if test x"$enable_profiling" != x"no"; then
20518
22421
CFLAGS="$CFLAGS -pg"
20519
echo "$as_me:$LINENO: result: yes" >&5
20520
echo "${ECHO_T}yes" >&6
20522
echo "$as_me:$LINENO: result: no" >&5
20523
echo "${ECHO_T}no" >&6
20526
# Check whether --enable-asserts or --disable-asserts was given.
22422
LDFLAGS="$LDFLAGS -pg"
22423
{ echo "$as_me:$LINENO: result: yes" >&5
22424
echo "${ECHO_T}yes" >&6; }
22426
{ echo "$as_me:$LINENO: result: no" >&5
22427
echo "${ECHO_T}no" >&6; }
22430
# Check whether --enable-gcov was given.
22431
if test "${enable_gcov+set}" = set; then
22432
enableval=$enable_gcov;
22438
{ echo "$as_me:$LINENO: checking whether to compile with coverage profiling instrumentation" >&5
22439
echo $ECHO_N "checking whether to compile with coverage profiling instrumentation... $ECHO_C" >&6; }
22440
if test x"$enable_gcov" != x"no"; then
22441
CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
22442
{ echo "$as_me:$LINENO: result: yes" >&5
22443
echo "${ECHO_T}yes" >&6; }
22445
{ echo "$as_me:$LINENO: result: no" >&5
22446
echo "${ECHO_T}no" >&6; }
22449
# Check whether --enable-asserts was given.
20527
22450
if test "${enable_asserts+set}" = set; then
20528
enableval="$enable_asserts"
22451
enableval=$enable_asserts;
20531
22453
enable_asserts=yes
20534
echo "$as_me:$LINENO: checking whether to enable assert statements" >&5
20535
echo $ECHO_N "checking whether to enable assert statements... $ECHO_C" >&6
20536
if test x"$enable_asserts" != x"yes"; then
20537
CFLAGS="$CFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
20538
echo "$as_me:$LINENO: result: no" >&5
20539
echo "${ECHO_T}no" >&6
20541
echo "$as_me:$LINENO: result: yes" >&5
20542
echo "${ECHO_T}yes" >&6
20546
ac_config_files="$ac_config_files Makefile datetime/Makefile po/Makefile.in m4/Makefile"
22457
{ echo "$as_me:$LINENO: checking whether to disable assertions" >&5
22458
echo $ECHO_N "checking whether to disable assertions... $ECHO_C" >&6; }
22459
if test x"$enable_asserts" = x"no"; then
22460
{ echo "$as_me:$LINENO: result: yes" >&5
22461
echo "${ECHO_T}yes" >&6; }
22462
CPPFLAGS="$CPPFLAGS -DG_DISABLE_CHECKS -DG_DISABLE_ASSERT"
22463
CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
22465
{ echo "$as_me:$LINENO: result: no" >&5
22466
echo "${ECHO_T}no" >&6; }
22470
# Check whether --enable-final was given.
22471
if test "${enable_final+set}" = set; then
22472
enableval=$enable_final;
22478
{ echo "$as_me:$LINENO: checking whether to build final version" >&5
22479
echo $ECHO_N "checking whether to build final version... $ECHO_C" >&6; }
22480
if test x"$enable_final" = x"yes"; then
22481
{ echo "$as_me:$LINENO: result: yes" >&5
22482
echo "${ECHO_T}yes" >&6; }
22483
{ echo "$as_me:$LINENO: checking whether $LD accepts -O1" >&5
22484
echo $ECHO_N "checking whether $LD accepts -O1... $ECHO_C" >&6; }
22485
case `$LD -O1 -v 2>&1 </dev/null` in
22486
*GNU* | *'with BFD'*)
22487
LDFLAGS="$LDFLAGS -Wl,-O1"
22488
{ echo "$as_me:$LINENO: result: yes" >&5
22489
echo "${ECHO_T}yes" >&6; }
22492
{ echo "$as_me:$LINENO: result: no" >&5
22493
echo "${ECHO_T}no" >&6; }
22497
{ echo "$as_me:$LINENO: result: no" >&5
22498
echo "${ECHO_T}no" >&6; }
22502
ac_config_files="$ac_config_files Makefile po/Makefile.in panel-plugin/Makefile"
20548
22504
cat >confcache <<\_ACEOF
20549
22505
# This file is a shell script that caches the results of configure
20743
22776
# Name of the executable.
20744
as_me=`$as_basename "$0" ||
22777
as_me=`$as_basename -- "$0" ||
20745
22778
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20746
22779
X"$0" : 'X\(//\)$' \| \
20747
X"$0" : 'X\(/\)$' \| \
20748
. : '\(.\)' 2>/dev/null ||
22780
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20749
22781
echo X/"$0" |
20750
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20751
/^X\/\(\/\/\)$/{ s//\1/; q; }
20752
/^X\/\(\/\).*/{ s//\1/; q; }
20756
# PATH needs CR, and LINENO needs CR and PATH.
20757
# Avoid depending upon Character Ranges.
20758
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20759
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20760
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20761
as_cr_digits='0123456789'
20762
as_cr_alnum=$as_cr_Letters$as_cr_digits
20764
# The user is always right.
20765
if test "${PATH_SEPARATOR+set}" != set; then
20766
echo "#! /bin/sh" >conf$$.sh
20767
echo "exit 0" >>conf$$.sh
20769
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20778
as_lineno_1=$LINENO
20779
as_lineno_2=$LINENO
20780
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20781
test "x$as_lineno_1" != "x$as_lineno_2" &&
20782
test "x$as_lineno_3" = "x$as_lineno_2" || {
20783
# Find who we are. Look in the path if we contain no path at all
20786
*[\\/]* ) as_myself=$0 ;;
20787
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20788
for as_dir in $PATH
20791
test -z "$as_dir" && as_dir=.
20792
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20797
# We did not find ourselves, most probably we were run as `sh COMMAND'
20798
# in which case we are not to be found in the path.
20799
if test "x$as_myself" = x; then
20802
if test ! -f "$as_myself"; then
20803
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20804
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20805
{ (exit 1); exit 1; }; }
20807
case $CONFIG_SHELL in
20809
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20810
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20813
test -z "$as_dir" && as_dir=.
20814
for as_base in sh bash ksh sh5; do
20817
if ("$as_dir/$as_base" -c '
20818
as_lineno_1=$LINENO
20819
as_lineno_2=$LINENO
20820
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20821
test "x$as_lineno_1" != "x$as_lineno_2" &&
20822
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20823
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20824
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20825
CONFIG_SHELL=$as_dir/$as_base
20826
export CONFIG_SHELL
20827
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22782
sed '/^.*\/\([^/][^/]*\)\/*$/{
22801
as_lineno_1=$LINENO
22802
as_lineno_2=$LINENO
22803
test "x$as_lineno_1" != "x$as_lineno_2" &&
22804
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20835
22806
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20836
22807
# uniformly replaced by the line number. The first 'sed' inserts a
20837
# line-number line before each line; the second 'sed' does the real
20838
# work. The second script uses 'N' to pair each line-number line
20839
# with the numbered line, and appends trailing '-' during
20840
# substitution so that $LINENO is not a special case at line end.
22808
# line-number line after each line using $LINENO; the second 'sed'
22809
# does the real work. The second script uses 'N' to pair each
22810
# line-number line with the line containing $LINENO, and appends
22811
# trailing '-' during substitution so that $LINENO is not a special
22812
# case at line end.
20841
22813
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20842
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20843
sed '=' <$as_myself |
22814
# scripts with optimization help from Paolo Bonzini. Blame Lee
22815
# E. McMahon (1931-1989) for sed's syntax. :-)
20848
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22827
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20851
s,^['$as_cr_digits']*\n,,
20852
22830
' >$as_me.lineno &&
20853
chmod +x $as_me.lineno ||
20854
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20855
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22831
chmod +x "$as_me.lineno" ||
22832
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20856
22833
{ (exit 1); exit 1; }; }
20858
22835
# Don't try to exec as it changes $[0], causing all sort of problems
20859
22836
# (the dirname of $[0] is not the place where we might find the
20860
# original and so on. Autoconf is especially sensible to this).
22837
# original and so on. Autoconf is especially sensitive to this).
22838
. "./$as_me.lineno"
20862
22839
# Exit status is that of the last command.
20867
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20868
*c*,-n*) ECHO_N= ECHO_C='
20870
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20871
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22844
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22850
ECHO_C= ECHO_N= ECHO_T=
22851
case `echo -n x` in
22853
case `echo 'x\c'` in
22854
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
20874
if expr a : '\(a\)' >/dev/null 2>&1; then
22861
if expr a : '\(a\)' >/dev/null 2>&1 &&
22862
test "X`expr 00001 : '.*\(...\)'`" = X001; then
20877
22865
as_expr=false
20880
22868
rm -f conf$$ conf$$.exe conf$$.file
22869
if test -d conf$$.dir; then
22870
rm -f conf$$.dir/conf$$.file
20881
22875
echo >conf$$.file
20882
22876
if ln -s conf$$.file conf$$ 2>/dev/null; then
20883
# We could just check for DJGPP; but this test a) works b) is more generic
20884
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20885
if test -f conf$$.exe; then
20886
# Don't use ln at all; we don't have any links
22878
# ... but there are two gotchas:
22879
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22880
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22881
# In both cases, we have to default to `cp -p'.
22882
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20887
22883
as_ln_s='cp -p'
20891
22884
elif ln conf$$.file conf$$ 2>/dev/null; then
20894
22887
as_ln_s='cp -p'
20896
rm -f conf$$ conf$$.exe conf$$.file
22889
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22890
rmdir conf$$.dir 2>/dev/null
20898
22892
if mkdir -p . 2>/dev/null; then
22895
test -d ./-p && rmdir ./-p
20901
22896
as_mkdir_p=false
20904
as_executable_p="test -f"
22899
# Find out whether ``test -x'' works. Don't use a zero-byte file, as
22900
# systems may use methods other than mode bits to determine executability.
22901
cat >conf$$.file <<_ASEOF
22905
chmod +x conf$$.file
22906
if test -x conf$$.file >/dev/null 2>&1; then
22907
as_executable_p="test -x"
20906
22913
# Sed expression to map a string onto a valid CPP name.
20907
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
22914
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20909
22916
# Sed expression to map a string onto a valid variable name.
20910
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20914
# We need space, tab and new line, in precisely that order.
22917
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20924
# Open the log real soon, to keep \$[0] and so on meaningful, and to
22922
# Save the log message, to keep $[0] and so on meaningful, and to
20925
22923
# report actual input values of CONFIG_FILES etc. instead of their
20926
# values after options handling. Logging --version etc. is OK.
20930
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20931
## Running $as_me. ##
20936
This file was extended by xfce4-panel-datetime-plugin $as_me 0.3.1, which was
20937
generated by GNU Autoconf 2.57. Invocation command line was
22924
# values after options handling.
22926
This file was extended by datetime $as_me 0.4.0, which was
22927
generated by GNU Autoconf 2.60a. Invocation command line was
20939
22929
CONFIG_FILES = $CONFIG_FILES
20940
22930
CONFIG_HEADERS = $CONFIG_HEADERS
21134
23124
# Have a temporary directory for convenience. Make it in the build tree
21135
# simply because there is no reason to put it here, and in addition,
23125
# simply because there is no reason against having it here, and in addition,
21136
23126
# creating and moving files from /tmp can sometimes cause problems.
21137
# Create a temporary directory, and hook for its removal unless debugging.
23127
# Hook for its removal unless debugging.
23128
# Note that there is a small window in which the directory will not be cleaned:
23129
# after its creation but before its name has been assigned to `$tmp'.
21140
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23133
trap 'exit_status=$?
23134
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21141
23136
trap '{ (exit 1); exit 1; }' 1 2 13 15
21144
23138
# Create a (secure) tmp directory for tmp files.
21147
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23141
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21148
23142
test -n "$tmp" && test -d "$tmp"
21151
tmp=./confstat$$-$RANDOM
21152
(umask 077 && mkdir $tmp)
23145
tmp=./conf$$-$RANDOM
23146
(umask 077 && mkdir "$tmp")
21155
23149
echo "$me: cannot create a temporary directory in ." >&2
21156
23150
{ (exit 1); exit 1; }
21161
cat >>$CONFIG_STATUS <<_ACEOF
21164
# CONFIG_FILES section.
23154
# Set up the sed scripts for CONFIG_FILES section.
21167
23157
# No need to generate the scripts if there are no CONFIG_FILES.
21168
23158
# This happens for instance when ./config.status config.h
21169
if test -n "\$CONFIG_FILES"; then
21170
# Protect against being on the right side of a sed subst in config.status.
21171
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21172
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21173
s,@SHELL@,$SHELL,;t t
21174
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21175
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21176
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21177
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21178
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21179
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21180
s,@exec_prefix@,$exec_prefix,;t t
21181
s,@prefix@,$prefix,;t t
21182
s,@program_transform_name@,$program_transform_name,;t t
21183
s,@bindir@,$bindir,;t t
21184
s,@sbindir@,$sbindir,;t t
21185
s,@libexecdir@,$libexecdir,;t t
21186
s,@datadir@,$datadir,;t t
21187
s,@sysconfdir@,$sysconfdir,;t t
21188
s,@sharedstatedir@,$sharedstatedir,;t t
21189
s,@localstatedir@,$localstatedir,;t t
21190
s,@libdir@,$libdir,;t t
21191
s,@includedir@,$includedir,;t t
21192
s,@oldincludedir@,$oldincludedir,;t t
21193
s,@infodir@,$infodir,;t t
21194
s,@mandir@,$mandir,;t t
21195
s,@build_alias@,$build_alias,;t t
21196
s,@host_alias@,$host_alias,;t t
21197
s,@target_alias@,$target_alias,;t t
21198
s,@DEFS@,$DEFS,;t t
21199
s,@ECHO_C@,$ECHO_C,;t t
21200
s,@ECHO_N@,$ECHO_N,;t t
21201
s,@ECHO_T@,$ECHO_T,;t t
21202
s,@LIBS@,$LIBS,;t t
21203
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21204
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21205
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21206
s,@CYGPATH_W@,$CYGPATH_W,;t t
21207
s,@PACKAGE@,$PACKAGE,;t t
21208
s,@VERSION@,$VERSION,;t t
21209
s,@ACLOCAL@,$ACLOCAL,;t t
21210
s,@AUTOCONF@,$AUTOCONF,;t t
21211
s,@AUTOMAKE@,$AUTOMAKE,;t t
21212
s,@AUTOHEADER@,$AUTOHEADER,;t t
21213
s,@MAKEINFO@,$MAKEINFO,;t t
21214
s,@AMTAR@,$AMTAR,;t t
21215
s,@install_sh@,$install_sh,;t t
21216
s,@STRIP@,$STRIP,;t t
21217
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21218
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21220
s,@SET_MAKE@,$SET_MAKE,;t t
21221
s,@am__leading_dot@,$am__leading_dot,;t t
21222
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21223
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21224
s,@MAINT@,$MAINT,;t t
21226
s,@CFLAGS@,$CFLAGS,;t t
21227
s,@LDFLAGS@,$LDFLAGS,;t t
21228
s,@CPPFLAGS@,$CPPFLAGS,;t t
21229
s,@ac_ct_CC@,$ac_ct_CC,;t t
21230
s,@EXEEXT@,$EXEEXT,;t t
21231
s,@OBJEXT@,$OBJEXT,;t t
21232
s,@DEPDIR@,$DEPDIR,;t t
21233
s,@am__include@,$am__include,;t t
21234
s,@am__quote@,$am__quote,;t t
21235
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21236
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21237
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21238
s,@CCDEPMODE@,$CCDEPMODE,;t t
21239
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21240
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21241
s,@build@,$build,;t t
21242
s,@build_cpu@,$build_cpu,;t t
21243
s,@build_vendor@,$build_vendor,;t t
21244
s,@build_os@,$build_os,;t t
21245
s,@host@,$host,;t t
21246
s,@host_cpu@,$host_cpu,;t t
21247
s,@host_vendor@,$host_vendor,;t t
21248
s,@host_os@,$host_os,;t t
21249
s,@EGREP@,$EGREP,;t t
21250
s,@LN_S@,$LN_S,;t t
21251
s,@ECHO@,$ECHO,;t t
21253
s,@ac_ct_AR@,$ac_ct_AR,;t t
21254
s,@RANLIB@,$RANLIB,;t t
21255
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21258
s,@CXXFLAGS@,$CXXFLAGS,;t t
21259
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21260
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21261
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21262
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21263
s,@CXXCPP@,$CXXCPP,;t t
21265
s,@FFLAGS@,$FFLAGS,;t t
21266
s,@ac_ct_F77@,$ac_ct_F77,;t t
21267
s,@LIBTOOL@,$LIBTOOL,;t t
21268
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21269
s,@XFCE4_PANEL_CFLAGS@,$XFCE4_PANEL_CFLAGS,;t t
21270
s,@XFCE4_PANEL_LIBS@,$XFCE4_PANEL_LIBS,;t t
21271
s,@XFCE4_PANEL_REQUIRED_VERSION@,$XFCE4_PANEL_REQUIRED_VERSION,;t t
21272
s,@XFCE4_PANEL_PLUGINSDIR@,$XFCE4_PANEL_PLUGINSDIR,;t t
21273
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
21274
s,@USE_NLS@,$USE_NLS,;t t
21275
s,@MSGFMT@,$MSGFMT,;t t
21276
s,@GMSGFMT@,$GMSGFMT,;t t
21277
s,@XGETTEXT@,$XGETTEXT,;t t
21278
s,@CATALOGS@,$CATALOGS,;t t
21279
s,@CATOBJEXT@,$CATOBJEXT,;t t
21280
s,@DATADIRNAME@,$DATADIRNAME,;t t
21281
s,@GMOFILES@,$GMOFILES,;t t
21282
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
21283
s,@INTLLIBS@,$INTLLIBS,;t t
21284
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
21285
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
21286
s,@POFILES@,$POFILES,;t t
21287
s,@POSUB@,$POSUB,;t t
21288
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
21289
s,@localedir@,$localedir,;t t
21290
s,@LIBOBJS@,$LIBOBJS,;t t
21291
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21296
cat >>$CONFIG_STATUS <<\_ACEOF
21297
# Split the substitutions into bite-sized pieces for seds with
21298
# small command number limits, like on Digital OSF/1 and HP-UX.
21299
ac_max_sed_lines=48
21300
ac_sed_frag=1 # Number of current file.
21301
ac_beg=1 # First line for current file.
21302
ac_end=$ac_max_sed_lines # Line after last line for current file.
21305
while $ac_more_lines; do
21306
if test $ac_beg -gt 1; then
21307
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21309
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21311
if test ! -s $tmp/subs.frag; then
21312
ac_more_lines=false
21314
# The purpose of the label and of the branching condition is to
21315
# speed up the sed processing (if there are no `@' at all, there
21316
# is no need to browse any of the substitutions).
21317
# These are the two extra sed commands mentioned above.
21319
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21320
if test -z "$ac_sed_cmds"; then
21321
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21323
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21325
ac_sed_frag=`expr $ac_sed_frag + 1`
21327
ac_end=`expr $ac_end + $ac_max_sed_lines`
21330
if test -z "$ac_sed_cmds"; then
23159
if test -n "$CONFIG_FILES"; then
23166
for ac_last_try in false false false false false :; do
23167
cat >conf$$subs.sed <<_ACEOF
23168
SHELL!$SHELL$ac_delim
23169
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23170
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23171
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23172
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23173
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23174
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23175
exec_prefix!$exec_prefix$ac_delim
23176
prefix!$prefix$ac_delim
23177
program_transform_name!$program_transform_name$ac_delim
23178
bindir!$bindir$ac_delim
23179
sbindir!$sbindir$ac_delim
23180
libexecdir!$libexecdir$ac_delim
23181
datarootdir!$datarootdir$ac_delim
23182
datadir!$datadir$ac_delim
23183
sysconfdir!$sysconfdir$ac_delim
23184
sharedstatedir!$sharedstatedir$ac_delim
23185
localstatedir!$localstatedir$ac_delim
23186
includedir!$includedir$ac_delim
23187
oldincludedir!$oldincludedir$ac_delim
23188
docdir!$docdir$ac_delim
23189
infodir!$infodir$ac_delim
23190
htmldir!$htmldir$ac_delim
23191
dvidir!$dvidir$ac_delim
23192
pdfdir!$pdfdir$ac_delim
23193
psdir!$psdir$ac_delim
23194
libdir!$libdir$ac_delim
23195
localedir!$localedir$ac_delim
23196
mandir!$mandir$ac_delim
23197
DEFS!$DEFS$ac_delim
23198
ECHO_C!$ECHO_C$ac_delim
23199
ECHO_N!$ECHO_N$ac_delim
23200
ECHO_T!$ECHO_T$ac_delim
23201
LIBS!$LIBS$ac_delim
23202
build_alias!$build_alias$ac_delim
23203
host_alias!$host_alias$ac_delim
23204
target_alias!$target_alias$ac_delim
23205
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23206
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23207
INSTALL_DATA!$INSTALL_DATA$ac_delim
23208
CYGPATH_W!$CYGPATH_W$ac_delim
23209
PACKAGE!$PACKAGE$ac_delim
23210
VERSION!$VERSION$ac_delim
23211
ACLOCAL!$ACLOCAL$ac_delim
23212
AUTOCONF!$AUTOCONF$ac_delim
23213
AUTOMAKE!$AUTOMAKE$ac_delim
23214
AUTOHEADER!$AUTOHEADER$ac_delim
23215
MAKEINFO!$MAKEINFO$ac_delim
23216
install_sh!$install_sh$ac_delim
23217
STRIP!$STRIP$ac_delim
23218
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23219
mkdir_p!$mkdir_p$ac_delim
23221
SET_MAKE!$SET_MAKE$ac_delim
23222
am__leading_dot!$am__leading_dot$ac_delim
23223
AMTAR!$AMTAR$ac_delim
23224
am__tar!$am__tar$ac_delim
23225
am__untar!$am__untar$ac_delim
23226
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23227
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23228
MAINT!$MAINT$ac_delim
23230
CFLAGS!$CFLAGS$ac_delim
23231
LDFLAGS!$LDFLAGS$ac_delim
23232
CPPFLAGS!$CPPFLAGS$ac_delim
23233
ac_ct_CC!$ac_ct_CC$ac_delim
23234
EXEEXT!$EXEEXT$ac_delim
23235
OBJEXT!$OBJEXT$ac_delim
23236
DEPDIR!$DEPDIR$ac_delim
23237
am__include!$am__include$ac_delim
23238
am__quote!$am__quote$ac_delim
23239
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23240
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23241
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23242
CCDEPMODE!$CCDEPMODE$ac_delim
23243
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23244
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23245
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
23246
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
23247
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
23248
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
23249
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
23250
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
23251
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
23252
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
23253
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
23254
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
23255
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
23256
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
23257
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
23258
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
23259
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
23260
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
23261
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
23262
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
23263
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
23264
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
23267
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23269
elif $ac_last_try; then
23270
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23271
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23272
{ (exit 1); exit 1; }; }
23274
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23278
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23279
if test -n "$ac_eof"; then
23280
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23281
ac_eof=`expr $ac_eof + 1`
23284
cat >>$CONFIG_STATUS <<_ACEOF
23285
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23286
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23289
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23290
s/^/s,@/; s/!/@,|#_!!_#|/
23293
s/'"$ac_delim"'$/,g/; t
23295
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23296
' >>$CONFIG_STATUS <conf$$subs.sed
23297
rm -f conf$$subs.sed
23298
cat >>$CONFIG_STATUS <<_ACEOF
23304
for ac_last_try in false false false false false :; do
23305
cat >conf$$subs.sed <<_ACEOF
23306
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
23307
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
23308
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
23309
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
23310
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
23311
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
23312
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
23313
build!$build$ac_delim
23314
build_cpu!$build_cpu$ac_delim
23315
build_vendor!$build_vendor$ac_delim
23316
build_os!$build_os$ac_delim
23317
host!$host$ac_delim
23318
host_cpu!$host_cpu$ac_delim
23319
host_vendor!$host_vendor$ac_delim
23320
host_os!$host_os$ac_delim
23321
GREP!$GREP$ac_delim
23322
EGREP!$EGREP$ac_delim
23323
LN_S!$LN_S$ac_delim
23324
ECHO!$ECHO$ac_delim
23326
RANLIB!$RANLIB$ac_delim
23329
CXXFLAGS!$CXXFLAGS$ac_delim
23330
ac_ct_CXX!$ac_ct_CXX$ac_delim
23331
CXXDEPMODE!$CXXDEPMODE$ac_delim
23332
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23333
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23334
CXXCPP!$CXXCPP$ac_delim
23336
FFLAGS!$FFLAGS$ac_delim
23337
ac_ct_F77!$ac_ct_F77$ac_delim
23338
LIBTOOL!$LIBTOOL$ac_delim
23339
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
23340
USE_NLS!$USE_NLS$ac_delim
23341
MSGFMT!$MSGFMT$ac_delim
23342
GMSGFMT!$GMSGFMT$ac_delim
23343
XGETTEXT!$XGETTEXT$ac_delim
23344
CATALOGS!$CATALOGS$ac_delim
23345
CATOBJEXT!$CATOBJEXT$ac_delim
23346
DATADIRNAME!$DATADIRNAME$ac_delim
23347
GMOFILES!$GMOFILES$ac_delim
23348
INSTOBJEXT!$INSTOBJEXT$ac_delim
23349
INTLLIBS!$INTLLIBS$ac_delim
23350
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
23351
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
23352
POFILES!$POFILES$ac_delim
23353
POSUB!$POSUB$ac_delim
23354
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
23355
XGETTEXT_ARGS!$XGETTEXT_ARGS$ac_delim
23356
PKG_CONFIG!$PKG_CONFIG$ac_delim
23357
LIBXFCE4PANEL_VERSION!$LIBXFCE4PANEL_VERSION$ac_delim
23358
LIBXFCE4PANEL_CFLAGS!$LIBXFCE4PANEL_CFLAGS$ac_delim
23359
LIBXFCE4PANEL_LIBS!$LIBXFCE4PANEL_LIBS$ac_delim
23360
LIBXFCE4PANEL_REQUIRED_VERSION!$LIBXFCE4PANEL_REQUIRED_VERSION$ac_delim
23361
DBUS_VERSION!$DBUS_VERSION$ac_delim
23362
DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
23363
DBUS_LIBS!$DBUS_LIBS$ac_delim
23364
DBUS_REQUIRED_VERSION!$DBUS_REQUIRED_VERSION$ac_delim
23365
HAVE_DBUS_TRUE!$HAVE_DBUS_TRUE$ac_delim
23366
HAVE_DBUS_FALSE!$HAVE_DBUS_FALSE$ac_delim
23367
LIBOBJS!$LIBOBJS$ac_delim
23368
LTLIBOBJS!$LTLIBOBJS$ac_delim
23371
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 63; then
23373
elif $ac_last_try; then
23374
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23375
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23376
{ (exit 1); exit 1; }; }
23378
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23382
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23383
if test -n "$ac_eof"; then
23384
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23385
ac_eof=`expr $ac_eof + 1`
23388
cat >>$CONFIG_STATUS <<_ACEOF
23389
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23390
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23393
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23394
s/^/s,@/; s/!/@,|#_!!_#|/
23397
s/'"$ac_delim"'$/,g/; t
23399
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23400
' >>$CONFIG_STATUS <conf$$subs.sed
23401
rm -f conf$$subs.sed
23402
cat >>$CONFIG_STATUS <<_ACEOF
23409
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23410
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23411
# trailing colons and then remove the whole line if VPATH becomes empty
23412
# (actually we leave an empty line to preserve line numbers).
23413
if test "x$srcdir" = x.; then
23414
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23415
s/:*\$(srcdir):*/:/
23416
s/:*\${srcdir}:*/:/
23418
s/^\([^=]*=[ ]*\):*/\1/
23424
cat >>$CONFIG_STATUS <<\_ACEOF
21333
23425
fi # test -n "$CONFIG_FILES"
21336
cat >>$CONFIG_STATUS <<\_ACEOF
21337
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21338
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21340
- | *:- | *:-:* ) # input from stdin
21342
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21343
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21344
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21345
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21346
* ) ac_file_in=$ac_file.in ;;
21349
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21350
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23428
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23431
:[FHLC]) ac_mode=$ac_tag; continue;;
23433
case $ac_mode$ac_tag in
23435
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23436
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23437
{ (exit 1); exit 1; }; };;
23438
:[FH]-) ac_tag=-:-;;
23439
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23456
-) ac_f="$tmp/stdin";;
23457
*) # Look for the file first in the build tree, then in the source tree
23458
# (if the path is not absolute). The absolute path cannot be DOS-style,
23459
# because $ac_f cannot contain `:'.
23463
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23465
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23466
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23467
{ (exit 1); exit 1; }; };;
23469
ac_file_inputs="$ac_file_inputs $ac_f"
23472
# Let's still pretend it is `configure' which instantiates (i.e., don't
23473
# use $as_me), people would be surprised to read:
23474
# /* config.h. Generated by config.status. */
23475
configure_input="Generated from "`IFS=:
23476
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23477
if test x"$ac_file" != x-; then
23478
configure_input="$ac_file. $configure_input"
23479
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23480
echo "$as_me: creating $ac_file" >&6;}
23484
*:-:* | *:-) cat >"$tmp/stdin";;
23489
ac_dir=`$as_dirname -- "$ac_file" ||
21351
23490
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21352
X"$ac_file" : 'X\(//\)[^/]' \| \
21353
X"$ac_file" : 'X\(//\)$' \| \
21354
X"$ac_file" : 'X\(/\)' \| \
21355
. : '\(.\)' 2>/dev/null ||
23491
X"$ac_file" : 'X\(//\)[^/]' \| \
23492
X"$ac_file" : 'X\(//\)$' \| \
23493
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21356
23494
echo X"$ac_file" |
21357
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21358
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21359
/^X\(\/\/\)$/{ s//\1/; q; }
21360
/^X\(\/\).*/{ s//\1/; q; }
21362
{ if $as_mkdir_p; then
23495
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23499
/^X\(\/\/\)[^/].*/{
23514
-*) as_dir=./$as_dir;;
23516
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21367
while test ! -d "$as_dir"; do
21368
as_dirs="$as_dir $as_dirs"
21369
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23520
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23521
*) as_qdir=$as_dir;;
23523
as_dirs="'$as_qdir' $as_dirs"
23524
as_dir=`$as_dirname -- "$as_dir" ||
21370
23525
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21371
X"$as_dir" : 'X\(//\)[^/]' \| \
21372
X"$as_dir" : 'X\(//\)$' \| \
21373
X"$as_dir" : 'X\(/\)' \| \
21374
. : '\(.\)' 2>/dev/null ||
23526
X"$as_dir" : 'X\(//\)[^/]' \| \
23527
X"$as_dir" : 'X\(//\)$' \| \
23528
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21375
23529
echo X"$as_dir" |
21376
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21377
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21378
/^X\(\/\/\)$/{ s//\1/; q; }
21379
/^X\(\/\).*/{ s//\1/; q; }
23530
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23534
/^X\(\/\/\)[^/].*/{
23547
test -d "$as_dir" && break
21382
test ! -n "$as_dirs" || mkdir $as_dirs
21383
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21384
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23549
test -z "$as_dirs" || eval "mkdir $as_dirs"
23550
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23551
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21385
23552
{ (exit 1); exit 1; }; }; }
21387
23553
ac_builddir=.
21389
if test "$ac_dir" != .; then
23556
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21390
23558
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21391
# A "../" for each directory in $ac_dir_suffix.
21392
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21394
ac_dir_suffix= ac_top_builddir=
23559
# A ".." for each directory in $ac_dir_suffix.
23560
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23561
case $ac_top_builddir_sub in
23562
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23563
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23566
ac_abs_top_builddir=$ac_pwd
23567
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23568
# for backward compatibility:
23569
ac_top_builddir=$ac_top_build_prefix
21397
23571
case $srcdir in
21398
.) # No --srcdir option. We are building in place.
23572
.) # We are building in place.
21400
if test -z "$ac_top_builddir"; then
21403
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21405
[\\/]* | ?:[\\/]* ) # Absolute path.
23574
ac_top_srcdir=$ac_top_builddir_sub
23575
ac_abs_top_srcdir=$ac_pwd ;;
23576
[\\/]* | ?:[\\/]* ) # Absolute name.
21406
23577
ac_srcdir=$srcdir$ac_dir_suffix;
21407
ac_top_srcdir=$srcdir ;;
21408
*) # Relative path.
21409
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21410
ac_top_srcdir=$ac_top_builddir$srcdir ;;
23578
ac_top_srcdir=$srcdir
23579
ac_abs_top_srcdir=$srcdir ;;
23580
*) # Relative name.
23581
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23582
ac_top_srcdir=$ac_top_build_prefix$srcdir
23583
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21412
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
21414
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
21415
ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
21416
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
21417
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23585
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21420
23594
case $INSTALL in
21421
23595
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21422
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23596
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21425
if test x"$ac_file" != x-; then
21426
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21427
echo "$as_me: creating $ac_file" >&6;}
21430
# Let's still pretend it is `configure' which instantiates (i.e., don't
21431
# use $as_me), people would be surprised to read:
21432
# /* config.h. Generated by config.status. */
21433
if test x"$ac_file" = x-; then
21436
configure_input="$ac_file. "
21438
configure_input=$configure_input"Generated from `echo $ac_file_in |
21439
sed 's,.*/,,'` by configure."
21441
# First look for the input files in the build tree, otherwise in the
21443
ac_file_inputs=`IFS=:
21444
for f in $ac_file_in; do
21446
-) echo $tmp/stdin ;;
21448
# Absolute (can't be DOS-style, as IFS=:)
21449
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21450
echo "$as_me: error: cannot find input file: $f" >&2;}
21451
{ (exit 1); exit 1; }; }
21454
if test -f "$f"; then
21457
elif test -f "$srcdir/$f"; then
21462
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21463
echo "$as_me: error: cannot find input file: $f" >&2;}
21464
{ (exit 1); exit 1; }; }
21467
done` || { (exit 1); exit 1; }
23600
cat >>$CONFIG_STATUS <<\_ACEOF
23601
# If the template does not know about datarootdir, expand it.
23602
# FIXME: This hack should be removed a few years after 2.60.
23603
ac_datarootdir_hack=; ac_datarootdir_seen=
23605
case `sed -n '/datarootdir/ {
23614
' $ac_file_inputs` in
23615
*datarootdir*) ac_datarootdir_seen=yes;;
23616
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23617
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23618
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23620
cat >>$CONFIG_STATUS <<_ACEOF
23621
ac_datarootdir_hack='
23622
s&@datadir@&$datadir&g
23623
s&@docdir@&$docdir&g
23624
s&@infodir@&$infodir&g
23625
s&@localedir@&$localedir&g
23626
s&@mandir@&$mandir&g
23627
s&\\\${datarootdir}&$datarootdir&g' ;;
23631
# Neutralize VPATH when `$srcdir' = `.'.
23632
# Shell code in configure.ac might set extrasub.
23633
# FIXME: do we really want to maintain this feature?
21469
23634
cat >>$CONFIG_STATUS <<_ACEOF
21470
23635
sed "$ac_vpsub
21473
23638
cat >>$CONFIG_STATUS <<\_ACEOF
21475
23640
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21476
s,@configure_input@,$configure_input,;t t
21477
s,@srcdir@,$ac_srcdir,;t t
21478
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21479
s,@top_srcdir@,$ac_top_srcdir,;t t
21480
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21481
s,@builddir@,$ac_builddir,;t t
21482
s,@abs_builddir@,$ac_abs_builddir,;t t
21483
s,@top_builddir@,$ac_top_builddir,;t t
21484
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21485
s,@INSTALL@,$ac_INSTALL,;t t
21486
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21488
if test x"$ac_file" != x-; then
21489
mv $tmp/out $ac_file
23641
s&@configure_input@&$configure_input&;t t
23642
s&@top_builddir@&$ac_top_builddir_sub&;t t
23643
s&@srcdir@&$ac_srcdir&;t t
23644
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23645
s&@top_srcdir@&$ac_top_srcdir&;t t
23646
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23647
s&@builddir@&$ac_builddir&;t t
23648
s&@abs_builddir@&$ac_abs_builddir&;t t
23649
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23650
s&@INSTALL@&$ac_INSTALL&;t t
23651
$ac_datarootdir_hack
23652
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23654
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23655
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23656
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23657
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23658
which seems to be undefined. Please make sure it is defined." >&5
23659
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23660
which seems to be undefined. Please make sure it is defined." >&2;}
23664
-) cat "$tmp/out"; rm -f "$tmp/out";;
23665
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21497
cat >>$CONFIG_STATUS <<\_ACEOF
21500
# CONFIG_HEADER section.
21503
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21504
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21506
# ac_d sets the value in "#define NAME VALUE" lines.
21507
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21508
ac_dB='[ ].*$,\1#\2'
23674
# Transform confdefs.h into a sed script `conftest.defines', that
23675
# substitutes the proper values into config.h.in to produce config.h.
23676
rm -f conftest.defines conftest.tail
23677
# First, append a space to every undef/define line, to ease matching.
23678
echo 's/$/ /' >conftest.defines
23679
# Then, protect against being on the right side of a sed subst, or in
23680
# an unquoted here document, in config.status. If some macros were
23681
# called several times there might be several #defines for the same
23682
# symbol, which is useless. But do not sort them, since the last
23683
# AC_DEFINE must be honored.
23684
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23685
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23686
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23687
# PARAMS is the parameter list in the macro definition--in most cases, it's
23688
# just an empty string.
23689
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23690
ac_dB='\\)[ (].*,\\1define\\2'
21511
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21512
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21513
ac_uB='$,\1#\2define\3'
21517
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21518
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21520
- | *:- | *:-:* ) # input from stdin
21522
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21523
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21524
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21525
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21526
* ) ac_file_in=$ac_file.in ;;
21529
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21530
echo "$as_me: creating $ac_file" >&6;}
21532
# First look for the input files in the build tree, otherwise in the
21534
ac_file_inputs=`IFS=:
21535
for f in $ac_file_in; do
21537
-) echo $tmp/stdin ;;
21539
# Absolute (can't be DOS-style, as IFS=:)
21540
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21541
echo "$as_me: error: cannot find input file: $f" >&2;}
21542
{ (exit 1); exit 1; }; }
21545
if test -f "$f"; then
21548
elif test -f "$srcdir/$f"; then
21553
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21554
echo "$as_me: error: cannot find input file: $f" >&2;}
21555
{ (exit 1); exit 1; }; }
21558
done` || { (exit 1); exit 1; }
21559
# Remove the trailing spaces.
21560
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21564
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21565
# `conftest.undefs', that substitutes the proper values into
21566
# config.h.in to produce config.h. The first handles `#define'
21567
# templates, and the second `#undef' templates.
21568
# And first: Protect against being on the right side of a sed subst in
21569
# config.status. Protect against being in an unquoted here document
21570
# in config.status.
21571
rm -f conftest.defines conftest.undefs
21572
# Using a here document instead of a string reduces the quoting nightmare.
21573
# Putting comments in sed scripts is not portable.
21575
# `end' is used to avoid that the second main sed command (meant for
21576
# 0-ary CPP macros) applies to n-ary macro definitions.
21577
# See the Autoconf documentation for `clear'.
21578
cat >confdef2sed.sed <<\_ACEOF
21583
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21585
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21588
# If some macros were called several times there might be several times
21589
# the same #defines, which is useless. Nevertheless, we may not want to
21590
# sort them, since we want the *last* AC-DEFINE to be honored.
21591
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21592
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21593
rm -f confdef2sed.sed
21595
# This sed command replaces #undef with comments. This is necessary, for
23698
s/^[ ]*#[ ]*define[ ][ ]*//
23703
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23704
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23705
' >>conftest.defines
23707
# Remove the space that was appended to ease matching.
23708
# Then replace #undef with comments. This is necessary, for
21596
23709
# example, in the case of _POSIX_SOURCE, which is predefined and required
21597
23710
# on some systems where configure will not decide to define it.
21598
cat >>conftest.undefs <<\_ACEOF
21599
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23711
# (The regexp can be short, since the line contains either #define or #undef.)
23713
s,^[ #]*u.*,/* & */,' >>conftest.defines
23715
# Break up conftest.defines:
23716
ac_max_sed_lines=50
23718
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23719
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23720
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23722
ac_in='$ac_file_inputs'
23723
ac_out='"$tmp/out1"'
23724
ac_nxt='"$tmp/out2"'
23728
# Write a here document:
23729
cat >>$CONFIG_STATUS <<_ACEOF
23730
# First, check the format of the line:
23731
cat >"\$tmp/defines.sed" <<\\CEOF
23732
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23733
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21602
# Break up conftest.defines because some shells have a limit on the size
21603
# of here documents, and old seds have small limits too (100 cmds).
21604
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21605
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21606
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21607
echo ' :' >>$CONFIG_STATUS
21608
rm -f conftest.tail
21609
while grep . conftest.defines >/dev/null
21611
# Write a limited-size here document to $tmp/defines.sed.
21612
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21613
# Speed up: don't consider the non `#define' lines.
21614
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21615
# Work around the forget-to-reset-the-flag bug.
21616
echo 't clr' >>$CONFIG_STATUS
21617
echo ': clr' >>$CONFIG_STATUS
21618
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23737
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21620
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21622
mv $tmp/out $tmp/in
21624
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23739
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23740
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23741
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23742
grep . conftest.tail >/dev/null || break
21625
23743
rm -f conftest.defines
21626
23744
mv conftest.tail conftest.defines
21628
rm -f conftest.defines
21629
echo ' fi # grep' >>$CONFIG_STATUS
21630
echo >>$CONFIG_STATUS
21632
# Break up conftest.undefs because some shells have a limit on the size
21633
# of here documents, and old seds have small limits too (100 cmds).
21634
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21635
rm -f conftest.tail
21636
while grep . conftest.undefs >/dev/null
21638
# Write a limited-size here document to $tmp/undefs.sed.
21639
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21640
# Speed up: don't consider the non `#undef'
21641
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21642
# Work around the forget-to-reset-the-flag bug.
21643
echo 't clr' >>$CONFIG_STATUS
21644
echo ': clr' >>$CONFIG_STATUS
21645
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21647
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21649
mv $tmp/out $tmp/in
21651
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21652
rm -f conftest.undefs
21653
mv conftest.tail conftest.undefs
21655
rm -f conftest.undefs
23746
rm -f conftest.defines conftest.tail
23748
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21657
23749
cat >>$CONFIG_STATUS <<\_ACEOF
21658
# Let's still pretend it is `configure' which instantiates (i.e., don't
21659
# use $as_me), people would be surprised to read:
21660
# /* config.h. Generated by config.status. */
21661
if test x"$ac_file" = x-; then
21662
echo "/* Generated by configure. */" >$tmp/config.h
21664
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21666
cat $tmp/in >>$tmp/config.h
21668
23750
if test x"$ac_file" != x-; then
21669
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23751
echo "/* $configure_input */" >"$tmp/config.h"
23752
cat "$ac_result" >>"$tmp/config.h"
23753
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21670
23754
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21671
23755
echo "$as_me: $ac_file is unchanged" >&6;}
21673
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21674
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21675
X"$ac_file" : 'X\(//\)[^/]' \| \
21676
X"$ac_file" : 'X\(//\)$' \| \
21677
X"$ac_file" : 'X\(/\)' \| \
21678
. : '\(.\)' 2>/dev/null ||
21680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21682
/^X\(\/\/\)$/{ s//\1/; q; }
21683
/^X\(\/\).*/{ s//\1/; q; }
21685
{ if $as_mkdir_p; then
21690
while test ! -d "$as_dir"; do
21691
as_dirs="$as_dir $as_dirs"
21692
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21693
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21694
X"$as_dir" : 'X\(//\)[^/]' \| \
21695
X"$as_dir" : 'X\(//\)$' \| \
21696
X"$as_dir" : 'X\(/\)' \| \
21697
. : '\(.\)' 2>/dev/null ||
21699
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21700
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21701
/^X\(\/\/\)$/{ s//\1/; q; }
21702
/^X\(\/\).*/{ s//\1/; q; }
21705
test ! -n "$as_dirs" || mkdir $as_dirs
21706
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21707
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21708
{ (exit 1); exit 1; }; }; }
21710
23757
rm -f $ac_file
21711
mv $tmp/config.h $ac_file
23758
mv "$tmp/config.h" $ac_file
21715
rm -f $tmp/config.h
23761
echo "/* $configure_input */"
21717
23765
# Compute $ac_file's index in $config_headers.
21718
23766
_am_stamp_count=1
21719
23767
for _am_header in $config_headers :; do