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