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