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