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