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