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