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