"Fossies" - the Fresh Open Source Software Archive 
Member "dehtml-1.8/configure" (11 Jan 2011, 146370 Bytes) of package /linux/www/old/dehtml-1.8.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 case $0 in #((
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97 IFS=$as_save_IFS
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100 done
101 IFS=$as_save_IFS
102
103 ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108 as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112 exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 emulate sh
139 NULLCMD=:
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 setopt NO_GLOB_SUBST
144 else
145 case \`(set -o) 2>/dev/null\` in #(
146 *posix*) :
147 set -o posix ;; #(
148 *) :
149 ;;
150 esac
151 fi
152 "
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167 exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 do
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
191 /*)
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
200 fi
201 fi
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
211
212
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 BASH_ENV=/dev/null
218 ENV=/dev/null
219 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 export CONFIG_SHELL
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 fi
223
224 if test x$as_have_required = xno; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x${ZSH_VERSION+set} = xset ; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 else
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
235 fi
236 exit 1
237 fi
238 fi
239 fi
240 SHELL=${CONFIG_SHELL-/bin/sh}
241 export SHELL
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE= GREP_OPTIONS=
244 unset CLICOLOR_FORCE GREP_OPTIONS
245
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
249 # as_fn_unset VAR
250 # ---------------
251 # Portably unset VAR.
252 as_fn_unset ()
253 {
254 { eval $1=; unset $1;}
255 }
256 as_unset=as_fn_unset
257
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
261 as_fn_set_status ()
262 {
263 return $1
264 } # as_fn_set_status
265
266 # as_fn_exit STATUS
267 # -----------------
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269 as_fn_exit ()
270 {
271 set +e
272 as_fn_set_status $1
273 exit $1
274 } # as_fn_exit
275
276 # as_fn_mkdir_p
277 # -------------
278 # Create "$as_dir" as a directory, including parents if necessary.
279 as_fn_mkdir_p ()
280 {
281
282 case $as_dir in #(
283 -*) as_dir=./$as_dir;;
284 esac
285 test -d "$as_dir" || eval $as_mkdir_p || {
286 as_dirs=
287 while :; do
288 case $as_dir in #(
289 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 *) as_qdir=$as_dir;;
291 esac
292 as_dirs="'$as_qdir' $as_dirs"
293 as_dir=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300 s//\1/
301 q
302 }
303 /^X\(\/\/\)[^/].*/{
304 s//\1/
305 q
306 }
307 /^X\(\/\/\)$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\).*/{
312 s//\1/
313 q
314 }
315 s/.*/./; q'`
316 test -d "$as_dir" && break
317 done
318 test -z "$as_dirs" || eval "mkdir $as_dirs"
319 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320
321
322 } # as_fn_mkdir_p
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
328 # implementations.
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330 eval 'as_fn_append ()
331 {
332 eval $1+=\$2
333 }'
334 else
335 as_fn_append ()
336 {
337 eval $1=\$$1\$2
338 }
339 fi # as_fn_append
340
341 # as_fn_arith ARG...
342 # ------------------
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347 eval 'as_fn_arith ()
348 {
349 as_val=$(( $* ))
350 }'
351 else
352 as_fn_arith ()
353 {
354 as_val=`expr "$@" || test $? -eq 1`
355 }
356 fi # as_fn_arith
357
358
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
364 as_fn_error ()
365 {
366 as_status=$?; test $as_status -eq 0 && as_status=1
367 if test "$3"; then
368 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 fi
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit $as_status
373 } # as_fn_error
374
375 if expr a : '\(a\)' >/dev/null 2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001; then
377 as_expr=expr
378 else
379 as_expr=false
380 fi
381
382 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383 as_basename=basename
384 else
385 as_basename=false
386 fi
387
388 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389 as_dirname=dirname
390 else
391 as_dirname=false
392 fi
393
394 as_me=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 $as_echo X/"$0" |
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
400 s//\1/
401 q
402 }
403 /^X\/\(\/\/\)$/{
404 s//\1/
405 q
406 }
407 /^X\/\(\/\).*/{
408 s//\1/
409 q
410 }
411 s/.*/./; q'`
412
413 # Avoid depending upon Character Ranges.
414 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits='0123456789'
418 as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421 as_lineno_1=$LINENO as_lineno_1a=$LINENO
422 as_lineno_2=$LINENO as_lineno_2a=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
426 sed -n '
427 p
428 /[$]LINENO/=
429 ' <$as_myself |
430 sed '
431 s/[$]LINENO.*/&-/
432 t lineno
433 b
434 :lineno
435 N
436 :loop
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 t loop
439 s/-\n.*//
440 ' >$as_me.lineno &&
441 chmod +x "$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
447 . "./$as_me.lineno"
448 # Exit status is that of the last command.
449 exit
450 }
451
452 ECHO_C= ECHO_N= ECHO_T=
453 case `echo -n x` in #(((((
454 -n*)
455 case `echo 'xy\c'` in
456 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 xy) ECHO_C='\c';;
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
459 ECHO_T=' ';;
460 esac;;
461 *)
462 ECHO_N='-n';;
463 esac
464
465 rm -f conf$$ conf$$.exe conf$$.file
466 if test -d conf$$.dir; then
467 rm -f conf$$.dir/conf$$.file
468 else
469 rm -f conf$$.dir
470 mkdir conf$$.dir 2>/dev/null
471 fi
472 if (echo >conf$$.file) 2>/dev/null; then
473 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 as_ln_s='ln -s'
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 as_ln_s='cp -p'
481 elif ln conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s=ln
483 else
484 as_ln_s='cp -p'
485 fi
486 else
487 as_ln_s='cp -p'
488 fi
489 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490 rmdir conf$$.dir 2>/dev/null
491
492 if mkdir -p . 2>/dev/null; then
493 as_mkdir_p='mkdir -p "$as_dir"'
494 else
495 test -d ./-p && rmdir ./-p
496 as_mkdir_p=false
497 fi
498
499 if test -x / >/dev/null 2>&1; then
500 as_test_x='test -x'
501 else
502 if ls -dL / >/dev/null 2>&1; then
503 as_ls_L_option=L
504 else
505 as_ls_L_option=
506 fi
507 as_test_x='
508 eval sh -c '\''
509 if test -d "$1"; then
510 test -d "$1/.";
511 else
512 case $1 in #(
513 -*)set "./$1";;
514 esac;
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
517 '\'' sh
518 '
519 fi
520 as_executable_p=$as_test_x
521
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529 test -n "$DJDIR" || exec 7<&0 </dev/null
530 exec 6>&1
531
532 # Name of the host.
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537 #
538 # Initializations.
539 #
540 ac_default_prefix=/usr/local
541 ac_clean_files=
542 ac_config_libobj_dir=.
543 LIBOBJS=
544 cross_compiling=no
545 subdirs=
546 MFLAGS=
547 MAKEFLAGS=
548
549 # Identity of this package.
550 PACKAGE_NAME=
551 PACKAGE_TARNAME=
552 PACKAGE_VERSION=
553 PACKAGE_STRING=
554 PACKAGE_BUGREPORT=
555 PACKAGE_URL=
556
557 ac_unique_file="dehtml.c"
558 # Factoring default headers for most tests.
559 ac_includes_default="\
560 #include <stdio.h>
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
563 #endif
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
566 #endif
567 #ifdef STDC_HEADERS
568 # include <stdlib.h>
569 # include <stddef.h>
570 #else
571 # ifdef HAVE_STDLIB_H
572 # include <stdlib.h>
573 # endif
574 #endif
575 #ifdef HAVE_STRING_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
577 # include <memory.h>
578 # endif
579 # include <string.h>
580 #endif
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
583 #endif
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
586 #endif
587 #ifdef HAVE_STDINT_H
588 # include <stdint.h>
589 #endif
590 #ifdef HAVE_UNISTD_H
591 # include <unistd.h>
592 #endif"
593
594 ac_subst_vars='LTLIBOBJS
595 LIBOBJS
596 USE_NLS
597 UPDATED_DE
598 UPDATED_EN
599 VERSION
600 EGREP
601 GREP
602 CPP
603 MSGFMT
604 INSTALL_DATA
605 INSTALL_SCRIPT
606 INSTALL_PROGRAM
607 OBJEXT
608 EXEEXT
609 ac_ct_CC
610 CPPFLAGS
611 LDFLAGS
612 CFLAGS
613 CC
614 host_os
615 host_vendor
616 host_cpu
617 host
618 build_os
619 build_vendor
620 build_cpu
621 build
622 target_alias
623 host_alias
624 build_alias
625 LIBS
626 ECHO_T
627 ECHO_N
628 ECHO_C
629 DEFS
630 mandir
631 localedir
632 libdir
633 psdir
634 pdfdir
635 dvidir
636 htmldir
637 infodir
638 docdir
639 oldincludedir
640 includedir
641 localstatedir
642 sharedstatedir
643 sysconfdir
644 datadir
645 datarootdir
646 libexecdir
647 sbindir
648 bindir
649 program_transform_name
650 prefix
651 exec_prefix
652 PACKAGE_URL
653 PACKAGE_BUGREPORT
654 PACKAGE_STRING
655 PACKAGE_VERSION
656 PACKAGE_TARNAME
657 PACKAGE_NAME
658 PATH_SEPARATOR
659 SHELL'
660 ac_subst_files=''
661 ac_user_opts='
662 enable_option_checking
663 enable_largefile
664 '
665 ac_precious_vars='build_alias
666 host_alias
667 target_alias
668 CC
669 CFLAGS
670 LDFLAGS
671 LIBS
672 CPPFLAGS
673 CPP'
674
675
676 # Initialize some variables set by options.
677 ac_init_help=
678 ac_init_version=false
679 ac_unrecognized_opts=
680 ac_unrecognized_sep=
681 # The variables have the same names as the options, with
682 # dashes changed to underlines.
683 cache_file=/dev/null
684 exec_prefix=NONE
685 no_create=
686 no_recursion=
687 prefix=NONE
688 program_prefix=NONE
689 program_suffix=NONE
690 program_transform_name=s,x,x,
691 silent=
692 site=
693 srcdir=
694 verbose=
695 x_includes=NONE
696 x_libraries=NONE
697
698 # Installation directory options.
699 # These are left unexpanded so users can "make install exec_prefix=/foo"
700 # and all the variables that are supposed to be based on exec_prefix
701 # by default will actually change.
702 # Use braces instead of parens because sh, perl, etc. also accept them.
703 # (The list follows the same order as the GNU Coding Standards.)
704 bindir='${exec_prefix}/bin'
705 sbindir='${exec_prefix}/sbin'
706 libexecdir='${exec_prefix}/libexec'
707 datarootdir='${prefix}/share'
708 datadir='${datarootdir}'
709 sysconfdir='${prefix}/etc'
710 sharedstatedir='${prefix}/com'
711 localstatedir='${prefix}/var'
712 includedir='${prefix}/include'
713 oldincludedir='/usr/include'
714 docdir='${datarootdir}/doc/${PACKAGE}'
715 infodir='${datarootdir}/info'
716 htmldir='${docdir}'
717 dvidir='${docdir}'
718 pdfdir='${docdir}'
719 psdir='${docdir}'
720 libdir='${exec_prefix}/lib'
721 localedir='${datarootdir}/locale'
722 mandir='${datarootdir}/man'
723
724 ac_prev=
725 ac_dashdash=
726 for ac_option
727 do
728 # If the previous option needs an argument, assign it.
729 if test -n "$ac_prev"; then
730 eval $ac_prev=\$ac_option
731 ac_prev=
732 continue
733 fi
734
735 case $ac_option in
736 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
737 *) ac_optarg=yes ;;
738 esac
739
740 # Accept the important Cygnus configure options, so we can diagnose typos.
741
742 case $ac_dashdash$ac_option in
743 --)
744 ac_dashdash=yes ;;
745
746 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 ac_prev=bindir ;;
748 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 bindir=$ac_optarg ;;
750
751 -build | --build | --buil | --bui | --bu)
752 ac_prev=build_alias ;;
753 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
754 build_alias=$ac_optarg ;;
755
756 -cache-file | --cache-file | --cache-fil | --cache-fi \
757 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
758 ac_prev=cache_file ;;
759 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
760 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
761 cache_file=$ac_optarg ;;
762
763 --config-cache | -C)
764 cache_file=config.cache ;;
765
766 -datadir | --datadir | --datadi | --datad)
767 ac_prev=datadir ;;
768 -datadir=* | --datadir=* | --datadi=* | --datad=*)
769 datadir=$ac_optarg ;;
770
771 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
772 | --dataroo | --dataro | --datar)
773 ac_prev=datarootdir ;;
774 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
775 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
776 datarootdir=$ac_optarg ;;
777
778 -disable-* | --disable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782 as_fn_error "invalid feature name: $ac_useropt"
783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
786 *"
787 "enable_$ac_useropt"
788 "*) ;;
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
791 esac
792 eval enable_$ac_useropt=no ;;
793
794 -docdir | --docdir | --docdi | --doc | --do)
795 ac_prev=docdir ;;
796 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 docdir=$ac_optarg ;;
798
799 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 ac_prev=dvidir ;;
801 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 dvidir=$ac_optarg ;;
803
804 -enable-* | --enable-*)
805 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
806 # Reject names that are not valid shell variable names.
807 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
808 as_fn_error "invalid feature name: $ac_useropt"
809 ac_useropt_orig=$ac_useropt
810 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
811 case $ac_user_opts in
812 *"
813 "enable_$ac_useropt"
814 "*) ;;
815 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
816 ac_unrecognized_sep=', ';;
817 esac
818 eval enable_$ac_useropt=\$ac_optarg ;;
819
820 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
821 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
822 | --exec | --exe | --ex)
823 ac_prev=exec_prefix ;;
824 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
825 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
826 | --exec=* | --exe=* | --ex=*)
827 exec_prefix=$ac_optarg ;;
828
829 -gas | --gas | --ga | --g)
830 # Obsolete; use --with-gas.
831 with_gas=yes ;;
832
833 -help | --help | --hel | --he | -h)
834 ac_init_help=long ;;
835 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
836 ac_init_help=recursive ;;
837 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
838 ac_init_help=short ;;
839
840 -host | --host | --hos | --ho)
841 ac_prev=host_alias ;;
842 -host=* | --host=* | --hos=* | --ho=*)
843 host_alias=$ac_optarg ;;
844
845 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 ac_prev=htmldir ;;
847 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 | --ht=*)
849 htmldir=$ac_optarg ;;
850
851 -includedir | --includedir | --includedi | --included | --include \
852 | --includ | --inclu | --incl | --inc)
853 ac_prev=includedir ;;
854 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
855 | --includ=* | --inclu=* | --incl=* | --inc=*)
856 includedir=$ac_optarg ;;
857
858 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 ac_prev=infodir ;;
860 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
861 infodir=$ac_optarg ;;
862
863 -libdir | --libdir | --libdi | --libd)
864 ac_prev=libdir ;;
865 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 libdir=$ac_optarg ;;
867
868 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
869 | --libexe | --libex | --libe)
870 ac_prev=libexecdir ;;
871 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
872 | --libexe=* | --libex=* | --libe=*)
873 libexecdir=$ac_optarg ;;
874
875 -localedir | --localedir | --localedi | --localed | --locale)
876 ac_prev=localedir ;;
877 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
878 localedir=$ac_optarg ;;
879
880 -localstatedir | --localstatedir | --localstatedi | --localstated \
881 | --localstate | --localstat | --localsta | --localst | --locals)
882 ac_prev=localstatedir ;;
883 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
884 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
885 localstatedir=$ac_optarg ;;
886
887 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 ac_prev=mandir ;;
889 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
890 mandir=$ac_optarg ;;
891
892 -nfp | --nfp | --nf)
893 # Obsolete; use --without-fp.
894 with_fp=no ;;
895
896 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
897 | --no-cr | --no-c | -n)
898 no_create=yes ;;
899
900 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
901 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 no_recursion=yes ;;
903
904 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
905 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
906 | --oldin | --oldi | --old | --ol | --o)
907 ac_prev=oldincludedir ;;
908 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
909 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
910 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
911 oldincludedir=$ac_optarg ;;
912
913 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 ac_prev=prefix ;;
915 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 prefix=$ac_optarg ;;
917
918 -program-prefix | --program-prefix | --program-prefi | --program-pref \
919 | --program-pre | --program-pr | --program-p)
920 ac_prev=program_prefix ;;
921 -program-prefix=* | --program-prefix=* | --program-prefi=* \
922 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
923 program_prefix=$ac_optarg ;;
924
925 -program-suffix | --program-suffix | --program-suffi | --program-suff \
926 | --program-suf | --program-su | --program-s)
927 ac_prev=program_suffix ;;
928 -program-suffix=* | --program-suffix=* | --program-suffi=* \
929 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
930 program_suffix=$ac_optarg ;;
931
932 -program-transform-name | --program-transform-name \
933 | --program-transform-nam | --program-transform-na \
934 | --program-transform-n | --program-transform- \
935 | --program-transform | --program-transfor \
936 | --program-transfo | --program-transf \
937 | --program-trans | --program-tran \
938 | --progr-tra | --program-tr | --program-t)
939 ac_prev=program_transform_name ;;
940 -program-transform-name=* | --program-transform-name=* \
941 | --program-transform-nam=* | --program-transform-na=* \
942 | --program-transform-n=* | --program-transform-=* \
943 | --program-transform=* | --program-transfor=* \
944 | --program-transfo=* | --program-transf=* \
945 | --program-trans=* | --program-tran=* \
946 | --progr-tra=* | --program-tr=* | --program-t=*)
947 program_transform_name=$ac_optarg ;;
948
949 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 ac_prev=pdfdir ;;
951 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 pdfdir=$ac_optarg ;;
953
954 -psdir | --psdir | --psdi | --psd | --ps)
955 ac_prev=psdir ;;
956 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 psdir=$ac_optarg ;;
958
959 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
960 | -silent | --silent | --silen | --sile | --sil)
961 silent=yes ;;
962
963 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
964 ac_prev=sbindir ;;
965 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
966 | --sbi=* | --sb=*)
967 sbindir=$ac_optarg ;;
968
969 -sharedstatedir | --sharedstatedir | --sharedstatedi \
970 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
971 | --sharedst | --shareds | --shared | --share | --shar \
972 | --sha | --sh)
973 ac_prev=sharedstatedir ;;
974 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
975 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
976 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
977 | --sha=* | --sh=*)
978 sharedstatedir=$ac_optarg ;;
979
980 -site | --site | --sit)
981 ac_prev=site ;;
982 -site=* | --site=* | --sit=*)
983 site=$ac_optarg ;;
984
985 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
986 ac_prev=srcdir ;;
987 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 srcdir=$ac_optarg ;;
989
990 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
991 | --syscon | --sysco | --sysc | --sys | --sy)
992 ac_prev=sysconfdir ;;
993 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
994 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
995 sysconfdir=$ac_optarg ;;
996
997 -target | --target | --targe | --targ | --tar | --ta | --t)
998 ac_prev=target_alias ;;
999 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1000 target_alias=$ac_optarg ;;
1001
1002 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 verbose=yes ;;
1004
1005 -version | --version | --versio | --versi | --vers | -V)
1006 ac_init_version=: ;;
1007
1008 -with-* | --with-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid package name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1016 *"
1017 "with_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval with_$ac_useropt=\$ac_optarg ;;
1023
1024 -without-* | --without-*)
1025 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1026 # Reject names that are not valid shell variable names.
1027 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1028 as_fn_error "invalid package name: $ac_useropt"
1029 ac_useropt_orig=$ac_useropt
1030 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1031 case $ac_user_opts in
1032 *"
1033 "with_$ac_useropt"
1034 "*) ;;
1035 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1036 ac_unrecognized_sep=', ';;
1037 esac
1038 eval with_$ac_useropt=no ;;
1039
1040 --x)
1041 # Obsolete; use --with-x.
1042 with_x=yes ;;
1043
1044 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1045 | --x-incl | --x-inc | --x-in | --x-i)
1046 ac_prev=x_includes ;;
1047 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1048 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1049 x_includes=$ac_optarg ;;
1050
1051 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1052 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1053 ac_prev=x_libraries ;;
1054 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1055 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1056 x_libraries=$ac_optarg ;;
1057
1058 -*) as_fn_error "unrecognized option: \`$ac_option'
1059 Try \`$0 --help' for more information."
1060 ;;
1061
1062 *=*)
1063 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1064 # Reject names that are not valid shell variable names.
1065 case $ac_envvar in #(
1066 '' | [0-9]* | *[!_$as_cr_alnum]* )
1067 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1068 esac
1069 eval $ac_envvar=\$ac_optarg
1070 export $ac_envvar ;;
1071
1072 *)
1073 # FIXME: should be removed in autoconf 3.0.
1074 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1075 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1076 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1077 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1078 ;;
1079
1080 esac
1081 done
1082
1083 if test -n "$ac_prev"; then
1084 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1085 as_fn_error "missing argument to $ac_option"
1086 fi
1087
1088 if test -n "$ac_unrecognized_opts"; then
1089 case $enable_option_checking in
1090 no) ;;
1091 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1092 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1093 esac
1094 fi
1095
1096 # Check all directory arguments for consistency.
1097 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1098 datadir sysconfdir sharedstatedir localstatedir includedir \
1099 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1100 libdir localedir mandir
1101 do
1102 eval ac_val=\$$ac_var
1103 # Remove trailing slashes.
1104 case $ac_val in
1105 */ )
1106 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1107 eval $ac_var=\$ac_val;;
1108 esac
1109 # Be sure to have absolute directory names.
1110 case $ac_val in
1111 [\\/$]* | ?:[\\/]* ) continue;;
1112 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1113 esac
1114 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1115 done
1116
1117 # There might be people who depend on the old broken behavior: `$host'
1118 # used to hold the argument of --host etc.
1119 # FIXME: To remove some day.
1120 build=$build_alias
1121 host=$host_alias
1122 target=$target_alias
1123
1124 # FIXME: To remove some day.
1125 if test "x$host_alias" != x; then
1126 if test "x$build_alias" = x; then
1127 cross_compiling=maybe
1128 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1129 If a cross compiler is detected then cross compile mode will be used." >&2
1130 elif test "x$build_alias" != "x$host_alias"; then
1131 cross_compiling=yes
1132 fi
1133 fi
1134
1135 ac_tool_prefix=
1136 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1137
1138 test "$silent" = yes && exec 6>/dev/null
1139
1140
1141 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1142 ac_ls_di=`ls -di .` &&
1143 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1144 as_fn_error "working directory cannot be determined"
1145 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1146 as_fn_error "pwd does not report name of working directory"
1147
1148
1149 # Find the source files, if location was not specified.
1150 if test -z "$srcdir"; then
1151 ac_srcdir_defaulted=yes
1152 # Try the directory containing this script, then the parent directory.
1153 ac_confdir=`$as_dirname -- "$as_myself" ||
1154 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1155 X"$as_myself" : 'X\(//\)[^/]' \| \
1156 X"$as_myself" : 'X\(//\)$' \| \
1157 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1158 $as_echo X"$as_myself" |
1159 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\/\)[^/].*/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\/\)$/{
1168 s//\1/
1169 q
1170 }
1171 /^X\(\/\).*/{
1172 s//\1/
1173 q
1174 }
1175 s/.*/./; q'`
1176 srcdir=$ac_confdir
1177 if test ! -r "$srcdir/$ac_unique_file"; then
1178 srcdir=..
1179 fi
1180 else
1181 ac_srcdir_defaulted=no
1182 fi
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1184 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1185 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1186 fi
1187 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1188 ac_abs_confdir=`(
1189 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1190 pwd)`
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 srcdir=.
1194 fi
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1198 case $srcdir in
1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200 esac
1201 for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206 done
1207
1208 #
1209 # Report the --help message.
1210 #
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1214 cat <<_ACEOF
1215 \`configure' configures this package to adapt to many kinds of systems.
1216
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1218
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1221
1222 Defaults for the options are specified in brackets.
1223
1224 Configuration:
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1234
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 [PREFIX]
1240
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1245
1246 For better control, use the options below.
1247
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1268 _ACEOF
1269
1270 cat <<\_ACEOF
1271
1272 System types:
1273 --build=BUILD configure for building on BUILD [guessed]
1274 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1275 _ACEOF
1276 fi
1277
1278 if test -n "$ac_init_help"; then
1279
1280 cat <<\_ACEOF
1281
1282 Optional Features:
1283 --disable-option-checking ignore unrecognized --enable/--with options
1284 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1285 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1286 --disable-largefile omit support for large files
1287
1288 Some influential environment variables:
1289 CC C compiler command
1290 CFLAGS C compiler flags
1291 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1292 nonstandard directory <lib dir>
1293 LIBS libraries to pass to the linker, e.g. -l<library>
1294 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1295 you have headers in a nonstandard directory <include dir>
1296 CPP C preprocessor
1297
1298 Use these variables to override the choices made by `configure' or to help
1299 it to find libraries and programs with nonstandard names/locations.
1300
1301 Report bugs to the package provider.
1302 _ACEOF
1303 ac_status=$?
1304 fi
1305
1306 if test "$ac_init_help" = "recursive"; then
1307 # If there are subdirs, report their specific --help.
1308 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1309 test -d "$ac_dir" ||
1310 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1311 continue
1312 ac_builddir=.
1313
1314 case "$ac_dir" in
1315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1316 *)
1317 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1318 # A ".." for each directory in $ac_dir_suffix.
1319 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1320 case $ac_top_builddir_sub in
1321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1323 esac ;;
1324 esac
1325 ac_abs_top_builddir=$ac_pwd
1326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1327 # for backward compatibility:
1328 ac_top_builddir=$ac_top_build_prefix
1329
1330 case $srcdir in
1331 .) # We are building in place.
1332 ac_srcdir=.
1333 ac_top_srcdir=$ac_top_builddir_sub
1334 ac_abs_top_srcdir=$ac_pwd ;;
1335 [\\/]* | ?:[\\/]* ) # Absolute name.
1336 ac_srcdir=$srcdir$ac_dir_suffix;
1337 ac_top_srcdir=$srcdir
1338 ac_abs_top_srcdir=$srcdir ;;
1339 *) # Relative name.
1340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1341 ac_top_srcdir=$ac_top_build_prefix$srcdir
1342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1343 esac
1344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1345
1346 cd "$ac_dir" || { ac_status=$?; continue; }
1347 # Check for guested configure.
1348 if test -f "$ac_srcdir/configure.gnu"; then
1349 echo &&
1350 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1351 elif test -f "$ac_srcdir/configure"; then
1352 echo &&
1353 $SHELL "$ac_srcdir/configure" --help=recursive
1354 else
1355 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1356 fi || ac_status=$?
1357 cd "$ac_pwd" || { ac_status=$?; break; }
1358 done
1359 fi
1360
1361 test -n "$ac_init_help" && exit $ac_status
1362 if $ac_init_version; then
1363 cat <<\_ACEOF
1364 configure
1365 generated by GNU Autoconf 2.65
1366
1367 Copyright (C) 2009 Free Software Foundation, Inc.
1368 This configure script is free software; the Free Software Foundation
1369 gives unlimited permission to copy, distribute and modify it.
1370 _ACEOF
1371 exit
1372 fi
1373
1374 ## ------------------------ ##
1375 ## Autoconf initialization. ##
1376 ## ------------------------ ##
1377
1378 # ac_fn_c_try_compile LINENO
1379 # --------------------------
1380 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1381 ac_fn_c_try_compile ()
1382 {
1383 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1384 rm -f conftest.$ac_objext
1385 if { { ac_try="$ac_compile"
1386 case "(($ac_try" in
1387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1388 *) ac_try_echo=$ac_try;;
1389 esac
1390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1391 $as_echo "$ac_try_echo"; } >&5
1392 (eval "$ac_compile") 2>conftest.err
1393 ac_status=$?
1394 if test -s conftest.err; then
1395 grep -v '^ *+' conftest.err >conftest.er1
1396 cat conftest.er1 >&5
1397 mv -f conftest.er1 conftest.err
1398 fi
1399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1400 test $ac_status = 0; } && {
1401 test -z "$ac_c_werror_flag" ||
1402 test ! -s conftest.err
1403 } && test -s conftest.$ac_objext; then :
1404 ac_retval=0
1405 else
1406 $as_echo "$as_me: failed program was:" >&5
1407 sed 's/^/| /' conftest.$ac_ext >&5
1408
1409 ac_retval=1
1410 fi
1411 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1412 as_fn_set_status $ac_retval
1413
1414 } # ac_fn_c_try_compile
1415
1416 # ac_fn_c_try_cpp LINENO
1417 # ----------------------
1418 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1419 ac_fn_c_try_cpp ()
1420 {
1421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1422 if { { ac_try="$ac_cpp conftest.$ac_ext"
1423 case "(($ac_try" in
1424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1425 *) ac_try_echo=$ac_try;;
1426 esac
1427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1428 $as_echo "$ac_try_echo"; } >&5
1429 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1430 ac_status=$?
1431 if test -s conftest.err; then
1432 grep -v '^ *+' conftest.err >conftest.er1
1433 cat conftest.er1 >&5
1434 mv -f conftest.er1 conftest.err
1435 fi
1436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1437 test $ac_status = 0; } >/dev/null && {
1438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1439 test ! -s conftest.err
1440 }; then :
1441 ac_retval=0
1442 else
1443 $as_echo "$as_me: failed program was:" >&5
1444 sed 's/^/| /' conftest.$ac_ext >&5
1445
1446 ac_retval=1
1447 fi
1448 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1449 as_fn_set_status $ac_retval
1450
1451 } # ac_fn_c_try_cpp
1452
1453 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1454 # -------------------------------------------------------
1455 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1456 # the include files in INCLUDES and setting the cache variable VAR
1457 # accordingly.
1458 ac_fn_c_check_header_mongrel ()
1459 {
1460 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1461 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1463 $as_echo_n "checking for $2... " >&6; }
1464 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1465 $as_echo_n "(cached) " >&6
1466 fi
1467 eval ac_res=\$$3
1468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1469 $as_echo "$ac_res" >&6; }
1470 else
1471 # Is the header compilable?
1472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1473 $as_echo_n "checking $2 usability... " >&6; }
1474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1475 /* end confdefs.h. */
1476 $4
1477 #include <$2>
1478 _ACEOF
1479 if ac_fn_c_try_compile "$LINENO"; then :
1480 ac_header_compiler=yes
1481 else
1482 ac_header_compiler=no
1483 fi
1484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1486 $as_echo "$ac_header_compiler" >&6; }
1487
1488 # Is the header present?
1489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1490 $as_echo_n "checking $2 presence... " >&6; }
1491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1492 /* end confdefs.h. */
1493 #include <$2>
1494 _ACEOF
1495 if ac_fn_c_try_cpp "$LINENO"; then :
1496 ac_header_preproc=yes
1497 else
1498 ac_header_preproc=no
1499 fi
1500 rm -f conftest.err conftest.$ac_ext
1501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1502 $as_echo "$ac_header_preproc" >&6; }
1503
1504 # So? What about this header?
1505 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1506 yes:no: )
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1508 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1510 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1511 ;;
1512 no:yes:* )
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1514 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1516 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1518 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1520 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1522 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1523 ;;
1524 esac
1525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1526 $as_echo_n "checking for $2... " >&6; }
1527 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1528 $as_echo_n "(cached) " >&6
1529 else
1530 eval "$3=\$ac_header_compiler"
1531 fi
1532 eval ac_res=\$$3
1533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1534 $as_echo "$ac_res" >&6; }
1535 fi
1536 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1537
1538 } # ac_fn_c_check_header_mongrel
1539
1540 # ac_fn_c_try_run LINENO
1541 # ----------------------
1542 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1543 # that executables *can* be run.
1544 ac_fn_c_try_run ()
1545 {
1546 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1547 if { { ac_try="$ac_link"
1548 case "(($ac_try" in
1549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1550 *) ac_try_echo=$ac_try;;
1551 esac
1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1553 $as_echo "$ac_try_echo"; } >&5
1554 (eval "$ac_link") 2>&5
1555 ac_status=$?
1556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1557 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1558 { { case "(($ac_try" in
1559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1560 *) ac_try_echo=$ac_try;;
1561 esac
1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1563 $as_echo "$ac_try_echo"; } >&5
1564 (eval "$ac_try") 2>&5
1565 ac_status=$?
1566 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1567 test $ac_status = 0; }; }; then :
1568 ac_retval=0
1569 else
1570 $as_echo "$as_me: program exited with status $ac_status" >&5
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1573
1574 ac_retval=$ac_status
1575 fi
1576 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1577 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1578 as_fn_set_status $ac_retval
1579
1580 } # ac_fn_c_try_run
1581
1582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1583 # -------------------------------------------------------
1584 # Tests whether HEADER exists and can be compiled using the include files in
1585 # INCLUDES, setting the cache variable VAR accordingly.
1586 ac_fn_c_check_header_compile ()
1587 {
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1590 $as_echo_n "checking for $2... " >&6; }
1591 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1592 $as_echo_n "(cached) " >&6
1593 else
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1596 $4
1597 #include <$2>
1598 _ACEOF
1599 if ac_fn_c_try_compile "$LINENO"; then :
1600 eval "$3=yes"
1601 else
1602 eval "$3=no"
1603 fi
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1605 fi
1606 eval ac_res=\$$3
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1610
1611 } # ac_fn_c_check_header_compile
1612
1613 # ac_fn_c_try_link LINENO
1614 # -----------------------
1615 # Try to link conftest.$ac_ext, and return whether this succeeded.
1616 ac_fn_c_try_link ()
1617 {
1618 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619 rm -f conftest.$ac_objext conftest$ac_exeext
1620 if { { ac_try="$ac_link"
1621 case "(($ac_try" in
1622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623 *) ac_try_echo=$ac_try;;
1624 esac
1625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626 $as_echo "$ac_try_echo"; } >&5
1627 (eval "$ac_link") 2>conftest.err
1628 ac_status=$?
1629 if test -s conftest.err; then
1630 grep -v '^ *+' conftest.err >conftest.er1
1631 cat conftest.er1 >&5
1632 mv -f conftest.er1 conftest.err
1633 fi
1634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635 test $ac_status = 0; } && {
1636 test -z "$ac_c_werror_flag" ||
1637 test ! -s conftest.err
1638 } && test -s conftest$ac_exeext && {
1639 test "$cross_compiling" = yes ||
1640 $as_test_x conftest$ac_exeext
1641 }; then :
1642 ac_retval=0
1643 else
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1646
1647 ac_retval=1
1648 fi
1649 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651 # interfere with the next link command; also delete a directory that is
1652 # left behind by Apple's compiler. We do this before executing the actions.
1653 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1655 as_fn_set_status $ac_retval
1656
1657 } # ac_fn_c_try_link
1658 cat >config.log <<_ACEOF
1659 This file contains any messages produced by compilers while
1660 running configure, to aid debugging if configure makes a mistake.
1661
1662 It was created by $as_me, which was
1663 generated by GNU Autoconf 2.65. Invocation command line was
1664
1665 $ $0 $@
1666
1667 _ACEOF
1668 exec 5>>config.log
1669 {
1670 cat <<_ASUNAME
1671 ## --------- ##
1672 ## Platform. ##
1673 ## --------- ##
1674
1675 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1676 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1677 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1678 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1679 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1680
1681 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1682 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1683
1684 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1685 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1686 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1687 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1688 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1689 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1690 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1691
1692 _ASUNAME
1693
1694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1695 for as_dir in $PATH
1696 do
1697 IFS=$as_save_IFS
1698 test -z "$as_dir" && as_dir=.
1699 $as_echo "PATH: $as_dir"
1700 done
1701 IFS=$as_save_IFS
1702
1703 } >&5
1704
1705 cat >&5 <<_ACEOF
1706
1707
1708 ## ----------- ##
1709 ## Core tests. ##
1710 ## ----------- ##
1711
1712 _ACEOF
1713
1714
1715 # Keep a trace of the command line.
1716 # Strip out --no-create and --no-recursion so they do not pile up.
1717 # Strip out --silent because we don't want to record it for future runs.
1718 # Also quote any args containing shell meta-characters.
1719 # Make two passes to allow for proper duplicate-argument suppression.
1720 ac_configure_args=
1721 ac_configure_args0=
1722 ac_configure_args1=
1723 ac_must_keep_next=false
1724 for ac_pass in 1 2
1725 do
1726 for ac_arg
1727 do
1728 case $ac_arg in
1729 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1731 | -silent | --silent | --silen | --sile | --sil)
1732 continue ;;
1733 *\'*)
1734 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1735 esac
1736 case $ac_pass in
1737 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1738 2)
1739 as_fn_append ac_configure_args1 " '$ac_arg'"
1740 if test $ac_must_keep_next = true; then
1741 ac_must_keep_next=false # Got value, back to normal.
1742 else
1743 case $ac_arg in
1744 *=* | --config-cache | -C | -disable-* | --disable-* \
1745 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1746 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1747 | -with-* | --with-* | -without-* | --without-* | --x)
1748 case "$ac_configure_args0 " in
1749 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1750 esac
1751 ;;
1752 -* ) ac_must_keep_next=true ;;
1753 esac
1754 fi
1755 as_fn_append ac_configure_args " '$ac_arg'"
1756 ;;
1757 esac
1758 done
1759 done
1760 { ac_configure_args0=; unset ac_configure_args0;}
1761 { ac_configure_args1=; unset ac_configure_args1;}
1762
1763 # When interrupted or exit'd, cleanup temporary files, and complete
1764 # config.log. We remove comments because anyway the quotes in there
1765 # would cause problems or look ugly.
1766 # WARNING: Use '\'' to represent an apostrophe within the trap.
1767 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1768 trap 'exit_status=$?
1769 # Save into config.log some information that might help in debugging.
1770 {
1771 echo
1772
1773 cat <<\_ASBOX
1774 ## ---------------- ##
1775 ## Cache variables. ##
1776 ## ---------------- ##
1777 _ASBOX
1778 echo
1779 # The following way of writing the cache mishandles newlines in values,
1780 (
1781 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1782 eval ac_val=\$$ac_var
1783 case $ac_val in #(
1784 *${as_nl}*)
1785 case $ac_var in #(
1786 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1787 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1788 esac
1789 case $ac_var in #(
1790 _ | IFS | as_nl) ;; #(
1791 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1792 *) { eval $ac_var=; unset $ac_var;} ;;
1793 esac ;;
1794 esac
1795 done
1796 (set) 2>&1 |
1797 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1798 *${as_nl}ac_space=\ *)
1799 sed -n \
1800 "s/'\''/'\''\\\\'\'''\''/g;
1801 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1802 ;; #(
1803 *)
1804 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1805 ;;
1806 esac |
1807 sort
1808 )
1809 echo
1810
1811 cat <<\_ASBOX
1812 ## ----------------- ##
1813 ## Output variables. ##
1814 ## ----------------- ##
1815 _ASBOX
1816 echo
1817 for ac_var in $ac_subst_vars
1818 do
1819 eval ac_val=\$$ac_var
1820 case $ac_val in
1821 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1822 esac
1823 $as_echo "$ac_var='\''$ac_val'\''"
1824 done | sort
1825 echo
1826
1827 if test -n "$ac_subst_files"; then
1828 cat <<\_ASBOX
1829 ## ------------------- ##
1830 ## File substitutions. ##
1831 ## ------------------- ##
1832 _ASBOX
1833 echo
1834 for ac_var in $ac_subst_files
1835 do
1836 eval ac_val=\$$ac_var
1837 case $ac_val in
1838 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1839 esac
1840 $as_echo "$ac_var='\''$ac_val'\''"
1841 done | sort
1842 echo
1843 fi
1844
1845 if test -s confdefs.h; then
1846 cat <<\_ASBOX
1847 ## ----------- ##
1848 ## confdefs.h. ##
1849 ## ----------- ##
1850 _ASBOX
1851 echo
1852 cat confdefs.h
1853 echo
1854 fi
1855 test "$ac_signal" != 0 &&
1856 $as_echo "$as_me: caught signal $ac_signal"
1857 $as_echo "$as_me: exit $exit_status"
1858 } >&5
1859 rm -f core *.core core.conftest.* &&
1860 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1861 exit $exit_status
1862 ' 0
1863 for ac_signal in 1 2 13 15; do
1864 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1865 done
1866 ac_signal=0
1867
1868 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1869 rm -f -r conftest* confdefs.h
1870
1871 $as_echo "/* confdefs.h */" > confdefs.h
1872
1873 # Predefined preprocessor variables.
1874
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_NAME "$PACKAGE_NAME"
1877 _ACEOF
1878
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1881 _ACEOF
1882
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1885 _ACEOF
1886
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_STRING "$PACKAGE_STRING"
1889 _ACEOF
1890
1891 cat >>confdefs.h <<_ACEOF
1892 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1893 _ACEOF
1894
1895 cat >>confdefs.h <<_ACEOF
1896 #define PACKAGE_URL "$PACKAGE_URL"
1897 _ACEOF
1898
1899
1900 # Let the site file select an alternate cache file if it wants to.
1901 # Prefer an explicitly selected file to automatically selected ones.
1902 ac_site_file1=NONE
1903 ac_site_file2=NONE
1904 if test -n "$CONFIG_SITE"; then
1905 ac_site_file1=$CONFIG_SITE
1906 elif test "x$prefix" != xNONE; then
1907 ac_site_file1=$prefix/share/config.site
1908 ac_site_file2=$prefix/etc/config.site
1909 else
1910 ac_site_file1=$ac_default_prefix/share/config.site
1911 ac_site_file2=$ac_default_prefix/etc/config.site
1912 fi
1913 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1914 do
1915 test "x$ac_site_file" = xNONE && continue
1916 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1918 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1919 sed 's/^/| /' "$ac_site_file" >&5
1920 . "$ac_site_file"
1921 fi
1922 done
1923
1924 if test -r "$cache_file"; then
1925 # Some versions of bash will fail to source /dev/null (special files
1926 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1927 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1929 $as_echo "$as_me: loading cache $cache_file" >&6;}
1930 case $cache_file in
1931 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1932 *) . "./$cache_file";;
1933 esac
1934 fi
1935 else
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1937 $as_echo "$as_me: creating cache $cache_file" >&6;}
1938 >$cache_file
1939 fi
1940
1941 # Check that the precious variables saved in the cache have kept the same
1942 # value.
1943 ac_cache_corrupted=false
1944 for ac_var in $ac_precious_vars; do
1945 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1946 eval ac_new_set=\$ac_env_${ac_var}_set
1947 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1948 eval ac_new_val=\$ac_env_${ac_var}_value
1949 case $ac_old_set,$ac_new_set in
1950 set,)
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1952 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1953 ac_cache_corrupted=: ;;
1954 ,set)
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1956 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1957 ac_cache_corrupted=: ;;
1958 ,);;
1959 *)
1960 if test "x$ac_old_val" != "x$ac_new_val"; then
1961 # differences in whitespace do not lead to failure.
1962 ac_old_val_w=`echo x $ac_old_val`
1963 ac_new_val_w=`echo x $ac_new_val`
1964 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1966 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1967 ac_cache_corrupted=:
1968 else
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1970 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1971 eval $ac_var=\$ac_old_val
1972 fi
1973 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1974 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1976 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1977 fi;;
1978 esac
1979 # Pass precious variables to config.status.
1980 if test "$ac_new_set" = set; then
1981 case $ac_new_val in
1982 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1983 *) ac_arg=$ac_var=$ac_new_val ;;
1984 esac
1985 case " $ac_configure_args " in
1986 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1987 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1988 esac
1989 fi
1990 done
1991 if $ac_cache_corrupted; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1995 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1996 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1997 fi
1998 ## -------------------- ##
1999 ## Main body of script. ##
2000 ## -------------------- ##
2001
2002 ac_ext=c
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2007
2008
2009 ac_config_headers="$ac_config_headers config.h"
2010
2011 ac_aux_dir=
2012 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2013 for ac_t in install-sh install.sh shtool; do
2014 if test -f "$ac_dir/$ac_t"; then
2015 ac_aux_dir=$ac_dir
2016 ac_install_sh="$ac_aux_dir/$ac_t -c"
2017 break 2
2018 fi
2019 done
2020 done
2021 if test -z "$ac_aux_dir"; then
2022 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2023 fi
2024
2025 # These three variables are undocumented and unsupported,
2026 # and are intended to be withdrawn in a future Autoconf release.
2027 # They can cause serious problems if a builder's source tree is in a directory
2028 # whose full name contains unusual characters.
2029 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2030 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2031 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2032
2033
2034 # Make sure we can run config.sub.
2035 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2036 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2037
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2039 $as_echo_n "checking build system type... " >&6; }
2040 if test "${ac_cv_build+set}" = set; then :
2041 $as_echo_n "(cached) " >&6
2042 else
2043 ac_build_alias=$build_alias
2044 test "x$ac_build_alias" = x &&
2045 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2046 test "x$ac_build_alias" = x &&
2047 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2048 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2049 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2050
2051 fi
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2053 $as_echo "$ac_cv_build" >&6; }
2054 case $ac_cv_build in
2055 *-*-*) ;;
2056 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2057 esac
2058 build=$ac_cv_build
2059 ac_save_IFS=$IFS; IFS='-'
2060 set x $ac_cv_build
2061 shift
2062 build_cpu=$1
2063 build_vendor=$2
2064 shift; shift
2065 # Remember, the first character of IFS is used to create $*,
2066 # except with old shells:
2067 build_os=$*
2068 IFS=$ac_save_IFS
2069 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2070
2071
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2073 $as_echo_n "checking host system type... " >&6; }
2074 if test "${ac_cv_host+set}" = set; then :
2075 $as_echo_n "(cached) " >&6
2076 else
2077 if test "x$host_alias" = x; then
2078 ac_cv_host=$ac_cv_build
2079 else
2080 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2081 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2082 fi
2083
2084 fi
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2086 $as_echo "$ac_cv_host" >&6; }
2087 case $ac_cv_host in
2088 *-*-*) ;;
2089 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2090 esac
2091 host=$ac_cv_host
2092 ac_save_IFS=$IFS; IFS='-'
2093 set x $ac_cv_host
2094 shift
2095 host_cpu=$1
2096 host_vendor=$2
2097 shift; shift
2098 # Remember, the first character of IFS is used to create $*,
2099 # except with old shells:
2100 host_os=$*
2101 IFS=$ac_save_IFS
2102 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2103
2104
2105 VERSION=1.8
2106 UPDATED_EN='January 11, 2011'
2107 UPDATED_DE='11. Januar 2011'
2108
2109 ALL_LINGUAS="de"
2110
2111 if test "$prefix" = NONE
2112 then
2113 case $host in
2114 *-linux-*)
2115 PIPE="-pipe "
2116 ;;
2117 esac
2118 fi
2119
2120 ac_ext=c
2121 ac_cpp='$CPP $CPPFLAGS'
2122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2129 $as_echo_n "checking for $ac_word... " >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then :
2131 $as_echo_n "(cached) " >&6
2132 else
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2135 else
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $PATH
2138 do
2139 IFS=$as_save_IFS
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 break 2
2146 fi
2147 done
2148 done
2149 IFS=$as_save_IFS
2150
2151 fi
2152 fi
2153 CC=$ac_cv_prog_CC
2154 if test -n "$CC"; then
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2156 $as_echo "$CC" >&6; }
2157 else
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159 $as_echo "no" >&6; }
2160 fi
2161
2162
2163 fi
2164 if test -z "$ac_cv_prog_CC"; then
2165 ac_ct_CC=$CC
2166 # Extract the first word of "gcc", so it can be a program name with args.
2167 set dummy gcc; ac_word=$2
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 if test -n "$ac_ct_CC"; then
2174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2175 else
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2178 do
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2183 ac_cv_prog_ac_ct_CC="gcc"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 break 2
2186 fi
2187 done
2188 done
2189 IFS=$as_save_IFS
2190
2191 fi
2192 fi
2193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2194 if test -n "$ac_ct_CC"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2196 $as_echo "$ac_ct_CC" >&6; }
2197 else
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2199 $as_echo "no" >&6; }
2200 fi
2201
2202 if test "x$ac_ct_CC" = x; then
2203 CC=""
2204 else
2205 case $cross_compiling:$ac_tool_warned in
2206 yes:)
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2209 ac_tool_warned=yes ;;
2210 esac
2211 CC=$ac_ct_CC
2212 fi
2213 else
2214 CC="$ac_cv_prog_CC"
2215 fi
2216
2217 if test -z "$CC"; then
2218 if test -n "$ac_tool_prefix"; then
2219 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2220 set dummy ${ac_tool_prefix}cc; ac_word=$2
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2222 $as_echo_n "checking for $ac_word... " >&6; }
2223 if test "${ac_cv_prog_CC+set}" = set; then :
2224 $as_echo_n "(cached) " >&6
2225 else
2226 if test -n "$CC"; then
2227 ac_cv_prog_CC="$CC" # Let the user override the test.
2228 else
2229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 for as_dir in $PATH
2231 do
2232 IFS=$as_save_IFS
2233 test -z "$as_dir" && as_dir=.
2234 for ac_exec_ext in '' $ac_executable_extensions; do
2235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236 ac_cv_prog_CC="${ac_tool_prefix}cc"
2237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 break 2
2239 fi
2240 done
2241 done
2242 IFS=$as_save_IFS
2243
2244 fi
2245 fi
2246 CC=$ac_cv_prog_CC
2247 if test -n "$CC"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2249 $as_echo "$CC" >&6; }
2250 else
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2253 fi
2254
2255
2256 fi
2257 fi
2258 if test -z "$CC"; then
2259 # Extract the first word of "cc", so it can be a program name with args.
2260 set dummy cc; ac_word=$2
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2262 $as_echo_n "checking for $ac_word... " >&6; }
2263 if test "${ac_cv_prog_CC+set}" = set; then :
2264 $as_echo_n "(cached) " >&6
2265 else
2266 if test -n "$CC"; then
2267 ac_cv_prog_CC="$CC" # Let the user override the test.
2268 else
2269 ac_prog_rejected=no
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2272 do
2273 IFS=$as_save_IFS
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2278 ac_prog_rejected=yes
2279 continue
2280 fi
2281 ac_cv_prog_CC="cc"
2282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2283 break 2
2284 fi
2285 done
2286 done
2287 IFS=$as_save_IFS
2288
2289 if test $ac_prog_rejected = yes; then
2290 # We found a bogon in the path, so make sure we never use it.
2291 set dummy $ac_cv_prog_CC
2292 shift
2293 if test $# != 0; then
2294 # We chose a different compiler from the bogus one.
2295 # However, it has the same basename, so the bogon will be chosen
2296 # first if we set CC to just the basename; use the full file name.
2297 shift
2298 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2299 fi
2300 fi
2301 fi
2302 fi
2303 CC=$ac_cv_prog_CC
2304 if test -n "$CC"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2306 $as_echo "$CC" >&6; }
2307 else
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309 $as_echo "no" >&6; }
2310 fi
2311
2312
2313 fi
2314 if test -z "$CC"; then
2315 if test -n "$ac_tool_prefix"; then
2316 for ac_prog in cl.exe
2317 do
2318 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2319 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2321 $as_echo_n "checking for $ac_word... " >&6; }
2322 if test "${ac_cv_prog_CC+set}" = set; then :
2323 $as_echo_n "(cached) " >&6
2324 else
2325 if test -n "$CC"; then
2326 ac_cv_prog_CC="$CC" # Let the user override the test.
2327 else
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 for as_dir in $PATH
2330 do
2331 IFS=$as_save_IFS
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 break 2
2338 fi
2339 done
2340 done
2341 IFS=$as_save_IFS
2342
2343 fi
2344 fi
2345 CC=$ac_cv_prog_CC
2346 if test -n "$CC"; then
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2348 $as_echo "$CC" >&6; }
2349 else
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2352 fi
2353
2354
2355 test -n "$CC" && break
2356 done
2357 fi
2358 if test -z "$CC"; then
2359 ac_ct_CC=$CC
2360 for ac_prog in cl.exe
2361 do
2362 # Extract the first word of "$ac_prog", so it can be a program name with args.
2363 set dummy $ac_prog; ac_word=$2
2364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2365 $as_echo_n "checking for $ac_word... " >&6; }
2366 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2367 $as_echo_n "(cached) " >&6
2368 else
2369 if test -n "$ac_ct_CC"; then
2370 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2371 else
2372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 for as_dir in $PATH
2374 do
2375 IFS=$as_save_IFS
2376 test -z "$as_dir" && as_dir=.
2377 for ac_exec_ext in '' $ac_executable_extensions; do
2378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2379 ac_cv_prog_ac_ct_CC="$ac_prog"
2380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2381 break 2
2382 fi
2383 done
2384 done
2385 IFS=$as_save_IFS
2386
2387 fi
2388 fi
2389 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2390 if test -n "$ac_ct_CC"; then
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2392 $as_echo "$ac_ct_CC" >&6; }
2393 else
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2395 $as_echo "no" >&6; }
2396 fi
2397
2398
2399 test -n "$ac_ct_CC" && break
2400 done
2401
2402 if test "x$ac_ct_CC" = x; then
2403 CC=""
2404 else
2405 case $cross_compiling:$ac_tool_warned in
2406 yes:)
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2408 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2409 ac_tool_warned=yes ;;
2410 esac
2411 CC=$ac_ct_CC
2412 fi
2413 fi
2414
2415 fi
2416
2417
2418 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error "no acceptable C compiler found in \$PATH
2421 See \`config.log' for more details." "$LINENO" 5; }
2422
2423 # Provide some information about the compiler.
2424 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2425 set X $ac_compile
2426 ac_compiler=$2
2427 for ac_option in --version -v -V -qversion; do
2428 { { ac_try="$ac_compiler $ac_option >&5"
2429 case "(($ac_try" in
2430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2431 *) ac_try_echo=$ac_try;;
2432 esac
2433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2434 $as_echo "$ac_try_echo"; } >&5
2435 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2436 ac_status=$?
2437 if test -s conftest.err; then
2438 sed '10a\
2439 ... rest of stderr output deleted ...
2440 10q' conftest.err >conftest.er1
2441 cat conftest.er1 >&5
2442 fi
2443 rm -f conftest.er1 conftest.err
2444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2445 test $ac_status = 0; }
2446 done
2447
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2450
2451 int
2452 main ()
2453 {
2454
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 ac_clean_files_save=$ac_clean_files
2460 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2461 # Try to create an executable without -o first, disregard a.out.
2462 # It will help us diagnose broken compilers, and finding out an intuition
2463 # of exeext.
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2465 $as_echo_n "checking whether the C compiler works... " >&6; }
2466 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2467
2468 # The possible output files:
2469 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2470
2471 ac_rmfiles=
2472 for ac_file in $ac_files
2473 do
2474 case $ac_file in
2475 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2476 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2477 esac
2478 done
2479 rm -f $ac_rmfiles
2480
2481 if { { ac_try="$ac_link_default"
2482 case "(($ac_try" in
2483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2484 *) ac_try_echo=$ac_try;;
2485 esac
2486 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2487 $as_echo "$ac_try_echo"; } >&5
2488 (eval "$ac_link_default") 2>&5
2489 ac_status=$?
2490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2491 test $ac_status = 0; }; then :
2492 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2493 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2494 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2495 # so that the user can short-circuit this test for compilers unknown to
2496 # Autoconf.
2497 for ac_file in $ac_files ''
2498 do
2499 test -f "$ac_file" || continue
2500 case $ac_file in
2501 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2502 ;;
2503 [ab].out )
2504 # We found the default executable, but exeext='' is most
2505 # certainly right.
2506 break;;
2507 *.* )
2508 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2509 then :; else
2510 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2511 fi
2512 # We set ac_cv_exeext here because the later test for it is not
2513 # safe: cross compilers may not add the suffix if given an `-o'
2514 # argument, so we may need to know it at that point already.
2515 # Even if this section looks crufty: it has the advantage of
2516 # actually working.
2517 break;;
2518 * )
2519 break;;
2520 esac
2521 done
2522 test "$ac_cv_exeext" = no && ac_cv_exeext=
2523
2524 else
2525 ac_file=''
2526 fi
2527 if test -z "$ac_file"; then :
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2529 $as_echo "no" >&6; }
2530 $as_echo "$as_me: failed program was:" >&5
2531 sed 's/^/| /' conftest.$ac_ext >&5
2532
2533 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2535 { as_fn_set_status 77
2536 as_fn_error "C compiler cannot create executables
2537 See \`config.log' for more details." "$LINENO" 5; }; }
2538 else
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2540 $as_echo "yes" >&6; }
2541 fi
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2543 $as_echo_n "checking for C compiler default output file name... " >&6; }
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2545 $as_echo "$ac_file" >&6; }
2546 ac_exeext=$ac_cv_exeext
2547
2548 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2549 ac_clean_files=$ac_clean_files_save
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2551 $as_echo_n "checking for suffix of executables... " >&6; }
2552 if { { ac_try="$ac_link"
2553 case "(($ac_try" in
2554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2555 *) ac_try_echo=$ac_try;;
2556 esac
2557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2558 $as_echo "$ac_try_echo"; } >&5
2559 (eval "$ac_link") 2>&5
2560 ac_status=$?
2561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2562 test $ac_status = 0; }; then :
2563 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2564 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2565 # work properly (i.e., refer to `conftest.exe'), while it won't with
2566 # `rm'.
2567 for ac_file in conftest.exe conftest conftest.*; do
2568 test -f "$ac_file" || continue
2569 case $ac_file in
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2571 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2572 break;;
2573 * ) break;;
2574 esac
2575 done
2576 else
2577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 as_fn_error "cannot compute suffix of executables: cannot compile and link
2580 See \`config.log' for more details." "$LINENO" 5; }
2581 fi
2582 rm -f conftest conftest$ac_cv_exeext
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2584 $as_echo "$ac_cv_exeext" >&6; }
2585
2586 rm -f conftest.$ac_ext
2587 EXEEXT=$ac_cv_exeext
2588 ac_exeext=$EXEEXT
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591 #include <stdio.h>
2592 int
2593 main ()
2594 {
2595 FILE *f = fopen ("conftest.out", "w");
2596 return ferror (f) || fclose (f) != 0;
2597
2598 ;
2599 return 0;
2600 }
2601 _ACEOF
2602 ac_clean_files="$ac_clean_files conftest.out"
2603 # Check that the compiler produces executables we can run. If not, either
2604 # the compiler is broken, or we cross compile.
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2606 $as_echo_n "checking whether we are cross compiling... " >&6; }
2607 if test "$cross_compiling" != yes; then
2608 { { ac_try="$ac_link"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2614 $as_echo "$ac_try_echo"; } >&5
2615 (eval "$ac_link") 2>&5
2616 ac_status=$?
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; }
2619 if { ac_try='./conftest$ac_cv_exeext'
2620 { { case "(($ac_try" in
2621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622 *) ac_try_echo=$ac_try;;
2623 esac
2624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2625 $as_echo "$ac_try_echo"; } >&5
2626 (eval "$ac_try") 2>&5
2627 ac_status=$?
2628 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2629 test $ac_status = 0; }; }; then
2630 cross_compiling=no
2631 else
2632 if test "$cross_compiling" = maybe; then
2633 cross_compiling=yes
2634 else
2635 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2636 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637 as_fn_error "cannot run C compiled programs.
2638 If you meant to cross compile, use \`--host'.
2639 See \`config.log' for more details." "$LINENO" 5; }
2640 fi
2641 fi
2642 fi
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2644 $as_echo "$cross_compiling" >&6; }
2645
2646 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2647 ac_clean_files=$ac_clean_files_save
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2649 $as_echo_n "checking for suffix of object files... " >&6; }
2650 if test "${ac_cv_objext+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2655
2656 int
2657 main ()
2658 {
2659
2660 ;
2661 return 0;
2662 }
2663 _ACEOF
2664 rm -f conftest.o conftest.obj
2665 if { { ac_try="$ac_compile"
2666 case "(($ac_try" in
2667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2668 *) ac_try_echo=$ac_try;;
2669 esac
2670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2671 $as_echo "$ac_try_echo"; } >&5
2672 (eval "$ac_compile") 2>&5
2673 ac_status=$?
2674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2675 test $ac_status = 0; }; then :
2676 for ac_file in conftest.o conftest.obj conftest.*; do
2677 test -f "$ac_file" || continue;
2678 case $ac_file in
2679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2680 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2681 break;;
2682 esac
2683 done
2684 else
2685 $as_echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2690 as_fn_error "cannot compute suffix of object files: cannot compile
2691 See \`config.log' for more details." "$LINENO" 5; }
2692 fi
2693 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2694 fi
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2696 $as_echo "$ac_cv_objext" >&6; }
2697 OBJEXT=$ac_cv_objext
2698 ac_objext=$OBJEXT
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2700 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2701 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2702 $as_echo_n "(cached) " >&6
2703 else
2704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2705 /* end confdefs.h. */
2706
2707 int
2708 main ()
2709 {
2710 #ifndef __GNUC__
2711 choke me
2712 #endif
2713
2714 ;
2715 return 0;
2716 }
2717 _ACEOF
2718 if ac_fn_c_try_compile "$LINENO"; then :
2719 ac_compiler_gnu=yes
2720 else
2721 ac_compiler_gnu=no
2722 fi
2723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2724 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2725
2726 fi
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2728 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2729 if test $ac_compiler_gnu = yes; then
2730 GCC=yes
2731 else
2732 GCC=
2733 fi
2734 ac_test_CFLAGS=${CFLAGS+set}
2735 ac_save_CFLAGS=$CFLAGS
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2737 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2738 if test "${ac_cv_prog_cc_g+set}" = set; then :
2739 $as_echo_n "(cached) " >&6
2740 else
2741 ac_save_c_werror_flag=$ac_c_werror_flag
2742 ac_c_werror_flag=yes
2743 ac_cv_prog_cc_g=no
2744 CFLAGS="-g"
2745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2746 /* end confdefs.h. */
2747
2748 int
2749 main ()
2750 {
2751
2752 ;
2753 return 0;
2754 }
2755 _ACEOF
2756 if ac_fn_c_try_compile "$LINENO"; then :
2757 ac_cv_prog_cc_g=yes
2758 else
2759 CFLAGS=""
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2762
2763 int
2764 main ()
2765 {
2766
2767 ;
2768 return 0;
2769 }
2770 _ACEOF
2771 if ac_fn_c_try_compile "$LINENO"; then :
2772
2773 else
2774 ac_c_werror_flag=$ac_save_c_werror_flag
2775 CFLAGS="-g"
2776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2777 /* end confdefs.h. */
2778
2779 int
2780 main ()
2781 {
2782
2783 ;
2784 return 0;
2785 }
2786 _ACEOF
2787 if ac_fn_c_try_compile "$LINENO"; then :
2788 ac_cv_prog_cc_g=yes
2789 fi
2790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2791 fi
2792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2793 fi
2794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2795 ac_c_werror_flag=$ac_save_c_werror_flag
2796 fi
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2798 $as_echo "$ac_cv_prog_cc_g" >&6; }
2799 if test "$ac_test_CFLAGS" = set; then
2800 CFLAGS=$ac_save_CFLAGS
2801 elif test $ac_cv_prog_cc_g = yes; then
2802 if test "$GCC" = yes; then
2803 CFLAGS="-g -O2"
2804 else
2805 CFLAGS="-g"
2806 fi
2807 else
2808 if test "$GCC" = yes; then
2809 CFLAGS="-O2"
2810 else
2811 CFLAGS=
2812 fi
2813 fi
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2815 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2816 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2817 $as_echo_n "(cached) " >&6
2818 else
2819 ac_cv_prog_cc_c89=no
2820 ac_save_CC=$CC
2821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2822 /* end confdefs.h. */
2823 #include <stdarg.h>
2824 #include <stdio.h>
2825 #include <sys/types.h>
2826 #include <sys/stat.h>
2827 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2828 struct buf { int x; };
2829 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2830 static char *e (p, i)
2831 char **p;
2832 int i;
2833 {
2834 return p[i];
2835 }
2836 static char *f (char * (*g) (char **, int), char **p, ...)
2837 {
2838 char *s;
2839 va_list v;
2840 va_start (v,p);
2841 s = g (p, va_arg (v,int));
2842 va_end (v);
2843 return s;
2844 }
2845
2846 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2847 function prototypes and stuff, but not '\xHH' hex character constants.
2848 These don't provoke an error unfortunately, instead are silently treated
2849 as 'x'. The following induces an error, until -std is added to get
2850 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2851 array size at least. It's necessary to write '\x00'==0 to get something
2852 that's true only with -std. */
2853 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2854
2855 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2856 inside strings and character constants. */
2857 #define FOO(x) 'x'
2858 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2859
2860 int test (int i, double x);
2861 struct s1 {int (*f) (int a);};
2862 struct s2 {int (*f) (double a);};
2863 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2864 int argc;
2865 char **argv;
2866 int
2867 main ()
2868 {
2869 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2870 ;
2871 return 0;
2872 }
2873 _ACEOF
2874 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2875 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2876 do
2877 CC="$ac_save_CC $ac_arg"
2878 if ac_fn_c_try_compile "$LINENO"; then :
2879 ac_cv_prog_cc_c89=$ac_arg
2880 fi
2881 rm -f core conftest.err conftest.$ac_objext
2882 test "x$ac_cv_prog_cc_c89" != "xno" && break
2883 done
2884 rm -f conftest.$ac_ext
2885 CC=$ac_save_CC
2886
2887 fi
2888 # AC_CACHE_VAL
2889 case "x$ac_cv_prog_cc_c89" in
2890 x)
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2892 $as_echo "none needed" >&6; } ;;
2893 xno)
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2895 $as_echo "unsupported" >&6; } ;;
2896 *)
2897 CC="$CC $ac_cv_prog_cc_c89"
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2899 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2900 esac
2901 if test "x$ac_cv_prog_cc_c89" != xno; then :
2902
2903 fi
2904
2905 ac_ext=c
2906 ac_cpp='$CPP $CPPFLAGS'
2907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2910
2911 if test "$GCC" = yes
2912 then
2913 CFLAGS="${CFLAGS} ${PIPE}-Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -Wundef -pedantic -fno-common"
2914 LDFLAGS="${LDFLAGS} -g"
2915 fi
2916
2917 # Find a good install program. We prefer a C program (faster),
2918 # so one script is as good as another. But avoid the broken or
2919 # incompatible versions:
2920 # SysV /etc/install, /usr/sbin/install
2921 # SunOS /usr/etc/install
2922 # IRIX /sbin/install
2923 # AIX /bin/install
2924 # AmigaOS /C/install, which installs bootblocks on floppy discs
2925 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2926 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2927 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2928 # OS/2's system install, which has a completely different semantic
2929 # ./install, which can be erroneously created by make from ./install.sh.
2930 # Reject install programs that cannot install multiple files.
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2932 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2933 if test -z "$INSTALL"; then
2934 if test "${ac_cv_path_install+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 for as_dir in $PATH
2939 do
2940 IFS=$as_save_IFS
2941 test -z "$as_dir" && as_dir=.
2942 # Account for people who put trailing slashes in PATH elements.
2943 case $as_dir/ in #((
2944 ./ | .// | /[cC]/* | \
2945 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2946 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2947 /usr/ucb/* ) ;;
2948 *)
2949 # OSF1 and SCO ODT 3.0 have their own names for install.
2950 # Don't use installbsd from OSF since it installs stuff as root
2951 # by default.
2952 for ac_prog in ginstall scoinst install; do
2953 for ac_exec_ext in '' $ac_executable_extensions; do
2954 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2955 if test $ac_prog = install &&
2956 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2957 # AIX install. It has an incompatible calling convention.
2958 :
2959 elif test $ac_prog = install &&
2960 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2961 # program-specific install script used by HP pwplus--don't use.
2962 :
2963 else
2964 rm -rf conftest.one conftest.two conftest.dir
2965 echo one > conftest.one
2966 echo two > conftest.two
2967 mkdir conftest.dir
2968 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2969 test -s conftest.one && test -s conftest.two &&
2970 test -s conftest.dir/conftest.one &&
2971 test -s conftest.dir/conftest.two
2972 then
2973 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2974 break 3
2975 fi
2976 fi
2977 fi
2978 done
2979 done
2980 ;;
2981 esac
2982
2983 done
2984 IFS=$as_save_IFS
2985
2986 rm -rf conftest.one conftest.two conftest.dir
2987
2988 fi
2989 if test "${ac_cv_path_install+set}" = set; then
2990 INSTALL=$ac_cv_path_install
2991 else
2992 # As a last resort, use the slow shell script. Don't cache a
2993 # value for INSTALL within a source directory, because that will
2994 # break other packages using the cache if that directory is
2995 # removed, or if the value is a relative name.
2996 INSTALL=$ac_install_sh
2997 fi
2998 fi
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3000 $as_echo "$INSTALL" >&6; }
3001
3002 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3003 # It thinks the first close brace ends the variable substitution.
3004 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3005
3006 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3007
3008 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3009
3010
3011 USE_NLS=no
3012 # Extract the first word of "msgfmt", so it can be a program name with args.
3013 set dummy msgfmt; ac_word=$2
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015 $as_echo_n "checking for $ac_word... " >&6; }
3016 if test "${ac_cv_prog_MSGFMT+set}" = set; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 if test -n "$MSGFMT"; then
3020 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3021 else
3022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3023 for as_dir in $PATH
3024 do
3025 IFS=$as_save_IFS
3026 test -z "$as_dir" && as_dir=.
3027 for ac_exec_ext in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 ac_cv_prog_MSGFMT="yes"
3030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031 break 2
3032 fi
3033 done
3034 done
3035 IFS=$as_save_IFS
3036
3037 test -z "$ac_cv_prog_MSGFMT" && ac_cv_prog_MSGFMT="no"
3038 fi
3039 fi
3040 MSGFMT=$ac_cv_prog_MSGFMT
3041 if test -n "$MSGFMT"; then
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3043 $as_echo "$MSGFMT" >&6; }
3044 else
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046 $as_echo "no" >&6; }
3047 fi
3048
3049
3050 if test "$MSGFMT" = yes
3051 then
3052
3053 ac_ext=c
3054 ac_cpp='$CPP $CPPFLAGS'
3055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3059 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3060 # On Suns, sometimes $CPP names a directory.
3061 if test -n "$CPP" && test -d "$CPP"; then
3062 CPP=
3063 fi
3064 if test -z "$CPP"; then
3065 if test "${ac_cv_prog_CPP+set}" = set; then :
3066 $as_echo_n "(cached) " >&6
3067 else
3068 # Double quotes because CPP needs to be expanded
3069 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3070 do
3071 ac_preproc_ok=false
3072 for ac_c_preproc_warn_flag in '' yes
3073 do
3074 # Use a header file that comes with gcc, so configuring glibc
3075 # with a fresh cross-compiler works.
3076 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3077 # <limits.h> exists even on freestanding compilers.
3078 # On the NeXT, cc -E runs the code through the compiler's parser,
3079 # not just through cpp. "Syntax error" is here to catch this case.
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3082 #ifdef __STDC__
3083 # include <limits.h>
3084 #else
3085 # include <assert.h>
3086 #endif
3087 Syntax error
3088 _ACEOF
3089 if ac_fn_c_try_cpp "$LINENO"; then :
3090
3091 else
3092 # Broken: fails on valid input.
3093 continue
3094 fi
3095 rm -f conftest.err conftest.$ac_ext
3096
3097 # OK, works on sane cases. Now check whether nonexistent headers
3098 # can be detected and how.
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3101 #include <ac_nonexistent.h>
3102 _ACEOF
3103 if ac_fn_c_try_cpp "$LINENO"; then :
3104 # Broken: success on invalid input.
3105 continue
3106 else
3107 # Passes both tests.
3108 ac_preproc_ok=:
3109 break
3110 fi
3111 rm -f conftest.err conftest.$ac_ext
3112
3113 done
3114 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3115 rm -f conftest.err conftest.$ac_ext
3116 if $ac_preproc_ok; then :
3117 break
3118 fi
3119
3120 done
3121 ac_cv_prog_CPP=$CPP
3122
3123 fi
3124 CPP=$ac_cv_prog_CPP
3125 else
3126 ac_cv_prog_CPP=$CPP
3127 fi
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3129 $as_echo "$CPP" >&6; }
3130 ac_preproc_ok=false
3131 for ac_c_preproc_warn_flag in '' yes
3132 do
3133 # Use a header file that comes with gcc, so configuring glibc
3134 # with a fresh cross-compiler works.
3135 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3136 # <limits.h> exists even on freestanding compilers.
3137 # On the NeXT, cc -E runs the code through the compiler's parser,
3138 # not just through cpp. "Syntax error" is here to catch this case.
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3141 #ifdef __STDC__
3142 # include <limits.h>
3143 #else
3144 # include <assert.h>
3145 #endif
3146 Syntax error
3147 _ACEOF
3148 if ac_fn_c_try_cpp "$LINENO"; then :
3149
3150 else
3151 # Broken: fails on valid input.
3152 continue
3153 fi
3154 rm -f conftest.err conftest.$ac_ext
3155
3156 # OK, works on sane cases. Now check whether nonexistent headers
3157 # can be detected and how.
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3160 #include <ac_nonexistent.h>
3161 _ACEOF
3162 if ac_fn_c_try_cpp "$LINENO"; then :
3163 # Broken: success on invalid input.
3164 continue
3165 else
3166 # Passes both tests.
3167 ac_preproc_ok=:
3168 break
3169 fi
3170 rm -f conftest.err conftest.$ac_ext
3171
3172 done
3173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3174 rm -f conftest.err conftest.$ac_ext
3175 if $ac_preproc_ok; then :
3176
3177 else
3178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3181 See \`config.log' for more details." "$LINENO" 5; }
3182 fi
3183
3184 ac_ext=c
3185 ac_cpp='$CPP $CPPFLAGS'
3186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3189
3190
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3192 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3193 if test "${ac_cv_path_GREP+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3195 else
3196 if test -z "$GREP"; then
3197 ac_path_GREP_found=false
3198 # Loop through the user's path and test for each of PROGNAME-LIST
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3201 do
3202 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3204 for ac_prog in grep ggrep; do
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3207 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3208 # Check for GNU ac_path_GREP and select it if it is found.
3209 # Check for GNU $ac_path_GREP
3210 case `"$ac_path_GREP" --version 2>&1` in
3211 *GNU*)
3212 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3213 *)
3214 ac_count=0
3215 $as_echo_n 0123456789 >"conftest.in"
3216 while :
3217 do
3218 cat "conftest.in" "conftest.in" >"conftest.tmp"
3219 mv "conftest.tmp" "conftest.in"
3220 cp "conftest.in" "conftest.nl"
3221 $as_echo 'GREP' >> "conftest.nl"
3222 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3223 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3224 as_fn_arith $ac_count + 1 && ac_count=$as_val
3225 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3226 # Best one so far, save it but keep looking for a better one
3227 ac_cv_path_GREP="$ac_path_GREP"
3228 ac_path_GREP_max=$ac_count
3229 fi
3230 # 10*(2^10) chars as input seems more than enough
3231 test $ac_count -gt 10 && break
3232 done
3233 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3234 esac
3235
3236 $ac_path_GREP_found && break 3
3237 done
3238 done
3239 done
3240 IFS=$as_save_IFS
3241 if test -z "$ac_cv_path_GREP"; then
3242 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3243 fi
3244 else
3245 ac_cv_path_GREP=$GREP
3246 fi
3247
3248 fi
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3250 $as_echo "$ac_cv_path_GREP" >&6; }
3251 GREP="$ac_cv_path_GREP"
3252
3253
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3255 $as_echo_n "checking for egrep... " >&6; }
3256 if test "${ac_cv_path_EGREP+set}" = set; then :
3257 $as_echo_n "(cached) " >&6
3258 else
3259 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3260 then ac_cv_path_EGREP="$GREP -E"
3261 else
3262 if test -z "$EGREP"; then
3263 ac_path_EGREP_found=false
3264 # Loop through the user's path and test for each of PROGNAME-LIST
3265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3266 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3267 do
3268 IFS=$as_save_IFS
3269 test -z "$as_dir" && as_dir=.
3270 for ac_prog in egrep; do
3271 for ac_exec_ext in '' $ac_executable_extensions; do
3272 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3273 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3274 # Check for GNU ac_path_EGREP and select it if it is found.
3275 # Check for GNU $ac_path_EGREP
3276 case `"$ac_path_EGREP" --version 2>&1` in
3277 *GNU*)
3278 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3279 *)
3280 ac_count=0
3281 $as_echo_n 0123456789 >"conftest.in"
3282 while :
3283 do
3284 cat "conftest.in" "conftest.in" >"conftest.tmp"
3285 mv "conftest.tmp" "conftest.in"
3286 cp "conftest.in" "conftest.nl"
3287 $as_echo 'EGREP' >> "conftest.nl"
3288 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3289 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3290 as_fn_arith $ac_count + 1 && ac_count=$as_val
3291 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3292 # Best one so far, save it but keep looking for a better one
3293 ac_cv_path_EGREP="$ac_path_EGREP"
3294 ac_path_EGREP_max=$ac_count
3295 fi
3296 # 10*(2^10) chars as input seems more than enough
3297 test $ac_count -gt 10 && break
3298 done
3299 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3300 esac
3301
3302 $ac_path_EGREP_found && break 3
3303 done
3304 done
3305 done
3306 IFS=$as_save_IFS
3307 if test -z "$ac_cv_path_EGREP"; then
3308 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3309 fi
3310 else
3311 ac_cv_path_EGREP=$EGREP
3312 fi
3313
3314 fi
3315 fi
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3317 $as_echo "$ac_cv_path_EGREP" >&6; }
3318 EGREP="$ac_cv_path_EGREP"
3319
3320
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3322 $as_echo_n "checking for ANSI C header files... " >&6; }
3323 if test "${ac_cv_header_stdc+set}" = set; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3328 #include <stdlib.h>
3329 #include <stdarg.h>
3330 #include <string.h>
3331 #include <float.h>
3332
3333 int
3334 main ()
3335 {
3336
3337 ;
3338 return 0;
3339 }
3340 _ACEOF
3341 if ac_fn_c_try_compile "$LINENO"; then :
3342 ac_cv_header_stdc=yes
3343 else
3344 ac_cv_header_stdc=no
3345 fi
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3347
3348 if test $ac_cv_header_stdc = yes; then
3349 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3352 #include <string.h>
3353
3354 _ACEOF
3355 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3356 $EGREP "memchr" >/dev/null 2>&1; then :
3357
3358 else
3359 ac_cv_header_stdc=no
3360 fi
3361 rm -f conftest*
3362
3363 fi
3364
3365 if test $ac_cv_header_stdc = yes; then
3366 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3369 #include <stdlib.h>
3370
3371 _ACEOF
3372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3373 $EGREP "free" >/dev/null 2>&1; then :
3374
3375 else
3376 ac_cv_header_stdc=no
3377 fi
3378 rm -f conftest*
3379
3380 fi
3381
3382 if test $ac_cv_header_stdc = yes; then
3383 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3384 if test "$cross_compiling" = yes; then :
3385 :
3386 else
3387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3388 /* end confdefs.h. */
3389 #include <ctype.h>
3390 #include <stdlib.h>
3391 #if ((' ' & 0x0FF) == 0x020)
3392 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3393 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3394 #else
3395 # define ISLOWER(c) \
3396 (('a' <= (c) && (c) <= 'i') \
3397 || ('j' <= (c) && (c) <= 'r') \
3398 || ('s' <= (c) && (c) <= 'z'))
3399 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3400 #endif
3401
3402 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3403 int
3404 main ()
3405 {
3406 int i;
3407 for (i = 0; i < 256; i++)
3408 if (XOR (islower (i), ISLOWER (i))
3409 || toupper (i) != TOUPPER (i))
3410 return 2;
3411 return 0;
3412 }
3413 _ACEOF
3414 if ac_fn_c_try_run "$LINENO"; then :
3415
3416 else
3417 ac_cv_header_stdc=no
3418 fi
3419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3420 conftest.$ac_objext conftest.beam conftest.$ac_ext
3421 fi
3422
3423 fi
3424 fi
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3426 $as_echo "$ac_cv_header_stdc" >&6; }
3427 if test $ac_cv_header_stdc = yes; then
3428
3429 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3430
3431 fi
3432
3433 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3434 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3435 inttypes.h stdint.h unistd.h
3436 do :
3437 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3438 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3439 "
3440 eval as_val=\$$as_ac_Header
3441 if test "x$as_val" = x""yes; then :
3442 cat >>confdefs.h <<_ACEOF
3443 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3444 _ACEOF
3445
3446 fi
3447
3448 done
3449
3450
3451 for ac_header in libintl.h
3452 do :
3453 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
3454 if test "x$ac_cv_header_libintl_h" = x""yes; then :
3455 cat >>confdefs.h <<_ACEOF
3456 #define HAVE_LIBINTL_H 1
3457 _ACEOF
3458 LIBINTL=yes
3459 fi
3460
3461 done
3462
3463 if test "$LIBINTL" = yes
3464 then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
3466 $as_echo_n "checking for library containing gettext... " >&6; }
3467 if test "${ac_cv_search_gettext+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3469 else
3470 ac_func_search_save_LIBS=$LIBS
3471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3472 /* end confdefs.h. */
3473
3474 /* Override any GCC internal prototype to avoid an error.
3475 Use char because int might match the return type of a GCC
3476 builtin and then its argument prototype would still apply. */
3477 #ifdef __cplusplus
3478 extern "C"
3479 #endif
3480 char gettext ();
3481 int
3482 main ()
3483 {
3484 return gettext ();
3485 ;
3486 return 0;
3487 }
3488 _ACEOF
3489 for ac_lib in '' intl; do
3490 if test -z "$ac_lib"; then
3491 ac_res="none required"
3492 else
3493 ac_res=-l$ac_lib
3494 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3495 fi
3496 if ac_fn_c_try_link "$LINENO"; then :
3497 ac_cv_search_gettext=$ac_res
3498 fi
3499 rm -f core conftest.err conftest.$ac_objext \
3500 conftest$ac_exeext
3501 if test "${ac_cv_search_gettext+set}" = set; then :
3502 break
3503 fi
3504 done
3505 if test "${ac_cv_search_gettext+set}" = set; then :
3506
3507 else
3508 ac_cv_search_gettext=no
3509 fi
3510 rm conftest.$ac_ext
3511 LIBS=$ac_func_search_save_LIBS
3512 fi
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
3514 $as_echo "$ac_cv_search_gettext" >&6; }
3515 ac_res=$ac_cv_search_gettext
3516 if test "$ac_res" != no; then :
3517 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3518 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
3519 USE_NLS=yes
3520 fi
3521
3522 fi
3523 fi
3524
3525 # Check whether --enable-largefile was given.
3526 if test "${enable_largefile+set}" = set; then :
3527 enableval=$enable_largefile;
3528 fi
3529
3530 if test "$enable_largefile" != no; then
3531
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
3533 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
3534 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
3535 $as_echo_n "(cached) " >&6
3536 else
3537 ac_cv_sys_largefile_CC=no
3538 if test "$GCC" != yes; then
3539 ac_save_CC=$CC
3540 while :; do
3541 # IRIX 6.2 and later do not support large files by default,
3542 # so use the C compiler's -n32 option if that helps.
3543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3544 /* end confdefs.h. */
3545 #include <sys/types.h>
3546 /* Check that off_t can represent 2**63 - 1 correctly.
3547 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3548 since some C++ compilers masquerading as C compilers
3549 incorrectly reject 9223372036854775807. */
3550 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3551 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3552 && LARGE_OFF_T % 2147483647 == 1)
3553 ? 1 : -1];
3554 int
3555 main ()
3556 {
3557
3558 ;
3559 return 0;
3560 }
3561 _ACEOF
3562 if ac_fn_c_try_compile "$LINENO"; then :
3563 break
3564 fi
3565 rm -f core conftest.err conftest.$ac_objext
3566 CC="$CC -n32"
3567 if ac_fn_c_try_compile "$LINENO"; then :
3568 ac_cv_sys_largefile_CC=' -n32'; break
3569 fi
3570 rm -f core conftest.err conftest.$ac_objext
3571 break
3572 done
3573 CC=$ac_save_CC
3574 rm -f conftest.$ac_ext
3575 fi
3576 fi
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
3578 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
3579 if test "$ac_cv_sys_largefile_CC" != no; then
3580 CC=$CC$ac_cv_sys_largefile_CC
3581 fi
3582
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
3584 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
3585 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3587 else
3588 while :; do
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3591 #include <sys/types.h>
3592 /* Check that off_t can represent 2**63 - 1 correctly.
3593 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3594 since some C++ compilers masquerading as C compilers
3595 incorrectly reject 9223372036854775807. */
3596 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3597 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3598 && LARGE_OFF_T % 2147483647 == 1)
3599 ? 1 : -1];
3600 int
3601 main ()
3602 {
3603
3604 ;
3605 return 0;
3606 }
3607 _ACEOF
3608 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_cv_sys_file_offset_bits=no; break
3610 fi
3611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613 /* end confdefs.h. */
3614 #define _FILE_OFFSET_BITS 64
3615 #include <sys/types.h>
3616 /* Check that off_t can represent 2**63 - 1 correctly.
3617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3618 since some C++ compilers masquerading as C compilers
3619 incorrectly reject 9223372036854775807. */
3620 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3622 && LARGE_OFF_T % 2147483647 == 1)
3623 ? 1 : -1];
3624 int
3625 main ()
3626 {
3627
3628 ;
3629 return 0;
3630 }
3631 _ACEOF
3632 if ac_fn_c_try_compile "$LINENO"; then :
3633 ac_cv_sys_file_offset_bits=64; break
3634 fi
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_cv_sys_file_offset_bits=unknown
3637 break
3638 done
3639 fi
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
3641 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
3642 case $ac_cv_sys_file_offset_bits in #(
3643 no | unknown) ;;
3644 *)
3645 cat >>confdefs.h <<_ACEOF
3646 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
3647 _ACEOF
3648 ;;
3649 esac
3650 rm -rf conftest*
3651 if test $ac_cv_sys_file_offset_bits = unknown; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
3653 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
3654 if test "${ac_cv_sys_large_files+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 while :; do
3658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3659 /* end confdefs.h. */
3660 #include <sys/types.h>
3661 /* Check that off_t can represent 2**63 - 1 correctly.
3662 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3663 since some C++ compilers masquerading as C compilers
3664 incorrectly reject 9223372036854775807. */
3665 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3666 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3667 && LARGE_OFF_T % 2147483647 == 1)
3668 ? 1 : -1];
3669 int
3670 main ()
3671 {
3672
3673 ;
3674 return 0;
3675 }
3676 _ACEOF
3677 if ac_fn_c_try_compile "$LINENO"; then :
3678 ac_cv_sys_large_files=no; break
3679 fi
3680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3682 /* end confdefs.h. */
3683 #define _LARGE_FILES 1
3684 #include <sys/types.h>
3685 /* Check that off_t can represent 2**63 - 1 correctly.
3686 We can't simply define LARGE_OFF_T to be 9223372036854775807,
3687 since some C++ compilers masquerading as C compilers
3688 incorrectly reject 9223372036854775807. */
3689 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
3690 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
3691 && LARGE_OFF_T % 2147483647 == 1)
3692 ? 1 : -1];
3693 int
3694 main ()
3695 {
3696
3697 ;
3698 return 0;
3699 }
3700 _ACEOF
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702 ac_cv_sys_large_files=1; break
3703 fi
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 ac_cv_sys_large_files=unknown
3706 break
3707 done
3708 fi
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
3710 $as_echo "$ac_cv_sys_large_files" >&6; }
3711 case $ac_cv_sys_large_files in #(
3712 no | unknown) ;;
3713 *)
3714 cat >>confdefs.h <<_ACEOF
3715 #define _LARGE_FILES $ac_cv_sys_large_files
3716 _ACEOF
3717 ;;
3718 esac
3719 rm -rf conftest*
3720 fi
3721 fi
3722
3723
3724 cat >>confdefs.h <<_ACEOF
3725 #define VERSION "$VERSION"
3726 _ACEOF
3727
3728
3729
3730
3731
3732 ac_config_files="$ac_config_files Makefile dehtml.1.en dehtml.1.de"
3733
3734 cat >confcache <<\_ACEOF
3735 # This file is a shell script that caches the results of configure
3736 # tests run on this system so they can be shared between configure
3737 # scripts and configure runs, see configure's option --config-cache.
3738 # It is not useful on other systems. If it contains results you don't
3739 # want to keep, you may remove or edit it.
3740 #
3741 # config.status only pays attention to the cache file if you give it
3742 # the --recheck option to rerun configure.
3743 #
3744 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3745 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3746 # following values.
3747
3748 _ACEOF
3749
3750 # The following way of writing the cache mishandles newlines in values,
3751 # but we know of no workaround that is simple, portable, and efficient.
3752 # So, we kill variables containing newlines.
3753 # Ultrix sh set writes to stderr and can't be redirected directly,
3754 # and sets the high bit in the cache file unless we assign to the vars.
3755 (
3756 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3757 eval ac_val=\$$ac_var
3758 case $ac_val in #(
3759 *${as_nl}*)
3760 case $ac_var in #(
3761 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3762 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3763 esac
3764 case $ac_var in #(
3765 _ | IFS | as_nl) ;; #(
3766 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3767 *) { eval $ac_var=; unset $ac_var;} ;;
3768 esac ;;
3769 esac
3770 done
3771
3772 (set) 2>&1 |
3773 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3774 *${as_nl}ac_space=\ *)
3775 # `set' does not quote correctly, so add quotes: double-quote
3776 # substitution turns \\\\ into \\, and sed turns \\ into \.
3777 sed -n \
3778 "s/'/'\\\\''/g;
3779 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3780 ;; #(
3781 *)
3782 # `set' quotes correctly as required by POSIX, so do not add quotes.
3783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3784 ;;
3785 esac |
3786 sort
3787 ) |
3788 sed '
3789 /^ac_cv_env_/b end
3790 t clear
3791 :clear
3792 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3793 t end
3794 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3795 :end' >>confcache
3796 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3797 if test -w "$cache_file"; then
3798 test "x$cache_file" != "x/dev/null" &&
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3800 $as_echo "$as_me: updating cache $cache_file" >&6;}
3801 cat confcache >$cache_file
3802 else
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3804 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3805 fi
3806 fi
3807 rm -f confcache
3808
3809 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3810 # Let make expand exec_prefix.
3811 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3812
3813 DEFS=-DHAVE_CONFIG_H
3814
3815 ac_libobjs=
3816 ac_ltlibobjs=
3817 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3818 # 1. Remove the extension, and $U if already installed.
3819 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3820 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3821 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3822 # will be set to the directory where LIBOBJS objects are built.
3823 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3824 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3825 done
3826 LIBOBJS=$ac_libobjs
3827
3828 LTLIBOBJS=$ac_ltlibobjs
3829
3830
3831
3832 : ${CONFIG_STATUS=./config.status}
3833 ac_write_fail=0
3834 ac_clean_files_save=$ac_clean_files
3835 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3837 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3838 as_write_fail=0
3839 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3840 #! $SHELL
3841 # Generated by $as_me.
3842 # Run this file to recreate the current configuration.
3843 # Compiler output produced by configure, useful for debugging
3844 # configure, is in config.log if it exists.
3845
3846 debug=false
3847 ac_cs_recheck=false
3848 ac_cs_silent=false
3849
3850 SHELL=\${CONFIG_SHELL-$SHELL}
3851 export SHELL
3852 _ASEOF
3853 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3854 ## -------------------- ##
3855 ## M4sh Initialization. ##
3856 ## -------------------- ##
3857
3858 # Be more Bourne compatible
3859 DUALCASE=1; export DUALCASE # for MKS sh
3860 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3861 emulate sh
3862 NULLCMD=:
3863 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3864 # is contrary to our usage. Disable this feature.
3865 alias -g '${1+"$@"}'='"$@"'
3866 setopt NO_GLOB_SUBST
3867 else
3868 case `(set -o) 2>/dev/null` in #(
3869 *posix*) :
3870 set -o posix ;; #(
3871 *) :
3872 ;;
3873 esac
3874 fi
3875
3876
3877 as_nl='
3878 '
3879 export as_nl
3880 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3881 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3882 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3883 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3884 # Prefer a ksh shell builtin over an external printf program on Solaris,
3885 # but without wasting forks for bash or zsh.
3886 if test -z "$BASH_VERSION$ZSH_VERSION" \
3887 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3888 as_echo='print -r --'
3889 as_echo_n='print -rn --'
3890 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3891 as_echo='printf %s\n'
3892 as_echo_n='printf %s'
3893 else
3894 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3895 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3896 as_echo_n='/usr/ucb/echo -n'
3897 else
3898 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3899 as_echo_n_body='eval
3900 arg=$1;
3901 case $arg in #(
3902 *"$as_nl"*)
3903 expr "X$arg" : "X\\(.*\\)$as_nl";
3904 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3905 esac;
3906 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3907 '
3908 export as_echo_n_body
3909 as_echo_n='sh -c $as_echo_n_body as_echo'
3910 fi
3911 export as_echo_body
3912 as_echo='sh -c $as_echo_body as_echo'
3913 fi
3914
3915 # The user is always right.
3916 if test "${PATH_SEPARATOR+set}" != set; then
3917 PATH_SEPARATOR=:
3918 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3919 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3920 PATH_SEPARATOR=';'
3921 }
3922 fi
3923
3924
3925 # IFS
3926 # We need space, tab and new line, in precisely that order. Quoting is
3927 # there to prevent editors from complaining about space-tab.
3928 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3929 # splitting by setting IFS to empty value.)
3930 IFS=" "" $as_nl"
3931
3932 # Find who we are. Look in the path if we contain no directory separator.
3933 case $0 in #((
3934 *[\\/]* ) as_myself=$0 ;;
3935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3936 for as_dir in $PATH
3937 do
3938 IFS=$as_save_IFS
3939 test -z "$as_dir" && as_dir=.
3940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3941 done
3942 IFS=$as_save_IFS
3943
3944 ;;
3945 esac
3946 # We did not find ourselves, most probably we were run as `sh COMMAND'
3947 # in which case we are not to be found in the path.
3948 if test "x$as_myself" = x; then
3949 as_myself=$0
3950 fi
3951 if test ! -f "$as_myself"; then
3952 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3953 exit 1
3954 fi
3955
3956 # Unset variables that we do not need and which cause bugs (e.g. in
3957 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3958 # suppresses any "Segmentation fault" message there. '((' could
3959 # trigger a bug in pdksh 5.2.14.
3960 for as_var in BASH_ENV ENV MAIL MAILPATH
3961 do eval test x\${$as_var+set} = xset \
3962 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3963 done
3964 PS1='$ '
3965 PS2='> '
3966 PS4='+ '
3967
3968 # NLS nuisances.
3969 LC_ALL=C
3970 export LC_ALL
3971 LANGUAGE=C
3972 export LANGUAGE
3973
3974 # CDPATH.
3975 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3976
3977
3978 # as_fn_error ERROR [LINENO LOG_FD]
3979 # ---------------------------------
3980 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3981 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3982 # script with status $?, using 1 if that was 0.
3983 as_fn_error ()
3984 {
3985 as_status=$?; test $as_status -eq 0 && as_status=1
3986 if test "$3"; then
3987 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3988 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3989 fi
3990 $as_echo "$as_me: error: $1" >&2
3991 as_fn_exit $as_status
3992 } # as_fn_error
3993
3994
3995 # as_fn_set_status STATUS
3996 # -----------------------
3997 # Set $? to STATUS, without forking.
3998 as_fn_set_status ()
3999 {
4000 return $1
4001 } # as_fn_set_status
4002
4003 # as_fn_exit STATUS
4004 # -----------------
4005 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4006 as_fn_exit ()
4007 {
4008 set +e
4009 as_fn_set_status $1
4010 exit $1
4011 } # as_fn_exit
4012
4013 # as_fn_unset VAR
4014 # ---------------
4015 # Portably unset VAR.
4016 as_fn_unset ()
4017 {
4018 { eval $1=; unset $1;}
4019 }
4020 as_unset=as_fn_unset
4021 # as_fn_append VAR VALUE
4022 # ----------------------
4023 # Append the text in VALUE to the end of the definition contained in VAR. Take
4024 # advantage of any shell optimizations that allow amortized linear growth over
4025 # repeated appends, instead of the typical quadratic growth present in naive
4026 # implementations.
4027 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4028 eval 'as_fn_append ()
4029 {
4030 eval $1+=\$2
4031 }'
4032 else
4033 as_fn_append ()
4034 {
4035 eval $1=\$$1\$2
4036 }
4037 fi # as_fn_append
4038
4039 # as_fn_arith ARG...
4040 # ------------------
4041 # Perform arithmetic evaluation on the ARGs, and store the result in the
4042 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4043 # must be portable across $(()) and expr.
4044 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4045 eval 'as_fn_arith ()
4046 {
4047 as_val=$(( $* ))
4048 }'
4049 else
4050 as_fn_arith ()
4051 {
4052 as_val=`expr "$@" || test $? -eq 1`
4053 }
4054 fi # as_fn_arith
4055
4056
4057 if expr a : '\(a\)' >/dev/null 2>&1 &&
4058 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4059 as_expr=expr
4060 else
4061 as_expr=false
4062 fi
4063
4064 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4065 as_basename=basename
4066 else
4067 as_basename=false
4068 fi
4069
4070 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4071 as_dirname=dirname
4072 else
4073 as_dirname=false
4074 fi
4075
4076 as_me=`$as_basename -- "$0" ||
4077 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4078 X"$0" : 'X\(//\)$' \| \
4079 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4080 $as_echo X/"$0" |
4081 sed '/^.*\/\([^/][^/]*\)\/*$/{
4082 s//\1/
4083 q
4084 }
4085 /^X\/\(\/\/\)$/{
4086 s//\1/
4087 q
4088 }
4089 /^X\/\(\/\).*/{
4090 s//\1/
4091 q
4092 }
4093 s/.*/./; q'`
4094
4095 # Avoid depending upon Character Ranges.
4096 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4097 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4098 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4099 as_cr_digits='0123456789'
4100 as_cr_alnum=$as_cr_Letters$as_cr_digits
4101
4102 ECHO_C= ECHO_N= ECHO_T=
4103 case `echo -n x` in #(((((
4104 -n*)
4105 case `echo 'xy\c'` in
4106 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4107 xy) ECHO_C='\c';;
4108 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4109 ECHO_T=' ';;
4110 esac;;
4111 *)
4112 ECHO_N='-n';;
4113 esac
4114
4115 rm -f conf$$ conf$$.exe conf$$.file
4116 if test -d conf$$.dir; then
4117 rm -f conf$$.dir/conf$$.file
4118 else
4119 rm -f conf$$.dir
4120 mkdir conf$$.dir 2>/dev/null
4121 fi
4122 if (echo >conf$$.file) 2>/dev/null; then
4123 if ln -s conf$$.file conf$$ 2>/dev/null; then
4124 as_ln_s='ln -s'
4125 # ... but there are two gotchas:
4126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4128 # In both cases, we have to default to `cp -p'.
4129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4130 as_ln_s='cp -p'
4131 elif ln conf$$.file conf$$ 2>/dev/null; then
4132 as_ln_s=ln
4133 else
4134 as_ln_s='cp -p'
4135 fi
4136 else
4137 as_ln_s='cp -p'
4138 fi
4139 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4140 rmdir conf$$.dir 2>/dev/null
4141
4142
4143 # as_fn_mkdir_p
4144 # -------------
4145 # Create "$as_dir" as a directory, including parents if necessary.
4146 as_fn_mkdir_p ()
4147 {
4148
4149 case $as_dir in #(
4150 -*) as_dir=./$as_dir;;
4151 esac
4152 test -d "$as_dir" || eval $as_mkdir_p || {
4153 as_dirs=
4154 while :; do
4155 case $as_dir in #(
4156 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4157 *) as_qdir=$as_dir;;
4158 esac
4159 as_dirs="'$as_qdir' $as_dirs"
4160 as_dir=`$as_dirname -- "$as_dir" ||
4161 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4162 X"$as_dir" : 'X\(//\)[^/]' \| \
4163 X"$as_dir" : 'X\(//\)$' \| \
4164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4165 $as_echo X"$as_dir" |
4166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4167 s//\1/
4168 q
4169 }
4170 /^X\(\/\/\)[^/].*/{
4171 s//\1/
4172 q
4173 }
4174 /^X\(\/\/\)$/{
4175 s//\1/
4176 q
4177 }
4178 /^X\(\/\).*/{
4179 s//\1/
4180 q
4181 }
4182 s/.*/./; q'`
4183 test -d "$as_dir" && break
4184 done
4185 test -z "$as_dirs" || eval "mkdir $as_dirs"
4186 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4187
4188
4189 } # as_fn_mkdir_p
4190 if mkdir -p . 2>/dev/null; then
4191 as_mkdir_p='mkdir -p "$as_dir"'
4192 else
4193 test -d ./-p && rmdir ./-p
4194 as_mkdir_p=false
4195 fi
4196
4197 if test -x / >/dev/null 2>&1; then
4198 as_test_x='test -x'
4199 else
4200 if ls -dL / >/dev/null 2>&1; then
4201 as_ls_L_option=L
4202 else
4203 as_ls_L_option=
4204 fi
4205 as_test_x='
4206 eval sh -c '\''
4207 if test -d "$1"; then
4208 test -d "$1/.";
4209 else
4210 case $1 in #(
4211 -*)set "./$1";;
4212 esac;
4213 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4214 ???[sx]*):;;*)false;;esac;fi
4215 '\'' sh
4216 '
4217 fi
4218 as_executable_p=$as_test_x
4219
4220 # Sed expression to map a string onto a valid CPP name.
4221 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4222
4223 # Sed expression to map a string onto a valid variable name.
4224 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4225
4226
4227 exec 6>&1
4228 ## ----------------------------------- ##
4229 ## Main body of $CONFIG_STATUS script. ##
4230 ## ----------------------------------- ##
4231 _ASEOF
4232 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4233
4234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4235 # Save the log message, to keep $0 and so on meaningful, and to
4236 # report actual input values of CONFIG_FILES etc. instead of their
4237 # values after options handling.
4238 ac_log="
4239 This file was extended by $as_me, which was
4240 generated by GNU Autoconf 2.65. Invocation command line was
4241
4242 CONFIG_FILES = $CONFIG_FILES
4243 CONFIG_HEADERS = $CONFIG_HEADERS
4244 CONFIG_LINKS = $CONFIG_LINKS
4245 CONFIG_COMMANDS = $CONFIG_COMMANDS
4246 $ $0 $@
4247
4248 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4249 "
4250
4251 _ACEOF
4252
4253 case $ac_config_files in *"
4254 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4255 esac
4256
4257 case $ac_config_headers in *"
4258 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4259 esac
4260
4261
4262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4263 # Files that config.status was made for.
4264 config_files="$ac_config_files"
4265 config_headers="$ac_config_headers"
4266
4267 _ACEOF
4268
4269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4270 ac_cs_usage="\
4271 \`$as_me' instantiates files and other configuration actions
4272 from templates according to the current configuration. Unless the files
4273 and actions are specified as TAGs, all are instantiated by default.
4274
4275 Usage: $0 [OPTION]... [TAG]...
4276
4277 -h, --help print this help, then exit
4278 -V, --version print version number and configuration settings, then exit
4279 --config print configuration, then exit
4280 -q, --quiet, --silent
4281 do not print progress messages
4282 -d, --debug don't remove temporary files
4283 --recheck update $as_me by reconfiguring in the same conditions
4284 --file=FILE[:TEMPLATE]
4285 instantiate the configuration file FILE
4286 --header=FILE[:TEMPLATE]
4287 instantiate the configuration header FILE
4288
4289 Configuration files:
4290 $config_files
4291
4292 Configuration headers:
4293 $config_headers
4294
4295 Report bugs to the package provider."
4296
4297 _ACEOF
4298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4299 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4300 ac_cs_version="\\
4301 config.status
4302 configured by $0, generated by GNU Autoconf 2.65,
4303 with options \\"\$ac_cs_config\\"
4304
4305 Copyright (C) 2009 Free Software Foundation, Inc.
4306 This config.status script is free software; the Free Software Foundation
4307 gives unlimited permission to copy, distribute and modify it."
4308
4309 ac_pwd='$ac_pwd'
4310 srcdir='$srcdir'
4311 INSTALL='$INSTALL'
4312 test -n "\$AWK" || AWK=awk
4313 _ACEOF
4314
4315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4316 # The default lists apply if the user does not specify any file.
4317 ac_need_defaults=:
4318 while test $# != 0
4319 do
4320 case $1 in
4321 --*=*)
4322 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4323 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4324 ac_shift=:
4325 ;;
4326 *)
4327 ac_option=$1
4328 ac_optarg=$2
4329 ac_shift=shift
4330 ;;
4331 esac
4332
4333 case $ac_option in
4334 # Handling of the options.
4335 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4336 ac_cs_recheck=: ;;
4337 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4338 $as_echo "$ac_cs_version"; exit ;;
4339 --config | --confi | --conf | --con | --co | --c )
4340 $as_echo "$ac_cs_config"; exit ;;
4341 --debug | --debu | --deb | --de | --d | -d )
4342 debug=: ;;
4343 --file | --fil | --fi | --f )
4344 $ac_shift
4345 case $ac_optarg in
4346 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4347 esac
4348 as_fn_append CONFIG_FILES " '$ac_optarg'"
4349 ac_need_defaults=false;;
4350 --header | --heade | --head | --hea )
4351 $ac_shift
4352 case $ac_optarg in
4353 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4354 esac
4355 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4356 ac_need_defaults=false;;
4357 --he | --h)
4358 # Conflict between --help and --header
4359 as_fn_error "ambiguous option: \`$1'
4360 Try \`$0 --help' for more information.";;
4361 --help | --hel | -h )
4362 $as_echo "$ac_cs_usage"; exit ;;
4363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4364 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4365 ac_cs_silent=: ;;
4366
4367 # This is an error.
4368 -*) as_fn_error "unrecognized option: \`$1'
4369 Try \`$0 --help' for more information." ;;
4370
4371 *) as_fn_append ac_config_targets " $1"
4372 ac_need_defaults=false ;;
4373
4374 esac
4375 shift
4376 done
4377
4378 ac_configure_extra_args=
4379
4380 if $ac_cs_silent; then
4381 exec 6>/dev/null
4382 ac_configure_extra_args="$ac_configure_extra_args --silent"
4383 fi
4384
4385 _ACEOF
4386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4387 if \$ac_cs_recheck; then
4388 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4389 shift
4390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4391 CONFIG_SHELL='$SHELL'
4392 export CONFIG_SHELL
4393 exec "\$@"
4394 fi
4395
4396 _ACEOF
4397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4398 exec 5>>config.log
4399 {
4400 echo
4401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4402 ## Running $as_me. ##
4403 _ASBOX
4404 $as_echo "$ac_log"
4405 } >&5
4406
4407 _ACEOF
4408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4409 _ACEOF
4410
4411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4412
4413 # Handling of arguments.
4414 for ac_config_target in $ac_config_targets
4415 do
4416 case $ac_config_target in
4417 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4418 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4419 "dehtml.1.en") CONFIG_FILES="$CONFIG_FILES dehtml.1.en" ;;
4420 "dehtml.1.de") CONFIG_FILES="$CONFIG_FILES dehtml.1.de" ;;
4421
4422 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4423 esac
4424 done
4425
4426
4427 # If the user did not use the arguments to specify the items to instantiate,
4428 # then the envvar interface is used. Set only those that are not.
4429 # We use the long form for the default assignment because of an extremely
4430 # bizarre bug on SunOS 4.1.3.
4431 if $ac_need_defaults; then
4432 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4433 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4434 fi
4435
4436 # Have a temporary directory for convenience. Make it in the build tree
4437 # simply because there is no reason against having it here, and in addition,
4438 # creating and moving files from /tmp can sometimes cause problems.
4439 # Hook for its removal unless debugging.
4440 # Note that there is a small window in which the directory will not be cleaned:
4441 # after its creation but before its name has been assigned to `$tmp'.
4442 $debug ||
4443 {
4444 tmp=
4445 trap 'exit_status=$?
4446 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4447 ' 0
4448 trap 'as_fn_exit 1' 1 2 13 15
4449 }
4450 # Create a (secure) tmp directory for tmp files.
4451
4452 {
4453 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4454 test -n "$tmp" && test -d "$tmp"
4455 } ||
4456 {
4457 tmp=./conf$$-$RANDOM
4458 (umask 077 && mkdir "$tmp")
4459 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4460
4461 # Set up the scripts for CONFIG_FILES section.
4462 # No need to generate them if there are no CONFIG_FILES.
4463 # This happens for instance with `./config.status config.h'.
4464 if test -n "$CONFIG_FILES"; then
4465
4466
4467 ac_cr=`echo X | tr X '\015'`
4468 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4469 # But we know of no other shell where ac_cr would be empty at this
4470 # point, so we can use a bashism as a fallback.
4471 if test "x$ac_cr" = x; then
4472 eval ac_cr=\$\'\\r\'
4473 fi
4474 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4475 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4476 ac_cs_awk_cr='\r'
4477 else
4478 ac_cs_awk_cr=$ac_cr
4479 fi
4480
4481 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4482 _ACEOF
4483
4484
4485 {
4486 echo "cat >conf$$subs.awk <<_ACEOF" &&
4487 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4488 echo "_ACEOF"
4489 } >conf$$subs.sh ||
4490 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4491 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4492 ac_delim='%!_!# '
4493 for ac_last_try in false false false false false :; do
4494 . ./conf$$subs.sh ||
4495 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4496
4497 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4498 if test $ac_delim_n = $ac_delim_num; then
4499 break
4500 elif $ac_last_try; then
4501 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4502 else
4503 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4504 fi
4505 done
4506 rm -f conf$$subs.sh
4507
4508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4509 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4510 _ACEOF
4511 sed -n '
4512 h
4513 s/^/S["/; s/!.*/"]=/
4514 p
4515 g
4516 s/^[^!]*!//
4517 :repl
4518 t repl
4519 s/'"$ac_delim"'$//
4520 t delim
4521 :nl
4522 h
4523 s/\(.\{148\}\)..*/\1/
4524 t more1
4525 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4526 p
4527 n
4528 b repl
4529 :more1
4530 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4531 p
4532 g
4533 s/.\{148\}//
4534 t nl
4535 :delim
4536 h
4537 s/\(.\{148\}\)..*/\1/
4538 t more2
4539 s/["\\]/\\&/g; s/^/"/; s/$/"/
4540 p
4541 b
4542 :more2
4543 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4544 p
4545 g
4546 s/.\{148\}//
4547 t delim
4548 ' <conf$$subs.awk | sed '
4549 /^[^""]/{
4550 N
4551 s/\n//
4552 }
4553 ' >>$CONFIG_STATUS || ac_write_fail=1
4554 rm -f conf$$subs.awk
4555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4556 _ACAWK
4557 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4558 for (key in S) S_is_set[key] = 1
4559 FS = ""
4560
4561 }
4562 {
4563 line = $ 0
4564 nfields = split(line, field, "@")
4565 substed = 0
4566 len = length(field[1])
4567 for (i = 2; i < nfields; i++) {
4568 key = field[i]
4569 keylen = length(key)
4570 if (S_is_set[key]) {
4571 value = S[key]
4572 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4573 len += length(value) + length(field[++i])
4574 substed = 1
4575 } else
4576 len += 1 + keylen
4577 }
4578
4579 print line
4580 }
4581
4582 _ACAWK
4583 _ACEOF
4584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4585 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4586 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4587 else
4588 cat
4589 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4590 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4591 _ACEOF
4592
4593 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4594 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4595 # trailing colons and then remove the whole line if VPATH becomes empty
4596 # (actually we leave an empty line to preserve line numbers).
4597 if test "x$srcdir" = x.; then
4598 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4599 s/:*\$(srcdir):*/:/
4600 s/:*\${srcdir}:*/:/
4601 s/:*@srcdir@:*/:/
4602 s/^\([^=]*=[ ]*\):*/\1/
4603 s/:*$//
4604 s/^[^=]*=[ ]*$//
4605 }'
4606 fi
4607
4608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4609 fi # test -n "$CONFIG_FILES"
4610
4611 # Set up the scripts for CONFIG_HEADERS section.
4612 # No need to generate them if there are no CONFIG_HEADERS.
4613 # This happens for instance with `./config.status Makefile'.
4614 if test -n "$CONFIG_HEADERS"; then
4615 cat >"$tmp/defines.awk" <<\_ACAWK ||
4616 BEGIN {
4617 _ACEOF
4618
4619 # Transform confdefs.h into an awk script `defines.awk', embedded as
4620 # here-document in config.status, that substitutes the proper values into
4621 # config.h.in to produce config.h.
4622
4623 # Create a delimiter string that does not exist in confdefs.h, to ease
4624 # handling of long lines.
4625 ac_delim='%!_!# '
4626 for ac_last_try in false false :; do
4627 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4628 if test -z "$ac_t"; then
4629 break
4630 elif $ac_last_try; then
4631 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4632 else
4633 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4634 fi
4635 done
4636
4637 # For the awk script, D is an array of macro values keyed by name,
4638 # likewise P contains macro parameters if any. Preserve backslash
4639 # newline sequences.
4640
4641 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4642 sed -n '
4643 s/.\{148\}/&'"$ac_delim"'/g
4644 t rset
4645 :rset
4646 s/^[ ]*#[ ]*define[ ][ ]*/ /
4647 t def
4648 d
4649 :def
4650 s/\\$//
4651 t bsnl
4652 s/["\\]/\\&/g
4653 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4654 D["\1"]=" \3"/p
4655 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4656 d
4657 :bsnl
4658 s/["\\]/\\&/g
4659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4660 D["\1"]=" \3\\\\\\n"\\/p
4661 t cont
4662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4663 t cont
4664 d
4665 :cont
4666 n
4667 s/.\{148\}/&'"$ac_delim"'/g
4668 t clear
4669 :clear
4670 s/\\$//
4671 t bsnlc
4672 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4673 d
4674 :bsnlc
4675 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4676 b cont
4677 ' <confdefs.h | sed '
4678 s/'"$ac_delim"'/"\\\
4679 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4680
4681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4682 for (key in D) D_is_set[key] = 1
4683 FS = ""
4684 }
4685 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4686 line = \$ 0
4687 split(line, arg, " ")
4688 if (arg[1] == "#") {
4689 defundef = arg[2]
4690 mac1 = arg[3]
4691 } else {
4692 defundef = substr(arg[1], 2)
4693 mac1 = arg[2]
4694 }
4695 split(mac1, mac2, "(") #)
4696 macro = mac2[1]
4697 prefix = substr(line, 1, index(line, defundef) - 1)
4698 if (D_is_set[macro]) {
4699 # Preserve the white space surrounding the "#".
4700 print prefix "define", macro P[macro] D[macro]
4701 next
4702 } else {
4703 # Replace #undef with comments. This is necessary, for example,
4704 # in the case of _POSIX_SOURCE, which is predefined and required
4705 # on some systems where configure will not decide to define it.
4706 if (defundef == "undef") {
4707 print "/*", prefix defundef, macro, "*/"
4708 next
4709 }
4710 }
4711 }
4712 { print }
4713 _ACAWK
4714 _ACEOF
4715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4716 as_fn_error "could not setup config headers machinery" "$LINENO" 5
4717 fi # test -n "$CONFIG_HEADERS"
4718
4719
4720 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4721 shift
4722 for ac_tag
4723 do
4724 case $ac_tag in
4725 :[FHLC]) ac_mode=$ac_tag; continue;;
4726 esac
4727 case $ac_mode$ac_tag in
4728 :[FHL]*:*);;
4729 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4730 :[FH]-) ac_tag=-:-;;
4731 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4732 esac
4733 ac_save_IFS=$IFS
4734 IFS=:
4735 set x $ac_tag
4736 IFS=$ac_save_IFS
4737 shift
4738 ac_file=$1
4739 shift
4740
4741 case $ac_mode in
4742 :L) ac_source=$1;;
4743 :[FH])
4744 ac_file_inputs=
4745 for ac_f
4746 do
4747 case $ac_f in
4748 -) ac_f="$tmp/stdin";;
4749 *) # Look for the file first in the build tree, then in the source tree
4750 # (if the path is not absolute). The absolute path cannot be DOS-style,
4751 # because $ac_f cannot contain `:'.
4752 test -f "$ac_f" ||
4753 case $ac_f in
4754 [\\/$]*) false;;
4755 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4756 esac ||
4757 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4758 esac
4759 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4760 as_fn_append ac_file_inputs " '$ac_f'"
4761 done
4762
4763 # Let's still pretend it is `configure' which instantiates (i.e., don't
4764 # use $as_me), people would be surprised to read:
4765 # /* config.h. Generated by config.status. */
4766 configure_input='Generated from '`
4767 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4768 `' by configure.'
4769 if test x"$ac_file" != x-; then
4770 configure_input="$ac_file. $configure_input"
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4772 $as_echo "$as_me: creating $ac_file" >&6;}
4773 fi
4774 # Neutralize special characters interpreted by sed in replacement strings.
4775 case $configure_input in #(
4776 *\&* | *\|* | *\\* )
4777 ac_sed_conf_input=`$as_echo "$configure_input" |
4778 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4779 *) ac_sed_conf_input=$configure_input;;
4780 esac
4781
4782 case $ac_tag in
4783 *:-:* | *:-) cat >"$tmp/stdin" \
4784 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4785 esac
4786 ;;
4787 esac
4788
4789 ac_dir=`$as_dirname -- "$ac_file" ||
4790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4791 X"$ac_file" : 'X\(//\)[^/]' \| \
4792 X"$ac_file" : 'X\(//\)$' \| \
4793 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4794 $as_echo X"$ac_file" |
4795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4796 s//\1/
4797 q
4798 }
4799 /^X\(\/\/\)[^/].*/{
4800 s//\1/
4801 q
4802 }
4803 /^X\(\/\/\)$/{
4804 s//\1/
4805 q
4806 }
4807 /^X\(\/\).*/{
4808 s//\1/
4809 q
4810 }
4811 s/.*/./; q'`
4812 as_dir="$ac_dir"; as_fn_mkdir_p
4813 ac_builddir=.
4814
4815 case "$ac_dir" in
4816 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4817 *)
4818 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4819 # A ".." for each directory in $ac_dir_suffix.
4820 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4821 case $ac_top_builddir_sub in
4822 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4823 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4824 esac ;;
4825 esac
4826 ac_abs_top_builddir=$ac_pwd
4827 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4828 # for backward compatibility:
4829 ac_top_builddir=$ac_top_build_prefix
4830
4831 case $srcdir in
4832 .) # We are building in place.
4833 ac_srcdir=.
4834 ac_top_srcdir=$ac_top_builddir_sub
4835 ac_abs_top_srcdir=$ac_pwd ;;
4836 [\\/]* | ?:[\\/]* ) # Absolute name.
4837 ac_srcdir=$srcdir$ac_dir_suffix;
4838 ac_top_srcdir=$srcdir
4839 ac_abs_top_srcdir=$srcdir ;;
4840 *) # Relative name.
4841 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4842 ac_top_srcdir=$ac_top_build_prefix$srcdir
4843 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4844 esac
4845 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4846
4847
4848 case $ac_mode in
4849 :F)
4850 #
4851 # CONFIG_FILE
4852 #
4853
4854 case $INSTALL in
4855 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4856 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4857 esac
4858 _ACEOF
4859
4860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4861 # If the template does not know about datarootdir, expand it.
4862 # FIXME: This hack should be removed a few years after 2.60.
4863 ac_datarootdir_hack=; ac_datarootdir_seen=
4864 ac_sed_dataroot='
4865 /datarootdir/ {
4866 p
4867 q
4868 }
4869 /@datadir@/p
4870 /@docdir@/p
4871 /@infodir@/p
4872 /@localedir@/p
4873 /@mandir@/p'
4874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4875 *datarootdir*) ac_datarootdir_seen=yes;;
4876 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4879 _ACEOF
4880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4881 ac_datarootdir_hack='
4882 s&@datadir@&$datadir&g
4883 s&@docdir@&$docdir&g
4884 s&@infodir@&$infodir&g
4885 s&@localedir@&$localedir&g
4886 s&@mandir@&$mandir&g
4887 s&\\\${datarootdir}&$datarootdir&g' ;;
4888 esac
4889 _ACEOF
4890
4891 # Neutralize VPATH when `$srcdir' = `.'.
4892 # Shell code in configure.ac might set extrasub.
4893 # FIXME: do we really want to maintain this feature?
4894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4895 ac_sed_extra="$ac_vpsub
4896 $extrasub
4897 _ACEOF
4898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4899 :t
4900 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4901 s|@configure_input@|$ac_sed_conf_input|;t t
4902 s&@top_builddir@&$ac_top_builddir_sub&;t t
4903 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4904 s&@srcdir@&$ac_srcdir&;t t
4905 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4906 s&@top_srcdir@&$ac_top_srcdir&;t t
4907 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4908 s&@builddir@&$ac_builddir&;t t
4909 s&@abs_builddir@&$ac_abs_builddir&;t t
4910 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4911 s&@INSTALL@&$ac_INSTALL&;t t
4912 $ac_datarootdir_hack
4913 "
4914 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4915 || as_fn_error "could not create $ac_file" "$LINENO" 5
4916
4917 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4918 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4919 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4921 which seems to be undefined. Please make sure it is defined." >&5
4922 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4923 which seems to be undefined. Please make sure it is defined." >&2;}
4924
4925 rm -f "$tmp/stdin"
4926 case $ac_file in
4927 -) cat "$tmp/out" && rm -f "$tmp/out";;
4928 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4929 esac \
4930 || as_fn_error "could not create $ac_file" "$LINENO" 5
4931 ;;
4932 :H)
4933 #
4934 # CONFIG_HEADER
4935 #
4936 if test x"$ac_file" != x-; then
4937 {
4938 $as_echo "/* $configure_input */" \
4939 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4940 } >"$tmp/config.h" \
4941 || as_fn_error "could not create $ac_file" "$LINENO" 5
4942 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4944 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4945 else
4946 rm -f "$ac_file"
4947 mv "$tmp/config.h" "$ac_file" \
4948 || as_fn_error "could not create $ac_file" "$LINENO" 5
4949 fi
4950 else
4951 $as_echo "/* $configure_input */" \
4952 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4953 || as_fn_error "could not create -" "$LINENO" 5
4954 fi
4955 ;;
4956
4957
4958 esac
4959
4960 done # for ac_tag
4961
4962
4963 as_fn_exit 0
4964 _ACEOF
4965 ac_clean_files=$ac_clean_files_save
4966
4967 test $ac_write_fail = 0 ||
4968 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4969
4970
4971 # configure is writing to config.log, and then calls config.status.
4972 # config.status does its own redirection, appending to config.log.
4973 # Unfortunately, on DOS this fails, as config.log is still kept open
4974 # by configure, so config.status won't be able to write to it; its
4975 # output is simply discarded. So we exec the FD to /dev/null,
4976 # effectively closing config.log, so it can be properly (re)opened and
4977 # appended to by config.status. When coming back to configure, we
4978 # need to make the FD available again.
4979 if test "$no_create" != yes; then
4980 ac_cs_success=:
4981 ac_config_status_args=
4982 test "$silent" = yes &&
4983 ac_config_status_args="$ac_config_status_args --quiet"
4984 exec 5>/dev/null
4985 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4986 exec 5>>config.log
4987 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4988 # would make configure fail if this is the last instruction.
4989 $ac_cs_success || as_fn_exit $?
4990 fi
4991 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4993 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4994 fi
4995