Debian Codegraph @

configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ht 2.1.0.
4 #
5 # Report bugs to <https://sourceforge.net/tracker/?group_id=1066>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, 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 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176 esac
177 fi
178 "
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193 exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
206 fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227 fi
228 fi
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell [email protected] and
270 $0: https://sourceforge.net/tracker/?group_id=1066 about
271 $0: your system, including any error possibly output before
272 $0: this message. Then install a modern shell, or manually
273 $0: run the script under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
301 {
302 return $1
303 } # as_fn_set_status
304
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
309 {
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
314
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
319 {
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361 } # as_fn_mkdir_p
362
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
367 {
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381 else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386 fi # as_fn_append
387
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398 else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403 fi # as_fn_arith
404
405
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
412 {
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
421
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
427 fi
428
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
433 fi
434
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
439 fi
440
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501 }
502
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512 *)
513 ECHO_N='-n';;
514 esac
515
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522 fi
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537 else
538 as_ln_s='cp -pR'
539 fi
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
542
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548 fi
549
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
552
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
562
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568 #
569 # Initializations.
570 #
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
579
580 # Identity of this package.
581 PACKAGE_NAME='ht'
582 PACKAGE_TARNAME='ht'
583 PACKAGE_VERSION='2.1.0'
584 PACKAGE_STRING='ht 2.1.0'
585 PACKAGE_BUGREPORT='https://sourceforge.net/tracker/?group_id=1066'
586 PACKAGE_URL=''
587
588 # Factoring default headers for most tests.
589 ac_includes_default="\
590 #include <stdio.h>
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
593 #endif
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
596 #endif
597 #ifdef STDC_HEADERS
598 # include <stdlib.h>
599 # include <stddef.h>
600 #else
601 # ifdef HAVE_STDLIB_H
602 # include <stdlib.h>
603 # endif
604 #endif
605 #ifdef HAVE_STRING_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
607 # include <memory.h>
608 # endif
609 # include <string.h>
610 #endif
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
613 #endif
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
616 #endif
617 #ifdef HAVE_STDINT_H
618 # include <stdint.h>
619 #endif
620 #ifdef HAVE_UNISTD_H
621 # include <unistd.h>
622 #endif"
623
624 ac_subst_vars='am__EXEEXT_FALSE
625 am__EXEEXT_TRUE
626 LTLIBOBJS
627 LIBOBJS
628 HT_LIBS
629 HT_LDFLAGS
630 IO_DIR
631 ENABLE_INCLUDED_LZO_FALSE
632 ENABLE_INCLUDED_LZO_TRUE
633 USE_LZO_FALSE
634 USE_LZO_TRUE
635 EGREP
636 GREP
637 LZO_LIBS
638 AR
639 LEXLIB
640 LEX_OUTPUT_ROOT
641 LEX
642 YFLAGS
643 YACC
644 am__fastdepCXX_FALSE
645 am__fastdepCXX_TRUE
646 CXXDEPMODE
647 ac_ct_CXX
648 CXXFLAGS
649 CXX
650 CPP
651 am__fastdepCC_FALSE
652 am__fastdepCC_TRUE
653 CCDEPMODE
654 am__nodep
655 AMDEPBACKSLASH
656 AMDEP_FALSE
657 AMDEP_TRUE
658 am__quote
659 am__include
660 DEPDIR
661 OBJEXT
662 EXEEXT
663 ac_ct_CC
664 CPPFLAGS
665 LDFLAGS
666 CFLAGS
667 CC
668 MAKE
669 RANLIB
670 USE_WIN32_DIR_FALSE
671 USE_WIN32_DIR_TRUE
672 USE_POSIX_DIR_FALSE
673 USE_POSIX_DIR_TRUE
674 AM_BACKSLASH
675 AM_DEFAULT_VERBOSITY
676 AM_DEFAULT_V
677 AM_V
678 am__untar
679 am__tar
680 AMTAR
681 am__leading_dot
682 SET_MAKE
683 AWK
684 mkdir_p
685 MKDIR_P
686 INSTALL_STRIP_PROGRAM
687 STRIP
688 install_sh
689 MAKEINFO
690 AUTOHEADER
691 AUTOMAKE
692 AUTOCONF
693 ACLOCAL
694 VERSION
695 PACKAGE
696 CYGPATH_W
697 am__isrc
698 INSTALL_DATA
699 INSTALL_SCRIPT
700 INSTALL_PROGRAM
701 target_os
702 target_vendor
703 target_cpu
704 target
705 host_os
706 host_vendor
707 host_cpu
708 host
709 build_os
710 build_vendor
711 build_cpu
712 build
713 target_alias
714 host_alias
715 build_alias
716 LIBS
717 ECHO_T
718 ECHO_N
719 ECHO_C
720 DEFS
721 mandir
722 localedir
723 libdir
724 psdir
725 pdfdir
726 dvidir
727 htmldir
728 infodir
729 docdir
730 oldincludedir
731 includedir
732 localstatedir
733 sharedstatedir
734 sysconfdir
735 datadir
736 datarootdir
737 libexecdir
738 sbindir
739 bindir
740 program_transform_name
741 prefix
742 exec_prefix
743 PACKAGE_URL
744 PACKAGE_BUGREPORT
745 PACKAGE_STRING
746 PACKAGE_VERSION
747 PACKAGE_TARNAME
748 PACKAGE_NAME
749 PATH_SEPARATOR
750 SHELL'
751 ac_subst_files=''
752 ac_user_opts='
753 enable_option_checking
754 enable_x11_textmode
755 enable_maintainermode
756 enable_release
757 enable_profiling
758 enable_silent_rules
759 enable_dependency_tracking
760 with_included_lzo
761 '
762 ac_precious_vars='build_alias
763 host_alias
764 target_alias
765 CC
766 CFLAGS
767 LDFLAGS
768 LIBS
769 CPPFLAGS
770 CPP
771 CXX
772 CXXFLAGS
773 CCC
774 YACC
775 YFLAGS'
776
777
778 # Initialize some variables set by options.
779 ac_init_help=
780 ac_init_version=false
781 ac_unrecognized_opts=
782 ac_unrecognized_sep=
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
785 cache_file=/dev/null
786 exec_prefix=NONE
787 no_create=
788 no_recursion=
789 prefix=NONE
790 program_prefix=NONE
791 program_suffix=NONE
792 program_transform_name=s,x,x,
793 silent=
794 site=
795 srcdir=
796 verbose=
797 x_includes=NONE
798 x_libraries=NONE
799
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir='${exec_prefix}/bin'
807 sbindir='${exec_prefix}/sbin'
808 libexecdir='${exec_prefix}/libexec'
809 datarootdir='${prefix}/share'
810 datadir='${datarootdir}'
811 sysconfdir='${prefix}/etc'
812 sharedstatedir='${prefix}/com'
813 localstatedir='${prefix}/var'
814 includedir='${prefix}/include'
815 oldincludedir='/usr/include'
816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir='${datarootdir}/info'
818 htmldir='${docdir}'
819 dvidir='${docdir}'
820 pdfdir='${docdir}'
821 psdir='${docdir}'
822 libdir='${exec_prefix}/lib'
823 localedir='${datarootdir}/locale'
824 mandir='${datarootdir}/man'
825
826 ac_prev=
827 ac_dashdash=
828 for ac_option
829 do
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\$ac_option
833 ac_prev=
834 continue
835 fi
836
837 case $ac_option in
838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
839 *=) ac_optarg= ;;
840 *) ac_optarg=yes ;;
841 esac
842
843 # Accept the important Cygnus configure options, so we can diagnose typos.
844
845 case $ac_dashdash$ac_option in
846 --)
847 ac_dashdash=yes ;;
848
849 -bindir | --bindir | --bindi | --bind | --bin | --bi)
850 ac_prev=bindir ;;
851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
852 bindir=$ac_optarg ;;
853
854 -build | --build | --buil | --bui | --bu)
855 ac_prev=build_alias ;;
856 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857 build_alias=$ac_optarg ;;
858
859 -cache-file | --cache-file | --cache-fil | --cache-fi \
860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861 ac_prev=cache_file ;;
862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864 cache_file=$ac_optarg ;;
865
866 --config-cache | -C)
867 cache_file=config.cache ;;
868
869 -datadir | --datadir | --datadi | --datad)
870 ac_prev=datadir ;;
871 -datadir=* | --datadir=* | --datadi=* | --datad=*)
872 datadir=$ac_optarg ;;
873
874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875 | --dataroo | --dataro | --datar)
876 ac_prev=datarootdir ;;
877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879 datarootdir=$ac_optarg ;;
880
881 -disable-* | --disable-*)
882 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
885 as_fn_error $? "invalid feature name: $ac_useropt"
886 ac_useropt_orig=$ac_useropt
887 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
888 case $ac_user_opts in
889 *"
890 "enable_$ac_useropt"
891 "*) ;;
892 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
893 ac_unrecognized_sep=', ';;
894 esac
895 eval enable_$ac_useropt=no ;;
896
897 -docdir | --docdir | --docdi | --doc | --do)
898 ac_prev=docdir ;;
899 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
900 docdir=$ac_optarg ;;
901
902 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
903 ac_prev=dvidir ;;
904 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
905 dvidir=$ac_optarg ;;
906
907 -enable-* | --enable-*)
908 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
909 # Reject names that are not valid shell variable names.
910 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911 as_fn_error $? "invalid feature name: $ac_useropt"
912 ac_useropt_orig=$ac_useropt
913 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914 case $ac_user_opts in
915 *"
916 "enable_$ac_useropt"
917 "*) ;;
918 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
919 ac_unrecognized_sep=', ';;
920 esac
921 eval enable_$ac_useropt=\$ac_optarg ;;
922
923 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925 | --exec | --exe | --ex)
926 ac_prev=exec_prefix ;;
927 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929 | --exec=* | --exe=* | --ex=*)
930 exec_prefix=$ac_optarg ;;
931
932 -gas | --gas | --ga | --g)
933 # Obsolete; use --with-gas.
934 with_gas=yes ;;
935
936 -help | --help | --hel | --he | -h)
937 ac_init_help=long ;;
938 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939 ac_init_help=recursive ;;
940 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941 ac_init_help=short ;;
942
943 -host | --host | --hos | --ho)
944 ac_prev=host_alias ;;
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
947
948 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 ac_prev=htmldir ;;
950 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 | --ht=*)
952 htmldir=$ac_optarg ;;
953
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958 | --includ=* | --inclu=* | --incl=* | --inc=*)
959 includedir=$ac_optarg ;;
960
961 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 ac_prev=infodir ;;
963 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964 infodir=$ac_optarg ;;
965
966 -libdir | --libdir | --libdi | --libd)
967 ac_prev=libdir ;;
968 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 libdir=$ac_optarg ;;
970
971 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972 | --libexe | --libex | --libe)
973 ac_prev=libexecdir ;;
974 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975 | --libexe=* | --libex=* | --libe=*)
976 libexecdir=$ac_optarg ;;
977
978 -localedir | --localedir | --localedi | --localed | --locale)
979 ac_prev=localedir ;;
980 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981 localedir=$ac_optarg ;;
982
983 -localstatedir | --localstatedir | --localstatedi | --localstated \
984 | --localstate | --localstat | --localsta | --localst | --locals)
985 ac_prev=localstatedir ;;
986 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988 localstatedir=$ac_optarg ;;
989
990 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 ac_prev=mandir ;;
992 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993 mandir=$ac_optarg ;;
994
995 -nfp | --nfp | --nf)
996 # Obsolete; use --without-fp.
997 with_fp=no ;;
998
999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000 | --no-cr | --no-c | -n)
1001 no_create=yes ;;
1002
1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 no_recursion=yes ;;
1006
1007 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009 | --oldin | --oldi | --old | --ol | --o)
1010 ac_prev=oldincludedir ;;
1011 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014 oldincludedir=$ac_optarg ;;
1015
1016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 ac_prev=prefix ;;
1018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019 prefix=$ac_optarg ;;
1020
1021 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022 | --program-pre | --program-pr | --program-p)
1023 ac_prev=program_prefix ;;
1024 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026 program_prefix=$ac_optarg ;;
1027
1028 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029 | --program-suf | --program-su | --program-s)
1030 ac_prev=program_suffix ;;
1031 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033 program_suffix=$ac_optarg ;;
1034
1035 -program-transform-name | --program-transform-name \
1036 | --program-transform-nam | --program-transform-na \
1037 | --program-transform-n | --program-transform- \
1038 | --program-transform | --program-transfor \
1039 | --program-transfo | --program-transf \
1040 | --program-trans | --program-tran \
1041 | --progr-tra | --program-tr | --program-t)
1042 ac_prev=program_transform_name ;;
1043 -program-transform-name=* | --program-transform-name=* \
1044 | --program-transform-nam=* | --program-transform-na=* \
1045 | --program-transform-n=* | --program-transform-=* \
1046 | --program-transform=* | --program-transfor=* \
1047 | --program-transfo=* | --program-transf=* \
1048 | --program-trans=* | --program-tran=* \
1049 | --progr-tra=* | --program-tr=* | --program-t=*)
1050 program_transform_name=$ac_optarg ;;
1051
1052 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 ac_prev=pdfdir ;;
1054 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055 pdfdir=$ac_optarg ;;
1056
1057 -psdir | --psdir | --psdi | --psd | --ps)
1058 ac_prev=psdir ;;
1059 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 psdir=$ac_optarg ;;
1061
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1064 silent=yes ;;
1065
1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 ac_prev=sbindir ;;
1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 | --sbi=* | --sb=*)
1070 sbindir=$ac_optarg ;;
1071
1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074 | --sharedst | --shareds | --shared | --share | --shar \
1075 | --sha | --sh)
1076 ac_prev=sharedstatedir ;;
1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 | --sha=* | --sh=*)
1081 sharedstatedir=$ac_optarg ;;
1082
1083 -site | --site | --sit)
1084 ac_prev=site ;;
1085 -site=* | --site=* | --sit=*)
1086 site=$ac_optarg ;;
1087
1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 ac_prev=srcdir ;;
1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091 srcdir=$ac_optarg ;;
1092
1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094 | --syscon | --sysco | --sysc | --sys | --sy)
1095 ac_prev=sysconfdir ;;
1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098 sysconfdir=$ac_optarg ;;
1099
1100 -target | --target | --targe | --targ | --tar | --ta | --t)
1101 ac_prev=target_alias ;;
1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103 target_alias=$ac_optarg ;;
1104
1105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 verbose=yes ;;
1107
1108 -version | --version | --versio | --versi | --vers | -V)
1109 ac_init_version=: ;;
1110
1111 -with-* | --with-*)
1112 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115 as_fn_error $? "invalid package name: $ac_useropt"
1116 ac_useropt_orig=$ac_useropt
1117 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118 case $ac_user_opts in
1119 *"
1120 "with_$ac_useropt"
1121 "*) ;;
1122 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1123 ac_unrecognized_sep=', ';;
1124 esac
1125 eval with_$ac_useropt=\$ac_optarg ;;
1126
1127 -without-* | --without-*)
1128 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1129 # Reject names that are not valid shell variable names.
1130 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1131 as_fn_error $? "invalid package name: $ac_useropt"
1132 ac_useropt_orig=$ac_useropt
1133 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1134 case $ac_user_opts in
1135 *"
1136 "with_$ac_useropt"
1137 "*) ;;
1138 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1139 ac_unrecognized_sep=', ';;
1140 esac
1141 eval with_$ac_useropt=no ;;
1142
1143 --x)
1144 # Obsolete; use --with-x.
1145 with_x=yes ;;
1146
1147 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1148 | --x-incl | --x-inc | --x-in | --x-i)
1149 ac_prev=x_includes ;;
1150 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1151 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1152 x_includes=$ac_optarg ;;
1153
1154 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1155 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1156 ac_prev=x_libraries ;;
1157 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1158 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1159 x_libraries=$ac_optarg ;;
1160
1161 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1162 Try \`$0 --help' for more information"
1163 ;;
1164
1165 *=*)
1166 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1167 # Reject names that are not valid shell variable names.
1168 case $ac_envvar in #(
1169 '' | [0-9]* | *[!_$as_cr_alnum]* )
1170 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1171 esac
1172 eval $ac_envvar=\$ac_optarg
1173 export $ac_envvar ;;
1174
1175 *)
1176 # FIXME: should be removed in autoconf 3.0.
1177 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1178 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1179 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1180 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 ;;
1182
1183 esac
1184 done
1185
1186 if test -n "$ac_prev"; then
1187 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1188 as_fn_error $? "missing argument to $ac_option"
1189 fi
1190
1191 if test -n "$ac_unrecognized_opts"; then
1192 case $enable_option_checking in
1193 no) ;;
1194 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1196 esac
1197 fi
1198
1199 # Check all directory arguments for consistency.
1200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir
1204 do
1205 eval ac_val=\$$ac_var
1206 # Remove trailing slashes.
1207 case $ac_val in
1208 */ )
1209 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210 eval $ac_var=\$ac_val;;
1211 esac
1212 # Be sure to have absolute directory names.
1213 case $ac_val in
1214 [\\/$]* | ?:[\\/]* ) continue;;
1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1216 esac
1217 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1218 done
1219
1220 # There might be people who depend on the old broken behavior: `$host'
1221 # used to hold the argument of --host etc.
1222 # FIXME: To remove some day.
1223 build=$build_alias
1224 host=$host_alias
1225 target=$target_alias
1226
1227 # FIXME: To remove some day.
1228 if test "x$host_alias" != x; then
1229 if test "x$build_alias" = x; then
1230 cross_compiling=maybe
1231 elif test "x$build_alias" != "x$host_alias"; then
1232 cross_compiling=yes
1233 fi
1234 fi
1235
1236 ac_tool_prefix=
1237 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1238
1239 test "$silent" = yes && exec 6>/dev/null
1240
1241
1242 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1243 ac_ls_di=`ls -di .` &&
1244 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1245 as_fn_error $? "working directory cannot be determined"
1246 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1247 as_fn_error $? "pwd does not report name of working directory"
1248
1249
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252 ac_srcdir_defaulted=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir=`$as_dirname -- "$as_myself" ||
1255 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$as_myself" : 'X\(//\)[^/]' \| \
1257 X"$as_myself" : 'X\(//\)$' \| \
1258 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1259 $as_echo X"$as_myself" |
1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1261 s//\1/
1262 q
1263 }
1264 /^X\(\/\/\)[^/].*/{
1265 s//\1/
1266 q
1267 }
1268 /^X\(\/\/\)$/{
1269 s//\1/
1270 q
1271 }
1272 /^X\(\/\).*/{
1273 s//\1/
1274 q
1275 }
1276 s/.*/./; q'`
1277 srcdir=$ac_confdir
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1279 srcdir=..
1280 fi
1281 else
1282 ac_srcdir_defaulted=no
1283 fi
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1286 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1287 fi
1288 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1289 ac_abs_confdir=`(
1290 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1291 pwd)`
1292 # When building in place, set srcdir=.
1293 if test "$ac_abs_confdir" = "$ac_pwd"; then
1294 srcdir=.
1295 fi
1296 # Remove unnecessary trailing slashes from srcdir.
1297 # Double slashes in file names in object file debugging info
1298 # mess up M-x gdb in Emacs.
1299 case $srcdir in
1300 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1301 esac
1302 for ac_var in $ac_precious_vars; do
1303 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1304 eval ac_env_${ac_var}_value=\$${ac_var}
1305 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1306 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1307 done
1308
1309 #
1310 # Report the --help message.
1311 #
1312 if test "$ac_init_help" = "long"; then
1313 # Omit some internal or obsolete options to make the list less imposing.
1314 # This message is too long to be a string in the A/UX 3.1 sh.
1315 cat <<_ACEOF
1316 \`configure' configures ht 2.1.0 to adapt to many kinds of systems.
1317
1318 Usage: $0 [OPTION]... [VAR=VALUE]...
1319
1320 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1321 VAR=VALUE. See below for descriptions of some of the useful variables.
1322
1323 Defaults for the options are specified in brackets.
1324
1325 Configuration:
1326 -h, --help display this help and exit
1327 --help=short display options specific to this package
1328 --help=recursive display the short help of all the included packages
1329 -V, --version display version information and exit
1330 -q, --quiet, --silent do not print \`checking ...' messages
1331 --cache-file=FILE cache test results in FILE [disabled]
1332 -C, --config-cache alias for \`--cache-file=config.cache'
1333 -n, --no-create do not create output files
1334 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1335
1336 Installation directories:
1337 --prefix=PREFIX install architecture-independent files in PREFIX
1338 [$ac_default_prefix]
1339 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1340 [PREFIX]
1341
1342 By default, \`make install' will install all the files in
1343 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1344 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1345 for instance \`--prefix=\$HOME'.
1346
1347 For better control, use the options below.
1348
1349 Fine tuning of the installation directories:
1350 --bindir=DIR user executables [EPREFIX/bin]
1351 --sbindir=DIR system admin executables [EPREFIX/sbin]
1352 --libexecdir=DIR program executables [EPREFIX/libexec]
1353 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1354 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1355 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1356 --libdir=DIR object code libraries [EPREFIX/lib]
1357 --includedir=DIR C header files [PREFIX/include]
1358 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1359 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1360 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1361 --infodir=DIR info documentation [DATAROOTDIR/info]
1362 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1363 --mandir=DIR man documentation [DATAROOTDIR/man]
1364 --docdir=DIR documentation root [DATAROOTDIR/doc/ht]
1365 --htmldir=DIR html documentation [DOCDIR]
1366 --dvidir=DIR dvi documentation [DOCDIR]
1367 --pdfdir=DIR pdf documentation [DOCDIR]
1368 --psdir=DIR ps documentation [DOCDIR]
1369 _ACEOF
1370
1371 cat <<\_ACEOF
1372
1373 Program names:
1374 --program-prefix=PREFIX prepend PREFIX to installed program names
1375 --program-suffix=SUFFIX append SUFFIX to installed program names
1376 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1377
1378 System types:
1379 --build=BUILD configure for building on BUILD [guessed]
1380 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1381 --target=TARGET configure for building compilers for TARGET [HOST]
1382 _ACEOF
1383 fi
1384
1385 if test -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive ) echo "Configuration of ht 2.1.0:";;
1388 esac
1389 cat <<\_ACEOF
1390
1391 Optional Features:
1392 --disable-option-checking ignore unrecognized --enable/--with options
1393 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1394 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1395 --enable-x11-textmode build with x11 textmode support default=yes
1396 --enable-maintainermode minimise autodetection for package mantainers default=no
1397 --enable-release make a release build default=yes
1398 --enable-profiling make a profile build default=no
1399 --enable-silent-rules less verbose build output (undo: "make V=1")
1400 --disable-silent-rules verbose build output (undo: "make V=0")
1401 --enable-dependency-tracking
1402 do not reject slow dependency extractors
1403 --disable-dependency-tracking
1404 speeds up one-time build
1405
1406 Optional Packages:
1407 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1408 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1409 --with-included-lzo use included minilzo
1410
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1419 CPP C preprocessor
1420 CXX C++ compiler command
1421 CXXFLAGS C++ compiler flags
1422 YACC The `Yet Another Compiler Compiler' implementation to use.
1423 Defaults to the first program found out of: `bison -y', `byacc',
1424 `yacc'.
1425 YFLAGS The list of arguments that will be passed by default to $YACC.
1426 This script will default YFLAGS to the empty string to avoid a
1427 default value of `-d' given by some make applications.
1428
1429 Use these variables to override the choices made by `configure' or to help
1430 it to find libraries and programs with nonstandard names/locations.
1431
1432 Report bugs to <https://sourceforge.net/tracker/?group_id=1066>.
1433 _ACEOF
1434 ac_status=$?
1435 fi
1436
1437 if test "$ac_init_help" = "recursive"; then
1438 # If there are subdirs, report their specific --help.
1439 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1440 test -d "$ac_dir" ||
1441 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1442 continue
1443 ac_builddir=.
1444
1445 case "$ac_dir" in
1446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1447 *)
1448 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1449 # A ".." for each directory in $ac_dir_suffix.
1450 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1451 case $ac_top_builddir_sub in
1452 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1453 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1454 esac ;;
1455 esac
1456 ac_abs_top_builddir=$ac_pwd
1457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1458 # for backward compatibility:
1459 ac_top_builddir=$ac_top_build_prefix
1460
1461 case $srcdir in
1462 .) # We are building in place.
1463 ac_srcdir=.
1464 ac_top_srcdir=$ac_top_builddir_sub
1465 ac_abs_top_srcdir=$ac_pwd ;;
1466 [\\/]* | ?:[\\/]* ) # Absolute name.
1467 ac_srcdir=$srcdir$ac_dir_suffix;
1468 ac_top_srcdir=$srcdir
1469 ac_abs_top_srcdir=$srcdir ;;
1470 *) # Relative name.
1471 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1472 ac_top_srcdir=$ac_top_build_prefix$srcdir
1473 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1474 esac
1475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1476
1477 cd "$ac_dir" || { ac_status=$?; continue; }
1478 # Check for guested configure.
1479 if test -f "$ac_srcdir/configure.gnu"; then
1480 echo &&
1481 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1482 elif test -f "$ac_srcdir/configure"; then
1483 echo &&
1484 $SHELL "$ac_srcdir/configure" --help=recursive
1485 else
1486 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1487 fi || ac_status=$?
1488 cd "$ac_pwd" || { ac_status=$?; break; }
1489 done
1490 fi
1491
1492 test -n "$ac_init_help" && exit $ac_status
1493 if $ac_init_version; then
1494 cat <<\_ACEOF
1495 ht configure 2.1.0
1496 generated by GNU Autoconf 2.69
1497
1498 Copyright (C) 2012 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502 exit
1503 fi
1504
1505 ## ------------------------ ##
1506 ## Autoconf initialization. ##
1507 ## ------------------------ ##
1508
1509 # ac_fn_c_try_compile LINENO
1510 # --------------------------
1511 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1512 ac_fn_c_try_compile ()
1513 {
1514 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1515 rm -f conftest.$ac_objext
1516 if { { ac_try="$ac_compile"
1517 case "(($ac_try" in
1518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1519 *) ac_try_echo=$ac_try;;
1520 esac
1521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1522 $as_echo "$ac_try_echo"; } >&5
1523 (eval "$ac_compile") 2>conftest.err
1524 ac_status=$?
1525 if test -s conftest.err; then
1526 grep -v '^ *+' conftest.err >conftest.er1
1527 cat conftest.er1 >&5
1528 mv -f conftest.er1 conftest.err
1529 fi
1530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1531 test $ac_status = 0; } && {
1532 test -z "$ac_c_werror_flag" ||
1533 test ! -s conftest.err
1534 } && test -s conftest.$ac_objext; then :
1535 ac_retval=0
1536 else
1537 $as_echo "$as_me: failed program was:" >&5
1538 sed 's/^/| /' conftest.$ac_ext >&5
1539
1540 ac_retval=1
1541 fi
1542 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1543 as_fn_set_status $ac_retval
1544
1545 } # ac_fn_c_try_compile
1546
1547 # ac_fn_c_try_cpp LINENO
1548 # ----------------------
1549 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1550 ac_fn_c_try_cpp ()
1551 {
1552 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1553 if { { ac_try="$ac_cpp conftest.$ac_ext"
1554 case "(($ac_try" in
1555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1556 *) ac_try_echo=$ac_try;;
1557 esac
1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1559 $as_echo "$ac_try_echo"; } >&5
1560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1561 ac_status=$?
1562 if test -s conftest.err; then
1563 grep -v '^ *+' conftest.err >conftest.er1
1564 cat conftest.er1 >&5
1565 mv -f conftest.er1 conftest.err
1566 fi
1567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1568 test $ac_status = 0; } > conftest.i && {
1569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1570 test ! -s conftest.err
1571 }; then :
1572 ac_retval=0
1573 else
1574 $as_echo "$as_me: failed program was:" >&5
1575 sed 's/^/| /' conftest.$ac_ext >&5
1576
1577 ac_retval=1
1578 fi
1579 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1580 as_fn_set_status $ac_retval
1581
1582 } # ac_fn_c_try_cpp
1583
1584 # ac_fn_cxx_try_compile LINENO
1585 # ----------------------------
1586 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1587 ac_fn_cxx_try_compile ()
1588 {
1589 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590 rm -f conftest.$ac_objext
1591 if { { ac_try="$ac_compile"
1592 case "(($ac_try" in
1593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594 *) ac_try_echo=$ac_try;;
1595 esac
1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597 $as_echo "$ac_try_echo"; } >&5
1598 (eval "$ac_compile") 2>conftest.err
1599 ac_status=$?
1600 if test -s conftest.err; then
1601 grep -v '^ *+' conftest.err >conftest.er1
1602 cat conftest.er1 >&5
1603 mv -f conftest.er1 conftest.err
1604 fi
1605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606 test $ac_status = 0; } && {
1607 test -z "$ac_cxx_werror_flag" ||
1608 test ! -s conftest.err
1609 } && test -s conftest.$ac_objext; then :
1610 ac_retval=0
1611 else
1612 $as_echo "$as_me: failed program was:" >&5
1613 sed 's/^/| /' conftest.$ac_ext >&5
1614
1615 ac_retval=1
1616 fi
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1619
1620 } # ac_fn_cxx_try_compile
1621
1622 # ac_fn_c_try_link LINENO
1623 # -----------------------
1624 # Try to link conftest.$ac_ext, and return whether this succeeded.
1625 ac_fn_c_try_link ()
1626 {
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 rm -f conftest.$ac_objext conftest$ac_exeext
1629 if { { ac_try="$ac_link"
1630 case "(($ac_try" in
1631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1632 *) ac_try_echo=$ac_try;;
1633 esac
1634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1635 $as_echo "$ac_try_echo"; } >&5
1636 (eval "$ac_link") 2>conftest.err
1637 ac_status=$?
1638 if test -s conftest.err; then
1639 grep -v '^ *+' conftest.err >conftest.er1
1640 cat conftest.er1 >&5
1641 mv -f conftest.er1 conftest.err
1642 fi
1643 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1644 test $ac_status = 0; } && {
1645 test -z "$ac_c_werror_flag" ||
1646 test ! -s conftest.err
1647 } && test -s conftest$ac_exeext && {
1648 test "$cross_compiling" = yes ||
1649 test -x conftest$ac_exeext
1650 }; then :
1651 ac_retval=0
1652 else
1653 $as_echo "$as_me: failed program was:" >&5
1654 sed 's/^/| /' conftest.$ac_ext >&5
1655
1656 ac_retval=1
1657 fi
1658 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1659 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1660 # interfere with the next link command; also delete a directory that is
1661 # left behind by Apple's compiler. We do this before executing the actions.
1662 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1663 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 as_fn_set_status $ac_retval
1665
1666 } # ac_fn_c_try_link
1667
1668 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1669 # -------------------------------------------------------
1670 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1671 # the include files in INCLUDES and setting the cache variable VAR
1672 # accordingly.
1673 ac_fn_c_check_header_mongrel ()
1674 {
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 if eval \${$3+:} false; then :
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1681 fi
1682 eval ac_res=\$$3
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1684 $as_echo "$ac_res" >&6; }
1685 else
1686 # Is the header compilable?
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1688 $as_echo_n "checking $2 usability... " >&6; }
1689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1690 /* end confdefs.h. */
1691 $4
1692 #include <$2>
1693 _ACEOF
1694 if ac_fn_c_try_compile "$LINENO"; then :
1695 ac_header_compiler=yes
1696 else
1697 ac_header_compiler=no
1698 fi
1699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1701 $as_echo "$ac_header_compiler" >&6; }
1702
1703 # Is the header present?
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1705 $as_echo_n "checking $2 presence... " >&6; }
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1708 #include <$2>
1709 _ACEOF
1710 if ac_fn_c_try_cpp "$LINENO"; then :
1711 ac_header_preproc=yes
1712 else
1713 ac_header_preproc=no
1714 fi
1715 rm -f conftest.err conftest.i conftest.$ac_ext
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1717 $as_echo "$ac_header_preproc" >&6; }
1718
1719 # So? What about this header?
1720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1721 yes:no: )
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1723 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1725 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1726 ;;
1727 no:yes:* )
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1729 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1731 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1733 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1735 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1737 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1738 ( $as_echo "## ------------------------------------------------------------- ##
1739 ## Report this to https://sourceforge.net/tracker/?group_id=1066 ##
1740 ## ------------------------------------------------------------- ##"
1741 ) | sed "s/^/$as_me: WARNING: /" >&2
1742 ;;
1743 esac
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1745 $as_echo_n "checking for $2... " >&6; }
1746 if eval \${$3+:} false; then :
1747 $as_echo_n "(cached) " >&6
1748 else
1749 eval "$3=\$ac_header_compiler"
1750 fi
1751 eval ac_res=\$$3
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753 $as_echo "$ac_res" >&6; }
1754 fi
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756
1757 } # ac_fn_c_check_header_mongrel
1758
1759 # ac_fn_c_try_run LINENO
1760 # ----------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1762 # that executables *can* be run.
1763 ac_fn_c_try_run ()
1764 {
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_link"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>&5
1774 ac_status=$?
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1777 { { case "(($ac_try" in
1778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1779 *) ac_try_echo=$ac_try;;
1780 esac
1781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1782 $as_echo "$ac_try_echo"; } >&5
1783 (eval "$ac_try") 2>&5
1784 ac_status=$?
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; }; }; then :
1787 ac_retval=0
1788 else
1789 $as_echo "$as_me: program exited with status $ac_status" >&5
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1792
1793 ac_retval=$ac_status
1794 fi
1795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797 as_fn_set_status $ac_retval
1798
1799 } # ac_fn_c_try_run
1800
1801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802 # -------------------------------------------------------
1803 # Tests whether HEADER exists and can be compiled using the include files in
1804 # INCLUDES, setting the cache variable VAR accordingly.
1805 ac_fn_c_check_header_compile ()
1806 {
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if eval \${$3+:} false; then :
1811 $as_echo_n "(cached) " >&6
1812 else
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1815 $4
1816 #include <$2>
1817 _ACEOF
1818 if ac_fn_c_try_compile "$LINENO"; then :
1819 eval "$3=yes"
1820 else
1821 eval "$3=no"
1822 fi
1823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 fi
1825 eval ac_res=\$$3
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827 $as_echo "$ac_res" >&6; }
1828 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1829
1830 } # ac_fn_c_check_header_compile
1831
1832 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1833 # --------------------------------------------
1834 # Tries to find the compile-time value of EXPR in a program that includes
1835 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1836 # computed
1837 ac_fn_c_compute_int ()
1838 {
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 if test "$cross_compiling" = yes; then
1841 # Depending upon the size, compute the lo and hi bounds.
1842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843 /* end confdefs.h. */
1844 $4
1845 int
1846 main ()
1847 {
1848 static int test_array [1 - 2 * !(($2) >= 0)];
1849 test_array [0] = 0;
1850 return test_array [0];
1851
1852 ;
1853 return 0;
1854 }
1855 _ACEOF
1856 if ac_fn_c_try_compile "$LINENO"; then :
1857 ac_lo=0 ac_mid=0
1858 while :; do
1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1861 $4
1862 int
1863 main ()
1864 {
1865 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1866 test_array [0] = 0;
1867 return test_array [0];
1868
1869 ;
1870 return 0;
1871 }
1872 _ACEOF
1873 if ac_fn_c_try_compile "$LINENO"; then :
1874 ac_hi=$ac_mid; break
1875 else
1876 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1877 if test $ac_lo -le $ac_mid; then
1878 ac_lo= ac_hi=
1879 break
1880 fi
1881 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1882 fi
1883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1884 done
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1888 $4
1889 int
1890 main ()
1891 {
1892 static int test_array [1 - 2 * !(($2) < 0)];
1893 test_array [0] = 0;
1894 return test_array [0];
1895
1896 ;
1897 return 0;
1898 }
1899 _ACEOF
1900 if ac_fn_c_try_compile "$LINENO"; then :
1901 ac_hi=-1 ac_mid=-1
1902 while :; do
1903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1905 $4
1906 int
1907 main ()
1908 {
1909 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1910 test_array [0] = 0;
1911 return test_array [0];
1912
1913 ;
1914 return 0;
1915 }
1916 _ACEOF
1917 if ac_fn_c_try_compile "$LINENO"; then :
1918 ac_lo=$ac_mid; break
1919 else
1920 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1921 if test $ac_mid -le $ac_hi; then
1922 ac_lo= ac_hi=
1923 break
1924 fi
1925 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1926 fi
1927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928 done
1929 else
1930 ac_lo= ac_hi=
1931 fi
1932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1933 fi
1934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1935 # Binary search between lo and hi bounds.
1936 while test "x$ac_lo" != "x$ac_hi"; do
1937 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 $4
1941 int
1942 main ()
1943 {
1944 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1945 test_array [0] = 0;
1946 return test_array [0];
1947
1948 ;
1949 return 0;
1950 }
1951 _ACEOF
1952 if ac_fn_c_try_compile "$LINENO"; then :
1953 ac_hi=$ac_mid
1954 else
1955 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1956 fi
1957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958 done
1959 case $ac_lo in #((
1960 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1961 '') ac_retval=1 ;;
1962 esac
1963 else
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1966 $4
1967 static long int longval () { return $2; }
1968 static unsigned long int ulongval () { return $2; }
1969 #include <stdio.h>
1970 #include <stdlib.h>
1971 int
1972 main ()
1973 {
1974
1975 FILE *f = fopen ("conftest.val", "w");
1976 if (! f)
1977 return 1;
1978 if (($2) < 0)
1979 {
1980 long int i = longval ();
1981 if (i != ($2))
1982 return 1;
1983 fprintf (f, "%ld", i);
1984 }
1985 else
1986 {
1987 unsigned long int i = ulongval ();
1988 if (i != ($2))
1989 return 1;
1990 fprintf (f, "%lu", i);
1991 }
1992 /* Do not output a trailing newline, as this causes \r\n confusion
1993 on some platforms. */
1994 return ferror (f) || fclose (f) != 0;
1995
1996 ;
1997 return 0;
1998 }
1999 _ACEOF
2000 if ac_fn_c_try_run "$LINENO"; then :
2001 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2002 else
2003 ac_retval=1
2004 fi
2005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2006 conftest.$ac_objext conftest.beam conftest.$ac_ext
2007 rm -f conftest.val
2008
2009 fi
2010 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2011 as_fn_set_status $ac_retval
2012
2013 } # ac_fn_c_compute_int
2014
2015 # ac_fn_c_check_func LINENO FUNC VAR
2016 # ----------------------------------
2017 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2018 ac_fn_c_check_func ()
2019 {
2020 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2022 $as_echo_n "checking for $2... " >&6; }
2023 if eval \${$3+:} false; then :
2024 $as_echo_n "(cached) " >&6
2025 else
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2028 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2030 #define $2 innocuous_$2
2031
2032 /* System header to define __stub macros and hopefully few prototypes,
2033 which can conflict with char $2 (); below.
2034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2035 <limits.h> exists even on freestanding compilers. */
2036
2037 #ifdef __STDC__
2038 # include <limits.h>
2039 #else
2040 # include <assert.h>
2041 #endif
2042
2043 #undef $2
2044
2045 /* Override any GCC internal prototype to avoid an error.
2046 Use char because int might match the return type of a GCC
2047 builtin and then its argument prototype would still apply. */
2048 #ifdef __cplusplus
2049 extern "C"
2050 #endif
2051 char $2 ();
2052 /* The GNU C library defines this for functions which it implements
2053 to always fail with ENOSYS. Some functions are actually named
2054 something starting with __ and the normal name is an alias. */
2055 #if defined __stub_$2 || defined __stub___$2
2056 choke me
2057 #endif
2058
2059 int
2060 main ()
2061 {
2062 return $2 ();
2063 ;
2064 return 0;
2065 }
2066 _ACEOF
2067 if ac_fn_c_try_link "$LINENO"; then :
2068 eval "$3=yes"
2069 else
2070 eval "$3=no"
2071 fi
2072 rm -f core conftest.err conftest.$ac_objext \
2073 conftest$ac_exeext conftest.$ac_ext
2074 fi
2075 eval ac_res=\$$3
2076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2077 $as_echo "$ac_res" >&6; }
2078 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2079
2080 } # ac_fn_c_check_func
2081 cat >config.log <<_ACEOF
2082 This file contains any messages produced by compilers while
2083 running configure, to aid debugging if configure makes a mistake.
2084
2085 It was created by ht $as_me 2.1.0, which was
2086 generated by GNU Autoconf 2.69. Invocation command line was
2087
2088 $ $0 $@
2089
2090 _ACEOF
2091 exec 5>>config.log
2092 {
2093 cat <<_ASUNAME
2094 ## --------- ##
2095 ## Platform. ##
2096 ## --------- ##
2097
2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2103
2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2105 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2106
2107 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2108 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2110 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2111 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2112 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2113 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2114
2115 _ASUNAME
2116
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 for as_dir in $PATH
2119 do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 $as_echo "PATH: $as_dir"
2123 done
2124 IFS=$as_save_IFS
2125
2126 } >&5
2127
2128 cat >&5 <<_ACEOF
2129
2130
2131 ## ----------- ##
2132 ## Core tests. ##
2133 ## ----------- ##
2134
2135 _ACEOF
2136
2137
2138 # Keep a trace of the command line.
2139 # Strip out --no-create and --no-recursion so they do not pile up.
2140 # Strip out --silent because we don't want to record it for future runs.
2141 # Also quote any args containing shell meta-characters.
2142 # Make two passes to allow for proper duplicate-argument suppression.
2143 ac_configure_args=
2144 ac_configure_args0=
2145 ac_configure_args1=
2146 ac_must_keep_next=false
2147 for ac_pass in 1 2
2148 do
2149 for ac_arg
2150 do
2151 case $ac_arg in
2152 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2154 | -silent | --silent | --silen | --sile | --sil)
2155 continue ;;
2156 *\'*)
2157 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158 esac
2159 case $ac_pass in
2160 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2161 2)
2162 as_fn_append ac_configure_args1 " '$ac_arg'"
2163 if test $ac_must_keep_next = true; then
2164 ac_must_keep_next=false # Got value, back to normal.
2165 else
2166 case $ac_arg in
2167 *=* | --config-cache | -C | -disable-* | --disable-* \
2168 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2169 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2170 | -with-* | --with-* | -without-* | --without-* | --x)
2171 case "$ac_configure_args0 " in
2172 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173 esac
2174 ;;
2175 -* ) ac_must_keep_next=true ;;
2176 esac
2177 fi
2178 as_fn_append ac_configure_args " '$ac_arg'"
2179 ;;
2180 esac
2181 done
2182 done
2183 { ac_configure_args0=; unset ac_configure_args0;}
2184 { ac_configure_args1=; unset ac_configure_args1;}
2185
2186 # When interrupted or exit'd, cleanup temporary files, and complete
2187 # config.log. We remove comments because anyway the quotes in there
2188 # would cause problems or look ugly.
2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2191 trap 'exit_status=$?
2192 # Save into config.log some information that might help in debugging.
2193 {
2194 echo
2195
2196 $as_echo "## ---------------- ##
2197 ## Cache variables. ##
2198 ## ---------------- ##"
2199 echo
2200 # The following way of writing the cache mishandles newlines in values,
2201 (
2202 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2203 eval ac_val=\$$ac_var
2204 case $ac_val in #(
2205 *${as_nl}*)
2206 case $ac_var in #(
2207 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2209 esac
2210 case $ac_var in #(
2211 _ | IFS | as_nl) ;; #(
2212 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2213 *) { eval $ac_var=; unset $ac_var;} ;;
2214 esac ;;
2215 esac
2216 done
2217 (set) 2>&1 |
2218 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2219 *${as_nl}ac_space=\ *)
2220 sed -n \
2221 "s/'\''/'\''\\\\'\'''\''/g;
2222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223 ;; #(
2224 *)
2225 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2226 ;;
2227 esac |
2228 sort
2229 )
2230 echo
2231
2232 $as_echo "## ----------------- ##
2233 ## Output variables. ##
2234 ## ----------------- ##"
2235 echo
2236 for ac_var in $ac_subst_vars
2237 do
2238 eval ac_val=\$$ac_var
2239 case $ac_val in
2240 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2241 esac
2242 $as_echo "$ac_var='\''$ac_val'\''"
2243 done | sort
2244 echo
2245
2246 if test -n "$ac_subst_files"; then
2247 $as_echo "## ------------------- ##
2248 ## File substitutions. ##
2249 ## ------------------- ##"
2250 echo
2251 for ac_var in $ac_subst_files
2252 do
2253 eval ac_val=\$$ac_var
2254 case $ac_val in
2255 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2256 esac
2257 $as_echo "$ac_var='\''$ac_val'\''"
2258 done | sort
2259 echo
2260 fi
2261
2262 if test -s confdefs.h; then
2263 $as_echo "## ----------- ##
2264 ## confdefs.h. ##
2265 ## ----------- ##"
2266 echo
2267 cat confdefs.h
2268 echo
2269 fi
2270 test "$ac_signal" != 0 &&
2271 $as_echo "$as_me: caught signal $ac_signal"
2272 $as_echo "$as_me: exit $exit_status"
2273 } >&5
2274 rm -f core *.core core.conftest.* &&
2275 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2276 exit $exit_status
2277 ' 0
2278 for ac_signal in 1 2 13 15; do
2279 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2280 done
2281 ac_signal=0
2282
2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2284 rm -f -r conftest* confdefs.h
2285
2286 $as_echo "/* confdefs.h */" > confdefs.h
2287
2288 # Predefined preprocessor variables.
2289
2290 cat >>confdefs.h <<_ACEOF
2291 #define PACKAGE_NAME "$PACKAGE_NAME"
2292 _ACEOF
2293
2294 cat >>confdefs.h <<_ACEOF
2295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296 _ACEOF
2297
2298 cat >>confdefs.h <<_ACEOF
2299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2300 _ACEOF
2301
2302 cat >>confdefs.h <<_ACEOF
2303 #define PACKAGE_STRING "$PACKAGE_STRING"
2304 _ACEOF
2305
2306 cat >>confdefs.h <<_ACEOF
2307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308 _ACEOF
2309
2310 cat >>confdefs.h <<_ACEOF
2311 #define PACKAGE_URL "$PACKAGE_URL"
2312 _ACEOF
2313
2314
2315 # Let the site file select an alternate cache file if it wants to.
2316 # Prefer an explicitly selected file to automatically selected ones.
2317 ac_site_file1=NONE
2318 ac_site_file2=NONE
2319 if test -n "$CONFIG_SITE"; then
2320 # We do not want a PATH search for config.site.
2321 case $CONFIG_SITE in #((
2322 -*) ac_site_file1=./$CONFIG_SITE;;
2323 */*) ac_site_file1=$CONFIG_SITE;;
2324 *) ac_site_file1=./$CONFIG_SITE;;
2325 esac
2326 elif test "x$prefix" != xNONE; then
2327 ac_site_file1=$prefix/share/config.site
2328 ac_site_file2=$prefix/etc/config.site
2329 else
2330 ac_site_file1=$ac_default_prefix/share/config.site
2331 ac_site_file2=$ac_default_prefix/etc/config.site
2332 fi
2333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2334 do
2335 test "x$ac_site_file" = xNONE && continue
2336 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2339 sed 's/^/| /' "$ac_site_file" >&5
2340 . "$ac_site_file" \
2341 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2343 as_fn_error $? "failed to load site script $ac_site_file
2344 See \`config.log' for more details" "$LINENO" 5; }
2345 fi
2346 done
2347
2348 if test -r "$cache_file"; then
2349 # Some versions of bash will fail to source /dev/null (special files
2350 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2351 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
2354 case $cache_file in
2355 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2356 *) . "./$cache_file";;
2357 esac
2358 fi
2359 else
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
2362 >$cache_file
2363 fi
2364
2365 # Check that the precious variables saved in the cache have kept the same
2366 # value.
2367 ac_cache_corrupted=false
2368 for ac_var in $ac_precious_vars; do
2369 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2370 eval ac_new_set=\$ac_env_${ac_var}_set
2371 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2372 eval ac_new_val=\$ac_env_${ac_var}_value
2373 case $ac_old_set,$ac_new_set in
2374 set,)
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2377 ac_cache_corrupted=: ;;
2378 ,set)
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2381 ac_cache_corrupted=: ;;
2382 ,);;
2383 *)
2384 if test "x$ac_old_val" != "x$ac_new_val"; then
2385 # differences in whitespace do not lead to failure.
2386 ac_old_val_w=`echo x $ac_old_val`
2387 ac_new_val_w=`echo x $ac_new_val`
2388 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2391 ac_cache_corrupted=:
2392 else
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2395 eval $ac_var=\$ac_old_val
2396 fi
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2398 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2400 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2401 fi;;
2402 esac
2403 # Pass precious variables to config.status.
2404 if test "$ac_new_set" = set; then
2405 case $ac_new_val in
2406 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2407 *) ac_arg=$ac_var=$ac_new_val ;;
2408 esac
2409 case " $ac_configure_args " in
2410 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2411 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2412 esac
2413 fi
2414 done
2415 if $ac_cache_corrupted; then
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2420 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2421 fi
2422 ## -------------------- ##
2423 ## Main body of script. ##
2424 ## -------------------- ##
2425
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2431
2432
2433
2434
2435 ac_aux_dir=
2436 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2437 if test -f "$ac_dir/install-sh"; then
2438 ac_aux_dir=$ac_dir
2439 ac_install_sh="$ac_aux_dir/install-sh -c"
2440 break
2441 elif test -f "$ac_dir/install.sh"; then
2442 ac_aux_dir=$ac_dir
2443 ac_install_sh="$ac_aux_dir/install.sh -c"
2444 break
2445 elif test -f "$ac_dir/shtool"; then
2446 ac_aux_dir=$ac_dir
2447 ac_install_sh="$ac_aux_dir/shtool install -c"
2448 break
2449 fi
2450 done
2451 if test -z "$ac_aux_dir"; then
2452 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2453 fi
2454
2455 # These three variables are undocumented and unsupported,
2456 # and are intended to be withdrawn in a future Autoconf release.
2457 # They can cause serious problems if a builder's source tree is in a directory
2458 # whose full name contains unusual characters.
2459 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2460 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2461 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2462
2463
2464 # Make sure we can run config.sub.
2465 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2466 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2467
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2469 $as_echo_n "checking build system type... " >&6; }
2470 if ${ac_cv_build+:} false; then :
2471 $as_echo_n "(cached) " >&6
2472 else
2473 ac_build_alias=$build_alias
2474 test "x$ac_build_alias" = x &&
2475 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2476 test "x$ac_build_alias" = x &&
2477 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2478 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2479 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2480
2481 fi
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2483 $as_echo "$ac_cv_build" >&6; }
2484 case $ac_cv_build in
2485 *-*-*) ;;
2486 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2487 esac
2488 build=$ac_cv_build
2489 ac_save_IFS=$IFS; IFS='-'
2490 set x $ac_cv_build
2491 shift
2492 build_cpu=$1
2493 build_vendor=$2
2494 shift; shift
2495 # Remember, the first character of IFS is used to create $*,
2496 # except with old shells:
2497 build_os=$*
2498 IFS=$ac_save_IFS
2499 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2500
2501
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2503 $as_echo_n "checking host system type... " >&6; }
2504 if ${ac_cv_host+:} false; then :
2505 $as_echo_n "(cached) " >&6
2506 else
2507 if test "x$host_alias" = x; then
2508 ac_cv_host=$ac_cv_build
2509 else
2510 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2511 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2512 fi
2513
2514 fi
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2516 $as_echo "$ac_cv_host" >&6; }
2517 case $ac_cv_host in
2518 *-*-*) ;;
2519 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2520 esac
2521 host=$ac_cv_host
2522 ac_save_IFS=$IFS; IFS='-'
2523 set x $ac_cv_host
2524 shift
2525 host_cpu=$1
2526 host_vendor=$2
2527 shift; shift
2528 # Remember, the first character of IFS is used to create $*,
2529 # except with old shells:
2530 host_os=$*
2531 IFS=$ac_save_IFS
2532 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2533
2534
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2536 $as_echo_n "checking target system type... " >&6; }
2537 if ${ac_cv_target+:} false; then :
2538 $as_echo_n "(cached) " >&6
2539 else
2540 if test "x$target_alias" = x; then
2541 ac_cv_target=$ac_cv_host
2542 else
2543 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2544 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2545 fi
2546
2547 fi
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2549 $as_echo "$ac_cv_target" >&6; }
2550 case $ac_cv_target in
2551 *-*-*) ;;
2552 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2553 esac
2554 target=$ac_cv_target
2555 ac_save_IFS=$IFS; IFS='-'
2556 set x $ac_cv_target
2557 shift
2558 target_cpu=$1
2559 target_vendor=$2
2560 shift; shift
2561 # Remember, the first character of IFS is used to create $*,
2562 # except with old shells:
2563 target_os=$*
2564 IFS=$ac_save_IFS
2565 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2566
2567
2568 # The aliases save the names the user supplied, while $host etc.
2569 # will get canonicalized.
2570 test -n "$target_alias" &&
2571 test "$program_prefix$program_suffix$program_transform_name" = \
2572 NONENONEs,x,x, &&
2573 program_prefix=${target_alias}-
2574
2575
2576 # Check whether --enable-x11-textmode was given.
2577 if test "${enable_x11_textmode+set}" = set; then :
2578 enableval=$enable_x11_textmode;
2579 else
2580 enable_x11_textmode="yes"
2581 fi
2582
2583 # Check whether --enable-maintainermode was given.
2584 if test "${enable_maintainermode+set}" = set; then :
2585 enableval=$enable_maintainermode;
2586 else
2587 enable_maintainermode="no"
2588 fi
2589
2590 # Check whether --enable-release was given.
2591 if test "${enable_release+set}" = set; then :
2592 enableval=$enable_release;
2593 else
2594 enable_release="yes"
2595 fi
2596
2597 # Check whether --enable-profiling was given.
2598 if test "${enable_profiling+set}" = set; then :
2599 enableval=$enable_profiling;
2600 else
2601 enable_profiling="no"
2602 fi
2603
2604
2605 if test "x$enable_maintainermode" = "xno"; then
2606 if test "x$enable_release" = "xyes"; then
2607 FLAGS_ALL="-O3 -fomit-frame-pointer -Wall -fsigned-char"
2608 else
2609 FLAGS_ALL="-ggdb -g3 -O0 -Wall -fsigned-char"
2610 fi
2611
2612 if test "x$enable_profiling" = "xyes"; then
2613 FLAGS_ALL="$FLAGS_ALL -pg -g"
2614 fi
2615 fi
2616
2617 am__api_version='1.14'
2618
2619 # Find a good install program. We prefer a C program (faster),
2620 # so one script is as good as another. But avoid the broken or
2621 # incompatible versions:
2622 # SysV /etc/install, /usr/sbin/install
2623 # SunOS /usr/etc/install
2624 # IRIX /sbin/install
2625 # AIX /bin/install
2626 # AmigaOS /C/install, which installs bootblocks on floppy discs
2627 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2628 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2629 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2630 # OS/2's system install, which has a completely different semantic
2631 # ./install, which can be erroneously created by make from ./install.sh.
2632 # Reject install programs that cannot install multiple files.
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2634 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2635 if test -z "$INSTALL"; then
2636 if ${ac_cv_path_install+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 for as_dir in $PATH
2641 do
2642 IFS=$as_save_IFS
2643 test -z "$as_dir" && as_dir=.
2644 # Account for people who put trailing slashes in PATH elements.
2645 case $as_dir/ in #((
2646 ./ | .// | /[cC]/* | \
2647 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2648 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2649 /usr/ucb/* ) ;;
2650 *)
2651 # OSF1 and SCO ODT 3.0 have their own names for install.
2652 # Don't use installbsd from OSF since it installs stuff as root
2653 # by default.
2654 for ac_prog in ginstall scoinst install; do
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2657 if test $ac_prog = install &&
2658 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2659 # AIX install. It has an incompatible calling convention.
2660 :
2661 elif test $ac_prog = install &&
2662 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2663 # program-specific install script used by HP pwplus--don't use.
2664 :
2665 else
2666 rm -rf conftest.one conftest.two conftest.dir
2667 echo one > conftest.one
2668 echo two > conftest.two
2669 mkdir conftest.dir
2670 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2671 test -s conftest.one && test -s conftest.two &&
2672 test -s conftest.dir/conftest.one &&
2673 test -s conftest.dir/conftest.two
2674 then
2675 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2676 break 3
2677 fi
2678 fi
2679 fi
2680 done
2681 done
2682 ;;
2683 esac
2684
2685 done
2686 IFS=$as_save_IFS
2687
2688 rm -rf conftest.one conftest.two conftest.dir
2689
2690 fi
2691 if test "${ac_cv_path_install+set}" = set; then
2692 INSTALL=$ac_cv_path_install
2693 else
2694 # As a last resort, use the slow shell script. Don't cache a
2695 # value for INSTALL within a source directory, because that will
2696 # break other packages using the cache if that directory is
2697 # removed, or if the value is a relative name.
2698 INSTALL=$ac_install_sh
2699 fi
2700 fi
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2702 $as_echo "$INSTALL" >&6; }
2703
2704 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2705 # It thinks the first close brace ends the variable substitution.
2706 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2707
2708 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2709
2710 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2711
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2713 $as_echo_n "checking whether build environment is sane... " >&6; }
2714 # Reject unsafe characters in $srcdir or the absolute working directory
2715 # name. Accept space and tab only in the latter.
2716 am_lf='
2717 '
2718 case `pwd` in
2719 *[\\\"\#\$\&\'\`$am_lf]*)
2720 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2721 esac
2722 case $srcdir in
2723 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2724 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2725 esac
2726
2727 # Do 'set' in a subshell so we don't clobber the current shell's
2728 # arguments. Must try -L first in case configure is actually a
2729 # symlink; some systems play weird games with the mod time of symlinks
2730 # (eg FreeBSD returns the mod time of the symlink's containing
2731 # directory).
2732 if (
2733 am_has_slept=no
2734 for am_try in 1 2; do
2735 echo "timestamp, slept: $am_has_slept" > conftest.file
2736 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2737 if test "$*" = "X"; then
2738 # -L didn't work.
2739 set X `ls -t "$srcdir/configure" conftest.file`
2740 fi
2741 if test "$*" != "X $srcdir/configure conftest.file" \
2742 && test "$*" != "X conftest.file $srcdir/configure"; then
2743
2744 # If neither matched, then we have a broken ls. This can happen
2745 # if, for instance, CONFIG_SHELL is bash and it inherits a
2746 # broken ls alias from the environment. This has actually
2747 # happened. Such a system could not be considered "sane".
2748 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2749 alias in your environment" "$LINENO" 5
2750 fi
2751 if test "$2" = conftest.file || test $am_try -eq 2; then
2752 break
2753 fi
2754 # Just in case.
2755 sleep 1
2756 am_has_slept=yes
2757 done
2758 test "$2" = conftest.file
2759 )
2760 then
2761 # Ok.
2762 :
2763 else
2764 as_fn_error $? "newly created file is older than distributed files!
2765 Check your system clock" "$LINENO" 5
2766 fi
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2768 $as_echo "yes" >&6; }
2769 # If we didn't sleep, we still need to ensure time stamps of config.status and
2770 # generated files are strictly newer.
2771 am_sleep_pid=
2772 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2773 ( sleep 1 ) &
2774 am_sleep_pid=$!
2775 fi
2776
2777 rm -f conftest.file
2778
2779 test "$program_prefix" != NONE &&
2780 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2781 # Use a double $ so make ignores it.
2782 test "$program_suffix" != NONE &&
2783 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2784 # Double any \ or $.
2785 # By default was `s,x,x', remove it if useless.
2786 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2787 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2788
2789 # expand $ac_aux_dir to an absolute path
2790 am_aux_dir=`cd $ac_aux_dir && pwd`
2791
2792 if test x"${MISSING+set}" != xset; then
2793 case $am_aux_dir in
2794 *\ * | *\ *)
2795 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2796 *)
2797 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2798 esac
2799 fi
2800 # Use eval to expand $SHELL
2801 if eval "$MISSING --is-lightweight"; then
2802 am_missing_run="$MISSING "
2803 else
2804 am_missing_run=
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2806 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2807 fi
2808
2809 if test x"${install_sh}" != xset; then
2810 case $am_aux_dir in
2811 *\ * | *\ *)
2812 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2813 *)
2814 install_sh="\${SHELL} $am_aux_dir/install-sh"
2815 esac
2816 fi
2817
2818 # Installed binaries are usually stripped using 'strip' when the user
2819 # run "make install-strip". However 'strip' might not be the right
2820 # tool to use in cross-compilation environments, therefore Automake
2821 # will honor the 'STRIP' environment variable to overrule this program.
2822 if test "$cross_compiling" != no; then
2823 if test -n "$ac_tool_prefix"; then
2824 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2825 set dummy ${ac_tool_prefix}strip; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_STRIP+:} false; then :
2829 $as_echo_n "(cached) " >&6
2830 else
2831 if test -n "$STRIP"; then
2832 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2836 do
2837 IFS=$as_save_IFS
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 break 2
2844 fi
2845 done
2846 done
2847 IFS=$as_save_IFS
2848
2849 fi
2850 fi
2851 STRIP=$ac_cv_prog_STRIP
2852 if test -n "$STRIP"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2854 $as_echo "$STRIP" >&6; }
2855 else
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 fi
2859
2860
2861 fi
2862 if test -z "$ac_cv_prog_STRIP"; then
2863 ac_ct_STRIP=$STRIP
2864 # Extract the first word of "strip", so it can be a program name with args.
2865 set dummy strip; ac_word=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2869 $as_echo_n "(cached) " >&6
2870 else
2871 if test -n "$ac_ct_STRIP"; then
2872 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2873 else
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2875 for as_dir in $PATH
2876 do
2877 IFS=$as_save_IFS
2878 test -z "$as_dir" && as_dir=.
2879 for ac_exec_ext in '' $ac_executable_extensions; do
2880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2881 ac_cv_prog_ac_ct_STRIP="strip"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2883 break 2
2884 fi
2885 done
2886 done
2887 IFS=$as_save_IFS
2888
2889 fi
2890 fi
2891 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2892 if test -n "$ac_ct_STRIP"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2894 $as_echo "$ac_ct_STRIP" >&6; }
2895 else
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2898 fi
2899
2900 if test "x$ac_ct_STRIP" = x; then
2901 STRIP=":"
2902 else
2903 case $cross_compiling:$ac_tool_warned in
2904 yes:)
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2906 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2907 ac_tool_warned=yes ;;
2908 esac
2909 STRIP=$ac_ct_STRIP
2910 fi
2911 else
2912 STRIP="$ac_cv_prog_STRIP"
2913 fi
2914
2915 fi
2916 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2917
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2919 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2920 if test -z "$MKDIR_P"; then
2921 if ${ac_cv_path_mkdir+:} false; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2926 do
2927 IFS=$as_save_IFS
2928 test -z "$as_dir" && as_dir=.
2929 for ac_prog in mkdir gmkdir; do
2930 for ac_exec_ext in '' $ac_executable_extensions; do
2931 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2932 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2933 'mkdir (GNU coreutils) '* | \
2934 'mkdir (coreutils) '* | \
2935 'mkdir (fileutils) '4.1*)
2936 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2937 break 3;;
2938 esac
2939 done
2940 done
2941 done
2942 IFS=$as_save_IFS
2943
2944 fi
2945
2946 test -d ./--version && rmdir ./--version
2947 if test "${ac_cv_path_mkdir+set}" = set; then
2948 MKDIR_P="$ac_cv_path_mkdir -p"
2949 else
2950 # As a last resort, use the slow shell script. Don't cache a
2951 # value for MKDIR_P within a source directory, because that will
2952 # break other packages using the cache if that directory is
2953 # removed, or if the value is a relative name.
2954 MKDIR_P="$ac_install_sh -d"
2955 fi
2956 fi
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2958 $as_echo "$MKDIR_P" >&6; }
2959
2960 for ac_prog in gawk mawk nawk awk
2961 do
2962 # Extract the first word of "$ac_prog", so it can be a program name with args.
2963 set dummy $ac_prog; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_AWK+:} false; then :
2967 $as_echo_n "(cached) " >&6
2968 else
2969 if test -n "$AWK"; then
2970 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2971 else
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973 for as_dir in $PATH
2974 do
2975 IFS=$as_save_IFS
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_AWK="$ac_prog"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981 break 2
2982 fi
2983 done
2984 done
2985 IFS=$as_save_IFS
2986
2987 fi
2988 fi
2989 AWK=$ac_cv_prog_AWK
2990 if test -n "$AWK"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2992 $as_echo "$AWK" >&6; }
2993 else
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2996 fi
2997
2998
2999 test -n "$AWK" && break
3000 done
3001
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3003 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3004 set x ${MAKE-make}
3005 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3006 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 cat >conftest.make <<\_ACEOF
3010 SHELL = /bin/sh
3011 all:
3012 @echo '@@@%%%=$(MAKE)=@@@%%%'
3013 _ACEOF
3014 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3015 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3016 *@@@%%%=?*=@@@%%%*)
3017 eval ac_cv_prog_make_${ac_make}_set=yes;;
3018 *)
3019 eval ac_cv_prog_make_${ac_make}_set=no;;
3020 esac
3021 rm -f conftest.make
3022 fi
3023 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3025 $as_echo "yes" >&6; }
3026 SET_MAKE=
3027 else
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3030 SET_MAKE="MAKE=${MAKE-make}"
3031 fi
3032
3033 rm -rf .tst 2>/dev/null
3034 mkdir .tst 2>/dev/null
3035 if test -d .tst; then
3036 am__leading_dot=.
3037 else
3038 am__leading_dot=_
3039 fi
3040 rmdir .tst 2>/dev/null
3041
3042 # Check whether --enable-silent-rules was given.
3043 if test "${enable_silent_rules+set}" = set; then :
3044 enableval=$enable_silent_rules;
3045 fi
3046
3047 case $enable_silent_rules in # (((
3048 yes) AM_DEFAULT_VERBOSITY=0;;
3049 no) AM_DEFAULT_VERBOSITY=1;;
3050 *) AM_DEFAULT_VERBOSITY=1;;
3051 esac
3052 am_make=${MAKE-make}
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3054 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3055 if ${am_cv_make_support_nested_variables+:} false; then :
3056 $as_echo_n "(cached) " >&6
3057 else
3058 if $as_echo 'TRUE=$(BAR$(V))
3059 BAR0=false
3060 BAR1=true
3061 V=1
3062 am__doit:
3063 @$(TRUE)
3064 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3065 am_cv_make_support_nested_variables=yes
3066 else
3067 am_cv_make_support_nested_variables=no
3068 fi
3069 fi
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3071 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3072 if test $am_cv_make_support_nested_variables = yes; then
3073 AM_V='$(V)'
3074 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3075 else
3076 AM_V=$AM_DEFAULT_VERBOSITY
3077 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3078 fi
3079 AM_BACKSLASH='\'
3080
3081 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3082 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3083 # is not polluted with repeated "-I."
3084 am__isrc=' -I$(srcdir)'
3085 # test to see if srcdir already configured
3086 if test -f $srcdir/config.status; then
3087 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3088 fi
3089 fi
3090
3091 # test whether we have cygpath
3092 if test -z "$CYGPATH_W"; then
3093 if (cygpath --version) >/dev/null 2>/dev/null; then
3094 CYGPATH_W='cygpath -w'
3095 else
3096 CYGPATH_W=echo
3097 fi
3098 fi
3099
3100
3101 # Define the identity of the package.
3102 PACKAGE='ht'
3103 VERSION='2.1.0'
3104
3105
3106 cat >>confdefs.h <<_ACEOF
3107 #define PACKAGE "$PACKAGE"
3108 _ACEOF
3109
3110
3111 cat >>confdefs.h <<_ACEOF
3112 #define VERSION "$VERSION"
3113 _ACEOF
3114
3115 # Some tools Automake needs.
3116
3117 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3118
3119
3120 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3121
3122
3123 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3124
3125
3126 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3127
3128
3129 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3130
3131 # For better backward compatibility. To be removed once Automake 1.9.x
3132 # dies out for good. For more background, see:
3133 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3134 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3135 mkdir_p='$(MKDIR_P)'
3136
3137 # We need awk for the "check" target. The system "awk" is bad on
3138 # some platforms.
3139 # Always define AMTAR for backward compatibility. Yes, it's still used
3140 # in the wild :-( We should find a proper way to deprecate it ...
3141 AMTAR='$${TAR-tar}'
3142
3143
3144 # We'll loop over all known methods to create a tar archive until one works.
3145 _am_tools='gnutar pax cpio none'
3146
3147 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3148
3149
3150
3151
3152
3153
3154 # POSIX will say in a future version that running "rm -f" with no argument
3155 # is OK; and we want to be able to make that assumption in our Makefile
3156 # recipes. So use an aggressive probe to check that the usage we want is
3157 # actually supported "in the wild" to an acceptable degree.
3158 # See automake bug#10828.
3159 # To make any issue more visible, cause the running configure to be aborted
3160 # by default if the 'rm' program in use doesn't match our expectations; the
3161 # user can still override this though.
3162 if rm -f && rm -fr && rm -rf; then : OK; else
3163 cat >&2 <<'END'
3164 Oops!
3165
3166 Your 'rm' program seems unable to run without file operands specified
3167 on the command line, even when the '-f' option is present. This is contrary
3168 to the behaviour of most rm programs out there, and not conforming with
3169 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3170
3171 Please tell [email protected] about your system, including the value
3172 of your $PATH and any error possibly output before this message. This
3173 can help us improve future automake versions.
3174
3175 END
3176 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3177 echo 'Configuration will proceed anyway, since you have set the' >&2
3178 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3179 echo >&2
3180 else
3181 cat >&2 <<'END'
3182 Aborting the configuration process, to ensure you take notice of the issue.
3183
3184 You can download and install GNU coreutils to get an 'rm' implementation
3185 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3186
3187 If you want to complete the configuration process using your problematic
3188 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3189 to "yes", and re-run configure.
3190
3191 END
3192 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3193 fi
3194 fi
3195 ac_config_headers="$ac_config_headers config.h"
3196
3197
3198
3199 NEED_CURSES=0
3200 HAVE_PIPE=0
3201 HT_X11BASE="-L/usr/X11/lib -L/usr/X11R6/lib"
3202
3203 case "$target_os" in
3204 linux*)
3205 IO_DIR=posix
3206 echo "*** LINUX, building POSIX version. we need (n)curses." 1>&2
3207 NEED_CURSES=1
3208 HAVE_PIPE=1
3209 FLAGS_ALL="$FLAGS_ALL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3210 ;;
3211 *freebsd*)
3212 IO_DIR=posix
3213 echo "*** FREEBSD, building native FreeBSD version. we need (n)curses." 1>&2
3214 NEED_CURSES=1
3215 HAVE_PIPE=1
3216 FLAGS_ALL="$FLAGS_ALL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3217 ;;
3218 *openbsd*)
3219 IO_DIR=posix
3220 echo "*** OpenBSD, building native OpenBSD version. we need (n)curses." 1>&2
3221 NEED_CURSES=1
3222 HAVE_PIPE=1
3223 HT_X11BASE="-L${X11BASE}/lib"
3224 FLAGS_ALL="$FLAGS_ALL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3225 ;;
3226 cygwin*)
3227 IO_DIR=win32
3228 echo "*** CYGWIN, building native Win32 version (no cygwin.dll)" 1>&2
3229 FLAGS_ALL="$FLAGS_ALL -mno-cygwin"
3230 NEED_CURSES=0
3231 HAVE_PIPE=1
3232 ;;
3233 mingw32*)
3234 IO_DIR=win32
3235 echo "*** MINGW32, building native Win32 version" 1>&2
3236 HT_LDFLAGS="$HT_LDFLAGS -static-libgcc -static-libstdc++"
3237 NEED_CURSES=0
3238 HAVE_PIPE=1
3239 ;;
3240 *)
3241 echo "configure: warning: $target_os: unknown target OS, assuming POSIX-compatible..." 1>&2
3242 IO_DIR=posix
3243 echo "*** POSIX-generic, we need (n)curses, '-pipe' disabled for safety" 1>&2
3244 NEED_CURSES=1
3245 HAVE_PIPE=0
3246 FLAGS_ALL="$FLAGS_ALL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
3247 ;;
3248 esac
3249
3250 if test "x$HAVE_PIPE" = "x1"; then
3251 FLAGS_PIPE="-pipe";
3252 fi
3253
3254 CXXFLAGS="-DNOMACROS $FLAGS_PIPE $FLAGS_ALL -Woverloaded-virtual -Wnon-virtual-dtor $CXXFLAGS"
3255 CFLAGS="-DNOMACROS $FLAGS_PIPE $FLAGS_ALL $CFLAGS"
3256
3257
3258 cat >>confdefs.h <<_ACEOF
3259 #define SYSTEM_OSAPI_SPECIFIC_TYPES_HDR "io/$IO_DIR/types.h"
3260 _ACEOF
3261
3262
3263 if test x$IO_DIR = xposix; then
3264 USE_POSIX_DIR_TRUE=
3265 USE_POSIX_DIR_FALSE='#'
3266 else
3267 USE_POSIX_DIR_TRUE='#'
3268 USE_POSIX_DIR_FALSE=
3269 fi
3270
3271 if test x$IO_DIR = xwin32; then
3272 USE_WIN32_DIR_TRUE=
3273 USE_WIN32_DIR_FALSE='#'
3274 else
3275 USE_WIN32_DIR_TRUE='#'
3276 USE_WIN32_DIR_FALSE=
3277 fi
3278
3279
3280 if test -n "$ac_tool_prefix"; then
3281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_RANLIB+:} false; then :
3286 $as_echo_n "(cached) " >&6
3287 else
3288 if test -n "$RANLIB"; then
3289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3290 else
3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 for as_dir in $PATH
3293 do
3294 IFS=$as_save_IFS
3295 test -z "$as_dir" && as_dir=.
3296 for ac_exec_ext in '' $ac_executable_extensions; do
3297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300 break 2
3301 fi
3302 done
3303 done
3304 IFS=$as_save_IFS
3305
3306 fi
3307 fi
3308 RANLIB=$ac_cv_prog_RANLIB
3309 if test -n "$RANLIB"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3311 $as_echo "$RANLIB" >&6; }
3312 else
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3315 fi
3316
3317
3318 fi
3319 if test -z "$ac_cv_prog_RANLIB"; then
3320 ac_ct_RANLIB=$RANLIB
3321 # Extract the first word of "ranlib", so it can be a program name with args.
3322 set dummy ranlib; ac_word=$2
3323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 $as_echo_n "checking for $ac_word... " >&6; }
3325 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3326 $as_echo_n "(cached) " >&6
3327 else
3328 if test -n "$ac_ct_RANLIB"; then
3329 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3330 else
3331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3332 for as_dir in $PATH
3333 do
3334 IFS=$as_save_IFS
3335 test -z "$as_dir" && as_dir=.
3336 for ac_exec_ext in '' $ac_executable_extensions; do
3337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3338 ac_cv_prog_ac_ct_RANLIB="ranlib"
3339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 break 2
3341 fi
3342 done
3343 done
3344 IFS=$as_save_IFS
3345
3346 fi
3347 fi
3348 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3349 if test -n "$ac_ct_RANLIB"; then
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3351 $as_echo "$ac_ct_RANLIB" >&6; }
3352 else
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3354 $as_echo "no" >&6; }
3355 fi
3356
3357 if test "x$ac_ct_RANLIB" = x; then
3358 RANLIB=":"
3359 else
3360 case $cross_compiling:$ac_tool_warned in
3361 yes:)
3362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3364 ac_tool_warned=yes ;;
3365 esac
3366 RANLIB=$ac_ct_RANLIB
3367 fi
3368 else
3369 RANLIB="$ac_cv_prog_RANLIB"
3370 fi
3371
3372 for ac_prog in gmake make
3373 do
3374 # Extract the first word of "$ac_prog", so it can be a program name with args.
3375 set dummy $ac_prog; ac_word=$2
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3377 $as_echo_n "checking for $ac_word... " >&6; }
3378 if ${ac_cv_path_MAKE+:} false; then :
3379 $as_echo_n "(cached) " >&6
3380 else
3381 case $MAKE in
3382 [\\/]* | ?:[\\/]*)
3383 ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
3384 ;;
3385 *)
3386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387 for as_dir in $PATH
3388 do
3389 IFS=$as_save_IFS
3390 test -z "$as_dir" && as_dir=.
3391 for ac_exec_ext in '' $ac_executable_extensions; do
3392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393 ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
3394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395 break 2
3396 fi
3397 done
3398 done
3399 IFS=$as_save_IFS
3400
3401 ;;
3402 esac
3403 fi
3404 MAKE=$ac_cv_path_MAKE
3405 if test -n "$MAKE"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
3407 $as_echo "$MAKE" >&6; }
3408 else
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3411 fi
3412
3413
3414 test -n "$MAKE" && break
3415 done
3416 test -n "$MAKE" || MAKE=":"
3417
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3419 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3420 set x ${MAKE-make}
3421 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3422 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3423 $as_echo_n "(cached) " >&6
3424 else
3425 cat >conftest.make <<\_ACEOF
3426 SHELL = /bin/sh
3427 all:
3428 @echo '@@@%%%=$(MAKE)=@@@%%%'
3429 _ACEOF
3430 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3431 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3432 *@@@%%%=?*=@@@%%%*)
3433 eval ac_cv_prog_make_${ac_make}_set=yes;;
3434 *)
3435 eval ac_cv_prog_make_${ac_make}_set=no;;
3436 esac
3437 rm -f conftest.make
3438 fi
3439 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441 $as_echo "yes" >&6; }
3442 SET_MAKE=
3443 else
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445 $as_echo "no" >&6; }
3446 SET_MAKE="MAKE=${MAKE-make}"
3447 fi
3448
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458 $as_echo_n "checking for $ac_word... " >&6; }
3459 if ${ac_cv_prog_CC+:} false; then :
3460 $as_echo_n "(cached) " >&6
3461 else
3462 if test -n "$CC"; then
3463 ac_cv_prog_CC="$CC" # Let the user override the test.
3464 else
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 for as_dir in $PATH
3467 do
3468 IFS=$as_save_IFS
3469 test -z "$as_dir" && as_dir=.
3470 for ac_exec_ext in '' $ac_executable_extensions; do
3471 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3472 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3474 break 2
3475 fi
3476 done
3477 done
3478 IFS=$as_save_IFS
3479
3480 fi
3481 fi
3482 CC=$ac_cv_prog_CC
3483 if test -n "$CC"; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3485 $as_echo "$CC" >&6; }
3486 else
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3488 $as_echo "no" >&6; }
3489 fi
3490
3491
3492 fi
3493 if test -z "$ac_cv_prog_CC"; then
3494 ac_ct_CC=$CC
3495 # Extract the first word of "gcc", so it can be a program name with args.
3496 set dummy gcc; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 if test -n "$ac_ct_CC"; then
3503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3507 do
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_ac_ct_CC="gcc"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 break 2
3515 fi
3516 done
3517 done
3518 IFS=$as_save_IFS
3519
3520 fi
3521 fi
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3526 else
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3529 fi
3530
3531 if test "x$ac_ct_CC" = x; then
3532 CC=""
3533 else
3534 case $cross_compiling:$ac_tool_warned in
3535 yes:)
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3537 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3538 ac_tool_warned=yes ;;
3539 esac
3540 CC=$ac_ct_CC
3541 fi
3542 else
3543 CC="$ac_cv_prog_CC"
3544 fi
3545
3546 if test -z "$CC"; then
3547 if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3549 set dummy ${ac_tool_prefix}cc; ac_word=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_CC+:} false; then :
3553 $as_echo_n "(cached) " >&6
3554 else
3555 if test -n "$CC"; then
3556 ac_cv_prog_CC="$CC" # Let the user override the test.
3557 else
3558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 for as_dir in $PATH
3560 do
3561 IFS=$as_save_IFS
3562 test -z "$as_dir" && as_dir=.
3563 for ac_exec_ext in '' $ac_executable_extensions; do
3564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_CC="${ac_tool_prefix}cc"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3567 break 2
3568 fi
3569 done
3570 done
3571 IFS=$as_save_IFS
3572
3573 fi
3574 fi
3575 CC=$ac_cv_prog_CC
3576 if test -n "$CC"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3578 $as_echo "$CC" >&6; }
3579 else
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3582 fi
3583
3584
3585 fi
3586 fi
3587 if test -z "$CC"; then
3588 # Extract the first word of "cc", so it can be a program name with args.
3589 set dummy cc; ac_word=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if ${ac_cv_prog_CC+:} false; then :
3593 $as_echo_n "(cached) " >&6
3594 else
3595 if test -n "$CC"; then
3596 ac_cv_prog_CC="$CC" # Let the user override the test.
3597 else
3598 ac_prog_rejected=no
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3601 do
3602 IFS=$as_save_IFS
3603 test -z "$as_dir" && as_dir=.
3604 for ac_exec_ext in '' $ac_executable_extensions; do
3605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3606 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3607 ac_prog_rejected=yes
3608 continue
3609 fi
3610 ac_cv_prog_CC="cc"
3611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 break 2
3613 fi
3614 done
3615 done
3616 IFS=$as_save_IFS
3617
3618 if test $ac_prog_rejected = yes; then
3619 # We found a bogon in the path, so make sure we never use it.
3620 set dummy $ac_cv_prog_CC
3621 shift
3622 if test $# != 0; then
3623 # We chose a different compiler from the bogus one.
3624 # However, it has the same basename, so the bogon will be chosen
3625 # first if we set CC to just the basename; use the full file name.
3626 shift
3627 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3628 fi
3629 fi
3630 fi
3631 fi
3632 CC=$ac_cv_prog_CC
3633 if test -n "$CC"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3636 else
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3639 fi
3640
3641
3642 fi
3643 if test -z "$CC"; then
3644 if test -n "$ac_tool_prefix"; then
3645 for ac_prog in cl.exe
3646 do
3647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3650 $as_echo_n "checking for $ac_word... " >&6; }
3651 if ${ac_cv_prog_CC+:} false; then :
3652 $as_echo_n "(cached) " >&6
3653 else
3654 if test -n "$CC"; then
3655 ac_cv_prog_CC="$CC" # Let the user override the test.
3656 else
3657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3658 for as_dir in $PATH
3659 do
3660 IFS=$as_save_IFS
3661 test -z "$as_dir" && as_dir=.
3662 for ac_exec_ext in '' $ac_executable_extensions; do
3663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3664 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3666 break 2
3667 fi
3668 done
3669 done
3670 IFS=$as_save_IFS
3671
3672 fi
3673 fi
3674 CC=$ac_cv_prog_CC
3675 if test -n "$CC"; then
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3677 $as_echo "$CC" >&6; }
3678 else
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3680 $as_echo "no" >&6; }
3681 fi
3682
3683
3684 test -n "$CC" && break
3685 done
3686 fi
3687 if test -z "$CC"; then
3688 ac_ct_CC=$CC
3689 for ac_prog in cl.exe
3690 do
3691 # Extract the first word of "$ac_prog", so it can be a program name with args.
3692 set dummy $ac_prog; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 if test -n "$ac_ct_CC"; then
3699 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3700 else
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3708 ac_cv_prog_ac_ct_CC="$ac_prog"
3709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3710 break 2
3711 fi
3712 done
3713 done
3714 IFS=$as_save_IFS
3715
3716 fi
3717 fi
3718 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3719 if test -n "$ac_ct_CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3721 $as_echo "$ac_ct_CC" >&6; }
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 fi
3726
3727
3728 test -n "$ac_ct_CC" && break
3729 done
3730
3731 if test "x$ac_ct_CC" = x; then
3732 CC=""
3733 else
3734 case $cross_compiling:$ac_tool_warned in
3735 yes:)
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3738 ac_tool_warned=yes ;;
3739 esac
3740 CC=$ac_ct_CC
3741 fi
3742 fi
3743
3744 fi
3745
3746
3747 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749 as_fn_error $? "no acceptable C compiler found in \$PATH
3750 See \`config.log' for more details" "$LINENO" 5; }
3751
3752 # Provide some information about the compiler.
3753 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3754 set X $ac_compile
3755 ac_compiler=$2
3756 for ac_option in --version -v -V -qversion; do
3757 { { ac_try="$ac_compiler $ac_option >&5"
3758 case "(($ac_try" in
3759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760 *) ac_try_echo=$ac_try;;
3761 esac
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3765 ac_status=$?
3766 if test -s conftest.err; then
3767 sed '10a\
3768 ... rest of stderr output deleted ...
3769 10q' conftest.err >conftest.er1
3770 cat conftest.er1 >&5
3771 fi
3772 rm -f conftest.er1 conftest.err
3773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3774 test $ac_status = 0; }
3775 done
3776
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3779
3780 int
3781 main ()
3782 {
3783
3784 ;
3785 return 0;
3786 }
3787 _ACEOF
3788 ac_clean_files_save=$ac_clean_files
3789 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3790 # Try to create an executable without -o first, disregard a.out.
3791 # It will help us diagnose broken compilers, and finding out an intuition
3792 # of exeext.
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3794 $as_echo_n "checking whether the C compiler works... " >&6; }
3795 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3796
3797 # The possible output files:
3798 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3799
3800 ac_rmfiles=
3801 for ac_file in $ac_files
3802 do
3803 case $ac_file in
3804 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3805 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3806 esac
3807 done
3808 rm -f $ac_rmfiles
3809
3810 if { { ac_try="$ac_link_default"
3811 case "(($ac_try" in
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3814 esac
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 $as_echo "$ac_try_echo"; } >&5
3817 (eval "$ac_link_default") 2>&5
3818 ac_status=$?
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }; then :
3821 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3822 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3823 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3824 # so that the user can short-circuit this test for compilers unknown to
3825 # Autoconf.
3826 for ac_file in $ac_files ''
3827 do
3828 test -f "$ac_file" || continue
3829 case $ac_file in
3830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3831 ;;
3832 [ab].out )
3833 # We found the default executable, but exeext='' is most
3834 # certainly right.
3835 break;;
3836 *.* )
3837 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3838 then :; else
3839 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3840 fi
3841 # We set ac_cv_exeext here because the later test for it is not
3842 # safe: cross compilers may not add the suffix if given an `-o'
3843 # argument, so we may need to know it at that point already.
3844 # Even if this section looks crufty: it has the advantage of
3845 # actually working.
3846 break;;
3847 * )
3848 break;;
3849 esac
3850 done
3851 test "$ac_cv_exeext" = no && ac_cv_exeext=
3852
3853 else
3854 ac_file=''
3855 fi
3856 if test -z "$ac_file"; then :
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3859 $as_echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3861
3862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3864 as_fn_error 77 "C compiler cannot create executables
3865 See \`config.log' for more details" "$LINENO" 5; }
3866 else
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3868 $as_echo "yes" >&6; }
3869 fi
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3871 $as_echo_n "checking for C compiler default output file name... " >&6; }
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3873 $as_echo "$ac_file" >&6; }
3874 ac_exeext=$ac_cv_exeext
3875
3876 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3877 ac_clean_files=$ac_clean_files_save
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3879 $as_echo_n "checking for suffix of executables... " >&6; }
3880 if { { ac_try="$ac_link"
3881 case "(($ac_try" in
3882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883 *) ac_try_echo=$ac_try;;
3884 esac
3885 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_link") 2>&5
3888 ac_status=$?
3889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890 test $ac_status = 0; }; then :
3891 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3892 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3893 # work properly (i.e., refer to `conftest.exe'), while it won't with
3894 # `rm'.
3895 for ac_file in conftest.exe conftest conftest.*; do
3896 test -f "$ac_file" || continue
3897 case $ac_file in
3898 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3899 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3900 break;;
3901 * ) break;;
3902 esac
3903 done
3904 else
3905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3907 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3908 See \`config.log' for more details" "$LINENO" 5; }
3909 fi
3910 rm -f conftest conftest$ac_cv_exeext
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3912 $as_echo "$ac_cv_exeext" >&6; }
3913
3914 rm -f conftest.$ac_ext
3915 EXEEXT=$ac_cv_exeext
3916 ac_exeext=$EXEEXT
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3919 #include <stdio.h>
3920 int
3921 main ()
3922 {
3923 FILE *f = fopen ("conftest.out", "w");
3924 return ferror (f) || fclose (f) != 0;
3925
3926 ;
3927 return 0;
3928 }
3929 _ACEOF
3930 ac_clean_files="$ac_clean_files conftest.out"
3931 # Check that the compiler produces executables we can run. If not, either
3932 # the compiler is broken, or we cross compile.
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3934 $as_echo_n "checking whether we are cross compiling... " >&6; }
3935 if test "$cross_compiling" != yes; then
3936 { { ac_try="$ac_link"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_link") 2>&5
3944 ac_status=$?
3945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3946 test $ac_status = 0; }
3947 if { ac_try='./conftest$ac_cv_exeext'
3948 { { case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_try") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; }; then
3958 cross_compiling=no
3959 else
3960 if test "$cross_compiling" = maybe; then
3961 cross_compiling=yes
3962 else
3963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3965 as_fn_error $? "cannot run C compiled programs.
3966 If you meant to cross compile, use \`--host'.
3967 See \`config.log' for more details" "$LINENO" 5; }
3968 fi
3969 fi
3970 fi
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3972 $as_echo "$cross_compiling" >&6; }
3973
3974 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3975 ac_clean_files=$ac_clean_files_save
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3977 $as_echo_n "checking for suffix of object files... " >&6; }
3978 if ${ac_cv_objext+:} false; then :
3979 $as_echo_n "(cached) " >&6
3980 else
3981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h. */
3983
3984 int
3985 main ()
3986 {
3987
3988 ;
3989 return 0;
3990 }
3991 _ACEOF
3992 rm -f conftest.o conftest.obj
3993 if { { ac_try="$ac_compile"
3994 case "(($ac_try" in
3995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3996 *) ac_try_echo=$ac_try;;
3997 esac
3998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3999 $as_echo "$ac_try_echo"; } >&5
4000 (eval "$ac_compile") 2>&5
4001 ac_status=$?
4002 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4003 test $ac_status = 0; }; then :
4004 for ac_file in conftest.o conftest.obj conftest.*; do
4005 test -f "$ac_file" || continue;
4006 case $ac_file in
4007 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4008 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4009 break;;
4010 esac
4011 done
4012 else
4013 $as_echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4015
4016 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4017 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4018 as_fn_error $? "cannot compute suffix of object files: cannot compile
4019 See \`config.log' for more details" "$LINENO" 5; }
4020 fi
4021 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4024 $as_echo "$ac_cv_objext" >&6; }
4025 OBJEXT=$ac_cv_objext
4026 ac_objext=$OBJEXT
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4028 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4029 if ${ac_cv_c_compiler_gnu+:} false; then :
4030 $as_echo_n "(cached) " >&6
4031 else
4032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4034
4035 int
4036 main ()
4037 {
4038 #ifndef __GNUC__
4039 choke me
4040 #endif
4041
4042 ;
4043 return 0;
4044 }
4045 _ACEOF
4046 if ac_fn_c_try_compile "$LINENO"; then :
4047 ac_compiler_gnu=yes
4048 else
4049 ac_compiler_gnu=no
4050 fi
4051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4052 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4053
4054 fi
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4056 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4057 if test $ac_compiler_gnu = yes; then
4058 GCC=yes
4059 else
4060 GCC=
4061 fi
4062 ac_test_CFLAGS=${CFLAGS+set}
4063 ac_save_CFLAGS=$CFLAGS
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4065 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4066 if ${ac_cv_prog_cc_g+:} false; then :
4067 $as_echo_n "(cached) " >&6
4068 else
4069 ac_save_c_werror_flag=$ac_c_werror_flag
4070 ac_c_werror_flag=yes
4071 ac_cv_prog_cc_g=no
4072 CFLAGS="-g"
4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074 /* end confdefs.h. */
4075
4076 int
4077 main ()
4078 {
4079
4080 ;
4081 return 0;
4082 }
4083 _ACEOF
4084 if ac_fn_c_try_compile "$LINENO"; then :
4085 ac_cv_prog_cc_g=yes
4086 else
4087 CFLAGS=""
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090
4091 int
4092 main ()
4093 {
4094
4095 ;
4096 return 0;
4097 }
4098 _ACEOF
4099 if ac_fn_c_try_compile "$LINENO"; then :
4100
4101 else
4102 ac_c_werror_flag=$ac_save_c_werror_flag
4103 CFLAGS="-g"
4104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4105 /* end confdefs.h. */
4106
4107 int
4108 main ()
4109 {
4110
4111 ;
4112 return 0;
4113 }
4114 _ACEOF
4115 if ac_fn_c_try_compile "$LINENO"; then :
4116 ac_cv_prog_cc_g=yes
4117 fi
4118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4119 fi
4120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121 fi
4122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4123 ac_c_werror_flag=$ac_save_c_werror_flag
4124 fi
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4126 $as_echo "$ac_cv_prog_cc_g" >&6; }
4127 if test "$ac_test_CFLAGS" = set; then
4128 CFLAGS=$ac_save_CFLAGS
4129 elif test $ac_cv_prog_cc_g = yes; then
4130 if test "$GCC" = yes; then
4131 CFLAGS="-g -O2"
4132 else
4133 CFLAGS="-g"
4134 fi
4135 else
4136 if test "$GCC" = yes; then
4137 CFLAGS="-O2"
4138 else
4139 CFLAGS=
4140 fi
4141 fi
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4143 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4144 if ${ac_cv_prog_cc_c89+:} false; then :
4145 $as_echo_n "(cached) " >&6
4146 else
4147 ac_cv_prog_cc_c89=no
4148 ac_save_CC=$CC
4149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4150 /* end confdefs.h. */
4151 #include <stdarg.h>
4152 #include <stdio.h>
4153 struct stat;
4154 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4155 struct buf { int x; };
4156 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4157 static char *e (p, i)
4158 char **p;
4159 int i;
4160 {
4161 return p[i];
4162 }
4163 static char *f (char * (*g) (char **, int), char **p, ...)
4164 {
4165 char *s;
4166 va_list v;
4167 va_start (v,p);
4168 s = g (p, va_arg (v,int));
4169 va_end (v);
4170 return s;
4171 }
4172
4173 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4174 function prototypes and stuff, but not '\xHH' hex character constants.
4175 These don't provoke an error unfortunately, instead are silently treated
4176 as 'x'. The following induces an error, until -std is added to get
4177 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4178 array size at least. It's necessary to write '\x00'==0 to get something
4179 that's true only with -std. */
4180 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4181
4182 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4183 inside strings and character constants. */
4184 #define FOO(x) 'x'
4185 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4186
4187 int test (int i, double x);
4188 struct s1 {int (*f) (int a);};
4189 struct s2 {int (*f) (double a);};
4190 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4191 int argc;
4192 char **argv;
4193 int
4194 main ()
4195 {
4196 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4197 ;
4198 return 0;
4199 }
4200 _ACEOF
4201 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4202 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4203 do
4204 CC="$ac_save_CC $ac_arg"
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_cv_prog_cc_c89=$ac_arg
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext
4209 test "x$ac_cv_prog_cc_c89" != "xno" && break
4210 done
4211 rm -f conftest.$ac_ext
4212 CC=$ac_save_CC
4213
4214 fi
4215 # AC_CACHE_VAL
4216 case "x$ac_cv_prog_cc_c89" in
4217 x)
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4219 $as_echo "none needed" >&6; } ;;
4220 xno)
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4222 $as_echo "unsupported" >&6; } ;;
4223 *)
4224 CC="$CC $ac_cv_prog_cc_c89"
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4226 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4227 esac
4228 if test "x$ac_cv_prog_cc_c89" != xno; then :
4229
4230 fi
4231
4232 ac_ext=c
4233 ac_cpp='$CPP $CPPFLAGS'
4234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237
4238 ac_ext=c
4239 ac_cpp='$CPP $CPPFLAGS'
4240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4244 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4245 if ${am_cv_prog_cc_c_o+:} false; then :
4246 $as_echo_n "(cached) " >&6
4247 else
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250
4251 int
4252 main ()
4253 {
4254
4255 ;
4256 return 0;
4257 }
4258 _ACEOF
4259 # Make sure it works both with $CC and with simple cc.
4260 # Following AC_PROG_CC_C_O, we do the test twice because some
4261 # compilers refuse to overwrite an existing .o file with -o,
4262 # though they will create one.
4263 am_cv_prog_cc_c_o=yes
4264 for am_i in 1 2; do
4265 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4266 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4267 ac_status=$?
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); } \
4270 && test -f conftest2.$ac_objext; then
4271 : OK
4272 else
4273 am_cv_prog_cc_c_o=no
4274 break
4275 fi
4276 done
4277 rm -f core conftest*
4278 unset am_i
4279 fi
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4281 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4282 if test "$am_cv_prog_cc_c_o" != yes; then
4283 # Losing compiler, so override with the script.
4284 # FIXME: It is wrong to rewrite CC.
4285 # But if we don't then we get into trouble of one sort or another.
4286 # A longer-term fix would be to have automake use am__CC in this case,
4287 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4288 CC="$am_aux_dir/compile $CC"
4289 fi
4290 ac_ext=c
4291 ac_cpp='$CPP $CPPFLAGS'
4292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4295
4296 DEPDIR="${am__leading_dot}deps"
4297
4298 ac_config_commands="$ac_config_commands depfiles"
4299
4300
4301 am_make=${MAKE-make}
4302 cat > confinc << 'END'
4303 am__doit:
4304 @echo this is the am__doit target
4305 .PHONY: am__doit
4306 END
4307 # If we don't find an include directive, just comment out the code.
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4309 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4310 am__include="#"
4311 am__quote=
4312 _am_result=none
4313 # First try GNU make style include.
4314 echo "include confinc" > confmf
4315 # Ignore all kinds of additional output from 'make'.
4316 case `$am_make -s -f confmf 2> /dev/null` in #(
4317 *the\ am__doit\ target*)
4318 am__include=include
4319 am__quote=
4320 _am_result=GNU
4321 ;;
4322 esac
4323 # Now try BSD make style include.
4324 if test "$am__include" = "#"; then
4325 echo '.include "confinc"' > confmf
4326 case `$am_make -s -f confmf 2> /dev/null` in #(
4327 *the\ am__doit\ target*)
4328 am__include=.include
4329 am__quote="\""
4330 _am_result=BSD
4331 ;;
4332 esac
4333 fi
4334
4335
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4337 $as_echo "$_am_result" >&6; }
4338 rm -f confinc confmf
4339
4340 # Check whether --enable-dependency-tracking was given.
4341 if test "${enable_dependency_tracking+set}" = set; then :
4342 enableval=$enable_dependency_tracking;
4343 fi
4344
4345 if test "x$enable_dependency_tracking" != xno; then
4346 am_depcomp="$ac_aux_dir/depcomp"
4347 AMDEPBACKSLASH='\'
4348 am__nodep='_no'
4349 fi
4350 if test "x$enable_dependency_tracking" != xno; then
4351 AMDEP_TRUE=
4352 AMDEP_FALSE='#'
4353 else
4354 AMDEP_TRUE='#'
4355 AMDEP_FALSE=
4356 fi
4357
4358
4359
4360 depcc="$CC" am_compiler_list=
4361
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4363 $as_echo_n "checking dependency style of $depcc... " >&6; }
4364 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4368 # We make a subdir and do the tests there. Otherwise we can end up
4369 # making bogus files that we don't know about and never remove. For
4370 # instance it was reported that on HP-UX the gcc test will end up
4371 # making a dummy file named 'D' -- because '-MD' means "put the output
4372 # in D".
4373 rm -rf conftest.dir
4374 mkdir conftest.dir
4375 # Copy depcomp to subdir because otherwise we won't find it if we're
4376 # using a relative directory.
4377 cp "$am_depcomp" conftest.dir
4378 cd conftest.dir
4379 # We will build objects and dependencies in a subdirectory because
4380 # it helps to detect inapplicable dependency modes. For instance
4381 # both Tru64's cc and ICC support -MD to output dependencies as a
4382 # side effect of compilation, but ICC will put the dependencies in
4383 # the current directory while Tru64 will put them in the object
4384 # directory.
4385 mkdir sub
4386
4387 am_cv_CC_dependencies_compiler_type=none
4388 if test "$am_compiler_list" = ""; then
4389 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4390 fi
4391 am__universal=false
4392 case " $depcc " in #(
4393 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4394 esac
4395
4396 for depmode in $am_compiler_list; do
4397 # Setup a source with many dependencies, because some compilers
4398 # like to wrap large dependency lists on column 80 (with \), and
4399 # we should not choose a depcomp mode which is confused by this.
4400 #
4401 # We need to recreate these files for each test, as the compiler may
4402 # overwrite some of them when testing with obscure command lines.
4403 # This happens at least with the AIX C compiler.
4404 : > sub/conftest.c
4405 for i in 1 2 3 4 5 6; do
4406 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4407 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4408 # Solaris 10 /bin/sh.
4409 echo '/* dummy */' > sub/conftst$i.h
4410 done
4411 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412
4413 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4414 # mode. It turns out that the SunPro C++ compiler does not properly
4415 # handle '-M -o', and we need to detect this. Also, some Intel
4416 # versions had trouble with output in subdirs.
4417 am__obj=sub/conftest.${OBJEXT-o}
4418 am__minus_obj="-o $am__obj"
4419 case $depmode in
4420 gcc)
4421 # This depmode causes a compiler race in universal mode.
4422 test "$am__universal" = false || continue
4423 ;;
4424 nosideeffect)
4425 # After this tag, mechanisms are not by side-effect, so they'll
4426 # only be used when explicitly requested.
4427 if test "x$enable_dependency_tracking" = xyes; then
4428 continue
4429 else
4430 break
4431 fi
4432 ;;
4433 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4434 # This compiler won't grok '-c -o', but also, the minuso test has
4435 # not run yet. These depmodes are late enough in the game, and
4436 # so weak that their functioning should not be impacted.
4437 am__obj=conftest.${OBJEXT-o}
4438 am__minus_obj=
4439 ;;
4440 none) break ;;
4441 esac
4442 if depmode=$depmode \
4443 source=sub/conftest.c object=$am__obj \
4444 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4445 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4446 >/dev/null 2>conftest.err &&
4447 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4448 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4449 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4450 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4451 # icc doesn't choke on unknown options, it will just issue warnings
4452 # or remarks (even with -Werror). So we grep stderr for any message
4453 # that says an option was ignored or not supported.
4454 # When given -MP, icc 7.0 and 7.1 complain thusly:
4455 # icc: Command line warning: ignoring option '-M'; no argument required
4456 # The diagnosis changed in icc 8.0:
4457 # icc: Command line remark: option '-MP' not supported
4458 if (grep 'ignoring option' conftest.err ||
4459 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4460 am_cv_CC_dependencies_compiler_type=$depmode
4461 break
4462 fi
4463 fi
4464 done
4465
4466 cd ..
4467 rm -rf conftest.dir
4468 else
4469 am_cv_CC_dependencies_compiler_type=none
4470 fi
4471
4472 fi
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4474 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4475 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4476
4477 if
4478 test "x$enable_dependency_tracking" != xno \
4479 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4480 am__fastdepCC_TRUE=
4481 am__fastdepCC_FALSE='#'
4482 else
4483 am__fastdepCC_TRUE='#'
4484 am__fastdepCC_FALSE=
4485 fi
4486
4487
4488 ac_ext=c
4489 ac_cpp='$CPP $CPPFLAGS'
4490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4494 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4495 # On Suns, sometimes $CPP names a directory.
4496 if test -n "$CPP" && test -d "$CPP"; then
4497 CPP=
4498 fi
4499 if test -z "$CPP"; then
4500 if ${ac_cv_prog_CPP+:} false; then :
4501 $as_echo_n "(cached) " >&6
4502 else
4503 # Double quotes because CPP needs to be expanded
4504 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4505 do
4506 ac_preproc_ok=false
4507 for ac_c_preproc_warn_flag in '' yes
4508 do
4509 # Use a header file that comes with gcc, so configuring glibc
4510 # with a fresh cross-compiler works.
4511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4512 # <limits.h> exists even on freestanding compilers.
4513 # On the NeXT, cc -E runs the code through the compiler's parser,
4514 # not just through cpp. "Syntax error" is here to catch this case.
4515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4516 /* end confdefs.h. */
4517 #ifdef __STDC__
4518 # include <limits.h>
4519 #else
4520 # include <assert.h>
4521 #endif
4522 Syntax error
4523 _ACEOF
4524 if ac_fn_c_try_cpp "$LINENO"; then :
4525
4526 else
4527 # Broken: fails on valid input.
4528 continue
4529 fi
4530 rm -f conftest.err conftest.i conftest.$ac_ext
4531
4532 # OK, works on sane cases. Now check whether nonexistent headers
4533 # can be detected and how.
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536 #include <ac_nonexistent.h>
4537 _ACEOF
4538 if ac_fn_c_try_cpp "$LINENO"; then :
4539 # Broken: success on invalid input.
4540 continue
4541 else
4542 # Passes both tests.
4543 ac_preproc_ok=:
4544 break
4545 fi
4546 rm -f conftest.err conftest.i conftest.$ac_ext
4547
4548 done
4549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4550 rm -f conftest.i conftest.err conftest.$ac_ext
4551 if $ac_preproc_ok; then :
4552 break
4553 fi
4554
4555 done
4556 ac_cv_prog_CPP=$CPP
4557
4558 fi
4559 CPP=$ac_cv_prog_CPP
4560 else
4561 ac_cv_prog_CPP=$CPP
4562 fi
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4564 $as_echo "$CPP" >&6; }
4565 ac_preproc_ok=false
4566 for ac_c_preproc_warn_flag in '' yes
4567 do
4568 # Use a header file that comes with gcc, so configuring glibc
4569 # with a fresh cross-compiler works.
4570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4571 # <limits.h> exists even on freestanding compilers.
4572 # On the NeXT, cc -E runs the code through the compiler's parser,
4573 # not just through cpp. "Syntax error" is here to catch this case.
4574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4575 /* end confdefs.h. */
4576 #ifdef __STDC__
4577 # include <limits.h>
4578 #else
4579 # include <assert.h>
4580 #endif
4581 Syntax error
4582 _ACEOF
4583 if ac_fn_c_try_cpp "$LINENO"; then :
4584
4585 else
4586 # Broken: fails on valid input.
4587 continue
4588 fi
4589 rm -f conftest.err conftest.i conftest.$ac_ext
4590
4591 # OK, works on sane cases. Now check whether nonexistent headers
4592 # can be detected and how.
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594 /* end confdefs.h. */
4595 #include <ac_nonexistent.h>
4596 _ACEOF
4597 if ac_fn_c_try_cpp "$LINENO"; then :
4598 # Broken: success on invalid input.
4599 continue
4600 else
4601 # Passes both tests.
4602 ac_preproc_ok=:
4603 break
4604 fi
4605 rm -f conftest.err conftest.i conftest.$ac_ext
4606
4607 done
4608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4609 rm -f conftest.i conftest.err conftest.$ac_ext
4610 if $ac_preproc_ok; then :
4611
4612 else
4613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4615 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4616 See \`config.log' for more details" "$LINENO" 5; }
4617 fi
4618
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624
4625 ac_ext=cpp
4626 ac_cpp='$CXXCPP $CPPFLAGS'
4627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4630 if test -z "$CXX"; then
4631 if test -n "$CCC"; then
4632 CXX=$CCC
4633 else
4634 if test -n "$ac_tool_prefix"; then
4635 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4636 do
4637 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4638 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_prog_CXX+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 if test -n "$CXX"; then
4645 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4646 else
4647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 for as_dir in $PATH
4649 do
4650 IFS=$as_save_IFS
4651 test -z "$as_dir" && as_dir=.
4652 for ac_exec_ext in '' $ac_executable_extensions; do
4653 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4654 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4656 break 2
4657 fi
4658 done
4659 done
4660 IFS=$as_save_IFS
4661
4662 fi
4663 fi
4664 CXX=$ac_cv_prog_CXX
4665 if test -n "$CXX"; then
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4667 $as_echo "$CXX" >&6; }
4668 else
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4670 $as_echo "no" >&6; }
4671 fi
4672
4673
4674 test -n "$CXX" && break
4675 done
4676 fi
4677 if test -z "$CXX"; then
4678 ac_ct_CXX=$CXX
4679 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4680 do
4681 # Extract the first word of "$ac_prog", so it can be a program name with args.
4682 set dummy $ac_prog; ac_word=$2
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4684 $as_echo_n "checking for $ac_word... " >&6; }
4685 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4686 $as_echo_n "(cached) " >&6
4687 else
4688 if test -n "$ac_ct_CXX"; then
4689 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4690 else
4691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692 for as_dir in $PATH
4693 do
4694 IFS=$as_save_IFS
4695 test -z "$as_dir" && as_dir=.
4696 for ac_exec_ext in '' $ac_executable_extensions; do
4697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698 ac_cv_prog_ac_ct_CXX="$ac_prog"
4699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 break 2
4701 fi
4702 done
4703 done
4704 IFS=$as_save_IFS
4705
4706 fi
4707 fi
4708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4709 if test -n "$ac_ct_CXX"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4711 $as_echo "$ac_ct_CXX" >&6; }
4712 else
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4714 $as_echo "no" >&6; }
4715 fi
4716
4717
4718 test -n "$ac_ct_CXX" && break
4719 done
4720
4721 if test "x$ac_ct_CXX" = x; then
4722 CXX="g++"
4723 else
4724 case $cross_compiling:$ac_tool_warned in
4725 yes:)
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4728 ac_tool_warned=yes ;;
4729 esac
4730 CXX=$ac_ct_CXX
4731 fi
4732 fi
4733
4734 fi
4735 fi
4736 # Provide some information about the compiler.
4737 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4738 set X $ac_compile
4739 ac_compiler=$2
4740 for ac_option in --version -v -V -qversion; do
4741 { { ac_try="$ac_compiler $ac_option >&5"
4742 case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4745 esac
4746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4747 $as_echo "$ac_try_echo"; } >&5
4748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4749 ac_status=$?
4750 if test -s conftest.err; then
4751 sed '10a\
4752 ... rest of stderr output deleted ...
4753 10q' conftest.err >conftest.er1
4754 cat conftest.er1 >&5
4755 fi
4756 rm -f conftest.er1 conftest.err
4757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4758 test $ac_status = 0; }
4759 done
4760
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4762 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4763 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4764 $as_echo_n "(cached) " >&6
4765 else
4766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h. */
4768
4769 int
4770 main ()
4771 {
4772 #ifndef __GNUC__
4773 choke me
4774 #endif
4775
4776 ;
4777 return 0;
4778 }
4779 _ACEOF
4780 if ac_fn_cxx_try_compile "$LINENO"; then :
4781 ac_compiler_gnu=yes
4782 else
4783 ac_compiler_gnu=no
4784 fi
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4787
4788 fi
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4790 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4791 if test $ac_compiler_gnu = yes; then
4792 GXX=yes
4793 else
4794 GXX=
4795 fi
4796 ac_test_CXXFLAGS=${CXXFLAGS+set}
4797 ac_save_CXXFLAGS=$CXXFLAGS
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4799 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4800 if ${ac_cv_prog_cxx_g+:} false; then :
4801 $as_echo_n "(cached) " >&6
4802 else
4803 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4804 ac_cxx_werror_flag=yes
4805 ac_cv_prog_cxx_g=no
4806 CXXFLAGS="-g"
4807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4808 /* end confdefs.h. */
4809
4810 int
4811 main ()
4812 {
4813
4814 ;
4815 return 0;
4816 }
4817 _ACEOF
4818 if ac_fn_cxx_try_compile "$LINENO"; then :
4819 ac_cv_prog_cxx_g=yes
4820 else
4821 CXXFLAGS=""
4822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4823 /* end confdefs.h. */
4824
4825 int
4826 main ()
4827 {
4828
4829 ;
4830 return 0;
4831 }
4832 _ACEOF
4833 if ac_fn_cxx_try_compile "$LINENO"; then :
4834
4835 else
4836 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4837 CXXFLAGS="-g"
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4840
4841 int
4842 main ()
4843 {
4844
4845 ;
4846 return 0;
4847 }
4848 _ACEOF
4849 if ac_fn_cxx_try_compile "$LINENO"; then :
4850 ac_cv_prog_cxx_g=yes
4851 fi
4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4853 fi
4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4855 fi
4856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4857 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4858 fi
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4860 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4861 if test "$ac_test_CXXFLAGS" = set; then
4862 CXXFLAGS=$ac_save_CXXFLAGS
4863 elif test $ac_cv_prog_cxx_g = yes; then
4864 if test "$GXX" = yes; then
4865 CXXFLAGS="-g -O2"
4866 else
4867 CXXFLAGS="-g"
4868 fi
4869 else
4870 if test "$GXX" = yes; then
4871 CXXFLAGS="-O2"
4872 else
4873 CXXFLAGS=
4874 fi
4875 fi
4876 ac_ext=c
4877 ac_cpp='$CPP $CPPFLAGS'
4878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4881
4882 depcc="$CXX" am_compiler_list=
4883
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4885 $as_echo_n "checking dependency style of $depcc... " >&6; }
4886 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4887 $as_echo_n "(cached) " >&6
4888 else
4889 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4890 # We make a subdir and do the tests there. Otherwise we can end up
4891 # making bogus files that we don't know about and never remove. For
4892 # instance it was reported that on HP-UX the gcc test will end up
4893 # making a dummy file named 'D' -- because '-MD' means "put the output
4894 # in D".
4895 rm -rf conftest.dir
4896 mkdir conftest.dir
4897 # Copy depcomp to subdir because otherwise we won't find it if we're
4898 # using a relative directory.
4899 cp "$am_depcomp" conftest.dir
4900 cd conftest.dir
4901 # We will build objects and dependencies in a subdirectory because
4902 # it helps to detect inapplicable dependency modes. For instance
4903 # both Tru64's cc and ICC support -MD to output dependencies as a
4904 # side effect of compilation, but ICC will put the dependencies in
4905 # the current directory while Tru64 will put them in the object
4906 # directory.
4907 mkdir sub
4908
4909 am_cv_CXX_dependencies_compiler_type=none
4910 if test "$am_compiler_list" = ""; then
4911 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4912 fi
4913 am__universal=false
4914 case " $depcc " in #(
4915 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4916 esac
4917
4918 for depmode in $am_compiler_list; do
4919 # Setup a source with many dependencies, because some compilers
4920 # like to wrap large dependency lists on column 80 (with \), and
4921 # we should not choose a depcomp mode which is confused by this.
4922 #
4923 # We need to recreate these files for each test, as the compiler may
4924 # overwrite some of them when testing with obscure command lines.
4925 # This happens at least with the AIX C compiler.
4926 : > sub/conftest.c
4927 for i in 1 2 3 4 5 6; do
4928 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4929 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4930 # Solaris 10 /bin/sh.
4931 echo '/* dummy */' > sub/conftst$i.h
4932 done
4933 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4934
4935 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4936 # mode. It turns out that the SunPro C++ compiler does not properly
4937 # handle '-M -o', and we need to detect this. Also, some Intel
4938 # versions had trouble with output in subdirs.
4939 am__obj=sub/conftest.${OBJEXT-o}
4940 am__minus_obj="-o $am__obj"
4941 case $depmode in
4942 gcc)
4943 # This depmode causes a compiler race in universal mode.
4944 test "$am__universal" = false || continue
4945 ;;
4946 nosideeffect)
4947 # After this tag, mechanisms are not by side-effect, so they'll
4948 # only be used when explicitly requested.
4949 if test "x$enable_dependency_tracking" = xyes; then
4950 continue
4951 else
4952 break
4953 fi
4954 ;;
4955 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4956 # This compiler won't grok '-c -o', but also, the minuso test has
4957 # not run yet. These depmodes are late enough in the game, and
4958 # so weak that their functioning should not be impacted.
4959 am__obj=conftest.${OBJEXT-o}
4960 am__minus_obj=
4961 ;;
4962 none) break ;;
4963 esac
4964 if depmode=$depmode \
4965 source=sub/conftest.c object=$am__obj \
4966 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4967 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4968 >/dev/null 2>conftest.err &&
4969 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4970 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4971 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4972 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4973 # icc doesn't choke on unknown options, it will just issue warnings
4974 # or remarks (even with -Werror). So we grep stderr for any message
4975 # that says an option was ignored or not supported.
4976 # When given -MP, icc 7.0 and 7.1 complain thusly:
4977 # icc: Command line warning: ignoring option '-M'; no argument required
4978 # The diagnosis changed in icc 8.0:
4979 # icc: Command line remark: option '-MP' not supported
4980 if (grep 'ignoring option' conftest.err ||
4981 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4982 am_cv_CXX_dependencies_compiler_type=$depmode
4983 break
4984 fi
4985 fi
4986 done
4987
4988 cd ..
4989 rm -rf conftest.dir
4990 else
4991 am_cv_CXX_dependencies_compiler_type=none
4992 fi
4993
4994 fi
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4996 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4997 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4998
4999 if
5000 test "x$enable_dependency_tracking" != xno \
5001 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5002 am__fastdepCXX_TRUE=
5003 am__fastdepCXX_FALSE='#'
5004 else
5005 am__fastdepCXX_TRUE='#'
5006 am__fastdepCXX_FALSE=
5007 fi
5008
5009
5010 for ac_prog in 'bison -y' byacc
5011 do
5012 # Extract the first word of "$ac_prog", so it can be a program name with args.
5013 set dummy $ac_prog; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if ${ac_cv_prog_YACC+:} false; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$YACC"; then
5020 ac_cv_prog_YACC="$YACC" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5024 do
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5029 ac_cv_prog_YACC="$ac_prog"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5032 fi
5033 done
5034 done
5035 IFS=$as_save_IFS
5036
5037 fi
5038 fi
5039 YACC=$ac_cv_prog_YACC
5040 if test -n "$YACC"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
5042 $as_echo "$YACC" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 fi
5047
5048
5049 test -n "$YACC" && break
5050 done
5051 test -n "$YACC" || YACC="yacc"
5052
5053
5054 for ac_prog in flex lex
5055 do
5056 # Extract the first word of "$ac_prog", so it can be a program name with args.
5057 set dummy $ac_prog; ac_word=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if ${ac_cv_prog_LEX+:} false; then :
5061 $as_echo_n "(cached) " >&6
5062 else
5063 if test -n "$LEX"; then
5064 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5065 else
5066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5067 for as_dir in $PATH
5068 do
5069 IFS=$as_save_IFS
5070 test -z "$as_dir" && as_dir=.
5071 for ac_exec_ext in '' $ac_executable_extensions; do
5072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5073 ac_cv_prog_LEX="$ac_prog"
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 break 2
5076 fi
5077 done
5078 done
5079 IFS=$as_save_IFS
5080
5081 fi
5082 fi
5083 LEX=$ac_cv_prog_LEX
5084 if test -n "$LEX"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
5086 $as_echo "$LEX" >&6; }
5087 else
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5090 fi
5091
5092
5093 test -n "$LEX" && break
5094 done
5095 test -n "$LEX" || LEX=":"
5096
5097 if test "x$LEX" != "x:"; then
5098 cat >conftest.l <<_ACEOF
5099 %%
5100 a { ECHO; }
5101 b { REJECT; }
5102 c { yymore (); }
5103 d { yyless (1); }
5104 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument. */
5105 yyless ((input () != 0)); }
5106 f { unput (yytext[0]); }
5107 . { BEGIN INITIAL; }
5108 %%
5109 #ifdef YYTEXT_POINTER
5110 extern char *yytext;
5111 #endif
5112 int
5113 main (void)
5114 {
5115 return ! yylex () + ! yywrap ();
5116 }
5117 _ACEOF
5118 { { ac_try="$LEX conftest.l"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5124 $as_echo "$ac_try_echo"; } >&5
5125 (eval "$LEX conftest.l") 2>&5
5126 ac_status=$?
5127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
5130 $as_echo_n "checking lex output file root... " >&6; }
5131 if ${ac_cv_prog_lex_root+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134
5135 if test -f lex.yy.c; then
5136 ac_cv_prog_lex_root=lex.yy
5137 elif test -f lexyy.c; then
5138 ac_cv_prog_lex_root=lexyy
5139 else
5140 as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
5141 fi
5142 fi
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
5144 $as_echo "$ac_cv_prog_lex_root" >&6; }
5145 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5146
5147 if test -z "${LEXLIB+set}"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
5149 $as_echo_n "checking lex library... " >&6; }
5150 if ${ac_cv_lib_lex+:} false; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153
5154 ac_save_LIBS=$LIBS
5155 ac_cv_lib_lex='none needed'
5156 for ac_lib in '' -lfl -ll; do
5157 LIBS="$ac_lib $ac_save_LIBS"
5158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5159 /* end confdefs.h. */
5160 `cat $LEX_OUTPUT_ROOT.c`
5161 _ACEOF
5162 if ac_fn_c_try_link "$LINENO"; then :
5163 ac_cv_lib_lex=$ac_lib
5164 fi
5165 rm -f core conftest.err conftest.$ac_objext \
5166 conftest$ac_exeext conftest.$ac_ext
5167 test "$ac_cv_lib_lex" != 'none needed' && break
5168 done
5169 LIBS=$ac_save_LIBS
5170
5171 fi
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
5173 $as_echo "$ac_cv_lib_lex" >&6; }
5174 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5175 fi
5176
5177
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
5179 $as_echo_n "checking whether yytext is a pointer... " >&6; }
5180 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 # POSIX says lex can declare yytext either as a pointer or an array; the
5184 # default is implementation-dependent. Figure out which it is, since
5185 # not all implementations provide the %pointer and %array declarations.
5186 ac_cv_prog_lex_yytext_pointer=no
5187 ac_save_LIBS=$LIBS
5188 LIBS="$LEXLIB $ac_save_LIBS"
5189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5191
5192 #define YYTEXT_POINTER 1
5193 `cat $LEX_OUTPUT_ROOT.c`
5194 _ACEOF
5195 if ac_fn_c_try_link "$LINENO"; then :
5196 ac_cv_prog_lex_yytext_pointer=yes
5197 fi
5198 rm -f core conftest.err conftest.$ac_objext \
5199 conftest$ac_exeext conftest.$ac_ext
5200 LIBS=$ac_save_LIBS
5201
5202 fi
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
5204 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
5205 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5206
5207 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
5208
5209 fi
5210 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5211
5212 fi
5213 if test "$LEX" = :; then
5214 LEX=${am_missing_run}flex
5215 fi
5216 # Extract the first word of "ar", so it can be a program name with args.
5217 set dummy ar; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_path_AR+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 case $AR in
5224 [\\/]* | ?:[\\/]*)
5225 ac_cv_path_AR="$AR" # Let the user override the test with a path.
5226 ;;
5227 *)
5228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 for as_dir in $PATH
5230 do
5231 IFS=$as_save_IFS
5232 test -z "$as_dir" && as_dir=.
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5235 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
5236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 break 2
5238 fi
5239 done
5240 done
5241 IFS=$as_save_IFS
5242
5243 ;;
5244 esac
5245 fi
5246 AR=$ac_cv_path_AR
5247 if test -n "$AR"; then
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5249 $as_echo "$AR" >&6; }
5250 else
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5252 $as_echo "no" >&6; }
5253 fi
5254
5255
5256 # Extract the first word of "gar", so it can be a program name with args.
5257 set dummy gar; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if ${ac_cv_path_AR+:} false; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 case $AR in
5264 [\\/]* | ?:[\\/]*)
5265 ac_cv_path_AR="$AR" # Let the user override the test with a path.
5266 ;;
5267 *)
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5270 do
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
5276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5278 fi
5279 done
5280 done
5281 IFS=$as_save_IFS
5282
5283 ;;
5284 esac
5285 fi
5286 AR=$ac_cv_path_AR
5287 if test -n "$AR"; then
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5289 $as_echo "$AR" >&6; }
5290 else
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5292 $as_echo "no" >&6; }
5293 fi
5294
5295
5296
5297 if test "x$AR" = "x"; then
5298 as_fn_error $? "*** 'ar' and 'gar' missing, please install one of them or fix your \$PATH ***" "$LINENO" 5
5299 fi
5300
5301 if test "x$enable_maintainermode" = "xno"; then
5302 if test "${GXX}" = yes; then
5303 gxx_version=`${CXX} -v 2>&1 | grep "^.*g.. version" | \\
5304 sed -e 's/^.*g.. version *//'`
5305 case ${gxx_version} in
5306 1.*|2.*|3.*|4.0|4.1|4.2|4.3)
5307 ;;
5308 *)
5309 FLAGS_ALL="$FLAGS_ALL -march=native"
5310 ;;
5311 esac
5312 fi
5313 fi
5314
5315
5316 minilzo_enabled=no
5317
5318
5319 # Check whether --with-included-lzo was given.
5320 if test "${with_included_lzo+set}" = set; then :
5321 withval=$with_included_lzo; minilzo_enabled=$withval
5322 else
5323 minilzo_enabled=no
5324 fi
5325
5326
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use the included lzo compression library" >&5
5328 $as_echo_n "checking whether to use the included lzo compression library... " >&6; }
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $minilzo_enabled" >&5
5330 $as_echo "$minilzo_enabled" >&6; }
5331
5332 LZO_LIBS=
5333 if test "$minilzo_enabled" != "yes"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo2" >&5
5335 $as_echo_n "checking for lzo1x_1_compress in -llzo2... " >&6; }
5336 if ${ac_cv_lib_lzo2_lzo1x_1_compress+:} false; then :
5337 $as_echo_n "(cached) " >&6
5338 else
5339 ac_check_lib_save_LIBS=$LIBS
5340 LIBS="-llzo2 $LIBS"
5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5342 /* end confdefs.h. */
5343
5344 /* Override any GCC internal prototype to avoid an error.
5345 Use char because int might match the return type of a GCC
5346 builtin and then its argument prototype would still apply. */
5347 #ifdef __cplusplus
5348 extern "C"
5349 #endif
5350 char lzo1x_1_compress ();
5351 int
5352 main ()
5353 {
5354 return lzo1x_1_compress ();
5355 ;
5356 return 0;
5357 }
5358 _ACEOF
5359 if ac_fn_c_try_link "$LINENO"; then :
5360 ac_cv_lib_lzo2_lzo1x_1_compress=yes
5361 else
5362 ac_cv_lib_lzo2_lzo1x_1_compress=no
5363 fi
5364 rm -f core conftest.err conftest.$ac_objext \
5365 conftest$ac_exeext conftest.$ac_ext
5366 LIBS=$ac_check_lib_save_LIBS
5367 fi
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1x_1_compress" >&5
5369 $as_echo "$ac_cv_lib_lzo2_lzo1x_1_compress" >&6; }
5370 if test "x$ac_cv_lib_lzo2_lzo1x_1_compress" = xyes; then :
5371 LZO_LIBS=-llzo2
5372 fi
5373
5374 if test "$LZO_LIBS" = ""; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo" >&5
5376 $as_echo_n "checking for lzo1x_1_compress in -llzo... " >&6; }
5377 if ${ac_cv_lib_lzo_lzo1x_1_compress+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 ac_check_lib_save_LIBS=$LIBS
5381 LIBS="-llzo $LIBS"
5382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5383 /* end confdefs.h. */
5384
5385 /* Override any GCC internal prototype to avoid an error.
5386 Use char because int might match the return type of a GCC
5387 builtin and then its argument prototype would still apply. */
5388 #ifdef __cplusplus
5389 extern "C"
5390 #endif
5391 char lzo1x_1_compress ();
5392 int
5393 main ()
5394 {
5395 return lzo1x_1_compress ();
5396 ;
5397 return 0;
5398 }
5399 _ACEOF
5400 if ac_fn_c_try_link "$LINENO"; then :
5401 ac_cv_lib_lzo_lzo1x_1_compress=yes
5402 else
5403 ac_cv_lib_lzo_lzo1x_1_compress=no
5404 fi
5405 rm -f core conftest.err conftest.$ac_objext \
5406 conftest$ac_exeext conftest.$ac_ext
5407 LIBS=$ac_check_lib_save_LIBS
5408 fi
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo_lzo1x_1_compress" >&5
5410 $as_echo "$ac_cv_lib_lzo_lzo1x_1_compress" >&6; }
5411 if test "x$ac_cv_lib_lzo_lzo1x_1_compress" = xyes; then :
5412 LZO_LIBS=-llzo
5413 else
5414
5415 minilzo_enabled=yes
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ***
5417 *** Could not find liblzo or liblzo2. Will use the included minilzo.
5418 " >&5
5419 $as_echo "$as_me: WARNING: ***
5420 *** Could not find liblzo or liblzo2. Will use the included minilzo.
5421 " >&2;}
5422
5423 fi
5424
5425 fi
5426 fi
5427
5428
5429 if test "$LZO_LIBS" = "-llzo"; then
5430
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5433 if ${ac_cv_path_GREP+:} false; then :
5434 $as_echo_n "(cached) " >&6
5435 else
5436 if test -z "$GREP"; then
5437 ac_path_GREP_found=false
5438 # Loop through the user's path and test for each of PROGNAME-LIST
5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5441 do
5442 IFS=$as_save_IFS
5443 test -z "$as_dir" && as_dir=.
5444 for ac_prog in grep ggrep; do
5445 for ac_exec_ext in '' $ac_executable_extensions; do
5446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5447 as_fn_executable_p "$ac_path_GREP" || continue
5448 # Check for GNU ac_path_GREP and select it if it is found.
5449 # Check for GNU $ac_path_GREP
5450 case `"$ac_path_GREP" --version 2>&1` in
5451 *GNU*)
5452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5453 *)
5454 ac_count=0
5455 $as_echo_n 0123456789 >"conftest.in"
5456 while :
5457 do
5458 cat "conftest.in" "conftest.in" >"conftest.tmp"
5459 mv "conftest.tmp" "conftest.in"
5460 cp "conftest.in" "conftest.nl"
5461 $as_echo 'GREP' >> "conftest.nl"
5462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5464 as_fn_arith $ac_count + 1 && ac_count=$as_val
5465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5466 # Best one so far, save it but keep looking for a better one
5467 ac_cv_path_GREP="$ac_path_GREP"
5468 ac_path_GREP_max=$ac_count
5469 fi
5470 # 10*(2^10) chars as input seems more than enough
5471 test $ac_count -gt 10 && break
5472 done
5473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5474 esac
5475
5476 $ac_path_GREP_found && break 3
5477 done
5478 done
5479 done
5480 IFS=$as_save_IFS
5481 if test -z "$ac_cv_path_GREP"; then
5482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5483 fi
5484 else
5485 ac_cv_path_GREP=$GREP
5486 fi
5487
5488 fi
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5490 $as_echo "$ac_cv_path_GREP" >&6; }
5491 GREP="$ac_cv_path_GREP"
5492
5493
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5495 $as_echo_n "checking for egrep... " >&6; }
5496 if ${ac_cv_path_EGREP+:} false; then :
5497 $as_echo_n "(cached) " >&6
5498 else
5499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5500 then ac_cv_path_EGREP="$GREP -E"
5501 else
5502 if test -z "$EGREP"; then
5503 ac_path_EGREP_found=false
5504 # Loop through the user's path and test for each of PROGNAME-LIST
5505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5507 do
5508 IFS=$as_save_IFS
5509 test -z "$as_dir" && as_dir=.
5510 for ac_prog in egrep; do
5511 for ac_exec_ext in '' $ac_executable_extensions; do
5512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5513 as_fn_executable_p "$ac_path_EGREP" || continue
5514 # Check for GNU ac_path_EGREP and select it if it is found.
5515 # Check for GNU $ac_path_EGREP
5516 case `"$ac_path_EGREP" --version 2>&1` in
5517 *GNU*)
5518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5519 *)
5520 ac_count=0
5521 $as_echo_n 0123456789 >"conftest.in"
5522 while :
5523 do
5524 cat "conftest.in" "conftest.in" >"conftest.tmp"
5525 mv "conftest.tmp" "conftest.in"
5526 cp "conftest.in" "conftest.nl"
5527 $as_echo 'EGREP' >> "conftest.nl"
5528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5530 as_fn_arith $ac_count + 1 && ac_count=$as_val
5531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5532 # Best one so far, save it but keep looking for a better one
5533 ac_cv_path_EGREP="$ac_path_EGREP"
5534 ac_path_EGREP_max=$ac_count
5535 fi
5536 # 10*(2^10) chars as input seems more than enough
5537 test $ac_count -gt 10 && break
5538 done
5539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5540 esac
5541
5542 $ac_path_EGREP_found && break 3
5543 done
5544 done
5545 done
5546 IFS=$as_save_IFS
5547 if test -z "$ac_cv_path_EGREP"; then
5548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5549 fi
5550 else
5551 ac_cv_path_EGREP=$EGREP
5552 fi
5553
5554 fi
5555 fi
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5557 $as_echo "$ac_cv_path_EGREP" >&6; }
5558 EGREP="$ac_cv_path_EGREP"
5559
5560
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5562 $as_echo_n "checking for ANSI C header files... " >&6; }
5563 if ${ac_cv_header_stdc+:} false; then :
5564 $as_echo_n "(cached) " >&6
5565 else
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 #include <stdlib.h>
5569 #include <stdarg.h>
5570 #include <string.h>
5571 #include <float.h>
5572
5573 int
5574 main ()
5575 {
5576
5577 ;
5578 return 0;
5579 }
5580 _ACEOF
5581 if ac_fn_c_try_compile "$LINENO"; then :
5582 ac_cv_header_stdc=yes
5583 else
5584 ac_cv_header_stdc=no
5585 fi
5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587
5588 if test $ac_cv_header_stdc = yes; then
5589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5592 #include <string.h>
5593
5594 _ACEOF
5595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5596 $EGREP "memchr" >/dev/null 2>&1; then :
5597
5598 else
5599 ac_cv_header_stdc=no
5600 fi
5601 rm -f conftest*
5602
5603 fi
5604
5605 if test $ac_cv_header_stdc = yes; then
5606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5609 #include <stdlib.h>
5610
5611 _ACEOF
5612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5613 $EGREP "free" >/dev/null 2>&1; then :
5614
5615 else
5616 ac_cv_header_stdc=no
5617 fi
5618 rm -f conftest*
5619
5620 fi
5621
5622 if test $ac_cv_header_stdc = yes; then
5623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5624 if test "$cross_compiling" = yes; then :
5625 :
5626 else
5627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5629 #include <ctype.h>
5630 #include <stdlib.h>
5631 #if ((' ' & 0x0FF) == 0x020)
5632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5634 #else
5635 # define ISLOWER(c) \
5636 (('a' <= (c) && (c) <= 'i') \
5637 || ('j' <= (c) && (c) <= 'r') \
5638 || ('s' <= (c) && (c) <= 'z'))
5639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5640 #endif
5641
5642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5643 int
5644 main ()
5645 {
5646 int i;
5647 for (i = 0; i < 256; i++)
5648 if (XOR (islower (i), ISLOWER (i))
5649 || toupper (i) != TOUPPER (i))
5650 return 2;
5651 return 0;
5652 }
5653 _ACEOF
5654 if ac_fn_c_try_run "$LINENO"; then :
5655
5656 else
5657 ac_cv_header_stdc=no
5658 fi
5659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5660 conftest.$ac_objext conftest.beam conftest.$ac_ext
5661 fi
5662
5663 fi
5664 fi
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5666 $as_echo "$ac_cv_header_stdc" >&6; }
5667 if test $ac_cv_header_stdc = yes; then
5668
5669 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5670
5671 fi
5672
5673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5675 inttypes.h stdint.h unistd.h
5676 do :
5677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5679 "
5680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5681 cat >>confdefs.h <<_ACEOF
5682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5683 _ACEOF
5684
5685 fi
5686
5687 done
5688
5689
5690 for ac_header in lzo1x.h
5691 do :
5692 ac_fn_c_check_header_mongrel "$LINENO" "lzo1x.h" "ac_cv_header_lzo1x_h" "$ac_includes_default"
5693 if test "x$ac_cv_header_lzo1x_h" = xyes; then :
5694 cat >>confdefs.h <<_ACEOF
5695 #define HAVE_LZO1X_H 1
5696 _ACEOF
5697
5698 fi
5699
5700 done
5701
5702 elif test "$LZO_LIBS" = "-llzo2"; then
5703 for ac_header in lzo/lzo1x.h
5704 do :
5705 ac_fn_c_check_header_mongrel "$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo1x_h" "$ac_includes_default"
5706 if test "x$ac_cv_header_lzo_lzo1x_h" = xyes; then :
5707 cat >>confdefs.h <<_ACEOF
5708 #define HAVE_LZO_LZO1X_H 1
5709 _ACEOF
5710
5711 fi
5712
5713 done
5714
5715 fi
5716
5717 if test "$minilzo_enabled" = "yes"; then
5718
5719 $as_echo "#define USE_MINILZO 1" >>confdefs.h
5720
5721 fi
5722
5723 if test "$use_lzo" = "yes"; then
5724 USE_LZO_TRUE=
5725 USE_LZO_FALSE='#'
5726 else
5727 USE_LZO_TRUE='#'
5728 USE_LZO_FALSE=
5729 fi
5730
5731 if test "$minilzo_enabled" = "yes"; then
5732 ENABLE_INCLUDED_LZO_TRUE=
5733 ENABLE_INCLUDED_LZO_FALSE='#'
5734 else
5735 ENABLE_INCLUDED_LZO_TRUE='#'
5736 ENABLE_INCLUDED_LZO_FALSE=
5737 fi
5738
5739
5740 HAVE_X11=0
5741
5742 if test "x$enable_x11_textmode" = "xyes"; then
5743 TEMP_LDFLAGS=$LDFLAGS
5744 LDFLAGS="$HT_LDFLAGS $HT_X11BASE"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDisplay in -lX11" >&5
5746 $as_echo_n "checking for XOpenDisplay in -lX11... " >&6; }
5747 if ${ac_cv_lib_X11_XOpenDisplay+:} false; then :
5748 $as_echo_n "(cached) " >&6
5749 else
5750 ac_check_lib_save_LIBS=$LIBS
5751 LIBS="-lX11 $LIBS"
5752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5754
5755 /* Override any GCC internal prototype to avoid an error.
5756 Use char because int might match the return type of a GCC
5757 builtin and then its argument prototype would still apply. */
5758 #ifdef __cplusplus
5759 extern "C"
5760 #endif
5761 char XOpenDisplay ();
5762 int
5763 main ()
5764 {
5765 return XOpenDisplay ();
5766 ;
5767 return 0;
5768 }
5769 _ACEOF
5770 if ac_fn_c_try_link "$LINENO"; then :
5771 ac_cv_lib_X11_XOpenDisplay=yes
5772 else
5773 ac_cv_lib_X11_XOpenDisplay=no
5774 fi
5775 rm -f core conftest.err conftest.$ac_objext \
5776 conftest$ac_exeext conftest.$ac_ext
5777 LIBS=$ac_check_lib_save_LIBS
5778 fi
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XOpenDisplay" >&5
5780 $as_echo "$ac_cv_lib_X11_XOpenDisplay" >&6; }
5781 if test "x$ac_cv_lib_X11_XOpenDisplay" = xyes; then :
5782 HAVE_X11=1
5783 fi
5784
5785 LDFLAGS=$TEMP_LDFLAGS
5786 if test "x$HAVE_X11" = "x1"; then
5787
5788 $as_echo "#define HAVE_TEXTMODE_X11 1" >>confdefs.h
5789
5790 HT_LIBS="$HT_LIBS -lX11"
5791 HT_LDFLAGS="$HT_LDFLAGS $HT_X11BASE"
5792 fi
5793 fi
5794
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5796 $as_echo_n "checking for ANSI C header files... " >&6; }
5797 if ${ac_cv_header_stdc+:} false; then :
5798 $as_echo_n "(cached) " >&6
5799 else
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5802 #include <stdlib.h>
5803 #include <stdarg.h>
5804 #include <string.h>
5805 #include <float.h>
5806
5807 int
5808 main ()
5809 {
5810
5811 ;
5812 return 0;
5813 }
5814 _ACEOF
5815 if ac_fn_c_try_compile "$LINENO"; then :
5816 ac_cv_header_stdc=yes
5817 else
5818 ac_cv_header_stdc=no
5819 fi
5820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5821
5822 if test $ac_cv_header_stdc = yes; then
5823 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5826 #include <string.h>
5827
5828 _ACEOF
5829 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5830 $EGREP "memchr" >/dev/null 2>&1; then :
5831
5832 else
5833 ac_cv_header_stdc=no
5834 fi
5835 rm -f conftest*
5836
5837 fi
5838
5839 if test $ac_cv_header_stdc = yes; then
5840 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5843 #include <stdlib.h>
5844
5845 _ACEOF
5846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5847 $EGREP "free" >/dev/null 2>&1; then :
5848
5849 else
5850 ac_cv_header_stdc=no
5851 fi
5852 rm -f conftest*
5853
5854 fi
5855
5856 if test $ac_cv_header_stdc = yes; then
5857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5858 if test "$cross_compiling" = yes; then :
5859 :
5860 else
5861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5862 /* end confdefs.h. */
5863 #include <ctype.h>
5864 #include <stdlib.h>
5865 #if ((' ' & 0x0FF) == 0x020)
5866 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5867 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5868 #else
5869 # define ISLOWER(c) \
5870 (('a' <= (c) && (c) <= 'i') \
5871 || ('j' <= (c) && (c) <= 'r') \
5872 || ('s' <= (c) && (c) <= 'z'))
5873 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5874 #endif
5875
5876 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5877 int
5878 main ()
5879 {
5880 int i;
5881 for (i = 0; i < 256; i++)
5882 if (XOR (islower (i), ISLOWER (i))
5883 || toupper (i) != TOUPPER (i))
5884 return 2;
5885 return 0;
5886 }
5887 _ACEOF
5888 if ac_fn_c_try_run "$LINENO"; then :
5889
5890 else
5891 ac_cv_header_stdc=no
5892 fi
5893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5894 conftest.$ac_objext conftest.beam conftest.$ac_ext
5895 fi
5896
5897 fi
5898 fi
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5900 $as_echo "$ac_cv_header_stdc" >&6; }
5901 if test $ac_cv_header_stdc = yes; then
5902
5903 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5904
5905 fi
5906
5907 for ac_header in stdlib.h
5908 do :
5909 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5910 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5911 cat >>confdefs.h <<_ACEOF
5912 #define HAVE_STDLIB_H 1
5913 _ACEOF
5914
5915 fi
5916
5917 done
5918
5919 for ac_header in string.h
5920 do :
5921 ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
5922 if test "x$ac_cv_header_string_h" = xyes; then :
5923 cat >>confdefs.h <<_ACEOF
5924 #define HAVE_STRING_H 1
5925 _ACEOF
5926
5927 fi
5928
5929 done
5930
5931 for ac_header in stdint.h
5932 do :
5933 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
5934 if test "x$ac_cv_header_stdint_h" = xyes; then :
5935 cat >>confdefs.h <<_ACEOF
5936 #define HAVE_STDINT_H 1
5937 _ACEOF
5938
5939 fi
5940
5941 done
5942
5943
5944 CURSES_LIB=
5945 if test "x$NEED_CURSES" = "x1"; then
5946 for ac_header in ncurses.h
5947 do :
5948 ac_fn_c_check_header_mongrel "$LINENO" "ncurses.h" "ac_cv_header_ncurses_h" "$ac_includes_default"
5949 if test "x$ac_cv_header_ncurses_h" = xyes; then :
5950 cat >>confdefs.h <<_ACEOF
5951 #define HAVE_NCURSES_H 1
5952 _ACEOF
5953
5954 $as_echo "#define CURSES_HDR <ncurses.h>" >>confdefs.h
5955 CURSES_LIB=ncurses
5956 fi
5957
5958 done
5959
5960 if test "x$CURSES_LIB" = "x"; then
5961 for ac_header in curses.h
5962 do :
5963 ac_fn_c_check_header_mongrel "$LINENO" "curses.h" "ac_cv_header_curses_h" "$ac_includes_default"
5964 if test "x$ac_cv_header_curses_h" = xyes; then :
5965 cat >>confdefs.h <<_ACEOF
5966 #define HAVE_CURSES_H 1
5967 _ACEOF
5968
5969 $as_echo "#define CURSES_HDR <curses.h>" >>confdefs.h
5970 CURSES_LIB=curses
5971 fi
5972
5973 done
5974
5975 if test "x$CURSES_LIB" = "x"; then
5976 as_fn_error $? "*** (n)curses.h needed ***" "$LINENO" 5
5977 fi
5978 fi
5979 HT_LIBS="$HT_LIBS -l$CURSES_LIB"
5980 fi
5981
5982
5983
5984
5985
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
5987 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
5988 if ${ac_cv_c_const+:} false; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5992 /* end confdefs.h. */
5993
5994 int
5995 main ()
5996 {
5997
5998 #ifndef __cplusplus
5999 /* Ultrix mips cc rejects this sort of thing. */
6000 typedef int charset[2];
6001 const charset cs = { 0, 0 };
6002 /* SunOS 4.1.1 cc rejects this. */
6003 char const *const *pcpcc;
6004 char **ppc;
6005 /* NEC SVR4.0.2 mips cc rejects this. */
6006 struct point {int x, y;};
6007 static struct point const zero = {0,0};
6008 /* AIX XL C 1.02.0.0 rejects this.
6009 It does not let you subtract one const X* pointer from another in
6010 an arm of an if-expression whose if-part is not a constant
6011 expression */
6012 const char *g = "string";
6013 pcpcc = &g + (g ? g-g : 0);
6014 /* HPUX 7.0 cc rejects these. */
6015 ++pcpcc;
6016 ppc = (char**) pcpcc;
6017 pcpcc = (char const *const *) ppc;
6018 { /* SCO 3.2v4 cc rejects this sort of thing. */
6019 char tx;
6020 char *t = &tx;
6021 char const *s = 0 ? (char *) 0 : (char const *) 0;
6022
6023 *t++ = 0;
6024 if (s) return 0;
6025 }
6026 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
6027 int x[] = {25, 17};
6028 const int *foo = &x[0];
6029 ++foo;
6030 }
6031 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6032 typedef const int *iptr;
6033 iptr p = 0;
6034 ++p;
6035 }
6036 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6037 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6038 struct s { int j; const int *ap[3]; } bx;
6039 struct s *b = &bx; b->j = 5;
6040 }
6041 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6042 const int foo = 10;
6043 if (!foo) return 0;
6044 }
6045 return !cs[0] && !zero.x;
6046 #endif
6047
6048 ;
6049 return 0;
6050 }
6051 _ACEOF
6052 if ac_fn_c_try_compile "$LINENO"; then :
6053 ac_cv_c_const=yes
6054 else
6055 ac_cv_c_const=no
6056 fi
6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6058 fi
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6060 $as_echo "$ac_cv_c_const" >&6; }
6061 if test $ac_cv_c_const = no; then
6062
6063 $as_echo "#define const /**/" >>confdefs.h
6064
6065 fi
6066
6067
6068 # The cast to long int works around a bug in the HP C Compiler
6069 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6070 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6071 # This bug is HP SR number 8606223364.
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
6073 $as_echo_n "checking size of char... " >&6; }
6074 if ${ac_cv_sizeof_char+:} false; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
6078
6079 else
6080 if test "$ac_cv_type_char" = yes; then
6081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6083 as_fn_error 77 "cannot compute sizeof (char)
6084 See \`config.log' for more details" "$LINENO" 5; }
6085 else
6086 ac_cv_sizeof_char=0
6087 fi
6088 fi
6089
6090 fi
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
6092 $as_echo "$ac_cv_sizeof_char" >&6; }
6093
6094
6095
6096 cat >>confdefs.h <<_ACEOF
6097 #define SIZEOF_CHAR $ac_cv_sizeof_char
6098 _ACEOF
6099
6100
6101 # The cast to long int works around a bug in the HP C Compiler
6102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6104 # This bug is HP SR number 8606223364.
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
6106 $as_echo_n "checking size of short... " >&6; }
6107 if ${ac_cv_sizeof_short+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
6111
6112 else
6113 if test "$ac_cv_type_short" = yes; then
6114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6115 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6116 as_fn_error 77 "cannot compute sizeof (short)
6117 See \`config.log' for more details" "$LINENO" 5; }
6118 else
6119 ac_cv_sizeof_short=0
6120 fi
6121 fi
6122
6123 fi
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
6125 $as_echo "$ac_cv_sizeof_short" >&6; }
6126
6127
6128
6129 cat >>confdefs.h <<_ACEOF
6130 #define SIZEOF_SHORT $ac_cv_sizeof_short
6131 _ACEOF
6132
6133
6134 # The cast to long int works around a bug in the HP C Compiler
6135 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6136 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6137 # This bug is HP SR number 8606223364.
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
6139 $as_echo_n "checking size of int... " >&6; }
6140 if ${ac_cv_sizeof_int+:} false; then :
6141 $as_echo_n "(cached) " >&6
6142 else
6143 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
6144
6145 else
6146 if test "$ac_cv_type_int" = yes; then
6147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6149 as_fn_error 77 "cannot compute sizeof (int)
6150 See \`config.log' for more details" "$LINENO" 5; }
6151 else
6152 ac_cv_sizeof_int=0
6153 fi
6154 fi
6155
6156 fi
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
6158 $as_echo "$ac_cv_sizeof_int" >&6; }
6159
6160
6161
6162 cat >>confdefs.h <<_ACEOF
6163 #define SIZEOF_INT $ac_cv_sizeof_int
6164 _ACEOF
6165
6166
6167 # The cast to long int works around a bug in the HP C Compiler
6168 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
6169 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
6170 # This bug is HP SR number 8606223364.
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long int" >&5
6172 $as_echo_n "checking size of long int... " >&6; }
6173 if ${ac_cv_sizeof_long_int+:} false; then :
6174 $as_echo_n "(cached) " >&6
6175 else
6176 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long int))" "ac_cv_sizeof_long_int" "$ac_includes_default"; then :
6177
6178 else
6179 if test "$ac_cv_type_long_int" = yes; then
6180 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6182 as_fn_error 77 "cannot compute sizeof (long int)
6183 See \`config.log' for more details" "$LINENO" 5; }
6184 else
6185 ac_cv_sizeof_long_int=0
6186 fi
6187 fi
6188
6189 fi
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_int" >&5
6191 $as_echo "$ac_cv_sizeof_long_int" >&6; }
6192
6193
6194
6195 cat >>confdefs.h <<_ACEOF
6196 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
6197 _ACEOF
6198
6199
6200
6201 for ac_func in asinh acosh atanh
6202 do :
6203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6205 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6206 cat >>confdefs.h <<_ACEOF
6207 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6208 _ACEOF
6209
6210 fi
6211 done
6212
6213
6214 ac_config_files="$ac_config_files Makefile analyser/Makefile asm/Makefile doc/Makefile eval/Makefile info/Makefile io/Makefile io/posix/Makefile io/win32/Makefile minilzo/Makefile output/Makefile tools/Makefile"
6215
6216 cat >confcache <<\_ACEOF
6217 # This file is a shell script that caches the results of configure
6218 # tests run on this system so they can be shared between configure
6219 # scripts and configure runs, see configure's option --config-cache.
6220 # It is not useful on other systems. If it contains results you don't
6221 # want to keep, you may remove or edit it.
6222 #
6223 # config.status only pays attention to the cache file if you give it
6224 # the --recheck option to rerun configure.
6225 #
6226 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6228 # following values.
6229
6230 _ACEOF
6231
6232 # The following way of writing the cache mishandles newlines in values,
6233 # but we know of no workaround that is simple, portable, and efficient.
6234 # So, we kill variables containing newlines.
6235 # Ultrix sh set writes to stderr and can't be redirected directly,
6236 # and sets the high bit in the cache file unless we assign to the vars.
6237 (
6238 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6239 eval ac_val=\$$ac_var
6240 case $ac_val in #(
6241 *${as_nl}*)
6242 case $ac_var in #(
6243 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6244 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6245 esac
6246 case $ac_var in #(
6247 _ | IFS | as_nl) ;; #(
6248 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6249 *) { eval $ac_var=; unset $ac_var;} ;;
6250 esac ;;
6251 esac
6252 done
6253
6254 (set) 2>&1 |
6255 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6256 *${as_nl}ac_space=\ *)
6257 # `set' does not quote correctly, so add quotes: double-quote
6258 # substitution turns \\\\ into \\, and sed turns \\ into \.
6259 sed -n \
6260 "s/'/'\\\\''/g;
6261 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6262 ;; #(
6263 *)
6264 # `set' quotes correctly as required by POSIX, so do not add quotes.
6265 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6266 ;;
6267 esac |
6268 sort
6269 ) |
6270 sed '
6271 /^ac_cv_env_/b end
6272 t clear
6273 :clear
6274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6275 t end
6276 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6277 :end' >>confcache
6278 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6279 if test -w "$cache_file"; then
6280 if test "x$cache_file" != "x/dev/null"; then
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6282 $as_echo "$as_me: updating cache $cache_file" >&6;}
6283 if test ! -f "$cache_file" || test -h "$cache_file"; then
6284 cat confcache >"$cache_file"
6285 else
6286 case $cache_file in #(
6287 */* | ?:*)
6288 mv -f confcache "$cache_file"$$ &&
6289 mv -f "$cache_file"$$ "$cache_file" ;; #(
6290 *)
6291 mv -f confcache "$cache_file" ;;
6292 esac
6293 fi
6294 fi
6295 else
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6297 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
6298 fi
6299 fi
6300 rm -f confcache
6301
6302 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6303 # Let make expand exec_prefix.
6304 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6305
6306 DEFS=-DHAVE_CONFIG_H
6307
6308 ac_libobjs=
6309 ac_ltlibobjs=
6310 U=
6311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6312 # 1. Remove the extension, and $U if already installed.
6313 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6314 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6315 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6316 # will be set to the directory where LIBOBJS objects are built.
6317 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6318 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6319 done
6320 LIBOBJS=$ac_libobjs
6321
6322 LTLIBOBJS=$ac_ltlibobjs
6323
6324
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6326 $as_echo_n "checking that generated files are newer than configure... " >&6; }
6327 if test -n "$am_sleep_pid"; then
6328 # Hide warnings about reused PIDs.
6329 wait $am_sleep_pid 2>/dev/null
6330 fi
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
6332 $as_echo "done" >&6; }
6333 if test -n "$EXEEXT"; then
6334 am__EXEEXT_TRUE=
6335 am__EXEEXT_FALSE='#'
6336 else
6337 am__EXEEXT_TRUE='#'
6338 am__EXEEXT_FALSE=
6339 fi
6340
6341 if test -z "${USE_POSIX_DIR_TRUE}" && test -z "${USE_POSIX_DIR_FALSE}"; then
6342 as_fn_error $? "conditional \"USE_POSIX_DIR\" was never defined.
6343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6344 fi
6345 if test -z "${USE_WIN32_DIR_TRUE}" && test -z "${USE_WIN32_DIR_FALSE}"; then
6346 as_fn_error $? "conditional \"USE_WIN32_DIR\" was never defined.
6347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6348 fi
6349 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6350 as_fn_error $? "conditional \"AMDEP\" was never defined.
6351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6352 fi
6353 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6354 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6356 fi
6357 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
6358 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
6359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6360 fi
6361 if test -z "${USE_LZO_TRUE}" && test -z "${USE_LZO_FALSE}"; then
6362 as_fn_error $? "conditional \"USE_LZO\" was never defined.
6363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6364 fi
6365 if test -z "${ENABLE_INCLUDED_LZO_TRUE}" && test -z "${ENABLE_INCLUDED_LZO_FALSE}"; then
6366 as_fn_error $? "conditional \"ENABLE_INCLUDED_LZO\" was never defined.
6367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6368 fi
6369
6370 : "${CONFIG_STATUS=./config.status}"
6371 ac_write_fail=0
6372 ac_clean_files_save=$ac_clean_files
6373 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6375 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6376 as_write_fail=0
6377 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6378 #! $SHELL
6379 # Generated by $as_me.
6380 # Run this file to recreate the current configuration.
6381 # Compiler output produced by configure, useful for debugging
6382 # configure, is in config.log if it exists.
6383
6384 debug=false
6385 ac_cs_recheck=false
6386 ac_cs_silent=false
6387
6388 SHELL=\${CONFIG_SHELL-$SHELL}
6389 export SHELL
6390 _ASEOF
6391 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6392 ## -------------------- ##
6393 ## M4sh Initialization. ##
6394 ## -------------------- ##
6395
6396 # Be more Bourne compatible
6397 DUALCASE=1; export DUALCASE # for MKS sh
6398 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6399 emulate sh
6400 NULLCMD=:
6401 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6402 # is contrary to our usage. Disable this feature.
6403 alias -g '${1+"$@"}'='"$@"'
6404 setopt NO_GLOB_SUBST
6405 else
6406 case `(set -o) 2>/dev/null` in #(
6407 *posix*) :
6408 set -o posix ;; #(
6409 *) :
6410 ;;
6411 esac
6412 fi
6413
6414
6415 as_nl='
6416 '
6417 export as_nl
6418 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6419 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6421 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6422 # Prefer a ksh shell builtin over an external printf program on Solaris,
6423 # but without wasting forks for bash or zsh.
6424 if test -z "$BASH_VERSION$ZSH_VERSION" \
6425 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6426 as_echo='print -r --'
6427 as_echo_n='print -rn --'
6428 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6429 as_echo='printf %s\n'
6430 as_echo_n='printf %s'
6431 else
6432 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6433 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6434 as_echo_n='/usr/ucb/echo -n'
6435 else
6436 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6437 as_echo_n_body='eval
6438 arg=$1;
6439 case $arg in #(
6440 *"$as_nl"*)
6441 expr "X$arg" : "X\\(.*\\)$as_nl";
6442 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6443 esac;
6444 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6445 '
6446 export as_echo_n_body
6447 as_echo_n='sh -c $as_echo_n_body as_echo'
6448 fi
6449 export as_echo_body
6450 as_echo='sh -c $as_echo_body as_echo'
6451 fi
6452
6453 # The user is always right.
6454 if test "${PATH_SEPARATOR+set}" != set; then
6455 PATH_SEPARATOR=:
6456 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6457 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6458 PATH_SEPARATOR=';'
6459 }
6460 fi
6461
6462
6463 # IFS
6464 # We need space, tab and new line, in precisely that order. Quoting is
6465 # there to prevent editors from complaining about space-tab.
6466 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6467 # splitting by setting IFS to empty value.)
6468 IFS=" "" $as_nl"
6469
6470 # Find who we are. Look in the path if we contain no directory separator.
6471 as_myself=
6472 case $0 in #((
6473 *[\\/]* ) as_myself=$0 ;;
6474 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6476 do
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6480 done
6481 IFS=$as_save_IFS
6482
6483 ;;
6484 esac
6485 # We did not find ourselves, most probably we were run as `sh COMMAND'
6486 # in which case we are not to be found in the path.
6487 if test "x$as_myself" = x; then
6488 as_myself=$0
6489 fi
6490 if test ! -f "$as_myself"; then
6491 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6492 exit 1
6493 fi
6494
6495 # Unset variables that we do not need and which cause bugs (e.g. in
6496 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6497 # suppresses any "Segmentation fault" message there. '((' could
6498 # trigger a bug in pdksh 5.2.14.
6499 for as_var in BASH_ENV ENV MAIL MAILPATH
6500 do eval test x\${$as_var+set} = xset \
6501 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6502 done
6503 PS1='$ '
6504 PS2='> '
6505 PS4='+ '
6506
6507 # NLS nuisances.
6508 LC_ALL=C
6509 export LC_ALL
6510 LANGUAGE=C
6511 export LANGUAGE
6512
6513 # CDPATH.
6514 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6515
6516
6517 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6518 # ----------------------------------------
6519 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6520 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6521 # script with STATUS, using 1 if that was 0.
6522 as_fn_error ()
6523 {
6524 as_status=$1; test $as_status -eq 0 && as_status=1
6525 if test "$4"; then
6526 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6527 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6528 fi
6529 $as_echo "$as_me: error: $2" >&2
6530 as_fn_exit $as_status
6531 } # as_fn_error
6532
6533
6534 # as_fn_set_status STATUS
6535 # -----------------------
6536 # Set $? to STATUS, without forking.
6537 as_fn_set_status ()
6538 {
6539 return $1
6540 } # as_fn_set_status
6541
6542 # as_fn_exit STATUS
6543 # -----------------
6544 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6545 as_fn_exit ()
6546 {
6547 set +e
6548 as_fn_set_status $1
6549 exit $1
6550 } # as_fn_exit
6551
6552 # as_fn_unset VAR
6553 # ---------------
6554 # Portably unset VAR.
6555 as_fn_unset ()
6556 {
6557 { eval $1=; unset $1;}
6558 }
6559 as_unset=as_fn_unset
6560 # as_fn_append VAR VALUE
6561 # ----------------------
6562 # Append the text in VALUE to the end of the definition contained in VAR. Take
6563 # advantage of any shell optimizations that allow amortized linear growth over
6564 # repeated appends, instead of the typical quadratic growth present in naive
6565 # implementations.
6566 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6567 eval 'as_fn_append ()
6568 {
6569 eval $1+=\$2
6570 }'
6571 else
6572 as_fn_append ()
6573 {
6574 eval $1=\$$1\$2
6575 }
6576 fi # as_fn_append
6577
6578 # as_fn_arith ARG...
6579 # ------------------
6580 # Perform arithmetic evaluation on the ARGs, and store the result in the
6581 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6582 # must be portable across $(()) and expr.
6583 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6584 eval 'as_fn_arith ()
6585 {
6586 as_val=$(( $* ))
6587 }'
6588 else
6589 as_fn_arith ()
6590 {
6591 as_val=`expr "$@" || test $? -eq 1`
6592 }
6593 fi # as_fn_arith
6594
6595
6596 if expr a : '\(a\)' >/dev/null 2>&1 &&
6597 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6598 as_expr=expr
6599 else
6600 as_expr=false
6601 fi
6602
6603 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6604 as_basename=basename
6605 else
6606 as_basename=false
6607 fi
6608
6609 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6610 as_dirname=dirname
6611 else
6612 as_dirname=false
6613 fi
6614
6615 as_me=`$as_basename -- "$0" ||
6616 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6617 X"$0" : 'X\(//\)$' \| \
6618 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6619 $as_echo X/"$0" |
6620 sed '/^.*\/\([^/][^/]*\)\/*$/{
6621 s//\1/
6622 q
6623 }
6624 /^X\/\(\/\/\)$/{
6625 s//\1/
6626 q
6627 }
6628 /^X\/\(\/\).*/{
6629 s//\1/
6630 q
6631 }
6632 s/.*/./; q'`
6633
6634 # Avoid depending upon Character Ranges.
6635 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6636 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6637 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6638 as_cr_digits='0123456789'
6639 as_cr_alnum=$as_cr_Letters$as_cr_digits
6640
6641 ECHO_C= ECHO_N= ECHO_T=
6642 case `echo -n x` in #(((((
6643 -n*)
6644 case `echo 'xy\c'` in
6645 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6646 xy) ECHO_C='\c';;
6647 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6648 ECHO_T=' ';;
6649 esac;;
6650 *)
6651 ECHO_N='-n';;
6652 esac
6653
6654 rm -f conf$$ conf$$.exe conf$$.file
6655 if test -d conf$$.dir; then
6656 rm -f conf$$.dir/conf$$.file
6657 else
6658 rm -f conf$$.dir
6659 mkdir conf$$.dir 2>/dev/null
6660 fi
6661 if (echo >conf$$.file) 2>/dev/null; then
6662 if ln -s conf$$.file conf$$ 2>/dev/null; then
6663 as_ln_s='ln -s'
6664 # ... but there are two gotchas:
6665 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6666 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6667 # In both cases, we have to default to `cp -pR'.
6668 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6669 as_ln_s='cp -pR'
6670 elif ln conf$$.file conf$$ 2>/dev/null; then
6671 as_ln_s=ln
6672 else
6673 as_ln_s='cp -pR'
6674 fi
6675 else
6676 as_ln_s='cp -pR'
6677 fi
6678 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6679 rmdir conf$$.dir 2>/dev/null
6680
6681
6682 # as_fn_mkdir_p
6683 # -------------
6684 # Create "$as_dir" as a directory, including parents if necessary.
6685 as_fn_mkdir_p ()
6686 {
6687
6688 case $as_dir in #(
6689 -*) as_dir=./$as_dir;;
6690 esac
6691 test -d "$as_dir" || eval $as_mkdir_p || {
6692 as_dirs=
6693 while :; do
6694 case $as_dir in #(
6695 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6696 *) as_qdir=$as_dir;;
6697 esac
6698 as_dirs="'$as_qdir' $as_dirs"
6699 as_dir=`$as_dirname -- "$as_dir" ||
6700 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6701 X"$as_dir" : 'X\(//\)[^/]' \| \
6702 X"$as_dir" : 'X\(//\)$' \| \
6703 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6704 $as_echo X"$as_dir" |
6705 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6706 s//\1/
6707 q
6708 }
6709 /^X\(\/\/\)[^/].*/{
6710 s//\1/
6711 q
6712 }
6713 /^X\(\/\/\)$/{
6714 s//\1/
6715 q
6716 }
6717 /^X\(\/\).*/{
6718 s//\1/
6719 q
6720 }
6721 s/.*/./; q'`
6722 test -d "$as_dir" && break
6723 done
6724 test -z "$as_dirs" || eval "mkdir $as_dirs"
6725 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6726
6727
6728 } # as_fn_mkdir_p
6729 if mkdir -p . 2>/dev/null; then
6730 as_mkdir_p='mkdir -p "$as_dir"'
6731 else
6732 test -d ./-p && rmdir ./-p
6733 as_mkdir_p=false
6734 fi
6735
6736
6737 # as_fn_executable_p FILE
6738 # -----------------------
6739 # Test if FILE is an executable regular file.
6740 as_fn_executable_p ()
6741 {
6742 test -f "$1" && test -x "$1"
6743 } # as_fn_executable_p
6744 as_test_x='test -x'
6745 as_executable_p=as_fn_executable_p
6746
6747 # Sed expression to map a string onto a valid CPP name.
6748 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6749
6750 # Sed expression to map a string onto a valid variable name.
6751 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6752
6753
6754 exec 6>&1
6755 ## ----------------------------------- ##
6756 ## Main body of $CONFIG_STATUS script. ##
6757 ## ----------------------------------- ##
6758 _ASEOF
6759 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6760
6761 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6762 # Save the log message, to keep $0 and so on meaningful, and to
6763 # report actual input values of CONFIG_FILES etc. instead of their
6764 # values after options handling.
6765 ac_log="
6766 This file was extended by ht $as_me 2.1.0, which was
6767 generated by GNU Autoconf 2.69. Invocation command line was
6768
6769 CONFIG_FILES = $CONFIG_FILES
6770 CONFIG_HEADERS = $CONFIG_HEADERS
6771 CONFIG_LINKS = $CONFIG_LINKS
6772 CONFIG_COMMANDS = $CONFIG_COMMANDS
6773 $ $0 $@
6774
6775 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6776 "
6777
6778 _ACEOF
6779
6780 case $ac_config_files in *"
6781 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6782 esac
6783
6784 case $ac_config_headers in *"
6785 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6786 esac
6787
6788
6789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6790 # Files that config.status was made for.
6791 config_files="$ac_config_files"
6792 config_headers="$ac_config_headers"
6793 config_commands="$ac_config_commands"
6794
6795 _ACEOF
6796
6797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6798 ac_cs_usage="\
6799 \`$as_me' instantiates files and other configuration actions
6800 from templates according to the current configuration. Unless the files
6801 and actions are specified as TAGs, all are instantiated by default.
6802
6803 Usage: $0 [OPTION]... [TAG]...
6804
6805 -h, --help print this help, then exit
6806 -V, --version print version number and configuration settings, then exit
6807 --config print configuration, then exit
6808 -q, --quiet, --silent
6809 do not print progress messages
6810 -d, --debug don't remove temporary files
6811 --recheck update $as_me by reconfiguring in the same conditions
6812 --file=FILE[:TEMPLATE]
6813 instantiate the configuration file FILE
6814 --header=FILE[:TEMPLATE]
6815 instantiate the configuration header FILE
6816
6817 Configuration files:
6818 $config_files
6819
6820 Configuration headers:
6821 $config_headers
6822
6823 Configuration commands:
6824 $config_commands
6825
6826 Report bugs to <https://sourceforge.net/tracker/?group_id=1066>."
6827
6828 _ACEOF
6829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6830 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6831 ac_cs_version="\\
6832 ht config.status 2.1.0
6833 configured by $0, generated by GNU Autoconf 2.69,
6834 with options \\"\$ac_cs_config\\"
6835
6836 Copyright (C) 2012 Free Software Foundation, Inc.
6837 This config.status script is free software; the Free Software Foundation
6838 gives unlimited permission to copy, distribute and modify it."
6839
6840 ac_pwd='$ac_pwd'
6841 srcdir='$srcdir'
6842 INSTALL='$INSTALL'
6843 MKDIR_P='$MKDIR_P'
6844 AWK='$AWK'
6845 test -n "\$AWK" || AWK=awk
6846 _ACEOF
6847
6848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6849 # The default lists apply if the user does not specify any file.
6850 ac_need_defaults=:
6851 while test $# != 0
6852 do
6853 case $1 in
6854 --*=?*)
6855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6856 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6857 ac_shift=:
6858 ;;
6859 --*=)
6860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6861 ac_optarg=
6862 ac_shift=:
6863 ;;
6864 *)
6865 ac_option=$1
6866 ac_optarg=$2
6867 ac_shift=shift
6868 ;;
6869 esac
6870
6871 case $ac_option in
6872 # Handling of the options.
6873 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6874 ac_cs_recheck=: ;;
6875 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6876 $as_echo "$ac_cs_version"; exit ;;
6877 --config | --confi | --conf | --con | --co | --c )
6878 $as_echo "$ac_cs_config"; exit ;;
6879 --debug | --debu | --deb | --de | --d | -d )
6880 debug=: ;;
6881 --file | --fil | --fi | --f )
6882 $ac_shift
6883 case $ac_optarg in
6884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6885 '') as_fn_error $? "missing file argument" ;;
6886 esac
6887 as_fn_append CONFIG_FILES " '$ac_optarg'"
6888 ac_need_defaults=false;;
6889 --header | --heade | --head | --hea )
6890 $ac_shift
6891 case $ac_optarg in
6892 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6893 esac
6894 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6895 ac_need_defaults=false;;
6896 --he | --h)
6897 # Conflict between --help and --header
6898 as_fn_error $? "ambiguous option: \`$1'
6899 Try \`$0 --help' for more information.";;
6900 --help | --hel | -h )
6901 $as_echo "$ac_cs_usage"; exit ;;
6902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6904 ac_cs_silent=: ;;
6905
6906 # This is an error.
6907 -*) as_fn_error $? "unrecognized option: \`$1'
6908 Try \`$0 --help' for more information." ;;
6909
6910 *) as_fn_append ac_config_targets " $1"
6911 ac_need_defaults=false ;;
6912
6913 esac
6914 shift
6915 done
6916
6917 ac_configure_extra_args=
6918
6919 if $ac_cs_silent; then
6920 exec 6>/dev/null
6921 ac_configure_extra_args="$ac_configure_extra_args --silent"
6922 fi
6923
6924 _ACEOF
6925 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6926 if \$ac_cs_recheck; then
6927 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6928 shift
6929 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6930 CONFIG_SHELL='$SHELL'
6931 export CONFIG_SHELL
6932 exec "\$@"
6933 fi
6934
6935 _ACEOF
6936 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6937 exec 5>>config.log
6938 {
6939 echo
6940 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6941 ## Running $as_me. ##
6942 _ASBOX
6943 $as_echo "$ac_log"
6944 } >&5
6945
6946 _ACEOF
6947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6948 #
6949 # INIT-COMMANDS
6950 #
6951 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6952
6953 _ACEOF
6954
6955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6956
6957 # Handling of arguments.
6958 for ac_config_target in $ac_config_targets
6959 do
6960 case $ac_config_target in
6961 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6962 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6963 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6964 "analyser/Makefile") CONFIG_FILES="$CONFIG_FILES analyser/Makefile" ;;
6965 "asm/Makefile") CONFIG_FILES="$CONFIG_FILES asm/Makefile" ;;
6966 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
6967 "eval/Makefile") CONFIG_FILES="$CONFIG_FILES eval/Makefile" ;;
6968 "info/Makefile") CONFIG_FILES="$CONFIG_FILES info/Makefile" ;;
6969 "io/Makefile") CONFIG_FILES="$CONFIG_FILES io/Makefile" ;;
6970 "io/posix/Makefile") CONFIG_FILES="$CONFIG_FILES io/posix/Makefile" ;;
6971 "io/win32/Makefile") CONFIG_FILES="$CONFIG_FILES io/win32/Makefile" ;;
6972 "minilzo/Makefile") CONFIG_FILES="$CONFIG_FILES minilzo/Makefile" ;;
6973 "output/Makefile") CONFIG_FILES="$CONFIG_FILES output/Makefile" ;;
6974 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
6975
6976 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6977 esac
6978 done
6979
6980
6981 # If the user did not use the arguments to specify the items to instantiate,
6982 # then the envvar interface is used. Set only those that are not.
6983 # We use the long form for the default assignment because of an extremely
6984 # bizarre bug on SunOS 4.1.3.
6985 if $ac_need_defaults; then
6986 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6987 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6988 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6989 fi
6990
6991 # Have a temporary directory for convenience. Make it in the build tree
6992 # simply because there is no reason against having it here, and in addition,
6993 # creating and moving files from /tmp can sometimes cause problems.
6994 # Hook for its removal unless debugging.
6995 # Note that there is a small window in which the directory will not be cleaned:
6996 # after its creation but before its name has been assigned to `$tmp'.
6997 $debug ||
6998 {
6999 tmp= ac_tmp=
7000 trap 'exit_status=$?
7001 : "${ac_tmp:=$tmp}"
7002 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7003 ' 0
7004 trap 'as_fn_exit 1' 1 2 13 15
7005 }
7006 # Create a (secure) tmp directory for tmp files.
7007
7008 {
7009 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7010 test -d "$tmp"
7011 } ||
7012 {
7013 tmp=./conf$$-$RANDOM
7014 (umask 077 && mkdir "$tmp")
7015 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7016 ac_tmp=$tmp
7017
7018 # Set up the scripts for CONFIG_FILES section.
7019 # No need to generate them if there are no CONFIG_FILES.
7020 # This happens for instance with `./config.status config.h'.
7021 if test -n "$CONFIG_FILES"; then
7022
7023
7024 ac_cr=`echo X | tr X '\015'`
7025 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7026 # But we know of no other shell where ac_cr would be empty at this
7027 # point, so we can use a bashism as a fallback.
7028 if test "x$ac_cr" = x; then
7029 eval ac_cr=\$\'\\r\'
7030 fi
7031 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7032 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7033 ac_cs_awk_cr='\\r'
7034 else
7035 ac_cs_awk_cr=$ac_cr
7036 fi
7037
7038 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7039 _ACEOF
7040
7041
7042 {
7043 echo "cat >conf$$subs.awk <<_ACEOF" &&
7044 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7045 echo "_ACEOF"
7046 } >conf$$subs.sh ||
7047 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7048 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7049 ac_delim='%!_!# '
7050 for ac_last_try in false false false false false :; do
7051 . ./conf$$subs.sh ||
7052 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7053
7054 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7055 if test $ac_delim_n = $ac_delim_num; then
7056 break
7057 elif $ac_last_try; then
7058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7059 else
7060 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7061 fi
7062 done
7063 rm -f conf$$subs.sh
7064
7065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7066 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7067 _ACEOF
7068 sed -n '
7069 h
7070 s/^/S["/; s/!.*/"]=/
7071 p
7072 g
7073 s/^[^!]*!//
7074 :repl
7075 t repl
7076 s/'"$ac_delim"'$//
7077 t delim
7078 :nl
7079 h
7080 s/\(.\{148\}\)..*/\1/
7081 t more1
7082 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7083 p
7084 n
7085 b repl
7086 :more1
7087 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7088 p
7089 g
7090 s/.\{148\}//
7091 t nl
7092 :delim
7093 h
7094 s/\(.\{148\}\)..*/\1/
7095 t more2
7096 s/["\\]/\\&/g; s/^/"/; s/$/"/
7097 p
7098 b
7099 :more2
7100 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7101 p
7102 g
7103 s/.\{148\}//
7104 t delim
7105 ' <conf$$subs.awk | sed '
7106 /^[^""]/{
7107 N
7108 s/\n//
7109 }
7110 ' >>$CONFIG_STATUS || ac_write_fail=1
7111 rm -f conf$$subs.awk
7112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7113 _ACAWK
7114 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7115 for (key in S) S_is_set[key] = 1
7116 FS = ""
7117
7118 }
7119 {
7120 line = $ 0
7121 nfields = split(line, field, "@")
7122 substed = 0
7123 len = length(field[1])
7124 for (i = 2; i < nfields; i++) {
7125 key = field[i]
7126 keylen = length(key)
7127 if (S_is_set[key]) {
7128 value = S[key]
7129 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7130 len += length(value) + length(field[++i])
7131 substed = 1
7132 } else
7133 len += 1 + keylen
7134 }
7135
7136 print line
7137 }
7138
7139 _ACAWK
7140 _ACEOF
7141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7142 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7143 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7144 else
7145 cat
7146 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7147 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7148 _ACEOF
7149
7150 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7151 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7152 # trailing colons and then remove the whole line if VPATH becomes empty
7153 # (actually we leave an empty line to preserve line numbers).
7154 if test "x$srcdir" = x.; then
7155 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7156 h
7157 s///
7158 s/^/:/
7159 s/[ ]*$/:/
7160 s/:\$(srcdir):/:/g
7161 s/:\${srcdir}:/:/g
7162 s/:@srcdir@:/:/g
7163 s/^:*//
7164 s/:*$//
7165 x
7166 s/\(=[ ]*\).*/\1/
7167 G
7168 s/\n//
7169 s/^[^=]*=[ ]*$//
7170 }'
7171 fi
7172
7173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7174 fi # test -n "$CONFIG_FILES"
7175
7176 # Set up the scripts for CONFIG_HEADERS section.
7177 # No need to generate them if there are no CONFIG_HEADERS.
7178 # This happens for instance with `./config.status Makefile'.
7179 if test -n "$CONFIG_HEADERS"; then
7180 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7181 BEGIN {
7182 _ACEOF
7183
7184 # Transform confdefs.h into an awk script `defines.awk', embedded as
7185 # here-document in config.status, that substitutes the proper values into
7186 # config.h.in to produce config.h.
7187
7188 # Create a delimiter string that does not exist in confdefs.h, to ease
7189 # handling of long lines.
7190 ac_delim='%!_!# '
7191 for ac_last_try in false false :; do
7192 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7193 if test -z "$ac_tt"; then
7194 break
7195 elif $ac_last_try; then
7196 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7197 else
7198 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7199 fi
7200 done
7201
7202 # For the awk script, D is an array of macro values keyed by name,
7203 # likewise P contains macro parameters if any. Preserve backslash
7204 # newline sequences.
7205
7206 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7207 sed -n '
7208 s/.\{148\}/&'"$ac_delim"'/g
7209 t rset
7210 :rset
7211 s/^[ ]*#[ ]*define[ ][ ]*/ /
7212 t def
7213 d
7214 :def
7215 s/\\$//
7216 t bsnl
7217 s/["\\]/\\&/g
7218 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7219 D["\1"]=" \3"/p
7220 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7221 d
7222 :bsnl
7223 s/["\\]/\\&/g
7224 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7225 D["\1"]=" \3\\\\\\n"\\/p
7226 t cont
7227 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7228 t cont
7229 d
7230 :cont
7231 n
7232 s/.\{148\}/&'"$ac_delim"'/g
7233 t clear
7234 :clear
7235 s/\\$//
7236 t bsnlc
7237 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7238 d
7239 :bsnlc
7240 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7241 b cont
7242 ' <confdefs.h | sed '
7243 s/'"$ac_delim"'/"\\\
7244 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7245
7246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7247 for (key in D) D_is_set[key] = 1
7248 FS = ""
7249 }
7250 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7251 line = \$ 0
7252 split(line, arg, " ")
7253 if (arg[1] == "#") {
7254 defundef = arg[2]
7255 mac1 = arg[3]
7256 } else {
7257 defundef = substr(arg[1], 2)
7258 mac1 = arg[2]
7259 }
7260 split(mac1, mac2, "(") #)
7261 macro = mac2[1]
7262 prefix = substr(line, 1, index(line, defundef) - 1)
7263 if (D_is_set[macro]) {
7264 # Preserve the white space surrounding the "#".
7265 print prefix "define", macro P[macro] D[macro]
7266 next
7267 } else {
7268 # Replace #undef with comments. This is necessary, for example,
7269 # in the case of _POSIX_SOURCE, which is predefined and required
7270 # on some systems where configure will not decide to define it.
7271 if (defundef == "undef") {
7272 print "/*", prefix defundef, macro, "*/"
7273 next
7274 }
7275 }
7276 }
7277 { print }
7278 _ACAWK
7279 _ACEOF
7280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7281 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7282 fi # test -n "$CONFIG_HEADERS"
7283
7284
7285 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7286 shift
7287 for ac_tag
7288 do
7289 case $ac_tag in
7290 :[FHLC]) ac_mode=$ac_tag; continue;;
7291 esac
7292 case $ac_mode$ac_tag in
7293 :[FHL]*:*);;
7294 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
7295 :[FH]-) ac_tag=-:-;;
7296 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7297 esac
7298 ac_save_IFS=$IFS
7299 IFS=:
7300 set x $ac_tag
7301 IFS=$ac_save_IFS
7302 shift
7303 ac_file=$1
7304 shift
7305
7306 case $ac_mode in
7307 :L) ac_source=$1;;
7308 :[FH])
7309 ac_file_inputs=
7310 for ac_f
7311 do
7312 case $ac_f in
7313 -) ac_f="$ac_tmp/stdin";;
7314 *) # Look for the file first in the build tree, then in the source tree
7315 # (if the path is not absolute). The absolute path cannot be DOS-style,
7316 # because $ac_f cannot contain `:'.
7317 test -f "$ac_f" ||
7318 case $ac_f in
7319 [\\/$]*) false;;
7320 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7321 esac ||
7322 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
7323 esac
7324 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7325 as_fn_append ac_file_inputs " '$ac_f'"
7326 done
7327
7328 # Let's still pretend it is `configure' which instantiates (i.e., don't
7329 # use $as_me), people would be surprised to read:
7330 # /* config.h. Generated by config.status. */
7331 configure_input='Generated from '`
7332 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7333 `' by configure.'
7334 if test x"$ac_file" != x-; then
7335 configure_input="$ac_file. $configure_input"
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7337 $as_echo "$as_me: creating $ac_file" >&6;}
7338 fi
7339 # Neutralize special characters interpreted by sed in replacement strings.
7340 case $configure_input in #(
7341 *\&* | *\|* | *\\* )
7342 ac_sed_conf_input=`$as_echo "$configure_input" |
7343 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7344 *) ac_sed_conf_input=$configure_input;;
7345 esac
7346
7347 case $ac_tag in
7348 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7349 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7350 esac
7351 ;;
7352 esac
7353
7354 ac_dir=`$as_dirname -- "$ac_file" ||
7355 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7356 X"$ac_file" : 'X\(//\)[^/]' \| \
7357 X"$ac_file" : 'X\(//\)$' \| \
7358 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7359 $as_echo X"$ac_file" |
7360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7361 s//\1/
7362 q
7363 }
7364 /^X\(\/\/\)[^/].*/{
7365 s//\1/
7366 q
7367 }
7368 /^X\(\/\/\)$/{
7369 s//\1/
7370 q
7371 }
7372 /^X\(\/\).*/{
7373 s//\1/
7374 q
7375 }
7376 s/.*/./; q'`
7377 as_dir="$ac_dir"; as_fn_mkdir_p
7378 ac_builddir=.
7379
7380 case "$ac_dir" in
7381 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7382 *)
7383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
7384 # A ".." for each directory in $ac_dir_suffix.
7385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7386 case $ac_top_builddir_sub in
7387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7389 esac ;;
7390 esac
7391 ac_abs_top_builddir=$ac_pwd
7392 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7393 # for backward compatibility:
7394 ac_top_builddir=$ac_top_build_prefix
7395
7396 case $srcdir in
7397 .) # We are building in place.
7398 ac_srcdir=.
7399 ac_top_srcdir=$ac_top_builddir_sub
7400 ac_abs_top_srcdir=$ac_pwd ;;
7401 [\\/]* | ?:[\\/]* ) # Absolute name.
7402 ac_srcdir=$srcdir$ac_dir_suffix;
7403 ac_top_srcdir=$srcdir
7404 ac_abs_top_srcdir=$srcdir ;;
7405 *) # Relative name.
7406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7407 ac_top_srcdir=$ac_top_build_prefix$srcdir
7408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7409 esac
7410 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7411
7412
7413 case $ac_mode in
7414 :F)
7415 #
7416 # CONFIG_FILE
7417 #
7418
7419 case $INSTALL in
7420 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7421 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7422 esac
7423 ac_MKDIR_P=$MKDIR_P
7424 case $MKDIR_P in
7425 [\\/$]* | ?:[\\/]* ) ;;
7426 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7427 esac
7428 _ACEOF
7429
7430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7431 # If the template does not know about datarootdir, expand it.
7432 # FIXME: This hack should be removed a few years after 2.60.
7433 ac_datarootdir_hack=; ac_datarootdir_seen=
7434 ac_sed_dataroot='
7435 /datarootdir/ {
7436 p
7437 q
7438 }
7439 /@datadir@/p
7440 /@docdir@/p
7441 /@infodir@/p
7442 /@localedir@/p
7443 /@mandir@/p'
7444 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7445 *datarootdir*) ac_datarootdir_seen=yes;;
7446 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7448 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7449 _ACEOF
7450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7451 ac_datarootdir_hack='
7452 s&@datadir@&$datadir&g
7453 s&@docdir@&$docdir&g
7454 s&@infodir@&$infodir&g
7455 s&@localedir@&$localedir&g
7456 s&@mandir@&$mandir&g
7457 s&\\\${datarootdir}&$datarootdir&g' ;;
7458 esac
7459 _ACEOF
7460
7461 # Neutralize VPATH when `$srcdir' = `.'.
7462 # Shell code in configure.ac might set extrasub.
7463 # FIXME: do we really want to maintain this feature?
7464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7465 ac_sed_extra="$ac_vpsub
7466 $extrasub
7467 _ACEOF
7468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7469 :t
7470 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7471 s|@configure_input@|$ac_sed_conf_input|;t t
7472 s&@top_builddir@&$ac_top_builddir_sub&;t t
7473 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7474 s&@srcdir@&$ac_srcdir&;t t
7475 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7476 s&@top_srcdir@&$ac_top_srcdir&;t t
7477 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7478 s&@builddir@&$ac_builddir&;t t
7479 s&@abs_builddir@&$ac_abs_builddir&;t t
7480 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7481 s&@INSTALL@&$ac_INSTALL&;t t
7482 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7483 $ac_datarootdir_hack
7484 "
7485 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7486 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7487
7488 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7489 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7490 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7491 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7493 which seems to be undefined. Please make sure it is defined" >&5
7494 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7495 which seems to be undefined. Please make sure it is defined" >&2;}
7496
7497 rm -f "$ac_tmp/stdin"
7498 case $ac_file in
7499 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7500 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7501 esac \
7502 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7503 ;;
7504 :H)
7505 #
7506 # CONFIG_HEADER
7507 #
7508 if test x"$ac_file" != x-; then
7509 {
7510 $as_echo "/* $configure_input */" \
7511 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7512 } >"$ac_tmp/config.h" \
7513 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7514 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7515 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7516 $as_echo "$as_me: $ac_file is unchanged" >&6;}
7517 else
7518 rm -f "$ac_file"
7519 mv "$ac_tmp/config.h" "$ac_file" \
7520 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7521 fi
7522 else
7523 $as_echo "/* $configure_input */" \
7524 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7525 || as_fn_error $? "could not create -" "$LINENO" 5
7526 fi
7527 # Compute "$ac_file"'s index in $config_headers.
7528 _am_arg="$ac_file"
7529 _am_stamp_count=1
7530 for _am_header in $config_headers :; do
7531 case $_am_header in
7532 $_am_arg | $_am_arg:* )
7533 break ;;
7534 * )
7535 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7536 esac
7537 done
7538 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7539 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7540 X"$_am_arg" : 'X\(//\)[^/]' \| \
7541 X"$_am_arg" : 'X\(//\)$' \| \
7542 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7543 $as_echo X"$_am_arg" |
7544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7545 s//\1/
7546 q
7547 }
7548 /^X\(\/\/\)[^/].*/{
7549 s//\1/
7550 q
7551 }
7552 /^X\(\/\/\)$/{
7553 s//\1/
7554 q
7555 }
7556 /^X\(\/\).*/{
7557 s//\1/
7558 q
7559 }
7560 s/.*/./; q'`/stamp-h$_am_stamp_count
7561 ;;
7562
7563 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7564 $as_echo "$as_me: executing $ac_file commands" >&6;}
7565 ;;
7566 esac
7567
7568
7569 case $ac_file$ac_mode in
7570 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7571 # Older Autoconf quotes --file arguments for eval, but not when files
7572 # are listed without --file. Let's play safe and only enable the eval
7573 # if we detect the quoting.
7574 case $CONFIG_FILES in
7575 *\'*) eval set x "$CONFIG_FILES" ;;
7576 *) set x $CONFIG_FILES ;;
7577 esac
7578 shift
7579 for mf
7580 do
7581 # Strip MF so we end up with the name of the file.
7582 mf=`echo "$mf" | sed -e 's/:.*$//'`
7583 # Check whether this is an Automake generated Makefile or not.
7584 # We used to match only the files named 'Makefile.in', but
7585 # some people rename them; so instead we look at the file content.
7586 # Grep'ing the first line is not enough: some people post-process
7587 # each Makefile.in and add a new line on top of each file to say so.
7588 # Grep'ing the whole file is not good either: AIX grep has a line
7589 # limit of 2048, but all sed's we know have understand at least 4000.
7590 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7591 dirpart=`$as_dirname -- "$mf" ||
7592 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7593 X"$mf" : 'X\(//\)[^/]' \| \
7594 X"$mf" : 'X\(//\)$' \| \
7595 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7596 $as_echo X"$mf" |
7597 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7598 s//\1/
7599 q
7600 }
7601 /^X\(\/\/\)[^/].*/{
7602 s//\1/
7603 q
7604 }
7605 /^X\(\/\/\)$/{
7606 s//\1/
7607 q
7608 }
7609 /^X\(\/\).*/{
7610 s//\1/
7611 q
7612 }
7613 s/.*/./; q'`
7614 else
7615 continue
7616 fi
7617 # Extract the definition of DEPDIR, am__include, and am__quote
7618 # from the Makefile without running 'make'.
7619 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7620 test -z "$DEPDIR" && continue
7621 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7622 test -z "$am__include" && continue
7623 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7624 # Find all dependency output files, they are included files with
7625 # $(DEPDIR) in their names. We invoke sed twice because it is the
7626 # simplest approach to changing $(DEPDIR) to its actual value in the
7627 # expansion.
7628 for file in `sed -n "
7629 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7630 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7631 # Make sure the directory exists.
7632 test -f "$dirpart/$file" && continue
7633 fdir=`$as_dirname -- "$file" ||
7634 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7635 X"$file" : 'X\(//\)[^/]' \| \
7636 X"$file" : 'X\(//\)$' \| \
7637 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7638 $as_echo X"$file" |
7639 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7640 s//\1/
7641 q
7642 }
7643 /^X\(\/\/\)[^/].*/{
7644 s//\1/
7645 q
7646 }
7647 /^X\(\/\/\)$/{
7648 s//\1/
7649 q
7650 }
7651 /^X\(\/\).*/{
7652 s//\1/
7653 q
7654 }
7655 s/.*/./; q'`
7656 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7657 # echo "creating $dirpart/$file"
7658 echo '# dummy' > "$dirpart/$file"
7659 done
7660 done
7661 }
7662 ;;
7663
7664 esac
7665 done # for ac_tag
7666
7667
7668 as_fn_exit 0
7669 _ACEOF
7670 ac_clean_files=$ac_clean_files_save
7671
7672 test $ac_write_fail = 0 ||
7673 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7674
7675
7676 # configure is writing to config.log, and then calls config.status.
7677 # config.status does its own redirection, appending to config.log.
7678 # Unfortunately, on DOS this fails, as config.log is still kept open
7679 # by configure, so config.status won't be able to write to it; its
7680 # output is simply discarded. So we exec the FD to /dev/null,
7681 # effectively closing config.log, so it can be properly (re)opened and
7682 # appended to by config.status. When coming back to configure, we
7683 # need to make the FD available again.
7684 if test "$no_create" != yes; then
7685 ac_cs_success=:
7686 ac_config_status_args=
7687 test "$silent" = yes &&
7688 ac_config_status_args="$ac_config_status_args --quiet"
7689 exec 5>/dev/null
7690 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7691 exec 5>>config.log
7692 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7693 # would make configure fail if this is the last instruction.
7694 $ac_cs_success || as_fn_exit 1
7695 fi
7696 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7698 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7699 fi
7700
7701
7702 echo 1>&2
7703 echo "$0 successful." 1>&2
7704 echo 1>&2
7705 echo "=====================" 1>&2
7706 echo "Configuration summary" 1>&2
7707 echo "=====================" 1>&2
7708 echo 1>&2
7709 if test "x$HAVE_X11" = "x1"; then
7710 echo "X11 textmode support available: yes" 1>&2
7711 else
7712 echo "X11 textmode support available: no" 1>&2
7713 fi
7714 echo "enable profiling: $enable_profiling" 1>&2
7715 echo "make a release build: $enable_release" 1>&2
7716 echo "using included minilzo: $minilzo_enabled" 1>&2