Encode names of nnml groups that nnmail-get-new-mail creates in active file.
[gnus] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
8 # Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 case $0 in #((
93   *[\\/]* ) as_myself=$0 ;;
94   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95 for as_dir in $PATH
96 do
97   IFS=$as_save_IFS
98   test -z "$as_dir" && as_dir=.
99     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100   done
101 IFS=$as_save_IFS
102
103      ;;
104 esac
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
108   as_myself=$0
109 fi
110 if test ! -f "$as_myself"; then
111   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112   exit 1
113 fi
114
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there.  '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 done
123 PS1='$ '
124 PS2='> '
125 PS4='+ '
126
127 # NLS nuisances.
128 LC_ALL=C
129 export LC_ALL
130 LANGUAGE=C
131 export LANGUAGE
132
133 # CDPATH.
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136 if test "x$CONFIG_SHELL" = x; then
137   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138   emulate sh
139   NULLCMD=:
140   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141   # is contrary to our usage.  Disable this feature.
142   alias -g '\${1+\"\$@\"}'='\"\$@\"'
143   setopt NO_GLOB_SUBST
144 else
145   case \`(set -o) 2>/dev/null\` in #(
146   *posix*) :
147     set -o posix ;; #(
148   *) :
149      ;;
150 esac
151 fi
152 "
153   as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
158
159 exitcode=0
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166 else
167   exitcode=1; echo positional parameters were not saved.
168 fi
169 test x\$exitcode = x0 || exit 1"
170   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174   if (eval "$as_required") 2>/dev/null; then :
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180
181 else
182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 as_found=false
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 do
186   IFS=$as_save_IFS
187   test -z "$as_dir" && as_dir=.
188   as_found=:
189   case $as_dir in #(
190          /*)
191            for as_base in sh bash ksh sh5; do
192              # Try only shells that exist, to save several forks.
193              as_shell=$as_dir/$as_base
194              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196   CONFIG_SHELL=$as_shell as_have_required=yes
197                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
198   break 2
199 fi
200 fi
201            done;;
202        esac
203   as_found=false
204 done
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207   CONFIG_SHELL=$SHELL as_have_required=yes
208 fi; }
209 IFS=$as_save_IFS
210
211
212       if test "x$CONFIG_SHELL" != x; then :
213   # We cannot yet assume a decent shell, so we have to provide a
214         # neutralization value for shells without unset; and this also
215         # works around shells that cannot unset nonexistent variables.
216         BASH_ENV=/dev/null
217         ENV=/dev/null
218         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219         export CONFIG_SHELL
220         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 fi
222
223     if test x$as_have_required = xno; then :
224   $as_echo "$0: This script requires a shell more modern than all"
225   $as_echo "$0: the shells that I found on your system."
226   if test x${ZSH_VERSION+set} = xset ; then
227     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229   else
230     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
234   fi
235   exit 1
236 fi
237 fi
238 fi
239 SHELL=${CONFIG_SHELL-/bin/sh}
240 export SHELL
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
244
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
248 # as_fn_unset VAR
249 # ---------------
250 # Portably unset VAR.
251 as_fn_unset ()
252 {
253   { eval $1=; unset $1;}
254 }
255 as_unset=as_fn_unset
256
257 # as_fn_set_status STATUS
258 # -----------------------
259 # Set $? to STATUS, without forking.
260 as_fn_set_status ()
261 {
262   return $1
263 } # as_fn_set_status
264
265 # as_fn_exit STATUS
266 # -----------------
267 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
268 as_fn_exit ()
269 {
270   set +e
271   as_fn_set_status $1
272   exit $1
273 } # as_fn_exit
274
275 # as_fn_mkdir_p
276 # -------------
277 # Create "$as_dir" as a directory, including parents if necessary.
278 as_fn_mkdir_p ()
279 {
280
281   case $as_dir in #(
282   -*) as_dir=./$as_dir;;
283   esac
284   test -d "$as_dir" || eval $as_mkdir_p || {
285     as_dirs=
286     while :; do
287       case $as_dir in #(
288       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289       *) as_qdir=$as_dir;;
290       esac
291       as_dirs="'$as_qdir' $as_dirs"
292       as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294          X"$as_dir" : 'X\(//\)[^/]' \| \
295          X"$as_dir" : 'X\(//\)$' \| \
296          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
299             s//\1/
300             q
301           }
302           /^X\(\/\/\)[^/].*/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)$/{
307             s//\1/
308             q
309           }
310           /^X\(\/\).*/{
311             s//\1/
312             q
313           }
314           s/.*/./; q'`
315       test -d "$as_dir" && break
316     done
317     test -z "$as_dirs" || eval "mkdir $as_dirs"
318   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
319
320
321 } # as_fn_mkdir_p
322 # as_fn_append VAR VALUE
323 # ----------------------
324 # Append the text in VALUE to the end of the definition contained in VAR. Take
325 # advantage of any shell optimizations that allow amortized linear growth over
326 # repeated appends, instead of the typical quadratic growth present in naive
327 # implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329   eval 'as_fn_append ()
330   {
331     eval $1+=\$2
332   }'
333 else
334   as_fn_append ()
335   {
336     eval $1=\$$1\$2
337   }
338 fi # as_fn_append
339
340 # as_fn_arith ARG...
341 # ------------------
342 # Perform arithmetic evaluation on the ARGs, and store the result in the
343 # global $as_val. Take advantage of shells that can avoid forks. The arguments
344 # must be portable across $(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346   eval 'as_fn_arith ()
347   {
348     as_val=$(( $* ))
349   }'
350 else
351   as_fn_arith ()
352   {
353     as_val=`expr "$@" || test $? -eq 1`
354   }
355 fi # as_fn_arith
356
357
358 # as_fn_error ERROR [LINENO LOG_FD]
359 # ---------------------------------
360 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 # script with status $?, using 1 if that was 0.
363 as_fn_error ()
364 {
365   as_status=$?; test $as_status -eq 0 && as_status=1
366   if test "$3"; then
367     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369   fi
370   $as_echo "$as_me: error: $1" >&2
371   as_fn_exit $as_status
372 } # as_fn_error
373
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375    test "X`expr 00001 : '.*\(...\)'`" = X001; then
376   as_expr=expr
377 else
378   as_expr=false
379 fi
380
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382   as_basename=basename
383 else
384   as_basename=false
385 fi
386
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388   as_dirname=dirname
389 else
390   as_dirname=false
391 fi
392
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395          X"$0" : 'X\(//\)$' \| \
396          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 $as_echo X/"$0" |
398     sed '/^.*\/\([^/][^/]*\)\/*$/{
399             s//\1/
400             q
401           }
402           /^X\/\(\/\/\)$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\).*/{
407             s//\1/
408             q
409           }
410           s/.*/./; q'`
411
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
418
419
420   as_lineno_1=$LINENO as_lineno_1a=$LINENO
421   as_lineno_2=$LINENO as_lineno_2a=$LINENO
422   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
425   sed -n '
426     p
427     /[$]LINENO/=
428   ' <$as_myself |
429     sed '
430       s/[$]LINENO.*/&-/
431       t lineno
432       b
433       :lineno
434       N
435       :loop
436       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437       t loop
438       s/-\n.*//
439     ' >$as_me.lineno &&
440   chmod +x "$as_me.lineno" ||
441     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442
443   # Don't try to exec as it changes $[0], causing all sort of problems
444   # (the dirname of $[0] is not the place where we might find the
445   # original and so on.  Autoconf is especially sensitive to this).
446   . "./$as_me.lineno"
447   # Exit status is that of the last command.
448   exit
449 }
450
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in #(((((
453 -n*)
454   case `echo 'xy\c'` in
455   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
456   xy)  ECHO_C='\c';;
457   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
458        ECHO_T=' ';;
459   esac;;
460 *)
461   ECHO_N='-n';;
462 esac
463
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466   rm -f conf$$.dir/conf$$.file
467 else
468   rm -f conf$$.dir
469   mkdir conf$$.dir 2>/dev/null
470 fi
471 if (echo >conf$$.file) 2>/dev/null; then
472   if ln -s conf$$.file conf$$ 2>/dev/null; then
473     as_ln_s='ln -s'
474     # ... but there are two gotchas:
475     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477     # In both cases, we have to default to `cp -p'.
478     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479       as_ln_s='cp -p'
480   elif ln conf$$.file conf$$ 2>/dev/null; then
481     as_ln_s=ln
482   else
483     as_ln_s='cp -p'
484   fi
485 else
486   as_ln_s='cp -p'
487 fi
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
490
491 if mkdir -p . 2>/dev/null; then
492   as_mkdir_p='mkdir -p "$as_dir"'
493 else
494   test -d ./-p && rmdir ./-p
495   as_mkdir_p=false
496 fi
497
498 if test -x / >/dev/null 2>&1; then
499   as_test_x='test -x'
500 else
501   if ls -dL / >/dev/null 2>&1; then
502     as_ls_L_option=L
503   else
504     as_ls_L_option=
505   fi
506   as_test_x='
507     eval sh -c '\''
508       if test -d "$1"; then
509         test -d "$1/.";
510       else
511         case $1 in #(
512         -*)set "./$1";;
513         esac;
514         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515         ???[sx]*):;;*)false;;esac;fi
516     '\'' sh
517   '
518 fi
519 as_executable_p=$as_test_x
520
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526
527
528 test -n "$DJDIR" || exec 7<&0 </dev/null
529 exec 6>&1
530
531 # Name of the host.
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535
536 #
537 # Initializations.
538 #
539 ac_default_prefix=/usr/local
540 ac_clean_files=
541 ac_config_libobj_dir=.
542 LIBOBJS=
543 cross_compiling=no
544 subdirs=
545 MFLAGS=
546 MAKEFLAGS=
547
548 # Identity of this package.
549 PACKAGE_NAME=
550 PACKAGE_TARNAME=
551 PACKAGE_VERSION=
552 PACKAGE_STRING=
553 PACKAGE_BUGREPORT=
554 PACKAGE_URL=
555
556 ac_unique_file="lisp/gnus.el"
557 ac_subst_vars='LTLIBOBJS
558 LIBOBJS
559 USE_FONTS
560 WITHOUT_FONTS_bcr
561 WITH_FONTS_bcr
562 WITHOUT_FONTS_pfu
563 WITH_FONTS_pfu
564 WITHOUT_FONTS_bembo
565 WITH_FONTS_bembo
566 LATEX
567 FLAGS
568 W3
569 HAVE_w3_forms
570 URL
571 HAVE_url
572 info_dir
573 etcdir
574 lispdir
575 EMACS_FLAVOR
576 XEMACS
577 EMACS
578 MAKEINFO
579 INSTALL_DATA
580 INSTALL_SCRIPT
581 INSTALL_PROGRAM
582 SET_MAKE
583 target_alias
584 host_alias
585 build_alias
586 LIBS
587 ECHO_T
588 ECHO_N
589 ECHO_C
590 DEFS
591 mandir
592 localedir
593 libdir
594 psdir
595 pdfdir
596 dvidir
597 htmldir
598 infodir
599 docdir
600 oldincludedir
601 includedir
602 localstatedir
603 sharedstatedir
604 sysconfdir
605 datadir
606 datarootdir
607 libexecdir
608 sbindir
609 bindir
610 program_transform_name
611 prefix
612 exec_prefix
613 PACKAGE_URL
614 PACKAGE_BUGREPORT
615 PACKAGE_STRING
616 PACKAGE_VERSION
617 PACKAGE_TARNAME
618 PACKAGE_NAME
619 PATH_SEPARATOR
620 SHELL'
621 ac_subst_files=''
622 ac_user_opts='
623 enable_option_checking
624 with_xemacs
625 with_emacs
626 with_lispdir
627 with_etcdir
628 with_url
629 with_w3
630 with_fonts
631 '
632       ac_precious_vars='build_alias
633 host_alias
634 target_alias'
635
636
637 # Initialize some variables set by options.
638 ac_init_help=
639 ac_init_version=false
640 ac_unrecognized_opts=
641 ac_unrecognized_sep=
642 # The variables have the same names as the options, with
643 # dashes changed to underlines.
644 cache_file=/dev/null
645 exec_prefix=NONE
646 no_create=
647 no_recursion=
648 prefix=NONE
649 program_prefix=NONE
650 program_suffix=NONE
651 program_transform_name=s,x,x,
652 silent=
653 site=
654 srcdir=
655 verbose=
656 x_includes=NONE
657 x_libraries=NONE
658
659 # Installation directory options.
660 # These are left unexpanded so users can "make install exec_prefix=/foo"
661 # and all the variables that are supposed to be based on exec_prefix
662 # by default will actually change.
663 # Use braces instead of parens because sh, perl, etc. also accept them.
664 # (The list follows the same order as the GNU Coding Standards.)
665 bindir='${exec_prefix}/bin'
666 sbindir='${exec_prefix}/sbin'
667 libexecdir='${exec_prefix}/libexec'
668 datarootdir='${prefix}/share'
669 datadir='${datarootdir}'
670 sysconfdir='${prefix}/etc'
671 sharedstatedir='${prefix}/com'
672 localstatedir='${prefix}/var'
673 includedir='${prefix}/include'
674 oldincludedir='/usr/include'
675 docdir='${datarootdir}/doc/${PACKAGE}'
676 infodir='${datarootdir}/info'
677 htmldir='${docdir}'
678 dvidir='${docdir}'
679 pdfdir='${docdir}'
680 psdir='${docdir}'
681 libdir='${exec_prefix}/lib'
682 localedir='${datarootdir}/locale'
683 mandir='${datarootdir}/man'
684
685 ac_prev=
686 ac_dashdash=
687 for ac_option
688 do
689   # If the previous option needs an argument, assign it.
690   if test -n "$ac_prev"; then
691     eval $ac_prev=\$ac_option
692     ac_prev=
693     continue
694   fi
695
696   case $ac_option in
697   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
698   *)    ac_optarg=yes ;;
699   esac
700
701   # Accept the important Cygnus configure options, so we can diagnose typos.
702
703   case $ac_dashdash$ac_option in
704   --)
705     ac_dashdash=yes ;;
706
707   -bindir | --bindir | --bindi | --bind | --bin | --bi)
708     ac_prev=bindir ;;
709   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
710     bindir=$ac_optarg ;;
711
712   -build | --build | --buil | --bui | --bu)
713     ac_prev=build_alias ;;
714   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
715     build_alias=$ac_optarg ;;
716
717   -cache-file | --cache-file | --cache-fil | --cache-fi \
718   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
719     ac_prev=cache_file ;;
720   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
721   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
722     cache_file=$ac_optarg ;;
723
724   --config-cache | -C)
725     cache_file=config.cache ;;
726
727   -datadir | --datadir | --datadi | --datad)
728     ac_prev=datadir ;;
729   -datadir=* | --datadir=* | --datadi=* | --datad=*)
730     datadir=$ac_optarg ;;
731
732   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
733   | --dataroo | --dataro | --datar)
734     ac_prev=datarootdir ;;
735   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
736   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
737     datarootdir=$ac_optarg ;;
738
739   -disable-* | --disable-*)
740     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
741     # Reject names that are not valid shell variable names.
742     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
743       as_fn_error "invalid feature name: $ac_useropt"
744     ac_useropt_orig=$ac_useropt
745     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
746     case $ac_user_opts in
747       *"
748 "enable_$ac_useropt"
749 "*) ;;
750       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
751          ac_unrecognized_sep=', ';;
752     esac
753     eval enable_$ac_useropt=no ;;
754
755   -docdir | --docdir | --docdi | --doc | --do)
756     ac_prev=docdir ;;
757   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
758     docdir=$ac_optarg ;;
759
760   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
761     ac_prev=dvidir ;;
762   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
763     dvidir=$ac_optarg ;;
764
765   -enable-* | --enable-*)
766     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
767     # Reject names that are not valid shell variable names.
768     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
769       as_fn_error "invalid feature name: $ac_useropt"
770     ac_useropt_orig=$ac_useropt
771     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
772     case $ac_user_opts in
773       *"
774 "enable_$ac_useropt"
775 "*) ;;
776       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
777          ac_unrecognized_sep=', ';;
778     esac
779     eval enable_$ac_useropt=\$ac_optarg ;;
780
781   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
782   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
783   | --exec | --exe | --ex)
784     ac_prev=exec_prefix ;;
785   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
786   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
787   | --exec=* | --exe=* | --ex=*)
788     exec_prefix=$ac_optarg ;;
789
790   -gas | --gas | --ga | --g)
791     # Obsolete; use --with-gas.
792     with_gas=yes ;;
793
794   -help | --help | --hel | --he | -h)
795     ac_init_help=long ;;
796   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
797     ac_init_help=recursive ;;
798   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
799     ac_init_help=short ;;
800
801   -host | --host | --hos | --ho)
802     ac_prev=host_alias ;;
803   -host=* | --host=* | --hos=* | --ho=*)
804     host_alias=$ac_optarg ;;
805
806   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
807     ac_prev=htmldir ;;
808   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
809   | --ht=*)
810     htmldir=$ac_optarg ;;
811
812   -includedir | --includedir | --includedi | --included | --include \
813   | --includ | --inclu | --incl | --inc)
814     ac_prev=includedir ;;
815   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
816   | --includ=* | --inclu=* | --incl=* | --inc=*)
817     includedir=$ac_optarg ;;
818
819   -infodir | --infodir | --infodi | --infod | --info | --inf)
820     ac_prev=infodir ;;
821   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
822     infodir=$ac_optarg ;;
823
824   -libdir | --libdir | --libdi | --libd)
825     ac_prev=libdir ;;
826   -libdir=* | --libdir=* | --libdi=* | --libd=*)
827     libdir=$ac_optarg ;;
828
829   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
830   | --libexe | --libex | --libe)
831     ac_prev=libexecdir ;;
832   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
833   | --libexe=* | --libex=* | --libe=*)
834     libexecdir=$ac_optarg ;;
835
836   -localedir | --localedir | --localedi | --localed | --locale)
837     ac_prev=localedir ;;
838   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
839     localedir=$ac_optarg ;;
840
841   -localstatedir | --localstatedir | --localstatedi | --localstated \
842   | --localstate | --localstat | --localsta | --localst | --locals)
843     ac_prev=localstatedir ;;
844   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
845   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
846     localstatedir=$ac_optarg ;;
847
848   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
849     ac_prev=mandir ;;
850   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
851     mandir=$ac_optarg ;;
852
853   -nfp | --nfp | --nf)
854     # Obsolete; use --without-fp.
855     with_fp=no ;;
856
857   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
858   | --no-cr | --no-c | -n)
859     no_create=yes ;;
860
861   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
862   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
863     no_recursion=yes ;;
864
865   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
866   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
867   | --oldin | --oldi | --old | --ol | --o)
868     ac_prev=oldincludedir ;;
869   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
870   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
871   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
872     oldincludedir=$ac_optarg ;;
873
874   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
875     ac_prev=prefix ;;
876   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
877     prefix=$ac_optarg ;;
878