Revert last patch since that made it break even more
[gnus.git] / configure
blob5f6062bce3702877b5d7d3663705c0f8917baf3d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
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=
578 PACKAGE_TARNAME=
579 PACKAGE_VERSION=
580 PACKAGE_STRING=
581 PACKAGE_BUGREPORT=
582 PACKAGE_URL=
584 ac_unique_file="lisp/gnus.el"
585 ac_subst_vars='LTLIBOBJS
586 LIBOBJS
587 USE_FONTS
588 WITHOUT_FONTS_bcr
589 WITH_FONTS_bcr
590 WITHOUT_FONTS_pfu
591 WITH_FONTS_pfu
592 WITHOUT_FONTS_bembo
593 WITH_FONTS_bembo
594 LATEX
595 FLAGS
596 info_dir
597 etcdir
598 lispdir
599 EMACS_FLAVOR
600 XEMACS
601 EMACS
602 MAKEINFO
603 INSTALL_DATA
604 INSTALL_SCRIPT
605 INSTALL_PROGRAM
606 SET_MAKE
607 target_alias
608 host_alias
609 build_alias
610 LIBS
611 ECHO_T
612 ECHO_N
613 ECHO_C
614 DEFS
615 mandir
616 localedir
617 libdir
618 psdir
619 pdfdir
620 dvidir
621 htmldir
622 infodir
623 docdir
624 oldincludedir
625 includedir
626 localstatedir
627 sharedstatedir
628 sysconfdir
629 datadir
630 datarootdir
631 libexecdir
632 sbindir
633 bindir
634 program_transform_name
635 prefix
636 exec_prefix
637 PACKAGE_URL
638 PACKAGE_BUGREPORT
639 PACKAGE_STRING
640 PACKAGE_VERSION
641 PACKAGE_TARNAME
642 PACKAGE_NAME
643 PATH_SEPARATOR
644 SHELL'
645 ac_subst_files=''
646 ac_user_opts='
647 enable_option_checking
648 with_xemacs
649 with_emacs
650 with_lispdir
651 with_etcdir
652 with_fonts
654 ac_precious_vars='build_alias
655 host_alias
656 target_alias'
659 # Initialize some variables set by options.
660 ac_init_help=
661 ac_init_version=false
662 ac_unrecognized_opts=
663 ac_unrecognized_sep=
664 # The variables have the same names as the options, with
665 # dashes changed to underlines.
666 cache_file=/dev/null
667 exec_prefix=NONE
668 no_create=
669 no_recursion=
670 prefix=NONE
671 program_prefix=NONE
672 program_suffix=NONE
673 program_transform_name=s,x,x,
674 silent=
675 site=
676 srcdir=
677 verbose=
678 x_includes=NONE
679 x_libraries=NONE
681 # Installation directory options.
682 # These are left unexpanded so users can "make install exec_prefix=/foo"
683 # and all the variables that are supposed to be based on exec_prefix
684 # by default will actually change.
685 # Use braces instead of parens because sh, perl, etc. also accept them.
686 # (The list follows the same order as the GNU Coding Standards.)
687 bindir='${exec_prefix}/bin'
688 sbindir='${exec_prefix}/sbin'
689 libexecdir='${exec_prefix}/libexec'
690 datarootdir='${prefix}/share'
691 datadir='${datarootdir}'
692 sysconfdir='${prefix}/etc'
693 sharedstatedir='${prefix}/com'
694 localstatedir='${prefix}/var'
695 includedir='${prefix}/include'
696 oldincludedir='/usr/include'
697 docdir='${datarootdir}/doc/${PACKAGE}'
698 infodir='${datarootdir}/info'
699 htmldir='${docdir}'
700 dvidir='${docdir}'
701 pdfdir='${docdir}'
702 psdir='${docdir}'
703 libdir='${exec_prefix}/lib'
704 localedir='${datarootdir}/locale'
705 mandir='${datarootdir}/man'
707 ac_prev=
708 ac_dashdash=
709 for ac_option
711 # If the previous option needs an argument, assign it.
712 if test -n "$ac_prev"; then
713 eval $ac_prev=\$ac_option
714 ac_prev=
715 continue
718 case $ac_option in
719 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
720 *=) ac_optarg= ;;
721 *) ac_optarg=yes ;;
722 esac
724 # Accept the important Cygnus configure options, so we can diagnose typos.
726 case $ac_dashdash$ac_option in
728 ac_dashdash=yes ;;
730 -bindir | --bindir | --bindi | --bind | --bin | --bi)
731 ac_prev=bindir ;;
732 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
733 bindir=$ac_optarg ;;
735 -build | --build | --buil | --bui | --bu)
736 ac_prev=build_alias ;;
737 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
738 build_alias=$ac_optarg ;;
740 -cache-file | --cache-file | --cache-fil | --cache-fi \
741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
742 ac_prev=cache_file ;;
743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
745 cache_file=$ac_optarg ;;
747 --config-cache | -C)
748 cache_file=config.cache ;;
750 -datadir | --datadir | --datadi | --datad)
751 ac_prev=datadir ;;
752 -datadir=* | --datadir=* | --datadi=* | --datad=*)
753 datadir=$ac_optarg ;;
755 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
756 | --dataroo | --dataro | --datar)
757 ac_prev=datarootdir ;;
758 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
759 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
760 datarootdir=$ac_optarg ;;
762 -disable-* | --disable-*)
763 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
766 as_fn_error $? "invalid feature name: $ac_useropt"
767 ac_useropt_orig=$ac_useropt
768 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
769 case $ac_user_opts in
771 "enable_$ac_useropt"
772 "*) ;;
773 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
774 ac_unrecognized_sep=', ';;
775 esac
776 eval enable_$ac_useropt=no ;;
778 -docdir | --docdir | --docdi | --doc | --do)
779 ac_prev=docdir ;;
780 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
781 docdir=$ac_optarg ;;
783 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
784 ac_prev=dvidir ;;
785 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
786 dvidir=$ac_optarg ;;
788 -enable-* | --enable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 as_fn_error $? "invalid feature name: $ac_useropt"
793 ac_useropt_orig=$ac_useropt
794 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
795 case $ac_user_opts in
797 "enable_$ac_useropt"
798 "*) ;;
799 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
800 ac_unrecognized_sep=', ';;
801 esac
802 eval enable_$ac_useropt=\$ac_optarg ;;
804 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
805 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
806 | --exec | --exe | --ex)
807 ac_prev=exec_prefix ;;
808 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
809 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
810 | --exec=* | --exe=* | --ex=*)
811 exec_prefix=$ac_optarg ;;
813 -gas | --gas | --ga | --g)
814 # Obsolete; use --with-gas.
815 with_gas=yes ;;
817 -help | --help | --hel | --he | -h)
818 ac_init_help=long ;;
819 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
820 ac_init_help=recursive ;;
821 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
822 ac_init_help=short ;;
824 -host | --host | --hos | --ho)
825 ac_prev=host_alias ;;
826 -host=* | --host=* | --hos=* | --ho=*)
827 host_alias=$ac_optarg ;;
829 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
830 ac_prev=htmldir ;;
831 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
832 | --ht=*)
833 htmldir=$ac_optarg ;;
835 -includedir | --includedir | --includedi | --included | --include \
836 | --includ | --inclu | --incl | --inc)
837 ac_prev=includedir ;;
838 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
839 | --includ=* | --inclu=* | --incl=* | --inc=*)
840 includedir=$ac_optarg ;;
842 -infodir | --infodir | --infodi | --infod | --info | --inf)
843 ac_prev=infodir ;;
844 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
845 infodir=$ac_optarg ;;
847 -libdir | --libdir | --libdi | --libd)
848 ac_prev=libdir ;;
849 -libdir=* | --libdir=* | --libdi=* | --libd=*)
850 libdir=$ac_optarg ;;
852 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
853 | --libexe | --libex | --libe)
854 ac_prev=libexecdir ;;
855 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
856 | --libexe=* | --libex=* | --libe=*)
857 libexecdir=$ac_optarg ;;
859 -localedir | --localedir | --localedi | --localed | --locale)
860 ac_prev=localedir ;;
861 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
862 localedir=$ac_optarg ;;
864 -localstatedir | --localstatedir | --localstatedi | --localstated \
865 | --localstate | --localstat | --localsta | --localst | --locals)
866 ac_prev=localstatedir ;;
867 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
868 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
869 localstatedir=$ac_optarg ;;
871 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
872 ac_prev=mandir ;;
873 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
874 mandir=$ac_optarg ;;
876 -nfp | --nfp | --nf)
877 # Obsolete; use --without-fp.
878 with_fp=no ;;
880 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
881 | --no-cr | --no-c | -n)
882 no_create=yes ;;
884 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
885 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
886 no_recursion=yes ;;
888 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
889 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
890 | --oldin | --oldi | --old | --ol | --o)
891 ac_prev=oldincludedir ;;
892 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
893 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
894 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
895 oldincludedir=$ac_optarg ;;
897 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
898 ac_prev=prefix ;;
899 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
900 prefix=$ac_optarg ;;
902 -program-prefix | --program-prefix | --program-prefi | --program-pref \
903 | --program-pre | --program-pr | --program-p)
904 ac_prev=program_prefix ;;
905 -program-prefix=* | --program-prefix=* | --program-prefi=* \
906 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
907 program_prefix=$ac_optarg ;;
909 -program-suffix | --program-suffix | --program-suffi | --program-suff \
910 | --program-suf | --program-su | --program-s)
911 ac_prev=program_suffix ;;
912 -program-suffix=* | --program-suffix=* | --program-suffi=* \
913 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
914 program_suffix=$ac_optarg ;;
916 -program-transform-name | --program-transform-name \
917 | --program-transform-nam | --program-transform-na \
918 | --program-transform-n | --program-transform- \
919 | --program-transform | --program-transfor \
920 | --program-transfo | --program-transf \
921 | --program-trans | --program-tran \
922 | --progr-tra | --program-tr | --program-t)
923 ac_prev=program_transform_name ;;
924 -program-transform-name=* | --program-transform-name=* \
925 | --program-transform-nam=* | --program-transform-na=* \
926 | --program-transform-n=* | --program-transform-=* \
927 | --program-transform=* | --program-transfor=* \
928 | --program-transfo=* | --program-transf=* \
929 | --program-trans=* | --program-tran=* \
930 | --progr-tra=* | --program-tr=* | --program-t=*)
931 program_transform_name=$ac_optarg ;;
933 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
934 ac_prev=pdfdir ;;
935 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
936 pdfdir=$ac_optarg ;;
938 -psdir | --psdir | --psdi | --psd | --ps)
939 ac_prev=psdir ;;
940 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
941 psdir=$ac_optarg ;;
943 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
944 | -silent | --silent | --silen | --sile | --sil)
945 silent=yes ;;
947 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
948 ac_prev=sbindir ;;
949 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
950 | --sbi=* | --sb=*)
951 sbindir=$ac_optarg ;;
953 -sharedstatedir | --sharedstatedir | --sharedstatedi \
954 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
955 | --sharedst | --shareds | --shared | --share | --shar \
956 | --sha | --sh)
957 ac_prev=sharedstatedir ;;
958 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
959 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
960 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
961 | --sha=* | --sh=*)
962 sharedstatedir=$ac_optarg ;;
964 -site | --site | --sit)
965 ac_prev=site ;;
966 -site=* | --site=* | --sit=*)
967 site=$ac_optarg ;;
969 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
970 ac_prev=srcdir ;;
971 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
972 srcdir=$ac_optarg ;;
974 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
975 | --syscon | --sysco | --sysc | --sys | --sy)
976 ac_prev=sysconfdir ;;
977 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
978 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
979 sysconfdir=$ac_optarg ;;
981 -target | --target | --targe | --targ | --tar | --ta | --t)
982 ac_prev=target_alias ;;
983 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
984 target_alias=$ac_optarg ;;
986 -v | -verbose | --verbose | --verbos | --verbo | --verb)
987 verbose=yes ;;
989 -version | --version | --versio | --versi | --vers | -V)
990 ac_init_version=: ;;
992 -with-* | --with-*)
993 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
996 as_fn_error $? "invalid package name: $ac_useropt"
997 ac_useropt_orig=$ac_useropt
998 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "with_$ac_useropt"
1002 "*) ;;
1003 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1004 ac_unrecognized_sep=', ';;
1005 esac
1006 eval with_$ac_useropt=\$ac_optarg ;;
1008 -without-* | --without-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error $? "invalid package name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "with_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval with_$ac_useropt=no ;;
1024 --x)
1025 # Obsolete; use --with-x.
1026 with_x=yes ;;
1028 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1029 | --x-incl | --x-inc | --x-in | --x-i)
1030 ac_prev=x_includes ;;
1031 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1032 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1033 x_includes=$ac_optarg ;;
1035 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1036 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1037 ac_prev=x_libraries ;;
1038 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1039 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1040 x_libraries=$ac_optarg ;;
1042 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1043 Try \`$0 --help' for more information"
1046 *=*)
1047 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1048 # Reject names that are not valid shell variable names.
1049 case $ac_envvar in #(
1050 '' | [0-9]* | *[!_$as_cr_alnum]* )
1051 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1052 esac
1053 eval $ac_envvar=\$ac_optarg
1054 export $ac_envvar ;;
1057 # FIXME: should be removed in autoconf 3.0.
1058 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1059 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1061 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1064 esac
1065 done
1067 if test -n "$ac_prev"; then
1068 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1069 as_fn_error $? "missing argument to $ac_option"
1072 if test -n "$ac_unrecognized_opts"; then
1073 case $enable_option_checking in
1074 no) ;;
1075 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1076 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1077 esac
1080 # Check all directory arguments for consistency.
1081 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1082 datadir sysconfdir sharedstatedir localstatedir includedir \
1083 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1084 libdir localedir mandir
1086 eval ac_val=\$$ac_var
1087 # Remove trailing slashes.
1088 case $ac_val in
1089 */ )
1090 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1091 eval $ac_var=\$ac_val;;
1092 esac
1093 # Be sure to have absolute directory names.
1094 case $ac_val in
1095 [\\/$]* | ?:[\\/]* ) continue;;
1096 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1097 esac
1098 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1099 done
1101 # There might be people who depend on the old broken behavior: `$host'
1102 # used to hold the argument of --host etc.
1103 # FIXME: To remove some day.
1104 build=$build_alias
1105 host=$host_alias
1106 target=$target_alias
1108 # FIXME: To remove some day.
1109 if test "x$host_alias" != x; then
1110 if test "x$build_alias" = x; then
1111 cross_compiling=maybe
1112 elif test "x$build_alias" != "x$host_alias"; then
1113 cross_compiling=yes
1117 ac_tool_prefix=
1118 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1120 test "$silent" = yes && exec 6>/dev/null
1123 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1124 ac_ls_di=`ls -di .` &&
1125 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1126 as_fn_error $? "working directory cannot be determined"
1127 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1128 as_fn_error $? "pwd does not report name of working directory"
1131 # Find the source files, if location was not specified.
1132 if test -z "$srcdir"; then
1133 ac_srcdir_defaulted=yes
1134 # Try the directory containing this script, then the parent directory.
1135 ac_confdir=`$as_dirname -- "$as_myself" ||
1136 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1137 X"$as_myself" : 'X\(//\)[^/]' \| \
1138 X"$as_myself" : 'X\(//\)$' \| \
1139 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1140 $as_echo X"$as_myself" |
1141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1142 s//\1/
1145 /^X\(\/\/\)[^/].*/{
1146 s//\1/
1149 /^X\(\/\/\)$/{
1150 s//\1/
1153 /^X\(\/\).*/{
1154 s//\1/
1157 s/.*/./; q'`
1158 srcdir=$ac_confdir
1159 if test ! -r "$srcdir/$ac_unique_file"; then
1160 srcdir=..
1162 else
1163 ac_srcdir_defaulted=no
1165 if test ! -r "$srcdir/$ac_unique_file"; then
1166 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1167 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1169 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1170 ac_abs_confdir=`(
1171 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1172 pwd)`
1173 # When building in place, set srcdir=.
1174 if test "$ac_abs_confdir" = "$ac_pwd"; then
1175 srcdir=.
1177 # Remove unnecessary trailing slashes from srcdir.
1178 # Double slashes in file names in object file debugging info
1179 # mess up M-x gdb in Emacs.
1180 case $srcdir in
1181 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1182 esac
1183 for ac_var in $ac_precious_vars; do
1184 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1185 eval ac_env_${ac_var}_value=\$${ac_var}
1186 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1187 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188 done
1191 # Report the --help message.
1193 if test "$ac_init_help" = "long"; then
1194 # Omit some internal or obsolete options to make the list less imposing.
1195 # This message is too long to be a string in the A/UX 3.1 sh.
1196 cat <<_ACEOF
1197 \`configure' configures this package to adapt to many kinds of systems.
1199 Usage: $0 [OPTION]... [VAR=VALUE]...
1201 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1202 VAR=VALUE. See below for descriptions of some of the useful variables.
1204 Defaults for the options are specified in brackets.
1206 Configuration:
1207 -h, --help display this help and exit
1208 --help=short display options specific to this package
1209 --help=recursive display the short help of all the included packages
1210 -V, --version display version information and exit
1211 -q, --quiet, --silent do not print \`checking ...' messages
1212 --cache-file=FILE cache test results in FILE [disabled]
1213 -C, --config-cache alias for \`--cache-file=config.cache'
1214 -n, --no-create do not create output files
1215 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1217 Installation directories:
1218 --prefix=PREFIX install architecture-independent files in PREFIX
1219 [$ac_default_prefix]
1220 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1221 [PREFIX]
1223 By default, \`make install' will install all the files in
1224 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1225 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1226 for instance \`--prefix=\$HOME'.
1228 For better control, use the options below.
1230 Fine tuning of the installation directories:
1231 --bindir=DIR user executables [EPREFIX/bin]
1232 --sbindir=DIR system admin executables [EPREFIX/sbin]
1233 --libexecdir=DIR program executables [EPREFIX/libexec]
1234 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1235 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1236 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1237 --libdir=DIR object code libraries [EPREFIX/lib]
1238 --includedir=DIR C header files [PREFIX/include]
1239 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1240 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1241 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1242 --infodir=DIR info documentation [DATAROOTDIR/info]
1243 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1244 --mandir=DIR man documentation [DATAROOTDIR/man]
1245 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1246 --htmldir=DIR html documentation [DOCDIR]
1247 --dvidir=DIR dvi documentation [DOCDIR]
1248 --pdfdir=DIR pdf documentation [DOCDIR]
1249 --psdir=DIR ps documentation [DOCDIR]
1250 _ACEOF
1252 cat <<\_ACEOF
1253 _ACEOF
1256 if test -n "$ac_init_help"; then
1258 cat <<\_ACEOF
1260 Optional Packages:
1261 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1262 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1263 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1264 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1265 --with-lispdir=DIR Where to install lisp files
1266 --with-etcdir=DIR Where to install etc files
1267 --with-fonts Assume all fonts required are available
1269 Report bugs to the package provider.
1270 _ACEOF
1271 ac_status=$?
1274 if test "$ac_init_help" = "recursive"; then
1275 # If there are subdirs, report their specific --help.
1276 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1277 test -d "$ac_dir" ||
1278 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1279 continue
1280 ac_builddir=.
1282 case "$ac_dir" in
1283 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1285 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1286 # A ".." for each directory in $ac_dir_suffix.
1287 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1288 case $ac_top_builddir_sub in
1289 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1291 esac ;;
1292 esac
1293 ac_abs_top_builddir=$ac_pwd
1294 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1295 # for backward compatibility:
1296 ac_top_builddir=$ac_top_build_prefix
1298 case $srcdir in
1299 .) # We are building in place.
1300 ac_srcdir=.
1301 ac_top_srcdir=$ac_top_builddir_sub
1302 ac_abs_top_srcdir=$ac_pwd ;;
1303 [\\/]* | ?:[\\/]* ) # Absolute name.
1304 ac_srcdir=$srcdir$ac_dir_suffix;
1305 ac_top_srcdir=$srcdir
1306 ac_abs_top_srcdir=$srcdir ;;
1307 *) # Relative name.
1308 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1309 ac_top_srcdir=$ac_top_build_prefix$srcdir
1310 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1311 esac
1312 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1314 cd "$ac_dir" || { ac_status=$?; continue; }
1315 # Check for guested configure.
1316 if test -f "$ac_srcdir/configure.gnu"; then
1317 echo &&
1318 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1319 elif test -f "$ac_srcdir/configure"; then
1320 echo &&
1321 $SHELL "$ac_srcdir/configure" --help=recursive
1322 else
1323 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1324 fi || ac_status=$?
1325 cd "$ac_pwd" || { ac_status=$?; break; }
1326 done
1329 test -n "$ac_init_help" && exit $ac_status
1330 if $ac_init_version; then
1331 cat <<\_ACEOF
1332 configure
1333 generated by GNU Autoconf 2.69
1335 Copyright (C) 2012 Free Software Foundation, Inc.
1336 This configure script is free software; the Free Software Foundation
1337 gives unlimited permission to copy, distribute and modify it.
1338 _ACEOF
1339 exit
1342 ## ------------------------ ##
1343 ## Autoconf initialization. ##
1344 ## ------------------------ ##
1345 cat >config.log <<_ACEOF
1346 This file contains any messages produced by compilers while
1347 running configure, to aid debugging if configure makes a mistake.
1349 It was created by $as_me, which was
1350 generated by GNU Autoconf 2.69. Invocation command line was
1352 $ $0 $@
1354 _ACEOF
1355 exec 5>>config.log
1357 cat <<_ASUNAME
1358 ## --------- ##
1359 ## Platform. ##
1360 ## --------- ##
1362 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1375 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1379 _ASUNAME
1381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1382 for as_dir in $PATH
1384 IFS=$as_save_IFS
1385 test -z "$as_dir" && as_dir=.
1386 $as_echo "PATH: $as_dir"
1387 done
1388 IFS=$as_save_IFS
1390 } >&5
1392 cat >&5 <<_ACEOF
1395 ## ----------- ##
1396 ## Core tests. ##
1397 ## ----------- ##
1399 _ACEOF
1402 # Keep a trace of the command line.
1403 # Strip out --no-create and --no-recursion so they do not pile up.
1404 # Strip out --silent because we don't want to record it for future runs.
1405 # Also quote any args containing shell meta-characters.
1406 # Make two passes to allow for proper duplicate-argument suppression.
1407 ac_configure_args=
1408 ac_configure_args0=
1409 ac_configure_args1=
1410 ac_must_keep_next=false
1411 for ac_pass in 1 2
1413 for ac_arg
1415 case $ac_arg in
1416 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418 | -silent | --silent | --silen | --sile | --sil)
1419 continue ;;
1420 *\'*)
1421 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1422 esac
1423 case $ac_pass in
1424 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1426 as_fn_append ac_configure_args1 " '$ac_arg'"
1427 if test $ac_must_keep_next = true; then
1428 ac_must_keep_next=false # Got value, back to normal.
1429 else
1430 case $ac_arg in
1431 *=* | --config-cache | -C | -disable-* | --disable-* \
1432 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434 | -with-* | --with-* | -without-* | --without-* | --x)
1435 case "$ac_configure_args0 " in
1436 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1437 esac
1439 -* ) ac_must_keep_next=true ;;
1440 esac
1442 as_fn_append ac_configure_args " '$ac_arg'"
1444 esac
1445 done
1446 done
1447 { ac_configure_args0=; unset ac_configure_args0;}
1448 { ac_configure_args1=; unset ac_configure_args1;}
1450 # When interrupted or exit'd, cleanup temporary files, and complete
1451 # config.log. We remove comments because anyway the quotes in there
1452 # would cause problems or look ugly.
1453 # WARNING: Use '\'' to represent an apostrophe within the trap.
1454 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1455 trap 'exit_status=$?
1456 # Save into config.log some information that might help in debugging.
1458 echo
1460 $as_echo "## ---------------- ##
1461 ## Cache variables. ##
1462 ## ---------------- ##"
1463 echo
1464 # The following way of writing the cache mishandles newlines in values,
1466 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1467 eval ac_val=\$$ac_var
1468 case $ac_val in #(
1469 *${as_nl}*)
1470 case $ac_var in #(
1471 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1472 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1473 esac
1474 case $ac_var in #(
1475 _ | IFS | as_nl) ;; #(
1476 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1477 *) { eval $ac_var=; unset $ac_var;} ;;
1478 esac ;;
1479 esac
1480 done
1481 (set) 2>&1 |
1482 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1483 *${as_nl}ac_space=\ *)
1484 sed -n \
1485 "s/'\''/'\''\\\\'\'''\''/g;
1486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1487 ;; #(
1489 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1491 esac |
1492 sort
1494 echo
1496 $as_echo "## ----------------- ##
1497 ## Output variables. ##
1498 ## ----------------- ##"
1499 echo
1500 for ac_var in $ac_subst_vars
1502 eval ac_val=\$$ac_var
1503 case $ac_val in
1504 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1505 esac
1506 $as_echo "$ac_var='\''$ac_val'\''"
1507 done | sort
1508 echo
1510 if test -n "$ac_subst_files"; then
1511 $as_echo "## ------------------- ##
1512 ## File substitutions. ##
1513 ## ------------------- ##"
1514 echo
1515 for ac_var in $ac_subst_files
1517 eval ac_val=\$$ac_var
1518 case $ac_val in
1519 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1520 esac
1521 $as_echo "$ac_var='\''$ac_val'\''"
1522 done | sort
1523 echo
1526 if test -s confdefs.h; then
1527 $as_echo "## ----------- ##
1528 ## confdefs.h. ##
1529 ## ----------- ##"
1530 echo
1531 cat confdefs.h
1532 echo
1534 test "$ac_signal" != 0 &&
1535 $as_echo "$as_me: caught signal $ac_signal"
1536 $as_echo "$as_me: exit $exit_status"
1537 } >&5
1538 rm -f core *.core core.conftest.* &&
1539 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1540 exit $exit_status
1542 for ac_signal in 1 2 13 15; do
1543 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1544 done
1545 ac_signal=0
1547 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1548 rm -f -r conftest* confdefs.h
1550 $as_echo "/* confdefs.h */" > confdefs.h
1552 # Predefined preprocessor variables.
1554 cat >>confdefs.h <<_ACEOF
1555 #define PACKAGE_NAME "$PACKAGE_NAME"
1556 _ACEOF
1558 cat >>confdefs.h <<_ACEOF
1559 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1560 _ACEOF
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1564 _ACEOF
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 _ACEOF
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1572 _ACEOF
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_URL "$PACKAGE_URL"
1576 _ACEOF
1579 # Let the site file select an alternate cache file if it wants to.
1580 # Prefer an explicitly selected file to automatically selected ones.
1581 ac_site_file1=NONE
1582 ac_site_file2=NONE
1583 if test -n "$CONFIG_SITE"; then
1584 # We do not want a PATH search for config.site.
1585 case $CONFIG_SITE in #((
1586 -*) ac_site_file1=./$CONFIG_SITE;;
1587 */*) ac_site_file1=$CONFIG_SITE;;
1588 *) ac_site_file1=./$CONFIG_SITE;;
1589 esac
1590 elif test "x$prefix" != xNONE; then
1591 ac_site_file1=$prefix/share/config.site
1592 ac_site_file2=$prefix/etc/config.site
1593 else
1594 ac_site_file1=$ac_default_prefix/share/config.site
1595 ac_site_file2=$ac_default_prefix/etc/config.site
1597 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1599 test "x$ac_site_file" = xNONE && continue
1600 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1602 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1603 sed 's/^/| /' "$ac_site_file" >&5
1604 . "$ac_site_file" \
1605 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1607 as_fn_error $? "failed to load site script $ac_site_file
1608 See \`config.log' for more details" "$LINENO" 5; }
1610 done
1612 if test -r "$cache_file"; then
1613 # Some versions of bash will fail to source /dev/null (special files
1614 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1615 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1617 $as_echo "$as_me: loading cache $cache_file" >&6;}
1618 case $cache_file in
1619 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1620 *) . "./$cache_file";;
1621 esac
1623 else
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1625 $as_echo "$as_me: creating cache $cache_file" >&6;}
1626 >$cache_file
1629 # Check that the precious variables saved in the cache have kept the same
1630 # value.
1631 ac_cache_corrupted=false
1632 for ac_var in $ac_precious_vars; do
1633 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1634 eval ac_new_set=\$ac_env_${ac_var}_set
1635 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1636 eval ac_new_val=\$ac_env_${ac_var}_value
1637 case $ac_old_set,$ac_new_set in
1638 set,)
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1640 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1641 ac_cache_corrupted=: ;;
1642 ,set)
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1644 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1645 ac_cache_corrupted=: ;;
1646 ,);;
1648 if test "x$ac_old_val" != "x$ac_new_val"; then
1649 # differences in whitespace do not lead to failure.
1650 ac_old_val_w=`echo x $ac_old_val`
1651 ac_new_val_w=`echo x $ac_new_val`
1652 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1654 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1655 ac_cache_corrupted=:
1656 else
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1658 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1659 eval $ac_var=\$ac_old_val
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1662 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1664 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1665 fi;;
1666 esac
1667 # Pass precious variables to config.status.
1668 if test "$ac_new_set" = set; then
1669 case $ac_new_val in
1670 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1671 *) ac_arg=$ac_var=$ac_new_val ;;
1672 esac
1673 case " $ac_configure_args " in
1674 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1675 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1676 esac
1678 done
1679 if $ac_cache_corrupted; then
1680 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1682 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1683 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1684 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1686 ## -------------------- ##
1687 ## Main body of script. ##
1688 ## -------------------- ##
1690 ac_ext=c
1691 ac_cpp='$CPP $CPPFLAGS'
1692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1698 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1699 set x ${MAKE-make}
1700 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1701 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1702 $as_echo_n "(cached) " >&6
1703 else
1704 cat >conftest.make <<\_ACEOF
1705 SHELL = /bin/sh
1706 all:
1707 @echo '@@@%%%=$(MAKE)=@@@%%%'
1708 _ACEOF
1709 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1710 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1711 *@@@%%%=?*=@@@%%%*)
1712 eval ac_cv_prog_make_${ac_make}_set=yes;;
1714 eval ac_cv_prog_make_${ac_make}_set=no;;
1715 esac
1716 rm -f conftest.make
1718 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1720 $as_echo "yes" >&6; }
1721 SET_MAKE=
1722 else
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1724 $as_echo "no" >&6; }
1725 SET_MAKE="MAKE=${MAKE-make}"
1728 ac_aux_dir=
1729 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1730 if test -f "$ac_dir/install-sh"; then
1731 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install-sh -c"
1733 break
1734 elif test -f "$ac_dir/install.sh"; then
1735 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/install.sh -c"
1737 break
1738 elif test -f "$ac_dir/shtool"; then
1739 ac_aux_dir=$ac_dir
1740 ac_install_sh="$ac_aux_dir/shtool install -c"
1741 break
1743 done
1744 if test -z "$ac_aux_dir"; then
1745 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1748 # These three variables are undocumented and unsupported,
1749 # and are intended to be withdrawn in a future Autoconf release.
1750 # They can cause serious problems if a builder's source tree is in a directory
1751 # whose full name contains unusual characters.
1752 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1753 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1754 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1757 # Find a good install program. We prefer a C program (faster),
1758 # so one script is as good as another. But avoid the broken or
1759 # incompatible versions:
1760 # SysV /etc/install, /usr/sbin/install
1761 # SunOS /usr/etc/install
1762 # IRIX /sbin/install
1763 # AIX /bin/install
1764 # AmigaOS /C/install, which installs bootblocks on floppy discs
1765 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768 # OS/2's system install, which has a completely different semantic
1769 # ./install, which can be erroneously created by make from ./install.sh.
1770 # Reject install programs that cannot install multiple files.
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1772 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1773 if test -z "$INSTALL"; then
1774 if ${ac_cv_path_install+:} false; then :
1775 $as_echo_n "(cached) " >&6
1776 else
1777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778 for as_dir in $PATH
1780 IFS=$as_save_IFS
1781 test -z "$as_dir" && as_dir=.
1782 # Account for people who put trailing slashes in PATH elements.
1783 case $as_dir/ in #((
1784 ./ | .// | /[cC]/* | \
1785 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1786 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1787 /usr/ucb/* ) ;;
1789 # OSF1 and SCO ODT 3.0 have their own names for install.
1790 # Don't use installbsd from OSF since it installs stuff as root
1791 # by default.
1792 for ac_prog in ginstall scoinst install; do
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1795 if test $ac_prog = install &&
1796 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1797 # AIX install. It has an incompatible calling convention.
1799 elif test $ac_prog = install &&
1800 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1801 # program-specific install script used by HP pwplus--don't use.
1803 else
1804 rm -rf conftest.one conftest.two conftest.dir
1805 echo one > conftest.one
1806 echo two > conftest.two
1807 mkdir conftest.dir
1808 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1809 test -s conftest.one && test -s conftest.two &&
1810 test -s conftest.dir/conftest.one &&
1811 test -s conftest.dir/conftest.two
1812 then
1813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1814 break 3
1818 done
1819 done
1821 esac
1823 done
1824 IFS=$as_save_IFS
1826 rm -rf conftest.one conftest.two conftest.dir
1829 if test "${ac_cv_path_install+set}" = set; then
1830 INSTALL=$ac_cv_path_install
1831 else
1832 # As a last resort, use the slow shell script. Don't cache a
1833 # value for INSTALL within a source directory, because that will
1834 # break other packages using the cache if that directory is
1835 # removed, or if the value is a relative name.
1836 INSTALL=$ac_install_sh
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1840 $as_echo "$INSTALL" >&6; }
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1851 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
1852 EMACS=""
1856 # Check whether --with-xemacs was given.
1857 if test "${with_xemacs+set}" = set; then :
1858 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1862 # Check whether --with-emacs was given.
1863 if test "${with_emacs+set}" = set; then :
1864 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1867 # Extract the first word of "makeinfo", so it can be a program name with args.
1868 set dummy makeinfo; ac_word=$2
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1870 $as_echo_n "checking for $ac_word... " >&6; }
1871 if ${ac_cv_prog_MAKEINFO+:} false; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 if test -n "$MAKEINFO"; then
1875 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1876 else
1877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878 for as_dir in $PATH
1880 IFS=$as_save_IFS
1881 test -z "$as_dir" && as_dir=.
1882 for ac_exec_ext in '' $ac_executable_extensions; do
1883 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1884 ac_cv_prog_MAKEINFO="makeinfo"
1885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1886 break 2
1888 done
1889 done
1890 IFS=$as_save_IFS
1892 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1895 MAKEINFO=$ac_cv_prog_MAKEINFO
1896 if test -n "$MAKEINFO"; then
1897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
1898 $as_echo "$MAKEINFO" >&6; }
1899 else
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1901 $as_echo "no" >&6; }
1906 # Extract the first word of "emacs", so it can be a program name with args.
1907 set dummy emacs; ac_word=$2
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1909 $as_echo_n "checking for $ac_word... " >&6; }
1910 if ${ac_cv_prog_EMACS+:} false; then :
1911 $as_echo_n "(cached) " >&6
1912 else
1913 if test -n "$EMACS"; then
1914 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1915 else
1916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 for as_dir in $PATH
1919 IFS=$as_save_IFS
1920 test -z "$as_dir" && as_dir=.
1921 for ac_exec_ext in '' $ac_executable_extensions; do
1922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923 ac_cv_prog_EMACS="emacs"
1924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 break 2
1927 done
1928 done
1929 IFS=$as_save_IFS
1931 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1934 EMACS=$ac_cv_prog_EMACS
1935 if test -n "$EMACS"; then
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
1937 $as_echo "$EMACS" >&6; }
1938 else
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1940 $as_echo "no" >&6; }
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $EMACS is really XEmacs" >&5
1948 $as_echo_n "checking if $EMACS is really XEmacs... " >&6; }
1950 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1951 if test -z ""noecho""; then
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xemacsp" >&5
1953 $as_echo_n "checking for xemacsp... " >&6; }
1955 if ${EMACS_cv_SYS_xemacsp+:} false; then :
1956 $as_echo_n "(cached) " >&6
1957 else
1959 OUTPUT=./conftest-$$
1960 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1961 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
1962 retval=`cat ${OUTPUT}`
1963 echo "=> ${retval}" >& 5 2>&1
1964 rm -f ${OUTPUT}
1965 EMACS_cv_SYS_xemacsp=$retval
1969 xemacsp=${EMACS_cv_SYS_xemacsp}
1970 if test -z ""noecho""; then
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xemacsp" >&5
1972 $as_echo "$xemacsp" >&6; }
1975 XEMACS=${EMACS_cv_SYS_xemacsp}
1976 EMACS_FLAVOR=emacs
1977 if test "$XEMACS" = "yes"; then
1978 EMACS_FLAVOR=xemacs
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5
1981 $as_echo "$XEMACS" >&6; }
1985 if test "$prefix" = "NONE"; then
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking prefix for your Emacs" >&5
1987 $as_echo_n "checking prefix for your Emacs... " >&6; }
1989 elisp="(expand-file-name \"..\" invocation-directory)"
1990 if test -z ""noecho""; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
1992 $as_echo_n "checking for prefix... " >&6; }
1994 if ${EMACS_cv_SYS_prefix+:} false; then :
1995 $as_echo_n "(cached) " >&6
1996 else
1998 OUTPUT=./conftest-$$
1999 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2000 ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x 'ignore) (prin1-to-string x)) nil \"${OUTPUT}\"nil 5))" >& 5 2>&1
2001 retval=`cat ${OUTPUT}`
2002 echo "=> ${retval}" >& 5 2>&1
2003 rm -f ${OUTPUT}
2004 EMACS_cv_SYS_prefix=$retval
2008 prefix=${EMACS_cv_SYS_prefix}
2009 if test -z ""noecho""; then
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2011 $as_echo "$prefix" >&6; }
2014 prefix=${EMACS_cv_SYS_prefix}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2016 $as_echo "$prefix" >&6; }
2019 # Check whether --with-lispdir was given.
2020 if test "${with_lispdir+set}" = set; then :
2021 withval=$with_lispdir; lispdir=${withval}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2025 $as_echo_n "checking where .elc files should go... " >&6; }
2026 if test -z "$lispdir"; then
2027 theprefix=$prefix
2028 if test "x$theprefix" = "xNONE"; then
2029 theprefix=$ac_default_prefix
2031 if test "$EMACS_FLAVOR" = "xemacs"; then
2032 datadir="\$(prefix)/lib"
2033 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2034 else
2035 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2037 for thedir in share lib; do
2038 potential=
2039 if test -d "${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp"; then
2040 if test "$EMACS_FLAVOR" = "xemacs"; then
2041 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2042 else
2043 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2045 break
2047 done
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2050 $as_echo "$lispdir" >&6; }
2055 # Check whether --with-etcdir was given.
2056 if test "${with_etcdir+set}" = set; then :
2057 withval=$with_etcdir; etcdir=${withval}
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where etc files should go" >&5
2061 $as_echo_n "checking where etc files should go... " >&6; }
2062 if test -z "$etcdir"; then
2063 if test "$EMACS_FLAVOR" = "xemacs"; then
2064 etcdir="\$(lispdir)/../../etc"
2065 else
2066 etcdir="\$(lispdir)/../../etc"
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $etcdir" >&5
2070 $as_echo "$etcdir" >&6; }
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the TeXinfo docs should go" >&5
2075 $as_echo_n "checking where the TeXinfo docs should go... " >&6; }
2076 if test "$infodir" = "\${prefix}/info"; then
2077 if test "$EMACS_FLAVOR" = "xemacs"; then
2078 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
2079 else
2080 info_dir="\$(prefix)/info"
2082 else
2083 info_dir=$infodir
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $info_dir" >&5
2086 $as_echo "$info_dir" >&6; }
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which options to pass on to (X)Emacs" >&5
2091 $as_echo_n "checking which options to pass on to (X)Emacs... " >&6; }
2092 if test "x$FLAGS" = "x"; then
2093 if test "$EMACS_FLAVOR" = "xemacs"; then
2094 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
2095 else
2096 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
2098 else
2099 FLAGS=$FLAGS
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAGS" >&5
2102 $as_echo "$FLAGS" >&6; }
2106 test "$LATEX" = t && LATEX=
2107 test "$LATEX" || for ac_prog in latex
2109 # Extract the first word of "$ac_prog", so it can be a program name with args.
2110 set dummy $ac_prog; ac_word=$2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if ${ac_cv_path_LATEX+:} false; then :
2114 $as_echo_n "(cached) " >&6
2115 else
2116 case $LATEX in
2117 [\\/]* | ?:[\\/]*)
2118 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH
2124 IFS=$as_save_IFS
2125 test -z "$as_dir" && as_dir=.
2126 for ac_exec_ext in '' $ac_executable_extensions; do
2127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
2129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2130 break 2
2132 done
2133 done
2134 IFS=$as_save_IFS
2137 esac
2139 LATEX=$ac_cv_path_LATEX
2140 if test -n "$LATEX"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
2142 $as_echo "$LATEX" >&6; }
2143 else
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2149 test -n "$LATEX" && break
2150 done
2151 test -n "$LATEX" || LATEX="no"
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for available fonts" >&5
2154 $as_echo_n "checking for available fonts... " >&6; }
2156 # Check whether --with-fonts was given.
2157 if test "${with_fonts+set}" = set; then :
2158 withval=$with_fonts; USE_FONTS="$withval"
2161 WITH_FONTS_bembo='%'
2162 WITHOUT_FONTS_bembo=
2163 WITH_FONTS_pfu='%'
2164 WITHOUT_FONTS_pfu=
2165 WITH_FONTS_bcr='%'
2166 WITHOUT_FONTS_bcr=
2167 if test -z "${USE_FONTS}"; then
2168 if test "${LATEX}" = no; then
2170 else
2171 OUTPUT=./conftest-$$
2172 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
2173 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
2174 if test -z "${USE_FONTS}"; then
2175 USE_FONTS="Adobe Bembo"
2176 else
2177 USE_FONTS="${USE_FONTS}, Adobe Bembo"
2179 WITH_FONTS_bembo=
2180 WITHOUT_FONTS_bembo='%'
2182 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2183 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2184 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2186 else
2187 if test -z "${USE_FONTS}"; then
2188 USE_FONTS="Adobe Futura"
2189 else
2190 USE_FONTS="${USE_FONTS}, Adobe Futura"
2192 WITH_FONTS_pfu=
2193 WITHOUT_FONTS_pfu='%'
2196 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2197 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2198 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2200 else
2201 if test -z "${USE_FONTS}"; then
2202 USE_FONTS="Bitstream Courier"
2203 else
2204 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2206 WITH_FONTS_bcr=
2207 WITHOUT_FONTS_bcr='%'
2210 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2212 elif test "${USE_FONTS}" = yes ; then
2213 WITH_FONTS_bembo=
2214 WITHOUT_FONTS_bembo='%'
2215 WITH_FONTS_pfu=
2216 WITHOUT_FONTS_pfu='%'
2217 WITH_FONTS_bcr=
2218 WITHOUT_FONTS_bcr='%'
2226 if test -z "${USE_FONTS}" ; then
2227 USE_FONTS=no
2229 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${USE_FONTS}\"" >&5
2231 $as_echo "\"${USE_FONTS}\"" >&6; }
2232 if test "${USE_FONTS}" = yes ; then
2233 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
2234 elif test "${USE_FONTS}" = no ; then
2235 USE_FONTS=''
2236 else
2237 USE_FONTS="Set in ${USE_FONTS}."
2242 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
2244 cat >confcache <<\_ACEOF
2245 # This file is a shell script that caches the results of configure
2246 # tests run on this system so they can be shared between configure
2247 # scripts and configure runs, see configure's option --config-cache.
2248 # It is not useful on other systems. If it contains results you don't
2249 # want to keep, you may remove or edit it.
2251 # config.status only pays attention to the cache file if you give it
2252 # the --recheck option to rerun configure.
2254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2256 # following values.
2258 _ACEOF
2260 # The following way of writing the cache mishandles newlines in values,
2261 # but we know of no workaround that is simple, portable, and efficient.
2262 # So, we kill variables containing newlines.
2263 # Ultrix sh set writes to stderr and can't be redirected directly,
2264 # and sets the high bit in the cache file unless we assign to the vars.
2266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2267 eval ac_val=\$$ac_var
2268 case $ac_val in #(
2269 *${as_nl}*)
2270 case $ac_var in #(
2271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2273 esac
2274 case $ac_var in #(
2275 _ | IFS | as_nl) ;; #(
2276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2277 *) { eval $ac_var=; unset $ac_var;} ;;
2278 esac ;;
2279 esac
2280 done
2282 (set) 2>&1 |
2283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2284 *${as_nl}ac_space=\ *)
2285 # `set' does not quote correctly, so add quotes: double-quote
2286 # substitution turns \\\\ into \\, and sed turns \\ into \.
2287 sed -n \
2288 "s/'/'\\\\''/g;
2289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2290 ;; #(
2292 # `set' quotes correctly as required by POSIX, so do not add quotes.
2293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2295 esac |
2296 sort
2298 sed '
2299 /^ac_cv_env_/b end
2300 t clear
2301 :clear
2302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2303 t end
2304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2305 :end' >>confcache
2306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2307 if test -w "$cache_file"; then
2308 if test "x$cache_file" != "x/dev/null"; then
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2310 $as_echo "$as_me: updating cache $cache_file" >&6;}
2311 if test ! -f "$cache_file" || test -h "$cache_file"; then
2312 cat confcache >"$cache_file"
2313 else
2314 case $cache_file in #(
2315 */* | ?:*)
2316 mv -f confcache "$cache_file"$$ &&
2317 mv -f "$cache_file"$$ "$cache_file" ;; #(
2319 mv -f confcache "$cache_file" ;;
2320 esac
2323 else
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2325 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2328 rm -f confcache
2330 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2331 # Let make expand exec_prefix.
2332 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2334 # Transform confdefs.h into DEFS.
2335 # Protect against shell expansion while executing Makefile rules.
2336 # Protect against Makefile macro expansion.
2338 # If the first sed substitution is executed (which looks for macros that
2339 # take arguments), then branch to the quote section. Otherwise,
2340 # look for a macro that doesn't take arguments.
2341 ac_script='
2342 :mline
2343 /\\$/{
2345 s,\\\n,,
2346 b mline
2348 t clear
2349 :clear
2350 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2351 t quote
2352 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2353 t quote
2354 b any
2355 :quote
2356 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2357 s/\[/\\&/g
2358 s/\]/\\&/g
2359 s/\$/$$/g
2361 :any
2364 s/^\n//
2365 s/\n/ /g
2369 DEFS=`sed -n "$ac_script" confdefs.h`
2372 ac_libobjs=
2373 ac_ltlibobjs=
2375 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2376 # 1. Remove the extension, and $U if already installed.
2377 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2378 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2379 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2380 # will be set to the directory where LIBOBJS objects are built.
2381 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2382 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2383 done
2384 LIBOBJS=$ac_libobjs
2386 LTLIBOBJS=$ac_ltlibobjs
2390 : "${CONFIG_STATUS=./config.status}"
2391 ac_write_fail=0
2392 ac_clean_files_save=$ac_clean_files
2393 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2395 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2396 as_write_fail=0
2397 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2398 #! $SHELL
2399 # Generated by $as_me.
2400 # Run this file to recreate the current configuration.
2401 # Compiler output produced by configure, useful for debugging
2402 # configure, is in config.log if it exists.
2404 debug=false
2405 ac_cs_recheck=false
2406 ac_cs_silent=false
2408 SHELL=\${CONFIG_SHELL-$SHELL}
2409 export SHELL
2410 _ASEOF
2411 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2412 ## -------------------- ##
2413 ## M4sh Initialization. ##
2414 ## -------------------- ##
2416 # Be more Bourne compatible
2417 DUALCASE=1; export DUALCASE # for MKS sh
2418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2419 emulate sh
2420 NULLCMD=:
2421 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2422 # is contrary to our usage. Disable this feature.
2423 alias -g '${1+"$@"}'='"$@"'
2424 setopt NO_GLOB_SUBST
2425 else
2426 case `(set -o) 2>/dev/null` in #(
2427 *posix*) :
2428 set -o posix ;; #(
2429 *) :
2431 esac
2435 as_nl='
2437 export as_nl
2438 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2439 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2440 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2441 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2442 # Prefer a ksh shell builtin over an external printf program on Solaris,
2443 # but without wasting forks for bash or zsh.
2444 if test -z "$BASH_VERSION$ZSH_VERSION" \
2445 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2446 as_echo='print -r --'
2447 as_echo_n='print -rn --'
2448 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2449 as_echo='printf %s\n'
2450 as_echo_n='printf %s'
2451 else
2452 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2453 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2454 as_echo_n='/usr/ucb/echo -n'
2455 else
2456 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2457 as_echo_n_body='eval
2458 arg=$1;
2459 case $arg in #(
2460 *"$as_nl"*)
2461 expr "X$arg" : "X\\(.*\\)$as_nl";
2462 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2463 esac;
2464 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2466 export as_echo_n_body
2467 as_echo_n='sh -c $as_echo_n_body as_echo'
2469 export as_echo_body
2470 as_echo='sh -c $as_echo_body as_echo'
2473 # The user is always right.
2474 if test "${PATH_SEPARATOR+set}" != set; then
2475 PATH_SEPARATOR=:
2476 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2477 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2478 PATH_SEPARATOR=';'
2483 # IFS
2484 # We need space, tab and new line, in precisely that order. Quoting is
2485 # there to prevent editors from complaining about space-tab.
2486 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2487 # splitting by setting IFS to empty value.)
2488 IFS=" "" $as_nl"
2490 # Find who we are. Look in the path if we contain no directory separator.
2491 as_myself=
2492 case $0 in #((
2493 *[\\/]* ) as_myself=$0 ;;
2494 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 for as_dir in $PATH
2497 IFS=$as_save_IFS
2498 test -z "$as_dir" && as_dir=.
2499 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2500 done
2501 IFS=$as_save_IFS
2504 esac
2505 # We did not find ourselves, most probably we were run as `sh COMMAND'
2506 # in which case we are not to be found in the path.
2507 if test "x$as_myself" = x; then
2508 as_myself=$0
2510 if test ! -f "$as_myself"; then
2511 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2512 exit 1
2515 # Unset variables that we do not need and which cause bugs (e.g. in
2516 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2517 # suppresses any "Segmentation fault" message there. '((' could
2518 # trigger a bug in pdksh 5.2.14.
2519 for as_var in BASH_ENV ENV MAIL MAILPATH
2520 do eval test x\${$as_var+set} = xset \
2521 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2522 done
2523 PS1='$ '
2524 PS2='> '
2525 PS4='+ '
2527 # NLS nuisances.
2528 LC_ALL=C
2529 export LC_ALL
2530 LANGUAGE=C
2531 export LANGUAGE
2533 # CDPATH.
2534 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2537 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2538 # ----------------------------------------
2539 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2540 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2541 # script with STATUS, using 1 if that was 0.
2542 as_fn_error ()
2544 as_status=$1; test $as_status -eq 0 && as_status=1
2545 if test "$4"; then
2546 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2547 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2549 $as_echo "$as_me: error: $2" >&2
2550 as_fn_exit $as_status
2551 } # as_fn_error
2554 # as_fn_set_status STATUS
2555 # -----------------------
2556 # Set $? to STATUS, without forking.
2557 as_fn_set_status ()
2559 return $1
2560 } # as_fn_set_status
2562 # as_fn_exit STATUS
2563 # -----------------
2564 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2565 as_fn_exit ()
2567 set +e
2568 as_fn_set_status $1
2569 exit $1
2570 } # as_fn_exit
2572 # as_fn_unset VAR
2573 # ---------------
2574 # Portably unset VAR.
2575 as_fn_unset ()
2577 { eval $1=; unset $1;}
2579 as_unset=as_fn_unset
2580 # as_fn_append VAR VALUE
2581 # ----------------------
2582 # Append the text in VALUE to the end of the definition contained in VAR. Take
2583 # advantage of any shell optimizations that allow amortized linear growth over
2584 # repeated appends, instead of the typical quadratic growth present in naive
2585 # implementations.
2586 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2587 eval 'as_fn_append ()
2589 eval $1+=\$2
2591 else
2592 as_fn_append ()
2594 eval $1=\$$1\$2
2596 fi # as_fn_append
2598 # as_fn_arith ARG...
2599 # ------------------
2600 # Perform arithmetic evaluation on the ARGs, and store the result in the
2601 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2602 # must be portable across $(()) and expr.
2603 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2604 eval 'as_fn_arith ()
2606 as_val=$(( $* ))
2608 else
2609 as_fn_arith ()
2611 as_val=`expr "$@" || test $? -eq 1`
2613 fi # as_fn_arith
2616 if expr a : '\(a\)' >/dev/null 2>&1 &&
2617 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2618 as_expr=expr
2619 else
2620 as_expr=false
2623 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2624 as_basename=basename
2625 else
2626 as_basename=false
2629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2630 as_dirname=dirname
2631 else
2632 as_dirname=false
2635 as_me=`$as_basename -- "$0" ||
2636 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2637 X"$0" : 'X\(//\)$' \| \
2638 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2639 $as_echo X/"$0" |
2640 sed '/^.*\/\([^/][^/]*\)\/*$/{
2641 s//\1/
2644 /^X\/\(\/\/\)$/{
2645 s//\1/
2648 /^X\/\(\/\).*/{
2649 s//\1/
2652 s/.*/./; q'`
2654 # Avoid depending upon Character Ranges.
2655 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2656 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2657 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2658 as_cr_digits='0123456789'
2659 as_cr_alnum=$as_cr_Letters$as_cr_digits
2661 ECHO_C= ECHO_N= ECHO_T=
2662 case `echo -n x` in #(((((
2663 -n*)
2664 case `echo 'xy\c'` in
2665 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2666 xy) ECHO_C='\c';;
2667 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2668 ECHO_T=' ';;
2669 esac;;
2671 ECHO_N='-n';;
2672 esac
2674 rm -f conf$$ conf$$.exe conf$$.file
2675 if test -d conf$$.dir; then
2676 rm -f conf$$.dir/conf$$.file
2677 else
2678 rm -f conf$$.dir
2679 mkdir conf$$.dir 2>/dev/null
2681 if (echo >conf$$.file) 2>/dev/null; then
2682 if ln -s conf$$.file conf$$ 2>/dev/null; then
2683 as_ln_s='ln -s'
2684 # ... but there are two gotchas:
2685 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2686 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2687 # In both cases, we have to default to `cp -pR'.
2688 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2689 as_ln_s='cp -pR'
2690 elif ln conf$$.file conf$$ 2>/dev/null; then
2691 as_ln_s=ln
2692 else
2693 as_ln_s='cp -pR'
2695 else
2696 as_ln_s='cp -pR'
2698 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2699 rmdir conf$$.dir 2>/dev/null
2702 # as_fn_mkdir_p
2703 # -------------
2704 # Create "$as_dir" as a directory, including parents if necessary.
2705 as_fn_mkdir_p ()
2708 case $as_dir in #(
2709 -*) as_dir=./$as_dir;;
2710 esac
2711 test -d "$as_dir" || eval $as_mkdir_p || {
2712 as_dirs=
2713 while :; do
2714 case $as_dir in #(
2715 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2716 *) as_qdir=$as_dir;;
2717 esac
2718 as_dirs="'$as_qdir' $as_dirs"
2719 as_dir=`$as_dirname -- "$as_dir" ||
2720 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2721 X"$as_dir" : 'X\(//\)[^/]' \| \
2722 X"$as_dir" : 'X\(//\)$' \| \
2723 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2724 $as_echo X"$as_dir" |
2725 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2726 s//\1/
2729 /^X\(\/\/\)[^/].*/{
2730 s//\1/
2733 /^X\(\/\/\)$/{
2734 s//\1/
2737 /^X\(\/\).*/{
2738 s//\1/
2741 s/.*/./; q'`
2742 test -d "$as_dir" && break
2743 done
2744 test -z "$as_dirs" || eval "mkdir $as_dirs"
2745 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2748 } # as_fn_mkdir_p
2749 if mkdir -p . 2>/dev/null; then
2750 as_mkdir_p='mkdir -p "$as_dir"'
2751 else
2752 test -d ./-p && rmdir ./-p
2753 as_mkdir_p=false
2757 # as_fn_executable_p FILE
2758 # -----------------------
2759 # Test if FILE is an executable regular file.
2760 as_fn_executable_p ()
2762 test -f "$1" && test -x "$1"
2763 } # as_fn_executable_p
2764 as_test_x='test -x'
2765 as_executable_p=as_fn_executable_p
2767 # Sed expression to map a string onto a valid CPP name.
2768 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2770 # Sed expression to map a string onto a valid variable name.
2771 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2774 exec 6>&1
2775 ## ----------------------------------- ##
2776 ## Main body of $CONFIG_STATUS script. ##
2777 ## ----------------------------------- ##
2778 _ASEOF
2779 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2782 # Save the log message, to keep $0 and so on meaningful, and to
2783 # report actual input values of CONFIG_FILES etc. instead of their
2784 # values after options handling.
2785 ac_log="
2786 This file was extended by $as_me, which was
2787 generated by GNU Autoconf 2.69. Invocation command line was
2789 CONFIG_FILES = $CONFIG_FILES
2790 CONFIG_HEADERS = $CONFIG_HEADERS
2791 CONFIG_LINKS = $CONFIG_LINKS
2792 CONFIG_COMMANDS = $CONFIG_COMMANDS
2793 $ $0 $@
2795 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2798 _ACEOF
2800 case $ac_config_files in *"
2801 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2802 esac
2806 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2807 # Files that config.status was made for.
2808 config_files="$ac_config_files"
2810 _ACEOF
2812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2813 ac_cs_usage="\
2814 \`$as_me' instantiates files and other configuration actions
2815 from templates according to the current configuration. Unless the files
2816 and actions are specified as TAGs, all are instantiated by default.
2818 Usage: $0 [OPTION]... [TAG]...
2820 -h, --help print this help, then exit
2821 -V, --version print version number and configuration settings, then exit
2822 --config print configuration, then exit
2823 -q, --quiet, --silent
2824 do not print progress messages
2825 -d, --debug don't remove temporary files
2826 --recheck update $as_me by reconfiguring in the same conditions
2827 --file=FILE[:TEMPLATE]
2828 instantiate the configuration file FILE
2830 Configuration files:
2831 $config_files
2833 Report bugs to the package provider."
2835 _ACEOF
2836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2837 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2838 ac_cs_version="\\
2839 config.status
2840 configured by $0, generated by GNU Autoconf 2.69,
2841 with options \\"\$ac_cs_config\\"
2843 Copyright (C) 2012 Free Software Foundation, Inc.
2844 This config.status script is free software; the Free Software Foundation
2845 gives unlimited permission to copy, distribute and modify it."
2847 ac_pwd='$ac_pwd'
2848 srcdir='$srcdir'
2849 INSTALL='$INSTALL'
2850 test -n "\$AWK" || AWK=awk
2851 _ACEOF
2853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2854 # The default lists apply if the user does not specify any file.
2855 ac_need_defaults=:
2856 while test $# != 0
2858 case $1 in
2859 --*=?*)
2860 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2861 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2862 ac_shift=:
2864 --*=)
2865 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2866 ac_optarg=
2867 ac_shift=:
2870 ac_option=$1
2871 ac_optarg=$2
2872 ac_shift=shift
2874 esac
2876 case $ac_option in
2877 # Handling of the options.
2878 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2879 ac_cs_recheck=: ;;
2880 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2881 $as_echo "$ac_cs_version"; exit ;;
2882 --config | --confi | --conf | --con | --co | --c )
2883 $as_echo "$ac_cs_config"; exit ;;
2884 --debug | --debu | --deb | --de | --d | -d )
2885 debug=: ;;
2886 --file | --fil | --fi | --f )
2887 $ac_shift
2888 case $ac_optarg in
2889 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2890 '') as_fn_error $? "missing file argument" ;;
2891 esac
2892 as_fn_append CONFIG_FILES " '$ac_optarg'"
2893 ac_need_defaults=false;;
2894 --he | --h | --help | --hel | -h )
2895 $as_echo "$ac_cs_usage"; exit ;;
2896 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2897 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2898 ac_cs_silent=: ;;
2900 # This is an error.
2901 -*) as_fn_error $? "unrecognized option: \`$1'
2902 Try \`$0 --help' for more information." ;;
2904 *) as_fn_append ac_config_targets " $1"
2905 ac_need_defaults=false ;;
2907 esac
2908 shift
2909 done
2911 ac_configure_extra_args=
2913 if $ac_cs_silent; then
2914 exec 6>/dev/null
2915 ac_configure_extra_args="$ac_configure_extra_args --silent"
2918 _ACEOF
2919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2920 if \$ac_cs_recheck; then
2921 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2922 shift
2923 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2924 CONFIG_SHELL='$SHELL'
2925 export CONFIG_SHELL
2926 exec "\$@"
2929 _ACEOF
2930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2931 exec 5>>config.log
2933 echo
2934 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2935 ## Running $as_me. ##
2936 _ASBOX
2937 $as_echo "$ac_log"
2938 } >&5
2940 _ACEOF
2941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2942 _ACEOF
2944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2946 # Handling of arguments.
2947 for ac_config_target in $ac_config_targets
2949 case $ac_config_target in
2950 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2951 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
2952 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
2953 "texi/Makefile") CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
2954 "texi/gnusconfig.tex") CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
2955 "texi/ps/Makefile") CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
2957 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2958 esac
2959 done
2962 # If the user did not use the arguments to specify the items to instantiate,
2963 # then the envvar interface is used. Set only those that are not.
2964 # We use the long form for the default assignment because of an extremely
2965 # bizarre bug on SunOS 4.1.3.
2966 if $ac_need_defaults; then
2967 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2970 # Have a temporary directory for convenience. Make it in the build tree
2971 # simply because there is no reason against having it here, and in addition,
2972 # creating and moving files from /tmp can sometimes cause problems.
2973 # Hook for its removal unless debugging.
2974 # Note that there is a small window in which the directory will not be cleaned:
2975 # after its creation but before its name has been assigned to `$tmp'.
2976 $debug ||
2978 tmp= ac_tmp=
2979 trap 'exit_status=$?
2980 : "${ac_tmp:=$tmp}"
2981 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2983 trap 'as_fn_exit 1' 1 2 13 15
2985 # Create a (secure) tmp directory for tmp files.
2988 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2989 test -d "$tmp"
2990 } ||
2992 tmp=./conf$$-$RANDOM
2993 (umask 077 && mkdir "$tmp")
2994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2995 ac_tmp=$tmp
2997 # Set up the scripts for CONFIG_FILES section.
2998 # No need to generate them if there are no CONFIG_FILES.
2999 # This happens for instance with `./config.status config.h'.
3000 if test -n "$CONFIG_FILES"; then
3003 ac_cr=`echo X | tr X '\015'`
3004 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3005 # But we know of no other shell where ac_cr would be empty at this
3006 # point, so we can use a bashism as a fallback.
3007 if test "x$ac_cr" = x; then
3008 eval ac_cr=\$\'\\r\'
3010 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3011 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3012 ac_cs_awk_cr='\\r'
3013 else
3014 ac_cs_awk_cr=$ac_cr
3017 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3018 _ACEOF
3022 echo "cat >conf$$subs.awk <<_ACEOF" &&
3023 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3024 echo "_ACEOF"
3025 } >conf$$subs.sh ||
3026 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3027 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3028 ac_delim='%!_!# '
3029 for ac_last_try in false false false false false :; do
3030 . ./conf$$subs.sh ||
3031 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3033 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3034 if test $ac_delim_n = $ac_delim_num; then
3035 break
3036 elif $ac_last_try; then
3037 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3038 else
3039 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3041 done
3042 rm -f conf$$subs.sh
3044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3045 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3046 _ACEOF
3047 sed -n '
3049 s/^/S["/; s/!.*/"]=/
3052 s/^[^!]*!//
3053 :repl
3054 t repl
3055 s/'"$ac_delim"'$//
3056 t delim
3059 s/\(.\{148\}\)..*/\1/
3060 t more1
3061 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3064 b repl
3065 :more1
3066 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3069 s/.\{148\}//
3070 t nl
3071 :delim
3073 s/\(.\{148\}\)..*/\1/
3074 t more2
3075 s/["\\]/\\&/g; s/^/"/; s/$/"/
3078 :more2
3079 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3082 s/.\{148\}//
3083 t delim
3084 ' <conf$$subs.awk | sed '
3085 /^[^""]/{
3087 s/\n//
3089 ' >>$CONFIG_STATUS || ac_write_fail=1
3090 rm -f conf$$subs.awk
3091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3092 _ACAWK
3093 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3094 for (key in S) S_is_set[key] = 1
3095 FS = "\a"
3099 line = $ 0
3100 nfields = split(line, field, "@")
3101 substed = 0
3102 len = length(field[1])
3103 for (i = 2; i < nfields; i++) {
3104 key = field[i]
3105 keylen = length(key)
3106 if (S_is_set[key]) {
3107 value = S[key]
3108 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3109 len += length(value) + length(field[++i])
3110 substed = 1
3111 } else
3112 len += 1 + keylen
3115 print line
3118 _ACAWK
3119 _ACEOF
3120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3121 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3122 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3123 else
3125 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3126 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3127 _ACEOF
3129 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3130 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3131 # trailing colons and then remove the whole line if VPATH becomes empty
3132 # (actually we leave an empty line to preserve line numbers).
3133 if test "x$srcdir" = x.; then
3134 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3136 s///
3137 s/^/:/
3138 s/[ ]*$/:/
3139 s/:\$(srcdir):/:/g
3140 s/:\${srcdir}:/:/g
3141 s/:@srcdir@:/:/g
3142 s/^:*//
3143 s/:*$//
3145 s/\(=[ ]*\).*/\1/
3147 s/\n//
3148 s/^[^=]*=[ ]*$//
3152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3153 fi # test -n "$CONFIG_FILES"
3156 eval set X " :F $CONFIG_FILES "
3157 shift
3158 for ac_tag
3160 case $ac_tag in
3161 :[FHLC]) ac_mode=$ac_tag; continue;;
3162 esac
3163 case $ac_mode$ac_tag in
3164 :[FHL]*:*);;
3165 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3166 :[FH]-) ac_tag=-:-;;
3167 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3168 esac
3169 ac_save_IFS=$IFS
3170 IFS=:
3171 set x $ac_tag
3172 IFS=$ac_save_IFS
3173 shift
3174 ac_file=$1
3175 shift
3177 case $ac_mode in
3178 :L) ac_source=$1;;
3179 :[FH])
3180 ac_file_inputs=
3181 for ac_f
3183 case $ac_f in
3184 -) ac_f="$ac_tmp/stdin";;
3185 *) # Look for the file first in the build tree, then in the source tree
3186 # (if the path is not absolute). The absolute path cannot be DOS-style,
3187 # because $ac_f cannot contain `:'.
3188 test -f "$ac_f" ||
3189 case $ac_f in
3190 [\\/$]*) false;;
3191 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3192 esac ||
3193 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3194 esac
3195 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3196 as_fn_append ac_file_inputs " '$ac_f'"
3197 done
3199 # Let's still pretend it is `configure' which instantiates (i.e., don't
3200 # use $as_me), people would be surprised to read:
3201 # /* config.h. Generated by config.status. */
3202 configure_input='Generated from '`
3203 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3204 `' by configure.'
3205 if test x"$ac_file" != x-; then
3206 configure_input="$ac_file. $configure_input"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3208 $as_echo "$as_me: creating $ac_file" >&6;}
3210 # Neutralize special characters interpreted by sed in replacement strings.
3211 case $configure_input in #(
3212 *\&* | *\|* | *\\* )
3213 ac_sed_conf_input=`$as_echo "$configure_input" |
3214 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3215 *) ac_sed_conf_input=$configure_input;;
3216 esac
3218 case $ac_tag in
3219 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3220 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3221 esac
3223 esac
3225 ac_dir=`$as_dirname -- "$ac_file" ||
3226 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3227 X"$ac_file" : 'X\(//\)[^/]' \| \
3228 X"$ac_file" : 'X\(//\)$' \| \
3229 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3230 $as_echo X"$ac_file" |
3231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3232 s//\1/
3235 /^X\(\/\/\)[^/].*/{
3236 s//\1/
3239 /^X\(\/\/\)$/{
3240 s//\1/
3243 /^X\(\/\).*/{
3244 s//\1/
3247 s/.*/./; q'`
3248 as_dir="$ac_dir"; as_fn_mkdir_p
3249 ac_builddir=.
3251 case "$ac_dir" in
3252 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3254 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3255 # A ".." for each directory in $ac_dir_suffix.
3256 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3257 case $ac_top_builddir_sub in
3258 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3259 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3260 esac ;;
3261 esac
3262 ac_abs_top_builddir=$ac_pwd
3263 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3264 # for backward compatibility:
3265 ac_top_builddir=$ac_top_build_prefix
3267 case $srcdir in
3268 .) # We are building in place.
3269 ac_srcdir=.
3270 ac_top_srcdir=$ac_top_builddir_sub
3271 ac_abs_top_srcdir=$ac_pwd ;;
3272 [\\/]* | ?:[\\/]* ) # Absolute name.
3273 ac_srcdir=$srcdir$ac_dir_suffix;
3274 ac_top_srcdir=$srcdir
3275 ac_abs_top_srcdir=$srcdir ;;
3276 *) # Relative name.
3277 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3278 ac_top_srcdir=$ac_top_build_prefix$srcdir
3279 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3280 esac
3281 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3284 case $ac_mode in
3287 # CONFIG_FILE
3290 case $INSTALL in
3291 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3292 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3293 esac
3294 _ACEOF
3296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3297 # If the template does not know about datarootdir, expand it.
3298 # FIXME: This hack should be removed a few years after 2.60.
3299 ac_datarootdir_hack=; ac_datarootdir_seen=
3300 ac_sed_dataroot='
3301 /datarootdir/ {
3305 /@datadir@/p
3306 /@docdir@/p
3307 /@infodir@/p
3308 /@localedir@/p
3309 /@mandir@/p'
3310 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3311 *datarootdir*) ac_datarootdir_seen=yes;;
3312 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3314 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3315 _ACEOF
3316 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3317 ac_datarootdir_hack='
3318 s&@datadir@&$datadir&g
3319 s&@docdir@&$docdir&g
3320 s&@infodir@&$infodir&g
3321 s&@localedir@&$localedir&g
3322 s&@mandir@&$mandir&g
3323 s&\\\${datarootdir}&$datarootdir&g' ;;
3324 esac
3325 _ACEOF
3327 # Neutralize VPATH when `$srcdir' = `.'.
3328 # Shell code in configure.ac might set extrasub.
3329 # FIXME: do we really want to maintain this feature?
3330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3331 ac_sed_extra="$ac_vpsub
3332 $extrasub
3333 _ACEOF
3334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3337 s|@configure_input@|$ac_sed_conf_input|;t t
3338 s&@top_builddir@&$ac_top_builddir_sub&;t t
3339 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3340 s&@srcdir@&$ac_srcdir&;t t
3341 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3342 s&@top_srcdir@&$ac_top_srcdir&;t t
3343 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3344 s&@builddir@&$ac_builddir&;t t
3345 s&@abs_builddir@&$ac_abs_builddir&;t t
3346 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3347 s&@INSTALL@&$ac_INSTALL&;t t
3348 $ac_datarootdir_hack
3350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3351 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3354 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3356 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3358 which seems to be undefined. Please make sure it is defined" >&5
3359 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3360 which seems to be undefined. Please make sure it is defined" >&2;}
3362 rm -f "$ac_tmp/stdin"
3363 case $ac_file in
3364 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3365 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3366 esac \
3367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3372 esac
3374 done # for ac_tag
3377 as_fn_exit 0
3378 _ACEOF
3379 ac_clean_files=$ac_clean_files_save
3381 test $ac_write_fail = 0 ||
3382 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3385 # configure is writing to config.log, and then calls config.status.
3386 # config.status does its own redirection, appending to config.log.
3387 # Unfortunately, on DOS this fails, as config.log is still kept open
3388 # by configure, so config.status won't be able to write to it; its
3389 # output is simply discarded. So we exec the FD to /dev/null,
3390 # effectively closing config.log, so it can be properly (re)opened and
3391 # appended to by config.status. When coming back to configure, we
3392 # need to make the FD available again.
3393 if test "$no_create" != yes; then
3394 ac_cs_success=:
3395 ac_config_status_args=
3396 test "$silent" = yes &&
3397 ac_config_status_args="$ac_config_status_args --quiet"
3398 exec 5>/dev/null
3399 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3400 exec 5>>config.log
3401 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3402 # would make configure fail if this is the last instruction.
3403 $ac_cs_success || as_fn_exit 1
3405 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3407 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}