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