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