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