Merge tag 'upstream/6.33.1_b2+dfsg.1'
[debian_inform6.git] / configure
bloba3714e2686a896267fdaec41a626033dcbd3b763
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for inform 6.33.1-b2.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
200 as_have_required=yes
201 else
202 as_have_required=no
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206 else
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208 as_found=false
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211 IFS=$as_save_IFS
212 test -z "$as_dir" && as_dir=.
213 as_found=:
214 case $as_dir in #(
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 break 2
226 done;;
227 esac
228 as_found=false
229 done
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi; }
234 IFS=$as_save_IFS
237 if test "x$CONFIG_SHELL" != x; then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
265 else
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
271 exit 1
275 SHELL=${CONFIG_SHELL-/bin/sh}
276 export SHELL
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
284 # as_fn_unset VAR
285 # ---------------
286 # Portably unset VAR.
287 as_fn_unset ()
289 { eval $1=; unset $1;}
291 as_unset=as_fn_unset
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
296 as_fn_set_status ()
298 return $1
299 } # as_fn_set_status
301 # as_fn_exit STATUS
302 # -----------------
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
304 as_fn_exit ()
306 set +e
307 as_fn_set_status $1
308 exit $1
309 } # as_fn_exit
311 # as_fn_mkdir_p
312 # -------------
313 # Create "$as_dir" as a directory, including parents if necessary.
314 as_fn_mkdir_p ()
317 case $as_dir in #(
318 -*) as_dir=./$as_dir;;
319 esac
320 test -d "$as_dir" || eval $as_mkdir_p || {
321 as_dirs=
322 while :; do
323 case $as_dir in #(
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
325 *) as_qdir=$as_dir;;
326 esac
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335 s//\1/
338 /^X\(\/\/\)[^/].*/{
339 s//\1/
342 /^X\(\/\/\)$/{
343 s//\1/
346 /^X\(\/\).*/{
347 s//\1/
350 s/.*/./; q'`
351 test -d "$as_dir" && break
352 done
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
357 } # as_fn_mkdir_p
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
371 # implementations.
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
375 eval $1+=\$2
377 else
378 as_fn_append ()
380 eval $1=\$$1\$2
382 fi # as_fn_append
384 # as_fn_arith ARG...
385 # ------------------
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390 eval 'as_fn_arith ()
392 as_val=$(( $* ))
394 else
395 as_fn_arith ()
397 as_val=`expr "$@" || test $? -eq 1`
399 fi # as_fn_arith
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
407 as_fn_error ()
409 as_status=$1; test $as_status -eq 0 && as_status=1
410 if test "$4"; then
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
416 } # as_fn_error
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
420 as_expr=expr
421 else
422 as_expr=false
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426 as_basename=basename
427 else
428 as_basename=false
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432 as_dirname=dirname
433 else
434 as_dirname=false
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441 $as_echo X/"$0" |
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
443 s//\1/
446 /^X\/\(\/\/\)$/{
447 s//\1/
450 /^X\/\(\/\).*/{
451 s//\1/
454 s/.*/./; q'`
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
469 sed -n '
471 /[$]LINENO/=
472 ' <$as_myself |
473 sed '
474 s/[$]LINENO.*/&-/
475 t lineno
477 :lineno
479 :loop
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481 t loop
482 s/-\n.*//
483 ' >$as_me.lineno &&
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
494 . "./$as_me.lineno"
495 # Exit status is that of the last command.
496 exit
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
501 -n*)
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
504 xy) ECHO_C='\c';;
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
506 ECHO_T=' ';;
507 esac;;
509 ECHO_N='-n';;
510 esac
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -pR'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -pR'
533 else
534 as_ln_s='cp -pR'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 as_test_x='test -x'
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
557 exec 6>&1
559 # Name of the host.
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 # Initializations.
567 ac_default_prefix=/usr/local
568 ac_clean_files=
569 ac_config_libobj_dir=.
570 LIBOBJS=
571 cross_compiling=no
572 subdirs=
573 MFLAGS=
574 MAKEFLAGS=
576 # Identity of this package.
577 PACKAGE_NAME='inform'
578 PACKAGE_TARNAME='inform'
579 PACKAGE_VERSION='6.33.1-b2'
580 PACKAGE_STRING='inform 6.33.1-b2'
581 PACKAGE_BUGREPORT=''
582 PACKAGE_URL=''
584 ac_unique_file="src/inform.c"
585 ac_subst_vars='am__EXEEXT_FALSE
586 am__EXEEXT_TRUE
587 LTLIBOBJS
588 LIBOBJS
589 LN_S
590 am__fastdepCC_FALSE
591 am__fastdepCC_TRUE
592 CCDEPMODE
593 am__nodep
594 AMDEPBACKSLASH
595 AMDEP_FALSE
596 AMDEP_TRUE
597 am__quote
598 am__include
599 DEPDIR
600 OBJEXT
601 EXEEXT
602 ac_ct_CC
603 CPPFLAGS
604 LDFLAGS
605 CFLAGS
607 HOST
608 CYGWIN_FALSE
609 CYGWIN_TRUE
610 host_os
611 host_vendor
612 host_cpu
613 host
614 build_os
615 build_vendor
616 build_cpu
617 build
618 am__untar
619 am__tar
620 AMTAR
621 am__leading_dot
622 SET_MAKE
624 mkdir_p
625 MKDIR_P
626 INSTALL_STRIP_PROGRAM
627 STRIP
628 install_sh
629 MAKEINFO
630 AUTOHEADER
631 AUTOMAKE
632 AUTOCONF
633 ACLOCAL
634 VERSION
635 PACKAGE
636 CYGPATH_W
637 am__isrc
638 INSTALL_DATA
639 INSTALL_SCRIPT
640 INSTALL_PROGRAM
641 INFORM_VERSION
642 target_alias
643 host_alias
644 build_alias
645 LIBS
646 ECHO_T
647 ECHO_N
648 ECHO_C
649 DEFS
650 mandir
651 localedir
652 libdir
653 psdir
654 pdfdir
655 dvidir
656 htmldir
657 infodir
658 docdir
659 oldincludedir
660 includedir
661 localstatedir
662 sharedstatedir
663 sysconfdir
664 datadir
665 datarootdir
666 libexecdir
667 sbindir
668 bindir
669 program_transform_name
670 prefix
671 exec_prefix
672 PACKAGE_URL
673 PACKAGE_BUGREPORT
674 PACKAGE_STRING
675 PACKAGE_VERSION
676 PACKAGE_TARNAME
677 PACKAGE_NAME
678 PATH_SEPARATOR
679 SHELL'
680 ac_subst_files=''
681 ac_user_opts='
682 enable_option_checking
683 enable_dependency_tracking
685 ac_precious_vars='build_alias
686 host_alias
687 target_alias
689 CFLAGS
690 LDFLAGS
691 LIBS
692 CPPFLAGS'
695 # Initialize some variables set by options.
696 ac_init_help=
697 ac_init_version=false
698 ac_unrecognized_opts=
699 ac_unrecognized_sep=
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
702 cache_file=/dev/null
703 exec_prefix=NONE
704 no_create=
705 no_recursion=
706 prefix=NONE
707 program_prefix=NONE
708 program_suffix=NONE
709 program_transform_name=s,x,x,
710 silent=
711 site=
712 srcdir=
713 verbose=
714 x_includes=NONE
715 x_libraries=NONE
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 includedir='${prefix}/include'
732 oldincludedir='/usr/include'
733 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
734 infodir='${datarootdir}/info'
735 htmldir='${docdir}'
736 dvidir='${docdir}'
737 pdfdir='${docdir}'
738 psdir='${docdir}'
739 libdir='${exec_prefix}/lib'
740 localedir='${datarootdir}/locale'
741 mandir='${datarootdir}/man'
743 ac_prev=
744 ac_dashdash=
745 for ac_option
747 # If the previous option needs an argument, assign it.
748 if test -n "$ac_prev"; then
749 eval $ac_prev=\$ac_option
750 ac_prev=
751 continue
754 case $ac_option in
755 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
756 *=) ac_optarg= ;;
757 *) ac_optarg=yes ;;
758 esac
760 # Accept the important Cygnus configure options, so we can diagnose typos.
762 case $ac_dashdash$ac_option in
764 ac_dashdash=yes ;;
766 -bindir | --bindir | --bindi | --bind | --bin | --bi)
767 ac_prev=bindir ;;
768 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
769 bindir=$ac_optarg ;;
771 -build | --build | --buil | --bui | --bu)
772 ac_prev=build_alias ;;
773 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
774 build_alias=$ac_optarg ;;
776 -cache-file | --cache-file | --cache-fil | --cache-fi \
777 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
778 ac_prev=cache_file ;;
779 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
780 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
781 cache_file=$ac_optarg ;;
783 --config-cache | -C)
784 cache_file=config.cache ;;
786 -datadir | --datadir | --datadi | --datad)
787 ac_prev=datadir ;;
788 -datadir=* | --datadir=* | --datadi=* | --datad=*)
789 datadir=$ac_optarg ;;
791 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
792 | --dataroo | --dataro | --datar)
793 ac_prev=datarootdir ;;
794 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
795 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
796 datarootdir=$ac_optarg ;;
798 -disable-* | --disable-*)
799 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
800 # Reject names that are not valid shell variable names.
801 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
802 as_fn_error $? "invalid feature name: $ac_useropt"
803 ac_useropt_orig=$ac_useropt
804 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
805 case $ac_user_opts in
807 "enable_$ac_useropt"
808 "*) ;;
809 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
810 ac_unrecognized_sep=', ';;
811 esac
812 eval enable_$ac_useropt=no ;;
814 -docdir | --docdir | --docdi | --doc | --do)
815 ac_prev=docdir ;;
816 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
817 docdir=$ac_optarg ;;
819 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
820 ac_prev=dvidir ;;
821 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
822 dvidir=$ac_optarg ;;
824 -enable-* | --enable-*)
825 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
826 # Reject names that are not valid shell variable names.
827 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
828 as_fn_error $? "invalid feature name: $ac_useropt"
829 ac_useropt_orig=$ac_useropt
830 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
831 case $ac_user_opts in
833 "enable_$ac_useropt"
834 "*) ;;
835 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
836 ac_unrecognized_sep=', ';;
837 esac
838 eval enable_$ac_useropt=\$ac_optarg ;;
840 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
841 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
842 | --exec | --exe | --ex)
843 ac_prev=exec_prefix ;;
844 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
845 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
846 | --exec=* | --exe=* | --ex=*)
847 exec_prefix=$ac_optarg ;;
849 -gas | --gas | --ga | --g)
850 # Obsolete; use --with-gas.
851 with_gas=yes ;;
853 -help | --help | --hel | --he | -h)
854 ac_init_help=long ;;
855 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
856 ac_init_help=recursive ;;
857 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
858 ac_init_help=short ;;
860 -host | --host | --hos | --ho)
861 ac_prev=host_alias ;;
862 -host=* | --host=* | --hos=* | --ho=*)
863 host_alias=$ac_optarg ;;
865 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
866 ac_prev=htmldir ;;
867 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
868 | --ht=*)
869 htmldir=$ac_optarg ;;
871 -includedir | --includedir | --includedi | --included | --include \
872 | --includ | --inclu | --incl | --inc)
873 ac_prev=includedir ;;
874 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
875 | --includ=* | --inclu=* | --incl=* | --inc=*)
876 includedir=$ac_optarg ;;
878 -infodir | --infodir | --infodi | --infod | --info | --inf)
879 ac_prev=infodir ;;
880 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
881 infodir=$ac_optarg ;;
883 -libdir | --libdir | --libdi | --libd)
884 ac_prev=libdir ;;
885 -libdir=* | --libdir=* | --libdi=* | --libd=*)
886 libdir=$ac_optarg ;;
888 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
889 | --libexe | --libex | --libe)
890 ac_prev=libexecdir ;;
891 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
892 | --libexe=* | --libex=* | --libe=*)
893 libexecdir=$ac_optarg ;;
895 -localedir | --localedir | --localedi | --localed | --locale)
896 ac_prev=localedir ;;
897 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
898 localedir=$ac_optarg ;;
900 -localstatedir | --localstatedir | --localstatedi | --localstated \
901 | --localstate | --localstat | --localsta | --localst | --locals)
902 ac_prev=localstatedir ;;
903 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
904 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
905 localstatedir=$ac_optarg ;;
907 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
908 ac_prev=mandir ;;
909 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
910 mandir=$ac_optarg ;;
912 -nfp | --nfp | --nf)
913 # Obsolete; use --without-fp.
914 with_fp=no ;;
916 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
917 | --no-cr | --no-c | -n)
918 no_create=yes ;;
920 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
921 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
922 no_recursion=yes ;;
924 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
925 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
926 | --oldin | --oldi | --old | --ol | --o)
927 ac_prev=oldincludedir ;;
928 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
929 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
930 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
931 oldincludedir=$ac_optarg ;;
933 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
934 ac_prev=prefix ;;
935 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
936 prefix=$ac_optarg ;;
938 -program-prefix | --program-prefix | --program-prefi | --program-pref \
939 | --program-pre | --program-pr | --program-p)
940 ac_prev=program_prefix ;;
941 -program-prefix=* | --program-prefix=* | --program-prefi=* \
942 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
943 program_prefix=$ac_optarg ;;
945 -program-suffix | --program-suffix | --program-suffi | --program-suff \
946 | --program-suf | --program-su | --program-s)
947 ac_prev=program_suffix ;;
948 -program-suffix=* | --program-suffix=* | --program-suffi=* \
949 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
950 program_suffix=$ac_optarg ;;
952 -program-transform-name | --program-transform-name \
953 | --program-transform-nam | --program-transform-na \
954 | --program-transform-n | --program-transform- \
955 | --program-transform | --program-transfor \
956 | --program-transfo | --program-transf \
957 | --program-trans | --program-tran \
958 | --progr-tra | --program-tr | --program-t)
959 ac_prev=program_transform_name ;;
960 -program-transform-name=* | --program-transform-name=* \
961 | --program-transform-nam=* | --program-transform-na=* \
962 | --program-transform-n=* | --program-transform-=* \
963 | --program-transform=* | --program-transfor=* \
964 | --program-transfo=* | --program-transf=* \
965 | --program-trans=* | --program-tran=* \
966 | --progr-tra=* | --program-tr=* | --program-t=*)
967 program_transform_name=$ac_optarg ;;
969 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
970 ac_prev=pdfdir ;;
971 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
972 pdfdir=$ac_optarg ;;
974 -psdir | --psdir | --psdi | --psd | --ps)
975 ac_prev=psdir ;;
976 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
977 psdir=$ac_optarg ;;
979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
980 | -silent | --silent | --silen | --sile | --sil)
981 silent=yes ;;
983 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
984 ac_prev=sbindir ;;
985 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
986 | --sbi=* | --sb=*)
987 sbindir=$ac_optarg ;;
989 -sharedstatedir | --sharedstatedir | --sharedstatedi \
990 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
991 | --sharedst | --shareds | --shared | --share | --shar \
992 | --sha | --sh)
993 ac_prev=sharedstatedir ;;
994 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
995 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
996 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
997 | --sha=* | --sh=*)
998 sharedstatedir=$ac_optarg ;;
1000 -site | --site | --sit)
1001 ac_prev=site ;;
1002 -site=* | --site=* | --sit=*)
1003 site=$ac_optarg ;;
1005 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1006 ac_prev=srcdir ;;
1007 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1008 srcdir=$ac_optarg ;;
1010 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1011 | --syscon | --sysco | --sysc | --sys | --sy)
1012 ac_prev=sysconfdir ;;
1013 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1014 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1015 sysconfdir=$ac_optarg ;;
1017 -target | --target | --targe | --targ | --tar | --ta | --t)
1018 ac_prev=target_alias ;;
1019 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1020 target_alias=$ac_optarg ;;
1022 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1023 verbose=yes ;;
1025 -version | --version | --versio | --versi | --vers | -V)
1026 ac_init_version=: ;;
1028 -with-* | --with-*)
1029 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1030 # Reject names that are not valid shell variable names.
1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1032 as_fn_error $? "invalid package name: $ac_useropt"
1033 ac_useropt_orig=$ac_useropt
1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1035 case $ac_user_opts in
1037 "with_$ac_useropt"
1038 "*) ;;
1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1040 ac_unrecognized_sep=', ';;
1041 esac
1042 eval with_$ac_useropt=\$ac_optarg ;;
1044 -without-* | --without-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "with_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval with_$ac_useropt=no ;;
1060 --x)
1061 # Obsolete; use --with-x.
1062 with_x=yes ;;
1064 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1065 | --x-incl | --x-inc | --x-in | --x-i)
1066 ac_prev=x_includes ;;
1067 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1068 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1069 x_includes=$ac_optarg ;;
1071 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1072 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1073 ac_prev=x_libraries ;;
1074 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1075 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1076 x_libraries=$ac_optarg ;;
1078 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1079 Try \`$0 --help' for more information"
1082 *=*)
1083 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1084 # Reject names that are not valid shell variable names.
1085 case $ac_envvar in #(
1086 '' | [0-9]* | *[!_$as_cr_alnum]* )
1087 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1088 esac
1089 eval $ac_envvar=\$ac_optarg
1090 export $ac_envvar ;;
1093 # FIXME: should be removed in autoconf 3.0.
1094 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1095 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1096 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1097 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1100 esac
1101 done
1103 if test -n "$ac_prev"; then
1104 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1105 as_fn_error $? "missing argument to $ac_option"
1108 if test -n "$ac_unrecognized_opts"; then
1109 case $enable_option_checking in
1110 no) ;;
1111 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1112 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1113 esac
1116 # Check all directory arguments for consistency.
1117 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1118 datadir sysconfdir sharedstatedir localstatedir includedir \
1119 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1120 libdir localedir mandir
1122 eval ac_val=\$$ac_var
1123 # Remove trailing slashes.
1124 case $ac_val in
1125 */ )
1126 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1127 eval $ac_var=\$ac_val;;
1128 esac
1129 # Be sure to have absolute directory names.
1130 case $ac_val in
1131 [\\/$]* | ?:[\\/]* ) continue;;
1132 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1133 esac
1134 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1135 done
1137 # There might be people who depend on the old broken behavior: `$host'
1138 # used to hold the argument of --host etc.
1139 # FIXME: To remove some day.
1140 build=$build_alias
1141 host=$host_alias
1142 target=$target_alias
1144 # FIXME: To remove some day.
1145 if test "x$host_alias" != x; then
1146 if test "x$build_alias" = x; then
1147 cross_compiling=maybe
1148 elif test "x$build_alias" != "x$host_alias"; then
1149 cross_compiling=yes
1153 ac_tool_prefix=
1154 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1156 test "$silent" = yes && exec 6>/dev/null
1159 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1160 ac_ls_di=`ls -di .` &&
1161 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1162 as_fn_error $? "working directory cannot be determined"
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 as_fn_error $? "pwd does not report name of working directory"
1167 # Find the source files, if location was not specified.
1168 if test -z "$srcdir"; then
1169 ac_srcdir_defaulted=yes
1170 # Try the directory containing this script, then the parent directory.
1171 ac_confdir=`$as_dirname -- "$as_myself" ||
1172 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1173 X"$as_myself" : 'X\(//\)[^/]' \| \
1174 X"$as_myself" : 'X\(//\)$' \| \
1175 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1176 $as_echo X"$as_myself" |
1177 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1178 s//\1/
1181 /^X\(\/\/\)[^/].*/{
1182 s//\1/
1185 /^X\(\/\/\)$/{
1186 s//\1/
1189 /^X\(\/\).*/{
1190 s//\1/
1193 s/.*/./; q'`
1194 srcdir=$ac_confdir
1195 if test ! -r "$srcdir/$ac_unique_file"; then
1196 srcdir=..
1198 else
1199 ac_srcdir_defaulted=no
1201 if test ! -r "$srcdir/$ac_unique_file"; then
1202 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1203 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1205 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1206 ac_abs_confdir=`(
1207 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1208 pwd)`
1209 # When building in place, set srcdir=.
1210 if test "$ac_abs_confdir" = "$ac_pwd"; then
1211 srcdir=.
1213 # Remove unnecessary trailing slashes from srcdir.
1214 # Double slashes in file names in object file debugging info
1215 # mess up M-x gdb in Emacs.
1216 case $srcdir in
1217 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1218 esac
1219 for ac_var in $ac_precious_vars; do
1220 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_env_${ac_var}_value=\$${ac_var}
1222 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1223 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1224 done
1227 # Report the --help message.
1229 if test "$ac_init_help" = "long"; then
1230 # Omit some internal or obsolete options to make the list less imposing.
1231 # This message is too long to be a string in the A/UX 3.1 sh.
1232 cat <<_ACEOF
1233 \`configure' configures inform 6.33.1-b2 to adapt to many kinds of systems.
1235 Usage: $0 [OPTION]... [VAR=VALUE]...
1237 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1238 VAR=VALUE. See below for descriptions of some of the useful variables.
1240 Defaults for the options are specified in brackets.
1242 Configuration:
1243 -h, --help display this help and exit
1244 --help=short display options specific to this package
1245 --help=recursive display the short help of all the included packages
1246 -V, --version display version information and exit
1247 -q, --quiet, --silent do not print \`checking ...' messages
1248 --cache-file=FILE cache test results in FILE [disabled]
1249 -C, --config-cache alias for \`--cache-file=config.cache'
1250 -n, --no-create do not create output files
1251 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1253 Installation directories:
1254 --prefix=PREFIX install architecture-independent files in PREFIX
1255 [$ac_default_prefix]
1256 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1257 [PREFIX]
1259 By default, \`make install' will install all the files in
1260 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1261 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1262 for instance \`--prefix=\$HOME'.
1264 For better control, use the options below.
1266 Fine tuning of the installation directories:
1267 --bindir=DIR user executables [EPREFIX/bin]
1268 --sbindir=DIR system admin executables [EPREFIX/sbin]
1269 --libexecdir=DIR program executables [EPREFIX/libexec]
1270 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1271 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1272 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1273 --libdir=DIR object code libraries [EPREFIX/lib]
1274 --includedir=DIR C header files [PREFIX/include]
1275 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1276 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1277 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1278 --infodir=DIR info documentation [DATAROOTDIR/info]
1279 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1280 --mandir=DIR man documentation [DATAROOTDIR/man]
1281 --docdir=DIR documentation root [DATAROOTDIR/doc/inform]
1282 --htmldir=DIR html documentation [DOCDIR]
1283 --dvidir=DIR dvi documentation [DOCDIR]
1284 --pdfdir=DIR pdf documentation [DOCDIR]
1285 --psdir=DIR ps documentation [DOCDIR]
1286 _ACEOF
1288 cat <<\_ACEOF
1290 Program names:
1291 --program-prefix=PREFIX prepend PREFIX to installed program names
1292 --program-suffix=SUFFIX append SUFFIX to installed program names
1293 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1295 System types:
1296 --build=BUILD configure for building on BUILD [guessed]
1297 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1298 _ACEOF
1301 if test -n "$ac_init_help"; then
1302 case $ac_init_help in
1303 short | recursive ) echo "Configuration of inform 6.33.1-b2:";;
1304 esac
1305 cat <<\_ACEOF
1307 Optional Features:
1308 --disable-option-checking ignore unrecognized --enable/--with options
1309 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1310 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1311 --disable-dependency-tracking speeds up one-time build
1312 --enable-dependency-tracking do not reject slow dependency extractors
1314 Some influential environment variables:
1315 CC C compiler command
1316 CFLAGS C compiler flags
1317 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1318 nonstandard directory <lib dir>
1319 LIBS libraries to pass to the linker, e.g. -l<library>
1320 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1321 you have headers in a nonstandard directory <include dir>
1323 Use these variables to override the choices made by `configure' or to help
1324 it to find libraries and programs with nonstandard names/locations.
1326 Report bugs to the package provider.
1327 _ACEOF
1328 ac_status=$?
1331 if test "$ac_init_help" = "recursive"; then
1332 # If there are subdirs, report their specific --help.
1333 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1334 test -d "$ac_dir" ||
1335 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1336 continue
1337 ac_builddir=.
1339 case "$ac_dir" in
1340 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1343 # A ".." for each directory in $ac_dir_suffix.
1344 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1345 case $ac_top_builddir_sub in
1346 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1347 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1348 esac ;;
1349 esac
1350 ac_abs_top_builddir=$ac_pwd
1351 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1352 # for backward compatibility:
1353 ac_top_builddir=$ac_top_build_prefix
1355 case $srcdir in
1356 .) # We are building in place.
1357 ac_srcdir=.
1358 ac_top_srcdir=$ac_top_builddir_sub
1359 ac_abs_top_srcdir=$ac_pwd ;;
1360 [\\/]* | ?:[\\/]* ) # Absolute name.
1361 ac_srcdir=$srcdir$ac_dir_suffix;
1362 ac_top_srcdir=$srcdir
1363 ac_abs_top_srcdir=$srcdir ;;
1364 *) # Relative name.
1365 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1366 ac_top_srcdir=$ac_top_build_prefix$srcdir
1367 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1368 esac
1369 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1371 cd "$ac_dir" || { ac_status=$?; continue; }
1372 # Check for guested configure.
1373 if test -f "$ac_srcdir/configure.gnu"; then
1374 echo &&
1375 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1376 elif test -f "$ac_srcdir/configure"; then
1377 echo &&
1378 $SHELL "$ac_srcdir/configure" --help=recursive
1379 else
1380 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1381 fi || ac_status=$?
1382 cd "$ac_pwd" || { ac_status=$?; break; }
1383 done
1386 test -n "$ac_init_help" && exit $ac_status
1387 if $ac_init_version; then
1388 cat <<\_ACEOF
1389 inform configure 6.33.1-b2
1390 generated by GNU Autoconf 2.69
1392 Copyright (C) 2012 Free Software Foundation, Inc.
1393 This configure script is free software; the Free Software Foundation
1394 gives unlimited permission to copy, distribute and modify it.
1395 _ACEOF
1396 exit
1399 ## ------------------------ ##
1400 ## Autoconf initialization. ##
1401 ## ------------------------ ##
1403 # ac_fn_c_try_compile LINENO
1404 # --------------------------
1405 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1406 ac_fn_c_try_compile ()
1408 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1409 rm -f conftest.$ac_objext
1410 if { { ac_try="$ac_compile"
1411 case "(($ac_try" in
1412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1413 *) ac_try_echo=$ac_try;;
1414 esac
1415 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1416 $as_echo "$ac_try_echo"; } >&5
1417 (eval "$ac_compile") 2>conftest.err
1418 ac_status=$?
1419 if test -s conftest.err; then
1420 grep -v '^ *+' conftest.err >conftest.er1
1421 cat conftest.er1 >&5
1422 mv -f conftest.er1 conftest.err
1424 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1425 test $ac_status = 0; } && {
1426 test -z "$ac_c_werror_flag" ||
1427 test ! -s conftest.err
1428 } && test -s conftest.$ac_objext; then :
1429 ac_retval=0
1430 else
1431 $as_echo "$as_me: failed program was:" >&5
1432 sed 's/^/| /' conftest.$ac_ext >&5
1434 ac_retval=1
1436 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1437 as_fn_set_status $ac_retval
1439 } # ac_fn_c_try_compile
1440 cat >config.log <<_ACEOF
1441 This file contains any messages produced by compilers while
1442 running configure, to aid debugging if configure makes a mistake.
1444 It was created by inform $as_me 6.33.1-b2, which was
1445 generated by GNU Autoconf 2.69. Invocation command line was
1447 $ $0 $@
1449 _ACEOF
1450 exec 5>>config.log
1452 cat <<_ASUNAME
1453 ## --------- ##
1454 ## Platform. ##
1455 ## --------- ##
1457 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1458 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1459 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1460 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1461 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1463 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1464 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1466 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1467 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1468 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1469 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1470 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1471 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1472 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1474 _ASUNAME
1476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 for as_dir in $PATH
1479 IFS=$as_save_IFS
1480 test -z "$as_dir" && as_dir=.
1481 $as_echo "PATH: $as_dir"
1482 done
1483 IFS=$as_save_IFS
1485 } >&5
1487 cat >&5 <<_ACEOF
1490 ## ----------- ##
1491 ## Core tests. ##
1492 ## ----------- ##
1494 _ACEOF
1497 # Keep a trace of the command line.
1498 # Strip out --no-create and --no-recursion so they do not pile up.
1499 # Strip out --silent because we don't want to record it for future runs.
1500 # Also quote any args containing shell meta-characters.
1501 # Make two passes to allow for proper duplicate-argument suppression.
1502 ac_configure_args=
1503 ac_configure_args0=
1504 ac_configure_args1=
1505 ac_must_keep_next=false
1506 for ac_pass in 1 2
1508 for ac_arg
1510 case $ac_arg in
1511 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1512 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1513 | -silent | --silent | --silen | --sile | --sil)
1514 continue ;;
1515 *\'*)
1516 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1517 esac
1518 case $ac_pass in
1519 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1521 as_fn_append ac_configure_args1 " '$ac_arg'"
1522 if test $ac_must_keep_next = true; then
1523 ac_must_keep_next=false # Got value, back to normal.
1524 else
1525 case $ac_arg in
1526 *=* | --config-cache | -C | -disable-* | --disable-* \
1527 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1528 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1529 | -with-* | --with-* | -without-* | --without-* | --x)
1530 case "$ac_configure_args0 " in
1531 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1532 esac
1534 -* ) ac_must_keep_next=true ;;
1535 esac
1537 as_fn_append ac_configure_args " '$ac_arg'"
1539 esac
1540 done
1541 done
1542 { ac_configure_args0=; unset ac_configure_args0;}
1543 { ac_configure_args1=; unset ac_configure_args1;}
1545 # When interrupted or exit'd, cleanup temporary files, and complete
1546 # config.log. We remove comments because anyway the quotes in there
1547 # would cause problems or look ugly.
1548 # WARNING: Use '\'' to represent an apostrophe within the trap.
1549 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1550 trap 'exit_status=$?
1551 # Save into config.log some information that might help in debugging.
1553 echo
1555 $as_echo "## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##"
1558 echo
1559 # The following way of writing the cache mishandles newlines in values,
1561 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1562 eval ac_val=\$$ac_var
1563 case $ac_val in #(
1564 *${as_nl}*)
1565 case $ac_var in #(
1566 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1567 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1568 esac
1569 case $ac_var in #(
1570 _ | IFS | as_nl) ;; #(
1571 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1572 *) { eval $ac_var=; unset $ac_var;} ;;
1573 esac ;;
1574 esac
1575 done
1576 (set) 2>&1 |
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1579 sed -n \
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 ;; #(
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1586 esac |
1587 sort
1589 echo
1591 $as_echo "## ----------------- ##
1592 ## Output variables. ##
1593 ## ----------------- ##"
1594 echo
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1598 case $ac_val in
1599 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1600 esac
1601 $as_echo "$ac_var='\''$ac_val'\''"
1602 done | sort
1603 echo
1605 if test -n "$ac_subst_files"; then
1606 $as_echo "## ------------------- ##
1607 ## File substitutions. ##
1608 ## ------------------- ##"
1609 echo
1610 for ac_var in $ac_subst_files
1612 eval ac_val=\$$ac_var
1613 case $ac_val in
1614 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1615 esac
1616 $as_echo "$ac_var='\''$ac_val'\''"
1617 done | sort
1618 echo
1621 if test -s confdefs.h; then
1622 $as_echo "## ----------- ##
1623 ## confdefs.h. ##
1624 ## ----------- ##"
1625 echo
1626 cat confdefs.h
1627 echo
1629 test "$ac_signal" != 0 &&
1630 $as_echo "$as_me: caught signal $ac_signal"
1631 $as_echo "$as_me: exit $exit_status"
1632 } >&5
1633 rm -f core *.core core.conftest.* &&
1634 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1635 exit $exit_status
1637 for ac_signal in 1 2 13 15; do
1638 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1639 done
1640 ac_signal=0
1642 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1643 rm -f -r conftest* confdefs.h
1645 $as_echo "/* confdefs.h */" > confdefs.h
1647 # Predefined preprocessor variables.
1649 cat >>confdefs.h <<_ACEOF
1650 #define PACKAGE_NAME "$PACKAGE_NAME"
1651 _ACEOF
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1655 _ACEOF
1657 cat >>confdefs.h <<_ACEOF
1658 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1659 _ACEOF
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_STRING "$PACKAGE_STRING"
1663 _ACEOF
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1667 _ACEOF
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_URL "$PACKAGE_URL"
1671 _ACEOF
1674 # Let the site file select an alternate cache file if it wants to.
1675 # Prefer an explicitly selected file to automatically selected ones.
1676 ac_site_file1=NONE
1677 ac_site_file2=NONE
1678 if test -n "$CONFIG_SITE"; then
1679 # We do not want a PATH search for config.site.
1680 case $CONFIG_SITE in #((
1681 -*) ac_site_file1=./$CONFIG_SITE;;
1682 */*) ac_site_file1=$CONFIG_SITE;;
1683 *) ac_site_file1=./$CONFIG_SITE;;
1684 esac
1685 elif test "x$prefix" != xNONE; then
1686 ac_site_file1=$prefix/share/config.site
1687 ac_site_file2=$prefix/etc/config.site
1688 else
1689 ac_site_file1=$ac_default_prefix/share/config.site
1690 ac_site_file2=$ac_default_prefix/etc/config.site
1692 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1694 test "x$ac_site_file" = xNONE && continue
1695 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1697 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1698 sed 's/^/| /' "$ac_site_file" >&5
1699 . "$ac_site_file" \
1700 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1702 as_fn_error $? "failed to load site script $ac_site_file
1703 See \`config.log' for more details" "$LINENO" 5; }
1705 done
1707 if test -r "$cache_file"; then
1708 # Some versions of bash will fail to source /dev/null (special files
1709 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1710 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1712 $as_echo "$as_me: loading cache $cache_file" >&6;}
1713 case $cache_file in
1714 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1715 *) . "./$cache_file";;
1716 esac
1718 else
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1720 $as_echo "$as_me: creating cache $cache_file" >&6;}
1721 >$cache_file
1724 # Check that the precious variables saved in the cache have kept the same
1725 # value.
1726 ac_cache_corrupted=false
1727 for ac_var in $ac_precious_vars; do
1728 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1729 eval ac_new_set=\$ac_env_${ac_var}_set
1730 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1731 eval ac_new_val=\$ac_env_${ac_var}_value
1732 case $ac_old_set,$ac_new_set in
1733 set,)
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1737 ,set)
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1739 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1740 ac_cache_corrupted=: ;;
1741 ,);;
1743 if test "x$ac_old_val" != "x$ac_new_val"; then
1744 # differences in whitespace do not lead to failure.
1745 ac_old_val_w=`echo x $ac_old_val`
1746 ac_new_val_w=`echo x $ac_new_val`
1747 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1749 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750 ac_cache_corrupted=:
1751 else
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754 eval $ac_var=\$ac_old_val
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1757 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1759 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1760 fi;;
1761 esac
1762 # Pass precious variables to config.status.
1763 if test "$ac_new_set" = set; then
1764 case $ac_new_val in
1765 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1766 *) ac_arg=$ac_var=$ac_new_val ;;
1767 esac
1768 case " $ac_configure_args " in
1769 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1770 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1771 esac
1773 done
1774 if $ac_cache_corrupted; then
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1776 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1778 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1779 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1781 ## -------------------- ##
1782 ## Main body of script. ##
1783 ## -------------------- ##
1785 ac_ext=c
1786 ac_cpp='$CPP $CPPFLAGS'
1787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1794 ac_aux_dir=
1795 for ac_dir in config "$srcdir"/config; do
1796 if test -f "$ac_dir/install-sh"; then
1797 ac_aux_dir=$ac_dir
1798 ac_install_sh="$ac_aux_dir/install-sh -c"
1799 break
1800 elif test -f "$ac_dir/install.sh"; then
1801 ac_aux_dir=$ac_dir
1802 ac_install_sh="$ac_aux_dir/install.sh -c"
1803 break
1804 elif test -f "$ac_dir/shtool"; then
1805 ac_aux_dir=$ac_dir
1806 ac_install_sh="$ac_aux_dir/shtool install -c"
1807 break
1809 done
1810 if test -z "$ac_aux_dir"; then
1811 as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
1814 # These three variables are undocumented and unsupported,
1815 # and are intended to be withdrawn in a future Autoconf release.
1816 # They can cause serious problems if a builder's source tree is in a directory
1817 # whose full name contains unusual characters.
1818 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1819 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1820 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1824 INFORM_VERSION=6.33b2
1827 PACKAGE_VERSION=1
1830 am__api_version='1.11'
1832 # Find a good install program. We prefer a C program (faster),
1833 # so one script is as good as another. But avoid the broken or
1834 # incompatible versions:
1835 # SysV /etc/install, /usr/sbin/install
1836 # SunOS /usr/etc/install
1837 # IRIX /sbin/install
1838 # AIX /bin/install
1839 # AmigaOS /C/install, which installs bootblocks on floppy discs
1840 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1841 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1842 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1843 # OS/2's system install, which has a completely different semantic
1844 # ./install, which can be erroneously created by make from ./install.sh.
1845 # Reject install programs that cannot install multiple files.
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1847 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1848 if test -z "$INSTALL"; then
1849 if ${ac_cv_path_install+:} false; then :
1850 $as_echo_n "(cached) " >&6
1851 else
1852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1853 for as_dir in $PATH
1855 IFS=$as_save_IFS
1856 test -z "$as_dir" && as_dir=.
1857 # Account for people who put trailing slashes in PATH elements.
1858 case $as_dir/ in #((
1859 ./ | .// | /[cC]/* | \
1860 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1861 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1862 /usr/ucb/* ) ;;
1864 # OSF1 and SCO ODT 3.0 have their own names for install.
1865 # Don't use installbsd from OSF since it installs stuff as root
1866 # by default.
1867 for ac_prog in ginstall scoinst install; do
1868 for ac_exec_ext in '' $ac_executable_extensions; do
1869 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1870 if test $ac_prog = install &&
1871 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1872 # AIX install. It has an incompatible calling convention.
1874 elif test $ac_prog = install &&
1875 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1876 # program-specific install script used by HP pwplus--don't use.
1878 else
1879 rm -rf conftest.one conftest.two conftest.dir
1880 echo one > conftest.one
1881 echo two > conftest.two
1882 mkdir conftest.dir
1883 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1884 test -s conftest.one && test -s conftest.two &&
1885 test -s conftest.dir/conftest.one &&
1886 test -s conftest.dir/conftest.two
1887 then
1888 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1889 break 3
1893 done
1894 done
1896 esac
1898 done
1899 IFS=$as_save_IFS
1901 rm -rf conftest.one conftest.two conftest.dir
1904 if test "${ac_cv_path_install+set}" = set; then
1905 INSTALL=$ac_cv_path_install
1906 else
1907 # As a last resort, use the slow shell script. Don't cache a
1908 # value for INSTALL within a source directory, because that will
1909 # break other packages using the cache if that directory is
1910 # removed, or if the value is a relative name.
1911 INSTALL=$ac_install_sh
1914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1915 $as_echo "$INSTALL" >&6; }
1917 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1918 # It thinks the first close brace ends the variable substitution.
1919 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1921 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1923 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1926 $as_echo_n "checking whether build environment is sane... " >&6; }
1927 # Just in case
1928 sleep 1
1929 echo timestamp > conftest.file
1930 # Reject unsafe characters in $srcdir or the absolute working directory
1931 # name. Accept space and tab only in the latter.
1932 am_lf='
1934 case `pwd` in
1935 *[\\\"\#\$\&\'\`$am_lf]*)
1936 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1937 esac
1938 case $srcdir in
1939 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1940 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1941 esac
1943 # Do `set' in a subshell so we don't clobber the current shell's
1944 # arguments. Must try -L first in case configure is actually a
1945 # symlink; some systems play weird games with the mod time of symlinks
1946 # (eg FreeBSD returns the mod time of the symlink's containing
1947 # directory).
1948 if (
1949 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1950 if test "$*" = "X"; then
1951 # -L didn't work.
1952 set X `ls -t "$srcdir/configure" conftest.file`
1954 rm -f conftest.file
1955 if test "$*" != "X $srcdir/configure conftest.file" \
1956 && test "$*" != "X conftest.file $srcdir/configure"; then
1958 # If neither matched, then we have a broken ls. This can happen
1959 # if, for instance, CONFIG_SHELL is bash and it inherits a
1960 # broken ls alias from the environment. This has actually
1961 # happened. Such a system could not be considered "sane".
1962 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1963 alias in your environment" "$LINENO" 5
1966 test "$2" = conftest.file
1968 then
1969 # Ok.
1971 else
1972 as_fn_error $? "newly created file is older than distributed files!
1973 Check your system clock" "$LINENO" 5
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1976 $as_echo "yes" >&6; }
1977 test "$program_prefix" != NONE &&
1978 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1979 # Use a double $ so make ignores it.
1980 test "$program_suffix" != NONE &&
1981 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1982 # Double any \ or $.
1983 # By default was `s,x,x', remove it if useless.
1984 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1985 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1987 # expand $ac_aux_dir to an absolute path
1988 am_aux_dir=`cd $ac_aux_dir && pwd`
1990 if test x"${MISSING+set}" != xset; then
1991 case $am_aux_dir in
1992 *\ * | *\ *)
1993 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1995 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1996 esac
1998 # Use eval to expand $SHELL
1999 if eval "$MISSING --run true"; then
2000 am_missing_run="$MISSING --run "
2001 else
2002 am_missing_run=
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2004 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2007 if test x"${install_sh}" != xset; then
2008 case $am_aux_dir in
2009 *\ * | *\ *)
2010 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2012 install_sh="\${SHELL} $am_aux_dir/install-sh"
2013 esac
2016 # Installed binaries are usually stripped using `strip' when the user
2017 # run `make install-strip'. However `strip' might not be the right
2018 # tool to use in cross-compilation environments, therefore Automake
2019 # will honor the `STRIP' environment variable to overrule this program.
2020 if test "$cross_compiling" != no; then
2021 if test -n "$ac_tool_prefix"; then
2022 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2023 set dummy ${ac_tool_prefix}strip; ac_word=$2
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2025 $as_echo_n "checking for $ac_word... " >&6; }
2026 if ${ac_cv_prog_STRIP+:} false; then :
2027 $as_echo_n "(cached) " >&6
2028 else
2029 if test -n "$STRIP"; then
2030 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2031 else
2032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2033 for as_dir in $PATH
2035 IFS=$as_save_IFS
2036 test -z "$as_dir" && as_dir=.
2037 for ac_exec_ext in '' $ac_executable_extensions; do
2038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2039 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 break 2
2043 done
2044 done
2045 IFS=$as_save_IFS
2049 STRIP=$ac_cv_prog_STRIP
2050 if test -n "$STRIP"; then
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2052 $as_echo "$STRIP" >&6; }
2053 else
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2055 $as_echo "no" >&6; }
2060 if test -z "$ac_cv_prog_STRIP"; then
2061 ac_ct_STRIP=$STRIP
2062 # Extract the first word of "strip", so it can be a program name with args.
2063 set dummy strip; ac_word=$2
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2065 $as_echo_n "checking for $ac_word... " >&6; }
2066 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2067 $as_echo_n "(cached) " >&6
2068 else
2069 if test -n "$ac_ct_STRIP"; then
2070 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2071 else
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2073 for as_dir in $PATH
2075 IFS=$as_save_IFS
2076 test -z "$as_dir" && as_dir=.
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2079 ac_cv_prog_ac_ct_STRIP="strip"
2080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2081 break 2
2083 done
2084 done
2085 IFS=$as_save_IFS
2089 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2090 if test -n "$ac_ct_STRIP"; then
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2092 $as_echo "$ac_ct_STRIP" >&6; }
2093 else
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2095 $as_echo "no" >&6; }
2098 if test "x$ac_ct_STRIP" = x; then
2099 STRIP=":"
2100 else
2101 case $cross_compiling:$ac_tool_warned in
2102 yes:)
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2105 ac_tool_warned=yes ;;
2106 esac
2107 STRIP=$ac_ct_STRIP
2109 else
2110 STRIP="$ac_cv_prog_STRIP"
2114 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2117 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2118 if test -z "$MKDIR_P"; then
2119 if ${ac_cv_path_mkdir+:} false; then :
2120 $as_echo_n "(cached) " >&6
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_prog in mkdir gmkdir; do
2128 for ac_exec_ext in '' $ac_executable_extensions; do
2129 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2130 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2131 'mkdir (GNU coreutils) '* | \
2132 'mkdir (coreutils) '* | \
2133 'mkdir (fileutils) '4.1*)
2134 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2135 break 3;;
2136 esac
2137 done
2138 done
2139 done
2140 IFS=$as_save_IFS
2144 test -d ./--version && rmdir ./--version
2145 if test "${ac_cv_path_mkdir+set}" = set; then
2146 MKDIR_P="$ac_cv_path_mkdir -p"
2147 else
2148 # As a last resort, use the slow shell script. Don't cache a
2149 # value for MKDIR_P within a source directory, because that will
2150 # break other packages using the cache if that directory is
2151 # removed, or if the value is a relative name.
2152 MKDIR_P="$ac_install_sh -d"
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2156 $as_echo "$MKDIR_P" >&6; }
2158 mkdir_p="$MKDIR_P"
2159 case $mkdir_p in
2160 [\\/$]* | ?:[\\/]*) ;;
2161 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2162 esac
2164 for ac_prog in gawk mawk nawk awk
2166 # Extract the first word of "$ac_prog", so it can be a program name with args.
2167 set dummy $ac_prog; ac_word=$2
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 $as_echo_n "checking for $ac_word... " >&6; }
2170 if ${ac_cv_prog_AWK+:} false; then :
2171 $as_echo_n "(cached) " >&6
2172 else
2173 if test -n "$AWK"; then
2174 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2175 else
2176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 for as_dir in $PATH
2179 IFS=$as_save_IFS
2180 test -z "$as_dir" && as_dir=.
2181 for ac_exec_ext in '' $ac_executable_extensions; do
2182 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2183 ac_cv_prog_AWK="$ac_prog"
2184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2185 break 2
2187 done
2188 done
2189 IFS=$as_save_IFS
2193 AWK=$ac_cv_prog_AWK
2194 if test -n "$AWK"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2196 $as_echo "$AWK" >&6; }
2197 else
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2199 $as_echo "no" >&6; }
2203 test -n "$AWK" && break
2204 done
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2207 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2208 set x ${MAKE-make}
2209 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2210 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2211 $as_echo_n "(cached) " >&6
2212 else
2213 cat >conftest.make <<\_ACEOF
2214 SHELL = /bin/sh
2215 all:
2216 @echo '@@@%%%=$(MAKE)=@@@%%%'
2217 _ACEOF
2218 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2219 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2220 *@@@%%%=?*=@@@%%%*)
2221 eval ac_cv_prog_make_${ac_make}_set=yes;;
2223 eval ac_cv_prog_make_${ac_make}_set=no;;
2224 esac
2225 rm -f conftest.make
2227 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2229 $as_echo "yes" >&6; }
2230 SET_MAKE=
2231 else
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2233 $as_echo "no" >&6; }
2234 SET_MAKE="MAKE=${MAKE-make}"
2237 rm -rf .tst 2>/dev/null
2238 mkdir .tst 2>/dev/null
2239 if test -d .tst; then
2240 am__leading_dot=.
2241 else
2242 am__leading_dot=_
2244 rmdir .tst 2>/dev/null
2246 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2247 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2248 # is not polluted with repeated "-I."
2249 am__isrc=' -I$(srcdir)'
2250 # test to see if srcdir already configured
2251 if test -f $srcdir/config.status; then
2252 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2256 # test whether we have cygpath
2257 if test -z "$CYGPATH_W"; then
2258 if (cygpath --version) >/dev/null 2>/dev/null; then
2259 CYGPATH_W='cygpath -w'
2260 else
2261 CYGPATH_W=echo
2266 # Define the identity of the package.
2267 PACKAGE='inform'
2268 VERSION='6.33.1-b2'
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE "$PACKAGE"
2273 _ACEOF
2276 cat >>confdefs.h <<_ACEOF
2277 #define VERSION "$VERSION"
2278 _ACEOF
2280 # Some tools Automake needs.
2282 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 # We need awk for the "check" target. The system "awk" is bad on
2297 # some platforms.
2298 # Always define AMTAR for backward compatibility. Yes, it's still used
2299 # in the wild :-( We should find a proper way to deprecate it ...
2300 AMTAR='$${TAR-tar}'
2302 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2309 # Make sure we can run config.sub.
2310 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2311 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2314 $as_echo_n "checking build system type... " >&6; }
2315 if ${ac_cv_build+:} false; then :
2316 $as_echo_n "(cached) " >&6
2317 else
2318 ac_build_alias=$build_alias
2319 test "x$ac_build_alias" = x &&
2320 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2321 test "x$ac_build_alias" = x &&
2322 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2323 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2324 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2328 $as_echo "$ac_cv_build" >&6; }
2329 case $ac_cv_build in
2330 *-*-*) ;;
2331 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2332 esac
2333 build=$ac_cv_build
2334 ac_save_IFS=$IFS; IFS='-'
2335 set x $ac_cv_build
2336 shift
2337 build_cpu=$1
2338 build_vendor=$2
2339 shift; shift
2340 # Remember, the first character of IFS is used to create $*,
2341 # except with old shells:
2342 build_os=$*
2343 IFS=$ac_save_IFS
2344 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2348 $as_echo_n "checking host system type... " >&6; }
2349 if ${ac_cv_host+:} false; then :
2350 $as_echo_n "(cached) " >&6
2351 else
2352 if test "x$host_alias" = x; then
2353 ac_cv_host=$ac_cv_build
2354 else
2355 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2356 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2361 $as_echo "$ac_cv_host" >&6; }
2362 case $ac_cv_host in
2363 *-*-*) ;;
2364 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2365 esac
2366 host=$ac_cv_host
2367 ac_save_IFS=$IFS; IFS='-'
2368 set x $ac_cv_host
2369 shift
2370 host_cpu=$1
2371 host_vendor=$2
2372 shift; shift
2373 # Remember, the first character of IFS is used to create $*,
2374 # except with old shells:
2375 host_os=$*
2376 IFS=$ac_save_IFS
2377 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2381 case $host_os in
2382 *cygwin* ) CYGWIN=yes;;
2383 * ) CYGWIN=no;;
2384 esac
2388 if test "$CYGWIN" = yes; then
2389 CYGWIN_TRUE=
2390 CYGWIN_FALSE='#'
2391 else
2392 CYGWIN_TRUE='#'
2393 CYGWIN_FALSE=
2397 case $host in
2398 *linux*) HOST=LINUX;;
2399 *) HOST=UNIX;;
2400 esac
2404 ac_ext=c
2405 ac_cpp='$CPP $CPPFLAGS'
2406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2409 if test -n "$ac_tool_prefix"; then
2410 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2411 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if ${ac_cv_prog_CC+:} false; then :
2415 $as_echo_n "(cached) " >&6
2416 else
2417 if test -n "$CC"; then
2418 ac_cv_prog_CC="$CC" # Let the user override the test.
2419 else
2420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2421 for as_dir in $PATH
2423 IFS=$as_save_IFS
2424 test -z "$as_dir" && as_dir=.
2425 for ac_exec_ext in '' $ac_executable_extensions; do
2426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2427 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 break 2
2431 done
2432 done
2433 IFS=$as_save_IFS
2437 CC=$ac_cv_prog_CC
2438 if test -n "$CC"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2440 $as_echo "$CC" >&6; }
2441 else
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2443 $as_echo "no" >&6; }
2448 if test -z "$ac_cv_prog_CC"; then
2449 ac_ct_CC=$CC
2450 # Extract the first word of "gcc", so it can be a program name with args.
2451 set dummy gcc; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2455 $as_echo_n "(cached) " >&6
2456 else
2457 if test -n "$ac_ct_CC"; then
2458 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2459 else
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 for as_dir in $PATH
2463 IFS=$as_save_IFS
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_ac_ct_CC="gcc"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 break 2
2471 done
2472 done
2473 IFS=$as_save_IFS
2477 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2478 if test -n "$ac_ct_CC"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2480 $as_echo "$ac_ct_CC" >&6; }
2481 else
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2486 if test "x$ac_ct_CC" = x; then
2487 CC=""
2488 else
2489 case $cross_compiling:$ac_tool_warned in
2490 yes:)
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2493 ac_tool_warned=yes ;;
2494 esac
2495 CC=$ac_ct_CC
2497 else
2498 CC="$ac_cv_prog_CC"
2501 if test -z "$CC"; then
2502 if test -n "$ac_tool_prefix"; then
2503 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2504 set dummy ${ac_tool_prefix}cc; ac_word=$2
2505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2506 $as_echo_n "checking for $ac_word... " >&6; }
2507 if ${ac_cv_prog_CC+:} false; then :
2508 $as_echo_n "(cached) " >&6
2509 else
2510 if test -n "$CC"; then
2511 ac_cv_prog_CC="$CC" # Let the user override the test.
2512 else
2513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 for as_dir in $PATH
2516 IFS=$as_save_IFS
2517 test -z "$as_dir" && as_dir=.
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_CC="${ac_tool_prefix}cc"
2521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 break 2
2524 done
2525 done
2526 IFS=$as_save_IFS
2530 CC=$ac_cv_prog_CC
2531 if test -n "$CC"; then
2532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2533 $as_echo "$CC" >&6; }
2534 else
2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 $as_echo "no" >&6; }
2542 if test -z "$CC"; then
2543 # Extract the first word of "cc", so it can be a program name with args.
2544 set dummy cc; ac_word=$2
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 $as_echo_n "checking for $ac_word... " >&6; }
2547 if ${ac_cv_prog_CC+:} false; then :
2548 $as_echo_n "(cached) " >&6
2549 else
2550 if test -n "$CC"; then
2551 ac_cv_prog_CC="$CC" # Let the user override the test.
2552 else
2553 ac_prog_rejected=no
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2557 IFS=$as_save_IFS
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2561 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2562 ac_prog_rejected=yes
2563 continue
2565 ac_cv_prog_CC="cc"
2566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2567 break 2
2569 done
2570 done
2571 IFS=$as_save_IFS
2573 if test $ac_prog_rejected = yes; then
2574 # We found a bogon in the path, so make sure we never use it.
2575 set dummy $ac_cv_prog_CC
2576 shift
2577 if test $# != 0; then
2578 # We chose a different compiler from the bogus one.
2579 # However, it has the same basename, so the bogon will be chosen
2580 # first if we set CC to just the basename; use the full file name.
2581 shift
2582 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2587 CC=$ac_cv_prog_CC
2588 if test -n "$CC"; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2590 $as_echo "$CC" >&6; }
2591 else
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2593 $as_echo "no" >&6; }
2598 if test -z "$CC"; then
2599 if test -n "$ac_tool_prefix"; then
2600 for ac_prog in cl.exe
2602 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2603 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if ${ac_cv_prog_CC+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2625 IFS=$as_save_IFS
2629 CC=$ac_cv_prog_CC
2630 if test -n "$CC"; then
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2632 $as_echo "$CC" >&6; }
2633 else
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635 $as_echo "no" >&6; }
2639 test -n "$CC" && break
2640 done
2642 if test -z "$CC"; then
2643 ac_ct_CC=$CC
2644 for ac_prog in cl.exe
2646 # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set dummy $ac_prog; ac_word=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2651 $as_echo_n "(cached) " >&6
2652 else
2653 if test -n "$ac_ct_CC"; then
2654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2655 else
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 for as_dir in $PATH
2659 IFS=$as_save_IFS
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_ac_ct_CC="$ac_prog"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2665 break 2
2667 done
2668 done
2669 IFS=$as_save_IFS
2673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2674 if test -n "$ac_ct_CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2676 $as_echo "$ac_ct_CC" >&6; }
2677 else
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2683 test -n "$ac_ct_CC" && break
2684 done
2686 if test "x$ac_ct_CC" = x; then
2687 CC=""
2688 else
2689 case $cross_compiling:$ac_tool_warned in
2690 yes:)
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2692 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2693 ac_tool_warned=yes ;;
2694 esac
2695 CC=$ac_ct_CC
2702 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2704 as_fn_error $? "no acceptable C compiler found in \$PATH
2705 See \`config.log' for more details" "$LINENO" 5; }
2707 # Provide some information about the compiler.
2708 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2709 set X $ac_compile
2710 ac_compiler=$2
2711 for ac_option in --version -v -V -qversion; do
2712 { { ac_try="$ac_compiler $ac_option >&5"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2720 ac_status=$?
2721 if test -s conftest.err; then
2722 sed '10a\
2723 ... rest of stderr output deleted ...
2724 10q' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2727 rm -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; }
2730 done
2732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2733 /* end confdefs.h. */
2736 main ()
2740 return 0;
2742 _ACEOF
2743 ac_clean_files_save=$ac_clean_files
2744 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2745 # Try to create an executable without -o first, disregard a.out.
2746 # It will help us diagnose broken compilers, and finding out an intuition
2747 # of exeext.
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2749 $as_echo_n "checking whether the C compiler works... " >&6; }
2750 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2752 # The possible output files:
2753 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2755 ac_rmfiles=
2756 for ac_file in $ac_files
2758 case $ac_file in
2759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2760 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2761 esac
2762 done
2763 rm -f $ac_rmfiles
2765 if { { ac_try="$ac_link_default"
2766 case "(($ac_try" in
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2769 esac
2770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2771 $as_echo "$ac_try_echo"; } >&5
2772 (eval "$ac_link_default") 2>&5
2773 ac_status=$?
2774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2775 test $ac_status = 0; }; then :
2776 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2777 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2778 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2779 # so that the user can short-circuit this test for compilers unknown to
2780 # Autoconf.
2781 for ac_file in $ac_files ''
2783 test -f "$ac_file" || continue
2784 case $ac_file in
2785 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2787 [ab].out )
2788 # We found the default executable, but exeext='' is most
2789 # certainly right.
2790 break;;
2791 *.* )
2792 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2793 then :; else
2794 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2796 # We set ac_cv_exeext here because the later test for it is not
2797 # safe: cross compilers may not add the suffix if given an `-o'
2798 # argument, so we may need to know it at that point already.
2799 # Even if this section looks crufty: it has the advantage of
2800 # actually working.
2801 break;;
2803 break;;
2804 esac
2805 done
2806 test "$ac_cv_exeext" = no && ac_cv_exeext=
2808 else
2809 ac_file=''
2811 if test -z "$ac_file"; then :
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2814 $as_echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.$ac_ext >&5
2817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 as_fn_error 77 "C compiler cannot create executables
2820 See \`config.log' for more details" "$LINENO" 5; }
2821 else
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2826 $as_echo_n "checking for C compiler default output file name... " >&6; }
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2828 $as_echo "$ac_file" >&6; }
2829 ac_exeext=$ac_cv_exeext
2831 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2832 ac_clean_files=$ac_clean_files_save
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2834 $as_echo_n "checking for suffix of executables... " >&6; }
2835 if { { ac_try="$ac_link"
2836 case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2839 esac
2840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2841 $as_echo "$ac_try_echo"; } >&5
2842 (eval "$ac_link") 2>&5
2843 ac_status=$?
2844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2845 test $ac_status = 0; }; then :
2846 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2847 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2848 # work properly (i.e., refer to `conftest.exe'), while it won't with
2849 # `rm'.
2850 for ac_file in conftest.exe conftest conftest.*; do
2851 test -f "$ac_file" || continue
2852 case $ac_file in
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2854 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2855 break;;
2856 * ) break;;
2857 esac
2858 done
2859 else
2860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2861 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2862 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2863 See \`config.log' for more details" "$LINENO" 5; }
2865 rm -f conftest conftest$ac_cv_exeext
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2867 $as_echo "$ac_cv_exeext" >&6; }
2869 rm -f conftest.$ac_ext
2870 EXEEXT=$ac_cv_exeext
2871 ac_exeext=$EXEEXT
2872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2873 /* end confdefs.h. */
2874 #include <stdio.h>
2876 main ()
2878 FILE *f = fopen ("conftest.out", "w");
2879 return ferror (f) || fclose (f) != 0;
2882 return 0;
2884 _ACEOF
2885 ac_clean_files="$ac_clean_files conftest.out"
2886 # Check that the compiler produces executables we can run. If not, either
2887 # the compiler is broken, or we cross compile.
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2889 $as_echo_n "checking whether we are cross compiling... " >&6; }
2890 if test "$cross_compiling" != yes; then
2891 { { ac_try="$ac_link"
2892 case "(($ac_try" in
2893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2894 *) ac_try_echo=$ac_try;;
2895 esac
2896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2897 $as_echo "$ac_try_echo"; } >&5
2898 (eval "$ac_link") 2>&5
2899 ac_status=$?
2900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2901 test $ac_status = 0; }
2902 if { ac_try='./conftest$ac_cv_exeext'
2903 { { case "(($ac_try" in
2904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2905 *) ac_try_echo=$ac_try;;
2906 esac
2907 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2908 $as_echo "$ac_try_echo"; } >&5
2909 (eval "$ac_try") 2>&5
2910 ac_status=$?
2911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2912 test $ac_status = 0; }; }; then
2913 cross_compiling=no
2914 else
2915 if test "$cross_compiling" = maybe; then
2916 cross_compiling=yes
2917 else
2918 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2919 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2920 as_fn_error $? "cannot run C compiled programs.
2921 If you meant to cross compile, use \`--host'.
2922 See \`config.log' for more details" "$LINENO" 5; }
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2927 $as_echo "$cross_compiling" >&6; }
2929 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2930 ac_clean_files=$ac_clean_files_save
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2932 $as_echo_n "checking for suffix of object files... " >&6; }
2933 if ${ac_cv_objext+:} false; then :
2934 $as_echo_n "(cached) " >&6
2935 else
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2940 main ()
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.o conftest.obj
2948 if { { ac_try="$ac_compile"
2949 case "(($ac_try" in
2950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2952 esac
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_compile") 2>&5
2956 ac_status=$?
2957 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2958 test $ac_status = 0; }; then :
2959 for ac_file in conftest.o conftest.obj conftest.*; do
2960 test -f "$ac_file" || continue;
2961 case $ac_file in
2962 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2963 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2964 break;;
2965 esac
2966 done
2967 else
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2972 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2973 as_fn_error $? "cannot compute suffix of object files: cannot compile
2974 See \`config.log' for more details" "$LINENO" 5; }
2976 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2979 $as_echo "$ac_cv_objext" >&6; }
2980 OBJEXT=$ac_cv_objext
2981 ac_objext=$OBJEXT
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2983 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2984 if ${ac_cv_c_compiler_gnu+:} false; then :
2985 $as_echo_n "(cached) " >&6
2986 else
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2991 main ()
2993 #ifndef __GNUC__
2994 choke me
2995 #endif
2998 return 0;
3000 _ACEOF
3001 if ac_fn_c_try_compile "$LINENO"; then :
3002 ac_compiler_gnu=yes
3003 else
3004 ac_compiler_gnu=no
3006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3011 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3012 if test $ac_compiler_gnu = yes; then
3013 GCC=yes
3014 else
3015 GCC=
3017 ac_test_CFLAGS=${CFLAGS+set}
3018 ac_save_CFLAGS=$CFLAGS
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3020 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3021 if ${ac_cv_prog_cc_g+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 ac_save_c_werror_flag=$ac_c_werror_flag
3025 ac_c_werror_flag=yes
3026 ac_cv_prog_cc_g=no
3027 CFLAGS="-g"
3028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3029 /* end confdefs.h. */
3032 main ()
3036 return 0;
3038 _ACEOF
3039 if ac_fn_c_try_compile "$LINENO"; then :
3040 ac_cv_prog_cc_g=yes
3041 else
3042 CFLAGS=""
3043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3044 /* end confdefs.h. */
3047 main ()
3051 return 0;
3053 _ACEOF
3054 if ac_fn_c_try_compile "$LINENO"; then :
3056 else
3057 ac_c_werror_flag=$ac_save_c_werror_flag
3058 CFLAGS="-g"
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3063 main ()
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"; then :
3071 ac_cv_prog_cc_g=yes
3073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3078 ac_c_werror_flag=$ac_save_c_werror_flag
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3081 $as_echo "$ac_cv_prog_cc_g" >&6; }
3082 if test "$ac_test_CFLAGS" = set; then
3083 CFLAGS=$ac_save_CFLAGS
3084 elif test $ac_cv_prog_cc_g = yes; then
3085 if test "$GCC" = yes; then
3086 CFLAGS="-g -O2"
3087 else
3088 CFLAGS="-g"
3090 else
3091 if test "$GCC" = yes; then
3092 CFLAGS="-O2"
3093 else
3094 CFLAGS=
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3098 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3099 if ${ac_cv_prog_cc_c89+:} false; then :
3100 $as_echo_n "(cached) " >&6
3101 else
3102 ac_cv_prog_cc_c89=no
3103 ac_save_CC=$CC
3104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3105 /* end confdefs.h. */
3106 #include <stdarg.h>
3107 #include <stdio.h>
3108 struct stat;
3109 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3110 struct buf { int x; };
3111 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3112 static char *e (p, i)
3113 char **p;
3114 int i;
3116 return p[i];
3118 static char *f (char * (*g) (char **, int), char **p, ...)
3120 char *s;
3121 va_list v;
3122 va_start (v,p);
3123 s = g (p, va_arg (v,int));
3124 va_end (v);
3125 return s;
3128 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3129 function prototypes and stuff, but not '\xHH' hex character constants.
3130 These don't provoke an error unfortunately, instead are silently treated
3131 as 'x'. The following induces an error, until -std is added to get
3132 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3133 array size at least. It's necessary to write '\x00'==0 to get something
3134 that's true only with -std. */
3135 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3137 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3138 inside strings and character constants. */
3139 #define FOO(x) 'x'
3140 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3142 int test (int i, double x);
3143 struct s1 {int (*f) (int a);};
3144 struct s2 {int (*f) (double a);};
3145 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3146 int argc;
3147 char **argv;
3149 main ()
3151 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3153 return 0;
3155 _ACEOF
3156 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3157 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3159 CC="$ac_save_CC $ac_arg"
3160 if ac_fn_c_try_compile "$LINENO"; then :
3161 ac_cv_prog_cc_c89=$ac_arg
3163 rm -f core conftest.err conftest.$ac_objext
3164 test "x$ac_cv_prog_cc_c89" != "xno" && break
3165 done
3166 rm -f conftest.$ac_ext
3167 CC=$ac_save_CC
3170 # AC_CACHE_VAL
3171 case "x$ac_cv_prog_cc_c89" in
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3174 $as_echo "none needed" >&6; } ;;
3175 xno)
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3177 $as_echo "unsupported" >&6; } ;;
3179 CC="$CC $ac_cv_prog_cc_c89"
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3181 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3182 esac
3183 if test "x$ac_cv_prog_cc_c89" != xno; then :
3187 ac_ext=c
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 DEPDIR="${am__leading_dot}deps"
3194 ac_config_commands="$ac_config_commands depfiles"
3197 am_make=${MAKE-make}
3198 cat > confinc << 'END'
3199 am__doit:
3200 @echo this is the am__doit target
3201 .PHONY: am__doit
3203 # If we don't find an include directive, just comment out the code.
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3205 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3206 am__include="#"
3207 am__quote=
3208 _am_result=none
3209 # First try GNU make style include.
3210 echo "include confinc" > confmf
3211 # Ignore all kinds of additional output from `make'.
3212 case `$am_make -s -f confmf 2> /dev/null` in #(
3213 *the\ am__doit\ target*)
3214 am__include=include
3215 am__quote=
3216 _am_result=GNU
3218 esac
3219 # Now try BSD make style include.
3220 if test "$am__include" = "#"; then
3221 echo '.include "confinc"' > confmf
3222 case `$am_make -s -f confmf 2> /dev/null` in #(
3223 *the\ am__doit\ target*)
3224 am__include=.include
3225 am__quote="\""
3226 _am_result=BSD
3228 esac
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3233 $as_echo "$_am_result" >&6; }
3234 rm -f confinc confmf
3236 # Check whether --enable-dependency-tracking was given.
3237 if test "${enable_dependency_tracking+set}" = set; then :
3238 enableval=$enable_dependency_tracking;
3241 if test "x$enable_dependency_tracking" != xno; then
3242 am_depcomp="$ac_aux_dir/depcomp"
3243 AMDEPBACKSLASH='\'
3244 am__nodep='_no'
3246 if test "x$enable_dependency_tracking" != xno; then
3247 AMDEP_TRUE=
3248 AMDEP_FALSE='#'
3249 else
3250 AMDEP_TRUE='#'
3251 AMDEP_FALSE=
3256 depcc="$CC" am_compiler_list=
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3259 $as_echo_n "checking dependency style of $depcc... " >&6; }
3260 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3264 # We make a subdir and do the tests there. Otherwise we can end up
3265 # making bogus files that we don't know about and never remove. For
3266 # instance it was reported that on HP-UX the gcc test will end up
3267 # making a dummy file named `D' -- because `-MD' means `put the output
3268 # in D'.
3269 rm -rf conftest.dir
3270 mkdir conftest.dir
3271 # Copy depcomp to subdir because otherwise we won't find it if we're
3272 # using a relative directory.
3273 cp "$am_depcomp" conftest.dir
3274 cd conftest.dir
3275 # We will build objects and dependencies in a subdirectory because
3276 # it helps to detect inapplicable dependency modes. For instance
3277 # both Tru64's cc and ICC support -MD to output dependencies as a
3278 # side effect of compilation, but ICC will put the dependencies in
3279 # the current directory while Tru64 will put them in the object
3280 # directory.
3281 mkdir sub
3283 am_cv_CC_dependencies_compiler_type=none
3284 if test "$am_compiler_list" = ""; then
3285 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3287 am__universal=false
3288 case " $depcc " in #(
3289 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3290 esac
3292 for depmode in $am_compiler_list; do
3293 # Setup a source with many dependencies, because some compilers
3294 # like to wrap large dependency lists on column 80 (with \), and
3295 # we should not choose a depcomp mode which is confused by this.
3297 # We need to recreate these files for each test, as the compiler may
3298 # overwrite some of them when testing with obscure command lines.
3299 # This happens at least with the AIX C compiler.
3300 : > sub/conftest.c
3301 for i in 1 2 3 4 5 6; do
3302 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3303 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3304 # Solaris 8's {/usr,}/bin/sh.
3305 touch sub/conftst$i.h
3306 done
3307 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3309 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3310 # mode. It turns out that the SunPro C++ compiler does not properly
3311 # handle `-M -o', and we need to detect this. Also, some Intel
3312 # versions had trouble with output in subdirs
3313 am__obj=sub/conftest.${OBJEXT-o}
3314 am__minus_obj="-o $am__obj"
3315 case $depmode in
3316 gcc)
3317 # This depmode causes a compiler race in universal mode.
3318 test "$am__universal" = false || continue
3320 nosideeffect)
3321 # after this tag, mechanisms are not by side-effect, so they'll
3322 # only be used when explicitly requested
3323 if test "x$enable_dependency_tracking" = xyes; then
3324 continue
3325 else
3326 break
3329 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3330 # This compiler won't grok `-c -o', but also, the minuso test has
3331 # not run yet. These depmodes are late enough in the game, and
3332 # so weak that their functioning should not be impacted.
3333 am__obj=conftest.${OBJEXT-o}
3334 am__minus_obj=
3336 none) break ;;
3337 esac
3338 if depmode=$depmode \
3339 source=sub/conftest.c object=$am__obj \
3340 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3341 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3342 >/dev/null 2>conftest.err &&
3343 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3344 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3345 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3346 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3347 # icc doesn't choke on unknown options, it will just issue warnings
3348 # or remarks (even with -Werror). So we grep stderr for any message
3349 # that says an option was ignored or not supported.
3350 # When given -MP, icc 7.0 and 7.1 complain thusly:
3351 # icc: Command line warning: ignoring option '-M'; no argument required
3352 # The diagnosis changed in icc 8.0:
3353 # icc: Command line remark: option '-MP' not supported
3354 if (grep 'ignoring option' conftest.err ||
3355 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3356 am_cv_CC_dependencies_compiler_type=$depmode
3357 break
3360 done
3362 cd ..
3363 rm -rf conftest.dir
3364 else
3365 am_cv_CC_dependencies_compiler_type=none
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3370 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3371 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3374 test "x$enable_dependency_tracking" != xno \
3375 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3376 am__fastdepCC_TRUE=
3377 am__fastdepCC_FALSE='#'
3378 else
3379 am__fastdepCC_TRUE='#'
3380 am__fastdepCC_FALSE=
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3385 $as_echo_n "checking whether ln -s works... " >&6; }
3386 LN_S=$as_ln_s
3387 if test "$LN_S" = "ln -s"; then
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3389 $as_echo "yes" >&6; }
3390 else
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3392 $as_echo "no, using $LN_S" >&6; }
3397 ac_config_files="$ac_config_files Makefile demos/Makefile include/Makefile lib/Makefile manual/Makefile src/Makefile tutor/Makefile"
3399 cat >confcache <<\_ACEOF
3400 # This file is a shell script that caches the results of configure
3401 # tests run on this system so they can be shared between configure
3402 # scripts and configure runs, see configure's option --config-cache.
3403 # It is not useful on other systems. If it contains results you don't
3404 # want to keep, you may remove or edit it.
3406 # config.status only pays attention to the cache file if you give it
3407 # the --recheck option to rerun configure.
3409 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3410 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3411 # following values.
3413 _ACEOF
3415 # The following way of writing the cache mishandles newlines in values,
3416 # but we know of no workaround that is simple, portable, and efficient.
3417 # So, we kill variables containing newlines.
3418 # Ultrix sh set writes to stderr and can't be redirected directly,
3419 # and sets the high bit in the cache file unless we assign to the vars.
3421 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3422 eval ac_val=\$$ac_var
3423 case $ac_val in #(
3424 *${as_nl}*)
3425 case $ac_var in #(
3426 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3427 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3428 esac
3429 case $ac_var in #(
3430 _ | IFS | as_nl) ;; #(
3431 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3432 *) { eval $ac_var=; unset $ac_var;} ;;
3433 esac ;;
3434 esac
3435 done
3437 (set) 2>&1 |
3438 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3439 *${as_nl}ac_space=\ *)
3440 # `set' does not quote correctly, so add quotes: double-quote
3441 # substitution turns \\\\ into \\, and sed turns \\ into \.
3442 sed -n \
3443 "s/'/'\\\\''/g;
3444 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3445 ;; #(
3447 # `set' quotes correctly as required by POSIX, so do not add quotes.
3448 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3450 esac |
3451 sort
3453 sed '
3454 /^ac_cv_env_/b end
3455 t clear
3456 :clear
3457 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3458 t end
3459 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3460 :end' >>confcache
3461 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3462 if test -w "$cache_file"; then
3463 if test "x$cache_file" != "x/dev/null"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3465 $as_echo "$as_me: updating cache $cache_file" >&6;}
3466 if test ! -f "$cache_file" || test -h "$cache_file"; then
3467 cat confcache >"$cache_file"
3468 else
3469 case $cache_file in #(
3470 */* | ?:*)
3471 mv -f confcache "$cache_file"$$ &&
3472 mv -f "$cache_file"$$ "$cache_file" ;; #(
3474 mv -f confcache "$cache_file" ;;
3475 esac
3478 else
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3480 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3483 rm -f confcache
3485 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3486 # Let make expand exec_prefix.
3487 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3489 # Transform confdefs.h into DEFS.
3490 # Protect against shell expansion while executing Makefile rules.
3491 # Protect against Makefile macro expansion.
3493 # If the first sed substitution is executed (which looks for macros that
3494 # take arguments), then branch to the quote section. Otherwise,
3495 # look for a macro that doesn't take arguments.
3496 ac_script='
3497 :mline
3498 /\\$/{
3500 s,\\\n,,
3501 b mline
3503 t clear
3504 :clear
3505 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3506 t quote
3507 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3508 t quote
3509 b any
3510 :quote
3511 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3512 s/\[/\\&/g
3513 s/\]/\\&/g
3514 s/\$/$$/g
3516 :any
3519 s/^\n//
3520 s/\n/ /g
3524 DEFS=`sed -n "$ac_script" confdefs.h`
3527 ac_libobjs=
3528 ac_ltlibobjs=
3530 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3531 # 1. Remove the extension, and $U if already installed.
3532 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3533 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3534 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3535 # will be set to the directory where LIBOBJS objects are built.
3536 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3537 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3538 done
3539 LIBOBJS=$ac_libobjs
3541 LTLIBOBJS=$ac_ltlibobjs
3544 if test -n "$EXEEXT"; then
3545 am__EXEEXT_TRUE=
3546 am__EXEEXT_FALSE='#'
3547 else
3548 am__EXEEXT_TRUE='#'
3549 am__EXEEXT_FALSE=
3552 if test -z "${CYGWIN_TRUE}" && test -z "${CYGWIN_FALSE}"; then
3553 as_fn_error $? "conditional \"CYGWIN\" was never defined.
3554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3556 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3557 as_fn_error $? "conditional \"AMDEP\" was never defined.
3558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3560 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3561 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3565 : "${CONFIG_STATUS=./config.status}"
3566 ac_write_fail=0
3567 ac_clean_files_save=$ac_clean_files
3568 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3570 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3571 as_write_fail=0
3572 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3573 #! $SHELL
3574 # Generated by $as_me.
3575 # Run this file to recreate the current configuration.
3576 # Compiler output produced by configure, useful for debugging
3577 # configure, is in config.log if it exists.
3579 debug=false
3580 ac_cs_recheck=false
3581 ac_cs_silent=false
3583 SHELL=\${CONFIG_SHELL-$SHELL}
3584 export SHELL
3585 _ASEOF
3586 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3587 ## -------------------- ##
3588 ## M4sh Initialization. ##
3589 ## -------------------- ##
3591 # Be more Bourne compatible
3592 DUALCASE=1; export DUALCASE # for MKS sh
3593 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3594 emulate sh
3595 NULLCMD=:
3596 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3597 # is contrary to our usage. Disable this feature.
3598 alias -g '${1+"$@"}'='"$@"'
3599 setopt NO_GLOB_SUBST
3600 else
3601 case `(set -o) 2>/dev/null` in #(
3602 *posix*) :
3603 set -o posix ;; #(
3604 *) :
3606 esac
3610 as_nl='
3612 export as_nl
3613 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3614 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3615 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3616 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3617 # Prefer a ksh shell builtin over an external printf program on Solaris,
3618 # but without wasting forks for bash or zsh.
3619 if test -z "$BASH_VERSION$ZSH_VERSION" \
3620 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3621 as_echo='print -r --'
3622 as_echo_n='print -rn --'
3623 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3624 as_echo='printf %s\n'
3625 as_echo_n='printf %s'
3626 else
3627 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3628 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3629 as_echo_n='/usr/ucb/echo -n'
3630 else
3631 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3632 as_echo_n_body='eval
3633 arg=$1;
3634 case $arg in #(
3635 *"$as_nl"*)
3636 expr "X$arg" : "X\\(.*\\)$as_nl";
3637 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3638 esac;
3639 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3641 export as_echo_n_body
3642 as_echo_n='sh -c $as_echo_n_body as_echo'
3644 export as_echo_body
3645 as_echo='sh -c $as_echo_body as_echo'
3648 # The user is always right.
3649 if test "${PATH_SEPARATOR+set}" != set; then
3650 PATH_SEPARATOR=:
3651 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3652 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3653 PATH_SEPARATOR=';'
3658 # IFS
3659 # We need space, tab and new line, in precisely that order. Quoting is
3660 # there to prevent editors from complaining about space-tab.
3661 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3662 # splitting by setting IFS to empty value.)
3663 IFS=" "" $as_nl"
3665 # Find who we are. Look in the path if we contain no directory separator.
3666 as_myself=
3667 case $0 in #((
3668 *[\\/]* ) as_myself=$0 ;;
3669 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 for as_dir in $PATH
3672 IFS=$as_save_IFS
3673 test -z "$as_dir" && as_dir=.
3674 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3675 done
3676 IFS=$as_save_IFS
3679 esac
3680 # We did not find ourselves, most probably we were run as `sh COMMAND'
3681 # in which case we are not to be found in the path.
3682 if test "x$as_myself" = x; then
3683 as_myself=$0
3685 if test ! -f "$as_myself"; then
3686 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3687 exit 1
3690 # Unset variables that we do not need and which cause bugs (e.g. in
3691 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3692 # suppresses any "Segmentation fault" message there. '((' could
3693 # trigger a bug in pdksh 5.2.14.
3694 for as_var in BASH_ENV ENV MAIL MAILPATH
3695 do eval test x\${$as_var+set} = xset \
3696 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3697 done
3698 PS1='$ '
3699 PS2='> '
3700 PS4='+ '
3702 # NLS nuisances.
3703 LC_ALL=C
3704 export LC_ALL
3705 LANGUAGE=C
3706 export LANGUAGE
3708 # CDPATH.
3709 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3712 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3713 # ----------------------------------------
3714 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3715 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3716 # script with STATUS, using 1 if that was 0.
3717 as_fn_error ()
3719 as_status=$1; test $as_status -eq 0 && as_status=1
3720 if test "$4"; then
3721 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3722 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3724 $as_echo "$as_me: error: $2" >&2
3725 as_fn_exit $as_status
3726 } # as_fn_error
3729 # as_fn_set_status STATUS
3730 # -----------------------
3731 # Set $? to STATUS, without forking.
3732 as_fn_set_status ()
3734 return $1
3735 } # as_fn_set_status
3737 # as_fn_exit STATUS
3738 # -----------------
3739 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3740 as_fn_exit ()
3742 set +e
3743 as_fn_set_status $1
3744 exit $1
3745 } # as_fn_exit
3747 # as_fn_unset VAR
3748 # ---------------
3749 # Portably unset VAR.
3750 as_fn_unset ()
3752 { eval $1=; unset $1;}
3754 as_unset=as_fn_unset
3755 # as_fn_append VAR VALUE
3756 # ----------------------
3757 # Append the text in VALUE to the end of the definition contained in VAR. Take
3758 # advantage of any shell optimizations that allow amortized linear growth over
3759 # repeated appends, instead of the typical quadratic growth present in naive
3760 # implementations.
3761 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3762 eval 'as_fn_append ()
3764 eval $1+=\$2
3766 else
3767 as_fn_append ()
3769 eval $1=\$$1\$2
3771 fi # as_fn_append
3773 # as_fn_arith ARG...
3774 # ------------------
3775 # Perform arithmetic evaluation on the ARGs, and store the result in the
3776 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3777 # must be portable across $(()) and expr.
3778 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3779 eval 'as_fn_arith ()
3781 as_val=$(( $* ))
3783 else
3784 as_fn_arith ()
3786 as_val=`expr "$@" || test $? -eq 1`
3788 fi # as_fn_arith
3791 if expr a : '\(a\)' >/dev/null 2>&1 &&
3792 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3793 as_expr=expr
3794 else
3795 as_expr=false
3798 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3799 as_basename=basename
3800 else
3801 as_basename=false
3804 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3805 as_dirname=dirname
3806 else
3807 as_dirname=false
3810 as_me=`$as_basename -- "$0" ||
3811 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3812 X"$0" : 'X\(//\)$' \| \
3813 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3814 $as_echo X/"$0" |
3815 sed '/^.*\/\([^/][^/]*\)\/*$/{
3816 s//\1/
3819 /^X\/\(\/\/\)$/{
3820 s//\1/
3823 /^X\/\(\/\).*/{
3824 s//\1/
3827 s/.*/./; q'`
3829 # Avoid depending upon Character Ranges.
3830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3833 as_cr_digits='0123456789'
3834 as_cr_alnum=$as_cr_Letters$as_cr_digits
3836 ECHO_C= ECHO_N= ECHO_T=
3837 case `echo -n x` in #(((((
3838 -n*)
3839 case `echo 'xy\c'` in
3840 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3841 xy) ECHO_C='\c';;
3842 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3843 ECHO_T=' ';;
3844 esac;;
3846 ECHO_N='-n';;
3847 esac
3849 rm -f conf$$ conf$$.exe conf$$.file
3850 if test -d conf$$.dir; then
3851 rm -f conf$$.dir/conf$$.file
3852 else
3853 rm -f conf$$.dir
3854 mkdir conf$$.dir 2>/dev/null
3856 if (echo >conf$$.file) 2>/dev/null; then
3857 if ln -s conf$$.file conf$$ 2>/dev/null; then
3858 as_ln_s='ln -s'
3859 # ... but there are two gotchas:
3860 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3861 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3862 # In both cases, we have to default to `cp -pR'.
3863 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3864 as_ln_s='cp -pR'
3865 elif ln conf$$.file conf$$ 2>/dev/null; then
3866 as_ln_s=ln
3867 else
3868 as_ln_s='cp -pR'
3870 else
3871 as_ln_s='cp -pR'
3873 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3874 rmdir conf$$.dir 2>/dev/null
3877 # as_fn_mkdir_p
3878 # -------------
3879 # Create "$as_dir" as a directory, including parents if necessary.
3880 as_fn_mkdir_p ()
3883 case $as_dir in #(
3884 -*) as_dir=./$as_dir;;
3885 esac
3886 test -d "$as_dir" || eval $as_mkdir_p || {
3887 as_dirs=
3888 while :; do
3889 case $as_dir in #(
3890 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3891 *) as_qdir=$as_dir;;
3892 esac
3893 as_dirs="'$as_qdir' $as_dirs"
3894 as_dir=`$as_dirname -- "$as_dir" ||
3895 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3896 X"$as_dir" : 'X\(//\)[^/]' \| \
3897 X"$as_dir" : 'X\(//\)$' \| \
3898 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3899 $as_echo X"$as_dir" |
3900 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3901 s//\1/
3904 /^X\(\/\/\)[^/].*/{
3905 s//\1/
3908 /^X\(\/\/\)$/{
3909 s//\1/
3912 /^X\(\/\).*/{
3913 s//\1/
3916 s/.*/./; q'`
3917 test -d "$as_dir" && break
3918 done
3919 test -z "$as_dirs" || eval "mkdir $as_dirs"
3920 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3923 } # as_fn_mkdir_p
3924 if mkdir -p . 2>/dev/null; then
3925 as_mkdir_p='mkdir -p "$as_dir"'
3926 else
3927 test -d ./-p && rmdir ./-p
3928 as_mkdir_p=false
3932 # as_fn_executable_p FILE
3933 # -----------------------
3934 # Test if FILE is an executable regular file.
3935 as_fn_executable_p ()
3937 test -f "$1" && test -x "$1"
3938 } # as_fn_executable_p
3939 as_test_x='test -x'
3940 as_executable_p=as_fn_executable_p
3942 # Sed expression to map a string onto a valid CPP name.
3943 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3945 # Sed expression to map a string onto a valid variable name.
3946 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3949 exec 6>&1
3950 ## ----------------------------------- ##
3951 ## Main body of $CONFIG_STATUS script. ##
3952 ## ----------------------------------- ##
3953 _ASEOF
3954 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3957 # Save the log message, to keep $0 and so on meaningful, and to
3958 # report actual input values of CONFIG_FILES etc. instead of their
3959 # values after options handling.
3960 ac_log="
3961 This file was extended by inform $as_me 6.33.1-b2, which was
3962 generated by GNU Autoconf 2.69. Invocation command line was
3964 CONFIG_FILES = $CONFIG_FILES
3965 CONFIG_HEADERS = $CONFIG_HEADERS
3966 CONFIG_LINKS = $CONFIG_LINKS
3967 CONFIG_COMMANDS = $CONFIG_COMMANDS
3968 $ $0 $@
3970 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3973 _ACEOF
3975 case $ac_config_files in *"
3976 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3977 esac
3981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3982 # Files that config.status was made for.
3983 config_files="$ac_config_files"
3984 config_commands="$ac_config_commands"
3986 _ACEOF
3988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3989 ac_cs_usage="\
3990 \`$as_me' instantiates files and other configuration actions
3991 from templates according to the current configuration. Unless the files
3992 and actions are specified as TAGs, all are instantiated by default.
3994 Usage: $0 [OPTION]... [TAG]...
3996 -h, --help print this help, then exit
3997 -V, --version print version number and configuration settings, then exit
3998 --config print configuration, then exit
3999 -q, --quiet, --silent
4000 do not print progress messages
4001 -d, --debug don't remove temporary files
4002 --recheck update $as_me by reconfiguring in the same conditions
4003 --file=FILE[:TEMPLATE]
4004 instantiate the configuration file FILE
4006 Configuration files:
4007 $config_files
4009 Configuration commands:
4010 $config_commands
4012 Report bugs to the package provider."
4014 _ACEOF
4015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4016 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4017 ac_cs_version="\\
4018 inform config.status 6.33.1-b2
4019 configured by $0, generated by GNU Autoconf 2.69,
4020 with options \\"\$ac_cs_config\\"
4022 Copyright (C) 2012 Free Software Foundation, Inc.
4023 This config.status script is free software; the Free Software Foundation
4024 gives unlimited permission to copy, distribute and modify it."
4026 ac_pwd='$ac_pwd'
4027 srcdir='$srcdir'
4028 INSTALL='$INSTALL'
4029 MKDIR_P='$MKDIR_P'
4030 AWK='$AWK'
4031 test -n "\$AWK" || AWK=awk
4032 _ACEOF
4034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4035 # The default lists apply if the user does not specify any file.
4036 ac_need_defaults=:
4037 while test $# != 0
4039 case $1 in
4040 --*=?*)
4041 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4042 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4043 ac_shift=:
4045 --*=)
4046 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4047 ac_optarg=
4048 ac_shift=:
4051 ac_option=$1
4052 ac_optarg=$2
4053 ac_shift=shift
4055 esac
4057 case $ac_option in
4058 # Handling of the options.
4059 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4060 ac_cs_recheck=: ;;
4061 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4062 $as_echo "$ac_cs_version"; exit ;;
4063 --config | --confi | --conf | --con | --co | --c )
4064 $as_echo "$ac_cs_config"; exit ;;
4065 --debug | --debu | --deb | --de | --d | -d )
4066 debug=: ;;
4067 --file | --fil | --fi | --f )
4068 $ac_shift
4069 case $ac_optarg in
4070 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4071 '') as_fn_error $? "missing file argument" ;;
4072 esac
4073 as_fn_append CONFIG_FILES " '$ac_optarg'"
4074 ac_need_defaults=false;;
4075 --he | --h | --help | --hel | -h )
4076 $as_echo "$ac_cs_usage"; exit ;;
4077 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4078 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4079 ac_cs_silent=: ;;
4081 # This is an error.
4082 -*) as_fn_error $? "unrecognized option: \`$1'
4083 Try \`$0 --help' for more information." ;;
4085 *) as_fn_append ac_config_targets " $1"
4086 ac_need_defaults=false ;;
4088 esac
4089 shift
4090 done
4092 ac_configure_extra_args=
4094 if $ac_cs_silent; then
4095 exec 6>/dev/null
4096 ac_configure_extra_args="$ac_configure_extra_args --silent"
4099 _ACEOF
4100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4101 if \$ac_cs_recheck; then
4102 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4103 shift
4104 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4105 CONFIG_SHELL='$SHELL'
4106 export CONFIG_SHELL
4107 exec "\$@"
4110 _ACEOF
4111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4112 exec 5>>config.log
4114 echo
4115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4116 ## Running $as_me. ##
4117 _ASBOX
4118 $as_echo "$ac_log"
4119 } >&5
4121 _ACEOF
4122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4124 # INIT-COMMANDS
4126 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4128 _ACEOF
4130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4132 # Handling of arguments.
4133 for ac_config_target in $ac_config_targets
4135 case $ac_config_target in
4136 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4137 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4138 "demos/Makefile") CONFIG_FILES="$CONFIG_FILES demos/Makefile" ;;
4139 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
4140 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
4141 "manual/Makefile") CONFIG_FILES="$CONFIG_FILES manual/Makefile" ;;
4142 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4143 "tutor/Makefile") CONFIG_FILES="$CONFIG_FILES tutor/Makefile" ;;
4145 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4146 esac
4147 done
4150 # If the user did not use the arguments to specify the items to instantiate,
4151 # then the envvar interface is used. Set only those that are not.
4152 # We use the long form for the default assignment because of an extremely
4153 # bizarre bug on SunOS 4.1.3.
4154 if $ac_need_defaults; then
4155 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4156 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4159 # Have a temporary directory for convenience. Make it in the build tree
4160 # simply because there is no reason against having it here, and in addition,
4161 # creating and moving files from /tmp can sometimes cause problems.
4162 # Hook for its removal unless debugging.
4163 # Note that there is a small window in which the directory will not be cleaned:
4164 # after its creation but before its name has been assigned to `$tmp'.
4165 $debug ||
4167 tmp= ac_tmp=
4168 trap 'exit_status=$?
4169 : "${ac_tmp:=$tmp}"
4170 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4172 trap 'as_fn_exit 1' 1 2 13 15
4174 # Create a (secure) tmp directory for tmp files.
4177 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4178 test -d "$tmp"
4179 } ||
4181 tmp=./conf$$-$RANDOM
4182 (umask 077 && mkdir "$tmp")
4183 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4184 ac_tmp=$tmp
4186 # Set up the scripts for CONFIG_FILES section.
4187 # No need to generate them if there are no CONFIG_FILES.
4188 # This happens for instance with `./config.status config.h'.
4189 if test -n "$CONFIG_FILES"; then
4192 ac_cr=`echo X | tr X '\015'`
4193 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4194 # But we know of no other shell where ac_cr would be empty at this
4195 # point, so we can use a bashism as a fallback.
4196 if test "x$ac_cr" = x; then
4197 eval ac_cr=\$\'\\r\'
4199 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4200 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4201 ac_cs_awk_cr='\\r'
4202 else
4203 ac_cs_awk_cr=$ac_cr
4206 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4207 _ACEOF
4211 echo "cat >conf$$subs.awk <<_ACEOF" &&
4212 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4213 echo "_ACEOF"
4214 } >conf$$subs.sh ||
4215 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4216 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4217 ac_delim='%!_!# '
4218 for ac_last_try in false false false false false :; do
4219 . ./conf$$subs.sh ||
4220 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4222 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4223 if test $ac_delim_n = $ac_delim_num; then
4224 break
4225 elif $ac_last_try; then
4226 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4227 else
4228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4230 done
4231 rm -f conf$$subs.sh
4233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4234 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4235 _ACEOF
4236 sed -n '
4238 s/^/S["/; s/!.*/"]=/
4241 s/^[^!]*!//
4242 :repl
4243 t repl
4244 s/'"$ac_delim"'$//
4245 t delim
4248 s/\(.\{148\}\)..*/\1/
4249 t more1
4250 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4253 b repl
4254 :more1
4255 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4258 s/.\{148\}//
4259 t nl
4260 :delim
4262 s/\(.\{148\}\)..*/\1/
4263 t more2
4264 s/["\\]/\\&/g; s/^/"/; s/$/"/
4267 :more2
4268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4271 s/.\{148\}//
4272 t delim
4273 ' <conf$$subs.awk | sed '
4274 /^[^""]/{
4276 s/\n//
4278 ' >>$CONFIG_STATUS || ac_write_fail=1
4279 rm -f conf$$subs.awk
4280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4281 _ACAWK
4282 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4283 for (key in S) S_is_set[key] = 1
4284 FS = "\a"
4288 line = $ 0
4289 nfields = split(line, field, "@")
4290 substed = 0
4291 len = length(field[1])
4292 for (i = 2; i < nfields; i++) {
4293 key = field[i]
4294 keylen = length(key)
4295 if (S_is_set[key]) {
4296 value = S[key]
4297 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4298 len += length(value) + length(field[++i])
4299 substed = 1
4300 } else
4301 len += 1 + keylen
4304 print line
4307 _ACAWK
4308 _ACEOF
4309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4310 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4311 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4312 else
4314 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4315 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4316 _ACEOF
4318 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4319 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4320 # trailing colons and then remove the whole line if VPATH becomes empty
4321 # (actually we leave an empty line to preserve line numbers).
4322 if test "x$srcdir" = x.; then
4323 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4325 s///
4326 s/^/:/
4327 s/[ ]*$/:/
4328 s/:\$(srcdir):/:/g
4329 s/:\${srcdir}:/:/g
4330 s/:@srcdir@:/:/g
4331 s/^:*//
4332 s/:*$//
4334 s/\(=[ ]*\).*/\1/
4336 s/\n//
4337 s/^[^=]*=[ ]*$//
4341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4342 fi # test -n "$CONFIG_FILES"
4345 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4346 shift
4347 for ac_tag
4349 case $ac_tag in
4350 :[FHLC]) ac_mode=$ac_tag; continue;;
4351 esac
4352 case $ac_mode$ac_tag in
4353 :[FHL]*:*);;
4354 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4355 :[FH]-) ac_tag=-:-;;
4356 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4357 esac
4358 ac_save_IFS=$IFS
4359 IFS=:
4360 set x $ac_tag
4361 IFS=$ac_save_IFS
4362 shift
4363 ac_file=$1
4364 shift
4366 case $ac_mode in
4367 :L) ac_source=$1;;
4368 :[FH])
4369 ac_file_inputs=
4370 for ac_f
4372 case $ac_f in
4373 -) ac_f="$ac_tmp/stdin";;
4374 *) # Look for the file first in the build tree, then in the source tree
4375 # (if the path is not absolute). The absolute path cannot be DOS-style,
4376 # because $ac_f cannot contain `:'.
4377 test -f "$ac_f" ||
4378 case $ac_f in
4379 [\\/$]*) false;;
4380 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4381 esac ||
4382 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4383 esac
4384 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4385 as_fn_append ac_file_inputs " '$ac_f'"
4386 done
4388 # Let's still pretend it is `configure' which instantiates (i.e., don't
4389 # use $as_me), people would be surprised to read:
4390 # /* config.h. Generated by config.status. */
4391 configure_input='Generated from '`
4392 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4393 `' by configure.'
4394 if test x"$ac_file" != x-; then
4395 configure_input="$ac_file. $configure_input"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4397 $as_echo "$as_me: creating $ac_file" >&6;}
4399 # Neutralize special characters interpreted by sed in replacement strings.
4400 case $configure_input in #(
4401 *\&* | *\|* | *\\* )
4402 ac_sed_conf_input=`$as_echo "$configure_input" |
4403 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4404 *) ac_sed_conf_input=$configure_input;;
4405 esac
4407 case $ac_tag in
4408 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4409 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4410 esac
4412 esac
4414 ac_dir=`$as_dirname -- "$ac_file" ||
4415 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4416 X"$ac_file" : 'X\(//\)[^/]' \| \
4417 X"$ac_file" : 'X\(//\)$' \| \
4418 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4419 $as_echo X"$ac_file" |
4420 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4421 s//\1/
4424 /^X\(\/\/\)[^/].*/{
4425 s//\1/
4428 /^X\(\/\/\)$/{
4429 s//\1/
4432 /^X\(\/\).*/{
4433 s//\1/
4436 s/.*/./; q'`
4437 as_dir="$ac_dir"; as_fn_mkdir_p
4438 ac_builddir=.
4440 case "$ac_dir" in
4441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4443 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4444 # A ".." for each directory in $ac_dir_suffix.
4445 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4446 case $ac_top_builddir_sub in
4447 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4448 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4449 esac ;;
4450 esac
4451 ac_abs_top_builddir=$ac_pwd
4452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4453 # for backward compatibility:
4454 ac_top_builddir=$ac_top_build_prefix
4456 case $srcdir in
4457 .) # We are building in place.
4458 ac_srcdir=.
4459 ac_top_srcdir=$ac_top_builddir_sub
4460 ac_abs_top_srcdir=$ac_pwd ;;
4461 [\\/]* | ?:[\\/]* ) # Absolute name.
4462 ac_srcdir=$srcdir$ac_dir_suffix;
4463 ac_top_srcdir=$srcdir
4464 ac_abs_top_srcdir=$srcdir ;;
4465 *) # Relative name.
4466 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4467 ac_top_srcdir=$ac_top_build_prefix$srcdir
4468 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4469 esac
4470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4473 case $ac_mode in
4476 # CONFIG_FILE
4479 case $INSTALL in
4480 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4481 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4482 esac
4483 ac_MKDIR_P=$MKDIR_P
4484 case $MKDIR_P in
4485 [\\/$]* | ?:[\\/]* ) ;;
4486 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4487 esac
4488 _ACEOF
4490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4491 # If the template does not know about datarootdir, expand it.
4492 # FIXME: This hack should be removed a few years after 2.60.
4493 ac_datarootdir_hack=; ac_datarootdir_seen=
4494 ac_sed_dataroot='
4495 /datarootdir/ {
4499 /@datadir@/p
4500 /@docdir@/p
4501 /@infodir@/p
4502 /@localedir@/p
4503 /@mandir@/p'
4504 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4505 *datarootdir*) ac_datarootdir_seen=yes;;
4506 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4508 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4509 _ACEOF
4510 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4511 ac_datarootdir_hack='
4512 s&@datadir@&$datadir&g
4513 s&@docdir@&$docdir&g
4514 s&@infodir@&$infodir&g
4515 s&@localedir@&$localedir&g
4516 s&@mandir@&$mandir&g
4517 s&\\\${datarootdir}&$datarootdir&g' ;;
4518 esac
4519 _ACEOF
4521 # Neutralize VPATH when `$srcdir' = `.'.
4522 # Shell code in configure.ac might set extrasub.
4523 # FIXME: do we really want to maintain this feature?
4524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4525 ac_sed_extra="$ac_vpsub
4526 $extrasub
4527 _ACEOF
4528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4531 s|@configure_input@|$ac_sed_conf_input|;t t
4532 s&@top_builddir@&$ac_top_builddir_sub&;t t
4533 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4534 s&@srcdir@&$ac_srcdir&;t t
4535 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4536 s&@top_srcdir@&$ac_top_srcdir&;t t
4537 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4538 s&@builddir@&$ac_builddir&;t t
4539 s&@abs_builddir@&$ac_abs_builddir&;t t
4540 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4541 s&@INSTALL@&$ac_INSTALL&;t t
4542 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4543 $ac_datarootdir_hack
4545 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4546 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4549 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4550 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4551 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4553 which seems to be undefined. Please make sure it is defined" >&5
4554 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4555 which seems to be undefined. Please make sure it is defined" >&2;}
4557 rm -f "$ac_tmp/stdin"
4558 case $ac_file in
4559 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4560 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4561 esac \
4562 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4566 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4567 $as_echo "$as_me: executing $ac_file commands" >&6;}
4569 esac
4572 case $ac_file$ac_mode in
4573 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4574 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4575 # are listed without --file. Let's play safe and only enable the eval
4576 # if we detect the quoting.
4577 case $CONFIG_FILES in
4578 *\'*) eval set x "$CONFIG_FILES" ;;
4579 *) set x $CONFIG_FILES ;;
4580 esac
4581 shift
4582 for mf
4584 # Strip MF so we end up with the name of the file.
4585 mf=`echo "$mf" | sed -e 's/:.*$//'`
4586 # Check whether this is an Automake generated Makefile or not.
4587 # We used to match only the files named `Makefile.in', but
4588 # some people rename them; so instead we look at the file content.
4589 # Grep'ing the first line is not enough: some people post-process
4590 # each Makefile.in and add a new line on top of each file to say so.
4591 # Grep'ing the whole file is not good either: AIX grep has a line
4592 # limit of 2048, but all sed's we know have understand at least 4000.
4593 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4594 dirpart=`$as_dirname -- "$mf" ||
4595 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4596 X"$mf" : 'X\(//\)[^/]' \| \
4597 X"$mf" : 'X\(//\)$' \| \
4598 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4599 $as_echo X"$mf" |
4600 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4601 s//\1/
4604 /^X\(\/\/\)[^/].*/{
4605 s//\1/
4608 /^X\(\/\/\)$/{
4609 s//\1/
4612 /^X\(\/\).*/{
4613 s//\1/
4616 s/.*/./; q'`
4617 else
4618 continue
4620 # Extract the definition of DEPDIR, am__include, and am__quote
4621 # from the Makefile without running `make'.
4622 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4623 test -z "$DEPDIR" && continue
4624 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4625 test -z "am__include" && continue
4626 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4627 # When using ansi2knr, U may be empty or an underscore; expand it
4628 U=`sed -n 's/^U = //p' < "$mf"`
4629 # Find all dependency output files, they are included files with
4630 # $(DEPDIR) in their names. We invoke sed twice because it is the
4631 # simplest approach to changing $(DEPDIR) to its actual value in the
4632 # expansion.
4633 for file in `sed -n "
4634 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4635 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4636 # Make sure the directory exists.
4637 test -f "$dirpart/$file" && continue
4638 fdir=`$as_dirname -- "$file" ||
4639 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4640 X"$file" : 'X\(//\)[^/]' \| \
4641 X"$file" : 'X\(//\)$' \| \
4642 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4643 $as_echo X"$file" |
4644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4645 s//\1/
4648 /^X\(\/\/\)[^/].*/{
4649 s//\1/
4652 /^X\(\/\/\)$/{
4653 s//\1/
4656 /^X\(\/\).*/{
4657 s//\1/
4660 s/.*/./; q'`
4661 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4662 # echo "creating $dirpart/$file"
4663 echo '# dummy' > "$dirpart/$file"
4664 done
4665 done
4669 esac
4670 done # for ac_tag
4673 as_fn_exit 0
4674 _ACEOF
4675 ac_clean_files=$ac_clean_files_save
4677 test $ac_write_fail = 0 ||
4678 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4681 # configure is writing to config.log, and then calls config.status.
4682 # config.status does its own redirection, appending to config.log.
4683 # Unfortunately, on DOS this fails, as config.log is still kept open
4684 # by configure, so config.status won't be able to write to it; its
4685 # output is simply discarded. So we exec the FD to /dev/null,
4686 # effectively closing config.log, so it can be properly (re)opened and
4687 # appended to by config.status. When coming back to configure, we
4688 # need to make the FD available again.
4689 if test "$no_create" != yes; then
4690 ac_cs_success=:
4691 ac_config_status_args=
4692 test "$silent" = yes &&
4693 ac_config_status_args="$ac_config_status_args --quiet"
4694 exec 5>/dev/null
4695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4696 exec 5>>config.log
4697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4698 # would make configure fail if this is the last instruction.
4699 $ac_cs_success || as_fn_exit 1
4701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4703 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}