"Fossies" - the Fresh Open Source Software Archive 
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174 else
175 as_have_required=no
176 fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179 else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181 as_found=false
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
183 do
184 IFS=$as_save_IFS
185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
197 fi
198 fi
199 done;;
200 esac
201 as_found=false
202 done
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206 fi; }
207 IFS=$as_save_IFS
208
209
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219 fi
220
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
227 else
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
232 fi
233 exit 1
234 fi
235 fi
236 fi
237 SHELL=${CONFIG_SHELL-/bin/sh}
238 export SHELL
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
242
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
246 # as_fn_unset VAR
247 # ---------------
248 # Portably unset VAR.
249 as_fn_unset ()
250 {
251 { eval $1=; unset $1;}
252 }
253 as_unset=as_fn_unset
254
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
258 as_fn_set_status ()
259 {
260 return $1
261 } # as_fn_set_status
262
263 # as_fn_exit STATUS
264 # -----------------
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266 as_fn_exit ()
267 {
268 set +e
269 as_fn_set_status $1
270 exit $1
271 } # as_fn_exit
272
273 # as_fn_mkdir_p
274 # -------------
275 # Create "$as_dir" as a directory, including parents if necessary.
276 as_fn_mkdir_p ()
277 {
278
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319 } # as_fn_mkdir_p
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
325 # implementations.
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
328 {
329 eval $1+=\$2
330 }'
331 else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336 fi # as_fn_append
337
338 # as_fn_arith ARG...
339 # ------------------
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
345 {
346 as_val=$(( $* ))
347 }'
348 else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353 fi # as_fn_arith
354
355
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
361 as_fn_error ()
362 {
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370 } # as_fn_error
371
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
374 as_expr=expr
375 else
376 as_expr=false
377 fi
378
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
380 as_basename=basename
381 else
382 as_basename=false
383 fi
384
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387 else
388 as_dirname=false
389 fi
390
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
395 $as_echo X/"$0" |
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
397 s//\1/
398 q
399 }
400 /^X\/\(\/\/\)$/{
401 s//\1/
402 q
403 }
404 /^X\/\(\/\).*/{
405 s//\1/
406 q
407 }
408 s/.*/./; q'`
409
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
416
417
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
423 sed -n '
424 p
425 /[$]LINENO/=
426 ' <$as_myself |
427 sed '
428 s/[$]LINENO.*/&-/
429 t lineno
430 b
431 :lineno
432 N
433 :loop
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
435 t loop
436 s/-\n.*//
437 ' >$as_me.lineno &&
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
440
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
444 . "./$as_me.lineno"
445 # Exit status is that of the last command.
446 exit
447 }
448
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
451 -n*)
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
457 esac;;
458 *)
459 ECHO_N='-n';;
460 esac
461
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
465 else
466 rm -f conf$$.dir
467 mkdir conf$$.dir 2>/dev/null
468 fi
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
471 as_ln_s='ln -s'
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
481 as_ln_s='cp -p'
482 fi
483 else
484 as_ln_s='cp -p'
485 fi
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
488
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
491 else
492 test -d ./-p && rmdir ./-p
493 as_mkdir_p=false
494 fi
495
496 if test -x / >/dev/null 2>&1; then
497 as_test_x='test -x'
498 else
499 if ls -dL / >/dev/null 2>&1; then
500 as_ls_L_option=L
501 else
502 as_ls_L_option=
503 fi
504 as_test_x='
505 eval sh -c '\''
506 if test -d "$1"; then
507 test -d "$1/.";
508 else
509 case $1 in #(
510 -*)set "./$1";;
511 esac;
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
514 '\'' sh
515 '
516 fi
517 as_executable_p=$as_test_x
518
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
521
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
524
525
526 exec 7<&0 </dev/null 6>&1
527
528 # Name of the host.
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
532
533 #
534 # Initializations.
535 #
536 ac_default_prefix=/usr/local
537 ac_clean_files=
538 ac_config_libobj_dir=.
539 LIBOBJS=
540 cross_compiling=no
541 subdirs=
542 MFLAGS=
543 MAKEFLAGS=
544
545 # Identity of this package.
546 PACKAGE_NAME=
547 PACKAGE_TARNAME=
548 PACKAGE_VERSION=
549 PACKAGE_STRING=
550 PACKAGE_BUGREPORT=
551 PACKAGE_URL=
552
553 ac_default_prefix=/usr/local
554 ac_subst_vars='LTLIBOBJS
555 LIBOBJS
556 NOT_CONFIGURED
557 oldpex
558 HAVE_OLD_PEX
559 DB_MODULE
560 crondir
561 SED_v
562 SED
563 HAVE_SENDMAIL
564 MAILX
565 SENDMAIL
566 HAVE_LOCALE
567 HAVE_CPAN
568 PERL_v
569 PERL
570 INSTALL_DATA
571 INSTALL_SCRIPT
572 INSTALL_PROGRAM
573 pw_moddir
574 PACKAGE
575 VERSION
576 PROGNAME
577 PERL_REQUIRE
578 target_alias
579 host_alias
580 build_alias
581 LIBS
582 ECHO_T
583 ECHO_N
584 ECHO_C
585 DEFS
586 mandir
587 localedir
588 libdir
589 psdir
590 pdfdir
591 dvidir
592 htmldir
593 infodir
594 docdir
595 oldincludedir
596 includedir
597 localstatedir
598 sharedstatedir
599 sysconfdir
600 datadir
601 datarootdir
602 libexecdir
603 sbindir
604 bindir
605 program_transform_name
606 prefix
607 exec_prefix
608 PACKAGE_URL
609 PACKAGE_BUGREPORT
610 PACKAGE_STRING
611 PACKAGE_VERSION
612 PACKAGE_TARNAME
613 PACKAGE_NAME
614 PATH_SEPARATOR
615 SHELL'
616 ac_subst_files=''
617 ac_user_opts='
618 enable_option_checking
619 enable_locale
620 enable_mail
621 enable_nomail_errors
622 with_sendmail
623 with_mail
624 '
625 ac_precious_vars='build_alias
626 host_alias
627 target_alias'
628
629
630 # Initialize some variables set by options.
631 ac_init_help=
632 ac_init_version=false
633 ac_unrecognized_opts=
634 ac_unrecognized_sep=
635 # The variables have the same names as the options, with
636 # dashes changed to underlines.
637 cache_file=/dev/null
638 exec_prefix=NONE
639 no_create=
640 no_recursion=
641 prefix=NONE
642 program_prefix=NONE
643 program_suffix=NONE
644 program_transform_name=s,x,x,
645 silent=
646 site=
647 srcdir=
648 verbose=
649 x_includes=NONE
650 x_libraries=NONE
651
652 # Installation directory options.
653 # These are left unexpanded so users can "make install exec_prefix=/foo"
654 # and all the variables that are supposed to be based on exec_prefix
655 # by default will actually change.
656 # Use braces instead of parens because sh, perl, etc. also accept them.
657 # (The list follows the same order as the GNU Coding Standards.)
658 bindir='${exec_prefix}/bin'
659 sbindir='${exec_prefix}/sbin'
660 libexecdir='${exec_prefix}/libexec'
661 datarootdir='${prefix}/share'
662 datadir='${datarootdir}'
663 sysconfdir='${prefix}/etc'
664 sharedstatedir='${prefix}/com'
665 localstatedir='${prefix}/var'
666 includedir='${prefix}/include'
667 oldincludedir='/usr/include'
668 docdir='${datarootdir}/doc/${PACKAGE}'
669 infodir='${datarootdir}/info'
670 htmldir='${docdir}'
671 dvidir='${docdir}'
672 pdfdir='${docdir}'
673 psdir='${docdir}'
674 libdir='${exec_prefix}/lib'
675 localedir='${datarootdir}/locale'
676 mandir='${datarootdir}/man'
677
678 ac_prev=
679 ac_dashdash=
680 for ac_option
681 do
682 # If the previous option needs an argument, assign it.
683 if test -n "$ac_prev"; then
684 eval $ac_prev=\$ac_option
685 ac_prev=
686 continue
687 fi
688
689 case $ac_option in
690 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
691 *) ac_optarg=yes ;;
692 esac
693
694 # Accept the important Cygnus configure options, so we can diagnose typos.
695
696 case $ac_dashdash$ac_option in
697 --)
698 ac_dashdash=yes ;;
699
700 -bindir | --bindir | --bindi | --bind | --bin | --bi)
701 ac_prev=bindir ;;
702 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
703 bindir=$ac_optarg ;;
704
705 -build | --build | --buil | --bui | --bu)
706 ac_prev=build_alias ;;
707 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
708 build_alias=$ac_optarg ;;
709
710 -cache-file | --cache-file | --cache-fil | --cache-fi \
711 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
712 ac_prev=cache_file ;;
713 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
714 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
715 cache_file=$ac_optarg ;;
716
717 --config-cache | -C)
718 cache_file=config.cache ;;
719
720 -datadir | --datadir | --datadi | --datad)
721 ac_prev=datadir ;;
722 -datadir=* | --datadir=* | --datadi=* | --datad=*)
723 datadir=$ac_optarg ;;
724
725 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
726 | --dataroo | --dataro | --datar)
727 ac_prev=datarootdir ;;
728 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
729 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
730 datarootdir=$ac_optarg ;;
731
732 -disable-* | --disable-*)
733 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
734 # Reject names that are not valid shell variable names.
735 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
736 as_fn_error "invalid feature name: $ac_useropt"
737 ac_useropt_orig=$ac_useropt
738 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
739 case $ac_user_opts in
740 *"
741 "enable_$ac_useropt"
742 "*) ;;
743 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
744 ac_unrecognized_sep=', ';;
745 esac
746 eval enable_$ac_useropt=no ;;
747
748 -docdir | --docdir | --docdi | --doc | --do)
749 ac_prev=docdir ;;
750 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
751 docdir=$ac_optarg ;;
752
753 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
754 ac_prev=dvidir ;;
755 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
756 dvidir=$ac_optarg ;;
757
758 -enable-* | --enable-*)
759 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
760 # Reject names that are not valid shell variable names.
761 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
762 as_fn_error "invalid feature name: $ac_useropt"
763 ac_useropt_orig=$ac_useropt
764 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
765 case $ac_user_opts in
766 *"
767 "enable_$ac_useropt"
768 "*) ;;
769 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
770 ac_unrecognized_sep=', ';;
771 esac
772 eval enable_$ac_useropt=\$ac_optarg ;;
773
774 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
775 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
776 | --exec | --exe | --ex)
777 ac_prev=exec_prefix ;;
778 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
779 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
780 | --exec=* | --exe=* | --ex=*)
781 exec_prefix=$ac_optarg ;;
782
783 -gas | --gas | --ga | --g)
784 # Obsolete; use --with-gas.
785 with_gas=yes ;;
786
787 -help | --help | --hel | --he | -h)
788 ac_init_help=long ;;
789 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
790 ac_init_help=recursive ;;
791 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
792 ac_init_help=short ;;
793
794 -host | --host | --hos | --ho)
795 ac_prev=host_alias ;;
796 -host=* | --host=* | --hos=* | --ho=*)
797 host_alias=$ac_optarg ;;
798
799 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
800 ac_prev=htmldir ;;
801 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
802 | --ht=*)
803 htmldir=$ac_optarg ;;
804
805 -includedir | --includedir | --includedi | --included | --include \
806 | --includ | --inclu | --incl | --inc)
807 ac_prev=includedir ;;
808 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
809 | --includ=* | --inclu=* | --incl=* | --inc=*)
810 includedir=$ac_optarg ;;
811
812 -infodir | --infodir | --infodi | --infod | --info | --inf)
813 ac_prev=infodir ;;
814 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
815 infodir=$ac_optarg ;;
816
817 -libdir | --libdir | --libdi | --libd)
818 ac_prev=libdir ;;
819 -libdir=* | --libdir=* | --libdi=* | --libd=*)
820 libdir=$ac_optarg ;;
821
822 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
823 | --libexe | --libex | --libe)
824 ac_prev=libexecdir ;;
825 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
826 | --libexe=* | --libex=* | --libe=*)
827 libexecdir=$ac_optarg ;;
828
829 -localedir | --localedir | --localedi | --localed | --locale)
830 ac_prev=localedir ;;
831 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
832 localedir=$ac_optarg ;;
833
834 -localstatedir | --localstatedir | --localstatedi | --localstated \
835 | --localstate | --localstat | --localsta | --localst | --locals)
836 ac_prev=localstatedir ;;
837 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
838 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
839 localstatedir=$ac_optarg ;;
840
841 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
842 ac_prev=mandir ;;
843 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
844 mandir=$ac_optarg ;;
845
846 -nfp | --nfp | --nf)
847 # Obsolete; use --without-fp.
848 with_fp=no ;;
849
850 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
851 | --no-cr | --no-c | -n)
852 no_create=yes ;;
853
854 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
855 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
856 no_recursion=yes ;;
857
858 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
859 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
860 | --oldin | --oldi | --old | --ol | --o)
861 ac_prev=oldincludedir ;;
862 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
863 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
864 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
865 oldincludedir=$ac_optarg ;;
866
867 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
868 ac_prev=prefix ;;
869 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
870 prefix=$ac_optarg ;;
871
872 -program-prefix | --program-prefix | --program-prefi | --program-pref \
873 | --program-pre | --program-pr | --program-p)
874 ac_prev=program_prefix ;;
875 -program-prefix=* | --program-prefix=* | --program-prefi=* \
876 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
877 program_prefix=$ac_optarg ;;
878
879 -program-suffix | --program-suffix | --program-suffi | --program-suff \
880 | --program-suf | --program-su | --program-s)
881 ac_prev=program_suffix ;;
882 -program-suffix=* | --program-suffix=* | --program-suffi=* \
883 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
884 program_suffix=$ac_optarg ;;
885
886 -program-transform-name | --program-transform-name \
887 | --program-transform-nam | --program-transform-na \
888 | --program-transform-n | --program-transform- \
889 | --program-transform | --program-transfor \
890 | --program-transfo | --program-transf \
891 | --program-trans | --program-tran \
892 | --progr-tra | --program-tr | --program-t)
893 ac_prev=program_transform_name ;;
894 -program-transform-name=* | --program-transform-name=* \
895 | --program-transform-nam=* | --program-transform-na=* \
896 | --program-transform-n=* | --program-transform-=* \
897 | --program-transform=* | --program-transfor=* \
898 | --program-transfo=* | --program-transf=* \
899 | --program-trans=* | --program-tran=* \
900 | --progr-tra=* | --program-tr=* | --program-t=*)
901 program_transform_name=$ac_optarg ;;
902
903 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
904 ac_prev=pdfdir ;;
905 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
906 pdfdir=$ac_optarg ;;
907
908 -psdir | --psdir | --psdi | --psd | --ps)
909 ac_prev=psdir ;;
910 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
911 psdir=$ac_optarg ;;
912
913 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
914 | -silent | --silent | --silen | --sile | --sil)
915 silent=yes ;;
916
917 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
918 ac_prev=sbindir ;;
919 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
920 | --sbi=* | --sb=*)
921 sbindir=$ac_optarg ;;
922
923 -sharedstatedir | --sharedstatedir | --sharedstatedi \
924 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
925 | --sharedst | --shareds | --shared | --share | --shar \
926 | --sha | --sh)
927 ac_prev=sharedstatedir ;;
928 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
929 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
930 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
931 | --sha=* | --sh=*)
932 sharedstatedir=$ac_optarg ;;
933
934 -site | --site | --sit)
935 ac_prev=site ;;
936 -site=* | --site=* | --sit=*)
937 site=$ac_optarg ;;
938
939 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
940 ac_prev=srcdir ;;
941 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
942 srcdir=$ac_optarg ;;
943
944 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
945 | --syscon | --sysco | --sysc | --sys | --sy)
946 ac_prev=sysconfdir ;;
947 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
948 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
949 sysconfdir=$ac_optarg ;;
950
951 -target | --target | --targe | --targ | --tar | --ta | --t)
952 ac_prev=target_alias ;;
953 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
954 target_alias=$ac_optarg ;;
955
956 -v | -verbose | --verbose | --verbos | --verbo | --verb)
957 verbose=yes ;;
958
959 -version | --version | --versio | --versi | --vers | -V)
960 ac_init_version=: ;;
961
962 -with-* | --with-*)
963 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 as_fn_error "invalid package name: $ac_useropt"
967 ac_useropt_orig=$ac_useropt
968 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
970 *"
971 "with_$ac_useropt"
972 "*) ;;
973 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
974 ac_unrecognized_sep=', ';;
975 esac
976 eval with_$ac_useropt=\$ac_optarg ;;
977
978 -without-* | --without-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982 as_fn_error "invalid package name: $ac_useropt"
983 ac_useropt_orig=$ac_useropt
984 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
986 *"
987 "with_$ac_useropt"
988 "*) ;;
989 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
990 ac_unrecognized_sep=', ';;
991 esac
992 eval with_$ac_useropt=no ;;
993
994 --x)
995 # Obsolete; use --with-x.
996 with_x=yes ;;
997
998 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
999 | --x-incl | --x-inc | --x-in | --x-i)
1000 ac_prev=x_includes ;;
1001 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1002 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1003 x_includes=$ac_optarg ;;
1004
1005 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1006 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1007 ac_prev=x_libraries ;;
1008 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1009 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1010 x_libraries=$ac_optarg ;;
1011
1012 -*) as_fn_error "unrecognized option: \`$ac_option'
1013 Try \`$0 --help' for more information."
1014 ;;
1015
1016 *=*)
1017 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1018 # Reject names that are not valid shell variable names.
1019 case $ac_envvar in #(
1020 '' | [0-9]* | *[!_$as_cr_alnum]* )
1021 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1022 esac
1023 eval $ac_envvar=\$ac_optarg
1024 export $ac_envvar ;;
1025
1026 *)
1027 # FIXME: should be removed in autoconf 3.0.
1028 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1029 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1030 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1031 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1032 ;;
1033
1034 esac
1035 done
1036
1037 if test -n "$ac_prev"; then
1038 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1039 as_fn_error "missing argument to $ac_option"
1040 fi
1041
1042 if test -n "$ac_unrecognized_opts"; then
1043 case $enable_option_checking in
1044 no) ;;
1045 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1046 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1047 esac
1048 fi
1049
1050 # Check all directory arguments for consistency.
1051 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1052 datadir sysconfdir sharedstatedir localstatedir includedir \
1053 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1054 libdir localedir mandir
1055 do
1056 eval ac_val=\$$ac_var
1057 # Remove trailing slashes.
1058 case $ac_val in
1059 */ )
1060 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1061 eval $ac_var=\$ac_val;;
1062 esac
1063 # Be sure to have absolute directory names.
1064 case $ac_val in
1065 [\\/$]* | ?:[\\/]* ) continue;;
1066 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1067 esac
1068 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1069 done
1070
1071 # There might be people who depend on the old broken behavior: `$host'
1072 # used to hold the argument of --host etc.
1073 # FIXME: To remove some day.
1074 build=$build_alias
1075 host=$host_alias
1076 target=$target_alias
1077
1078 # FIXME: To remove some day.
1079 if test "x$host_alias" != x; then
1080 if test "x$build_alias" = x; then
1081 cross_compiling=maybe
1082 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1083 If a cross compiler is detected then cross compile mode will be used." >&2
1084 elif test "x$build_alias" != "x$host_alias"; then
1085 cross_compiling=yes
1086 fi
1087 fi
1088
1089 ac_tool_prefix=
1090 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1091
1092 test "$silent" = yes && exec 6>/dev/null
1093
1094
1095 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1096 ac_ls_di=`ls -di .` &&
1097 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1098 as_fn_error "working directory cannot be determined"
1099 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1100 as_fn_error "pwd does not report name of working directory"
1101
1102
1103 # Find the source files, if location was not specified.
1104 if test -z "$srcdir"; then
1105 ac_srcdir_defaulted=yes
1106 # Try the directory containing this script, then the parent directory.
1107 ac_confdir=`$as_dirname -- "$as_myself" ||
1108 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1109 X"$as_myself" : 'X\(//\)[^/]' \| \
1110 X"$as_myself" : 'X\(//\)$' \| \
1111 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1112 $as_echo X"$as_myself" |
1113 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1114 s//\1/
1115 q
1116 }
1117 /^X\(\/\/\)[^/].*/{
1118 s//\1/
1119 q
1120 }
1121 /^X\(\/\/\)$/{
1122 s//\1/
1123 q
1124 }
1125 /^X\(\/\).*/{
1126 s//\1/
1127 q
1128 }
1129 s/.*/./; q'`
1130 srcdir=$ac_confdir
1131 if test ! -r "$srcdir/$ac_unique_file"; then
1132 srcdir=..
1133 fi
1134 else
1135 ac_srcdir_defaulted=no
1136 fi
1137 if test ! -r "$srcdir/$ac_unique_file"; then
1138 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1139 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1140 fi
1141 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1142 ac_abs_confdir=`(
1143 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1144 pwd)`
1145 # When building in place, set srcdir=.
1146 if test "$ac_abs_confdir" = "$ac_pwd"; then
1147 srcdir=.
1148 fi
1149 # Remove unnecessary trailing slashes from srcdir.
1150 # Double slashes in file names in object file debugging info
1151 # mess up M-x gdb in Emacs.
1152 case $srcdir in
1153 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1154 esac
1155 for ac_var in $ac_precious_vars; do
1156 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1157 eval ac_env_${ac_var}_value=\$${ac_var}
1158 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1159 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1160 done
1161
1162 #
1163 # Report the --help message.
1164 #
1165 if test "$ac_init_help" = "long"; then
1166 # Omit some internal or obsolete options to make the list less imposing.
1167 # This message is too long to be a string in the A/UX 3.1 sh.
1168 cat <<_ACEOF
1169 \`configure' configures this package to adapt to many kinds of systems.
1170
1171 Usage: $0 [OPTION]... [VAR=VALUE]...
1172
1173 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1174 VAR=VALUE. See below for descriptions of some of the useful variables.
1175
1176 Defaults for the options are specified in brackets.
1177
1178 Configuration:
1179 -h, --help display this help and exit
1180 --help=short display options specific to this package
1181 --help=recursive display the short help of all the included packages
1182 -V, --version display version information and exit
1183 -q, --quiet, --silent do not print \`checking...' messages
1184 --cache-file=FILE cache test results in FILE [disabled]
1185 -C, --config-cache alias for \`--cache-file=config.cache'
1186 -n, --no-create do not create output files
1187 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1188
1189 Installation directories:
1190 --prefix=PREFIX install architecture-independent files in PREFIX
1191 [$ac_default_prefix]
1192 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1193 [PREFIX]
1194
1195 By default, \`make install' will install all the files in
1196 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1197 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1198 for instance \`--prefix=\$HOME'.
1199
1200 For better control, use the options below.
1201
1202 Fine tuning of the installation directories:
1203 --bindir=DIR user executables [EPREFIX/bin]
1204 --sbindir=DIR system admin executables [EPREFIX/sbin]
1205 --libexecdir=DIR program executables [EPREFIX/libexec]
1206 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1207 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1208 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1209 --libdir=DIR object code libraries [EPREFIX/lib]
1210 --includedir=DIR C header files [PREFIX/include]
1211 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1212 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1213 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1214 --infodir=DIR info documentation [DATAROOTDIR/info]
1215 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1216 --mandir=DIR man documentation [DATAROOTDIR/man]
1217 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1218 --htmldir=DIR html documentation [DOCDIR]
1219 --dvidir=DIR dvi documentation [DOCDIR]
1220 --pdfdir=DIR pdf documentation [DOCDIR]
1221 --psdir=DIR ps documentation [DOCDIR]
1222 _ACEOF
1223
1224 cat <<\_ACEOF
1225 _ACEOF
1226 fi
1227
1228 if test -n "$ac_init_help"; then
1229
1230 cat <<\_ACEOF
1231
1232 Optional Features:
1233 --disable-option-checking ignore unrecognized --enable/--with options
1234 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1235 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1236 --disable-locale disable locale support
1237 --disable-mail disable mail sending
1238 --disable-nomail-errors disable reporting of missing mail programs
1239
1240 Optional Packages:
1241 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1242 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1243 --with-sendmail=PATH path to sendmail binary
1244 --with-mail=PATH path to mail/mailx binary
1245
1246 Report bugs to the package provider.
1247 _ACEOF
1248 ac_status=$?
1249 fi
1250
1251 if test "$ac_init_help" = "recursive"; then
1252 # If there are subdirs, report their specific --help.
1253 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1254 test -d "$ac_dir" ||
1255 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1256 continue
1257 ac_builddir=.
1258
1259 case "$ac_dir" in
1260 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1261 *)
1262 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1263 # A ".." for each directory in $ac_dir_suffix.
1264 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1265 case $ac_top_builddir_sub in
1266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1268 esac ;;
1269 esac
1270 ac_abs_top_builddir=$ac_pwd
1271 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1272 # for backward compatibility:
1273 ac_top_builddir=$ac_top_build_prefix
1274
1275 case $srcdir in
1276 .) # We are building in place.
1277 ac_srcdir=.
1278 ac_top_srcdir=$ac_top_builddir_sub
1279 ac_abs_top_srcdir=$ac_pwd ;;
1280 [\\/]* | ?:[\\/]* ) # Absolute name.
1281 ac_srcdir=$srcdir$ac_dir_suffix;
1282 ac_top_srcdir=$srcdir
1283 ac_abs_top_srcdir=$srcdir ;;
1284 *) # Relative name.
1285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1286 ac_top_srcdir=$ac_top_build_prefix$srcdir
1287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1288 esac
1289 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1290
1291 cd "$ac_dir" || { ac_status=$?; continue; }
1292 # Check for guested configure.
1293 if test -f "$ac_srcdir/configure.gnu"; then
1294 echo &&
1295 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1296 elif test -f "$ac_srcdir/configure"; then
1297 echo &&
1298 $SHELL "$ac_srcdir/configure" --help=recursive
1299 else
1300 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1301 fi || ac_status=$?
1302 cd "$ac_pwd" || { ac_status=$?; break; }
1303 done
1304 fi
1305
1306 test -n "$ac_init_help" && exit $ac_status
1307 if $ac_init_version; then
1308 cat <<\_ACEOF
1309 configure
1310 generated by GNU Autoconf 2.64
1311
1312 Copyright (C) 2009 Free Software Foundation, Inc.
1313 This configure script is free software; the Free Software Foundation
1314 gives unlimited permission to copy, distribute and modify it.
1315 _ACEOF
1316 exit
1317 fi
1318
1319 ## ------------------------ ##
1320 ## Autoconf initialization. ##
1321 ## ------------------------ ##
1322 cat >config.log <<_ACEOF
1323 This file contains any messages produced by compilers while
1324 running configure, to aid debugging if configure makes a mistake.
1325
1326 It was created by $as_me, which was
1327 generated by GNU Autoconf 2.64. Invocation command line was
1328
1329 $ $0 $@
1330
1331 _ACEOF
1332 exec 5>>config.log
1333 {
1334 cat <<_ASUNAME
1335 ## --------- ##
1336 ## Platform. ##
1337 ## --------- ##
1338
1339 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1340 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1341 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1342 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1343 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1344
1345 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1346 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1347
1348 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1349 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1350 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1351 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1352 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1353 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1354 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1355
1356 _ASUNAME
1357
1358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1359 for as_dir in $PATH
1360 do
1361 IFS=$as_save_IFS
1362 test -z "$as_dir" && as_dir=.
1363 $as_echo "PATH: $as_dir"
1364 done
1365 IFS=$as_save_IFS
1366
1367 } >&5
1368
1369 cat >&5 <<_ACEOF
1370
1371
1372 ## ----------- ##
1373 ## Core tests. ##
1374 ## ----------- ##
1375
1376 _ACEOF
1377
1378
1379 # Keep a trace of the command line.
1380 # Strip out --no-create and --no-recursion so they do not pile up.
1381 # Strip out --silent because we don't want to record it for future runs.
1382 # Also quote any args containing shell meta-characters.
1383 # Make two passes to allow for proper duplicate-argument suppression.
1384 ac_configure_args=
1385 ac_configure_args0=
1386 ac_configure_args1=
1387 ac_must_keep_next=false
1388 for ac_pass in 1 2
1389 do
1390 for ac_arg
1391 do
1392 case $ac_arg in
1393 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1395 | -silent | --silent | --silen | --sile | --sil)
1396 continue ;;
1397 *\'*)
1398 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1399 esac
1400 case $ac_pass in
1401 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1402 2)
1403 as_fn_append ac_configure_args1 " '$ac_arg'"
1404 if test $ac_must_keep_next = true; then
1405 ac_must_keep_next=false # Got value, back to normal.
1406 else
1407 case $ac_arg in
1408 *=* | --config-cache | -C | -disable-* | --disable-* \
1409 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1410 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1411 | -with-* | --with-* | -without-* | --without-* | --x)
1412 case "$ac_configure_args0 " in
1413 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1414 esac
1415 ;;
1416 -* ) ac_must_keep_next=true ;;
1417 esac
1418 fi
1419 as_fn_append ac_configure_args " '$ac_arg'"
1420 ;;
1421 esac
1422 done
1423 done
1424 { ac_configure_args0=; unset ac_configure_args0;}
1425 { ac_configure_args1=; unset ac_configure_args1;}
1426
1427 # When interrupted or exit'd, cleanup temporary files, and complete
1428 # config.log. We remove comments because anyway the quotes in there
1429 # would cause problems or look ugly.
1430 # WARNING: Use '\'' to represent an apostrophe within the trap.
1431 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1432 trap 'exit_status=$?
1433 # Save into config.log some information that might help in debugging.
1434 {
1435 echo
1436
1437 cat <<\_ASBOX
1438 ## ---------------- ##
1439 ## Cache variables. ##
1440 ## ---------------- ##
1441 _ASBOX
1442 echo
1443 # The following way of writing the cache mishandles newlines in values,
1444 (
1445 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in #(
1448 *${as_nl}*)
1449 case $ac_var in #(
1450 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1451 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1452 esac
1453 case $ac_var in #(
1454 _ | IFS | as_nl) ;; #(
1455 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1456 *) { eval $ac_var=; unset $ac_var;} ;;
1457 esac ;;
1458 esac
1459 done
1460 (set) 2>&1 |
1461 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1462 *${as_nl}ac_space=\ *)
1463 sed -n \
1464 "s/'\''/'\''\\\\'\'''\''/g;
1465 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1466 ;; #(
1467 *)
1468 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1469 ;;
1470 esac |
1471 sort
1472 )
1473 echo
1474
1475 cat <<\_ASBOX
1476 ## ----------------- ##
1477 ## Output variables. ##
1478 ## ----------------- ##
1479 _ASBOX
1480 echo
1481 for ac_var in $ac_subst_vars
1482 do
1483 eval ac_val=\$$ac_var
1484 case $ac_val in
1485 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1486 esac
1487 $as_echo "$ac_var='\''$ac_val'\''"
1488 done | sort
1489 echo
1490
1491 if test -n "$ac_subst_files"; then
1492 cat <<\_ASBOX
1493 ## ------------------- ##
1494 ## File substitutions. ##
1495 ## ------------------- ##
1496 _ASBOX
1497 echo
1498 for ac_var in $ac_subst_files
1499 do
1500 eval ac_val=\$$ac_var
1501 case $ac_val in
1502 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1503 esac
1504 $as_echo "$ac_var='\''$ac_val'\''"
1505 done | sort
1506 echo
1507 fi
1508
1509 if test -s confdefs.h; then
1510 cat <<\_ASBOX
1511 ## ----------- ##
1512 ## confdefs.h. ##
1513 ## ----------- ##
1514 _ASBOX
1515 echo
1516 cat confdefs.h
1517 echo
1518 fi
1519 test "$ac_signal" != 0 &&
1520 $as_echo "$as_me: caught signal $ac_signal"
1521 $as_echo "$as_me: exit $exit_status"
1522 } >&5
1523 rm -f core *.core core.conftest.* &&
1524 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1525 exit $exit_status
1526 ' 0
1527 for ac_signal in 1 2 13 15; do
1528 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1529 done
1530 ac_signal=0
1531
1532 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1533 rm -f -r conftest* confdefs.h
1534
1535 $as_echo "/* confdefs.h */" > confdefs.h
1536
1537 # Predefined preprocessor variables.
1538
1539 cat >>confdefs.h <<_ACEOF
1540 #define PACKAGE_NAME "$PACKAGE_NAME"
1541 _ACEOF
1542
1543 cat >>confdefs.h <<_ACEOF
1544 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1545 _ACEOF
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1549 _ACEOF
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_STRING "$PACKAGE_STRING"
1553 _ACEOF
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1557 _ACEOF
1558
1559 cat >>confdefs.h <<_ACEOF
1560 #define PACKAGE_URL "$PACKAGE_URL"
1561 _ACEOF
1562
1563
1564 # Let the site file select an alternate cache file if it wants to.
1565 # Prefer an explicitly selected file to automatically selected ones.
1566 ac_site_file1=NONE
1567 ac_site_file2=NONE
1568 if test -n "$CONFIG_SITE"; then
1569 ac_site_file1=$CONFIG_SITE
1570 elif test "x$prefix" != xNONE; then
1571 ac_site_file1=$prefix/share/config.site
1572 ac_site_file2=$prefix/etc/config.site
1573 else
1574 ac_site_file1=$ac_default_prefix/share/config.site
1575 ac_site_file2=$ac_default_prefix/etc/config.site
1576 fi
1577 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1578 do
1579 test "x$ac_site_file" = xNONE && continue
1580 if test -r "$ac_site_file"; then
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1582 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1583 sed 's/^/| /' "$ac_site_file" >&5
1584 . "$ac_site_file"
1585 fi
1586 done
1587
1588 if test -r "$cache_file"; then
1589 # Some versions of bash will fail to source /dev/null (special
1590 # files actually), so we avoid doing that.
1591 if test -f "$cache_file"; then
1592 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1593 $as_echo "$as_me: loading cache $cache_file" >&6;}
1594 case $cache_file in
1595 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1596 *) . "./$cache_file";;
1597 esac
1598 fi
1599 else
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1601 $as_echo "$as_me: creating cache $cache_file" >&6;}
1602 >$cache_file
1603 fi
1604
1605 # Check that the precious variables saved in the cache have kept the same
1606 # value.
1607 ac_cache_corrupted=false
1608 for ac_var in $ac_precious_vars; do
1609 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1610 eval ac_new_set=\$ac_env_${ac_var}_set
1611 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1612 eval ac_new_val=\$ac_env_${ac_var}_value
1613 case $ac_old_set,$ac_new_set in
1614 set,)
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617 ac_cache_corrupted=: ;;
1618 ,set)
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1620 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621 ac_cache_corrupted=: ;;
1622 ,);;
1623 *)
1624 if test "x$ac_old_val" != "x$ac_new_val"; then
1625 # differences in whitespace do not lead to failure.
1626 ac_old_val_w=`echo x $ac_old_val`
1627 ac_new_val_w=`echo x $ac_new_val`
1628 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1630 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1631 ac_cache_corrupted=:
1632 else
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1634 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1635 eval $ac_var=\$ac_old_val
1636 fi
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1638 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1640 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1641 fi;;
1642 esac
1643 # Pass precious variables to config.status.
1644 if test "$ac_new_set" = set; then
1645 case $ac_new_val in
1646 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1647 *) ac_arg=$ac_var=$ac_new_val ;;
1648 esac
1649 case " $ac_configure_args " in
1650 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1651 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1652 esac
1653 fi
1654 done
1655 if $ac_cache_corrupted; then
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1657 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1659 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1660 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1661 fi
1662 ## -------------------- ##
1663 ## Main body of script. ##
1664 ## -------------------- ##
1665
1666 ac_ext=c
1667 ac_cpp='$CPP $CPPFLAGS'
1668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1671
1672
1673 PERL_REQUIRE=
1674 PROGNAME="passwd_exp"
1675 VERSION="1.2.11"
1676 PACKAGE=$PROGNAME
1677
1678 #defaults
1679
1680
1681
1682
1683
1684
1685 #configs
1686
1687
1688
1689 #extra vars
1690 datadir="${datadir}/passwd_exp"
1691 pw_moddir="${datadir}/mod"
1692
1693
1694 #install progs
1695 ac_aux_dir=
1696 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1697 for ac_t in install-sh install.sh shtool; do
1698 if test -f "$ac_dir/$ac_t"; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/$ac_t -c"
1701 break 2
1702 fi
1703 done
1704 done
1705 if test -z "$ac_aux_dir"; then
1706 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1707 fi
1708
1709 # These three variables are undocumented and unsupported,
1710 # and are intended to be withdrawn in a future Autoconf release.
1711 # They can cause serious problems if a builder's source tree is in a directory
1712 # whose full name contains unusual characters.
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1715 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1716
1717
1718 # Find a good install program. We prefer a C program (faster),
1719 # so one script is as good as another. But avoid the broken or
1720 # incompatible versions:
1721 # SysV /etc/install, /usr/sbin/install
1722 # SunOS /usr/etc/install
1723 # IRIX /sbin/install
1724 # AIX /bin/install
1725 # AmigaOS /C/install, which installs bootblocks on floppy discs
1726 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1727 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1728 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1729 # OS/2's system install, which has a completely different semantic
1730 # ./install, which can be erroneously created by make from ./install.sh.
1731 # Reject install programs that cannot install multiple files.
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1733 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1734 if test -z "$INSTALL"; then
1735 if test "${ac_cv_path_install+set}" = set; then :
1736 $as_echo_n "(cached) " >&6
1737 else
1738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1739 for as_dir in $PATH
1740 do
1741 IFS=$as_save_IFS
1742 test -z "$as_dir" && as_dir=.
1743 # Account for people who put trailing slashes in PATH elements.
1744 case $as_dir/ in #((
1745 ./ | .// | /[cC]/* | \
1746 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1747 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1748 /usr/ucb/* ) ;;
1749 *)
1750 # OSF1 and SCO ODT 3.0 have their own names for install.
1751 # Don't use installbsd from OSF since it installs stuff as root
1752 # by default.
1753 for ac_prog in ginstall scoinst install; do
1754 for ac_exec_ext in '' $ac_executable_extensions; do
1755 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1756 if test $ac_prog = install &&
1757 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1758 # AIX install. It has an incompatible calling convention.
1759 :
1760 elif test $ac_prog = install &&
1761 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1762 # program-specific install script used by HP pwplus--don't use.
1763 :
1764 else
1765 rm -rf conftest.one conftest.two conftest.dir
1766 echo one > conftest.one
1767 echo two > conftest.two
1768 mkdir conftest.dir
1769 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1770 test -s conftest.one && test -s conftest.two &&
1771 test -s conftest.dir/conftest.one &&
1772 test -s conftest.dir/conftest.two
1773 then
1774 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1775 break 3
1776 fi
1777 fi
1778 fi
1779 done
1780 done
1781 ;;
1782 esac
1783
1784 done
1785 IFS=$as_save_IFS
1786
1787 rm -rf conftest.one conftest.two conftest.dir
1788
1789 fi
1790 if test "${ac_cv_path_install+set}" = set; then
1791 INSTALL=$ac_cv_path_install
1792 else
1793 # As a last resort, use the slow shell script. Don't cache a
1794 # value for INSTALL within a source directory, because that will
1795 # break other packages using the cache if that directory is
1796 # removed, or if the value is a relative name.
1797 INSTALL=$ac_install_sh
1798 fi
1799 fi
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1801 $as_echo "$INSTALL" >&6; }
1802
1803 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1804 # It thinks the first close brace ends the variable substitution.
1805 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1806
1807 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1808
1809 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1810
1811
1812 #check perl existence
1813 # Extract the first word of "perl", so it can be a program name with args.
1814 set dummy perl; ac_word=$2
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1816 $as_echo_n "checking for $ac_word... " >&6; }
1817 if test "${ac_cv_path_PERL+set}" = set; then :
1818 $as_echo_n "(cached) " >&6
1819 else
1820 case $PERL in
1821 [\\/]* | ?:[\\/]*)
1822 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
1823 ;;
1824 *)
1825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1826 for as_dir in $PATH
1827 do
1828 IFS=$as_save_IFS
1829 test -z "$as_dir" && as_dir=.
1830 for ac_exec_ext in '' $ac_executable_extensions; do
1831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1832 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
1833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1834 break 2
1835 fi
1836 done
1837 done
1838 IFS=$as_save_IFS
1839
1840 ;;
1841 esac
1842 fi
1843 PERL=$ac_cv_path_PERL
1844 if test -n "$PERL"; then
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
1846 $as_echo "$PERL" >&6; }
1847 else
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1849 $as_echo "no" >&6; }
1850 fi
1851
1852
1853 if test "${PERL}x" = "x";
1854 then as_fn_error "missing perl interpreter !!!" "$LINENO" 5;
1855 fi
1856
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl version" >&5
1858 $as_echo_n "checking for perl version... " >&6; }
1859 PERL_v=`perl -v | grep 'This is perl' | cut -d ' ' -f 4,7 2>/dev/null`
1860 if test "${PERL_v}x" != "x";
1861 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_v" >&5
1862 $as_echo "$PERL_v" >&6; };
1863 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
1864 $as_echo "unknown" >&6; };
1865 fi
1866
1867
1868 #check for tokenizer packager
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPAN module" >&5
1870 $as_echo_n "checking for CPAN module... " >&6; }
1871 if $PERL <<__EOF__ 2>/dev/null
1872
1873 use CPAN;
1874
1875 __EOF__
1876 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5
1877 $as_echo "present" >&6; };
1878 HAVE_CPAN=1;
1879 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1880 $as_echo "not found" >&6; };
1881 HAVE_CPAN=;
1882 fi
1883
1884
1885 #check for tokenizer packager
1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Text::Tokenizer module" >&5
1887 $as_echo_n "checking for Text::Tokenizer module... " >&6; }
1888 if $PERL <<__EOF__ 2>/dev/null
1889
1890 use Text::Tokenizer;
1891
1892 __EOF__
1893 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5
1894 $as_echo "present" >&6; };
1895 else if test "${HAVE_CPAN}x" != "x";
1896 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: will try to install from CPAN" >&5
1897 $as_echo "will try to install from CPAN" >&6; };
1898 PERL_REQUIRE="$PERL_REQUIRE Text::Tokenizer";
1899 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
1900 $as_echo "not found" >&6; };
1901 as_fn_error "You need Text::Tokenizer perl module to install this package" "$LINENO" 5;
1902 exit 1;
1903 fi;
1904 fi
1905
1906 #check for locale
1907 # Check whether --enable-locale was given.
1908 if test "${enable_locale+set}" = set; then :
1909 enableval=$enable_locale; cf_disable_locale=$enableval
1910 fi
1911
1912 HAVE_LOCALE=
1913 if test "${cf_disable_locale}x" = "x";
1914 then
1915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Locale::gettext module" >&5
1916 $as_echo_n "checking for Locale::gettext module... " >&6; }
1917 if $PERL <<__EOF__ 2>/dev/null
1918
1919 use Locale::gettext;
1920
1921 __EOF__
1922 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: present" >&5
1923 $as_echo "present" >&6; };
1924 HAVE_LOCALE='\1';
1925 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
1926 $as_echo "missing" >&6; };
1927 HAVE_LOCALE=;
1928 fi
1929 fi
1930
1931
1932 #check if mail enabled
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if mail sending is enabled" >&5
1934 $as_echo_n "checking if mail sending is enabled... " >&6; }
1935 cf_enable_mail="yes"
1936 # Check whether --enable-mail was given.
1937 if test "${enable_mail+set}" = set; then :
1938 enableval=$enable_mail; cf_enable_mail=$enableval
1939 fi
1940
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_enable_mail" >&5
1942 $as_echo "$cf_enable_mail" >&6; }
1943 cf_report_mailerr="yes"
1944 # Check whether --enable-nomail-errors was given.
1945 if test "${enable_nomail_errors+set}" = set; then :
1946 enableval=$enable_nomail_errors; cf_report_mailerr=$enableval
1947 fi
1948
1949
1950 #check for sendmail
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendmail path" >&5
1952 $as_echo_n "checking for sendmail path... " >&6; }
1953 cf_with_sendmail=""
1954
1955 # Check whether --with-sendmail was given.
1956 if test "${with_sendmail+set}" = set; then :
1957 withval=$with_sendmail; cf_with_sendmail="$withval"
1958 fi
1959
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_with_sendmail" >&5
1961 $as_echo "$cf_with_sendmail" >&6; }
1962 if test "${cf_with_sendmail}x" = "x";
1963 then # Extract the first word of "sendmail", so it can be a program name with args.
1964 set dummy sendmail; ac_word=$2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if test "${ac_cv_path_SENDMAIL+set}" = set; then :
1968 $as_echo_n "(cached) " >&6
1969 else
1970 case $SENDMAIL in
1971 [\\/]* | ?:[\\/]*)
1972 ac_cv_path_SENDMAIL="$SENDMAIL" # Let the user override the test with a path.
1973 ;;
1974 *)
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1976 as_dummy="$PATH:/sbin:/usr/sbin:/usr/local/sbin"
1977 for as_dir in $as_dummy
1978 do
1979 IFS=$as_save_IFS
1980 test -z "$as_dir" && as_dir=.
1981 for ac_exec_ext in '' $ac_executable_extensions; do
1982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1983 ac_cv_path_SENDMAIL="$as_dir/$ac_word$ac_exec_ext"
1984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1985 break 2
1986 fi
1987 done
1988 done
1989 IFS=$as_save_IFS
1990
1991 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL="/usr/sbin/sendmail"
1992 ;;
1993 esac
1994 fi
1995 SENDMAIL=$ac_cv_path_SENDMAIL
1996 if test -n "$SENDMAIL"; then
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
1998 $as_echo "$SENDMAIL" >&6; }
1999 else
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2001 $as_echo "no" >&6; }
2002 fi
2003
2004
2005 else SENDMAIL="$cf_with_sendmail";
2006 fi
2007
2008 #check for mail/mailx
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mail/mailx path" >&5
2010 $as_echo_n "checking for mail/mailx path... " >&6; }
2011 cf_with_mailx=""
2012
2013 # Check whether --with-mail was given.
2014 if test "${with_mail+set}" = set; then :
2015 withval=$with_mail; cf_with_mailx="$withval"
2016 fi
2017
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cf_with_mailx" >&5
2019 $as_echo "$cf_with_mailx" >&6; }
2020 if test "${cf_with_mailx}x" = "x";
2021 then # Extract the first word of "mail", so it can be a program name with args.
2022 set dummy mail; ac_word=$2
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2024 $as_echo_n "checking for $ac_word... " >&6; }
2025 if test "${ac_cv_path_MAILX+set}" = set; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 case $MAILX in
2029 [\\/]* | ?:[\\/]*)
2030 ac_cv_path_MAILX="$MAILX" # Let the user override the test with a path.
2031 ;;
2032 *)
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2035 do
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2040 ac_cv_path_MAILX="$as_dir/$ac_word$ac_exec_ext"
2041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2043 fi
2044 done
2045 done
2046 IFS=$as_save_IFS
2047
2048 test -z "$ac_cv_path_MAILX" && ac_cv_path_MAILX="/bin/mail"
2049 ;;
2050 esac
2051 fi
2052 MAILX=$ac_cv_path_MAILX
2053 if test -n "$MAILX"; then
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAILX" >&5
2055 $as_echo "$MAILX" >&6; }
2056 else
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2058 $as_echo "no" >&6; }
2059 fi
2060
2061
2062 if test "${MAILX}x" = "x";
2063 then # Extract the first word of "mail", so it can be a program name with args.
2064 set dummy mail; 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 test "${ac_cv_path_MAILX+set}" = set; then :
2068 $as_echo_n "(cached) " >&6
2069 else
2070 case $MAILX in
2071 [\\/]* | ?:[\\/]*)
2072 ac_cv_path_MAILX="$MAILX" # Let the user override the test with a path.
2073 ;;
2074 *)
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2077 do
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_path_MAILX="$as_dir/$ac_word$ac_exec_ext"
2083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2085 fi
2086 done
2087 done
2088 IFS=$as_save_IFS
2089
2090 test -z "$ac_cv_path_MAILX" && ac_cv_path_MAILX="/bin/mailx"
2091 ;;
2092 esac
2093 fi
2094 MAILX=$ac_cv_path_MAILX
2095 if test -n "$MAILX"; then
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAILX" >&5
2097 $as_echo "$MAILX" >&6; }
2098 else
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2100 $as_echo "no" >&6; }
2101 fi
2102
2103
2104 fi
2105 else MAILX="$cf_with_mailx"
2106 fi
2107
2108 #report error
2109 if test "${SENDMAIL}x" = "x" && test "${MAILX}x" = "x";
2110 then
2111 msg="no mail sending tools found"
2112 if test "$cf_enable_mail" = "no" || test "$cf_report_mailerr" = "no";
2113 then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg, ignoring..." >&5
2114 $as_echo "$as_me: WARNING: $msg, ignoring..." >&2;};
2115 else as_fn_error " $msg, exiting... " "$LINENO" 5;
2116 exit 1;
2117 fi
2118 unset msg
2119 fi
2120
2121 #fix for missing mailx
2122 if test "{$MAILX}x" = "x";
2123 then MAILX=/bin/mail;
2124 fi
2125
2126 #check for sendmail
2127 HAVE_SENDMAIL=1
2128 if test "${SENDMAIL}x" = "x";
2129 then HAVE_SENDMAIL=0;
2130 fi
2131
2132
2133 #checking for sed
2134 # Extract the first word of "sed", so it can be a program name with args.
2135 set dummy sed; ac_word=$2
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2137 $as_echo_n "checking for $ac_word... " >&6; }
2138 if test "${ac_cv_path_SED+set}" = set; then :
2139 $as_echo_n "(cached) " >&6
2140 else
2141 case $SED in
2142 [\\/]* | ?:[\\/]*)
2143 ac_cv_path_SED="$SED" # Let the user override the test with a path.
2144 ;;
2145 *)
2146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2147 for as_dir in $PATH
2148 do
2149 IFS=$as_save_IFS
2150 test -z "$as_dir" && as_dir=.
2151 for ac_exec_ext in '' $ac_executable_extensions; do
2152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
2154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2155 break 2
2156 fi
2157 done
2158 done
2159 IFS=$as_save_IFS
2160
2161 test -z "$ac_cv_path_SED" && ac_cv_path_SED="/bin/sed"
2162 ;;
2163 esac
2164 fi
2165 SED=$ac_cv_path_SED
2166 if test -n "$SED"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
2168 $as_echo "$SED" >&6; }
2169 else
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2171 $as_echo "no" >&6; }
2172 fi
2173
2174
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sed version" >&5
2176 $as_echo_n "checking for sed version... " >&6; }
2177 SED_v=`sed --version | grep 'sed version' | cut -d ' ' -f 1,4 2>/dev/null`
2178 if test "${SED_v}x" != "x";
2179 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED_v" >&5
2180 $as_echo "$SED_v" >&6; };
2181 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown" >&5
2182 $as_echo "unknown" >&6; };
2183 fi
2184
2185
2186 #check for crondir
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crontab dirs (cron.*)" >&5
2188 $as_echo_n "checking for crontab dirs (cron.*)... " >&6; }
2189 crondirs="${sysconfdir} /etc"
2190 crondir=
2191 for dir in $crondirs;
2192 do if test -d "$dir/cron.daily";
2193 then crondir=$dir
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crondir" >&5
2195 $as_echo "$crondir" >&6; };
2196 break;
2197 fi;
2198 done
2199 if test "${crondir}x" = "x";
2200 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2201 $as_echo "not found" >&6; };
2202 fi
2203
2204
2205 DB_MODULE=
2206
2207 #check for shadow
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shadow" >&5
2209 $as_echo_n "checking for shadow... " >&6; }
2210 t_shadow_file="/etc/shadow"
2211 if test -f "$t_shadow_file";
2212 then DB_MODULE='shadow.linux';
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2214 $as_echo "found" >&6; };
2215 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2216 $as_echo "not found" >&6; };
2217 fi
2218 #check for bsd
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD system" >&5
2220 $as_echo_n "checking for BSD system... " >&6; }
2221 if uname -s | grep BSD >/dev/null;
2222 then DB_MODULE='passwd.bsd';
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2224 $as_echo "found" >&6; };
2225 else { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2226 $as_echo "not found" >&6; };
2227 fi
2228
2229
2230 #check for previous version < 0.9.x
2231 #FIXME: dummy check
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for old passwd_exp 0.x" >&5
2233 $as_echo_n "checking for old passwd_exp 0.x... " >&6; }
2234 HAVE_OLD_PEX=
2235 sysconfdirs="${sysconfdir} /etc /usr/local/etc"
2236 oldpex=
2237 for dir in $sysconfdirs;
2238 do if test -r "$dir/passwd_exp.conf";
2239 then oldpex=$dir
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2241 $as_echo "found" >&6; };
2242 break;
2243 fi;
2244 done
2245 if test "${oldpex}x" = "x";
2246 then { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
2247 $as_echo "not found" >&6; };
2248 fi
2249
2250
2251
2252 #configured flag
2253
2254
2255 #end
2256 ac_config_files="$ac_config_files confvars.map Makefile"
2257
2258 cat >confcache <<\_ACEOF
2259 # This file is a shell script that caches the results of configure
2260 # tests run on this system so they can be shared between configure
2261 # scripts and configure runs, see configure's option --config-cache.
2262 # It is not useful on other systems. If it contains results you don't
2263 # want to keep, you may remove or edit it.
2264 #
2265 # config.status only pays attention to the cache file if you give it
2266 # the --recheck option to rerun configure.
2267 #
2268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2270 # following values.
2271
2272 _ACEOF
2273
2274 # The following way of writing the cache mishandles newlines in values,
2275 # but we know of no workaround that is simple, portable, and efficient.
2276 # So, we kill variables containing newlines.
2277 # Ultrix sh set writes to stderr and can't be redirected directly,
2278 # and sets the high bit in the cache file unless we assign to the vars.
2279 (
2280 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2281 eval ac_val=\$$ac_var
2282 case $ac_val in #(
2283 *${as_nl}*)
2284 case $ac_var in #(
2285 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2286 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2287 esac
2288 case $ac_var in #(
2289 _ | IFS | as_nl) ;; #(
2290 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2291 *) { eval $ac_var=; unset $ac_var;} ;;
2292 esac ;;
2293 esac
2294 done
2295
2296 (set) 2>&1 |
2297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2299 # `set' does not quote correctly, so add quotes: double-quote
2300 # substitution turns \\\\ into \\, and sed turns \\ into \.
2301 sed -n \
2302 "s/'/'\\\\''/g;
2303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2304 ;; #(
2305 *)
2306 # `set' quotes correctly as required by POSIX, so do not add quotes.
2307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2308 ;;
2309 esac |
2310 sort
2311 ) |
2312 sed '
2313 /^ac_cv_env_/b end
2314 t clear
2315 :clear
2316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2317 t end
2318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2319 :end' >>confcache
2320 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2321 if test -w "$cache_file"; then
2322 test "x$cache_file" != "x/dev/null" &&
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2324 $as_echo "$as_me: updating cache $cache_file" >&6;}
2325 cat confcache >$cache_file
2326 else
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2328 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2329 fi
2330 fi
2331 rm -f confcache
2332
2333 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2334 # Let make expand exec_prefix.
2335 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2336
2337 # Transform confdefs.h into DEFS.
2338 # Protect against shell expansion while executing Makefile rules.
2339 # Protect against Makefile macro expansion.
2340 #
2341 # If the first sed substitution is executed (which looks for macros that
2342 # take arguments), then branch to the quote section. Otherwise,
2343 # look for a macro that doesn't take arguments.
2344 ac_script='
2345 :mline
2346 /\\$/{
2347 N
2348 s,\\\n,,
2349 b mline
2350 }
2351 t clear
2352 :clear
2353 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2354 t quote
2355 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2356 t quote
2357 b any
2358 :quote
2359 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2360 s/\[/\\&/g
2361 s/\]/\\&/g
2362 s/\$/$$/g
2363 H
2364 :any
2365 ${
2366 g
2367 s/^\n//
2368 s/\n/ /g
2369 p
2370 }
2371 '
2372 DEFS=`sed -n "$ac_script" confdefs.h`
2373
2374
2375 ac_libobjs=
2376 ac_ltlibobjs=
2377 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2378 # 1. Remove the extension, and $U if already installed.
2379 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2380 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2381 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2382 # will be set to the directory where LIBOBJS objects are built.
2383 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2384 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2385 done
2386 LIBOBJS=$ac_libobjs
2387
2388 LTLIBOBJS=$ac_ltlibobjs
2389
2390
2391
2392 : ${CONFIG_STATUS=./config.status}
2393 ac_write_fail=0
2394 ac_clean_files_save=$ac_clean_files
2395 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2397 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2398 as_write_fail=0
2399 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2400 #! $SHELL
2401 # Generated by $as_me.
2402 # Run this file to recreate the current configuration.
2403 # Compiler output produced by configure, useful for debugging
2404 # configure, is in config.log if it exists.
2405
2406 debug=false
2407 ac_cs_recheck=false
2408 ac_cs_silent=false
2409
2410 SHELL=\${CONFIG_SHELL-$SHELL}
2411 export SHELL
2412 _ASEOF
2413 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2414 ## -------------------- ##
2415 ## M4sh Initialization. ##
2416 ## -------------------- ##
2417
2418 # Be more Bourne compatible
2419 DUALCASE=1; export DUALCASE # for MKS sh
2420 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2421 emulate sh
2422 NULLCMD=:
2423 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2424 # is contrary to our usage. Disable this feature.
2425 alias -g '${1+"$@"}'='"$@"'
2426 setopt NO_GLOB_SUBST
2427 else
2428 case `(set -o) 2>/dev/null` in #(
2429 *posix*) :
2430 set -o posix ;; #(
2431 *) :
2432 ;;
2433 esac
2434 fi
2435
2436
2437 as_nl='
2438 '
2439 export as_nl
2440 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2441 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2442 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2443 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2444 # Prefer a ksh shell builtin over an external printf program on Solaris,
2445 # but without wasting forks for bash or zsh.
2446 if test -z "$BASH_VERSION$ZSH_VERSION" \
2447 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2448 as_echo='print -r --'
2449 as_echo_n='print -rn --'
2450 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2451 as_echo='printf %s\n'
2452 as_echo_n='printf %s'
2453 else
2454 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2455 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2456 as_echo_n='/usr/ucb/echo -n'
2457 else
2458 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2459 as_echo_n_body='eval
2460 arg=$1;
2461 case $arg in #(
2462 *"$as_nl"*)
2463 expr "X$arg" : "X\\(.*\\)$as_nl";
2464 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2465 esac;
2466 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2467 '
2468 export as_echo_n_body
2469 as_echo_n='sh -c $as_echo_n_body as_echo'
2470 fi
2471 export as_echo_body
2472 as_echo='sh -c $as_echo_body as_echo'
2473 fi
2474
2475 # The user is always right.
2476 if test "${PATH_SEPARATOR+set}" != set; then
2477 PATH_SEPARATOR=:
2478 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2479 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2480 PATH_SEPARATOR=';'
2481 }
2482 fi
2483
2484
2485 # IFS
2486 # We need space, tab and new line, in precisely that order. Quoting is
2487 # there to prevent editors from complaining about space-tab.
2488 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2489 # splitting by setting IFS to empty value.)
2490 IFS=" "" $as_nl"
2491
2492 # Find who we are. Look in the path if we contain no directory separator.
2493 case $0 in #((
2494 *[\\/]* ) as_myself=$0 ;;
2495 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496 for as_dir in $PATH
2497 do
2498 IFS=$as_save_IFS
2499 test -z "$as_dir" && as_dir=.
2500 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2501 done
2502 IFS=$as_save_IFS
2503
2504 ;;
2505 esac
2506 # We did not find ourselves, most probably we were run as `sh COMMAND'
2507 # in which case we are not to be found in the path.
2508 if test "x$as_myself" = x; then
2509 as_myself=$0
2510 fi
2511 if test ! -f "$as_myself"; then
2512 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2513 exit 1
2514 fi
2515
2516 # Unset variables that we do not need and which cause bugs (e.g. in
2517 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2518 # suppresses any "Segmentation fault" message there. '((' could
2519 # trigger a bug in pdksh 5.2.14.
2520 for as_var in BASH_ENV ENV MAIL MAILPATH
2521 do eval test x\${$as_var+set} = xset \
2522 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2523 done
2524 PS1='$ '
2525 PS2='> '
2526 PS4='+ '
2527
2528 # NLS nuisances.
2529 LC_ALL=C
2530 export LC_ALL
2531 LANGUAGE=C
2532 export LANGUAGE
2533
2534 # CDPATH.
2535 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2536
2537
2538 # as_fn_error ERROR [LINENO LOG_FD]
2539 # ---------------------------------
2540 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2541 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2542 # script with status $?, using 1 if that was 0.
2543 as_fn_error ()
2544 {
2545 as_status=$?; test $as_status -eq 0 && as_status=1
2546 if test "$3"; then
2547 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2548 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2549 fi
2550 $as_echo "$as_me: error: $1" >&2
2551 as_fn_exit $as_status
2552 } # as_fn_error
2553
2554
2555 # as_fn_set_status STATUS
2556 # -----------------------
2557 # Set $? to STATUS, without forking.
2558 as_fn_set_status ()
2559 {
2560 return $1
2561 } # as_fn_set_status
2562
2563 # as_fn_exit STATUS
2564 # -----------------
2565 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2566 as_fn_exit ()
2567 {
2568 set +e
2569 as_fn_set_status $1
2570 exit $1
2571 } # as_fn_exit
2572
2573 # as_fn_unset VAR
2574 # ---------------
2575 # Portably unset VAR.
2576 as_fn_unset ()
2577 {
2578 { eval $1=; unset $1;}
2579 }
2580 as_unset=as_fn_unset
2581 # as_fn_append VAR VALUE
2582 # ----------------------
2583 # Append the text in VALUE to the end of the definition contained in VAR. Take
2584 # advantage of any shell optimizations that allow amortized linear growth over
2585 # repeated appends, instead of the typical quadratic growth present in naive
2586 # implementations.
2587 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2588 eval 'as_fn_append ()
2589 {
2590 eval $1+=\$2
2591 }'
2592 else
2593 as_fn_append ()
2594 {
2595 eval $1=\$$1\$2
2596 }
2597 fi # as_fn_append
2598
2599 # as_fn_arith ARG...
2600 # ------------------
2601 # Perform arithmetic evaluation on the ARGs, and store the result in the
2602 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2603 # must be portable across $(()) and expr.
2604 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2605 eval 'as_fn_arith ()
2606 {
2607 as_val=$(( $* ))
2608 }'
2609 else
2610 as_fn_arith ()
2611 {
2612 as_val=`expr "$@" || test $? -eq 1`
2613 }
2614 fi # as_fn_arith
2615
2616
2617 if expr a : '\(a\)' >/dev/null 2>&1 &&
2618 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2619 as_expr=expr
2620 else
2621 as_expr=false
2622 fi
2623
2624 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2625 as_basename=basename
2626 else
2627 as_basename=false
2628 fi
2629
2630 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2631 as_dirname=dirname
2632 else
2633 as_dirname=false
2634 fi
2635
2636 as_me=`$as_basename -- "$0" ||
2637 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2638 X"$0" : 'X\(//\)$' \| \
2639 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2640 $as_echo X/"$0" |
2641 sed '/^.*\/\([^/][^/]*\)\/*$/{
2642 s//\1/
2643 q
2644 }
2645 /^X\/\(\/\/\)$/{
2646 s//\1/
2647 q
2648 }
2649 /^X\/\(\/\).*/{
2650 s//\1/
2651 q
2652 }
2653 s/.*/./; q'`
2654
2655 # Avoid depending upon Character Ranges.
2656 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2657 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2658 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2659 as_cr_digits='0123456789'
2660 as_cr_alnum=$as_cr_Letters$as_cr_digits
2661
2662 ECHO_C= ECHO_N= ECHO_T=
2663 case `echo -n x` in #(((((
2664 -n*)
2665 case `echo 'xy\c'` in
2666 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2667 xy) ECHO_C='\c';;
2668 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2669 ECHO_T=' ';;
2670 esac;;
2671 *)
2672 ECHO_N='-n';;
2673 esac
2674
2675 rm -f conf$$ conf$$.exe conf$$.file
2676 if test -d conf$$.dir; then
2677 rm -f conf$$.dir/conf$$.file
2678 else
2679 rm -f conf$$.dir
2680 mkdir conf$$.dir 2>/dev/null
2681 fi
2682 if (echo >conf$$.file) 2>/dev/null; then
2683 if ln -s conf$$.file conf$$ 2>/dev/null; then
2684 as_ln_s='ln -s'
2685 # ... but there are two gotchas:
2686 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2687 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2688 # In both cases, we have to default to `cp -p'.
2689 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2690 as_ln_s='cp -p'
2691 elif ln conf$$.file conf$$ 2>/dev/null; then
2692 as_ln_s=ln
2693 else
2694 as_ln_s='cp -p'
2695 fi
2696 else
2697 as_ln_s='cp -p'
2698 fi
2699 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2700 rmdir conf$$.dir 2>/dev/null
2701
2702
2703 # as_fn_mkdir_p
2704 # -------------
2705 # Create "$as_dir" as a directory, including parents if necessary.
2706 as_fn_mkdir_p ()
2707 {
2708
2709 case $as_dir in #(
2710 -*) as_dir=./$as_dir;;
2711 esac
2712 test -d "$as_dir" || eval $as_mkdir_p || {
2713 as_dirs=
2714 while :; do
2715 case $as_dir in #(
2716 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2717 *) as_qdir=$as_dir;;
2718 esac
2719 as_dirs="'$as_qdir' $as_dirs"
2720 as_dir=`$as_dirname -- "$as_dir" ||
2721 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2722 X"$as_dir" : 'X\(//\)[^/]' \| \
2723 X"$as_dir" : 'X\(//\)$' \| \
2724 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2725 $as_echo X"$as_dir" |
2726 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2727 s//\1/
2728 q
2729 }
2730 /^X\(\/\/\)[^/].*/{
2731 s//\1/
2732 q
2733 }
2734 /^X\(\/\/\)$/{
2735 s//\1/
2736 q
2737 }
2738 /^X\(\/\).*/{
2739 s//\1/
2740 q
2741 }
2742 s/.*/./; q'`
2743 test -d "$as_dir" && break
2744 done
2745 test -z "$as_dirs" || eval "mkdir $as_dirs"
2746 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2747
2748
2749 } # as_fn_mkdir_p
2750 if mkdir -p . 2>/dev/null; then
2751 as_mkdir_p='mkdir -p "$as_dir"'
2752 else
2753 test -d ./-p && rmdir ./-p
2754 as_mkdir_p=false
2755 fi
2756
2757 if test -x / >/dev/null 2>&1; then
2758 as_test_x='test -x'
2759 else
2760 if ls -dL / >/dev/null 2>&1; then
2761 as_ls_L_option=L
2762 else
2763 as_ls_L_option=
2764 fi
2765 as_test_x='
2766 eval sh -c '\''
2767 if test -d "$1"; then
2768 test -d "$1/.";
2769 else
2770 case $1 in #(
2771 -*)set "./$1";;
2772 esac;
2773 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2774 ???[sx]*):;;*)false;;esac;fi
2775 '\'' sh
2776 '
2777 fi
2778 as_executable_p=$as_test_x
2779
2780 # Sed expression to map a string onto a valid CPP name.
2781 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2782
2783 # Sed expression to map a string onto a valid variable name.
2784 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2785
2786
2787 exec 6>&1
2788 ## ----------------------------------- ##
2789 ## Main body of $CONFIG_STATUS script. ##
2790 ## ----------------------------------- ##
2791 _ASEOF
2792 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2793
2794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2795 # Save the log message, to keep $0 and so on meaningful, and to
2796 # report actual input values of CONFIG_FILES etc. instead of their
2797 # values after options handling.
2798 ac_log="
2799 This file was extended by $as_me, which was
2800 generated by GNU Autoconf 2.64. Invocation command line was
2801
2802 CONFIG_FILES = $CONFIG_FILES
2803 CONFIG_HEADERS = $CONFIG_HEADERS
2804 CONFIG_LINKS = $CONFIG_LINKS
2805 CONFIG_COMMANDS = $CONFIG_COMMANDS
2806 $ $0 $@
2807
2808 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2809 "
2810
2811 _ACEOF
2812
2813 case $ac_config_files in *"
2814 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2815 esac
2816
2817
2818
2819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2820 # Files that config.status was made for.
2821 config_files="$ac_config_files"
2822
2823 _ACEOF
2824
2825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2826 ac_cs_usage="\
2827 \`$as_me' instantiates files and other configuration actions
2828 from templates according to the current configuration. Unless the files
2829 and actions are specified as TAGs, all are instantiated by default.
2830
2831 Usage: $0 [OPTION]... [TAG]...
2832
2833 -h, --help print this help, then exit
2834 -V, --version print version number and configuration settings, then exit
2835 -q, --quiet, --silent
2836 do not print progress messages
2837 -d, --debug don't remove temporary files
2838 --recheck update $as_me by reconfiguring in the same conditions
2839 --file=FILE[:TEMPLATE]
2840 instantiate the configuration file FILE
2841
2842 Configuration files:
2843 $config_files
2844
2845 Report bugs to the package provider."
2846
2847 _ACEOF
2848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2849 ac_cs_version="\\
2850 config.status
2851 configured by $0, generated by GNU Autoconf 2.64,
2852 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2853
2854 Copyright (C) 2009 Free Software Foundation, Inc.
2855 This config.status script is free software; the Free Software Foundation
2856 gives unlimited permission to copy, distribute and modify it."
2857
2858 ac_pwd='$ac_pwd'
2859 srcdir='$srcdir'
2860 INSTALL='$INSTALL'
2861 test -n "\$AWK" || AWK=awk
2862 _ACEOF
2863
2864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2865 # The default lists apply if the user does not specify any file.
2866 ac_need_defaults=:
2867 while test $# != 0
2868 do
2869 case $1 in
2870 --*=*)
2871 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2872 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2873 ac_shift=:
2874 ;;
2875 *)
2876 ac_option=$1
2877 ac_optarg=$2
2878 ac_shift=shift
2879 ;;
2880 esac
2881
2882 case $ac_option in
2883 # Handling of the options.
2884 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2885 ac_cs_recheck=: ;;
2886 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2887 $as_echo "$ac_cs_version"; exit ;;
2888 --debug | --debu | --deb | --de | --d | -d )
2889 debug=: ;;
2890 --file | --fil | --fi | --f )
2891 $ac_shift
2892 case $ac_optarg in
2893 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2894 esac
2895 as_fn_append CONFIG_FILES " '$ac_optarg'"
2896 ac_need_defaults=false;;
2897 --he | --h | --help | --hel | -h )
2898 $as_echo "$ac_cs_usage"; exit ;;
2899 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2900 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2901 ac_cs_silent=: ;;
2902
2903 # This is an error.
2904 -*) as_fn_error "unrecognized option: \`$1'
2905 Try \`$0 --help' for more information." ;;
2906
2907 *) as_fn_append ac_config_targets " $1"
2908 ac_need_defaults=false ;;
2909
2910 esac
2911 shift
2912 done
2913
2914 ac_configure_extra_args=
2915
2916 if $ac_cs_silent; then
2917 exec 6>/dev/null
2918 ac_configure_extra_args="$ac_configure_extra_args --silent"
2919 fi
2920
2921 _ACEOF
2922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2923 if \$ac_cs_recheck; then
2924 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2925 shift
2926 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2927 CONFIG_SHELL='$SHELL'
2928 export CONFIG_SHELL
2929 exec "\$@"
2930 fi
2931
2932 _ACEOF
2933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2934 exec 5>>config.log
2935 {
2936 echo
2937 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2938 ## Running $as_me. ##
2939 _ASBOX
2940 $as_echo "$ac_log"
2941 } >&5
2942
2943 _ACEOF
2944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2945 _ACEOF
2946
2947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2948
2949 # Handling of arguments.
2950 for ac_config_target in $ac_config_targets
2951 do
2952 case $ac_config_target in
2953 "confvars.map") CONFIG_FILES="$CONFIG_FILES confvars.map" ;;
2954 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2955
2956 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2957 esac
2958 done
2959
2960
2961 # If the user did not use the arguments to specify the items to instantiate,
2962 # then the envvar interface is used. Set only those that are not.
2963 # We use the long form for the default assignment because of an extremely
2964 # bizarre bug on SunOS 4.1.3.
2965 if $ac_need_defaults; then
2966 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2967 fi
2968
2969 # Have a temporary directory for convenience. Make it in the build tree
2970 # simply because there is no reason against having it here, and in addition,
2971 # creating and moving files from /tmp can sometimes cause problems.
2972 # Hook for its removal unless debugging.
2973 # Note that there is a small window in which the directory will not be cleaned:
2974 # after its creation but before its name has been assigned to `$tmp'.
2975 $debug ||
2976 {
2977 tmp=
2978 trap 'exit_status=$?
2979 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2980 ' 0
2981 trap 'as_fn_exit 1' 1 2 13 15
2982 }
2983 # Create a (secure) tmp directory for tmp files.
2984
2985 {
2986 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2987 test -n "$tmp" && test -d "$tmp"
2988 } ||
2989 {
2990 tmp=./conf$$-$RANDOM
2991 (umask 077 && mkdir "$tmp")
2992 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2993
2994 # Set up the scripts for CONFIG_FILES section.
2995 # No need to generate them if there are no CONFIG_FILES.
2996 # This happens for instance with `./config.status config.h'.
2997 if test -n "$CONFIG_FILES"; then
2998
2999
3000 ac_cr=`echo X | tr X '\015'`
3001 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3002 # But we know of no other shell where ac_cr would be empty at this
3003 # point, so we can use a bashism as a fallback.
3004 if test "x$ac_cr" = x; then
3005 eval ac_cr=\$\'\\r\'
3006 fi
3007 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3008 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3009 ac_cs_awk_cr='\r'
3010 else
3011 ac_cs_awk_cr=$ac_cr
3012 fi
3013
3014 echo 'BEGIN {' >"$tmp/subs1.awk" &&
3015 _ACEOF
3016
3017
3018 {
3019 echo "cat >conf$$subs.awk <<_ACEOF" &&
3020 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3021 echo "_ACEOF"
3022 } >conf$$subs.sh ||
3023 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3024 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3025 ac_delim='%!_!# '
3026 for ac_last_try in false false false false false :; do
3027 . ./conf$$subs.sh ||
3028 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3029
3030 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3031 if test $ac_delim_n = $ac_delim_num; then
3032 break
3033 elif $ac_last_try; then
3034 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
3035 else
3036 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3037 fi
3038 done
3039 rm -f conf$$subs.sh
3040
3041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3042 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3043 _ACEOF
3044 sed -n '
3045 h
3046 s/^/S["/; s/!.*/"]=/
3047 p
3048 g
3049 s/^[^!]*!//
3050 :repl
3051 t repl
3052 s/'"$ac_delim"'$//
3053 t delim
3054 :nl
3055 h
3056 s/\(.\{148\}\).*/\1/
3057 t more1
3058 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3059 p
3060 n
3061 b repl
3062 :more1
3063 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3064 p
3065 g
3066 s/.\{148\}//
3067 t nl
3068 :delim
3069 h
3070 s/\(.\{148\}\).*/\1/
3071 t more2
3072 s/["\\]/\\&/g; s/^/"/; s/$/"/
3073 p
3074 b
3075 :more2
3076 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3077 p
3078 g
3079 s/.\{148\}//
3080 t delim
3081 ' <conf$$subs.awk | sed '
3082 /^[^""]/{
3083 N
3084 s/\n//
3085 }
3086 ' >>$CONFIG_STATUS || ac_write_fail=1
3087 rm -f conf$$subs.awk
3088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3089 _ACAWK
3090 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3091 for (key in S) S_is_set[key] = 1
3092 FS = ""
3093
3094 }
3095 {
3096 line = $ 0
3097 nfields = split(line, field, "@")
3098 substed = 0
3099 len = length(field[1])
3100 for (i = 2; i < nfields; i++) {
3101 key = field[i]
3102 keylen = length(key)
3103 if (S_is_set[key]) {
3104 value = S[key]
3105 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3106 len += length(value) + length(field[++i])
3107 substed = 1
3108 } else
3109 len += 1 + keylen
3110 }
3111
3112 print line
3113 }
3114
3115 _ACAWK
3116 _ACEOF
3117 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3118 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3119 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3120 else
3121 cat
3122 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3123 || as_fn_error "could not setup config files machinery" "$LINENO" 5
3124 _ACEOF
3125
3126 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3127 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3128 # trailing colons and then remove the whole line if VPATH becomes empty
3129 # (actually we leave an empty line to preserve line numbers).
3130 if test "x$srcdir" = x.; then
3131 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3132 s/:*\$(srcdir):*/:/
3133 s/:*\${srcdir}:*/:/
3134 s/:*@srcdir@:*/:/
3135 s/^\([^=]*=[ ]*\):*/\1/
3136 s/:*$//
3137 s/^[^=]*=[ ]*$//
3138 }'
3139 fi
3140
3141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3142 fi # test -n "$CONFIG_FILES"
3143
3144
3145 eval set X " :F $CONFIG_FILES "
3146 shift
3147 for ac_tag
3148 do
3149 case $ac_tag in
3150 :[FHLC]) ac_mode=$ac_tag; continue;;
3151 esac
3152 case $ac_mode$ac_tag in
3153 :[FHL]*:*);;
3154 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3155 :[FH]-) ac_tag=-:-;;
3156 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3157 esac
3158 ac_save_IFS=$IFS
3159 IFS=:
3160 set x $ac_tag
3161 IFS=$ac_save_IFS
3162 shift
3163 ac_file=$1
3164 shift
3165
3166 case $ac_mode in
3167 :L) ac_source=$1;;
3168 :[FH])
3169 ac_file_inputs=
3170 for ac_f
3171 do
3172 case $ac_f in
3173 -) ac_f="$tmp/stdin";;
3174 *) # Look for the file first in the build tree, then in the source tree
3175 # (if the path is not absolute). The absolute path cannot be DOS-style,
3176 # because $ac_f cannot contain `:'.
3177 test -f "$ac_f" ||
3178 case $ac_f in
3179 [\\/$]*) false;;
3180 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3181 esac ||
3182 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3183 esac
3184 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3185 as_fn_append ac_file_inputs " '$ac_f'"
3186 done
3187
3188 # Let's still pretend it is `configure' which instantiates (i.e., don't
3189 # use $as_me), people would be surprised to read:
3190 # /* config.h. Generated by config.status. */
3191 configure_input='Generated from '`
3192 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3193 `' by configure.'
3194 if test x"$ac_file" != x-; then
3195 configure_input="$ac_file. $configure_input"
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3197 $as_echo "$as_me: creating $ac_file" >&6;}
3198 fi
3199 # Neutralize special characters interpreted by sed in replacement strings.
3200 case $configure_input in #(
3201 *\&* | *\|* | *\\* )
3202 ac_sed_conf_input=`$as_echo "$configure_input" |
3203 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3204 *) ac_sed_conf_input=$configure_input;;
3205 esac
3206
3207 case $ac_tag in
3208 *:-:* | *:-) cat >"$tmp/stdin" \
3209 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3210 esac
3211 ;;
3212 esac
3213
3214 ac_dir=`$as_dirname -- "$ac_file" ||
3215 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3216 X"$ac_file" : 'X\(//\)[^/]' \| \
3217 X"$ac_file" : 'X\(//\)$' \| \
3218 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3219 $as_echo X"$ac_file" |
3220 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3221 s//\1/
3222 q
3223 }
3224 /^X\(\/\/\)[^/].*/{
3225 s//\1/
3226 q
3227 }
3228 /^X\(\/\/\)$/{
3229 s//\1/
3230 q
3231 }
3232 /^X\(\/\).*/{
3233 s//\1/
3234 q
3235 }
3236 s/.*/./; q'`
3237 as_dir="$ac_dir"; as_fn_mkdir_p
3238 ac_builddir=.
3239
3240 case "$ac_dir" in
3241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3242 *)
3243 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3244 # A ".." for each directory in $ac_dir_suffix.
3245 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3246 case $ac_top_builddir_sub in
3247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3249 esac ;;
3250 esac
3251 ac_abs_top_builddir=$ac_pwd
3252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3253 # for backward compatibility:
3254 ac_top_builddir=$ac_top_build_prefix
3255
3256 case $srcdir in
3257 .) # We are building in place.
3258 ac_srcdir=.
3259 ac_top_srcdir=$ac_top_builddir_sub
3260 ac_abs_top_srcdir=$ac_pwd ;;
3261 [\\/]* | ?:[\\/]* ) # Absolute name.
3262 ac_srcdir=$srcdir$ac_dir_suffix;
3263 ac_top_srcdir=$srcdir
3264 ac_abs_top_srcdir=$srcdir ;;
3265 *) # Relative name.
3266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3267 ac_top_srcdir=$ac_top_build_prefix$srcdir
3268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3269 esac
3270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3271
3272
3273 case $ac_mode in
3274 :F)
3275 #
3276 # CONFIG_FILE
3277 #
3278
3279 case $INSTALL in
3280 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3281 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3282 esac
3283 _ACEOF
3284
3285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3286 # If the template does not know about datarootdir, expand it.
3287 # FIXME: This hack should be removed a few years after 2.60.
3288 ac_datarootdir_hack=; ac_datarootdir_seen=
3289 ac_sed_dataroot='
3290 /datarootdir/ {
3291 p
3292 q
3293 }
3294 /@datadir@/p
3295 /@docdir@/p
3296 /@infodir@/p
3297 /@localedir@/p
3298 /@mandir@/p'
3299 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3300 *datarootdir*) ac_datarootdir_seen=yes;;
3301 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3303 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3304 _ACEOF
3305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3306 ac_datarootdir_hack='
3307 s&@datadir@&$datadir&g
3308 s&@docdir@&$docdir&g
3309 s&@infodir@&$infodir&g
3310 s&@localedir@&$localedir&g
3311 s&@mandir@&$mandir&g
3312 s&\\\${datarootdir}&$datarootdir&g' ;;
3313 esac
3314 _ACEOF
3315
3316 # Neutralize VPATH when `$srcdir' = `.'.
3317 # Shell code in configure.ac might set extrasub.
3318 # FIXME: do we really want to maintain this feature?
3319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3320 ac_sed_extra="$ac_vpsub
3321 $extrasub
3322 _ACEOF
3323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3324 :t
3325 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3326 s|@configure_input@|$ac_sed_conf_input|;t t
3327 s&@top_builddir@&$ac_top_builddir_sub&;t t
3328 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3329 s&@srcdir@&$ac_srcdir&;t t
3330 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3331 s&@top_srcdir@&$ac_top_srcdir&;t t
3332 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3333 s&@builddir@&$ac_builddir&;t t
3334 s&@abs_builddir@&$ac_abs_builddir&;t t
3335 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3336 s&@INSTALL@&$ac_INSTALL&;t t
3337 $ac_datarootdir_hack
3338 "
3339 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3340 || as_fn_error "could not create $ac_file" "$LINENO" 5
3341
3342 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3343 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3344 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3346 which seems to be undefined. Please make sure it is defined." >&5
3347 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3348 which seems to be undefined. Please make sure it is defined." >&2;}
3349
3350 rm -f "$tmp/stdin"
3351 case $ac_file in
3352 -) cat "$tmp/out" && rm -f "$tmp/out";;
3353 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3354 esac \
3355 || as_fn_error "could not create $ac_file" "$LINENO" 5
3356 ;;
3357
3358
3359
3360 esac
3361
3362 done # for ac_tag
3363
3364
3365 as_fn_exit 0
3366 _ACEOF
3367 ac_clean_files=$ac_clean_files_save
3368
3369 test $ac_write_fail = 0 ||
3370 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3371
3372
3373 # configure is writing to config.log, and then calls config.status.
3374 # config.status does its own redirection, appending to config.log.
3375 # Unfortunately, on DOS this fails, as config.log is still kept open
3376 # by configure, so config.status won't be able to write to it; its
3377 # output is simply discarded. So we exec the FD to /dev/null,
3378 # effectively closing config.log, so it can be properly (re)opened and
3379 # appended to by config.status. When coming back to configure, we
3380 # need to make the FD available again.
3381 if test "$no_create" != yes; then
3382 ac_cs_success=:
3383 ac_config_status_args=
3384 test "$silent" = yes &&
3385 ac_config_status_args="$ac_config_status_args --quiet"
3386 exec 5>/dev/null
3387 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3388 exec 5>>config.log
3389 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3390 # would make configure fail if this is the last instruction.
3391 $ac_cs_success || as_fn_exit $?
3392 fi
3393 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3395 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3396 fi
3397
3398 #EOF