* mml-sec.el (mml-secure-cust-record-keys):
[gnus.git] / configure
blobd6956042a55c6f75b2eca3979fb901656456aefb
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 COMPRESS_INSTALL
588 GZIP_PROG
589 USE_FONTS
590 WITHOUT_FONTS_bcr
591 WITH_FONTS_bcr
592 WITHOUT_FONTS_pfu
593 WITH_FONTS_pfu
594 WITHOUT_FONTS_bembo
595 WITH_FONTS_bembo
596 LATEX
597 FLAGS
598 info_dir
599 etcdir
600 lispdir
601 EMACS_FLAVOR
602 XEMACS
603 EMACS
604 MAKEINFO
605 INSTALL_DATA
606 INSTALL_SCRIPT
607 INSTALL_PROGRAM
608 SET_MAKE
609 target_alias
610 host_alias
611 build_alias
612 LIBS
613 ECHO_T
614 ECHO_N
615 ECHO_C
616 DEFS
617 mandir
618 localedir
619 libdir
620 psdir
621 pdfdir
622 dvidir
623 htmldir
624 infodir
625 docdir
626 oldincludedir
627 includedir
628 localstatedir
629 sharedstatedir
630 sysconfdir
631 datadir
632 datarootdir
633 libexecdir
634 sbindir
635 bindir
636 program_transform_name
637 prefix
638 exec_prefix
639 PACKAGE_URL
640 PACKAGE_BUGREPORT
641 PACKAGE_STRING
642 PACKAGE_VERSION
643 PACKAGE_TARNAME
644 PACKAGE_NAME
645 PATH_SEPARATOR
646 SHELL'
647 ac_subst_files=''
648 ac_user_opts='
649 enable_option_checking
650 with_xemacs
651 with_emacs
652 with_lispdir
653 with_etcdir
654 with_fonts
655 with_compress_install
657 ac_precious_vars='build_alias
658 host_alias
659 target_alias'
662 # Initialize some variables set by options.
663 ac_init_help=
664 ac_init_version=false
665 ac_unrecognized_opts=
666 ac_unrecognized_sep=
667 # The variables have the same names as the options, with
668 # dashes changed to underlines.
669 cache_file=/dev/null
670 exec_prefix=NONE
671 no_create=
672 no_recursion=
673 prefix=NONE
674 program_prefix=NONE
675 program_suffix=NONE
676 program_transform_name=s,x,x,
677 silent=
678 site=
679 srcdir=
680 verbose=
681 x_includes=NONE
682 x_libraries=NONE
684 # Installation directory options.
685 # These are left unexpanded so users can "make install exec_prefix=/foo"
686 # and all the variables that are supposed to be based on exec_prefix
687 # by default will actually change.
688 # Use braces instead of parens because sh, perl, etc. also accept them.
689 # (The list follows the same order as the GNU Coding Standards.)
690 bindir='${exec_prefix}/bin'
691 sbindir='${exec_prefix}/sbin'
692 libexecdir='${exec_prefix}/libexec'
693 datarootdir='${prefix}/share'
694 datadir='${datarootdir}'
695 sysconfdir='${prefix}/etc'
696 sharedstatedir='${prefix}/com'
697 localstatedir='${prefix}/var'
698 includedir='${prefix}/include'
699 oldincludedir='/usr/include'
700 docdir='${datarootdir}/doc/${PACKAGE}'
701 infodir='${datarootdir}/info'
702 htmldir='${docdir}'
703 dvidir='${docdir}'
704 pdfdir='${docdir}'
705 psdir='${docdir}'
706 libdir='${exec_prefix}/lib'
707 localedir='${datarootdir}/locale'
708 mandir='${datarootdir}/man'
710 ac_prev=
711 ac_dashdash=
712 for ac_option
714 # If the previous option needs an argument, assign it.
715 if test -n "$ac_prev"; then
716 eval $ac_prev=\$ac_option
717 ac_prev=
718 continue
721 case $ac_option in
722 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
723 *=) ac_optarg= ;;
724 *) ac_optarg=yes ;;
725 esac
727 # Accept the important Cygnus configure options, so we can diagnose typos.
729 case $ac_dashdash$ac_option in
731 ac_dashdash=yes ;;
733 -bindir | --bindir | --bindi | --bind | --bin | --bi)
734 ac_prev=bindir ;;
735 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
736 bindir=$ac_optarg ;;
738 -build | --build | --buil | --bui | --bu)
739 ac_prev=build_alias ;;
740 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
741 build_alias=$ac_optarg ;;
743 -cache-file | --cache-file | --cache-fil | --cache-fi \
744 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
745 ac_prev=cache_file ;;
746 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
747 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
748 cache_file=$ac_optarg ;;
750 --config-cache | -C)
751 cache_file=config.cache ;;
753 -datadir | --datadir | --datadi | --datad)
754 ac_prev=datadir ;;
755 -datadir=* | --datadir=* | --datadi=* | --datad=*)
756 datadir=$ac_optarg ;;
758 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
759 | --dataroo | --dataro | --datar)
760 ac_prev=datarootdir ;;
761 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
762 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
763 datarootdir=$ac_optarg ;;
765 -disable-* | --disable-*)
766 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
767 # Reject names that are not valid shell variable names.
768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769 as_fn_error $? "invalid feature name: $ac_useropt"
770 ac_useropt_orig=$ac_useropt
771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772 case $ac_user_opts in
774 "enable_$ac_useropt"
775 "*) ;;
776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
777 ac_unrecognized_sep=', ';;
778 esac
779 eval enable_$ac_useropt=no ;;
781 -docdir | --docdir | --docdi | --doc | --do)
782 ac_prev=docdir ;;
783 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
784 docdir=$ac_optarg ;;
786 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
787 ac_prev=dvidir ;;
788 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
789 dvidir=$ac_optarg ;;
791 -enable-* | --enable-*)
792 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
793 # Reject names that are not valid shell variable names.
794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
795 as_fn_error $? "invalid feature name: $ac_useropt"
796 ac_useropt_orig=$ac_useropt
797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
798 case $ac_user_opts in
800 "enable_$ac_useropt"
801 "*) ;;
802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
803 ac_unrecognized_sep=', ';;
804 esac
805 eval enable_$ac_useropt=\$ac_optarg ;;
807 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
808 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
809 | --exec | --exe | --ex)
810 ac_prev=exec_prefix ;;
811 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
812 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
813 | --exec=* | --exe=* | --ex=*)
814 exec_prefix=$ac_optarg ;;
816 -gas | --gas | --ga | --g)
817 # Obsolete; use --with-gas.
818 with_gas=yes ;;
820 -help | --help | --hel | --he | -h)
821 ac_init_help=long ;;
822 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
823 ac_init_help=recursive ;;
824 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
825 ac_init_help=short ;;
827 -host | --host | --hos | --ho)
828 ac_prev=host_alias ;;
829 -host=* | --host=* | --hos=* | --ho=*)
830 host_alias=$ac_optarg ;;
832 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
833 ac_prev=htmldir ;;
834 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
835 | --ht=*)
836 htmldir=$ac_optarg ;;
838 -includedir | --includedir | --includedi | --included | --include \
839 | --includ | --inclu | --incl | --inc)
840 ac_prev=includedir ;;
841 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
842 | --includ=* | --inclu=* | --incl=* | --inc=*)
843 includedir=$ac_optarg ;;
845 -infodir | --infodir | --infodi | --infod | --info | --inf)
846 ac_prev=infodir ;;
847 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
848 infodir=$ac_optarg ;;
850 -libdir | --libdir | --libdi | --libd)
851 ac_prev=libdir ;;
852 -libdir=* | --libdir=* | --libdi=* | --libd=*)
853 libdir=$ac_optarg ;;
855 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
856 | --libexe | --libex | --libe)
857 ac_prev=libexecdir ;;
858 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
859 | --libexe=* | --libex=* | --libe=*)
860 libexecdir=$ac_optarg ;;
862 -localedir | --localedir | --localedi | --localed | --locale)
863 ac_prev=localedir ;;
864 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
865 localedir=$ac_optarg ;;
867 -localstatedir | --localstatedir | --localstatedi | --localstated \
868 | --localstate | --localstat | --localsta | --localst | --locals)
869 ac_prev=localstatedir ;;
870 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
871 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
872 localstatedir=$ac_optarg ;;
874 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
875 ac_prev=mandir ;;
876 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
877 mandir=$ac_optarg ;;
879 -nfp | --nfp | --nf)
880 # Obsolete; use --without-fp.
881 with_fp=no ;;
883 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
884 | --no-cr | --no-c | -n)
885 no_create=yes ;;
887 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
888 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
889 no_recursion=yes ;;
891 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
892 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
893 | --oldin | --oldi | --old | --ol | --o)
894 ac_prev=oldincludedir ;;
895 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
896 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
897 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
898 oldincludedir=$ac_optarg ;;
900 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
901 ac_prev=prefix ;;
902 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
903 prefix=$ac_optarg ;;
905 -program-prefix | --program-prefix | --program-prefi | --program-pref \
906 | --program-pre | --program-pr | --program-p)
907 ac_prev=program_prefix ;;
908 -program-prefix=* | --program-prefix=* | --program-prefi=* \
909 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
910 program_prefix=$ac_optarg ;;
912 -program-suffix | --program-suffix | --program-suffi | --program-suff \
913 | --program-suf | --program-su | --program-s)
914 ac_prev=program_suffix ;;
915 -program-suffix=* | --program-suffix=* | --program-suffi=* \
916 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
917 program_suffix=$ac_optarg ;;
919 -program-transform-name | --program-transform-name \
920 | --program-transform-nam | --program-transform-na \
921 | --program-transform-n | --program-transform- \
922 | --program-transform | --program-transfor \
923 | --program-transfo | --program-transf \
924 | --program-trans | --program-tran \
925 | --progr-tra | --program-tr | --program-t)
926 ac_prev=program_transform_name ;;
927 -program-transform-name=* | --program-transform-name=* \
928 | --program-transform-nam=* | --program-transform-na=* \
929 | --program-transform-n=* | --program-transform-=* \
930 | --program-transform=* | --program-transfor=* \
931 | --program-transfo=* | --program-transf=* \
932 | --program-trans=* | --program-tran=* \
933 | --progr-tra=* | --program-tr=* | --program-t=*)
934 program_transform_name=$ac_optarg ;;
936 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
937 ac_prev=pdfdir ;;
938 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
939 pdfdir=$ac_optarg ;;
941 -psdir | --psdir | --psdi | --psd | --ps)
942 ac_prev=psdir ;;
943 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
944 psdir=$ac_optarg ;;
946 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
947 | -silent | --silent | --silen | --sile | --sil)
948 silent=yes ;;
950 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
951 ac_prev=sbindir ;;
952 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
953 | --sbi=* | --sb=*)
954 sbindir=$ac_optarg ;;
956 -sharedstatedir | --sharedstatedir | --sharedstatedi \
957 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
958 | --sharedst | --shareds | --shared | --share | --shar \
959 | --sha | --sh)
960 ac_prev=sharedstatedir ;;
961 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
962 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
963 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
964 | --sha=* | --sh=*)
965 sharedstatedir=$ac_optarg ;;
967 -site | --site | --sit)
968 ac_prev=site ;;
969 -site=* | --site=* | --sit=*)
970 site=$ac_optarg ;;
972 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
973 ac_prev=srcdir ;;
974 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
975 srcdir=$ac_optarg ;;
977 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
978 | --syscon | --sysco | --sysc | --sys | --sy)
979 ac_prev=sysconfdir ;;
980 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
981 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
982 sysconfdir=$ac_optarg ;;
984 -target | --target | --targe | --targ | --tar | --ta | --t)
985 ac_prev=target_alias ;;
986 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
987 target_alias=$ac_optarg ;;
989 -v | -verbose | --verbose | --verbos | --verbo | --verb)
990 verbose=yes ;;
992 -version | --version | --versio | --versi | --vers | -V)
993 ac_init_version=: ;;
995 -with-* | --with-*)
996 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
999 as_fn_error $? "invalid package name: $ac_useropt"
1000 ac_useropt_orig=$ac_useropt
1001 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "with_$ac_useropt"
1005 "*) ;;
1006 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1007 ac_unrecognized_sep=', ';;
1008 esac
1009 eval with_$ac_useropt=\$ac_optarg ;;
1011 -without-* | --without-*)
1012 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1013 # Reject names that are not valid shell variable names.
1014 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1015 as_fn_error $? "invalid package name: $ac_useropt"
1016 ac_useropt_orig=$ac_useropt
1017 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1018 case $ac_user_opts in
1020 "with_$ac_useropt"
1021 "*) ;;
1022 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1023 ac_unrecognized_sep=', ';;
1024 esac
1025 eval with_$ac_useropt=no ;;
1027 --x)
1028 # Obsolete; use --with-x.
1029 with_x=yes ;;
1031 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1032 | --x-incl | --x-inc | --x-in | --x-i)
1033 ac_prev=x_includes ;;
1034 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1035 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1036 x_includes=$ac_optarg ;;
1038 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1039 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1040 ac_prev=x_libraries ;;
1041 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1042 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1043 x_libraries=$ac_optarg ;;
1045 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1046 Try \`$0 --help' for more information"
1049 *=*)
1050 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1051 # Reject names that are not valid shell variable names.
1052 case $ac_envvar in #(
1053 '' | [0-9]* | *[!_$as_cr_alnum]* )
1054 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1055 esac
1056 eval $ac_envvar=\$ac_optarg
1057 export $ac_envvar ;;
1060 # FIXME: should be removed in autoconf 3.0.
1061 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1062 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1063 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1064 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1067 esac
1068 done
1070 if test -n "$ac_prev"; then
1071 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1072 as_fn_error $? "missing argument to $ac_option"
1075 if test -n "$ac_unrecognized_opts"; then
1076 case $enable_option_checking in
1077 no) ;;
1078 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1079 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1080 esac
1083 # Check all directory arguments for consistency.
1084 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1085 datadir sysconfdir sharedstatedir localstatedir includedir \
1086 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1087 libdir localedir mandir
1089 eval ac_val=\$$ac_var
1090 # Remove trailing slashes.
1091 case $ac_val in
1092 */ )
1093 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1094 eval $ac_var=\$ac_val;;
1095 esac
1096 # Be sure to have absolute directory names.
1097 case $ac_val in
1098 [\\/$]* | ?:[\\/]* ) continue;;
1099 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1100 esac
1101 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1102 done
1104 # There might be people who depend on the old broken behavior: `$host'
1105 # used to hold the argument of --host etc.
1106 # FIXME: To remove some day.
1107 build=$build_alias
1108 host=$host_alias
1109 target=$target_alias
1111 # FIXME: To remove some day.
1112 if test "x$host_alias" != x; then
1113 if test "x$build_alias" = x; then
1114 cross_compiling=maybe
1115 elif test "x$build_alias" != "x$host_alias"; then
1116 cross_compiling=yes
1120 ac_tool_prefix=
1121 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1123 test "$silent" = yes && exec 6>/dev/null
1126 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1127 ac_ls_di=`ls -di .` &&
1128 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1129 as_fn_error $? "working directory cannot be determined"
1130 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1131 as_fn_error $? "pwd does not report name of working directory"
1134 # Find the source files, if location was not specified.
1135 if test -z "$srcdir"; then
1136 ac_srcdir_defaulted=yes
1137 # Try the directory containing this script, then the parent directory.
1138 ac_confdir=`$as_dirname -- "$as_myself" ||
1139 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1140 X"$as_myself" : 'X\(//\)[^/]' \| \
1141 X"$as_myself" : 'X\(//\)$' \| \
1142 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1143 $as_echo X"$as_myself" |
1144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1145 s//\1/
1148 /^X\(\/\/\)[^/].*/{
1149 s//\1/
1152 /^X\(\/\/\)$/{
1153 s//\1/
1156 /^X\(\/\).*/{
1157 s//\1/
1160 s/.*/./; q'`
1161 srcdir=$ac_confdir
1162 if test ! -r "$srcdir/$ac_unique_file"; then
1163 srcdir=..
1165 else
1166 ac_srcdir_defaulted=no
1168 if test ! -r "$srcdir/$ac_unique_file"; then
1169 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1170 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1172 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1173 ac_abs_confdir=`(
1174 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1175 pwd)`
1176 # When building in place, set srcdir=.
1177 if test "$ac_abs_confdir" = "$ac_pwd"; then
1178 srcdir=.
1180 # Remove unnecessary trailing slashes from srcdir.
1181 # Double slashes in file names in object file debugging info
1182 # mess up M-x gdb in Emacs.
1183 case $srcdir in
1184 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1185 esac
1186 for ac_var in $ac_precious_vars; do
1187 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1188 eval ac_env_${ac_var}_value=\$${ac_var}
1189 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1190 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1191 done
1194 # Report the --help message.
1196 if test "$ac_init_help" = "long"; then
1197 # Omit some internal or obsolete options to make the list less imposing.
1198 # This message is too long to be a string in the A/UX 3.1 sh.
1199 cat <<_ACEOF
1200 \`configure' configures this package to adapt to many kinds of systems.
1202 Usage: $0 [OPTION]... [VAR=VALUE]...
1204 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1205 VAR=VALUE. See below for descriptions of some of the useful variables.
1207 Defaults for the options are specified in brackets.
1209 Configuration:
1210 -h, --help display this help and exit
1211 --help=short display options specific to this package
1212 --help=recursive display the short help of all the included packages
1213 -V, --version display version information and exit
1214 -q, --quiet, --silent do not print \`checking ...' messages
1215 --cache-file=FILE cache test results in FILE [disabled]
1216 -C, --config-cache alias for \`--cache-file=config.cache'
1217 -n, --no-create do not create output files
1218 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1220 Installation directories:
1221 --prefix=PREFIX install architecture-independent files in PREFIX
1222 [$ac_default_prefix]
1223 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1224 [PREFIX]
1226 By default, \`make install' will install all the files in
1227 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1228 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1229 for instance \`--prefix=\$HOME'.
1231 For better control, use the options below.
1233 Fine tuning of the installation directories:
1234 --bindir=DIR user executables [EPREFIX/bin]
1235 --sbindir=DIR system admin executables [EPREFIX/sbin]
1236 --libexecdir=DIR program executables [EPREFIX/libexec]
1237 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1238 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1239 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1240 --libdir=DIR object code libraries [EPREFIX/lib]
1241 --includedir=DIR C header files [PREFIX/include]
1242 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1243 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1244 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1245 --infodir=DIR info documentation [DATAROOTDIR/info]
1246 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1247 --mandir=DIR man documentation [DATAROOTDIR/man]
1248 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1249 --htmldir=DIR html documentation [DOCDIR]
1250 --dvidir=DIR dvi documentation [DOCDIR]
1251 --pdfdir=DIR pdf documentation [DOCDIR]
1252 --psdir=DIR ps documentation [DOCDIR]
1253 _ACEOF
1255 cat <<\_ACEOF
1256 _ACEOF
1259 if test -n "$ac_init_help"; then
1261 cat <<\_ACEOF
1263 Optional Packages:
1264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1266 --with-xemacs[=PROG] use XEmacs to build (default: PROG=xemacs)
1267 --with-emacs[=PROG] use Emacs to build (default: PROG=emacs)
1268 --with-lispdir=DIR Where to install lisp files
1269 --with-etcdir=DIR Where to install etc files
1270 --with-fonts Assume all fonts required are available
1271 --without-compress-install
1272 do not compress .el and .info files when installing.
1274 Report bugs to the package provider.
1275 _ACEOF
1276 ac_status=$?
1279 if test "$ac_init_help" = "recursive"; then
1280 # If there are subdirs, report their specific --help.
1281 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1282 test -d "$ac_dir" ||
1283 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1284 continue
1285 ac_builddir=.
1287 case "$ac_dir" in
1288 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1290 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1291 # A ".." for each directory in $ac_dir_suffix.
1292 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1293 case $ac_top_builddir_sub in
1294 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296 esac ;;
1297 esac
1298 ac_abs_top_builddir=$ac_pwd
1299 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1300 # for backward compatibility:
1301 ac_top_builddir=$ac_top_build_prefix
1303 case $srcdir in
1304 .) # We are building in place.
1305 ac_srcdir=.
1306 ac_top_srcdir=$ac_top_builddir_sub
1307 ac_abs_top_srcdir=$ac_pwd ;;
1308 [\\/]* | ?:[\\/]* ) # Absolute name.
1309 ac_srcdir=$srcdir$ac_dir_suffix;
1310 ac_top_srcdir=$srcdir
1311 ac_abs_top_srcdir=$srcdir ;;
1312 *) # Relative name.
1313 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1314 ac_top_srcdir=$ac_top_build_prefix$srcdir
1315 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1316 esac
1317 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1319 cd "$ac_dir" || { ac_status=$?; continue; }
1320 # Check for guested configure.
1321 if test -f "$ac_srcdir/configure.gnu"; then
1322 echo &&
1323 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1324 elif test -f "$ac_srcdir/configure"; then
1325 echo &&
1326 $SHELL "$ac_srcdir/configure" --help=recursive
1327 else
1328 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1329 fi || ac_status=$?
1330 cd "$ac_pwd" || { ac_status=$?; break; }
1331 done
1334 test -n "$ac_init_help" && exit $ac_status
1335 if $ac_init_version; then
1336 cat <<\_ACEOF
1337 configure
1338 generated by GNU Autoconf 2.69
1340 Copyright (C) 2012 Free Software Foundation, Inc.
1341 This configure script is free software; the Free Software Foundation
1342 gives unlimited permission to copy, distribute and modify it.
1343 _ACEOF
1344 exit
1347 ## ------------------------ ##
1348 ## Autoconf initialization. ##
1349 ## ------------------------ ##
1350 cat >config.log <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1354 It was created by $as_me, which was
1355 generated by GNU Autoconf 2.69. Invocation command line was
1357 $ $0 $@
1359 _ACEOF
1360 exec 5>>config.log
1362 cat <<_ASUNAME
1363 ## --------- ##
1364 ## Platform. ##
1365 ## --------- ##
1367 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1368 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1369 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1370 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1371 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1373 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1374 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1376 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1377 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1378 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1379 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1380 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1381 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1382 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1384 _ASUNAME
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1387 for as_dir in $PATH
1389 IFS=$as_save_IFS
1390 test -z "$as_dir" && as_dir=.
1391 $as_echo "PATH: $as_dir"
1392 done
1393 IFS=$as_save_IFS
1395 } >&5
1397 cat >&5 <<_ACEOF
1400 ## ----------- ##
1401 ## Core tests. ##
1402 ## ----------- ##
1404 _ACEOF
1407 # Keep a trace of the command line.
1408 # Strip out --no-create and --no-recursion so they do not pile up.
1409 # Strip out --silent because we don't want to record it for future runs.
1410 # Also quote any args containing shell meta-characters.
1411 # Make two passes to allow for proper duplicate-argument suppression.
1412 ac_configure_args=
1413 ac_configure_args0=
1414 ac_configure_args1=
1415 ac_must_keep_next=false
1416 for ac_pass in 1 2
1418 for ac_arg
1420 case $ac_arg in
1421 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1422 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1423 | -silent | --silent | --silen | --sile | --sil)
1424 continue ;;
1425 *\'*)
1426 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1427 esac
1428 case $ac_pass in
1429 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1431 as_fn_append ac_configure_args1 " '$ac_arg'"
1432 if test $ac_must_keep_next = true; then
1433 ac_must_keep_next=false # Got value, back to normal.
1434 else
1435 case $ac_arg in
1436 *=* | --config-cache | -C | -disable-* | --disable-* \
1437 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1438 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1439 | -with-* | --with-* | -without-* | --without-* | --x)
1440 case "$ac_configure_args0 " in
1441 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1442 esac
1444 -* ) ac_must_keep_next=true ;;
1445 esac
1447 as_fn_append ac_configure_args " '$ac_arg'"
1449 esac
1450 done
1451 done
1452 { ac_configure_args0=; unset ac_configure_args0;}
1453 { ac_configure_args1=; unset ac_configure_args1;}
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Use '\'' to represent an apostrophe within the trap.
1459 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1463 echo
1465 $as_echo "## ---------------- ##
1466 ## Cache variables. ##
1467 ## ---------------- ##"
1468 echo
1469 # The following way of writing the cache mishandles newlines in values,
1471 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1472 eval ac_val=\$$ac_var
1473 case $ac_val in #(
1474 *${as_nl}*)
1475 case $ac_var in #(
1476 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1477 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1478 esac
1479 case $ac_var in #(
1480 _ | IFS | as_nl) ;; #(
1481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1482 *) { eval $ac_var=; unset $ac_var;} ;;
1483 esac ;;
1484 esac
1485 done
1486 (set) 2>&1 |
1487 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1488 *${as_nl}ac_space=\ *)
1489 sed -n \
1490 "s/'\''/'\''\\\\'\'''\''/g;
1491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1492 ;; #(
1494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1496 esac |
1497 sort
1499 echo
1501 $as_echo "## ----------------- ##
1502 ## Output variables. ##
1503 ## ----------------- ##"
1504 echo
1505 for ac_var in $ac_subst_vars
1507 eval ac_val=\$$ac_var
1508 case $ac_val in
1509 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1510 esac
1511 $as_echo "$ac_var='\''$ac_val'\''"
1512 done | sort
1513 echo
1515 if test -n "$ac_subst_files"; then
1516 $as_echo "## ------------------- ##
1517 ## File substitutions. ##
1518 ## ------------------- ##"
1519 echo
1520 for ac_var in $ac_subst_files
1522 eval ac_val=\$$ac_var
1523 case $ac_val in
1524 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1525 esac
1526 $as_echo "$ac_var='\''$ac_val'\''"
1527 done | sort
1528 echo
1531 if test -s confdefs.h; then
1532 $as_echo "## ----------- ##
1533 ## confdefs.h. ##
1534 ## ----------- ##"
1535 echo
1536 cat confdefs.h
1537 echo
1539 test "$ac_signal" != 0 &&
1540 $as_echo "$as_me: caught signal $ac_signal"
1541 $as_echo "$as_me: exit $exit_status"
1542 } >&5
1543 rm -f core *.core core.conftest.* &&
1544 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1545 exit $exit_status
1547 for ac_signal in 1 2 13 15; do
1548 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1549 done
1550 ac_signal=0
1552 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1553 rm -f -r conftest* confdefs.h
1555 $as_echo "/* confdefs.h */" > confdefs.h
1557 # Predefined preprocessor variables.
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_NAME "$PACKAGE_NAME"
1561 _ACEOF
1563 cat >>confdefs.h <<_ACEOF
1564 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1565 _ACEOF
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1569 _ACEOF
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_STRING "$PACKAGE_STRING"
1573 _ACEOF
1575 cat >>confdefs.h <<_ACEOF
1576 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1577 _ACEOF
1579 cat >>confdefs.h <<_ACEOF
1580 #define PACKAGE_URL "$PACKAGE_URL"
1581 _ACEOF
1584 # Let the site file select an alternate cache file if it wants to.
1585 # Prefer an explicitly selected file to automatically selected ones.
1586 ac_site_file1=NONE
1587 ac_site_file2=NONE
1588 if test -n "$CONFIG_SITE"; then
1589 # We do not want a PATH search for config.site.
1590 case $CONFIG_SITE in #((
1591 -*) ac_site_file1=./$CONFIG_SITE;;
1592 */*) ac_site_file1=$CONFIG_SITE;;
1593 *) ac_site_file1=./$CONFIG_SITE;;
1594 esac
1595 elif test "x$prefix" != xNONE; then
1596 ac_site_file1=$prefix/share/config.site
1597 ac_site_file2=$prefix/etc/config.site
1598 else
1599 ac_site_file1=$ac_default_prefix/share/config.site
1600 ac_site_file2=$ac_default_prefix/etc/config.site
1602 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1604 test "x$ac_site_file" = xNONE && continue
1605 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1607 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1608 sed 's/^/| /' "$ac_site_file" >&5
1609 . "$ac_site_file" \
1610 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1612 as_fn_error $? "failed to load site script $ac_site_file
1613 See \`config.log' for more details" "$LINENO" 5; }
1615 done
1617 if test -r "$cache_file"; then
1618 # Some versions of bash will fail to source /dev/null (special files
1619 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1620 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1621 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1622 $as_echo "$as_me: loading cache $cache_file" >&6;}
1623 case $cache_file in
1624 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1625 *) . "./$cache_file";;
1626 esac
1628 else
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1630 $as_echo "$as_me: creating cache $cache_file" >&6;}
1631 >$cache_file
1634 # Check that the precious variables saved in the cache have kept the same
1635 # value.
1636 ac_cache_corrupted=false
1637 for ac_var in $ac_precious_vars; do
1638 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1639 eval ac_new_set=\$ac_env_${ac_var}_set
1640 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1641 eval ac_new_val=\$ac_env_${ac_var}_value
1642 case $ac_old_set,$ac_new_set in
1643 set,)
1644 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1645 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1646 ac_cache_corrupted=: ;;
1647 ,set)
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1649 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1650 ac_cache_corrupted=: ;;
1651 ,);;
1653 if test "x$ac_old_val" != "x$ac_new_val"; then
1654 # differences in whitespace do not lead to failure.
1655 ac_old_val_w=`echo x $ac_old_val`
1656 ac_new_val_w=`echo x $ac_new_val`
1657 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1659 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1660 ac_cache_corrupted=:
1661 else
1662 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1663 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1664 eval $ac_var=\$ac_old_val
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1667 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1669 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1670 fi;;
1671 esac
1672 # Pass precious variables to config.status.
1673 if test "$ac_new_set" = set; then
1674 case $ac_new_val in
1675 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1676 *) ac_arg=$ac_var=$ac_new_val ;;
1677 esac
1678 case " $ac_configure_args " in
1679 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1680 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1681 esac
1683 done
1684 if $ac_cache_corrupted; then
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1686 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1688 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1689 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1691 ## -------------------- ##
1692 ## Main body of script. ##
1693 ## -------------------- ##
1695 ac_ext=c
1696 ac_cpp='$CPP $CPPFLAGS'
1697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1703 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1704 set x ${MAKE-make}
1705 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1706 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1707 $as_echo_n "(cached) " >&6
1708 else
1709 cat >conftest.make <<\_ACEOF
1710 SHELL = /bin/sh
1711 all:
1712 @echo '@@@%%%=$(MAKE)=@@@%%%'
1713 _ACEOF
1714 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1715 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1716 *@@@%%%=?*=@@@%%%*)
1717 eval ac_cv_prog_make_${ac_make}_set=yes;;
1719 eval ac_cv_prog_make_${ac_make}_set=no;;
1720 esac
1721 rm -f conftest.make
1723 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1725 $as_echo "yes" >&6; }
1726 SET_MAKE=
1727 else
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1729 $as_echo "no" >&6; }
1730 SET_MAKE="MAKE=${MAKE-make}"
1733 ac_aux_dir=
1734 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1735 if test -f "$ac_dir/install-sh"; then
1736 ac_aux_dir=$ac_dir
1737 ac_install_sh="$ac_aux_dir/install-sh -c"
1738 break
1739 elif test -f "$ac_dir/install.sh"; then
1740 ac_aux_dir=$ac_dir
1741 ac_install_sh="$ac_aux_dir/install.sh -c"
1742 break
1743 elif test -f "$ac_dir/shtool"; then
1744 ac_aux_dir=$ac_dir
1745 ac_install_sh="$ac_aux_dir/shtool install -c"
1746 break
1748 done
1749 if test -z "$ac_aux_dir"; then
1750 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1753 # These three variables are undocumented and unsupported,
1754 # and are intended to be withdrawn in a future Autoconf release.
1755 # They can cause serious problems if a builder's source tree is in a directory
1756 # whose full name contains unusual characters.
1757 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1758 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1759 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1762 # Find a good install program. We prefer a C program (faster),
1763 # so one script is as good as another. But avoid the broken or
1764 # incompatible versions:
1765 # SysV /etc/install, /usr/sbin/install
1766 # SunOS /usr/etc/install
1767 # IRIX /sbin/install
1768 # AIX /bin/install
1769 # AmigaOS /C/install, which installs bootblocks on floppy discs
1770 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1771 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1772 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1773 # OS/2's system install, which has a completely different semantic
1774 # ./install, which can be erroneously created by make from ./install.sh.
1775 # Reject install programs that cannot install multiple files.
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1777 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1778 if test -z "$INSTALL"; then
1779 if ${ac_cv_path_install+:} false; then :
1780 $as_echo_n "(cached) " >&6
1781 else
1782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783 for as_dir in $PATH
1785 IFS=$as_save_IFS
1786 test -z "$as_dir" && as_dir=.
1787 # Account for people who put trailing slashes in PATH elements.
1788 case $as_dir/ in #((
1789 ./ | .// | /[cC]/* | \
1790 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1791 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1792 /usr/ucb/* ) ;;
1794 # OSF1 and SCO ODT 3.0 have their own names for install.
1795 # Don't use installbsd from OSF since it installs stuff as root
1796 # by default.
1797 for ac_prog in ginstall scoinst install; do
1798 for ac_exec_ext in '' $ac_executable_extensions; do
1799 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1800 if test $ac_prog = install &&
1801 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1802 # AIX install. It has an incompatible calling convention.
1804 elif test $ac_prog = install &&
1805 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1806 # program-specific install script used by HP pwplus--don't use.
1808 else
1809 rm -rf conftest.one conftest.two conftest.dir
1810 echo one > conftest.one
1811 echo two > conftest.two
1812 mkdir conftest.dir
1813 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1814 test -s conftest.one && test -s conftest.two &&
1815 test -s conftest.dir/conftest.one &&
1816 test -s conftest.dir/conftest.two
1817 then
1818 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1819 break 3
1823 done
1824 done
1826 esac
1828 done
1829 IFS=$as_save_IFS
1831 rm -rf conftest.one conftest.two conftest.dir
1834 if test "${ac_cv_path_install+set}" = set; then
1835 INSTALL=$ac_cv_path_install
1836 else
1837 # As a last resort, use the slow shell script. Don't cache a
1838 # value for INSTALL within a source directory, because that will
1839 # break other packages using the cache if that directory is
1840 # removed, or if the value is a relative name.
1841 INSTALL=$ac_install_sh
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1845 $as_echo "$INSTALL" >&6; }
1847 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1848 # It thinks the first close brace ends the variable substitution.
1849 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1851 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1853 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1856 if test "${EMACS}" = "t" -o -n "${INSIDE_EMACS}"; then
1857 EMACS=""
1861 # Check whether --with-xemacs was given.
1862 if test "${with_xemacs+set}" = set; then :
1863 withval=$with_xemacs; if test "${withval}" = "yes"; then EMACS=xemacs; else EMACS=${withval}; fi
1867 # Check whether --with-emacs was given.
1868 if test "${with_emacs+set}" = set; then :
1869 withval=$with_emacs; if test "${withval}" = "yes"; then EMACS=emacs; else EMACS=${withval}; fi
1872 # Extract the first word of "makeinfo", so it can be a program name with args.
1873 set dummy makeinfo; ac_word=$2
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1875 $as_echo_n "checking for $ac_word... " >&6; }
1876 if ${ac_cv_prog_MAKEINFO+:} false; then :
1877 $as_echo_n "(cached) " >&6
1878 else
1879 if test -n "$MAKEINFO"; then
1880 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
1881 else
1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1883 for as_dir in $PATH
1885 IFS=$as_save_IFS
1886 test -z "$as_dir" && as_dir=.
1887 for ac_exec_ext in '' $ac_executable_extensions; do
1888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1889 ac_cv_prog_MAKEINFO="makeinfo"
1890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1891 break 2
1893 done
1894 done
1895 IFS=$as_save_IFS
1897 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="no"
1900 MAKEINFO=$ac_cv_prog_MAKEINFO
1901 if test -n "$MAKEINFO"; then
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
1903 $as_echo "$MAKEINFO" >&6; }
1904 else
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1906 $as_echo "no" >&6; }
1911 # Extract the first word of "emacs", so it can be a program name with args.
1912 set dummy emacs; ac_word=$2
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1914 $as_echo_n "checking for $ac_word... " >&6; }
1915 if ${ac_cv_prog_EMACS+:} false; then :
1916 $as_echo_n "(cached) " >&6
1917 else
1918 if test -n "$EMACS"; then
1919 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
1920 else
1921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922 for as_dir in $PATH
1924 IFS=$as_save_IFS
1925 test -z "$as_dir" && as_dir=.
1926 for ac_exec_ext in '' $ac_executable_extensions; do
1927 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1928 ac_cv_prog_EMACS="emacs"
1929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1930 break 2
1932 done
1933 done
1934 IFS=$as_save_IFS
1936 test -z "$ac_cv_prog_EMACS" && ac_cv_prog_EMACS="xemacs"
1939 EMACS=$ac_cv_prog_EMACS
1940 if test -n "$EMACS"; then
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
1942 $as_echo "$EMACS" >&6; }
1943 else
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1945 $as_echo "no" >&6; }
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $EMACS is really XEmacs" >&5
1953 $as_echo_n "checking if $EMACS is really XEmacs... " >&6; }
1955 elisp="(if (string-match \"XEmacs\" emacs-version) \"yes\" \"no\") "
1956 if test -z ""noecho""; then
1957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xemacsp" >&5
1958 $as_echo_n "checking for xemacsp... " >&6; }
1960 if ${EMACS_cv_SYS_xemacsp+:} false; then :
1961 $as_echo_n "(cached) " >&6
1962 else
1964 OUTPUT=./conftest-$$
1965 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
1966 ${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
1967 retval=`cat ${OUTPUT}`
1968 echo "=> ${retval}" >& 5 2>&1
1969 rm -f ${OUTPUT}
1970 EMACS_cv_SYS_xemacsp=$retval
1974 xemacsp=${EMACS_cv_SYS_xemacsp}
1975 if test -z ""noecho""; then
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xemacsp" >&5
1977 $as_echo "$xemacsp" >&6; }
1980 XEMACS=${EMACS_cv_SYS_xemacsp}
1981 EMACS_FLAVOR=emacs
1982 if test "$XEMACS" = "yes"; then
1983 EMACS_FLAVOR=xemacs
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XEMACS" >&5
1986 $as_echo "$XEMACS" >&6; }
1990 if test "$prefix" = "NONE"; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking prefix for your Emacs" >&5
1992 $as_echo_n "checking prefix for your Emacs... " >&6; }
1994 elisp="(expand-file-name \"..\" invocation-directory)"
1995 if test -z ""noecho""; then
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prefix" >&5
1997 $as_echo_n "checking for prefix... " >&6; }
1999 if ${EMACS_cv_SYS_prefix+:} false; then :
2000 $as_echo_n "(cached) " >&6
2001 else
2003 OUTPUT=./conftest-$$
2004 echo ${EMACS} -batch -eval "(let ((x ${elisp})) (write-region (if (stringp x) (princ x) (prin1-to-string x)) nil \"${OUTPUT}\"))" >& 5 2>&1
2005 ${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
2006 retval=`cat ${OUTPUT}`
2007 echo "=> ${retval}" >& 5 2>&1
2008 rm -f ${OUTPUT}
2009 EMACS_cv_SYS_prefix=$retval
2013 prefix=${EMACS_cv_SYS_prefix}
2014 if test -z ""noecho""; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2016 $as_echo "$prefix" >&6; }
2019 prefix=${EMACS_cv_SYS_prefix}
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $prefix" >&5
2021 $as_echo "$prefix" >&6; }
2024 # Check whether --with-lispdir was given.
2025 if test "${with_lispdir+set}" = set; then :
2026 withval=$with_lispdir; lispdir=${withval}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2030 $as_echo_n "checking where .elc files should go... " >&6; }
2031 if test -z "$lispdir"; then
2032 theprefix=$prefix
2033 if test "x$theprefix" = "xNONE"; then
2034 theprefix=$ac_default_prefix
2036 if test "$EMACS_FLAVOR" = "xemacs"; then
2037 datadir="\$(prefix)/lib"
2038 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2039 else
2040 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2042 for thedir in share lib; do
2043 potential=
2044 if test -d "${theprefix}/${thedir}/${EMACS_FLAVOR}/site-lisp"; then
2045 if test "$EMACS_FLAVOR" = "xemacs"; then
2046 lispdir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/lisp/gnus"
2047 else
2048 lispdir="\$(datadir)/${EMACS_FLAVOR}/site-lisp/gnus"
2050 break
2052 done
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2055 $as_echo "$lispdir" >&6; }
2060 # Check whether --with-etcdir was given.
2061 if test "${with_etcdir+set}" = set; then :
2062 withval=$with_etcdir; etcdir=${withval}
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where etc files should go" >&5
2066 $as_echo_n "checking where etc files should go... " >&6; }
2067 if test -z "$etcdir"; then
2068 if test "$EMACS_FLAVOR" = "xemacs"; then
2069 etcdir="\$(lispdir)/../../etc"
2070 else
2071 etcdir="\$(lispdir)/../../etc"
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $etcdir" >&5
2075 $as_echo "$etcdir" >&6; }
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the TeXinfo docs should go" >&5
2080 $as_echo_n "checking where the TeXinfo docs should go... " >&6; }
2081 if test "$infodir" = "\${prefix}/info"; then
2082 if test "$EMACS_FLAVOR" = "xemacs"; then
2083 info_dir="\$(prefix)/${thedir}/${EMACS_FLAVOR}/site-packages/info"
2084 else
2085 info_dir="\$(prefix)/info"
2087 else
2088 info_dir=$infodir
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $info_dir" >&5
2091 $as_echo "$info_dir" >&6; }
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which options to pass on to (X)Emacs" >&5
2096 $as_echo_n "checking which options to pass on to (X)Emacs... " >&6; }
2097 if test "x$FLAGS" = "x"; then
2098 if test "$EMACS_FLAVOR" = "xemacs"; then
2099 FLAGS="-batch -no-autoloads -l \$(srcdir)/dgnushack.el"
2100 else
2101 FLAGS="-batch -q -no-site-file -l \$(srcdir)/dgnushack.el"
2103 else
2104 FLAGS=$FLAGS
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLAGS" >&5
2107 $as_echo "$FLAGS" >&6; }
2111 test "$LATEX" = t && LATEX=
2112 test "$LATEX" || for ac_prog in latex
2114 # Extract the first word of "$ac_prog", so it can be a program name with args.
2115 set dummy $ac_prog; ac_word=$2
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2117 $as_echo_n "checking for $ac_word... " >&6; }
2118 if ${ac_cv_path_LATEX+:} false; then :
2119 $as_echo_n "(cached) " >&6
2120 else
2121 case $LATEX in
2122 [\\/]* | ?:[\\/]*)
2123 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 for as_dir in $PATH
2129 IFS=$as_save_IFS
2130 test -z "$as_dir" && as_dir=.
2131 for ac_exec_ext in '' $ac_executable_extensions; do
2132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2133 ac_cv_path_LATEX="$as_dir/$ac_word$ac_exec_ext"
2134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 break 2
2137 done
2138 done
2139 IFS=$as_save_IFS
2142 esac
2144 LATEX=$ac_cv_path_LATEX
2145 if test -n "$LATEX"; then
2146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LATEX" >&5
2147 $as_echo "$LATEX" >&6; }
2148 else
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2150 $as_echo "no" >&6; }
2154 test -n "$LATEX" && break
2155 done
2156 test -n "$LATEX" || LATEX="no"
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for available fonts" >&5
2159 $as_echo_n "checking for available fonts... " >&6; }
2161 # Check whether --with-fonts was given.
2162 if test "${with_fonts+set}" = set; then :
2163 withval=$with_fonts; USE_FONTS="$withval"
2166 WITH_FONTS_bembo='%'
2167 WITHOUT_FONTS_bembo=
2168 WITH_FONTS_pfu='%'
2169 WITHOUT_FONTS_pfu=
2170 WITH_FONTS_bcr='%'
2171 WITHOUT_FONTS_bcr=
2172 if test -z "${USE_FONTS}"; then
2173 if test "${LATEX}" = no; then
2175 else
2176 OUTPUT=./conftest-$$
2177 echo '\nonstopmode\documentclass{article}\usepackage{bembo}\begin{document}\end{document}' > ${OUTPUT}
2178 if ${LATEX} ${OUTPUT} </dev/null >& 5 2>&1 ; then
2179 if test -z "${USE_FONTS}"; then
2180 USE_FONTS="Adobe Bembo"
2181 else
2182 USE_FONTS="${USE_FONTS}, Adobe Bembo"
2184 WITH_FONTS_bembo=
2185 WITHOUT_FONTS_bembo='%'
2187 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{pfu}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2188 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2189 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2191 else
2192 if test -z "${USE_FONTS}"; then
2193 USE_FONTS="Adobe Futura"
2194 else
2195 USE_FONTS="${USE_FONTS}, Adobe Futura"
2197 WITH_FONTS_pfu=
2198 WITHOUT_FONTS_pfu='%'
2201 echo '\nonstopmode\documentclass{article}\begin{document}{\fontfamily{bcr}\fontsize{10pt}{10}\selectfont test}\end{document}' > ${OUTPUT}
2202 if retval=`${LATEX} ${OUTPUT} </dev/null 2>& 5`; then
2203 if echo "$retval" | grep 'Some font shapes were not available' >& 5 2>&1 ; then
2205 else
2206 if test -z "${USE_FONTS}"; then
2207 USE_FONTS="Bitstream Courier"
2208 else
2209 USE_FONTS="${USE_FONTS}, Bitstream Courier"
2211 WITH_FONTS_bcr=
2212 WITHOUT_FONTS_bcr='%'
2215 rm -f ${OUTPUT} ${OUTPUT}.aux ${OUTPUT}.log ${OUTPUT}.dvi
2217 elif test "${USE_FONTS}" = yes ; then
2218 WITH_FONTS_bembo=
2219 WITHOUT_FONTS_bembo='%'
2220 WITH_FONTS_pfu=
2221 WITHOUT_FONTS_pfu='%'
2222 WITH_FONTS_bcr=
2223 WITHOUT_FONTS_bcr='%'
2231 if test -z "${USE_FONTS}" ; then
2232 USE_FONTS=no
2234 USE_FONTS=`echo "${USE_FONTS}" | sed 's/,\([^,]*\)$/ and\1/'`
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: \"${USE_FONTS}\"" >&5
2236 $as_echo "\"${USE_FONTS}\"" >&6; }
2237 if test "${USE_FONTS}" = yes ; then
2238 USE_FONTS='Set in Adobe Bembo, Adobe Futura and Bitstream Courier.'
2239 elif test "${USE_FONTS}" = no ; then
2240 USE_FONTS=''
2241 else
2242 USE_FONTS="Set in ${USE_FONTS}."
2247 # Extract the first word of "gzip", so it can be a program name with args.
2248 set dummy gzip; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_path_GZIP_PROG+:} false; then :
2252 $as_echo_n "(cached) " >&6
2253 else
2254 case $GZIP_PROG in
2255 [\\/]* | ?:[\\/]*)
2256 ac_cv_path_GZIP_PROG="$GZIP_PROG" # Let the user override the test with a path.
2259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 for as_dir in $PATH
2262 IFS=$as_save_IFS
2263 test -z "$as_dir" && as_dir=.
2264 for ac_exec_ext in '' $ac_executable_extensions; do
2265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2266 ac_cv_path_GZIP_PROG="$as_dir/$ac_word$ac_exec_ext"
2267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 break 2
2270 done
2271 done
2272 IFS=$as_save_IFS
2275 esac
2277 GZIP_PROG=$ac_cv_path_GZIP_PROG
2278 if test -n "$GZIP_PROG"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GZIP_PROG" >&5
2280 $as_echo "$GZIP_PROG" >&6; }
2281 else
2282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2283 $as_echo "no" >&6; }
2288 # Check whether --with-compress-install was given.
2289 if test "${with_compress_install+set}" = set; then :
2290 withval=$with_compress_install; if test "${withval}" = no; then
2291 COMPRESS_INSTALL=no;
2292 else
2293 if test -n "${GZIP_PROG}"; then
2294 COMPRESS_INSTALL=yes;
2295 else
2296 COMPRESS_INSTALL=no;
2299 else
2300 if test -n "${GZIP_PROG}"; then
2301 COMPRESS_INSTALL=yes;
2302 else
2303 COMPRESS_INSTALL=no;
2309 ac_config_files="$ac_config_files Makefile etc/Makefile lisp/Makefile texi/Makefile texi/gnusconfig.tex texi/ps/Makefile"
2311 cat >confcache <<\_ACEOF
2312 # This file is a shell script that caches the results of configure
2313 # tests run on this system so they can be shared between configure
2314 # scripts and configure runs, see configure's option --config-cache.
2315 # It is not useful on other systems. If it contains results you don't
2316 # want to keep, you may remove or edit it.
2318 # config.status only pays attention to the cache file if you give it
2319 # the --recheck option to rerun configure.
2321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2323 # following values.
2325 _ACEOF
2327 # The following way of writing the cache mishandles newlines in values,
2328 # but we know of no workaround that is simple, portable, and efficient.
2329 # So, we kill variables containing newlines.
2330 # Ultrix sh set writes to stderr and can't be redirected directly,
2331 # and sets the high bit in the cache file unless we assign to the vars.
2333 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2334 eval ac_val=\$$ac_var
2335 case $ac_val in #(
2336 *${as_nl}*)
2337 case $ac_var in #(
2338 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2339 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2340 esac
2341 case $ac_var in #(
2342 _ | IFS | as_nl) ;; #(
2343 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2344 *) { eval $ac_var=; unset $ac_var;} ;;
2345 esac ;;
2346 esac
2347 done
2349 (set) 2>&1 |
2350 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2351 *${as_nl}ac_space=\ *)
2352 # `set' does not quote correctly, so add quotes: double-quote
2353 # substitution turns \\\\ into \\, and sed turns \\ into \.
2354 sed -n \
2355 "s/'/'\\\\''/g;
2356 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2357 ;; #(
2359 # `set' quotes correctly as required by POSIX, so do not add quotes.
2360 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2362 esac |
2363 sort
2365 sed '
2366 /^ac_cv_env_/b end
2367 t clear
2368 :clear
2369 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2370 t end
2371 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2372 :end' >>confcache
2373 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2374 if test -w "$cache_file"; then
2375 if test "x$cache_file" != "x/dev/null"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2377 $as_echo "$as_me: updating cache $cache_file" >&6;}
2378 if test ! -f "$cache_file" || test -h "$cache_file"; then
2379 cat confcache >"$cache_file"
2380 else
2381 case $cache_file in #(
2382 */* | ?:*)
2383 mv -f confcache "$cache_file"$$ &&
2384 mv -f "$cache_file"$$ "$cache_file" ;; #(
2386 mv -f confcache "$cache_file" ;;
2387 esac
2390 else
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2392 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2395 rm -f confcache
2397 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2398 # Let make expand exec_prefix.
2399 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2401 # Transform confdefs.h into DEFS.
2402 # Protect against shell expansion while executing Makefile rules.
2403 # Protect against Makefile macro expansion.
2405 # If the first sed substitution is executed (which looks for macros that
2406 # take arguments), then branch to the quote section. Otherwise,
2407 # look for a macro that doesn't take arguments.
2408 ac_script='
2409 :mline
2410 /\\$/{
2412 s,\\\n,,
2413 b mline
2415 t clear
2416 :clear
2417 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2418 t quote
2419 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2420 t quote
2421 b any
2422 :quote
2423 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2424 s/\[/\\&/g
2425 s/\]/\\&/g
2426 s/\$/$$/g
2428 :any
2431 s/^\n//
2432 s/\n/ /g
2436 DEFS=`sed -n "$ac_script" confdefs.h`
2439 ac_libobjs=
2440 ac_ltlibobjs=
2442 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2443 # 1. Remove the extension, and $U if already installed.
2444 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2445 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2446 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2447 # will be set to the directory where LIBOBJS objects are built.
2448 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2449 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2450 done
2451 LIBOBJS=$ac_libobjs
2453 LTLIBOBJS=$ac_ltlibobjs
2457 : "${CONFIG_STATUS=./config.status}"
2458 ac_write_fail=0
2459 ac_clean_files_save=$ac_clean_files
2460 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2462 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2463 as_write_fail=0
2464 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2465 #! $SHELL
2466 # Generated by $as_me.
2467 # Run this file to recreate the current configuration.
2468 # Compiler output produced by configure, useful for debugging
2469 # configure, is in config.log if it exists.
2471 debug=false
2472 ac_cs_recheck=false
2473 ac_cs_silent=false
2475 SHELL=\${CONFIG_SHELL-$SHELL}
2476 export SHELL
2477 _ASEOF
2478 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2479 ## -------------------- ##
2480 ## M4sh Initialization. ##
2481 ## -------------------- ##
2483 # Be more Bourne compatible
2484 DUALCASE=1; export DUALCASE # for MKS sh
2485 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2486 emulate sh
2487 NULLCMD=:
2488 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2489 # is contrary to our usage. Disable this feature.
2490 alias -g '${1+"$@"}'='"$@"'
2491 setopt NO_GLOB_SUBST
2492 else
2493 case `(set -o) 2>/dev/null` in #(
2494 *posix*) :
2495 set -o posix ;; #(
2496 *) :
2498 esac
2502 as_nl='
2504 export as_nl
2505 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2506 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2507 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2508 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2509 # Prefer a ksh shell builtin over an external printf program on Solaris,
2510 # but without wasting forks for bash or zsh.
2511 if test -z "$BASH_VERSION$ZSH_VERSION" \
2512 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2513 as_echo='print -r --'
2514 as_echo_n='print -rn --'
2515 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2516 as_echo='printf %s\n'
2517 as_echo_n='printf %s'
2518 else
2519 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2520 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2521 as_echo_n='/usr/ucb/echo -n'
2522 else
2523 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2524 as_echo_n_body='eval
2525 arg=$1;
2526 case $arg in #(
2527 *"$as_nl"*)
2528 expr "X$arg" : "X\\(.*\\)$as_nl";
2529 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2530 esac;
2531 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2533 export as_echo_n_body
2534 as_echo_n='sh -c $as_echo_n_body as_echo'
2536 export as_echo_body
2537 as_echo='sh -c $as_echo_body as_echo'
2540 # The user is always right.
2541 if test "${PATH_SEPARATOR+set}" != set; then
2542 PATH_SEPARATOR=:
2543 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2544 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2545 PATH_SEPARATOR=';'
2550 # IFS
2551 # We need space, tab and new line, in precisely that order. Quoting is
2552 # there to prevent editors from complaining about space-tab.
2553 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2554 # splitting by setting IFS to empty value.)
2555 IFS=" "" $as_nl"
2557 # Find who we are. Look in the path if we contain no directory separator.
2558 as_myself=
2559 case $0 in #((
2560 *[\\/]* ) as_myself=$0 ;;
2561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562 for as_dir in $PATH
2564 IFS=$as_save_IFS
2565 test -z "$as_dir" && as_dir=.
2566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2567 done
2568 IFS=$as_save_IFS
2571 esac
2572 # We did not find ourselves, most probably we were run as `sh COMMAND'
2573 # in which case we are not to be found in the path.
2574 if test "x$as_myself" = x; then
2575 as_myself=$0
2577 if test ! -f "$as_myself"; then
2578 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2579 exit 1
2582 # Unset variables that we do not need and which cause bugs (e.g. in
2583 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2584 # suppresses any "Segmentation fault" message there. '((' could
2585 # trigger a bug in pdksh 5.2.14.
2586 for as_var in BASH_ENV ENV MAIL MAILPATH
2587 do eval test x\${$as_var+set} = xset \
2588 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2589 done
2590 PS1='$ '
2591 PS2='> '
2592 PS4='+ '
2594 # NLS nuisances.
2595 LC_ALL=C
2596 export LC_ALL
2597 LANGUAGE=C
2598 export LANGUAGE
2600 # CDPATH.
2601 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2604 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2605 # ----------------------------------------
2606 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2607 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2608 # script with STATUS, using 1 if that was 0.
2609 as_fn_error ()
2611 as_status=$1; test $as_status -eq 0 && as_status=1
2612 if test "$4"; then
2613 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2614 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2616 $as_echo "$as_me: error: $2" >&2
2617 as_fn_exit $as_status
2618 } # as_fn_error
2621 # as_fn_set_status STATUS
2622 # -----------------------
2623 # Set $? to STATUS, without forking.
2624 as_fn_set_status ()
2626 return $1
2627 } # as_fn_set_status
2629 # as_fn_exit STATUS
2630 # -----------------
2631 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2632 as_fn_exit ()
2634 set +e
2635 as_fn_set_status $1
2636 exit $1
2637 } # as_fn_exit
2639 # as_fn_unset VAR
2640 # ---------------
2641 # Portably unset VAR.
2642 as_fn_unset ()
2644 { eval $1=; unset $1;}
2646 as_unset=as_fn_unset
2647 # as_fn_append VAR VALUE
2648 # ----------------------
2649 # Append the text in VALUE to the end of the definition contained in VAR. Take
2650 # advantage of any shell optimizations that allow amortized linear growth over
2651 # repeated appends, instead of the typical quadratic growth present in naive
2652 # implementations.
2653 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2654 eval 'as_fn_append ()
2656 eval $1+=\$2
2658 else
2659 as_fn_append ()
2661 eval $1=\$$1\$2
2663 fi # as_fn_append
2665 # as_fn_arith ARG...
2666 # ------------------
2667 # Perform arithmetic evaluation on the ARGs, and store the result in the
2668 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2669 # must be portable across $(()) and expr.
2670 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2671 eval 'as_fn_arith ()
2673 as_val=$(( $* ))
2675 else
2676 as_fn_arith ()
2678 as_val=`expr "$@" || test $? -eq 1`
2680 fi # as_fn_arith
2683 if expr a : '\(a\)' >/dev/null 2>&1 &&
2684 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2685 as_expr=expr
2686 else
2687 as_expr=false
2690 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2691 as_basename=basename
2692 else
2693 as_basename=false
2696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2697 as_dirname=dirname
2698 else
2699 as_dirname=false
2702 as_me=`$as_basename -- "$0" ||
2703 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2704 X"$0" : 'X\(//\)$' \| \
2705 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2706 $as_echo X/"$0" |
2707 sed '/^.*\/\([^/][^/]*\)\/*$/{
2708 s//\1/
2711 /^X\/\(\/\/\)$/{
2712 s//\1/
2715 /^X\/\(\/\).*/{
2716 s//\1/
2719 s/.*/./; q'`
2721 # Avoid depending upon Character Ranges.
2722 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2723 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2724 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2725 as_cr_digits='0123456789'
2726 as_cr_alnum=$as_cr_Letters$as_cr_digits
2728 ECHO_C= ECHO_N= ECHO_T=
2729 case `echo -n x` in #(((((
2730 -n*)
2731 case `echo 'xy\c'` in
2732 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2733 xy) ECHO_C='\c';;
2734 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2735 ECHO_T=' ';;
2736 esac;;
2738 ECHO_N='-n';;
2739 esac
2741 rm -f conf$$ conf$$.exe conf$$.file
2742 if test -d conf$$.dir; then
2743 rm -f conf$$.dir/conf$$.file
2744 else
2745 rm -f conf$$.dir
2746 mkdir conf$$.dir 2>/dev/null
2748 if (echo >conf$$.file) 2>/dev/null; then
2749 if ln -s conf$$.file conf$$ 2>/dev/null; then
2750 as_ln_s='ln -s'
2751 # ... but there are two gotchas:
2752 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2753 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2754 # In both cases, we have to default to `cp -pR'.
2755 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2756 as_ln_s='cp -pR'
2757 elif ln conf$$.file conf$$ 2>/dev/null; then
2758 as_ln_s=ln
2759 else
2760 as_ln_s='cp -pR'
2762 else
2763 as_ln_s='cp -pR'
2765 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2766 rmdir conf$$.dir 2>/dev/null
2769 # as_fn_mkdir_p
2770 # -------------
2771 # Create "$as_dir" as a directory, including parents if necessary.
2772 as_fn_mkdir_p ()
2775 case $as_dir in #(
2776 -*) as_dir=./$as_dir;;
2777 esac
2778 test -d "$as_dir" || eval $as_mkdir_p || {
2779 as_dirs=
2780 while :; do
2781 case $as_dir in #(
2782 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2783 *) as_qdir=$as_dir;;
2784 esac
2785 as_dirs="'$as_qdir' $as_dirs"
2786 as_dir=`$as_dirname -- "$as_dir" ||
2787 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2788 X"$as_dir" : 'X\(//\)[^/]' \| \
2789 X"$as_dir" : 'X\(//\)$' \| \
2790 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2791 $as_echo X"$as_dir" |
2792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2793 s//\1/
2796 /^X\(\/\/\)[^/].*/{
2797 s//\1/
2800 /^X\(\/\/\)$/{
2801 s//\1/
2804 /^X\(\/\).*/{
2805 s//\1/
2808 s/.*/./; q'`
2809 test -d "$as_dir" && break
2810 done
2811 test -z "$as_dirs" || eval "mkdir $as_dirs"
2812 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2815 } # as_fn_mkdir_p
2816 if mkdir -p . 2>/dev/null; then
2817 as_mkdir_p='mkdir -p "$as_dir"'
2818 else
2819 test -d ./-p && rmdir ./-p
2820 as_mkdir_p=false
2824 # as_fn_executable_p FILE
2825 # -----------------------
2826 # Test if FILE is an executable regular file.
2827 as_fn_executable_p ()
2829 test -f "$1" && test -x "$1"
2830 } # as_fn_executable_p
2831 as_test_x='test -x'
2832 as_executable_p=as_fn_executable_p
2834 # Sed expression to map a string onto a valid CPP name.
2835 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2837 # Sed expression to map a string onto a valid variable name.
2838 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2841 exec 6>&1
2842 ## ----------------------------------- ##
2843 ## Main body of $CONFIG_STATUS script. ##
2844 ## ----------------------------------- ##
2845 _ASEOF
2846 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2849 # Save the log message, to keep $0 and so on meaningful, and to
2850 # report actual input values of CONFIG_FILES etc. instead of their
2851 # values after options handling.
2852 ac_log="
2853 This file was extended by $as_me, which was
2854 generated by GNU Autoconf 2.69. Invocation command line was
2856 CONFIG_FILES = $CONFIG_FILES
2857 CONFIG_HEADERS = $CONFIG_HEADERS
2858 CONFIG_LINKS = $CONFIG_LINKS
2859 CONFIG_COMMANDS = $CONFIG_COMMANDS
2860 $ $0 $@
2862 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2865 _ACEOF
2867 case $ac_config_files in *"
2868 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2869 esac
2873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2874 # Files that config.status was made for.
2875 config_files="$ac_config_files"
2877 _ACEOF
2879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2880 ac_cs_usage="\
2881 \`$as_me' instantiates files and other configuration actions
2882 from templates according to the current configuration. Unless the files
2883 and actions are specified as TAGs, all are instantiated by default.
2885 Usage: $0 [OPTION]... [TAG]...
2887 -h, --help print this help, then exit
2888 -V, --version print version number and configuration settings, then exit
2889 --config print configuration, then exit
2890 -q, --quiet, --silent
2891 do not print progress messages
2892 -d, --debug don't remove temporary files
2893 --recheck update $as_me by reconfiguring in the same conditions
2894 --file=FILE[:TEMPLATE]
2895 instantiate the configuration file FILE
2897 Configuration files:
2898 $config_files
2900 Report bugs to the package provider."
2902 _ACEOF
2903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2904 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2905 ac_cs_version="\\
2906 config.status
2907 configured by $0, generated by GNU Autoconf 2.69,
2908 with options \\"\$ac_cs_config\\"
2910 Copyright (C) 2012 Free Software Foundation, Inc.
2911 This config.status script is free software; the Free Software Foundation
2912 gives unlimited permission to copy, distribute and modify it."
2914 ac_pwd='$ac_pwd'
2915 srcdir='$srcdir'
2916 INSTALL='$INSTALL'
2917 test -n "\$AWK" || AWK=awk
2918 _ACEOF
2920 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2921 # The default lists apply if the user does not specify any file.
2922 ac_need_defaults=:
2923 while test $# != 0
2925 case $1 in
2926 --*=?*)
2927 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2928 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2929 ac_shift=:
2931 --*=)
2932 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2933 ac_optarg=
2934 ac_shift=:
2937 ac_option=$1
2938 ac_optarg=$2
2939 ac_shift=shift
2941 esac
2943 case $ac_option in
2944 # Handling of the options.
2945 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2946 ac_cs_recheck=: ;;
2947 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2948 $as_echo "$ac_cs_version"; exit ;;
2949 --config | --confi | --conf | --con | --co | --c )
2950 $as_echo "$ac_cs_config"; exit ;;
2951 --debug | --debu | --deb | --de | --d | -d )
2952 debug=: ;;
2953 --file | --fil | --fi | --f )
2954 $ac_shift
2955 case $ac_optarg in
2956 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2957 '') as_fn_error $? "missing file argument" ;;
2958 esac
2959 as_fn_append CONFIG_FILES " '$ac_optarg'"
2960 ac_need_defaults=false;;
2961 --he | --h | --help | --hel | -h )
2962 $as_echo "$ac_cs_usage"; exit ;;
2963 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2964 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2965 ac_cs_silent=: ;;
2967 # This is an error.
2968 -*) as_fn_error $? "unrecognized option: \`$1'
2969 Try \`$0 --help' for more information." ;;
2971 *) as_fn_append ac_config_targets " $1"
2972 ac_need_defaults=false ;;
2974 esac
2975 shift
2976 done
2978 ac_configure_extra_args=
2980 if $ac_cs_silent; then
2981 exec 6>/dev/null
2982 ac_configure_extra_args="$ac_configure_extra_args --silent"
2985 _ACEOF
2986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2987 if \$ac_cs_recheck; then
2988 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2989 shift
2990 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2991 CONFIG_SHELL='$SHELL'
2992 export CONFIG_SHELL
2993 exec "\$@"
2996 _ACEOF
2997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2998 exec 5>>config.log
3000 echo
3001 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3002 ## Running $as_me. ##
3003 _ASBOX
3004 $as_echo "$ac_log"
3005 } >&5
3007 _ACEOF
3008 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3009 _ACEOF
3011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3013 # Handling of arguments.
3014 for ac_config_target in $ac_config_targets
3016 case $ac_config_target in
3017 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3018 "etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
3019 "lisp/Makefile") CONFIG_FILES="$CONFIG_FILES lisp/Makefile" ;;
3020 "texi/Makefile") CONFIG_FILES="$CONFIG_FILES texi/Makefile" ;;
3021 "texi/gnusconfig.tex") CONFIG_FILES="$CONFIG_FILES texi/gnusconfig.tex" ;;
3022 "texi/ps/Makefile") CONFIG_FILES="$CONFIG_FILES texi/ps/Makefile" ;;
3024 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3025 esac
3026 done
3029 # If the user did not use the arguments to specify the items to instantiate,
3030 # then the envvar interface is used. Set only those that are not.
3031 # We use the long form for the default assignment because of an extremely
3032 # bizarre bug on SunOS 4.1.3.
3033 if $ac_need_defaults; then
3034 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3037 # Have a temporary directory for convenience. Make it in the build tree
3038 # simply because there is no reason against having it here, and in addition,
3039 # creating and moving files from /tmp can sometimes cause problems.
3040 # Hook for its removal unless debugging.
3041 # Note that there is a small window in which the directory will not be cleaned:
3042 # after its creation but before its name has been assigned to `$tmp'.
3043 $debug ||
3045 tmp= ac_tmp=
3046 trap 'exit_status=$?
3047 : "${ac_tmp:=$tmp}"
3048 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3050 trap 'as_fn_exit 1' 1 2 13 15
3052 # Create a (secure) tmp directory for tmp files.
3055 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3056 test -d "$tmp"
3057 } ||
3059 tmp=./conf$$-$RANDOM
3060 (umask 077 && mkdir "$tmp")
3061 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3062 ac_tmp=$tmp
3064 # Set up the scripts for CONFIG_FILES section.
3065 # No need to generate them if there are no CONFIG_FILES.
3066 # This happens for instance with `./config.status config.h'.
3067 if test -n "$CONFIG_FILES"; then
3070 ac_cr=`echo X | tr X '\015'`
3071 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3072 # But we know of no other shell where ac_cr would be empty at this
3073 # point, so we can use a bashism as a fallback.
3074 if test "x$ac_cr" = x; then
3075 eval ac_cr=\$\'\\r\'
3077 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3078 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3079 ac_cs_awk_cr='\\r'
3080 else
3081 ac_cs_awk_cr=$ac_cr
3084 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3085 _ACEOF
3089 echo "cat >conf$$subs.awk <<_ACEOF" &&
3090 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3091 echo "_ACEOF"
3092 } >conf$$subs.sh ||
3093 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3094 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3095 ac_delim='%!_!# '
3096 for ac_last_try in false false false false false :; do
3097 . ./conf$$subs.sh ||
3098 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3100 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3101 if test $ac_delim_n = $ac_delim_num; then
3102 break
3103 elif $ac_last_try; then
3104 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3105 else
3106 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3108 done
3109 rm -f conf$$subs.sh
3111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3112 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3113 _ACEOF
3114 sed -n '
3116 s/^/S["/; s/!.*/"]=/
3119 s/^[^!]*!//
3120 :repl
3121 t repl
3122 s/'"$ac_delim"'$//
3123 t delim
3126 s/\(.\{148\}\)..*/\1/
3127 t more1
3128 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3131 b repl
3132 :more1
3133 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3136 s/.\{148\}//
3137 t nl
3138 :delim
3140 s/\(.\{148\}\)..*/\1/
3141 t more2
3142 s/["\\]/\\&/g; s/^/"/; s/$/"/
3145 :more2
3146 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3149 s/.\{148\}//
3150 t delim
3151 ' <conf$$subs.awk | sed '
3152 /^[^""]/{
3154 s/\n//
3156 ' >>$CONFIG_STATUS || ac_write_fail=1
3157 rm -f conf$$subs.awk
3158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3159 _ACAWK
3160 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3161 for (key in S) S_is_set[key] = 1
3162 FS = "\a"
3166 line = $ 0
3167 nfields = split(line, field, "@")
3168 substed = 0
3169 len = length(field[1])
3170 for (i = 2; i < nfields; i++) {
3171 key = field[i]
3172 keylen = length(key)
3173 if (S_is_set[key]) {
3174 value = S[key]
3175 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3176 len += length(value) + length(field[++i])
3177 substed = 1
3178 } else
3179 len += 1 + keylen
3182 print line
3185 _ACAWK
3186 _ACEOF
3187 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3188 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3189 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3190 else
3192 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3193 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3194 _ACEOF
3196 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3197 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3198 # trailing colons and then remove the whole line if VPATH becomes empty
3199 # (actually we leave an empty line to preserve line numbers).
3200 if test "x$srcdir" = x.; then
3201 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3203 s///
3204 s/^/:/
3205 s/[ ]*$/:/
3206 s/:\$(srcdir):/:/g
3207 s/:\${srcdir}:/:/g
3208 s/:@srcdir@:/:/g
3209 s/^:*//
3210 s/:*$//
3212 s/\(=[ ]*\).*/\1/
3214 s/\n//
3215 s/^[^=]*=[ ]*$//
3219 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3220 fi # test -n "$CONFIG_FILES"
3223 eval set X " :F $CONFIG_FILES "
3224 shift
3225 for ac_tag
3227 case $ac_tag in
3228 :[FHLC]) ac_mode=$ac_tag; continue;;
3229 esac
3230 case $ac_mode$ac_tag in
3231 :[FHL]*:*);;
3232 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3233 :[FH]-) ac_tag=-:-;;
3234 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3235 esac
3236 ac_save_IFS=$IFS
3237 IFS=:
3238 set x $ac_tag
3239 IFS=$ac_save_IFS
3240 shift
3241 ac_file=$1
3242 shift
3244 case $ac_mode in
3245 :L) ac_source=$1;;
3246 :[FH])
3247 ac_file_inputs=
3248 for ac_f
3250 case $ac_f in
3251 -) ac_f="$ac_tmp/stdin";;
3252 *) # Look for the file first in the build tree, then in the source tree
3253 # (if the path is not absolute). The absolute path cannot be DOS-style,
3254 # because $ac_f cannot contain `:'.
3255 test -f "$ac_f" ||
3256 case $ac_f in
3257 [\\/$]*) false;;
3258 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3259 esac ||
3260 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3261 esac
3262 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3263 as_fn_append ac_file_inputs " '$ac_f'"
3264 done
3266 # Let's still pretend it is `configure' which instantiates (i.e., don't
3267 # use $as_me), people would be surprised to read:
3268 # /* config.h. Generated by config.status. */
3269 configure_input='Generated from '`
3270 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3271 `' by configure.'
3272 if test x"$ac_file" != x-; then
3273 configure_input="$ac_file. $configure_input"
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3275 $as_echo "$as_me: creating $ac_file" >&6;}
3277 # Neutralize special characters interpreted by sed in replacement strings.
3278 case $configure_input in #(
3279 *\&* | *\|* | *\\* )
3280 ac_sed_conf_input=`$as_echo "$configure_input" |
3281 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3282 *) ac_sed_conf_input=$configure_input;;
3283 esac
3285 case $ac_tag in
3286 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3287 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3288 esac
3290 esac
3292 ac_dir=`$as_dirname -- "$ac_file" ||
3293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3294 X"$ac_file" : 'X\(//\)[^/]' \| \
3295 X"$ac_file" : 'X\(//\)$' \| \
3296 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3297 $as_echo X"$ac_file" |
3298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3299 s//\1/
3302 /^X\(\/\/\)[^/].*/{
3303 s//\1/
3306 /^X\(\/\/\)$/{
3307 s//\1/
3310 /^X\(\/\).*/{
3311 s//\1/
3314 s/.*/./; q'`
3315 as_dir="$ac_dir"; as_fn_mkdir_p
3316 ac_builddir=.
3318 case "$ac_dir" in
3319 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3321 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3322 # A ".." for each directory in $ac_dir_suffix.
3323 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3324 case $ac_top_builddir_sub in
3325 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3326 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3327 esac ;;
3328 esac
3329 ac_abs_top_builddir=$ac_pwd
3330 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3331 # for backward compatibility:
3332 ac_top_builddir=$ac_top_build_prefix
3334 case $srcdir in
3335 .) # We are building in place.
3336 ac_srcdir=.
3337 ac_top_srcdir=$ac_top_builddir_sub
3338 ac_abs_top_srcdir=$ac_pwd ;;
3339 [\\/]* | ?:[\\/]* ) # Absolute name.
3340 ac_srcdir=$srcdir$ac_dir_suffix;
3341 ac_top_srcdir=$srcdir
3342 ac_abs_top_srcdir=$srcdir ;;
3343 *) # Relative name.
3344 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3345 ac_top_srcdir=$ac_top_build_prefix$srcdir
3346 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3347 esac
3348 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3351 case $ac_mode in
3354 # CONFIG_FILE
3357 case $INSTALL in
3358 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3359 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3360 esac
3361 _ACEOF
3363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3364 # If the template does not know about datarootdir, expand it.
3365 # FIXME: This hack should be removed a few years after 2.60.
3366 ac_datarootdir_hack=; ac_datarootdir_seen=
3367 ac_sed_dataroot='
3368 /datarootdir/ {
3372 /@datadir@/p
3373 /@docdir@/p
3374 /@infodir@/p
3375 /@localedir@/p
3376 /@mandir@/p'
3377 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3378 *datarootdir*) ac_datarootdir_seen=yes;;
3379 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3381 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3382 _ACEOF
3383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3384 ac_datarootdir_hack='
3385 s&@datadir@&$datadir&g
3386 s&@docdir@&$docdir&g
3387 s&@infodir@&$infodir&g
3388 s&@localedir@&$localedir&g
3389 s&@mandir@&$mandir&g
3390 s&\\\${datarootdir}&$datarootdir&g' ;;
3391 esac
3392 _ACEOF
3394 # Neutralize VPATH when `$srcdir' = `.'.
3395 # Shell code in configure.ac might set extrasub.
3396 # FIXME: do we really want to maintain this feature?
3397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3398 ac_sed_extra="$ac_vpsub
3399 $extrasub
3400 _ACEOF
3401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3403 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3404 s|@configure_input@|$ac_sed_conf_input|;t t
3405 s&@top_builddir@&$ac_top_builddir_sub&;t t
3406 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3407 s&@srcdir@&$ac_srcdir&;t t
3408 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3409 s&@top_srcdir@&$ac_top_srcdir&;t t
3410 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3411 s&@builddir@&$ac_builddir&;t t
3412 s&@abs_builddir@&$ac_abs_builddir&;t t
3413 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3414 s&@INSTALL@&$ac_INSTALL&;t t
3415 $ac_datarootdir_hack
3417 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3418 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3420 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3421 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3422 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3423 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3425 which seems to be undefined. Please make sure it is defined" >&5
3426 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3427 which seems to be undefined. Please make sure it is defined" >&2;}
3429 rm -f "$ac_tmp/stdin"
3430 case $ac_file in
3431 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3432 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3433 esac \
3434 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3439 esac
3441 done # for ac_tag
3444 as_fn_exit 0
3445 _ACEOF
3446 ac_clean_files=$ac_clean_files_save
3448 test $ac_write_fail = 0 ||
3449 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3452 # configure is writing to config.log, and then calls config.status.
3453 # config.status does its own redirection, appending to config.log.
3454 # Unfortunately, on DOS this fails, as config.log is still kept open
3455 # by configure, so config.status won't be able to write to it; its
3456 # output is simply discarded. So we exec the FD to /dev/null,
3457 # effectively closing config.log, so it can be properly (re)opened and
3458 # appended to by config.status. When coming back to configure, we
3459 # need to make the FD available again.
3460 if test "$no_create" != yes; then
3461 ac_cs_success=:
3462 ac_config_status_args=
3463 test "$silent" = yes &&
3464 ac_config_status_args="$ac_config_status_args --quiet"
3465 exec 5>/dev/null
3466 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3467 exec 5>>config.log
3468 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3469 # would make configure fail if this is the last instruction.
3470 $ac_cs_success || as_fn_exit 1
3472 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3474 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}