Improve skip test if socks server is unavailable
[navi2ch.git] / configure
blob5d4eb3057396f2ccafbd6cada7dd09fadac1ca94
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
151 esac
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 else
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 # Preserve -v and -x to the replacement shell.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 case $- in # ((((
223 *v*x* | *x*v* ) as_opts=-vx ;;
224 *v* ) as_opts=-v ;;
225 *x* ) as_opts=-x ;;
226 * ) as_opts= ;;
227 esac
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231 if test x$as_have_required = xno; then :
232 $as_echo "$0: This script requires a shell more modern than all"
233 $as_echo "$0: the shells that I found on your system."
234 if test x${ZSH_VERSION+set} = xset ; then
235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 else
238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
243 exit 1
247 SHELL=${CONFIG_SHELL-/bin/sh}
248 export SHELL
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE= GREP_OPTIONS=
251 unset CLICOLOR_FORCE GREP_OPTIONS
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
256 # as_fn_unset VAR
257 # ---------------
258 # Portably unset VAR.
259 as_fn_unset ()
261 { eval $1=; unset $1;}
263 as_unset=as_fn_unset
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
268 as_fn_set_status ()
270 return $1
271 } # as_fn_set_status
273 # as_fn_exit STATUS
274 # -----------------
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 as_fn_exit ()
278 set +e
279 as_fn_set_status $1
280 exit $1
281 } # as_fn_exit
283 # as_fn_mkdir_p
284 # -------------
285 # Create "$as_dir" as a directory, including parents if necessary.
286 as_fn_mkdir_p ()
289 case $as_dir in #(
290 -*) as_dir=./$as_dir;;
291 esac
292 test -d "$as_dir" || eval $as_mkdir_p || {
293 as_dirs=
294 while :; do
295 case $as_dir in #(
296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297 *) as_qdir=$as_dir;;
298 esac
299 as_dirs="'$as_qdir' $as_dirs"
300 as_dir=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 X"$as_dir" : 'X\(//\)[^/]' \| \
303 X"$as_dir" : 'X\(//\)$' \| \
304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307 s//\1/
310 /^X\(\/\/\)[^/].*/{
311 s//\1/
314 /^X\(\/\/\)$/{
315 s//\1/
318 /^X\(\/\).*/{
319 s//\1/
322 s/.*/./; q'`
323 test -d "$as_dir" && break
324 done
325 test -z "$as_dirs" || eval "mkdir $as_dirs"
326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
329 } # as_fn_mkdir_p
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
335 # implementations.
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337 eval 'as_fn_append ()
339 eval $1+=\$2
341 else
342 as_fn_append ()
344 eval $1=\$$1\$2
346 fi # as_fn_append
348 # as_fn_arith ARG...
349 # ------------------
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 eval 'as_fn_arith ()
356 as_val=$(( $* ))
358 else
359 as_fn_arith ()
361 as_val=`expr "$@" || test $? -eq 1`
363 fi # as_fn_arith
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
371 as_fn_error ()
373 as_status=$1; test $as_status -eq 0 && as_status=1
374 if test "$4"; then
375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit $as_status
380 } # as_fn_error
382 if expr a : '\(a\)' >/dev/null 2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 as_expr=expr
385 else
386 as_expr=false
389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 as_basename=basename
391 else
392 as_basename=false
395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_dirname=dirname
397 else
398 as_dirname=false
401 as_me=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 $as_echo X/"$0" |
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
407 s//\1/
410 /^X\/\(\/\/\)$/{
411 s//\1/
414 /^X\/\(\/\).*/{
415 s//\1/
418 s/.*/./; q'`
420 # Avoid depending upon Character Ranges.
421 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits='0123456789'
425 as_cr_alnum=$as_cr_Letters$as_cr_digits
428 as_lineno_1=$LINENO as_lineno_1a=$LINENO
429 as_lineno_2=$LINENO as_lineno_2a=$LINENO
430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
433 sed -n '
435 /[$]LINENO/=
436 ' <$as_myself |
437 sed '
438 s/[$]LINENO.*/&-/
439 t lineno
441 :lineno
443 :loop
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 t loop
446 s/-\n.*//
447 ' >$as_me.lineno &&
448 chmod +x "$as_me.lineno" ||
449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
459 ECHO_C= ECHO_N= ECHO_T=
460 case `echo -n x` in #(((((
461 -n*)
462 case `echo 'xy\c'` in
463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 xy) ECHO_C='\c';;
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 ECHO_T=' ';;
467 esac;;
469 ECHO_N='-n';;
470 esac
472 rm -f conf$$ conf$$.exe conf$$.file
473 if test -d conf$$.dir; then
474 rm -f conf$$.dir/conf$$.file
475 else
476 rm -f conf$$.dir
477 mkdir conf$$.dir 2>/dev/null
479 if (echo >conf$$.file) 2>/dev/null; then
480 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s='ln -s'
482 # ... but there are two gotchas:
483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 # In both cases, we have to default to `cp -p'.
486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 as_ln_s='cp -p'
488 elif ln conf$$.file conf$$ 2>/dev/null; then
489 as_ln_s=ln
490 else
491 as_ln_s='cp -p'
493 else
494 as_ln_s='cp -p'
496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 rmdir conf$$.dir 2>/dev/null
499 if mkdir -p . 2>/dev/null; then
500 as_mkdir_p='mkdir -p "$as_dir"'
501 else
502 test -d ./-p && rmdir ./-p
503 as_mkdir_p=false
506 if test -x / >/dev/null 2>&1; then
507 as_test_x='test -x'
508 else
509 if ls -dL / >/dev/null 2>&1; then
510 as_ls_L_option=L
511 else
512 as_ls_L_option=
514 as_test_x='
515 eval sh -c '\''
516 if test -d "$1"; then
517 test -d "$1/.";
518 else
519 case $1 in #(
520 -*)set "./$1";;
521 esac;
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
524 '\'' sh
527 as_executable_p=$as_test_x
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 test -n "$DJDIR" || exec 7<&0 </dev/null
537 exec 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME=
558 PACKAGE_TARNAME=
559 PACKAGE_VERSION=
560 PACKAGE_STRING=
561 PACKAGE_BUGREPORT=
562 PACKAGE_URL=
564 ac_unique_file="navi2ch.el"
565 ac_subst_vars='LTLIBOBJS
566 LIBOBJS
567 icondir
568 packagedir
569 lispdir
570 EMACSLOADPATH
571 EMACS
572 MAINT
573 MAINTAINER_MODE_FALSE
574 MAINTAINER_MODE_TRUE
575 am__untar
576 am__tar
577 AMTAR
578 am__leading_dot
579 SET_MAKE
581 mkdir_p
582 INSTALL_STRIP_PROGRAM
583 STRIP
584 install_sh
585 MAKEINFO
586 AUTOHEADER
587 AUTOMAKE
588 AUTOCONF
589 ACLOCAL
590 VERSION
591 PACKAGE
592 CYGPATH_W
593 INSTALL_DATA
594 INSTALL_SCRIPT
595 INSTALL_PROGRAM
596 target_alias
597 host_alias
598 build_alias
599 LIBS
600 ECHO_T
601 ECHO_N
602 ECHO_C
603 DEFS
604 mandir
605 localedir
606 libdir
607 psdir
608 pdfdir
609 dvidir
610 htmldir
611 infodir
612 docdir
613 oldincludedir
614 includedir
615 localstatedir
616 sharedstatedir
617 sysconfdir
618 datadir
619 datarootdir
620 libexecdir
621 sbindir
622 bindir
623 program_transform_name
624 prefix
625 exec_prefix
626 PACKAGE_URL
627 PACKAGE_BUGREPORT
628 PACKAGE_STRING
629 PACKAGE_VERSION
630 PACKAGE_TARNAME
631 PACKAGE_NAME
632 PATH_SEPARATOR
633 SHELL'
634 ac_subst_files=''
635 ac_user_opts='
636 enable_option_checking
637 enable_maintainer_mode
638 with_lispdir
639 with_packagedir
640 with_icondir
642 ac_precious_vars='build_alias
643 host_alias
644 target_alias
645 EMACS
646 EMACSLOADPATH'
649 # Initialize some variables set by options.
650 ac_init_help=
651 ac_init_version=false
652 ac_unrecognized_opts=
653 ac_unrecognized_sep=
654 # The variables have the same names as the options, with
655 # dashes changed to underlines.
656 cache_file=/dev/null
657 exec_prefix=NONE
658 no_create=
659 no_recursion=
660 prefix=NONE
661 program_prefix=NONE
662 program_suffix=NONE
663 program_transform_name=s,x,x,
664 silent=
665 site=
666 srcdir=
667 verbose=
668 x_includes=NONE
669 x_libraries=NONE
671 # Installation directory options.
672 # These are left unexpanded so users can "make install exec_prefix=/foo"
673 # and all the variables that are supposed to be based on exec_prefix
674 # by default will actually change.
675 # Use braces instead of parens because sh, perl, etc. also accept them.
676 # (The list follows the same order as the GNU Coding Standards.)
677 bindir='${exec_prefix}/bin'
678 sbindir='${exec_prefix}/sbin'
679 libexecdir='${exec_prefix}/libexec'
680 datarootdir='${prefix}/share'
681 datadir='${datarootdir}'
682 sysconfdir='${prefix}/etc'
683 sharedstatedir='${prefix}/com'
684 localstatedir='${prefix}/var'
685 includedir='${prefix}/include'
686 oldincludedir='/usr/include'
687 docdir='${datarootdir}/doc/${PACKAGE}'
688 infodir='${datarootdir}/info'
689 htmldir='${docdir}'
690 dvidir='${docdir}'
691 pdfdir='${docdir}'
692 psdir='${docdir}'
693 libdir='${exec_prefix}/lib'
694 localedir='${datarootdir}/locale'
695 mandir='${datarootdir}/man'
697 ac_prev=
698 ac_dashdash=
699 for ac_option
701 # If the previous option needs an argument, assign it.
702 if test -n "$ac_prev"; then
703 eval $ac_prev=\$ac_option
704 ac_prev=
705 continue
708 case $ac_option in
709 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710 *=) ac_optarg= ;;
711 *) ac_optarg=yes ;;
712 esac
714 # Accept the important Cygnus configure options, so we can diagnose typos.
716 case $ac_dashdash$ac_option in
718 ac_dashdash=yes ;;
720 -bindir | --bindir | --bindi | --bind | --bin | --bi)
721 ac_prev=bindir ;;
722 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
723 bindir=$ac_optarg ;;
725 -build | --build | --buil | --bui | --bu)
726 ac_prev=build_alias ;;
727 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728 build_alias=$ac_optarg ;;
730 -cache-file | --cache-file | --cache-fil | --cache-fi \
731 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732 ac_prev=cache_file ;;
733 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735 cache_file=$ac_optarg ;;
737 --config-cache | -C)
738 cache_file=config.cache ;;
740 -datadir | --datadir | --datadi | --datad)
741 ac_prev=datadir ;;
742 -datadir=* | --datadir=* | --datadi=* | --datad=*)
743 datadir=$ac_optarg ;;
745 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746 | --dataroo | --dataro | --datar)
747 ac_prev=datarootdir ;;
748 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750 datarootdir=$ac_optarg ;;
752 -disable-* | --disable-*)
753 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754 # Reject names that are not valid shell variable names.
755 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
756 as_fn_error $? "invalid feature name: $ac_useropt"
757 ac_useropt_orig=$ac_useropt
758 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
759 case $ac_user_opts in
761 "enable_$ac_useropt"
762 "*) ;;
763 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
764 ac_unrecognized_sep=', ';;
765 esac
766 eval enable_$ac_useropt=no ;;
768 -docdir | --docdir | --docdi | --doc | --do)
769 ac_prev=docdir ;;
770 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
771 docdir=$ac_optarg ;;
773 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
774 ac_prev=dvidir ;;
775 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
776 dvidir=$ac_optarg ;;
778 -enable-* | --enable-*)
779 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
780 # Reject names that are not valid shell variable names.
781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
782 as_fn_error $? "invalid feature name: $ac_useropt"
783 ac_useropt_orig=$ac_useropt
784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
785 case $ac_user_opts in
787 "enable_$ac_useropt"
788 "*) ;;
789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
790 ac_unrecognized_sep=', ';;
791 esac
792 eval enable_$ac_useropt=\$ac_optarg ;;
794 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
795 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
796 | --exec | --exe | --ex)
797 ac_prev=exec_prefix ;;
798 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
799 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
800 | --exec=* | --exe=* | --ex=*)
801 exec_prefix=$ac_optarg ;;
803 -gas | --gas | --ga | --g)
804 # Obsolete; use --with-gas.
805 with_gas=yes ;;
807 -help | --help | --hel | --he | -h)
808 ac_init_help=long ;;
809 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
810 ac_init_help=recursive ;;
811 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
812 ac_init_help=short ;;
814 -host | --host | --hos | --ho)
815 ac_prev=host_alias ;;
816 -host=* | --host=* | --hos=* | --ho=*)
817 host_alias=$ac_optarg ;;
819 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
820 ac_prev=htmldir ;;
821 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
822 | --ht=*)
823 htmldir=$ac_optarg ;;
825 -includedir | --includedir | --includedi | --included | --include \
826 | --includ | --inclu | --incl | --inc)
827 ac_prev=includedir ;;
828 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
829 | --includ=* | --inclu=* | --incl=* | --inc=*)
830 includedir=$ac_optarg ;;
832 -infodir | --infodir | --infodi | --infod | --info | --inf)
833 ac_prev=infodir ;;
834 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
835 infodir=$ac_optarg ;;
837 -libdir | --libdir | --libdi | --libd)
838 ac_prev=libdir ;;
839 -libdir=* | --libdir=* | --libdi=* | --libd=*)
840 libdir=$ac_optarg ;;
842 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
843 | --libexe | --libex | --libe)
844 ac_prev=libexecdir ;;
845 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
846 | --libexe=* | --libex=* | --libe=*)
847 libexecdir=$ac_optarg ;;
849 -localedir | --localedir | --localedi | --localed | --locale)
850 ac_prev=localedir ;;
851 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
852 localedir=$ac_optarg ;;
854 -localstatedir | --localstatedir | --localstatedi | --localstated \
855 | --localstate | --localstat | --localsta | --localst | --locals)
856 ac_prev=localstatedir ;;
857 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
858 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
859 localstatedir=$ac_optarg ;;
861 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
862 ac_prev=mandir ;;
863 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
864 mandir=$ac_optarg ;;
866 -nfp | --nfp | --nf)
867 # Obsolete; use --without-fp.
868 with_fp=no ;;
870 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
871 | --no-cr | --no-c | -n)
872 no_create=yes ;;
874 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
876 no_recursion=yes ;;
878 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
879 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
880 | --oldin | --oldi | --old | --ol | --o)
881 ac_prev=oldincludedir ;;
882 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
883 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
884 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
885 oldincludedir=$ac_optarg ;;
887 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
888 ac_prev=prefix ;;
889 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
890 prefix=$ac_optarg ;;
892 -program-prefix | --program-prefix | --program-prefi | --program-pref \
893 | --program-pre | --program-pr | --program-p)
894 ac_prev=program_prefix ;;
895 -program-prefix=* | --program-prefix=* | --program-prefi=* \
896 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
897 program_prefix=$ac_optarg ;;
899 -program-suffix | --program-suffix | --program-suffi | --program-suff \
900 | --program-suf | --program-su | --program-s)
901 ac_prev=program_suffix ;;
902 -program-suffix=* | --program-suffix=* | --program-suffi=* \
903 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
904 program_suffix=$ac_optarg ;;
906 -program-transform-name | --program-transform-name \
907 | --program-transform-nam | --program-transform-na \
908 | --program-transform-n | --program-transform- \
909 | --program-transform | --program-transfor \
910 | --program-transfo | --program-transf \
911 | --program-trans | --program-tran \
912 | --progr-tra | --program-tr | --program-t)
913 ac_prev=program_transform_name ;;
914 -program-transform-name=* | --program-transform-name=* \
915 | --program-transform-nam=* | --program-transform-na=* \
916 | --program-transform-n=* | --program-transform-=* \
917 | --program-transform=* | --program-transfor=* \
918 | --program-transfo=* | --program-transf=* \
919 | --program-trans=* | --program-tran=* \
920 | --progr-tra=* | --program-tr=* | --program-t=*)
921 program_transform_name=$ac_optarg ;;
923 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
924 ac_prev=pdfdir ;;
925 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
926 pdfdir=$ac_optarg ;;
928 -psdir | --psdir | --psdi | --psd | --ps)
929 ac_prev=psdir ;;
930 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
931 psdir=$ac_optarg ;;
933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
934 | -silent | --silent | --silen | --sile | --sil)
935 silent=yes ;;
937 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
938 ac_prev=sbindir ;;
939 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
940 | --sbi=* | --sb=*)
941 sbindir=$ac_optarg ;;
943 -sharedstatedir | --sharedstatedir | --sharedstatedi \
944 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
945 | --sharedst | --shareds | --shared | --share | --shar \
946 | --sha | --sh)
947 ac_prev=sharedstatedir ;;
948 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
949 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
950 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
951 | --sha=* | --sh=*)
952 sharedstatedir=$ac_optarg ;;
954 -site | --site | --sit)
955 ac_prev=site ;;
956 -site=* | --site=* | --sit=*)
957 site=$ac_optarg ;;
959 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
960 ac_prev=srcdir ;;
961 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
962 srcdir=$ac_optarg ;;
964 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
965 | --syscon | --sysco | --sysc | --sys | --sy)
966 ac_prev=sysconfdir ;;
967 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
968 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
969 sysconfdir=$ac_optarg ;;
971 -target | --target | --targe | --targ | --tar | --ta | --t)
972 ac_prev=target_alias ;;
973 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
974 target_alias=$ac_optarg ;;
976 -v | -verbose | --verbose | --verbos | --verbo | --verb)
977 verbose=yes ;;
979 -version | --version | --versio | --versi | --vers | -V)
980 ac_init_version=: ;;
982 -with-* | --with-*)
983 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
986 as_fn_error $? "invalid package name: $ac_useropt"
987 ac_useropt_orig=$ac_useropt
988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
991 "with_$ac_useropt"
992 "*) ;;
993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
994 ac_unrecognized_sep=', ';;
995 esac
996 eval with_$ac_useropt=\$ac_optarg ;;
998 -without-* | --without-*)
999 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1000 # Reject names that are not valid shell variable names.
1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1002 as_fn_error $? "invalid package name: $ac_useropt"
1003 ac_useropt_orig=$ac_useropt
1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1005 case $ac_user_opts in
1007 "with_$ac_useropt"
1008 "*) ;;
1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1010 ac_unrecognized_sep=', ';;
1011 esac
1012 eval with_$ac_useropt=no ;;
1014 --x)
1015 # Obsolete; use --with-x.
1016 with_x=yes ;;
1018 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1019 | --x-incl | --x-inc | --x-in | --x-i)
1020 ac_prev=x_includes ;;
1021 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1022 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1023 x_includes=$ac_optarg ;;
1025 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1026 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1027 ac_prev=x_libraries ;;
1028 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1029 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1030 x_libraries=$ac_optarg ;;
1032 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1033 Try \`$0 --help' for more information"
1036 *=*)
1037 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1038 # Reject names that are not valid shell variable names.
1039 case $ac_envvar in #(
1040 '' | [0-9]* | *[!_$as_cr_alnum]* )
1041 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1042 esac
1043 eval $ac_envvar=\$ac_optarg
1044 export $ac_envvar ;;
1047 # FIXME: should be removed in autoconf 3.0.
1048 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1049 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1050 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1051 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1054 esac
1055 done
1057 if test -n "$ac_prev"; then
1058 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1059 as_fn_error $? "missing argument to $ac_option"
1062 if test -n "$ac_unrecognized_opts"; then
1063 case $enable_option_checking in
1064 no) ;;
1065 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1066 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1067 esac
1070 # Check all directory arguments for consistency.
1071 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1072 datadir sysconfdir sharedstatedir localstatedir includedir \
1073 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1074 libdir localedir mandir
1076 eval ac_val=\$$ac_var
1077 # Remove trailing slashes.
1078 case $ac_val in
1079 */ )
1080 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1081 eval $ac_var=\$ac_val;;
1082 esac
1083 # Be sure to have absolute directory names.
1084 case $ac_val in
1085 [\\/$]* | ?:[\\/]* ) continue;;
1086 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1087 esac
1088 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1089 done
1091 # There might be people who depend on the old broken behavior: `$host'
1092 # used to hold the argument of --host etc.
1093 # FIXME: To remove some day.
1094 build=$build_alias
1095 host=$host_alias
1096 target=$target_alias
1098 # FIXME: To remove some day.
1099 if test "x$host_alias" != x; then
1100 if test "x$build_alias" = x; then
1101 cross_compiling=maybe
1102 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1103 If a cross compiler is detected then cross compile mode will be used" >&2
1104 elif test "x$build_alias" != "x$host_alias"; then
1105 cross_compiling=yes
1109 ac_tool_prefix=
1110 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1112 test "$silent" = yes && exec 6>/dev/null
1115 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1116 ac_ls_di=`ls -di .` &&
1117 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1118 as_fn_error $? "working directory cannot be determined"
1119 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1120 as_fn_error $? "pwd does not report name of working directory"
1123 # Find the source files, if location was not specified.
1124 if test -z "$srcdir"; then
1125 ac_srcdir_defaulted=yes
1126 # Try the directory containing this script, then the parent directory.
1127 ac_confdir=`$as_dirname -- "$as_myself" ||
1128 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1129 X"$as_myself" : 'X\(//\)[^/]' \| \
1130 X"$as_myself" : 'X\(//\)$' \| \
1131 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1132 $as_echo X"$as_myself" |
1133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1134 s//\1/
1137 /^X\(\/\/\)[^/].*/{
1138 s//\1/
1141 /^X\(\/\/\)$/{
1142 s//\1/
1145 /^X\(\/\).*/{
1146 s//\1/
1149 s/.*/./; q'`
1150 srcdir=$ac_confdir
1151 if test ! -r "$srcdir/$ac_unique_file"; then
1152 srcdir=..
1154 else
1155 ac_srcdir_defaulted=no
1157 if test ! -r "$srcdir/$ac_unique_file"; then
1158 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1159 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1161 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1162 ac_abs_confdir=`(
1163 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1164 pwd)`
1165 # When building in place, set srcdir=.
1166 if test "$ac_abs_confdir" = "$ac_pwd"; then
1167 srcdir=.
1169 # Remove unnecessary trailing slashes from srcdir.
1170 # Double slashes in file names in object file debugging info
1171 # mess up M-x gdb in Emacs.
1172 case $srcdir in
1173 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1174 esac
1175 for ac_var in $ac_precious_vars; do
1176 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1177 eval ac_env_${ac_var}_value=\$${ac_var}
1178 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1179 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1180 done
1183 # Report the --help message.
1185 if test "$ac_init_help" = "long"; then
1186 # Omit some internal or obsolete options to make the list less imposing.
1187 # This message is too long to be a string in the A/UX 3.1 sh.
1188 cat <<_ACEOF
1189 \`configure' configures this package to adapt to many kinds of systems.
1191 Usage: $0 [OPTION]... [VAR=VALUE]...
1193 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1194 VAR=VALUE. See below for descriptions of some of the useful variables.
1196 Defaults for the options are specified in brackets.
1198 Configuration:
1199 -h, --help display this help and exit
1200 --help=short display options specific to this package
1201 --help=recursive display the short help of all the included packages
1202 -V, --version display version information and exit
1203 -q, --quiet, --silent do not print \`checking ...' messages
1204 --cache-file=FILE cache test results in FILE [disabled]
1205 -C, --config-cache alias for \`--cache-file=config.cache'
1206 -n, --no-create do not create output files
1207 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1209 Installation directories:
1210 --prefix=PREFIX install architecture-independent files in PREFIX
1211 [$ac_default_prefix]
1212 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1213 [PREFIX]
1215 By default, \`make install' will install all the files in
1216 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1217 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1218 for instance \`--prefix=\$HOME'.
1220 For better control, use the options below.
1222 Fine tuning of the installation directories:
1223 --bindir=DIR user executables [EPREFIX/bin]
1224 --sbindir=DIR system admin executables [EPREFIX/sbin]
1225 --libexecdir=DIR program executables [EPREFIX/libexec]
1226 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1227 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1228 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1229 --libdir=DIR object code libraries [EPREFIX/lib]
1230 --includedir=DIR C header files [PREFIX/include]
1231 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1232 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1233 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1234 --infodir=DIR info documentation [DATAROOTDIR/info]
1235 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1236 --mandir=DIR man documentation [DATAROOTDIR/man]
1237 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1238 --htmldir=DIR html documentation [DOCDIR]
1239 --dvidir=DIR dvi documentation [DOCDIR]
1240 --pdfdir=DIR pdf documentation [DOCDIR]
1241 --psdir=DIR ps documentation [DOCDIR]
1242 _ACEOF
1244 cat <<\_ACEOF
1246 Program names:
1247 --program-prefix=PREFIX prepend PREFIX to installed program names
1248 --program-suffix=SUFFIX append SUFFIX to installed program names
1249 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1250 _ACEOF
1253 if test -n "$ac_init_help"; then
1255 cat <<\_ACEOF
1257 Optional Features:
1258 --disable-option-checking ignore unrecognized --enable/--with options
1259 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1260 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1261 --enable-maintainer-mode enable make rules and dependencies not useful
1262 (and sometimes confusing) to the casual installer
1264 Optional Packages:
1265 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1266 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1267 --with-lispdir override the default lisp directory
1268 --with-packagedir[=DIR] Use package directory
1269 (With XEmacs, this option also sets
1270 icondir, lispdir, infodir, etc...)
1271 --with-icondir=DIR Override the default icons directory
1273 Some influential environment variables:
1274 EMACS the Emacs editor command
1275 EMACSLOADPATH
1276 the Emacs library search path
1278 Use these variables to override the choices made by `configure' or to help
1279 it to find libraries and programs with nonstandard names/locations.
1281 Report bugs to the package provider.
1282 _ACEOF
1283 ac_status=$?
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" ||
1290 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1291 continue
1292 ac_builddir=.
1294 case "$ac_dir" in
1295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 esac ;;
1304 esac
1305 ac_abs_top_builddir=$ac_pwd
1306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307 # for backward compatibility:
1308 ac_top_builddir=$ac_top_build_prefix
1310 case $srcdir in
1311 .) # We are building in place.
1312 ac_srcdir=.
1313 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;;
1319 *) # Relative name.
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1323 esac
1324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1326 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then
1329 echo &&
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then
1332 echo &&
1333 $SHELL "$ac_srcdir/configure" --help=recursive
1334 else
1335 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi || ac_status=$?
1337 cd "$ac_pwd" || { ac_status=$?; break; }
1338 done
1341 test -n "$ac_init_help" && exit $ac_status
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 configure
1345 generated by GNU Autoconf 2.68
1347 Copyright (C) 2010 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit
1354 ## ------------------------ ##
1355 ## Autoconf initialization. ##
1356 ## ------------------------ ##
1357 cat >config.log <<_ACEOF
1358 This file contains any messages produced by compilers while
1359 running configure, to aid debugging if configure makes a mistake.
1361 It was created by $as_me, which was
1362 generated by GNU Autoconf 2.68. Invocation command line was
1364 $ $0 $@
1366 _ACEOF
1367 exec 5>>config.log
1369 cat <<_ASUNAME
1370 ## --------- ##
1371 ## Platform. ##
1372 ## --------- ##
1374 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1375 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1376 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1377 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1378 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1380 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1381 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1383 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1384 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1385 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1386 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1387 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1388 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1389 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1391 _ASUNAME
1393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1394 for as_dir in $PATH
1396 IFS=$as_save_IFS
1397 test -z "$as_dir" && as_dir=.
1398 $as_echo "PATH: $as_dir"
1399 done
1400 IFS=$as_save_IFS
1402 } >&5
1404 cat >&5 <<_ACEOF
1407 ## ----------- ##
1408 ## Core tests. ##
1409 ## ----------- ##
1411 _ACEOF
1414 # Keep a trace of the command line.
1415 # Strip out --no-create and --no-recursion so they do not pile up.
1416 # Strip out --silent because we don't want to record it for future runs.
1417 # Also quote any args containing shell meta-characters.
1418 # Make two passes to allow for proper duplicate-argument suppression.
1419 ac_configure_args=
1420 ac_configure_args0=
1421 ac_configure_args1=
1422 ac_must_keep_next=false
1423 for ac_pass in 1 2
1425 for ac_arg
1427 case $ac_arg in
1428 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1429 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1430 | -silent | --silent | --silen | --sile | --sil)
1431 continue ;;
1432 *\'*)
1433 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1434 esac
1435 case $ac_pass in
1436 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1438 as_fn_append ac_configure_args1 " '$ac_arg'"
1439 if test $ac_must_keep_next = true; then
1440 ac_must_keep_next=false # Got value, back to normal.
1441 else
1442 case $ac_arg in
1443 *=* | --config-cache | -C | -disable-* | --disable-* \
1444 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1445 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1446 | -with-* | --with-* | -without-* | --without-* | --x)
1447 case "$ac_configure_args0 " in
1448 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1449 esac
1451 -* ) ac_must_keep_next=true ;;
1452 esac
1454 as_fn_append ac_configure_args " '$ac_arg'"
1456 esac
1457 done
1458 done
1459 { ac_configure_args0=; unset ac_configure_args0;}
1460 { ac_configure_args1=; unset ac_configure_args1;}
1462 # When interrupted or exit'd, cleanup temporary files, and complete
1463 # config.log. We remove comments because anyway the quotes in there
1464 # would cause problems or look ugly.
1465 # WARNING: Use '\'' to represent an apostrophe within the trap.
1466 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1467 trap 'exit_status=$?
1468 # Save into config.log some information that might help in debugging.
1470 echo
1472 $as_echo "## ---------------- ##
1473 ## Cache variables. ##
1474 ## ---------------- ##"
1475 echo
1476 # The following way of writing the cache mishandles newlines in values,
1478 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1479 eval ac_val=\$$ac_var
1480 case $ac_val in #(
1481 *${as_nl}*)
1482 case $ac_var in #(
1483 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1484 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1485 esac
1486 case $ac_var in #(
1487 _ | IFS | as_nl) ;; #(
1488 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1489 *) { eval $ac_var=; unset $ac_var;} ;;
1490 esac ;;
1491 esac
1492 done
1493 (set) 2>&1 |
1494 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1495 *${as_nl}ac_space=\ *)
1496 sed -n \
1497 "s/'\''/'\''\\\\'\'''\''/g;
1498 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1499 ;; #(
1501 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1503 esac |
1504 sort
1506 echo
1508 $as_echo "## ----------------- ##
1509 ## Output variables. ##
1510 ## ----------------- ##"
1511 echo
1512 for ac_var in $ac_subst_vars
1514 eval ac_val=\$$ac_var
1515 case $ac_val in
1516 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1517 esac
1518 $as_echo "$ac_var='\''$ac_val'\''"
1519 done | sort
1520 echo
1522 if test -n "$ac_subst_files"; then
1523 $as_echo "## ------------------- ##
1524 ## File substitutions. ##
1525 ## ------------------- ##"
1526 echo
1527 for ac_var in $ac_subst_files
1529 eval ac_val=\$$ac_var
1530 case $ac_val in
1531 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1532 esac
1533 $as_echo "$ac_var='\''$ac_val'\''"
1534 done | sort
1535 echo
1538 if test -s confdefs.h; then
1539 $as_echo "## ----------- ##
1540 ## confdefs.h. ##
1541 ## ----------- ##"
1542 echo
1543 cat confdefs.h
1544 echo
1546 test "$ac_signal" != 0 &&
1547 $as_echo "$as_me: caught signal $ac_signal"
1548 $as_echo "$as_me: exit $exit_status"
1549 } >&5
1550 rm -f core *.core core.conftest.* &&
1551 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1552 exit $exit_status
1554 for ac_signal in 1 2 13 15; do
1555 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1556 done
1557 ac_signal=0
1559 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1560 rm -f -r conftest* confdefs.h
1562 $as_echo "/* confdefs.h */" > confdefs.h
1564 # Predefined preprocessor variables.
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_NAME "$PACKAGE_NAME"
1568 _ACEOF
1570 cat >>confdefs.h <<_ACEOF
1571 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1572 _ACEOF
1574 cat >>confdefs.h <<_ACEOF
1575 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1576 _ACEOF
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_STRING "$PACKAGE_STRING"
1580 _ACEOF
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584 _ACEOF
1586 cat >>confdefs.h <<_ACEOF
1587 #define PACKAGE_URL "$PACKAGE_URL"
1588 _ACEOF
1591 # Let the site file select an alternate cache file if it wants to.
1592 # Prefer an explicitly selected file to automatically selected ones.
1593 ac_site_file1=NONE
1594 ac_site_file2=NONE
1595 if test -n "$CONFIG_SITE"; then
1596 # We do not want a PATH search for config.site.
1597 case $CONFIG_SITE in #((
1598 -*) ac_site_file1=./$CONFIG_SITE;;
1599 */*) ac_site_file1=$CONFIG_SITE;;
1600 *) ac_site_file1=./$CONFIG_SITE;;
1601 esac
1602 elif test "x$prefix" != xNONE; then
1603 ac_site_file1=$prefix/share/config.site
1604 ac_site_file2=$prefix/etc/config.site
1605 else
1606 ac_site_file1=$ac_default_prefix/share/config.site
1607 ac_site_file2=$ac_default_prefix/etc/config.site
1609 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1611 test "x$ac_site_file" = xNONE && continue
1612 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1614 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1615 sed 's/^/| /' "$ac_site_file" >&5
1616 . "$ac_site_file" \
1617 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1619 as_fn_error $? "failed to load site script $ac_site_file
1620 See \`config.log' for more details" "$LINENO" 5; }
1622 done
1624 if test -r "$cache_file"; then
1625 # Some versions of bash will fail to source /dev/null (special files
1626 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1627 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1629 $as_echo "$as_me: loading cache $cache_file" >&6;}
1630 case $cache_file in
1631 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1632 *) . "./$cache_file";;
1633 esac
1635 else
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1637 $as_echo "$as_me: creating cache $cache_file" >&6;}
1638 >$cache_file
1641 # Check that the precious variables saved in the cache have kept the same
1642 # value.
1643 ac_cache_corrupted=false
1644 for ac_var in $ac_precious_vars; do
1645 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1646 eval ac_new_set=\$ac_env_${ac_var}_set
1647 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1648 eval ac_new_val=\$ac_env_${ac_var}_value
1649 case $ac_old_set,$ac_new_set in
1650 set,)
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1652 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1653 ac_cache_corrupted=: ;;
1654 ,set)
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1656 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1657 ac_cache_corrupted=: ;;
1658 ,);;
1660 if test "x$ac_old_val" != "x$ac_new_val"; then
1661 # differences in whitespace do not lead to failure.
1662 ac_old_val_w=`echo x $ac_old_val`
1663 ac_new_val_w=`echo x $ac_new_val`
1664 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1666 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1667 ac_cache_corrupted=:
1668 else
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1670 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1671 eval $ac_var=\$ac_old_val
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1674 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1676 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1677 fi;;
1678 esac
1679 # Pass precious variables to config.status.
1680 if test "$ac_new_set" = set; then
1681 case $ac_new_val in
1682 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1683 *) ac_arg=$ac_var=$ac_new_val ;;
1684 esac
1685 case " $ac_configure_args " in
1686 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1687 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1688 esac
1690 done
1691 if $ac_cache_corrupted; then
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1695 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1698 ## -------------------- ##
1699 ## Main body of script. ##
1700 ## -------------------- ##
1702 ac_ext=c
1703 ac_cpp='$CPP $CPPFLAGS'
1704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1709 am__api_version="1.9"
1710 ac_aux_dir=
1711 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1712 if test -f "$ac_dir/install-sh"; then
1713 ac_aux_dir=$ac_dir
1714 ac_install_sh="$ac_aux_dir/install-sh -c"
1715 break
1716 elif test -f "$ac_dir/install.sh"; then
1717 ac_aux_dir=$ac_dir
1718 ac_install_sh="$ac_aux_dir/install.sh -c"
1719 break
1720 elif test -f "$ac_dir/shtool"; then
1721 ac_aux_dir=$ac_dir
1722 ac_install_sh="$ac_aux_dir/shtool install -c"
1723 break
1725 done
1726 if test -z "$ac_aux_dir"; then
1727 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1730 # These three variables are undocumented and unsupported,
1731 # and are intended to be withdrawn in a future Autoconf release.
1732 # They can cause serious problems if a builder's source tree is in a directory
1733 # whose full name contains unusual characters.
1734 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1735 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1736 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1739 # Find a good install program. We prefer a C program (faster),
1740 # so one script is as good as another. But avoid the broken or
1741 # incompatible versions:
1742 # SysV /etc/install, /usr/sbin/install
1743 # SunOS /usr/etc/install
1744 # IRIX /sbin/install
1745 # AIX /bin/install
1746 # AmigaOS /C/install, which installs bootblocks on floppy discs
1747 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1748 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1749 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1750 # OS/2's system install, which has a completely different semantic
1751 # ./install, which can be erroneously created by make from ./install.sh.
1752 # Reject install programs that cannot install multiple files.
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1754 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1755 if test -z "$INSTALL"; then
1756 if ${ac_cv_path_install+:} false; then :
1757 $as_echo_n "(cached) " >&6
1758 else
1759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 for as_dir in $PATH
1762 IFS=$as_save_IFS
1763 test -z "$as_dir" && as_dir=.
1764 # Account for people who put trailing slashes in PATH elements.
1765 case $as_dir/ in #((
1766 ./ | .// | /[cC]/* | \
1767 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1768 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1769 /usr/ucb/* ) ;;
1771 # OSF1 and SCO ODT 3.0 have their own names for install.
1772 # Don't use installbsd from OSF since it installs stuff as root
1773 # by default.
1774 for ac_prog in ginstall scoinst install; do
1775 for ac_exec_ext in '' $ac_executable_extensions; do
1776 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1777 if test $ac_prog = install &&
1778 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1779 # AIX install. It has an incompatible calling convention.
1781 elif test $ac_prog = install &&
1782 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1783 # program-specific install script used by HP pwplus--don't use.
1785 else
1786 rm -rf conftest.one conftest.two conftest.dir
1787 echo one > conftest.one
1788 echo two > conftest.two
1789 mkdir conftest.dir
1790 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1791 test -s conftest.one && test -s conftest.two &&
1792 test -s conftest.dir/conftest.one &&
1793 test -s conftest.dir/conftest.two
1794 then
1795 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1796 break 3
1800 done
1801 done
1803 esac
1805 done
1806 IFS=$as_save_IFS
1808 rm -rf conftest.one conftest.two conftest.dir
1811 if test "${ac_cv_path_install+set}" = set; then
1812 INSTALL=$ac_cv_path_install
1813 else
1814 # As a last resort, use the slow shell script. Don't cache a
1815 # value for INSTALL within a source directory, because that will
1816 # break other packages using the cache if that directory is
1817 # removed, or if the value is a relative name.
1818 INSTALL=$ac_install_sh
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1822 $as_echo "$INSTALL" >&6; }
1824 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1825 # It thinks the first close brace ends the variable substitution.
1826 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1828 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1830 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1833 $as_echo_n "checking whether build environment is sane... " >&6; }
1834 # Just in case
1835 sleep 1
1836 echo timestamp > conftest.file
1837 # Do `set' in a subshell so we don't clobber the current shell's
1838 # arguments. Must try -L first in case configure is actually a
1839 # symlink; some systems play weird games with the mod time of symlinks
1840 # (eg FreeBSD returns the mod time of the symlink's containing
1841 # directory).
1842 if (
1843 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1844 if test "$*" = "X"; then
1845 # -L didn't work.
1846 set X `ls -t $srcdir/configure conftest.file`
1848 rm -f conftest.file
1849 if test "$*" != "X $srcdir/configure conftest.file" \
1850 && test "$*" != "X conftest.file $srcdir/configure"; then
1852 # If neither matched, then we have a broken ls. This can happen
1853 # if, for instance, CONFIG_SHELL is bash and it inherits a
1854 # broken ls alias from the environment. This has actually
1855 # happened. Such a system could not be considered "sane".
1856 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
1857 alias in your environment" "$LINENO" 5
1860 test "$2" = conftest.file
1862 then
1863 # Ok.
1865 else
1866 as_fn_error $? "newly created file is older than distributed files!
1867 Check your system clock" "$LINENO" 5
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1870 $as_echo "yes" >&6; }
1871 test "$program_prefix" != NONE &&
1872 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1873 # Use a double $ so make ignores it.
1874 test "$program_suffix" != NONE &&
1875 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1876 # Double any \ or $.
1877 # By default was `s,x,x', remove it if useless.
1878 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1879 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1881 # expand $ac_aux_dir to an absolute path
1882 am_aux_dir=`cd $ac_aux_dir && pwd`
1884 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1885 # Use eval to expand $SHELL
1886 if eval "$MISSING --run true"; then
1887 am_missing_run="$MISSING --run "
1888 else
1889 am_missing_run=
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1891 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1894 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1895 # We used to keeping the `.' as first argument, in order to
1896 # allow $(mkdir_p) to be used without argument. As in
1897 # $(mkdir_p) $(somedir)
1898 # where $(somedir) is conditionally defined. However this is wrong
1899 # for two reasons:
1900 # 1. if the package is installed by a user who cannot write `.'
1901 # make install will fail,
1902 # 2. the above comment should most certainly read
1903 # $(mkdir_p) $(DESTDIR)$(somedir)
1904 # so it does not work when $(somedir) is undefined and
1905 # $(DESTDIR) is not.
1906 # To support the latter case, we have to write
1907 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1908 # so the `.' trick is pointless.
1909 mkdir_p='mkdir -p --'
1910 else
1911 # On NextStep and OpenStep, the `mkdir' command does not
1912 # recognize any option. It will interpret all options as
1913 # directories to create, and then abort because `.' already
1914 # exists.
1915 for d in ./-p ./--version;
1917 test -d $d && rmdir $d
1918 done
1919 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1920 if test -f "$ac_aux_dir/mkinstalldirs"; then
1921 mkdir_p='$(mkinstalldirs)'
1922 else
1923 mkdir_p='$(install_sh) -d'
1927 for ac_prog in gawk mawk nawk awk
1929 # Extract the first word of "$ac_prog", so it can be a program name with args.
1930 set dummy $ac_prog; ac_word=$2
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1932 $as_echo_n "checking for $ac_word... " >&6; }
1933 if ${ac_cv_prog_AWK+:} false; then :
1934 $as_echo_n "(cached) " >&6
1935 else
1936 if test -n "$AWK"; then
1937 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1938 else
1939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1940 for as_dir in $PATH
1942 IFS=$as_save_IFS
1943 test -z "$as_dir" && as_dir=.
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1946 ac_cv_prog_AWK="$ac_prog"
1947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 break 2
1950 done
1951 done
1952 IFS=$as_save_IFS
1956 AWK=$ac_cv_prog_AWK
1957 if test -n "$AWK"; then
1958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
1959 $as_echo "$AWK" >&6; }
1960 else
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1962 $as_echo "no" >&6; }
1966 test -n "$AWK" && break
1967 done
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1970 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1971 set x ${MAKE-make}
1972 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1973 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1974 $as_echo_n "(cached) " >&6
1975 else
1976 cat >conftest.make <<\_ACEOF
1977 SHELL = /bin/sh
1978 all:
1979 @echo '@@@%%%=$(MAKE)=@@@%%%'
1980 _ACEOF
1981 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1982 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1983 *@@@%%%=?*=@@@%%%*)
1984 eval ac_cv_prog_make_${ac_make}_set=yes;;
1986 eval ac_cv_prog_make_${ac_make}_set=no;;
1987 esac
1988 rm -f conftest.make
1990 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1992 $as_echo "yes" >&6; }
1993 SET_MAKE=
1994 else
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1996 $as_echo "no" >&6; }
1997 SET_MAKE="MAKE=${MAKE-make}"
2000 rm -rf .tst 2>/dev/null
2001 mkdir .tst 2>/dev/null
2002 if test -d .tst; then
2003 am__leading_dot=.
2004 else
2005 am__leading_dot=_
2007 rmdir .tst 2>/dev/null
2009 # test to see if srcdir already configured
2010 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2011 test -f $srcdir/config.status; then
2012 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2015 # test whether we have cygpath
2016 if test -z "$CYGPATH_W"; then
2017 if (cygpath --version) >/dev/null 2>/dev/null; then
2018 CYGPATH_W='cygpath -w'
2019 else
2020 CYGPATH_W=echo
2025 # Define the identity of the package.
2026 PACKAGE=navi2ch
2027 VERSION=2.0.0-DEV
2030 cat >>confdefs.h <<_ACEOF
2031 #define PACKAGE "$PACKAGE"
2032 _ACEOF
2035 cat >>confdefs.h <<_ACEOF
2036 #define VERSION "$VERSION"
2037 _ACEOF
2039 # Some tools Automake needs.
2041 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2044 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2047 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2050 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2053 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2055 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2057 # Installed binaries are usually stripped using `strip' when the user
2058 # run `make install-strip'. However `strip' might not be the right
2059 # tool to use in cross-compilation environments, therefore Automake
2060 # will honor the `STRIP' environment variable to overrule this program.
2061 if test "$cross_compiling" != no; then
2062 if test -n "$ac_tool_prefix"; then
2063 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2064 set dummy ${ac_tool_prefix}strip; ac_word=$2
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2066 $as_echo_n "checking for $ac_word... " >&6; }
2067 if ${ac_cv_prog_STRIP+:} false; then :
2068 $as_echo_n "(cached) " >&6
2069 else
2070 if test -n "$STRIP"; then
2071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2072 else
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 for ac_exec_ext in '' $ac_executable_extensions; do
2079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2080 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 break 2
2084 done
2085 done
2086 IFS=$as_save_IFS
2090 STRIP=$ac_cv_prog_STRIP
2091 if test -n "$STRIP"; then
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2093 $as_echo "$STRIP" >&6; }
2094 else
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2096 $as_echo "no" >&6; }
2101 if test -z "$ac_cv_prog_STRIP"; then
2102 ac_ct_STRIP=$STRIP
2103 # Extract the first word of "strip", so it can be a program name with args.
2104 set dummy strip; ac_word=$2
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2106 $as_echo_n "checking for $ac_word... " >&6; }
2107 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2108 $as_echo_n "(cached) " >&6
2109 else
2110 if test -n "$ac_ct_STRIP"; then
2111 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2120 ac_cv_prog_ac_ct_STRIP="strip"
2121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2126 IFS=$as_save_IFS
2130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2131 if test -n "$ac_ct_STRIP"; then
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2133 $as_echo "$ac_ct_STRIP" >&6; }
2134 else
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2136 $as_echo "no" >&6; }
2139 if test "x$ac_ct_STRIP" = x; then
2140 STRIP=":"
2141 else
2142 case $cross_compiling:$ac_tool_warned in
2143 yes:)
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2145 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2146 ac_tool_warned=yes ;;
2147 esac
2148 STRIP=$ac_ct_STRIP
2150 else
2151 STRIP="$ac_cv_prog_STRIP"
2155 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2157 # We need awk for the "check" target. The system "awk" is bad on
2158 # some platforms.
2159 # Always define AMTAR for backward compatibility.
2161 AMTAR=${AMTAR-"${am_missing_run}tar"}
2163 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2170 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2171 # Check whether --enable-maintainer-mode was given.
2172 if test "${enable_maintainer_mode+set}" = set; then :
2173 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2174 else
2175 USE_MAINTAINER_MODE=no
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2179 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2182 if test $USE_MAINTAINER_MODE = yes; then
2183 MAINTAINER_MODE_TRUE=
2184 MAINTAINER_MODE_FALSE='#'
2185 else
2186 MAINTAINER_MODE_TRUE='#'
2187 MAINTAINER_MODE_FALSE=
2190 MAINT=$MAINTAINER_MODE_TRUE
2196 # If set to t, that means we are running in a shell under Emacs.
2197 # If you have an Emacs named "t", then use the full path.
2198 test x"$EMACS" = xt && EMACS=
2199 for ac_prog in emacs xemacs
2201 # Extract the first word of "$ac_prog", so it can be a program name with args.
2202 set dummy $ac_prog; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if ${ac_cv_prog_EMACS+:} false; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if test -n "$EMACS"; then
2209 ac_cv_prog_EMACS="$EMACS" # Let the user override the test.
2210 else
2211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 for as_dir in $PATH
2214 IFS=$as_save_IFS
2215 test -z "$as_dir" && as_dir=.
2216 for ac_exec_ext in '' $ac_executable_extensions; do
2217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2218 ac_cv_prog_EMACS="$ac_prog"
2219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2220 break 2
2222 done
2223 done
2224 IFS=$as_save_IFS
2228 EMACS=$ac_cv_prog_EMACS
2229 if test -n "$EMACS"; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EMACS" >&5
2231 $as_echo "$EMACS" >&6; }
2232 else
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2234 $as_echo "no" >&6; }
2238 test -n "$EMACS" && break
2239 done
2240 test -n "$EMACS" || EMACS="no"
2245 # Check whether --with-lispdir was given.
2246 if test "${with_lispdir+set}" = set; then :
2247 withval=$with_lispdir; lispdir="$withval"
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2249 $as_echo_n "checking where .elc files should go... " >&6; }
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lispdir" >&5
2251 $as_echo "$lispdir" >&6; }
2252 else
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where .elc files should go" >&5
2255 $as_echo_n "checking where .elc files should go... " >&6; }
2256 if ${am_cv_lispdir+:} false; then :
2257 $as_echo_n "(cached) " >&6
2258 else
2260 if test $EMACS != "no"; then
2261 if test x${lispdir+set} != xset; then
2262 # If $EMACS isn't GNU Emacs or XEmacs, this can blow up pretty badly
2263 # Some emacsen will start up in interactive mode, requiring C-x C-c to exit,
2264 # which is non-obvious for non-emacs users.
2265 # Redirecting /dev/null should help a bit; pity we can't detect "broken"
2266 # emacsen earlier and avoid running this altogether.
2267 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) \"\\n\")) (setq load-path (cdr load-path)))' </dev/null >conftest.out"; } >&5
2268 ($EMACS -batch -q -eval '(while load-path (princ (concat (car load-path) "\n")) (setq load-path (cdr load-path)))' </dev/null >conftest.out) 2>&5
2269 ac_status=$?
2270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2271 test $ac_status = 0; }
2272 am_cv_lispdir=`sed -n \
2273 -e 's,/$,,' \
2274 -e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
2275 -e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
2276 conftest.out`
2277 rm conftest.out
2280 test -z "$am_cv_lispdir" && am_cv_lispdir='${datadir}/emacs/site-lisp'
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_lispdir" >&5
2284 $as_echo "$am_cv_lispdir" >&6; }
2285 lispdir="$am_cv_lispdir"
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking detecting your emacs type" >&5
2293 $as_echo_n "checking detecting your emacs type... " >&6; }
2294 { ac_temp=./conftemp.$$
2295 ac_output=confout.$$
2296 rm -f $ac_temp $ac_output
2297 cat >>$ac_temp <<\_ACEOF
2298 (defun ac-temp-func (&optional argv)
2299 (princ (cond ((featurep 'xemacs) 'xemacs)
2300 ((>= emacs-major-version 21) 'emacs21)
2301 ((= emacs-major-version 20) 'emacs20)
2302 (t 'UNKNOWN)))
2303 (princ "\n") ; make sure the output has trailing newline.
2305 _ACEOF
2306 $EMACS -batch -q -l $ac_temp -eval "(ac-temp-func )" | sed -e '/^ *$/d' > $ac_output
2307 emacstype=`cat $ac_output`
2308 rm -f $ac_temp $ac_output; }
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $emacstype" >&5
2310 $as_echo "$emacstype" >&6; }
2312 if test -z "$emacstype" || test "$emacstype" = UNKNOWN; then
2313 as_fn_error $? "this package does not work on your emacs" "$LINENO" 5
2316 # detect packagedir
2318 # Check whether --with-packagedir was given.
2319 if test "${with_packagedir+set}" = set; then :
2320 withval=$with_packagedir; { $as_echo "$as_me:${as_lineno-$LINENO}: checking where package files should go" >&5
2321 $as_echo_n "checking where package files should go... " >&6; }
2322 test "$emacstype" != xemacs && as_fn_error $? "packagedir only works with XEmacs" "$LINENO" 5
2323 case "$withval" in
2324 yes) { ac_temp=./conftemp.$$
2325 ac_output=confout.$$
2326 rm -f $ac_temp $ac_output
2327 cat >>$ac_temp <<\_ACEOF
2328 (defun ac-temp-func (&optional argv)
2330 (let ((prefix argv)
2331 (default data-directory))
2332 (princ
2333 (if (and prefix
2334 (not (string= prefix "NONE"))
2335 (string-match "/\\(\\(?:lib\\|share\\)/xemacs[^/]*/.*$\\)" default))
2336 (expand-file-name "site-packages"
2337 (expand-file-name (match-string 1 default)
2338 prefix))
2339 (expand-file-name "../site-packages" default))))
2340 (princ "\n") ; make sure the output has trailing newline.
2342 _ACEOF
2343 $EMACS -batch -q -l $ac_temp -eval "(ac-temp-func \"${prefix}\")" | sed -e '/^ *$/d' > $ac_output
2344 packagedir=`cat $ac_output`
2345 rm -f $ac_temp $ac_output; }
2347 no) unset packagedir ;;
2348 *) packagedir="$withval" ;;
2349 esac
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $packagedir" >&5
2351 $as_echo "$packagedir" >&6; }
2357 if test "$emacstype" = xemacs && test -n "$packagedir"; then
2358 icondir='${packagedir}/etc/navi2ch'
2359 lispdir='${packagedir}/lisp/navi2ch'
2360 infodir='${packagedir}/info'
2364 # Check whether --with-icondir was given.
2365 if test "${with_icondir+set}" = set; then :
2366 withval=$with_icondir; icondir="$withval"
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where icon files should go" >&5
2368 $as_echo_n "checking where icon files should go... " >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $icondir" >&5
2370 $as_echo "$icondir" >&6; }
2371 else
2373 if test -z "${icondir}"; then
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where icon files should go" >&5
2375 $as_echo_n "checking where icon files should go... " >&6; }
2376 if ${_cv_icondir+:} false; then :
2377 $as_echo_n "(cached) " >&6
2378 else
2379 { ac_temp=./conftemp.$$
2380 ac_output=confout.$$
2381 rm -f $ac_temp $ac_output
2382 cat >>$ac_temp <<\_ACEOF
2383 (defun ac-temp-func (&optional argv)
2385 (let ((prefix argv)
2386 (default data-directory))
2387 (princ (expand-file-name "navi2ch/icons"
2388 (if (and prefix
2389 (not (string= prefix "NONE"))
2390 (string-match "/\\(\\(?:lib\\|share\\)/x?emacs[^/]*/.*$\\)" default))
2391 (expand-file-name (match-string 1 default)
2392 prefix)
2393 default))))
2394 (princ "\n") ; make sure the output has trailing newline.
2396 _ACEOF
2397 $EMACS -batch -q -l $ac_temp -eval "(ac-temp-func \"${prefix}\")" | sed -e '/^ *$/d' > $ac_output
2398 _cv_icondir=`cat $ac_output`
2399 rm -f $ac_temp $ac_output; }
2400 if test -z "$_cv_icondir"; then
2401 _cv_icondir='${datadir}/pixmaps/navi2ch'
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_icondir" >&5
2406 $as_echo "$_cv_icondir" >&6; }
2407 icondir="$_cv_icondir"
2415 ac_config_files="$ac_config_files Makefile contrib/Makefile doc/Makefile icons/Makefile test/Makefile navi2ch-config.el"
2417 cat >confcache <<\_ACEOF
2418 # This file is a shell script that caches the results of configure
2419 # tests run on this system so they can be shared between configure
2420 # scripts and configure runs, see configure's option --config-cache.
2421 # It is not useful on other systems. If it contains results you don't
2422 # want to keep, you may remove or edit it.
2424 # config.status only pays attention to the cache file if you give it
2425 # the --recheck option to rerun configure.
2427 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2428 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2429 # following values.
2431 _ACEOF
2433 # The following way of writing the cache mishandles newlines in values,
2434 # but we know of no workaround that is simple, portable, and efficient.
2435 # So, we kill variables containing newlines.
2436 # Ultrix sh set writes to stderr and can't be redirected directly,
2437 # and sets the high bit in the cache file unless we assign to the vars.
2439 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2440 eval ac_val=\$$ac_var
2441 case $ac_val in #(
2442 *${as_nl}*)
2443 case $ac_var in #(
2444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2445 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2446 esac
2447 case $ac_var in #(
2448 _ | IFS | as_nl) ;; #(
2449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2450 *) { eval $ac_var=; unset $ac_var;} ;;
2451 esac ;;
2452 esac
2453 done
2455 (set) 2>&1 |
2456 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2457 *${as_nl}ac_space=\ *)
2458 # `set' does not quote correctly, so add quotes: double-quote
2459 # substitution turns \\\\ into \\, and sed turns \\ into \.
2460 sed -n \
2461 "s/'/'\\\\''/g;
2462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2463 ;; #(
2465 # `set' quotes correctly as required by POSIX, so do not add quotes.
2466 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2468 esac |
2469 sort
2471 sed '
2472 /^ac_cv_env_/b end
2473 t clear
2474 :clear
2475 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2476 t end
2477 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2478 :end' >>confcache
2479 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2480 if test -w "$cache_file"; then
2481 if test "x$cache_file" != "x/dev/null"; then
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2483 $as_echo "$as_me: updating cache $cache_file" >&6;}
2484 if test ! -f "$cache_file" || test -h "$cache_file"; then
2485 cat confcache >"$cache_file"
2486 else
2487 case $cache_file in #(
2488 */* | ?:*)
2489 mv -f confcache "$cache_file"$$ &&
2490 mv -f "$cache_file"$$ "$cache_file" ;; #(
2492 mv -f confcache "$cache_file" ;;
2493 esac
2496 else
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2498 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2501 rm -f confcache
2503 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2504 # Let make expand exec_prefix.
2505 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2507 # Transform confdefs.h into DEFS.
2508 # Protect against shell expansion while executing Makefile rules.
2509 # Protect against Makefile macro expansion.
2511 # If the first sed substitution is executed (which looks for macros that
2512 # take arguments), then branch to the quote section. Otherwise,
2513 # look for a macro that doesn't take arguments.
2514 ac_script='
2515 :mline
2516 /\\$/{
2518 s,\\\n,,
2519 b mline
2521 t clear
2522 :clear
2523 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2524 t quote
2525 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2526 t quote
2527 b any
2528 :quote
2529 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2530 s/\[/\\&/g
2531 s/\]/\\&/g
2532 s/\$/$$/g
2534 :any
2537 s/^\n//
2538 s/\n/ /g
2542 DEFS=`sed -n "$ac_script" confdefs.h`
2545 ac_libobjs=
2546 ac_ltlibobjs=
2548 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2549 # 1. Remove the extension, and $U if already installed.
2550 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2551 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2552 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2553 # will be set to the directory where LIBOBJS objects are built.
2554 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2555 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2556 done
2557 LIBOBJS=$ac_libobjs
2559 LTLIBOBJS=$ac_ltlibobjs
2562 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2563 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2567 : "${CONFIG_STATUS=./config.status}"
2568 ac_write_fail=0
2569 ac_clean_files_save=$ac_clean_files
2570 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2573 as_write_fail=0
2574 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2575 #! $SHELL
2576 # Generated by $as_me.
2577 # Run this file to recreate the current configuration.
2578 # Compiler output produced by configure, useful for debugging
2579 # configure, is in config.log if it exists.
2581 debug=false
2582 ac_cs_recheck=false
2583 ac_cs_silent=false
2585 SHELL=\${CONFIG_SHELL-$SHELL}
2586 export SHELL
2587 _ASEOF
2588 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2589 ## -------------------- ##
2590 ## M4sh Initialization. ##
2591 ## -------------------- ##
2593 # Be more Bourne compatible
2594 DUALCASE=1; export DUALCASE # for MKS sh
2595 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2596 emulate sh
2597 NULLCMD=:
2598 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2599 # is contrary to our usage. Disable this feature.
2600 alias -g '${1+"$@"}'='"$@"'
2601 setopt NO_GLOB_SUBST
2602 else
2603 case `(set -o) 2>/dev/null` in #(
2604 *posix*) :
2605 set -o posix ;; #(
2606 *) :
2608 esac
2612 as_nl='
2614 export as_nl
2615 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2616 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2617 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2618 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2619 # Prefer a ksh shell builtin over an external printf program on Solaris,
2620 # but without wasting forks for bash or zsh.
2621 if test -z "$BASH_VERSION$ZSH_VERSION" \
2622 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2623 as_echo='print -r --'
2624 as_echo_n='print -rn --'
2625 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2626 as_echo='printf %s\n'
2627 as_echo_n='printf %s'
2628 else
2629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2630 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2631 as_echo_n='/usr/ucb/echo -n'
2632 else
2633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2634 as_echo_n_body='eval
2635 arg=$1;
2636 case $arg in #(
2637 *"$as_nl"*)
2638 expr "X$arg" : "X\\(.*\\)$as_nl";
2639 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2640 esac;
2641 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2643 export as_echo_n_body
2644 as_echo_n='sh -c $as_echo_n_body as_echo'
2646 export as_echo_body
2647 as_echo='sh -c $as_echo_body as_echo'
2650 # The user is always right.
2651 if test "${PATH_SEPARATOR+set}" != set; then
2652 PATH_SEPARATOR=:
2653 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2654 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2655 PATH_SEPARATOR=';'
2660 # IFS
2661 # We need space, tab and new line, in precisely that order. Quoting is
2662 # there to prevent editors from complaining about space-tab.
2663 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2664 # splitting by setting IFS to empty value.)
2665 IFS=" "" $as_nl"
2667 # Find who we are. Look in the path if we contain no directory separator.
2668 as_myself=
2669 case $0 in #((
2670 *[\\/]* ) as_myself=$0 ;;
2671 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 for as_dir in $PATH
2674 IFS=$as_save_IFS
2675 test -z "$as_dir" && as_dir=.
2676 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2677 done
2678 IFS=$as_save_IFS
2681 esac
2682 # We did not find ourselves, most probably we were run as `sh COMMAND'
2683 # in which case we are not to be found in the path.
2684 if test "x$as_myself" = x; then
2685 as_myself=$0
2687 if test ! -f "$as_myself"; then
2688 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2689 exit 1
2692 # Unset variables that we do not need and which cause bugs (e.g. in
2693 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2694 # suppresses any "Segmentation fault" message there. '((' could
2695 # trigger a bug in pdksh 5.2.14.
2696 for as_var in BASH_ENV ENV MAIL MAILPATH
2697 do eval test x\${$as_var+set} = xset \
2698 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2699 done
2700 PS1='$ '
2701 PS2='> '
2702 PS4='+ '
2704 # NLS nuisances.
2705 LC_ALL=C
2706 export LC_ALL
2707 LANGUAGE=C
2708 export LANGUAGE
2710 # CDPATH.
2711 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2714 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2715 # ----------------------------------------
2716 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2717 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2718 # script with STATUS, using 1 if that was 0.
2719 as_fn_error ()
2721 as_status=$1; test $as_status -eq 0 && as_status=1
2722 if test "$4"; then
2723 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2724 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2726 $as_echo "$as_me: error: $2" >&2
2727 as_fn_exit $as_status
2728 } # as_fn_error
2731 # as_fn_set_status STATUS
2732 # -----------------------
2733 # Set $? to STATUS, without forking.
2734 as_fn_set_status ()
2736 return $1
2737 } # as_fn_set_status
2739 # as_fn_exit STATUS
2740 # -----------------
2741 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2742 as_fn_exit ()
2744 set +e
2745 as_fn_set_status $1
2746 exit $1
2747 } # as_fn_exit
2749 # as_fn_unset VAR
2750 # ---------------
2751 # Portably unset VAR.
2752 as_fn_unset ()
2754 { eval $1=; unset $1;}
2756 as_unset=as_fn_unset
2757 # as_fn_append VAR VALUE
2758 # ----------------------
2759 # Append the text in VALUE to the end of the definition contained in VAR. Take
2760 # advantage of any shell optimizations that allow amortized linear growth over
2761 # repeated appends, instead of the typical quadratic growth present in naive
2762 # implementations.
2763 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2764 eval 'as_fn_append ()
2766 eval $1+=\$2
2768 else
2769 as_fn_append ()
2771 eval $1=\$$1\$2
2773 fi # as_fn_append
2775 # as_fn_arith ARG...
2776 # ------------------
2777 # Perform arithmetic evaluation on the ARGs, and store the result in the
2778 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2779 # must be portable across $(()) and expr.
2780 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2781 eval 'as_fn_arith ()
2783 as_val=$(( $* ))
2785 else
2786 as_fn_arith ()
2788 as_val=`expr "$@" || test $? -eq 1`
2790 fi # as_fn_arith
2793 if expr a : '\(a\)' >/dev/null 2>&1 &&
2794 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2795 as_expr=expr
2796 else
2797 as_expr=false
2800 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2801 as_basename=basename
2802 else
2803 as_basename=false
2806 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2807 as_dirname=dirname
2808 else
2809 as_dirname=false
2812 as_me=`$as_basename -- "$0" ||
2813 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2814 X"$0" : 'X\(//\)$' \| \
2815 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2816 $as_echo X/"$0" |
2817 sed '/^.*\/\([^/][^/]*\)\/*$/{
2818 s//\1/
2821 /^X\/\(\/\/\)$/{
2822 s//\1/
2825 /^X\/\(\/\).*/{
2826 s//\1/
2829 s/.*/./; q'`
2831 # Avoid depending upon Character Ranges.
2832 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2833 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2834 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2835 as_cr_digits='0123456789'
2836 as_cr_alnum=$as_cr_Letters$as_cr_digits
2838 ECHO_C= ECHO_N= ECHO_T=
2839 case `echo -n x` in #(((((
2840 -n*)
2841 case `echo 'xy\c'` in
2842 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2843 xy) ECHO_C='\c';;
2844 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2845 ECHO_T=' ';;
2846 esac;;
2848 ECHO_N='-n';;
2849 esac
2851 rm -f conf$$ conf$$.exe conf$$.file
2852 if test -d conf$$.dir; then
2853 rm -f conf$$.dir/conf$$.file
2854 else
2855 rm -f conf$$.dir
2856 mkdir conf$$.dir 2>/dev/null
2858 if (echo >conf$$.file) 2>/dev/null; then
2859 if ln -s conf$$.file conf$$ 2>/dev/null; then
2860 as_ln_s='ln -s'
2861 # ... but there are two gotchas:
2862 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2863 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2864 # In both cases, we have to default to `cp -p'.
2865 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2866 as_ln_s='cp -p'
2867 elif ln conf$$.file conf$$ 2>/dev/null; then
2868 as_ln_s=ln
2869 else
2870 as_ln_s='cp -p'
2872 else
2873 as_ln_s='cp -p'
2875 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2876 rmdir conf$$.dir 2>/dev/null
2879 # as_fn_mkdir_p
2880 # -------------
2881 # Create "$as_dir" as a directory, including parents if necessary.
2882 as_fn_mkdir_p ()
2885 case $as_dir in #(
2886 -*) as_dir=./$as_dir;;
2887 esac
2888 test -d "$as_dir" || eval $as_mkdir_p || {
2889 as_dirs=
2890 while :; do
2891 case $as_dir in #(
2892 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2893 *) as_qdir=$as_dir;;
2894 esac
2895 as_dirs="'$as_qdir' $as_dirs"
2896 as_dir=`$as_dirname -- "$as_dir" ||
2897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2898 X"$as_dir" : 'X\(//\)[^/]' \| \
2899 X"$as_dir" : 'X\(//\)$' \| \
2900 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2901 $as_echo X"$as_dir" |
2902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2903 s//\1/
2906 /^X\(\/\/\)[^/].*/{
2907 s//\1/
2910 /^X\(\/\/\)$/{
2911 s//\1/
2914 /^X\(\/\).*/{
2915 s//\1/
2918 s/.*/./; q'`
2919 test -d "$as_dir" && break
2920 done
2921 test -z "$as_dirs" || eval "mkdir $as_dirs"
2922 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2925 } # as_fn_mkdir_p
2926 if mkdir -p . 2>/dev/null; then
2927 as_mkdir_p='mkdir -p "$as_dir"'
2928 else
2929 test -d ./-p && rmdir ./-p
2930 as_mkdir_p=false
2933 if test -x / >/dev/null 2>&1; then
2934 as_test_x='test -x'
2935 else
2936 if ls -dL / >/dev/null 2>&1; then
2937 as_ls_L_option=L
2938 else
2939 as_ls_L_option=
2941 as_test_x='
2942 eval sh -c '\''
2943 if test -d "$1"; then
2944 test -d "$1/.";
2945 else
2946 case $1 in #(
2947 -*)set "./$1";;
2948 esac;
2949 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2950 ???[sx]*):;;*)false;;esac;fi
2951 '\'' sh
2954 as_executable_p=$as_test_x
2956 # Sed expression to map a string onto a valid CPP name.
2957 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2959 # Sed expression to map a string onto a valid variable name.
2960 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2963 exec 6>&1
2964 ## ----------------------------------- ##
2965 ## Main body of $CONFIG_STATUS script. ##
2966 ## ----------------------------------- ##
2967 _ASEOF
2968 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2971 # Save the log message, to keep $0 and so on meaningful, and to
2972 # report actual input values of CONFIG_FILES etc. instead of their
2973 # values after options handling.
2974 ac_log="
2975 This file was extended by $as_me, which was
2976 generated by GNU Autoconf 2.68. Invocation command line was
2978 CONFIG_FILES = $CONFIG_FILES
2979 CONFIG_HEADERS = $CONFIG_HEADERS
2980 CONFIG_LINKS = $CONFIG_LINKS
2981 CONFIG_COMMANDS = $CONFIG_COMMANDS
2982 $ $0 $@
2984 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2987 _ACEOF
2989 case $ac_config_files in *"
2990 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2991 esac
2995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2996 # Files that config.status was made for.
2997 config_files="$ac_config_files"
2999 _ACEOF
3001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3002 ac_cs_usage="\
3003 \`$as_me' instantiates files and other configuration actions
3004 from templates according to the current configuration. Unless the files
3005 and actions are specified as TAGs, all are instantiated by default.
3007 Usage: $0 [OPTION]... [TAG]...
3009 -h, --help print this help, then exit
3010 -V, --version print version number and configuration settings, then exit
3011 --config print configuration, then exit
3012 -q, --quiet, --silent
3013 do not print progress messages
3014 -d, --debug don't remove temporary files
3015 --recheck update $as_me by reconfiguring in the same conditions
3016 --file=FILE[:TEMPLATE]
3017 instantiate the configuration file FILE
3019 Configuration files:
3020 $config_files
3022 Report bugs to the package provider."
3024 _ACEOF
3025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3026 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3027 ac_cs_version="\\
3028 config.status
3029 configured by $0, generated by GNU Autoconf 2.68,
3030 with options \\"\$ac_cs_config\\"
3032 Copyright (C) 2010 Free Software Foundation, Inc.
3033 This config.status script is free software; the Free Software Foundation
3034 gives unlimited permission to copy, distribute and modify it."
3036 ac_pwd='$ac_pwd'
3037 srcdir='$srcdir'
3038 INSTALL='$INSTALL'
3039 AWK='$AWK'
3040 test -n "\$AWK" || AWK=awk
3041 _ACEOF
3043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3044 # The default lists apply if the user does not specify any file.
3045 ac_need_defaults=:
3046 while test $# != 0
3048 case $1 in
3049 --*=?*)
3050 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3051 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3052 ac_shift=:
3054 --*=)
3055 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3056 ac_optarg=
3057 ac_shift=:
3060 ac_option=$1
3061 ac_optarg=$2
3062 ac_shift=shift
3064 esac
3066 case $ac_option in
3067 # Handling of the options.
3068 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3069 ac_cs_recheck=: ;;
3070 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3071 $as_echo "$ac_cs_version"; exit ;;
3072 --config | --confi | --conf | --con | --co | --c )
3073 $as_echo "$ac_cs_config"; exit ;;
3074 --debug | --debu | --deb | --de | --d | -d )
3075 debug=: ;;
3076 --file | --fil | --fi | --f )
3077 $ac_shift
3078 case $ac_optarg in
3079 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3080 '') as_fn_error $? "missing file argument" ;;
3081 esac
3082 as_fn_append CONFIG_FILES " '$ac_optarg'"
3083 ac_need_defaults=false;;
3084 --he | --h | --help | --hel | -h )
3085 $as_echo "$ac_cs_usage"; exit ;;
3086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3087 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3088 ac_cs_silent=: ;;
3090 # This is an error.
3091 -*) as_fn_error $? "unrecognized option: \`$1'
3092 Try \`$0 --help' for more information." ;;
3094 *) as_fn_append ac_config_targets " $1"
3095 ac_need_defaults=false ;;
3097 esac
3098 shift
3099 done
3101 ac_configure_extra_args=
3103 if $ac_cs_silent; then
3104 exec 6>/dev/null
3105 ac_configure_extra_args="$ac_configure_extra_args --silent"
3108 _ACEOF
3109 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3110 if \$ac_cs_recheck; then
3111 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3112 shift
3113 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3114 CONFIG_SHELL='$SHELL'
3115 export CONFIG_SHELL
3116 exec "\$@"
3119 _ACEOF
3120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3121 exec 5>>config.log
3123 echo
3124 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3125 ## Running $as_me. ##
3126 _ASBOX
3127 $as_echo "$ac_log"
3128 } >&5
3130 _ACEOF
3131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3132 _ACEOF
3134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3136 # Handling of arguments.
3137 for ac_config_target in $ac_config_targets
3139 case $ac_config_target in
3140 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3141 "contrib/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/Makefile" ;;
3142 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
3143 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
3144 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
3145 "navi2ch-config.el") CONFIG_FILES="$CONFIG_FILES navi2ch-config.el" ;;
3147 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3148 esac
3149 done
3152 # If the user did not use the arguments to specify the items to instantiate,
3153 # then the envvar interface is used. Set only those that are not.
3154 # We use the long form for the default assignment because of an extremely
3155 # bizarre bug on SunOS 4.1.3.
3156 if $ac_need_defaults; then
3157 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3160 # Have a temporary directory for convenience. Make it in the build tree
3161 # simply because there is no reason against having it here, and in addition,
3162 # creating and moving files from /tmp can sometimes cause problems.
3163 # Hook for its removal unless debugging.
3164 # Note that there is a small window in which the directory will not be cleaned:
3165 # after its creation but before its name has been assigned to `$tmp'.
3166 $debug ||
3168 tmp= ac_tmp=
3169 trap 'exit_status=$?
3170 : "${ac_tmp:=$tmp}"
3171 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3173 trap 'as_fn_exit 1' 1 2 13 15
3175 # Create a (secure) tmp directory for tmp files.
3178 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3179 test -d "$tmp"
3180 } ||
3182 tmp=./conf$$-$RANDOM
3183 (umask 077 && mkdir "$tmp")
3184 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3185 ac_tmp=$tmp
3187 # Set up the scripts for CONFIG_FILES section.
3188 # No need to generate them if there are no CONFIG_FILES.
3189 # This happens for instance with `./config.status config.h'.
3190 if test -n "$CONFIG_FILES"; then
3193 ac_cr=`echo X | tr X '\015'`
3194 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3195 # But we know of no other shell where ac_cr would be empty at this
3196 # point, so we can use a bashism as a fallback.
3197 if test "x$ac_cr" = x; then
3198 eval ac_cr=\$\'\\r\'
3200 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3201 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3202 ac_cs_awk_cr='\\r'
3203 else
3204 ac_cs_awk_cr=$ac_cr
3207 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3208 _ACEOF
3212 echo "cat >conf$$subs.awk <<_ACEOF" &&
3213 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3214 echo "_ACEOF"
3215 } >conf$$subs.sh ||
3216 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3217 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3218 ac_delim='%!_!# '
3219 for ac_last_try in false false false false false :; do
3220 . ./conf$$subs.sh ||
3221 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3223 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3224 if test $ac_delim_n = $ac_delim_num; then
3225 break
3226 elif $ac_last_try; then
3227 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3228 else
3229 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3231 done
3232 rm -f conf$$subs.sh
3234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3235 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3236 _ACEOF
3237 sed -n '
3239 s/^/S["/; s/!.*/"]=/
3242 s/^[^!]*!//
3243 :repl
3244 t repl
3245 s/'"$ac_delim"'$//
3246 t delim
3249 s/\(.\{148\}\)..*/\1/
3250 t more1
3251 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3254 b repl
3255 :more1
3256 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3259 s/.\{148\}//
3260 t nl
3261 :delim
3263 s/\(.\{148\}\)..*/\1/
3264 t more2
3265 s/["\\]/\\&/g; s/^/"/; s/$/"/
3268 :more2
3269 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3272 s/.\{148\}//
3273 t delim
3274 ' <conf$$subs.awk | sed '
3275 /^[^""]/{
3277 s/\n//
3279 ' >>$CONFIG_STATUS || ac_write_fail=1
3280 rm -f conf$$subs.awk
3281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3282 _ACAWK
3283 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3284 for (key in S) S_is_set[key] = 1
3285 FS = "\a"
3289 line = $ 0
3290 nfields = split(line, field, "@")
3291 substed = 0
3292 len = length(field[1])
3293 for (i = 2; i < nfields; i++) {
3294 key = field[i]
3295 keylen = length(key)
3296 if (S_is_set[key]) {
3297 value = S[key]
3298 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3299 len += length(value) + length(field[++i])
3300 substed = 1
3301 } else
3302 len += 1 + keylen
3305 print line
3308 _ACAWK
3309 _ACEOF
3310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3311 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3312 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3313 else
3315 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3316 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3317 _ACEOF
3319 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3320 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3321 # trailing colons and then remove the whole line if VPATH becomes empty
3322 # (actually we leave an empty line to preserve line numbers).
3323 if test "x$srcdir" = x.; then
3324 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3326 s///
3327 s/^/:/
3328 s/[ ]*$/:/
3329 s/:\$(srcdir):/:/g
3330 s/:\${srcdir}:/:/g
3331 s/:@srcdir@:/:/g
3332 s/^:*//
3333 s/:*$//
3335 s/\(=[ ]*\).*/\1/
3337 s/\n//
3338 s/^[^=]*=[ ]*$//
3342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3343 fi # test -n "$CONFIG_FILES"
3346 eval set X " :F $CONFIG_FILES "
3347 shift
3348 for ac_tag
3350 case $ac_tag in
3351 :[FHLC]) ac_mode=$ac_tag; continue;;
3352 esac
3353 case $ac_mode$ac_tag in
3354 :[FHL]*:*);;
3355 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3356 :[FH]-) ac_tag=-:-;;
3357 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3358 esac
3359 ac_save_IFS=$IFS
3360 IFS=:
3361 set x $ac_tag
3362 IFS=$ac_save_IFS
3363 shift
3364 ac_file=$1
3365 shift
3367 case $ac_mode in
3368 :L) ac_source=$1;;
3369 :[FH])
3370 ac_file_inputs=
3371 for ac_f
3373 case $ac_f in
3374 -) ac_f="$ac_tmp/stdin";;
3375 *) # Look for the file first in the build tree, then in the source tree
3376 # (if the path is not absolute). The absolute path cannot be DOS-style,
3377 # because $ac_f cannot contain `:'.
3378 test -f "$ac_f" ||
3379 case $ac_f in
3380 [\\/$]*) false;;
3381 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3382 esac ||
3383 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3384 esac
3385 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3386 as_fn_append ac_file_inputs " '$ac_f'"
3387 done
3389 # Let's still pretend it is `configure' which instantiates (i.e., don't
3390 # use $as_me), people would be surprised to read:
3391 # /* config.h. Generated by config.status. */
3392 configure_input='Generated from '`
3393 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3394 `' by configure.'
3395 if test x"$ac_file" != x-; then
3396 configure_input="$ac_file. $configure_input"
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3398 $as_echo "$as_me: creating $ac_file" >&6;}
3400 # Neutralize special characters interpreted by sed in replacement strings.
3401 case $configure_input in #(
3402 *\&* | *\|* | *\\* )
3403 ac_sed_conf_input=`$as_echo "$configure_input" |
3404 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3405 *) ac_sed_conf_input=$configure_input;;
3406 esac
3408 case $ac_tag in
3409 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3410 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3411 esac
3413 esac
3415 ac_dir=`$as_dirname -- "$ac_file" ||
3416 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3417 X"$ac_file" : 'X\(//\)[^/]' \| \
3418 X"$ac_file" : 'X\(//\)$' \| \
3419 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3420 $as_echo X"$ac_file" |
3421 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3422 s//\1/
3425 /^X\(\/\/\)[^/].*/{
3426 s//\1/
3429 /^X\(\/\/\)$/{
3430 s//\1/
3433 /^X\(\/\).*/{
3434 s//\1/
3437 s/.*/./; q'`
3438 as_dir="$ac_dir"; as_fn_mkdir_p
3439 ac_builddir=.
3441 case "$ac_dir" in
3442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3445 # A ".." for each directory in $ac_dir_suffix.
3446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3447 case $ac_top_builddir_sub in
3448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3450 esac ;;
3451 esac
3452 ac_abs_top_builddir=$ac_pwd
3453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3454 # for backward compatibility:
3455 ac_top_builddir=$ac_top_build_prefix
3457 case $srcdir in
3458 .) # We are building in place.
3459 ac_srcdir=.
3460 ac_top_srcdir=$ac_top_builddir_sub
3461 ac_abs_top_srcdir=$ac_pwd ;;
3462 [\\/]* | ?:[\\/]* ) # Absolute name.
3463 ac_srcdir=$srcdir$ac_dir_suffix;
3464 ac_top_srcdir=$srcdir
3465 ac_abs_top_srcdir=$srcdir ;;
3466 *) # Relative name.
3467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3468 ac_top_srcdir=$ac_top_build_prefix$srcdir
3469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3470 esac
3471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3474 case $ac_mode in
3477 # CONFIG_FILE
3480 case $INSTALL in
3481 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3482 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3483 esac
3484 _ACEOF
3486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3487 # If the template does not know about datarootdir, expand it.
3488 # FIXME: This hack should be removed a few years after 2.60.
3489 ac_datarootdir_hack=; ac_datarootdir_seen=
3490 ac_sed_dataroot='
3491 /datarootdir/ {
3495 /@datadir@/p
3496 /@docdir@/p
3497 /@infodir@/p
3498 /@localedir@/p
3499 /@mandir@/p'
3500 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3501 *datarootdir*) ac_datarootdir_seen=yes;;
3502 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3504 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3505 _ACEOF
3506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3507 ac_datarootdir_hack='
3508 s&@datadir@&$datadir&g
3509 s&@docdir@&$docdir&g
3510 s&@infodir@&$infodir&g
3511 s&@localedir@&$localedir&g
3512 s&@mandir@&$mandir&g
3513 s&\\\${datarootdir}&$datarootdir&g' ;;
3514 esac
3515 _ACEOF
3517 # Neutralize VPATH when `$srcdir' = `.'.
3518 # Shell code in configure.ac might set extrasub.
3519 # FIXME: do we really want to maintain this feature?
3520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3521 ac_sed_extra="$ac_vpsub
3522 $extrasub
3523 _ACEOF
3524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3526 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3527 s|@configure_input@|$ac_sed_conf_input|;t t
3528 s&@top_builddir@&$ac_top_builddir_sub&;t t
3529 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3530 s&@srcdir@&$ac_srcdir&;t t
3531 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3532 s&@top_srcdir@&$ac_top_srcdir&;t t
3533 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3534 s&@builddir@&$ac_builddir&;t t
3535 s&@abs_builddir@&$ac_abs_builddir&;t t
3536 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3537 s&@INSTALL@&$ac_INSTALL&;t t
3538 $ac_datarootdir_hack
3540 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3541 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3543 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3544 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3545 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3546 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3548 which seems to be undefined. Please make sure it is defined" >&5
3549 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3550 which seems to be undefined. Please make sure it is defined" >&2;}
3552 rm -f "$ac_tmp/stdin"
3553 case $ac_file in
3554 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3555 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3556 esac \
3557 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3562 esac
3564 done # for ac_tag
3567 as_fn_exit 0
3568 _ACEOF
3569 ac_clean_files=$ac_clean_files_save
3571 test $ac_write_fail = 0 ||
3572 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3575 # configure is writing to config.log, and then calls config.status.
3576 # config.status does its own redirection, appending to config.log.
3577 # Unfortunately, on DOS this fails, as config.log is still kept open
3578 # by configure, so config.status won't be able to write to it; its
3579 # output is simply discarded. So we exec the FD to /dev/null,
3580 # effectively closing config.log, so it can be properly (re)opened and
3581 # appended to by config.status. When coming back to configure, we
3582 # need to make the FD available again.
3583 if test "$no_create" != yes; then
3584 ac_cs_success=:
3585 ac_config_status_args=
3586 test "$silent" = yes &&
3587 ac_config_status_args="$ac_config_status_args --quiet"
3588 exec 5>/dev/null
3589 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3590 exec 5>>config.log
3591 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3592 # would make configure fail if this is the last instruction.
3593 $ac_cs_success || as_fn_exit 1
3595 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3597 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}