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