Merging upstream version 0.5.9.
[debian/lxpanel.git] / configure
CommitLineData
6cc5e1a6
DB
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
f8c25730 3# Generated by GNU Autoconf 2.68 for lxpanel 0.5.9.
6cc5e1a6
DB
4#
5# Report bugs to <http://lxde.org/>.
6#
934ecce5 7#
6cc5e1a6 8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
ca14ea2b
DB
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
934ecce5 11#
1ea75322 12#
6cc5e1a6
DB
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
1ea75322
DB
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
6cc5e1a6
DB
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
1ea75322 21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6cc5e1a6
DB
22 emulate sh
23 NULLCMD=:
67aeed17 24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6cc5e1a6
DB
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28else
1ea75322
DB
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
6cc5e1a6 34esac
6cc5e1a6
DB
35fi
36
37
67aeed17
DB
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1ea75322
DB
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
67aeed17
DB
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57 as_echo_n='/usr/ucb/echo -n'
6cc5e1a6 58 else
67aeed17
DB
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
1ea75322 62 case $arg in #(
67aeed17
DB
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
6cc5e1a6 71 fi
67aeed17
DB
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
6cc5e1a6
DB
83fi
84
6cc5e1a6
DB
85
86# IFS
87# We need space, tab and new line, in precisely that order. Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
6cc5e1a6
DB
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
ca14ea2b 94as_myself=
1ea75322 95case $0 in #((
6cc5e1a6
DB
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100 IFS=$as_save_IFS
101 test -z "$as_dir" && as_dir=.
1ea75322
DB
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 done
6cc5e1a6
DB
104IFS=$as_save_IFS
105
106 ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111 as_myself=$0
112fi
113if test ! -f "$as_myself"; then
67aeed17 114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1ea75322 115 exit 1
6cc5e1a6
DB
116fi
117
1ea75322
DB
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there. '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6cc5e1a6
DB
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
67aeed17
DB
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
6cc5e1a6 135
1ea75322
DB
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 emulate sh
142 NULLCMD=:
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 setopt NO_GLOB_SUBST
147else
148 case \`(set -o) 2>/dev/null\` in #(
149 *posix*) :
150 set -o posix ;; #(
151 *) :
152 ;;
153esac
154fi
155"
156 as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170 exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
24d886e1
DB
177
178 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182 PATH=/empty FPATH=/empty; export PATH FPATH
183 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
1ea75322
DB
185test \$(( 1 + 1 )) = 2 || exit 1"
186 if (eval "$as_required") 2>/dev/null; then :
187 as_have_required=yes
188else
189 as_have_required=no
190fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198 IFS=$as_save_IFS
199 test -z "$as_dir" && as_dir=.
200 as_found=:
201 case $as_dir in #(
202 /*)
203 for as_base in sh bash ksh sh5; do
204 # Try only shells that exist, to save several forks.
205 as_shell=$as_dir/$as_base
206 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208 CONFIG_SHELL=$as_shell as_have_required=yes
209 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210 break 2
211fi
212fi
213 done;;
214 esac
215 as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219 CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224 if test "x$CONFIG_SHELL" != x; then :
225 # We cannot yet assume a decent shell, so we have to provide a
226 # neutralization value for shells without unset; and this also
227 # works around shells that cannot unset nonexistent variables.
ca14ea2b 228 # Preserve -v and -x to the replacement shell.
1ea75322
DB
229 BASH_ENV=/dev/null
230 ENV=/dev/null
231 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232 export CONFIG_SHELL
ca14ea2b
DB
233 case $- in # ((((
234 *v*x* | *x*v* ) as_opts=-vx ;;
235 *v* ) as_opts=-v ;;
236 *x* ) as_opts=-x ;;
237 * ) as_opts= ;;
238 esac
239 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1ea75322
DB
240fi
241
242 if test x$as_have_required = xno; then :
243 $as_echo "$0: This script requires a shell more modern than all"
244 $as_echo "$0: the shells that I found on your system."
245 if test x${ZSH_VERSION+set} = xset ; then
246 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248 else
249 $as_echo "$0: Please tell bug-autoconf@gnu.org and http://lxde.org/
250$0: about your system, including any error possibly output
251$0: before this message. Then install a modern shell, or
252$0: manually run the script under such a shell if you do
253$0: have one."
254 fi
255 exit 1
256fi
257fi
258fi
259SHELL=${CONFIG_SHELL-/bin/sh}
260export SHELL
261# Unset more variables known to interfere with behavior of common tools.
262CLICOLOR_FORCE= GREP_OPTIONS=
263unset CLICOLOR_FORCE GREP_OPTIONS
264
265## --------------------- ##
266## M4sh Shell Functions. ##
267## --------------------- ##
268# as_fn_unset VAR
269# ---------------
270# Portably unset VAR.
271as_fn_unset ()
272{
273 { eval $1=; unset $1;}
274}
275as_unset=as_fn_unset
276
277# as_fn_set_status STATUS
278# -----------------------
279# Set $? to STATUS, without forking.
280as_fn_set_status ()
281{
282 return $1
283} # as_fn_set_status
284
285# as_fn_exit STATUS
286# -----------------
287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288as_fn_exit ()
289{
290 set +e
291 as_fn_set_status $1
292 exit $1
293} # as_fn_exit
294
295# as_fn_mkdir_p
296# -------------
297# Create "$as_dir" as a directory, including parents if necessary.
298as_fn_mkdir_p ()
299{
300
301 case $as_dir in #(
302 -*) as_dir=./$as_dir;;
303 esac
304 test -d "$as_dir" || eval $as_mkdir_p || {
305 as_dirs=
306 while :; do
307 case $as_dir in #(
308 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309 *) as_qdir=$as_dir;;
310 esac
311 as_dirs="'$as_qdir' $as_dirs"
312 as_dir=`$as_dirname -- "$as_dir" ||
313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314 X"$as_dir" : 'X\(//\)[^/]' \| \
315 X"$as_dir" : 'X\(//\)$' \| \
316 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317$as_echo X"$as_dir" |
318 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 s//\1/
320 q
321 }
322 /^X\(\/\/\)[^/].*/{
323 s//\1/
324 q
325 }
326 /^X\(\/\/\)$/{
327 s//\1/
328 q
329 }
330 /^X\(\/\).*/{
331 s//\1/
332 q
333 }
334 s/.*/./; q'`
335 test -d "$as_dir" && break
336 done
337 test -z "$as_dirs" || eval "mkdir $as_dirs"
ca14ea2b 338 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1ea75322
DB
339
340
341} # as_fn_mkdir_p
342# as_fn_append VAR VALUE
343# ----------------------
344# Append the text in VALUE to the end of the definition contained in VAR. Take
345# advantage of any shell optimizations that allow amortized linear growth over
346# repeated appends, instead of the typical quadratic growth present in naive
347# implementations.
348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349 eval 'as_fn_append ()
350 {
351 eval $1+=\$2
352 }'
353else
354 as_fn_append ()
355 {
356 eval $1=\$$1\$2
357 }
358fi # as_fn_append
359
360# as_fn_arith ARG...
361# ------------------
362# Perform arithmetic evaluation on the ARGs, and store the result in the
363# global $as_val. Take advantage of shells that can avoid forks. The arguments
364# must be portable across $(()) and expr.
365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366 eval 'as_fn_arith ()
367 {
368 as_val=$(( $* ))
369 }'
370else
371 as_fn_arith ()
372 {
373 as_val=`expr "$@" || test $? -eq 1`
374 }
375fi # as_fn_arith
376
377
ca14ea2b
DB
378# as_fn_error STATUS ERROR [LINENO LOG_FD]
379# ----------------------------------------
1ea75322
DB
380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
ca14ea2b 382# script with STATUS, using 1 if that was 0.
1ea75322
DB
383as_fn_error ()
384{
ca14ea2b
DB
385 as_status=$1; test $as_status -eq 0 && as_status=1
386 if test "$4"; then
387 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
1ea75322 389 fi
ca14ea2b 390 $as_echo "$as_me: error: $2" >&2
1ea75322
DB
391 as_fn_exit $as_status
392} # as_fn_error
393
6cc5e1a6
DB
394if expr a : '\(a\)' >/dev/null 2>&1 &&
395 test "X`expr 00001 : '.*\(...\)'`" = X001; then
396 as_expr=expr
397else
398 as_expr=false
399fi
400
401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402 as_basename=basename
403else
404 as_basename=false
405fi
406
1ea75322
DB
407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408 as_dirname=dirname
409else
410 as_dirname=false
411fi
6cc5e1a6 412
6cc5e1a6
DB
413as_me=`$as_basename -- "$0" ||
414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415 X"$0" : 'X\(//\)$' \| \
416 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
67aeed17 417$as_echo X/"$0" |
6cc5e1a6
DB
418 sed '/^.*\/\([^/][^/]*\)\/*$/{
419 s//\1/
420 q
421 }
422 /^X\/\(\/\/\)$/{
423 s//\1/
424 q
425 }
426 /^X\/\(\/\).*/{
427 s//\1/
428 q
429 }
430 s/.*/./; q'`
431
1ea75322
DB
432# Avoid depending upon Character Ranges.
433as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436as_cr_digits='0123456789'
437as_cr_alnum=$as_cr_Letters$as_cr_digits
6cc5e1a6
DB
438
439
1ea75322
DB
440 as_lineno_1=$LINENO as_lineno_1a=$LINENO
441 as_lineno_2=$LINENO as_lineno_2a=$LINENO
442 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 sed -n '
446 p
447 /[$]LINENO/=
448 ' <$as_myself |
449 sed '
450 s/[$]LINENO.*/&-/
451 t lineno
452 b
453 :lineno
454 N
455 :loop
456 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457 t loop
458 s/-\n.*//
459 ' >$as_me.lineno &&
460 chmod +x "$as_me.lineno" ||
461 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
6cc5e1a6 462
1ea75322
DB
463 # Don't try to exec as it changes $[0], causing all sort of problems
464 # (the dirname of $[0] is not the place where we might find the
465 # original and so on. Autoconf is especially sensitive to this).
466 . "./$as_me.lineno"
467 # Exit status is that of the last command.
468 exit
6cc5e1a6
DB
469}
470
1ea75322
DB
471ECHO_C= ECHO_N= ECHO_T=
472case `echo -n x` in #(((((
473-n*)
474 case `echo 'xy\c'` in
475 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
476 xy) ECHO_C='\c';;
477 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
478 ECHO_T=' ';;
479 esac;;
480*)
481 ECHO_N='-n';;
482esac
6cc5e1a6 483
1ea75322
DB
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486 rm -f conf$$.dir/conf$$.file
487else
488 rm -f conf$$.dir
489 mkdir conf$$.dir 2>/dev/null
6cc5e1a6 490fi
1ea75322
DB
491if (echo >conf$$.file) 2>/dev/null; then
492 if ln -s conf$$.file conf$$ 2>/dev/null; then
493 as_ln_s='ln -s'
494 # ... but there are two gotchas:
495 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497 # In both cases, we have to default to `cp -p'.
498 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499 as_ln_s='cp -p'
500 elif ln conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s=ln
502 else
503 as_ln_s='cp -p'
504 fi
6cc5e1a6 505else
1ea75322 506 as_ln_s='cp -p'
6cc5e1a6 507fi
1ea75322
DB
508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509rmdir conf$$.dir 2>/dev/null
6cc5e1a6 510
1ea75322
DB
511if mkdir -p . 2>/dev/null; then
512 as_mkdir_p='mkdir -p "$as_dir"'
513else
514 test -d ./-p && rmdir ./-p
515 as_mkdir_p=false
6cc5e1a6
DB
516fi
517
1ea75322
DB
518if test -x / >/dev/null 2>&1; then
519 as_test_x='test -x'
6cc5e1a6 520else
1ea75322
DB
521 if ls -dL / >/dev/null 2>&1; then
522 as_ls_L_option=L
523 else
524 as_ls_L_option=
525 fi
526 as_test_x='
527 eval sh -c '\''
528 if test -d "$1"; then
529 test -d "$1/.";
530 else
531 case $1 in #(
532 -*)set "./$1";;
533 esac;
534 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535 ???[sx]*):;;*)false;;esac;fi
536 '\'' sh
537 '
6cc5e1a6 538fi
1ea75322 539as_executable_p=$as_test_x
6cc5e1a6 540
1ea75322
DB
541# Sed expression to map a string onto a valid CPP name.
542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6cc5e1a6 543
1ea75322
DB
544# Sed expression to map a string onto a valid variable name.
545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6cc5e1a6 546
6cc5e1a6
DB
547SHELL=${CONFIG_SHELL-/bin/sh}
548
6cc5e1a6 549
934ecce5
DB
550test -n "$DJDIR" || exec 7<&0 </dev/null
551exec 6>&1
6cc5e1a6
DB
552
553# Name of the host.
ca14ea2b 554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
6cc5e1a6
DB
555# so uname gets run too.
556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558#
559# Initializations.
560#
561ac_default_prefix=/usr/local
562ac_clean_files=
563ac_config_libobj_dir=.
564LIBOBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
6cc5e1a6
DB
569
570# Identity of this package.
571PACKAGE_NAME='lxpanel'
572PACKAGE_TARNAME='lxpanel'
f8c25730
DB
573PACKAGE_VERSION='0.5.9'
574PACKAGE_STRING='lxpanel 0.5.9'
6cc5e1a6 575PACKAGE_BUGREPORT='http://lxde.org/'
1ea75322 576PACKAGE_URL=''
6cc5e1a6 577
6cc5e1a6
DB
578# Factoring default headers for most tests.
579ac_includes_default="\
580#include <stdio.h>
581#ifdef HAVE_SYS_TYPES_H
582# include <sys/types.h>
583#endif
584#ifdef HAVE_SYS_STAT_H
585# include <sys/stat.h>
586#endif
587#ifdef STDC_HEADERS
588# include <stdlib.h>
589# include <stddef.h>
590#else
591# ifdef HAVE_STDLIB_H
592# include <stdlib.h>
593# endif
594#endif
595#ifdef HAVE_STRING_H
596# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
597# include <memory.h>
598# endif
599# include <string.h>
600#endif
601#ifdef HAVE_STRINGS_H
602# include <strings.h>
603#endif
604#ifdef HAVE_INTTYPES_H
605# include <inttypes.h>
606#endif
607#ifdef HAVE_STDINT_H
608# include <stdint.h>
609#endif
610#ifdef HAVE_UNISTD_H
611# include <unistd.h>
612#endif"
613
1ea75322
DB
614ac_subst_vars='am__EXEEXT_FALSE
615am__EXEEXT_TRUE
616LTLIBOBJS
617ENABLE_REGENERATE_MAN_FALSE
618ENABLE_REGENERATE_MAN_TRUE
619XMLCATALOG
620XML_CATALOG_FILE
621XSLTPROC
10862fa6
DB
622MKINSTALLDIRS
623POSUB
624POFILES
625PO_IN_DATADIR_FALSE
626PO_IN_DATADIR_TRUE
627INTLLIBS
628INSTOBJEXT
629GMOFILES
630CATOBJEXT
631CATALOGS
6cc5e1a6 632MSGFMT_OPTS
10862fa6
DB
633GETTEXT_PACKAGE
634LIBOBJS
635XMKMF
636PLUGINS_LIST
637ALL_PLUGINS_LIST
638BUILD_PLUGIN_LOADER_FALSE
639BUILD_PLUGIN_LOADER_TRUE
10862fa6
DB
640BUILD_OSS_PLUGINS_FALSE
641BUILD_OSS_PLUGINS_TRUE
642BUILD_ALSA_PLUGINS_FALSE
643BUILD_ALSA_PLUGINS_TRUE
644LXPANEL_MODULE
645G_CAST_CHECKS
ca14ea2b 646ADDITIONAL_FLAGS
10862fa6
DB
647ENABLE_MENU_CACHE_FALSE
648ENABLE_MENU_CACHE_TRUE
649MENU_CACHE_LIBS
650MENU_CACHE_CFLAGS
f8c25730
DB
651WNCK_LIBS
652WNCK_CFLAGS
934ecce5
DB
653X11_LIBS
654X11_CFLAGS
f8c25730
DB
655INDICATORICONSDIR
656INDICATORDIR
657APPLET_LIBS
658APPLET_CFLAGS
659ENABLE_INDICATOR_SUPPORT_FALSE
660ENABLE_INDICATOR_SUPPORT_TRUE
10862fa6
DB
661PACKAGE_LIBS
662PACKAGE_CFLAGS
24d886e1
DB
663PKG_CONFIG_LIBDIR
664PKG_CONFIG_PATH
10862fa6 665PKG_CONFIG
ca14ea2b
DB
666CPP
667OTOOL64
668OTOOL
669LIPO
670NMEDIT
671DSYMUTIL
672MANIFEST_TOOL
673RANLIB
674ac_ct_AR
675AR
676DLLTOOL
677OBJDUMP
678NM
679ac_ct_DUMPBIN
680DUMPBIN
681LD
682FGREP
683EGREP
684GREP
685SED
686host_os
687host_vendor
688host_cpu
689host
690build_os
691build_vendor
692build_cpu
693build
694LIBTOOL
10862fa6
DB
695DATADIRNAME
696ALL_LINGUAS
697INTLTOOL_PERL
6cc5e1a6 698GMSGFMT
10862fa6
DB
699MSGFMT
700MSGMERGE
701XGETTEXT
702INTLTOOL_POLICY_RULE
703INTLTOOL_SERVICE_RULE
704INTLTOOL_THEME_RULE
705INTLTOOL_SCHEMAS_RULE
706INTLTOOL_CAVES_RULE
707INTLTOOL_XML_NOMERGE_RULE
708INTLTOOL_XML_RULE
709INTLTOOL_KBD_RULE
710INTLTOOL_XAM_RULE
711INTLTOOL_UI_RULE
712INTLTOOL_SOUNDLIST_RULE
713INTLTOOL_SHEET_RULE
714INTLTOOL_SERVER_RULE
715INTLTOOL_PONG_RULE
716INTLTOOL_OAF_RULE
717INTLTOOL_PROP_RULE
718INTLTOOL_KEYS_RULE
719INTLTOOL_DIRECTORY_RULE
720INTLTOOL_DESKTOP_RULE
f8c25730
DB
721intltool__v_merge_options_0
722intltool__v_merge_options_
723INTLTOOL_V_MERGE_OPTIONS
724INTLTOOL__v_MERGE_0
725INTLTOOL__v_MERGE_
726INTLTOOL_V_MERGE
10862fa6
DB
727INTLTOOL_EXTRACT
728INTLTOOL_MERGE
729INTLTOOL_UPDATE
730USE_NLS
10862fa6
DB
731LN_S
732am__fastdepCC_FALSE
733am__fastdepCC_TRUE
734CCDEPMODE
f8c25730 735am__nodep
10862fa6
DB
736AMDEPBACKSLASH
737AMDEP_FALSE
738AMDEP_TRUE
739am__quote
740am__include
741DEPDIR
742OBJEXT
743EXEEXT
744ac_ct_CC
745CPPFLAGS
746LDFLAGS
747CFLAGS
748CC
ca14ea2b
DB
749AM_BACKSLASH
750AM_DEFAULT_VERBOSITY
f8c25730
DB
751AM_DEFAULT_V
752AM_V
10862fa6
DB
753am__untar
754am__tar
755AMTAR
756am__leading_dot
757SET_MAKE
758AWK
759mkdir_p
760MKDIR_P
761INSTALL_STRIP_PROGRAM
762STRIP
763install_sh
764MAKEINFO
765AUTOHEADER
766AUTOMAKE
767AUTOCONF
768ACLOCAL
769VERSION
770PACKAGE
771CYGPATH_W
772am__isrc
773INSTALL_DATA
774INSTALL_SCRIPT
775INSTALL_PROGRAM
776target_alias
777host_alias
778build_alias
779LIBS
780ECHO_T
781ECHO_N
782ECHO_C
783DEFS
784mandir
785localedir
786libdir
787psdir
788pdfdir
789dvidir
790htmldir
791infodir
792docdir
793oldincludedir
794includedir
795localstatedir
796sharedstatedir
797sysconfdir
798datadir
799datarootdir
800libexecdir
801sbindir
802bindir
803program_transform_name
804prefix
805exec_prefix
1ea75322 806PACKAGE_URL
10862fa6
DB
807PACKAGE_BUGREPORT
808PACKAGE_STRING
809PACKAGE_VERSION
810PACKAGE_TARNAME
811PACKAGE_NAME
812PATH_SEPARATOR
813SHELL'
6cc5e1a6 814ac_subst_files=''
67aeed17
DB
815ac_user_opts='
816enable_option_checking
ca14ea2b 817enable_silent_rules
67aeed17
DB
818enable_static
819enable_dependency_tracking
ca14ea2b 820enable_nls
67aeed17
DB
821enable_shared
822with_pic
823enable_fast_install
824with_gnu_ld
ca14ea2b 825with_sysroot
67aeed17 826enable_libtool_lock
f8c25730
DB
827enable_gtk3
828enable_indicator_support
ca14ea2b 829enable_more_warnings
1ea75322 830enable_man
67aeed17
DB
831enable_cast_checks
832enable_alsa
67aeed17
DB
833enable_plugins_loading
834with_plugins
835with_x
1ea75322 836with_xml_catalog
67aeed17 837'
6cc5e1a6
DB
838 ac_precious_vars='build_alias
839host_alias
840target_alias
841CC
842CFLAGS
843LDFLAGS
844LIBS
845CPPFLAGS
846CPP
6cc5e1a6 847PKG_CONFIG
24d886e1
DB
848PKG_CONFIG_PATH
849PKG_CONFIG_LIBDIR
6cc5e1a6
DB
850PACKAGE_CFLAGS
851PACKAGE_LIBS
f8c25730
DB
852APPLET_CFLAGS
853APPLET_LIBS
934ecce5
DB
854X11_CFLAGS
855X11_LIBS
f8c25730
DB
856WNCK_CFLAGS
857WNCK_LIBS
10862fa6
DB
858MENU_CACHE_CFLAGS
859MENU_CACHE_LIBS
6cc5e1a6
DB
860XMKMF'
861
862
863# Initialize some variables set by options.
864ac_init_help=
865ac_init_version=false
67aeed17
DB
866ac_unrecognized_opts=
867ac_unrecognized_sep=
6cc5e1a6
DB
868# The variables have the same names as the options, with
869# dashes changed to underlines.
870cache_file=/dev/null
871exec_prefix=NONE
872no_create=
873no_recursion=
874prefix=NONE
875program_prefix=NONE
876program_suffix=NONE
877program_transform_name=s,x,x,
878silent=
879site=
880srcdir=
881verbose=
882x_includes=NONE
883x_libraries=NONE
884
885# Installation directory options.
886# These are left unexpanded so users can "make install exec_prefix=/foo"
887# and all the variables that are supposed to be based on exec_prefix
888# by default will actually change.
889# Use braces instead of parens because sh, perl, etc. also accept them.
890# (The list follows the same order as the GNU Coding Standards.)
891bindir='${exec_prefix}/bin'
892sbindir='${exec_prefix}/sbin'
893libexecdir='${exec_prefix}/libexec'
894datarootdir='${prefix}/share'
895datadir='${datarootdir}'
896sysconfdir='${prefix}/etc'
897sharedstatedir='${prefix}/com'
898localstatedir='${prefix}/var'
899includedir='${prefix}/include'
900oldincludedir='/usr/include'
901docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
902infodir='${datarootdir}/info'
903htmldir='${docdir}'
904dvidir='${docdir}'
905pdfdir='${docdir}'
906psdir='${docdir}'
907libdir='${exec_prefix}/lib'
908localedir='${datarootdir}/locale'
909mandir='${datarootdir}/man'
910
911ac_prev=
912ac_dashdash=
913for ac_option
914do
915 # If the previous option needs an argument, assign it.
916 if test -n "$ac_prev"; then
917 eval $ac_prev=\$ac_option
918 ac_prev=
919 continue
920 fi
921
922 case $ac_option in
ca14ea2b
DB
923 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
924 *=) ac_optarg= ;;
925 *) ac_optarg=yes ;;
6cc5e1a6
DB
926 esac
927
928 # Accept the important Cygnus configure options, so we can diagnose typos.
929
930 case $ac_dashdash$ac_option in
931 --)
932 ac_dashdash=yes ;;
933
934 -bindir | --bindir | --bindi | --bind | --bin | --bi)
935 ac_prev=bindir ;;
936 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
937 bindir=$ac_optarg ;;
938
939 -build | --build | --buil | --bui | --bu)
940 ac_prev=build_alias ;;
941 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
942 build_alias=$ac_optarg ;;
943
944 -cache-file | --cache-file | --cache-fil | --cache-fi \
945 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
946 ac_prev=cache_file ;;
947 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
948 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
949 cache_file=$ac_optarg ;;
950
951 --config-cache | -C)
952 cache_file=config.cache ;;
953
954 -datadir | --datadir | --datadi | --datad)
955 ac_prev=datadir ;;
956 -datadir=* | --datadir=* | --datadi=* | --datad=*)
957 datadir=$ac_optarg ;;
958
959 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
960 | --dataroo | --dataro | --datar)
961 ac_prev=datarootdir ;;
962 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
963 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
964 datarootdir=$ac_optarg ;;
965
966 -disable-* | --disable-*)
67aeed17 967 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
6cc5e1a6 968 # Reject names that are not valid shell variable names.
67aeed17 969 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ca14ea2b 970 as_fn_error $? "invalid feature name: $ac_useropt"
67aeed17
DB
971 ac_useropt_orig=$ac_useropt
972 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
974 *"
975"enable_$ac_useropt"
976"*) ;;
977 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
978 ac_unrecognized_sep=', ';;
979 esac
980 eval enable_$ac_useropt=no ;;
6cc5e1a6
DB
981
982 -docdir | --docdir | --docdi | --doc | --do)
983 ac_prev=docdir ;;
984 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
985 docdir=$ac_optarg ;;
986
987 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988 ac_prev=dvidir ;;
989 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
990 dvidir=$ac_optarg ;;
991
992 -enable-* | --enable-*)
67aeed17 993 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
6cc5e1a6 994 # Reject names that are not valid shell variable names.
67aeed17 995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ca14ea2b 996 as_fn_error $? "invalid feature name: $ac_useropt"
67aeed17
DB
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1000 *"
1001"enable_$ac_useropt"
1002"*) ;;
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1005 esac
1006 eval enable_$ac_useropt=\$ac_optarg ;;
6cc5e1a6
DB
1007
1008 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1009 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1010 | --exec | --exe | --ex)
1011 ac_prev=exec_prefix ;;
1012 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1013 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1014 | --exec=* | --exe=* | --ex=*)
1015 exec_prefix=$ac_optarg ;;
1016
1017 -gas | --gas | --ga | --g)
1018 # Obsolete; use --with-gas.
1019 with_gas=yes ;;
1020
1021 -help | --help | --hel | --he | -h)
1022 ac_init_help=long ;;
1023 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1024 ac_init_help=recursive ;;
1025 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1026 ac_init_help=short ;;
1027
1028 -host | --host | --hos | --ho)
1029 ac_prev=host_alias ;;
1030 -host=* | --host=* | --hos=* | --ho=*)
1031 host_alias=$ac_optarg ;;
1032
1033 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034 ac_prev=htmldir ;;
1035 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036 | --ht=*)
1037 htmldir=$ac_optarg ;;
1038
1039 -includedir | --includedir | --includedi | --included | --include \
1040 | --includ | --inclu | --incl | --inc)
1041 ac_prev=includedir ;;
1042 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1043 | --includ=* | --inclu=* | --incl=* | --inc=*)
1044 includedir=$ac_optarg ;;
1045
1046 -infodir | --infodir | --infodi | --infod | --info | --inf)
1047 ac_prev=infodir ;;
1048 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1049 infodir=$ac_optarg ;;
1050
1051 -libdir | --libdir | --libdi | --libd)
1052 ac_prev=libdir ;;
1053 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1054 libdir=$ac_optarg ;;
1055
1056 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1057 | --libexe | --libex | --libe)
1058 ac_prev=libexecdir ;;
1059 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1060 | --libexe=* | --libex=* | --libe=*)
1061 libexecdir=$ac_optarg ;;
1062
1063 -localedir | --localedir | --localedi | --localed | --locale)
1064 ac_prev=localedir ;;
1065 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1066 localedir=$ac_optarg ;;
1067
1068 -localstatedir | --localstatedir | --localstatedi | --localstated \
1069 | --localstate | --localstat | --localsta | --localst | --locals)
1070 ac_prev=localstatedir ;;
1071 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1072 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1073 localstatedir=$ac_optarg ;;
1074
1075 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076 ac_prev=mandir ;;
1077 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1078 mandir=$ac_optarg ;;
1079
1080 -nfp | --nfp | --nf)
1081 # Obsolete; use --without-fp.
1082 with_fp=no ;;
1083
1084 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1085 | --no-cr | --no-c | -n)
1086 no_create=yes ;;
1087
1088 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1089 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1090 no_recursion=yes ;;
1091
1092 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1093 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1094 | --oldin | --oldi | --old | --ol | --o)
1095 ac_prev=oldincludedir ;;
1096 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1097 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1098 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1099 oldincludedir=$ac_optarg ;;
1100
1101 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102 ac_prev=prefix ;;
1103 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1104 prefix=$ac_optarg ;;
1105
1106 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1107 | --program-pre | --program-pr | --program-p)
1108 ac_prev=program_prefix ;;
1109 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1110 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1111 program_prefix=$ac_optarg ;;
1112
1113 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1114 | --program-suf | --program-su | --program-s)
1115 ac_prev=program_suffix ;;
1116 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1117 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1118 program_suffix=$ac_optarg ;;
1119
1120 -program-transform-name | --program-transform-name \
1121 | --program-transform-nam | --program-transform-na \
1122 | --program-transform-n | --program-transform- \
1123 | --program-transform | --program-transfor \
1124 | --program-transfo | --program-transf \
1125 | --program-trans | --program-tran \
1126 | --progr-tra | --program-tr | --program-t)
1127 ac_prev=program_transform_name ;;
1128 -program-transform-name=* | --program-transform-name=* \
1129 | --program-transform-nam=* | --program-transform-na=* \
1130 | --program-transform-n=* | --program-transform-=* \
1131 | --program-transform=* | --program-transfor=* \
1132 | --program-transfo=* | --program-transf=* \
1133 | --program-trans=* | --program-tran=* \
1134 | --progr-tra=* | --program-tr=* | --program-t=*)
1135 program_transform_name=$ac_optarg ;;
1136
1137 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138 ac_prev=pdfdir ;;
1139 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1140 pdfdir=$ac_optarg ;;
1141
1142 -psdir | --psdir | --psdi | --psd | --ps)
1143 ac_prev=psdir ;;
1144 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1145 psdir=$ac_optarg ;;
1146
1147 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1148 | -silent | --silent | --silen | --sile | --sil)
1149 silent=yes ;;
1150
1151 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152 ac_prev=sbindir ;;
1153 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154 | --sbi=* | --sb=*)
1155 sbindir=$ac_optarg ;;
1156
1157 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1158 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1159 | --sharedst | --shareds | --shared | --share | --shar \
1160 | --sha | --sh)
1161 ac_prev=sharedstatedir ;;
1162 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1163 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1164 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165 | --sha=* | --sh=*)
1166 sharedstatedir=$ac_optarg ;;
1167
1168 -site | --site | --sit)
1169 ac_prev=site ;;
1170 -site=* | --site=* | --sit=*)
1171 site=$ac_optarg ;;
1172
1173 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174 ac_prev=srcdir ;;
1175 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1176 srcdir=$ac_optarg ;;
1177
1178 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1179 | --syscon | --sysco | --sysc | --sys | --sy)
1180 ac_prev=sysconfdir ;;
1181 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1182 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1183 sysconfdir=$ac_optarg ;;
1184
1185 -target | --target | --targe | --targ | --tar | --ta | --t)
1186 ac_prev=target_alias ;;
1187 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1188 target_alias=$ac_optarg ;;
1189
1190 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1191 verbose=yes ;;
1192
1193 -version | --version | --versio | --versi | --vers | -V)
1194 ac_init_version=: ;;
1195
1196 -with-* | --with-*)
67aeed17 1197 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
6cc5e1a6 1198 # Reject names that are not valid shell variable names.
67aeed17 1199 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ca14ea2b 1200 as_fn_error $? "invalid package name: $ac_useropt"
67aeed17
DB
1201 ac_useropt_orig=$ac_useropt
1202 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1203 case $ac_user_opts in
1204 *"
1205"with_$ac_useropt"
1206"*) ;;
1207 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1208 ac_unrecognized_sep=', ';;
1209 esac
1210 eval with_$ac_useropt=\$ac_optarg ;;
6cc5e1a6
DB
1211
1212 -without-* | --without-*)
67aeed17 1213 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
6cc5e1a6 1214 # Reject names that are not valid shell variable names.
67aeed17 1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
ca14ea2b 1216 as_fn_error $? "invalid package name: $ac_useropt"
67aeed17
DB
1217 ac_useropt_orig=$ac_useropt
1218 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1220 *"
1221"with_$ac_useropt"
1222"*) ;;
1223 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1224 ac_unrecognized_sep=', ';;
1225 esac
1226 eval with_$ac_useropt=no ;;
6cc5e1a6
DB
1227
1228 --x)
1229 # Obsolete; use --with-x.
1230 with_x=yes ;;
1231
1232 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1233 | --x-incl | --x-inc | --x-in | --x-i)
1234 ac_prev=x_includes ;;
1235 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1236 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1237 x_includes=$ac_optarg ;;
1238
1239 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1240 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1241 ac_prev=x_libraries ;;
1242 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1243 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1244 x_libraries=$ac_optarg ;;
1245
ca14ea2b
DB
1246 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1247Try \`$0 --help' for more information"
6cc5e1a6
DB
1248 ;;
1249
1250 *=*)
1251 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1252 # Reject names that are not valid shell variable names.
1ea75322
DB
1253 case $ac_envvar in #(
1254 '' | [0-9]* | *[!_$as_cr_alnum]* )
ca14ea2b 1255 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1ea75322 1256 esac
6cc5e1a6
DB
1257 eval $ac_envvar=\$ac_optarg
1258 export $ac_envvar ;;
1259
1260 *)
1261 # FIXME: should be removed in autoconf 3.0.
67aeed17 1262 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
6cc5e1a6 1263 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
67aeed17 1264 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
ca14ea2b 1265 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
6cc5e1a6
DB
1266 ;;
1267
1268 esac
1269done
1270
1271if test -n "$ac_prev"; then
1272 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
ca14ea2b 1273 as_fn_error $? "missing argument to $ac_option"
6cc5e1a6
DB
1274fi
1275
67aeed17
DB
1276if test -n "$ac_unrecognized_opts"; then
1277 case $enable_option_checking in
1278 no) ;;
ca14ea2b 1279 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
10862fa6 1280 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
67aeed17
DB
1281 esac
1282fi
1283
1284# Check all directory arguments for consistency.
6cc5e1a6
DB
1285for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1286 datadir sysconfdir sharedstatedir localstatedir includedir \
1287 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1288 libdir localedir mandir
1289do
1290 eval ac_val=\$$ac_var
67aeed17
DB
1291 # Remove trailing slashes.
1292 case $ac_val in
1293 */ )
1294 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1295 eval $ac_var=\$ac_val;;
1296 esac
1297 # Be sure to have absolute directory names.
6cc5e1a6
DB
1298 case $ac_val in
1299 [\\/$]* | ?:[\\/]* ) continue;;
1300 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301 esac
ca14ea2b 1302 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
6cc5e1a6
DB
1303done
1304
1305# There might be people who depend on the old broken behavior: `$host'
1306# used to hold the argument of --host etc.
1307# FIXME: To remove some day.
1308build=$build_alias
1309host=$host_alias
1310target=$target_alias
1311
1312# FIXME: To remove some day.
1313if test "x$host_alias" != x; then
1314 if test "x$build_alias" = x; then
1315 cross_compiling=maybe
ca14ea2b
DB
1316 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1317 If a cross compiler is detected then cross compile mode will be used" >&2
6cc5e1a6
DB
1318 elif test "x$build_alias" != "x$host_alias"; then
1319 cross_compiling=yes
1320 fi
1321fi
1322
1323ac_tool_prefix=
1324test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
1326test "$silent" = yes && exec 6>/dev/null
1327
1328
1329ac_pwd=`pwd` && test -n "$ac_pwd" &&
1330ac_ls_di=`ls -di .` &&
1331ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
ca14ea2b 1332 as_fn_error $? "working directory cannot be determined"
6cc5e1a6 1333test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
ca14ea2b 1334 as_fn_error $? "pwd does not report name of working directory"
6cc5e1a6
DB
1335
1336
1337# Find the source files, if location was not specified.
1338if test -z "$srcdir"; then
1339 ac_srcdir_defaulted=yes
1340 # Try the directory containing this script, then the parent directory.
67aeed17
DB
1341 ac_confdir=`$as_dirname -- "$as_myself" ||
1342$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346$as_echo X"$as_myself" |
6cc5e1a6
DB
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 s//\1/
1349 q
1350 }
1351 /^X\(\/\/\)[^/].*/{
1352 s//\1/
1353 q
1354 }
1355 /^X\(\/\/\)$/{
1356 s//\1/
1357 q
1358 }
1359 /^X\(\/\).*/{
1360 s//\1/
1361 q
1362 }
1363 s/.*/./; q'`
1364 srcdir=$ac_confdir
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 srcdir=..
1367 fi
1368else
1369 ac_srcdir_defaulted=no
1370fi
1371if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
ca14ea2b 1373 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
6cc5e1a6
DB
1374fi
1375ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376ac_abs_confdir=`(
ca14ea2b 1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
6cc5e1a6
DB
1378 pwd)`
1379# When building in place, set srcdir=.
1380if test "$ac_abs_confdir" = "$ac_pwd"; then
1381 srcdir=.
1382fi
1383# Remove unnecessary trailing slashes from srcdir.
1384# Double slashes in file names in object file debugging info
1385# mess up M-x gdb in Emacs.
1386case $srcdir in
1387*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388esac
1389for ac_var in $ac_precious_vars; do
1390 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_${ac_var}_value=\$${ac_var}
1392 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1394done
1395
1396#
1397# Report the --help message.
1398#
1399if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1402 cat <<_ACEOF
f8c25730 1403\`configure' configures lxpanel 0.5.9 to adapt to many kinds of systems.
6cc5e1a6
DB
1404
1405Usage: $0 [OPTION]... [VAR=VALUE]...
1406
1407To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408VAR=VALUE. See below for descriptions of some of the useful variables.
1409
1410Defaults for the options are specified in brackets.
1411
1412Configuration:
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
ca14ea2b 1417 -q, --quiet, --silent do not print \`checking ...' messages
6cc5e1a6
DB
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422
1423Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
67aeed17 1425 [$ac_default_prefix]
6cc5e1a6 1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
67aeed17 1427 [PREFIX]
6cc5e1a6
DB
1428
1429By default, \`make install' will install all the files in
1430\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432for instance \`--prefix=\$HOME'.
1433
1434For better control, use the options below.
1435
1436Fine tuning of the installation directories:
67aeed17
DB
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/lxpanel]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
6cc5e1a6
DB
1456_ACEOF
1457
1458 cat <<\_ACEOF
1459
1460Program names:
1461 --program-prefix=PREFIX prepend PREFIX to installed program names
1462 --program-suffix=SUFFIX append SUFFIX to installed program names
1463 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1464
1465X features:
1466 --x-includes=DIR X include files are in DIR
1467 --x-libraries=DIR X library files are in DIR
1468
1469System types:
1470 --build=BUILD configure for building on BUILD [guessed]
1471 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1472_ACEOF
1473fi
1474
1475if test -n "$ac_init_help"; then
1476 case $ac_init_help in
f8c25730 1477 short | recursive ) echo "Configuration of lxpanel 0.5.9:";;
6cc5e1a6
DB
1478 esac
1479 cat <<\_ACEOF
1480
1481Optional Features:
67aeed17 1482 --disable-option-checking ignore unrecognized --enable/--with options
6cc5e1a6
DB
1483 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1484 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
ca14ea2b
DB
1485 --enable-silent-rules less verbose build output (undo: `make V=1')
1486 --disable-silent-rules verbose build output (undo: `make V=0')
6cc5e1a6
DB
1487 --enable-static[=PKGS] build static libraries [default=no]
1488 --disable-dependency-tracking speeds up one-time build
1489 --enable-dependency-tracking do not reject slow dependency extractors
ca14ea2b 1490 --disable-nls do not use Native Language Support
6cc5e1a6
DB
1491 --enable-shared[=PKGS] build shared libraries [default=yes]
1492 --enable-fast-install[=PKGS]
1493 optimize for fast installation [default=yes]
1494 --disable-libtool-lock avoid locking (might break parallel builds)
f8c25730
DB
1495 --enable-gtk3 enable to use gtk-3.0 instead of gtk-2.0
1496 --enable-indicator-support
1497 enable plugin loading (default: disable)
ca14ea2b 1498 --enable-more-warnings Add more warnings [default=no]
1ea75322 1499 --enable-man regenerate roff man pages from Docbook [default=no]
6cc5e1a6
DB
1500 --enable-cast-checks enable Glib casting checks (default: disable)
1501 --disable-alsa compile ALSA providers (default: enable)
6cc5e1a6
DB
1502 --disable-plugins-loading
1503 disable plugin loading (default: enable)
1504
1505Optional Packages:
1506 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1507 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
f8c25730 1508 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
6cc5e1a6 1509 both]
67aeed17 1510 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
ca14ea2b
DB
1511 --with-sysroot=DIR Search for dependent libraries within DIR
1512 (or the compiler's sysroot if not specified).
6cc5e1a6
DB
1513 --with-plugins=<list> compile dynamic plugins in <list>
1514 plugins may be comma separated
1515 'all' builds all plugins (default), 'none' builds none
1516 Possible plugins are:
f8c25730 1517 netstatus, netstat, volume, volumealsa, cpu, deskno, batt, kbled, xkb, thermal, cpufreq, monitors, wnckpager
6cc5e1a6 1518 --with-x use the X Window System
1ea75322
DB
1519 --with-xml-catalog=CATALOG
1520 path to xml catalog to use
6cc5e1a6
DB
1521
1522Some influential environment variables:
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
934ecce5 1528 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
6cc5e1a6
DB
1529 you have headers in a nonstandard directory <include dir>
1530 CPP C preprocessor
6cc5e1a6 1531 PKG_CONFIG path to pkg-config utility
24d886e1
DB
1532 PKG_CONFIG_PATH
1533 directories to add to pkg-config's search path
1534 PKG_CONFIG_LIBDIR
1535 path overriding pkg-config's built-in search path
6cc5e1a6
DB
1536 PACKAGE_CFLAGS
1537 C compiler flags for PACKAGE, overriding pkg-config
1538 PACKAGE_LIBS
1539 linker flags for PACKAGE, overriding pkg-config
f8c25730
DB
1540 APPLET_CFLAGS
1541 C compiler flags for APPLET, overriding pkg-config
1542 APPLET_LIBS linker flags for APPLET, overriding pkg-config
934ecce5
DB
1543 X11_CFLAGS C compiler flags for X11, overriding pkg-config
1544 X11_LIBS linker flags for X11, overriding pkg-config
f8c25730
DB
1545 WNCK_CFLAGS C compiler flags for WNCK, overriding pkg-config
1546 WNCK_LIBS linker flags for WNCK, overriding pkg-config
10862fa6
DB
1547 MENU_CACHE_CFLAGS
1548 C compiler flags for MENU_CACHE, overriding pkg-config
1549 MENU_CACHE_LIBS
1550 linker flags for MENU_CACHE, overriding pkg-config
6cc5e1a6
DB
1551 XMKMF Path to xmkmf, Makefile generator for X Window System
1552
1553Use these variables to override the choices made by `configure' or to help
1554it to find libraries and programs with nonstandard names/locations.
1555
1556Report bugs to <http://lxde.org/>.
1557_ACEOF
1558ac_status=$?
1559fi
1560
1561if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
67aeed17
DB
1564 test -d "$ac_dir" ||
1565 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1566 continue
6cc5e1a6
DB
1567 ac_builddir=.
1568
1569case "$ac_dir" in
1570.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1571*)
67aeed17 1572 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6cc5e1a6 1573 # A ".." for each directory in $ac_dir_suffix.
67aeed17 1574 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6cc5e1a6
DB
1575 case $ac_top_builddir_sub in
1576 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1577 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1578 esac ;;
1579esac
1580ac_abs_top_builddir=$ac_pwd
1581ac_abs_builddir=$ac_pwd$ac_dir_suffix
1582# for backward compatibility:
1583ac_top_builddir=$ac_top_build_prefix
1584
1585case $srcdir in
1586 .) # We are building in place.
1587 ac_srcdir=.
1588 ac_top_srcdir=$ac_top_builddir_sub
1589 ac_abs_top_srcdir=$ac_pwd ;;
1590 [\\/]* | ?:[\\/]* ) # Absolute name.
1591 ac_srcdir=$srcdir$ac_dir_suffix;
1592 ac_top_srcdir=$srcdir
1593 ac_abs_top_srcdir=$srcdir ;;
1594 *) # Relative name.
1595 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1596 ac_top_srcdir=$ac_top_build_prefix$srcdir
1597 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1598esac
1599ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1600
1601 cd "$ac_dir" || { ac_status=$?; continue; }
1602 # Check for guested configure.
1603 if test -f "$ac_srcdir/configure.gnu"; then
1604 echo &&
1605 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1606 elif test -f "$ac_srcdir/configure"; then
1607 echo &&
1608 $SHELL "$ac_srcdir/configure" --help=recursive
1609 else
67aeed17 1610 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
6cc5e1a6
DB
1611 fi || ac_status=$?
1612 cd "$ac_pwd" || { ac_status=$?; break; }
1613 done
1614fi
1615
1616test -n "$ac_init_help" && exit $ac_status
1617if $ac_init_version; then
1618 cat <<\_ACEOF
f8c25730 1619lxpanel configure 0.5.9
ca14ea2b 1620generated by GNU Autoconf 2.68
6cc5e1a6 1621
ca14ea2b 1622Copyright (C) 2010 Free Software Foundation, Inc.
6cc5e1a6
DB
1623This configure script is free software; the Free Software Foundation
1624gives unlimited permission to copy, distribute and modify it.
1625_ACEOF
1626 exit
1627fi
6cc5e1a6 1628
1ea75322
DB
1629## ------------------------ ##
1630## Autoconf initialization. ##
1631## ------------------------ ##
6cc5e1a6 1632
1ea75322
DB
1633# ac_fn_c_try_compile LINENO
1634# --------------------------
1635# Try to compile conftest.$ac_ext, and return whether this succeeded.
1636ac_fn_c_try_compile ()
6cc5e1a6 1637{
1ea75322
DB
1638 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1639 rm -f conftest.$ac_objext
1640 if { { ac_try="$ac_compile"
1641case "(($ac_try" in
1642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1644esac
1645eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646$as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_compile") 2>conftest.err
1648 ac_status=$?
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1653 fi
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest.$ac_objext; then :
1659 ac_retval=0
1660else
1661 $as_echo "$as_me: failed program was:" >&5
1662sed 's/^/| /' conftest.$ac_ext >&5
6cc5e1a6 1663
1ea75322
DB
1664 ac_retval=1
1665fi
ca14ea2b 1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
934ecce5 1667 as_fn_set_status $ac_retval
6cc5e1a6 1668
1ea75322 1669} # ac_fn_c_try_compile
6cc5e1a6 1670
1ea75322
DB
1671# ac_fn_c_try_link LINENO
1672# -----------------------
1673# Try to link conftest.$ac_ext, and return whether this succeeded.
1674ac_fn_c_try_link ()
1675{
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext conftest$ac_exeext
1678 if { { ac_try="$ac_link"
1679case "(($ac_try" in
1680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1681 *) ac_try_echo=$ac_try;;
1682esac
1683eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684$as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_link") 2>conftest.err
1686 ac_status=$?
1687 if test -s conftest.err; then
1688 grep -v '^ *+' conftest.err >conftest.er1
1689 cat conftest.er1 >&5
1690 mv -f conftest.er1 conftest.err
1691 fi
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_c_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest$ac_exeext && {
1697 test "$cross_compiling" = yes ||
1698 $as_test_x conftest$ac_exeext
1699 }; then :
1700 ac_retval=0
1701else
1702 $as_echo "$as_me: failed program was:" >&5
1703sed 's/^/| /' conftest.$ac_ext >&5
6cc5e1a6 1704
1ea75322
DB
1705 ac_retval=1
1706fi
1707 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1708 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1709 # interfere with the next link command; also delete a directory that is
1710 # left behind by Apple's compiler. We do this before executing the actions.
1711 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
ca14ea2b 1712 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
934ecce5 1713 as_fn_set_status $ac_retval
1ea75322
DB
1714
1715} # ac_fn_c_try_link
1716
ca14ea2b
DB
1717# ac_fn_c_check_func LINENO FUNC VAR
1718# ----------------------------------
1719# Tests whether FUNC exists, setting the cache variable VAR accordingly
1720ac_fn_c_check_func ()
1721{
1722 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1724$as_echo_n "checking for $2... " >&6; }
1725if eval \${$3+:} false; then :
1726 $as_echo_n "(cached) " >&6
1727else
1728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1729/* end confdefs.h. */
1730/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1732#define $2 innocuous_$2
1733
1734/* System header to define __stub macros and hopefully few prototypes,
1735 which can conflict with char $2 (); below.
1736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1737 <limits.h> exists even on freestanding compilers. */
1738
1739#ifdef __STDC__
1740# include <limits.h>
1741#else
1742# include <assert.h>
1743#endif
1744
1745#undef $2
1746
1747/* Override any GCC internal prototype to avoid an error.
1748 Use char because int might match the return type of a GCC
1749 builtin and then its argument prototype would still apply. */
1750#ifdef __cplusplus
1751extern "C"
1752#endif
1753char $2 ();
1754/* The GNU C library defines this for functions which it implements
1755 to always fail with ENOSYS. Some functions are actually named
1756 something starting with __ and the normal name is an alias. */
1757#if defined __stub_$2 || defined __stub___$2
1758choke me
1759#endif
1760
1761int
1762main ()
1763{
1764return $2 ();
1765 ;
1766 return 0;
1767}
1768_ACEOF
1769if ac_fn_c_try_link "$LINENO"; then :
1770 eval "$3=yes"
1771else
1772 eval "$3=no"
1773fi
1774rm -f core conftest.err conftest.$ac_objext \
1775 conftest$ac_exeext conftest.$ac_ext
1776fi
1777eval ac_res=\$$3
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779$as_echo "$ac_res" >&6; }
1780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1781
1782} # ac_fn_c_check_func
1783
1ea75322
DB
1784# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1785# -------------------------------------------------------
1786# Tests whether HEADER exists and can be compiled using the include files in
1787# INCLUDES, setting the cache variable VAR accordingly.
1788ac_fn_c_check_header_compile ()
1789{
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1792$as_echo_n "checking for $2... " >&6; }
ca14ea2b 1793if eval \${$3+:} false; then :
1ea75322
DB
1794 $as_echo_n "(cached) " >&6
1795else
1796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1797/* end confdefs.h. */
1798$4
1799#include <$2>
1800_ACEOF
1801if ac_fn_c_try_compile "$LINENO"; then :
1802 eval "$3=yes"
1803else
1804 eval "$3=no"
1805fi
1806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1807fi
1808eval ac_res=\$$3
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810$as_echo "$ac_res" >&6; }
ca14ea2b 1811 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1ea75322
DB
1812
1813} # ac_fn_c_check_header_compile
1814
1815# ac_fn_c_try_cpp LINENO
1816# ----------------------
1817# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1818ac_fn_c_try_cpp ()
1819{
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 if { { ac_try="$ac_cpp conftest.$ac_ext"
1822case "(($ac_try" in
1823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1825esac
1826eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827$as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1829 ac_status=$?
1830 if test -s conftest.err; then
1831 grep -v '^ *+' conftest.err >conftest.er1
1832 cat conftest.er1 >&5
1833 mv -f conftest.er1 conftest.err
1834 fi
1835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
ca14ea2b 1836 test $ac_status = 0; } > conftest.i && {
1ea75322
DB
1837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1838 test ! -s conftest.err
1839 }; then :
1840 ac_retval=0
1841else
1842 $as_echo "$as_me: failed program was:" >&5
1843sed 's/^/| /' conftest.$ac_ext >&5
1844
1845 ac_retval=1
1846fi
ca14ea2b 1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
934ecce5 1848 as_fn_set_status $ac_retval
1ea75322
DB
1849
1850} # ac_fn_c_try_cpp
1851
1852# ac_fn_c_try_run LINENO
1853# ----------------------
1854# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1855# that executables *can* be run.
1856ac_fn_c_try_run ()
1857{
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 if { { ac_try="$ac_link"
1860case "(($ac_try" in
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1863esac
1864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865$as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_link") 2>&5
1867 ac_status=$?
1868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1869 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1870 { { case "(($ac_try" in
1871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1872 *) ac_try_echo=$ac_try;;
1873esac
1874eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1875$as_echo "$ac_try_echo"; } >&5
1876 (eval "$ac_try") 2>&5
1877 ac_status=$?
1878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879 test $ac_status = 0; }; }; then :
1880 ac_retval=0
1881else
1882 $as_echo "$as_me: program exited with status $ac_status" >&5
1883 $as_echo "$as_me: failed program was:" >&5
1884sed 's/^/| /' conftest.$ac_ext >&5
1885
1886 ac_retval=$ac_status
1887fi
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
ca14ea2b 1889 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
934ecce5 1890 as_fn_set_status $ac_retval
1ea75322
DB
1891
1892} # ac_fn_c_try_run
1893
1ea75322
DB
1894# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1895# -------------------------------------------------------
1896# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1897# the include files in INCLUDES and setting the cache variable VAR
1898# accordingly.
1899ac_fn_c_check_header_mongrel ()
1900{
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
ca14ea2b 1902 if eval \${$3+:} false; then :
1ea75322
DB
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904$as_echo_n "checking for $2... " >&6; }
ca14ea2b 1905if eval \${$3+:} false; then :
1ea75322
DB
1906 $as_echo_n "(cached) " >&6
1907fi
1908eval ac_res=\$$3
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910$as_echo "$ac_res" >&6; }
1911else
1912 # Is the header compilable?
1913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1914$as_echo_n "checking $2 usability... " >&6; }
1915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916/* end confdefs.h. */
1917$4
1918#include <$2>
1919_ACEOF
1920if ac_fn_c_try_compile "$LINENO"; then :
1921 ac_header_compiler=yes
1922else
1923 ac_header_compiler=no
1924fi
1925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1927$as_echo "$ac_header_compiler" >&6; }
1928
1929# Is the header present?
1930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1931$as_echo_n "checking $2 presence... " >&6; }
1932cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933/* end confdefs.h. */
1934#include <$2>
1935_ACEOF
1936if ac_fn_c_try_cpp "$LINENO"; then :
1937 ac_header_preproc=yes
1938else
1939 ac_header_preproc=no
1940fi
ca14ea2b 1941rm -f conftest.err conftest.i conftest.$ac_ext
1ea75322
DB
1942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1943$as_echo "$ac_header_preproc" >&6; }
1944
1945# So? What about this header?
1946case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1947 yes:no: )
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1949$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1951$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952 ;;
1953 no:yes:* )
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1955$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1957$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1959$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1961$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1963$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
ca14ea2b 1964( $as_echo "## ------------------------------- ##
1ea75322 1965## Report this to http://lxde.org/ ##
ca14ea2b 1966## ------------------------------- ##"
1ea75322
DB
1967 ) | sed "s/^/$as_me: WARNING: /" >&2
1968 ;;
1969esac
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971$as_echo_n "checking for $2... " >&6; }
ca14ea2b 1972if eval \${$3+:} false; then :
1ea75322
DB
1973 $as_echo_n "(cached) " >&6
1974else
1975 eval "$3=\$ac_header_compiler"
1976fi
1977eval ac_res=\$$3
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979$as_echo "$ac_res" >&6; }
1980fi
ca14ea2b 1981 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1ea75322
DB
1982
1983} # ac_fn_c_check_header_mongrel
1984cat >config.log <<_ACEOF
1985This file contains any messages produced by compilers while
1986running configure, to aid debugging if configure makes a mistake.
1987
f8c25730 1988It was created by lxpanel $as_me 0.5.9, which was
ca14ea2b 1989generated by GNU Autoconf 2.68. Invocation command line was
1ea75322
DB
1990
1991 $ $0 $@
1992
1993_ACEOF
1994exec 5>>config.log
1995{
1996cat <<_ASUNAME
1997## --------- ##
1998## Platform. ##
1999## --------- ##
2000
2001hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2002uname -m = `(uname -m) 2>/dev/null || echo unknown`
2003uname -r = `(uname -r) 2>/dev/null || echo unknown`
2004uname -s = `(uname -s) 2>/dev/null || echo unknown`
2005uname -v = `(uname -v) 2>/dev/null || echo unknown`
2006
2007/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2008/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2009
2010/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2011/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2012/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2013/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2014/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2015/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2016/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2017
2018_ASUNAME
6cc5e1a6
DB
2019
2020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2021for as_dir in $PATH
2022do
2023 IFS=$as_save_IFS
2024 test -z "$as_dir" && as_dir=.
1ea75322
DB
2025 $as_echo "PATH: $as_dir"
2026 done
6cc5e1a6
DB
2027IFS=$as_save_IFS
2028
2029} >&5
2030
2031cat >&5 <<_ACEOF
2032
2033
2034## ----------- ##
2035## Core tests. ##
2036## ----------- ##
2037
2038_ACEOF
2039
2040
2041# Keep a trace of the command line.
2042# Strip out --no-create and --no-recursion so they do not pile up.
2043# Strip out --silent because we don't want to record it for future runs.
2044# Also quote any args containing shell meta-characters.
2045# Make two passes to allow for proper duplicate-argument suppression.
2046ac_configure_args=
2047ac_configure_args0=
2048ac_configure_args1=
2049ac_must_keep_next=false
2050for ac_pass in 1 2
2051do
2052 for ac_arg
2053 do
2054 case $ac_arg in
2055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2057 | -silent | --silent | --silen | --sile | --sil)
2058 continue ;;
2059 *\'*)
67aeed17 2060 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6cc5e1a6
DB
2061 esac
2062 case $ac_pass in
1ea75322 2063 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
6cc5e1a6 2064 2)
1ea75322 2065 as_fn_append ac_configure_args1 " '$ac_arg'"
6cc5e1a6
DB
2066 if test $ac_must_keep_next = true; then
2067 ac_must_keep_next=false # Got value, back to normal.
2068 else
2069 case $ac_arg in
2070 *=* | --config-cache | -C | -disable-* | --disable-* \
2071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2073 | -with-* | --with-* | -without-* | --without-* | --x)
2074 case "$ac_configure_args0 " in
2075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2076 esac
2077 ;;
2078 -* ) ac_must_keep_next=true ;;
2079 esac
2080 fi
1ea75322 2081 as_fn_append ac_configure_args " '$ac_arg'"
6cc5e1a6
DB
2082 ;;
2083 esac
2084 done
2085done
1ea75322
DB
2086{ ac_configure_args0=; unset ac_configure_args0;}
2087{ ac_configure_args1=; unset ac_configure_args1;}
6cc5e1a6
DB
2088
2089# When interrupted or exit'd, cleanup temporary files, and complete
2090# config.log. We remove comments because anyway the quotes in there
2091# would cause problems or look ugly.
2092# WARNING: Use '\'' to represent an apostrophe within the trap.
2093# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2094trap 'exit_status=$?
2095 # Save into config.log some information that might help in debugging.
2096 {
2097 echo
2098
ca14ea2b 2099 $as_echo "## ---------------- ##
6cc5e1a6 2100## Cache variables. ##
ca14ea2b 2101## ---------------- ##"
6cc5e1a6
DB
2102 echo
2103 # The following way of writing the cache mishandles newlines in values,
2104(
2105 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2106 eval ac_val=\$$ac_var
2107 case $ac_val in #(
2108 *${as_nl}*)
2109 case $ac_var in #(
1ea75322 2110 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10862fa6 2111$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6cc5e1a6
DB
2112 esac
2113 case $ac_var in #(
2114 _ | IFS | as_nl) ;; #(
67aeed17 2115 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1ea75322 2116 *) { eval $ac_var=; unset $ac_var;} ;;
6cc5e1a6
DB
2117 esac ;;
2118 esac
2119 done
2120 (set) 2>&1 |
2121 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2122 *${as_nl}ac_space=\ *)
2123 sed -n \
2124 "s/'\''/'\''\\\\'\'''\''/g;
2125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2126 ;; #(
2127 *)
2128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2129 ;;
2130 esac |
2131 sort
2132)
2133 echo
2134
ca14ea2b 2135 $as_echo "## ----------------- ##
6cc5e1a6 2136## Output variables. ##
ca14ea2b 2137## ----------------- ##"
6cc5e1a6
DB
2138 echo
2139 for ac_var in $ac_subst_vars
2140 do
2141 eval ac_val=\$$ac_var
2142 case $ac_val in
67aeed17 2143 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6cc5e1a6 2144 esac
67aeed17 2145 $as_echo "$ac_var='\''$ac_val'\''"
6cc5e1a6
DB
2146 done | sort
2147 echo
2148
2149 if test -n "$ac_subst_files"; then
ca14ea2b 2150 $as_echo "## ------------------- ##
6cc5e1a6 2151## File substitutions. ##
ca14ea2b 2152## ------------------- ##"
6cc5e1a6
DB
2153 echo
2154 for ac_var in $ac_subst_files
2155 do
2156 eval ac_val=\$$ac_var
2157 case $ac_val in
67aeed17 2158 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
6cc5e1a6 2159 esac
67aeed17 2160 $as_echo "$ac_var='\''$ac_val'\''"
6cc5e1a6
DB
2161 done | sort
2162 echo
2163 fi
2164
2165 if test -s confdefs.h; then
ca14ea2b 2166 $as_echo "## ----------- ##
6cc5e1a6 2167## confdefs.h. ##
ca14ea2b 2168## ----------- ##"
6cc5e1a6
DB
2169 echo
2170 cat confdefs.h
2171 echo
2172 fi
2173 test "$ac_signal" != 0 &&
67aeed17
DB
2174 $as_echo "$as_me: caught signal $ac_signal"
2175 $as_echo "$as_me: exit $exit_status"
6cc5e1a6
DB
2176 } >&5
2177 rm -f core *.core core.conftest.* &&
2178 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2179 exit $exit_status
2180' 0
2181for ac_signal in 1 2 13 15; do
1ea75322 2182 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
6cc5e1a6
DB
2183done
2184ac_signal=0
2185
2186# confdefs.h avoids OS command line length limits that DEFS can exceed.
2187rm -f -r conftest* confdefs.h
2188
1ea75322
DB
2189$as_echo "/* confdefs.h */" > confdefs.h
2190
6cc5e1a6
DB
2191# Predefined preprocessor variables.
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE_NAME "$PACKAGE_NAME"
2195_ACEOF
2196
6cc5e1a6
DB
2197cat >>confdefs.h <<_ACEOF
2198#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2199_ACEOF
2200
6cc5e1a6
DB
2201cat >>confdefs.h <<_ACEOF
2202#define PACKAGE_VERSION "$PACKAGE_VERSION"
2203_ACEOF
2204
6cc5e1a6
DB
2205cat >>confdefs.h <<_ACEOF
2206#define PACKAGE_STRING "$PACKAGE_STRING"
2207_ACEOF
2208
6cc5e1a6
DB
2209cat >>confdefs.h <<_ACEOF
2210#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2211_ACEOF
2212
1ea75322
DB
2213cat >>confdefs.h <<_ACEOF
2214#define PACKAGE_URL "$PACKAGE_URL"
2215_ACEOF
2216
6cc5e1a6
DB
2217
2218# Let the site file select an alternate cache file if it wants to.
67aeed17
DB
2219# Prefer an explicitly selected file to automatically selected ones.
2220ac_site_file1=NONE
2221ac_site_file2=NONE
6cc5e1a6 2222if test -n "$CONFIG_SITE"; then
ca14ea2b
DB
2223 # We do not want a PATH search for config.site.
2224 case $CONFIG_SITE in #((
2225 -*) ac_site_file1=./$CONFIG_SITE;;
2226 */*) ac_site_file1=$CONFIG_SITE;;
2227 *) ac_site_file1=./$CONFIG_SITE;;
2228 esac
6cc5e1a6 2229elif test "x$prefix" != xNONE; then
67aeed17
DB
2230 ac_site_file1=$prefix/share/config.site
2231 ac_site_file2=$prefix/etc/config.site
6cc5e1a6 2232else
67aeed17
DB
2233 ac_site_file1=$ac_default_prefix/share/config.site
2234 ac_site_file2=$ac_default_prefix/etc/config.site
6cc5e1a6 2235fi
67aeed17 2236for ac_site_file in "$ac_site_file1" "$ac_site_file2"
6cc5e1a6 2237do
67aeed17 2238 test "x$ac_site_file" = xNONE && continue
934ecce5 2239 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1ea75322 2240 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
67aeed17 2241$as_echo "$as_me: loading site script $ac_site_file" >&6;}
6cc5e1a6 2242 sed 's/^/| /' "$ac_site_file" >&5
ca14ea2b
DB
2243 . "$ac_site_file" \
2244 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2245$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2246as_fn_error $? "failed to load site script $ac_site_file
2247See \`config.log' for more details" "$LINENO" 5; }
6cc5e1a6
DB
2248 fi
2249done
2250
2251if test -r "$cache_file"; then
934ecce5
DB
2252 # Some versions of bash will fail to source /dev/null (special files
2253 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2254 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1ea75322 2255 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
67aeed17 2256$as_echo "$as_me: loading cache $cache_file" >&6;}
6cc5e1a6
DB
2257 case $cache_file in
2258 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2259 *) . "./$cache_file";;
2260 esac
2261 fi
2262else
1ea75322 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
67aeed17 2264$as_echo "$as_me: creating cache $cache_file" >&6;}
6cc5e1a6
DB
2265 >$cache_file
2266fi
2267
2268# Check that the precious variables saved in the cache have kept the same
2269# value.
2270ac_cache_corrupted=false
2271for ac_var in $ac_precious_vars; do
2272 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2273 eval ac_new_set=\$ac_env_${ac_var}_set
2274 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2275 eval ac_new_val=\$ac_env_${ac_var}_value
2276 case $ac_old_set,$ac_new_set in
2277 set,)
1ea75322 2278 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
67aeed17 2279$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
6cc5e1a6
DB
2280 ac_cache_corrupted=: ;;
2281 ,set)
1ea75322 2282 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
67aeed17 2283$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
6cc5e1a6
DB
2284 ac_cache_corrupted=: ;;
2285 ,);;
2286 *)
2287 if test "x$ac_old_val" != "x$ac_new_val"; then
67aeed17
DB
2288 # differences in whitespace do not lead to failure.
2289 ac_old_val_w=`echo x $ac_old_val`
2290 ac_new_val_w=`echo x $ac_new_val`
2291 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1ea75322 2292 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
67aeed17
DB
2293$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2294 ac_cache_corrupted=:
2295 else
1ea75322 2296 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
67aeed17
DB
2297$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2298 eval $ac_var=\$ac_old_val
2299 fi
1ea75322 2300 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
67aeed17 2301$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1ea75322 2302 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
67aeed17 2303$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
6cc5e1a6
DB
2304 fi;;
2305 esac
2306 # Pass precious variables to config.status.
2307 if test "$ac_new_set" = set; then
2308 case $ac_new_val in
67aeed17 2309 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
6cc5e1a6
DB
2310 *) ac_arg=$ac_var=$ac_new_val ;;
2311 esac
2312 case " $ac_configure_args " in
2313 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1ea75322 2314 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
6cc5e1a6
DB
2315 esac
2316 fi
2317done
2318if $ac_cache_corrupted; then
1ea75322 2319 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10862fa6 2320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1ea75322 2321 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
67aeed17 2322$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
ca14ea2b 2323 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
6cc5e1a6 2324fi
1ea75322
DB
2325## -------------------- ##
2326## Main body of script. ##
2327## -------------------- ##
6cc5e1a6
DB
2328
2329ac_ext=c
2330ac_cpp='$CPP $CPPFLAGS'
2331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2333ac_compiler_gnu=$ac_cv_c_compiler_gnu
2334
2335
1ea75322 2336am__api_version='1.11'
6cc5e1a6
DB
2337
2338ac_aux_dir=
2339for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
ca14ea2b
DB
2340 if test -f "$ac_dir/install-sh"; then
2341 ac_aux_dir=$ac_dir
2342 ac_install_sh="$ac_aux_dir/install-sh -c"
2343 break
2344 elif test -f "$ac_dir/install.sh"; then
2345 ac_aux_dir=$ac_dir
2346 ac_install_sh="$ac_aux_dir/install.sh -c"
2347 break
2348 elif test -f "$ac_dir/shtool"; then
2349 ac_aux_dir=$ac_dir
2350 ac_install_sh="$ac_aux_dir/shtool install -c"
2351 break
2352 fi
6cc5e1a6
DB
2353done
2354if test -z "$ac_aux_dir"; then
ca14ea2b 2355 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
6cc5e1a6
DB
2356fi
2357
2358# These three variables are undocumented and unsupported,
2359# and are intended to be withdrawn in a future Autoconf release.
2360# They can cause serious problems if a builder's source tree is in a directory
2361# whose full name contains unusual characters.
2362ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2363ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2364ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2365
2366
2367# Find a good install program. We prefer a C program (faster),
2368# so one script is as good as another. But avoid the broken or
2369# incompatible versions:
2370# SysV /etc/install, /usr/sbin/install
2371# SunOS /usr/etc/install
2372# IRIX /sbin/install
2373# AIX /bin/install
2374# AmigaOS /C/install, which installs bootblocks on floppy discs
2375# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2376# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2377# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2378# OS/2's system install, which has a completely different semantic
2379# ./install, which can be erroneously created by make from ./install.sh.
67aeed17 2380# Reject install programs that cannot install multiple files.
1ea75322 2381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
67aeed17 2382$as_echo_n "checking for a BSD-compatible install... " >&6; }
6cc5e1a6 2383if test -z "$INSTALL"; then
ca14ea2b 2384if ${ac_cv_path_install+:} false; then :
67aeed17 2385 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
2386else
2387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388for as_dir in $PATH
2389do
2390 IFS=$as_save_IFS
2391 test -z "$as_dir" && as_dir=.
1ea75322
DB
2392 # Account for people who put trailing slashes in PATH elements.
2393case $as_dir/ in #((
2394 ./ | .// | /[cC]/* | \
6cc5e1a6 2395 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1ea75322 2396 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
6cc5e1a6
DB
2397 /usr/ucb/* ) ;;
2398 *)
2399 # OSF1 and SCO ODT 3.0 have their own names for install.
2400 # Don't use installbsd from OSF since it installs stuff as root
2401 # by default.
2402 for ac_prog in ginstall scoinst install; do
2403 for ac_exec_ext in '' $ac_executable_extensions; do
2404 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2405 if test $ac_prog = install &&
2406 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407 # AIX install. It has an incompatible calling convention.
2408 :
2409 elif test $ac_prog = install &&
2410 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2411 # program-specific install script used by HP pwplus--don't use.
2412 :
2413 else
67aeed17
DB
2414 rm -rf conftest.one conftest.two conftest.dir
2415 echo one > conftest.one
2416 echo two > conftest.two
2417 mkdir conftest.dir
2418 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2419 test -s conftest.one && test -s conftest.two &&
2420 test -s conftest.dir/conftest.one &&
2421 test -s conftest.dir/conftest.two
2422 then
2423 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2424 break 3
2425 fi
6cc5e1a6
DB
2426 fi
2427 fi
2428 done
2429 done
2430 ;;
2431esac
67aeed17 2432
1ea75322 2433 done
6cc5e1a6
DB
2434IFS=$as_save_IFS
2435
67aeed17 2436rm -rf conftest.one conftest.two conftest.dir
6cc5e1a6
DB
2437
2438fi
2439 if test "${ac_cv_path_install+set}" = set; then
2440 INSTALL=$ac_cv_path_install
2441 else
2442 # As a last resort, use the slow shell script. Don't cache a
2443 # value for INSTALL within a source directory, because that will
2444 # break other packages using the cache if that directory is
2445 # removed, or if the value is a relative name.
2446 INSTALL=$ac_install_sh
2447 fi
2448fi
1ea75322 2449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
67aeed17 2450$as_echo "$INSTALL" >&6; }
6cc5e1a6
DB
2451
2452# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2453# It thinks the first close brace ends the variable substitution.
2454test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2455
2456test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2457
2458test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2459
1ea75322 2460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
67aeed17 2461$as_echo_n "checking whether build environment is sane... " >&6; }
6cc5e1a6
DB
2462# Just in case
2463sleep 1
2464echo timestamp > conftest.file
1ea75322
DB
2465# Reject unsafe characters in $srcdir or the absolute working directory
2466# name. Accept space and tab only in the latter.
2467am_lf='
2468'
2469case `pwd` in
2470 *[\\\"\#\$\&\'\`$am_lf]*)
ca14ea2b 2471 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1ea75322
DB
2472esac
2473case $srcdir in
2474 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
ca14ea2b 2475 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1ea75322
DB
2476esac
2477
6cc5e1a6
DB
2478# Do `set' in a subshell so we don't clobber the current shell's
2479# arguments. Must try -L first in case configure is actually a
2480# symlink; some systems play weird games with the mod time of symlinks
2481# (eg FreeBSD returns the mod time of the symlink's containing
2482# directory).
2483if (
1ea75322 2484 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
6cc5e1a6
DB
2485 if test "$*" = "X"; then
2486 # -L didn't work.
1ea75322 2487 set X `ls -t "$srcdir/configure" conftest.file`
6cc5e1a6
DB
2488 fi
2489 rm -f conftest.file
2490 if test "$*" != "X $srcdir/configure conftest.file" \
2491 && test "$*" != "X conftest.file $srcdir/configure"; then
2492
2493 # If neither matched, then we have a broken ls. This can happen
2494 # if, for instance, CONFIG_SHELL is bash and it inherits a
2495 # broken ls alias from the environment. This has actually
2496 # happened. Such a system could not be considered "sane".
ca14ea2b 2497 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1ea75322 2498alias in your environment" "$LINENO" 5
6cc5e1a6
DB
2499 fi
2500
2501 test "$2" = conftest.file
2502 )
2503then
2504 # Ok.
2505 :
2506else
ca14ea2b 2507 as_fn_error $? "newly created file is older than distributed files!
1ea75322 2508Check your system clock" "$LINENO" 5
6cc5e1a6 2509fi
1ea75322 2510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
67aeed17 2511$as_echo "yes" >&6; }
6cc5e1a6
DB
2512test "$program_prefix" != NONE &&
2513 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2514# Use a double $ so make ignores it.
2515test "$program_suffix" != NONE &&
2516 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
67aeed17 2517# Double any \ or $.
6cc5e1a6 2518# By default was `s,x,x', remove it if useless.
67aeed17
DB
2519ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2520program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
6cc5e1a6
DB
2521
2522# expand $ac_aux_dir to an absolute path
2523am_aux_dir=`cd $ac_aux_dir && pwd`
2524
1ea75322
DB
2525if test x"${MISSING+set}" != xset; then
2526 case $am_aux_dir in
2527 *\ * | *\ *)
2528 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2529 *)
2530 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2531 esac
2532fi
6cc5e1a6
DB
2533# Use eval to expand $SHELL
2534if eval "$MISSING --run true"; then
2535 am_missing_run="$MISSING --run "
2536else
2537 am_missing_run=
1ea75322 2538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
67aeed17 2539$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
6cc5e1a6
DB
2540fi
2541
1ea75322
DB
2542if test x"${install_sh}" != xset; then
2543 case $am_aux_dir in
2544 *\ * | *\ *)
2545 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2546 *)
2547 install_sh="\${SHELL} $am_aux_dir/install-sh"
2548 esac
2549fi
2550
2551# Installed binaries are usually stripped using `strip' when the user
2552# run `make install-strip'. However `strip' might not be the right
2553# tool to use in cross-compilation environments, therefore Automake
2554# will honor the `STRIP' environment variable to overrule this program.
2555if test "$cross_compiling" != no; then
2556 if test -n "$ac_tool_prefix"; then
2557 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2558set dummy ${ac_tool_prefix}strip; ac_word=$2
2559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2560$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 2561if ${ac_cv_prog_STRIP+:} false; then :
67aeed17 2562 $as_echo_n "(cached) " >&6
6cc5e1a6 2563else
1ea75322
DB
2564 if test -n "$STRIP"; then
2565 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2566else
2567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568for as_dir in $PATH
6cc5e1a6
DB
2569do
2570 IFS=$as_save_IFS
2571 test -z "$as_dir" && as_dir=.
1ea75322
DB
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2574 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 break 2
2577 fi
2578done
2579 done
2580IFS=$as_save_IFS
2581
2582fi
2583fi
2584STRIP=$ac_cv_prog_STRIP
2585if test -n "$STRIP"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2587$as_echo "$STRIP" >&6; }
2588else
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2590$as_echo "no" >&6; }
2591fi
2592
2593
2594fi
2595if test -z "$ac_cv_prog_STRIP"; then
2596 ac_ct_STRIP=$STRIP
2597 # Extract the first word of "strip", so it can be a program name with args.
2598set dummy strip; ac_word=$2
2599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2600$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 2601if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1ea75322
DB
2602 $as_echo_n "(cached) " >&6
2603else
2604 if test -n "$ac_ct_STRIP"; then
2605 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2606else
2607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608for as_dir in $PATH
2609do
2610 IFS=$as_save_IFS
2611 test -z "$as_dir" && as_dir=.
2612 for ac_exec_ext in '' $ac_executable_extensions; do
2613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2614 ac_cv_prog_ac_ct_STRIP="strip"
2615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 break 2
2617 fi
2618done
2619 done
2620IFS=$as_save_IFS
2621
2622fi
2623fi
2624ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2625if test -n "$ac_ct_STRIP"; then
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2627$as_echo "$ac_ct_STRIP" >&6; }
2628else
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2630$as_echo "no" >&6; }
2631fi
2632
2633 if test "x$ac_ct_STRIP" = x; then
2634 STRIP=":"
2635 else
2636 case $cross_compiling:$ac_tool_warned in
2637yes:)
2638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2640ac_tool_warned=yes ;;
2641esac
2642 STRIP=$ac_ct_STRIP
2643 fi
2644else
2645 STRIP="$ac_cv_prog_STRIP"
2646fi
2647
2648fi
2649INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2650
2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2652$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2653if test -z "$MKDIR_P"; then
ca14ea2b 2654 if ${ac_cv_path_mkdir+:} false; then :
1ea75322
DB
2655 $as_echo_n "(cached) " >&6
2656else
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2659do
2660 IFS=$as_save_IFS
2661 test -z "$as_dir" && as_dir=.
2662 for ac_prog in mkdir gmkdir; do
2663 for ac_exec_ext in '' $ac_executable_extensions; do
2664 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2665 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2666 'mkdir (GNU coreutils) '* | \
2667 'mkdir (coreutils) '* | \
2668 'mkdir (fileutils) '4.1*)
2669 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2670 break 3;;
2671 esac
2672 done
2673 done
2674 done
2675IFS=$as_save_IFS
2676
6cc5e1a6
DB
2677fi
2678
934ecce5 2679 test -d ./--version && rmdir ./--version
6cc5e1a6
DB
2680 if test "${ac_cv_path_mkdir+set}" = set; then
2681 MKDIR_P="$ac_cv_path_mkdir -p"
2682 else
2683 # As a last resort, use the slow shell script. Don't cache a
2684 # value for MKDIR_P within a source directory, because that will
2685 # break other packages using the cache if that directory is
2686 # removed, or if the value is a relative name.
6cc5e1a6
DB
2687 MKDIR_P="$ac_install_sh -d"
2688 fi
2689fi
1ea75322 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
67aeed17 2691$as_echo "$MKDIR_P" >&6; }
6cc5e1a6
DB
2692
2693mkdir_p="$MKDIR_P"
2694case $mkdir_p in
2695 [\\/$]* | ?:[\\/]*) ;;
2696 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2697esac
2698
2699for ac_prog in gawk mawk nawk awk
2700do
2701 # Extract the first word of "$ac_prog", so it can be a program name with args.
2702set dummy $ac_prog; ac_word=$2
1ea75322 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 2704$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 2705if ${ac_cv_prog_AWK+:} false; then :
67aeed17 2706 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
2707else
2708 if test -n "$AWK"; then
2709 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2710else
2711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2712for as_dir in $PATH
2713do
2714 IFS=$as_save_IFS
2715 test -z "$as_dir" && as_dir=.
1ea75322 2716 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
2717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2718 ac_cv_prog_AWK="$ac_prog"
1ea75322 2719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
2720 break 2
2721 fi
2722done
1ea75322 2723 done
6cc5e1a6
DB
2724IFS=$as_save_IFS
2725
2726fi
2727fi
2728AWK=$ac_cv_prog_AWK
2729if test -n "$AWK"; then
1ea75322 2730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
67aeed17 2731$as_echo "$AWK" >&6; }
6cc5e1a6 2732else
1ea75322 2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 2734$as_echo "no" >&6; }
6cc5e1a6
DB
2735fi
2736
2737
2738 test -n "$AWK" && break
2739done
2740
1ea75322 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
67aeed17
DB
2742$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2743set x ${MAKE-make}
2744ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
ca14ea2b 2745if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
67aeed17 2746 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
2747else
2748 cat >conftest.make <<\_ACEOF
2749SHELL = /bin/sh
2750all:
2751 @echo '@@@%%%=$(MAKE)=@@@%%%'
2752_ACEOF
ca14ea2b 2753# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6cc5e1a6
DB
2754case `${MAKE-make} -f conftest.make 2>/dev/null` in
2755 *@@@%%%=?*=@@@%%%*)
2756 eval ac_cv_prog_make_${ac_make}_set=yes;;
2757 *)
2758 eval ac_cv_prog_make_${ac_make}_set=no;;
2759esac
2760rm -f conftest.make
2761fi
2762if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1ea75322 2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
67aeed17 2764$as_echo "yes" >&6; }
6cc5e1a6
DB
2765 SET_MAKE=
2766else
1ea75322 2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 2768$as_echo "no" >&6; }
6cc5e1a6
DB
2769 SET_MAKE="MAKE=${MAKE-make}"
2770fi
2771
2772rm -rf .tst 2>/dev/null
2773mkdir .tst 2>/dev/null
2774if test -d .tst; then
2775 am__leading_dot=.
2776else
2777 am__leading_dot=_
2778fi
2779rmdir .tst 2>/dev/null
2780
2781if test "`cd $srcdir && pwd`" != "`pwd`"; then
2782 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2783 # is not polluted with repeated "-I."
2784 am__isrc=' -I$(srcdir)'
2785 # test to see if srcdir already configured
2786 if test -f $srcdir/config.status; then
ca14ea2b 2787 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
6cc5e1a6
DB
2788 fi
2789fi
2790
2791# test whether we have cygpath
2792if test -z "$CYGPATH_W"; then
2793 if (cygpath --version) >/dev/null 2>/dev/null; then
2794 CYGPATH_W='cygpath -w'
2795 else
2796 CYGPATH_W=echo
2797 fi
2798fi
2799
2800
2801# Define the identity of the package.
2802 PACKAGE='lxpanel'
f8c25730 2803 VERSION='0.5.9'
6cc5e1a6
DB
2804
2805
2806cat >>confdefs.h <<_ACEOF
2807#define PACKAGE "$PACKAGE"
2808_ACEOF
2809
2810
2811cat >>confdefs.h <<_ACEOF
2812#define VERSION "$VERSION"
2813_ACEOF
2814
2815# Some tools Automake needs.
2816
2817ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2818
2819
2820AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2821
2822
2823AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2824
2825
2826AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2827
2828
2829MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2830
6cc5e1a6
DB
2831# We need awk for the "check" target. The system "awk" is bad on
2832# some platforms.
f8c25730
DB
2833# Always define AMTAR for backward compatibility. Yes, it's still used
2834# in the wild :-( We should find a proper way to deprecate it ...
2835AMTAR='$${TAR-tar}'
6cc5e1a6 2836
f8c25730 2837am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
6cc5e1a6
DB
2838
2839
2840
2841
2842
6cc5e1a6
DB
2843ac_config_headers="$ac_config_headers config.h"
2844
2845
ca14ea2b
DB
2846# Support silent build rules. Disable by either passing --disable-silent-rules
2847# to configure or passing V=1 to make
2848# Check whether --enable-silent-rules was given.
2849if test "${enable_silent_rules+set}" = set; then :
2850 enableval=$enable_silent_rules;
2851fi
2852
2853case $enable_silent_rules in
2854yes) AM_DEFAULT_VERBOSITY=0;;
2855no) AM_DEFAULT_VERBOSITY=1;;
2856*) AM_DEFAULT_VERBOSITY=0;;
2857esac
f8c25730
DB
2858am_make=${MAKE-make}
2859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2860$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2861if ${am_cv_make_support_nested_variables+:} false; then :
2862 $as_echo_n "(cached) " >&6
2863else
2864 if $as_echo 'TRUE=$(BAR$(V))
2865BAR0=false
2866BAR1=true
2867V=1
2868am__doit:
2869 @$(TRUE)
2870.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2871 am_cv_make_support_nested_variables=yes
2872else
2873 am_cv_make_support_nested_variables=no
2874fi
2875fi
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2877$as_echo "$am_cv_make_support_nested_variables" >&6; }
2878if test $am_cv_make_support_nested_variables = yes; then
2879 AM_V='$(V)'
2880 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2881else
2882 AM_V=$AM_DEFAULT_VERBOSITY
2883 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2884fi
ca14ea2b
DB
2885AM_BACKSLASH='\'
2886
2887
6cc5e1a6
DB
2888# Force to dynamic
2889# Check whether --enable-static was given.
1ea75322 2890if test "${enable_static+set}" = set; then :
6cc5e1a6
DB
2891 enableval=$enable_static; p=${PACKAGE-default}
2892 case $enableval in
2893 yes) enable_static=yes ;;
2894 no) enable_static=no ;;
2895 *)
2896 enable_static=no
2897 # Look at the argument we got. We use all the common list separators.
2898 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2899 for pkg in $enableval; do
2900 IFS="$lt_save_ifs"
2901 if test "X$pkg" = "X$p"; then
2902 enable_static=yes
2903 fi
2904 done
2905 IFS="$lt_save_ifs"
2906 ;;
2907 esac
2908else
2909 enable_static=no
2910fi
2911
2912
2913
2914
67aeed17
DB
2915
2916
2917
2918
2919
2920
6cc5e1a6
DB
2921# Checks for programs.
2922ac_ext=c
2923ac_cpp='$CPP $CPPFLAGS'
2924ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2925ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2926ac_compiler_gnu=$ac_cv_c_compiler_gnu
2927if test -n "$ac_tool_prefix"; then
2928 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2929set dummy ${ac_tool_prefix}gcc; ac_word=$2
1ea75322 2930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 2931$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 2932if ${ac_cv_prog_CC+:} false; then :
67aeed17 2933 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
2934else
2935 if test -n "$CC"; then
2936 ac_cv_prog_CC="$CC" # Let the user override the test.
2937else
2938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939for as_dir in $PATH
2940do
2941 IFS=$as_save_IFS
2942 test -z "$as_dir" && as_dir=.
1ea75322 2943 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
2944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2945 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1ea75322 2946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
2947 break 2
2948 fi
2949done
1ea75322 2950 done
6cc5e1a6
DB
2951IFS=$as_save_IFS
2952
2953fi
2954fi
2955CC=$ac_cv_prog_CC
2956if test -n "$CC"; then
1ea75322 2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
67aeed17 2958$as_echo "$CC" >&6; }
6cc5e1a6 2959else
1ea75322 2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 2961$as_echo "no" >&6; }
6cc5e1a6
DB
2962fi
2963
2964
2965fi
2966if test -z "$ac_cv_prog_CC"; then
2967 ac_ct_CC=$CC
2968 # Extract the first word of "gcc", so it can be a program name with args.
2969set dummy gcc; ac_word=$2
1ea75322 2970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 2971$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 2972if ${ac_cv_prog_ac_ct_CC+:} false; then :
67aeed17 2973 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
2974else
2975 if test -n "$ac_ct_CC"; then
2976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2977else
2978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979for as_dir in $PATH
2980do
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
1ea75322 2983 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
2984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2985 ac_cv_prog_ac_ct_CC="gcc"
1ea75322 2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
2987 break 2
2988 fi
2989done
1ea75322 2990 done
6cc5e1a6
DB
2991IFS=$as_save_IFS
2992
2993fi
2994fi
2995ac_ct_CC=$ac_cv_prog_ac_ct_CC
2996if test -n "$ac_ct_CC"; then
1ea75322 2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
67aeed17 2998$as_echo "$ac_ct_CC" >&6; }
6cc5e1a6 2999else
1ea75322 3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 3001$as_echo "no" >&6; }
6cc5e1a6
DB
3002fi
3003
3004 if test "x$ac_ct_CC" = x; then
3005 CC=""
3006 else
3007 case $cross_compiling:$ac_tool_warned in
3008yes:)
1ea75322 3009{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10862fa6 3010$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6cc5e1a6
DB
3011ac_tool_warned=yes ;;
3012esac
3013 CC=$ac_ct_CC
3014 fi
3015else
3016 CC="$ac_cv_prog_CC"
3017fi
3018
3019if test -z "$CC"; then
3020 if test -n "$ac_tool_prefix"; then
3021 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3022set dummy ${ac_tool_prefix}cc; ac_word=$2
1ea75322 3023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 3024$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 3025if ${ac_cv_prog_CC+:} false; then :
67aeed17 3026 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
3027else
3028 if test -n "$CC"; then
3029 ac_cv_prog_CC="$CC" # Let the user override the test.
3030else
3031as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032for as_dir in $PATH
3033do
3034 IFS=$as_save_IFS
3035 test -z "$as_dir" && as_dir=.
1ea75322 3036 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
3037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3038 ac_cv_prog_CC="${ac_tool_prefix}cc"
1ea75322 3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
3040 break 2
3041 fi
3042done
1ea75322 3043 done
6cc5e1a6
DB
3044IFS=$as_save_IFS
3045
3046fi
3047fi
3048CC=$ac_cv_prog_CC
3049if test -n "$CC"; then
1ea75322 3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
67aeed17 3051$as_echo "$CC" >&6; }
6cc5e1a6 3052else
1ea75322 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 3054$as_echo "no" >&6; }
6cc5e1a6
DB
3055fi
3056
3057
3058 fi
3059fi
3060if test -z "$CC"; then
3061 # Extract the first word of "cc", so it can be a program name with args.
3062set dummy cc; ac_word=$2
1ea75322 3063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 3064$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 3065if ${ac_cv_prog_CC+:} false; then :
67aeed17 3066 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
3067else
3068 if test -n "$CC"; then
3069 ac_cv_prog_CC="$CC" # Let the user override the test.
3070else
3071 ac_prog_rejected=no
3072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073for as_dir in $PATH
3074do
3075 IFS=$as_save_IFS
3076 test -z "$as_dir" && as_dir=.
1ea75322 3077 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
3078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3080 ac_prog_rejected=yes
3081 continue
3082 fi
3083 ac_cv_prog_CC="cc"
1ea75322 3084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
3085 break 2
3086 fi
3087done
1ea75322 3088 done
6cc5e1a6
DB
3089IFS=$as_save_IFS
3090
3091if test $ac_prog_rejected = yes; then
3092 # We found a bogon in the path, so make sure we never use it.
3093 set dummy $ac_cv_prog_CC
3094 shift
3095 if test $# != 0; then
3096 # We chose a different compiler from the bogus one.
3097 # However, it has the same basename, so the bogon will be chosen
3098 # first if we set CC to just the basename; use the full file name.
3099 shift
3100 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3101 fi
3102fi
3103fi
3104fi
3105CC=$ac_cv_prog_CC
3106if test -n "$CC"; then
1ea75322 3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
67aeed17 3108$as_echo "$CC" >&6; }
6cc5e1a6 3109else
1ea75322 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 3111$as_echo "no" >&6; }
6cc5e1a6
DB
3112fi
3113
3114
3115fi
3116if test -z "$CC"; then
3117 if test -n "$ac_tool_prefix"; then
3118 for ac_prog in cl.exe
3119 do
3120 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3121set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1ea75322 3122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 3123$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 3124if ${ac_cv_prog_CC+:} false; then :
67aeed17 3125 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
3126else
3127 if test -n "$CC"; then
3128 ac_cv_prog_CC="$CC" # Let the user override the test.
3129else
3130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131for as_dir in $PATH
3132do
3133 IFS=$as_save_IFS
3134 test -z "$as_dir" && as_dir=.
1ea75322 3135 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
3136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3137 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1ea75322 3138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
3139 break 2
3140 fi
3141done
1ea75322 3142 done
6cc5e1a6
DB
3143IFS=$as_save_IFS
3144
3145fi
3146fi
3147CC=$ac_cv_prog_CC
3148if test -n "$CC"; then
1ea75322 3149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
67aeed17 3150$as_echo "$CC" >&6; }
6cc5e1a6 3151else
1ea75322 3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 3153$as_echo "no" >&6; }
6cc5e1a6
DB
3154fi
3155
3156
3157 test -n "$CC" && break
3158 done
3159fi
3160if test -z "$CC"; then
3161 ac_ct_CC=$CC
3162 for ac_prog in cl.exe
3163do
3164 # Extract the first word of "$ac_prog", so it can be a program name with args.
3165set dummy $ac_prog; ac_word=$2
1ea75322 3166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67aeed17 3167$as_echo_n "checking for $ac_word... " >&6; }
ca14ea2b 3168if ${ac_cv_prog_ac_ct_CC+:} false; then :
67aeed17 3169 $as_echo_n "(cached) " >&6
6cc5e1a6
DB
3170else
3171 if test -n "$ac_ct_CC"; then
3172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3173else
3174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175for as_dir in $PATH
3176do
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
1ea75322 3179 for ac_exec_ext in '' $ac_executable_extensions; do
6cc5e1a6
DB
3180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3181 ac_cv_prog_ac_ct_CC="$ac_prog"
1ea75322 3182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6cc5e1a6
DB
3183 break 2
3184 fi
3185done
1ea75322 3186 done
6cc5e1a6
DB
3187IFS=$as_save_IFS
3188
3189fi
3190fi
3191ac_ct_CC=$ac_cv_prog_ac_ct_CC
3192if test -n "$ac_ct_CC"; then
1ea75322 3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
67aeed17 3194$as_echo "$ac_ct_CC" >&6; }
6cc5e1a6 3195else
1ea75322 3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67aeed17 3197$as_echo "no" >&6; }
6cc5e1a6
DB
3198fi
3199
3200
3201 test -n "$ac_ct_CC" && break
3202done
3203
3204 if test "x$ac_ct_CC" = x; then
3205 CC=""
3206 else
3207 case $cross_compiling:$ac_tool_warned in
3208yes:)
1ea75322 3209{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10862fa6 3210$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6cc5e1a6
DB
3211ac_tool_warned=yes ;;
3212esac
3213 CC=$ac_ct_CC
3214 fi
3215fi
3216
3217fi
3218
3219
1ea75322 3220test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10862fa6 3221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ca14ea2b
DB
3222as_fn_error $? "no acceptable C compiler found in \$PATH
3223See \`config.log' for more details" "$LINENO" 5; }
6cc5e1a6
DB
3224
3225# Provide some information about the compiler.
1ea75322 3226$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
67aeed17
DB
3227set X $ac_compile
3228ac_compiler=$2
1ea75322
DB
3229for ac_option in --version -v -V -qversion; do
3230 { { ac_try="$ac_compiler $ac_option >&5"
6cc5e1a6
DB
3231case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234esac
1ea75322
DB
3235eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236$as_echo "$ac_try_echo"; } >&5
3237 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
6cc5e1a6 3238 ac_status=$?
1ea75322
DB
3239 if test -s conftest.err; then
3240 sed '10a\
3241... rest of stderr output deleted ...
3242 10q' conftest.err >conftest.er1
3243 cat conftest.er1 >&5
1ea75322 3244 fi
934ecce5 3245 rm -f conftest.er1 conftest.err
1ea75322
DB
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }
3248done
6cc5e1a6 3249
1ea75322 3250cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6cc5e1a6 3251/* end confdefs.h. */
934ecce5 3252
6cc5e1a6
DB
3253int
3254main ()
3255{
3256
3257 ;
3258 return 0;
3259}
3260_ACEOF
3261ac_clean_files_save=$ac_clean_files
934ecce5 3262ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
6cc5e1a6
DB
3263# Try to create an executable without -o first, disregard a.out.
3264# It will help us diagnose broken compilers, and finding out an intuition
3265# of exeext.
934ecce5
DB
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3267$as_echo_n "checking whether the C compiler works... " >&6; }
67aeed17
DB
3268ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3269
3270# The possible output files:
3271ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3272
6cc5e1a6
DB
3273ac_rmfiles=
3274for ac_file in $ac_files
3275do
3276 case $ac_file in
67aeed17 3277 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6cc5e1a6
DB
3278 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3279 esac
3280done
3281rm -f $ac_rmfiles
3282
1ea75322 3283if { { ac_try="$ac_link_default"
6cc5e1a6
DB
3284case "(($ac_try" in
3285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3287esac
1ea75322
DB
3288eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289$as_echo "$ac_try_echo"; } >&5
6cc5e1a6
DB
3290 (eval "$ac_link_default") 2>&5
3291 ac_status=$?
1ea75322
DB
3292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3293 test $ac_status = 0; }; then :
6cc5e1a6
DB
3294 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3295# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3296# in a Makefile. We should not override ac_cv_exeext if it was cached,
3297# so that the user can short-circuit this test for compilers unknown to
3298# Autoconf.
3299for ac_file in $ac_files ''
3300do
3301 test -f "$ac_file" || continue
3302 case $ac_file in
67aeed17 3303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
6cc5e1a6
DB
3304 ;;
3305 [ab].out )
3306 # We found the default executable, but exeext='' is most
3307 # certainly right.
3308 break;;
3309 *.* )
1ea75322 3310 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
6cc5e1a6
DB
3311 then :; else
3312 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3313 fi
3314 # We set ac_cv_exeext here because the later test for it is not
3315 # safe: cross compilers may not add the suffix if given an `-o'
3316 # argument, so we may need to know it at that point already.
3317 # Even if this section looks crufty: it has the advantage of
3318 # actually working.
3319 break;;
3320 * )
3321 break;;
3322 esac
3323done
3324test "$ac_cv_exeext" = no && ac_cv_exeext=
3325
3326else
3327 ac_file=''
3328fi
1ea75322 3329if test -z "$ac_file"; then :
934ecce5
DB
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3331$as_echo "no" >&6; }
3332$as_echo "$as_me: failed program was:" >&5
6cc5e1a6
DB
3333sed 's/^/| /' conftest.$ac_ext >&5
3334
1ea75322 3335{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10862fa6 3336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ca14ea2b
DB
3337as_fn_error 77 "C compiler cannot create executables
3338See \`config.log' for more details" "$LINENO" 5; }
934ecce5
DB
3339else
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3341$as_echo "yes" >&6; }
6cc5e1a6 3342fi
934ecce5
DB
3343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3344$as_echo_n "checking for C compiler default output file name... " >&6; }
3345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3346$as_echo "$ac_file" >&6; }
6cc5e1a6
DB
3347ac_exeext=$ac_cv_exeext
3348
934ecce5 3349rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
6cc5e1a6 3350ac_clean_files=$ac_clean_files_save
1ea75322 3351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
67aeed17 3352$as_echo_n "checking for suffix of executables... " >&6; }
1ea75322 3353if { { ac_try="$ac_link"
6cc5e1a6
DB
3354case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3357esac
1ea75322
DB
3358eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359$as_echo "$ac_try_echo"; } >&5
6cc5e1a6
DB
3360 (eval "$ac_link") 2>&5
3361 ac_status=$?
1ea75322
DB
3362 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363 test $ac_status = 0; }; then :
6cc5e1a6
DB
3364 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3365# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3366# work properly (i.e., refer to `conftest.exe'), while it won't with
3367# `rm'.
3368for ac_file in conftest.exe conftest conftest.*; do
3369 test -f "$ac_file" || continue
3370 case $ac_file in
67aeed17 3371 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
6cc5e1a6
DB
3372 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3373 break;;
3374 * ) break;;
3375 esac
3376done
3377else
1ea75322 3378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10862fa6 3379$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ca14ea2b
DB
3380as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3381See \`config.log' for more details" "$LINENO" 5; }
6cc5e1a6 3382fi
934ecce5 3383rm -f conftest conftest$ac_cv_exeext
1ea75322 3384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
67aeed17 3385$as_echo "$ac_cv_exeext" >&6; }
6cc5e1a6
DB
3386
3387rm -f conftest.$ac_ext
3388EXEEXT=$ac_cv_exeext
3389ac_exeext=$EXEEXT
934ecce5
DB
3390cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391/* end confdefs.h. */
3392#include <stdio.h>
3393int
3394main ()
3395{
3396FILE *f = fopen ("conftest.out", "w");
3397 return ferror (f) || fclose (f) != 0;
3398
3399 ;
3400 return 0;
3401}
3402_ACEOF
3403ac_clean_files="$ac_clean_files conftest.out"
3404# Check that the compiler produces executables we can run. If not, either
3405# the compiler is broken, or we cross compile.
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3407$as_echo_n "checking whether we are cross compiling... " >&6; }
3408if test "$cross_compiling" != yes; then
3409 { { ac_try="$ac_link"
3410case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3413esac
3414eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3415$as_echo "$ac_try_echo"; } >&5
3416 (eval "$ac_link") 2>&5
3417 ac_status=$?
3418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3419 test $ac_status = 0; }
3420 if { ac_try='./conftest$ac_cv_exeext'
3421 { { case "(($ac_try" in
3422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423 *) ac_try_echo=$ac_try;;
3424esac
3425eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426$as_echo "$ac_try_echo"; } >&5
3427 (eval "$ac_try") 2>&5
3428 ac_status=$?
3429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430 test $ac_status = 0; }; }; then
3431 cross_compiling=no
3432 else
3433 if test "$cross_compiling" = maybe; then
3434 cross_compiling=yes
3435 else
3436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3437$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
ca14ea2b 3438as_fn_error $? "cannot run C compiled programs.
934ecce5 3439If you meant to cross compile, use \`--host'.
ca14ea2b 3440See \`config.log' for more details" "$LINENO" 5; }
934ecce5
DB
3441 fi
3442 fi
3443fi
3444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3445$as_echo "$cross_compiling" >&6; }
3446
3447rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3448ac_clean_files=$ac_clean_files_save
1ea75322 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
67aeed17 3450$as_echo_n "checking for suffix of object files... " >&6; }
ca14ea2b 3451if ${ac_cv_objext+:} false; then :
67aeed17 3452 $as_echo_n "(cached) " >&6
6cc5e1a6 3453else
1ea75322 3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6cc5e1a6
DB
3455/* end confdefs.h. */
3456
3457int
3458main ()
3459{
3460
3461 ;
3462 return 0;
3463}
3464_ACEOF
3465rm -f conftest.o conftest.obj
1ea75322 3466if { { ac_try="$ac_compile"
6cc5e1a6
DB
3467case "(($ac_try" in
3468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3469 *) ac_try_echo=$ac_try;;
3470esac
1ea75322
DB
3471eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3472$as_echo "$ac_try_echo"; } >&5
6cc5e1a6
DB
3473 (eval "$ac_compile") 2>&5
3474 ac_status=$?
1ea75322
DB
3475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3476 test $ac_status = 0; }; then :
6cc5e1a6
DB
3477 for ac_file in conftest.o conftest.obj conftest.*; do
3478 test -f "$ac_file" || continue;
3479 case $ac_file in
67aeed17 3480 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
6cc5e1a6
DB
3481 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3482 break;;
3483 esac
3484done
3485else
67aeed17 3486 $as_echo "$as_me: failed program was:" >&5
6cc5e1a6
DB
3487sed 's/^/| /' conftest.$ac_ext >&5
3488
1ea75322 3489{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5