Add .gitignore
[gnu-stow.git] / configure
blob8e79ed4b851771e127b1d2dbc21ba4365b78bb02
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for stow 2.0.2.
5 # Report bugs to <bug-stow@gnu.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='stow'
576 PACKAGE_TARNAME='stow'
577 PACKAGE_VERSION='2.0.2'
578 PACKAGE_STRING='stow 2.0.2'
579 PACKAGE_BUGREPORT='bug-stow@gnu.org'
581 ac_subst_vars='SHELL
582 PATH_SEPARATOR
583 PACKAGE_NAME
584 PACKAGE_TARNAME
585 PACKAGE_VERSION
586 PACKAGE_STRING
587 PACKAGE_BUGREPORT
588 exec_prefix
589 prefix
590 program_transform_name
591 bindir
592 sbindir
593 libexecdir
594 datarootdir
595 datadir
596 sysconfdir
597 sharedstatedir
598 localstatedir
599 includedir
600 oldincludedir
601 docdir
602 infodir
603 htmldir
604 dvidir
605 pdfdir
606 psdir
607 libdir
608 localedir
609 mandir
610 DEFS
611 ECHO_C
612 ECHO_N
613 ECHO_T
614 LIBS
615 build_alias
616 host_alias
617 target_alias
618 INSTALL_PROGRAM
619 INSTALL_SCRIPT
620 INSTALL_DATA
621 am__isrc
622 CYGPATH_W
623 PACKAGE
624 VERSION
625 ACLOCAL
626 AUTOCONF
627 AUTOMAKE
628 AUTOHEADER
629 MAKEINFO
630 install_sh
631 STRIP
632 INSTALL_STRIP_PROGRAM
633 mkdir_p
635 SET_MAKE
636 am__leading_dot
637 AMTAR
638 am__tar
639 am__untar
640 PERL
641 LIBOBJS
642 LTLIBOBJS'
643 ac_subst_files=''
644 ac_precious_vars='build_alias
645 host_alias
646 target_alias'
649 # Initialize some variables set by options.
650 ac_init_help=
651 ac_init_version=false
652 # The variables have the same names as the options, with
653 # dashes changed to underlines.
654 cache_file=/dev/null
655 exec_prefix=NONE
656 no_create=
657 no_recursion=
658 prefix=NONE
659 program_prefix=NONE
660 program_suffix=NONE
661 program_transform_name=s,x,x,
662 silent=
663 site=
664 srcdir=
665 verbose=
666 x_includes=NONE
667 x_libraries=NONE
669 # Installation directory options.
670 # These are left unexpanded so users can "make install exec_prefix=/foo"
671 # and all the variables that are supposed to be based on exec_prefix
672 # by default will actually change.
673 # Use braces instead of parens because sh, perl, etc. also accept them.
674 # (The list follows the same order as the GNU Coding Standards.)
675 bindir='${exec_prefix}/bin'
676 sbindir='${exec_prefix}/sbin'
677 libexecdir='${exec_prefix}/libexec'
678 datarootdir='${prefix}/share'
679 datadir='${datarootdir}'
680 sysconfdir='${prefix}/etc'
681 sharedstatedir='${prefix}/com'
682 localstatedir='${prefix}/var'
683 includedir='${prefix}/include'
684 oldincludedir='/usr/include'
685 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
686 infodir='${datarootdir}/info'
687 htmldir='${docdir}'
688 dvidir='${docdir}'
689 pdfdir='${docdir}'
690 psdir='${docdir}'
691 libdir='${exec_prefix}/lib'
692 localedir='${datarootdir}/locale'
693 mandir='${datarootdir}/man'
695 ac_prev=
696 ac_dashdash=
697 for ac_option
699 # If the previous option needs an argument, assign it.
700 if test -n "$ac_prev"; then
701 eval $ac_prev=\$ac_option
702 ac_prev=
703 continue
706 case $ac_option in
707 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
708 *) ac_optarg=yes ;;
709 esac
711 # Accept the important Cygnus configure options, so we can diagnose typos.
713 case $ac_dashdash$ac_option in
715 ac_dashdash=yes ;;
717 -bindir | --bindir | --bindi | --bind | --bin | --bi)
718 ac_prev=bindir ;;
719 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
720 bindir=$ac_optarg ;;
722 -build | --build | --buil | --bui | --bu)
723 ac_prev=build_alias ;;
724 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
725 build_alias=$ac_optarg ;;
727 -cache-file | --cache-file | --cache-fil | --cache-fi \
728 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
729 ac_prev=cache_file ;;
730 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
731 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
732 cache_file=$ac_optarg ;;
734 --config-cache | -C)
735 cache_file=config.cache ;;
737 -datadir | --datadir | --datadi | --datad)
738 ac_prev=datadir ;;
739 -datadir=* | --datadir=* | --datadi=* | --datad=*)
740 datadir=$ac_optarg ;;
742 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
743 | --dataroo | --dataro | --datar)
744 ac_prev=datarootdir ;;
745 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
746 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
747 datarootdir=$ac_optarg ;;
749 -disable-* | --disable-*)
750 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
754 { (exit 1); exit 1; }; }
755 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
756 eval enable_$ac_feature=no ;;
758 -docdir | --docdir | --docdi | --doc | --do)
759 ac_prev=docdir ;;
760 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
761 docdir=$ac_optarg ;;
763 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
764 ac_prev=dvidir ;;
765 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
766 dvidir=$ac_optarg ;;
768 -enable-* | --enable-*)
769 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
770 # Reject names that are not valid shell variable names.
771 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
772 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
773 { (exit 1); exit 1; }; }
774 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
775 eval enable_$ac_feature=\$ac_optarg ;;
777 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
778 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
779 | --exec | --exe | --ex)
780 ac_prev=exec_prefix ;;
781 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
782 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
783 | --exec=* | --exe=* | --ex=*)
784 exec_prefix=$ac_optarg ;;
786 -gas | --gas | --ga | --g)
787 # Obsolete; use --with-gas.
788 with_gas=yes ;;
790 -help | --help | --hel | --he | -h)
791 ac_init_help=long ;;
792 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
793 ac_init_help=recursive ;;
794 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
795 ac_init_help=short ;;
797 -host | --host | --hos | --ho)
798 ac_prev=host_alias ;;
799 -host=* | --host=* | --hos=* | --ho=*)
800 host_alias=$ac_optarg ;;
802 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
803 ac_prev=htmldir ;;
804 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
805 | --ht=*)
806 htmldir=$ac_optarg ;;
808 -includedir | --includedir | --includedi | --included | --include \
809 | --includ | --inclu | --incl | --inc)
810 ac_prev=includedir ;;
811 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
812 | --includ=* | --inclu=* | --incl=* | --inc=*)
813 includedir=$ac_optarg ;;
815 -infodir | --infodir | --infodi | --infod | --info | --inf)
816 ac_prev=infodir ;;
817 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
818 infodir=$ac_optarg ;;
820 -libdir | --libdir | --libdi | --libd)
821 ac_prev=libdir ;;
822 -libdir=* | --libdir=* | --libdi=* | --libd=*)
823 libdir=$ac_optarg ;;
825 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
826 | --libexe | --libex | --libe)
827 ac_prev=libexecdir ;;
828 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
829 | --libexe=* | --libex=* | --libe=*)
830 libexecdir=$ac_optarg ;;
832 -localedir | --localedir | --localedi | --localed | --locale)
833 ac_prev=localedir ;;
834 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
835 localedir=$ac_optarg ;;
837 -localstatedir | --localstatedir | --localstatedi | --localstated \
838 | --localstate | --localstat | --localsta | --localst | --locals)
839 ac_prev=localstatedir ;;
840 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
841 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
842 localstatedir=$ac_optarg ;;
844 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
845 ac_prev=mandir ;;
846 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
847 mandir=$ac_optarg ;;
849 -nfp | --nfp | --nf)
850 # Obsolete; use --without-fp.
851 with_fp=no ;;
853 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
854 | --no-cr | --no-c | -n)
855 no_create=yes ;;
857 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
858 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
859 no_recursion=yes ;;
861 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
862 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
863 | --oldin | --oldi | --old | --ol | --o)
864 ac_prev=oldincludedir ;;
865 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
866 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
867 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
868 oldincludedir=$ac_optarg ;;
870 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
871 ac_prev=prefix ;;
872 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
873 prefix=$ac_optarg ;;
875 -program-prefix | --program-prefix | --program-prefi | --program-pref \
876 | --program-pre | --program-pr | --program-p)
877 ac_prev=program_prefix ;;
878 -program-prefix=* | --program-prefix=* | --program-prefi=* \
879 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
880 program_prefix=$ac_optarg ;;
882 -program-suffix | --program-suffix | --program-suffi | --program-suff \
883 | --program-suf | --program-su | --program-s)
884 ac_prev=program_suffix ;;
885 -program-suffix=* | --program-suffix=* | --program-suffi=* \
886 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
887 program_suffix=$ac_optarg ;;
889 -program-transform-name | --program-transform-name \
890 | --program-transform-nam | --program-transform-na \
891 | --program-transform-n | --program-transform- \
892 | --program-transform | --program-transfor \
893 | --program-transfo | --program-transf \
894 | --program-trans | --program-tran \
895 | --progr-tra | --program-tr | --program-t)
896 ac_prev=program_transform_name ;;
897 -program-transform-name=* | --program-transform-name=* \
898 | --program-transform-nam=* | --program-transform-na=* \
899 | --program-transform-n=* | --program-transform-=* \
900 | --program-transform=* | --program-transfor=* \
901 | --program-transfo=* | --program-transf=* \
902 | --program-trans=* | --program-tran=* \
903 | --progr-tra=* | --program-tr=* | --program-t=*)
904 program_transform_name=$ac_optarg ;;
906 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
907 ac_prev=pdfdir ;;
908 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
909 pdfdir=$ac_optarg ;;
911 -psdir | --psdir | --psdi | --psd | --ps)
912 ac_prev=psdir ;;
913 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
914 psdir=$ac_optarg ;;
916 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
917 | -silent | --silent | --silen | --sile | --sil)
918 silent=yes ;;
920 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
921 ac_prev=sbindir ;;
922 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
923 | --sbi=* | --sb=*)
924 sbindir=$ac_optarg ;;
926 -sharedstatedir | --sharedstatedir | --sharedstatedi \
927 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
928 | --sharedst | --shareds | --shared | --share | --shar \
929 | --sha | --sh)
930 ac_prev=sharedstatedir ;;
931 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
932 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
933 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
934 | --sha=* | --sh=*)
935 sharedstatedir=$ac_optarg ;;
937 -site | --site | --sit)
938 ac_prev=site ;;
939 -site=* | --site=* | --sit=*)
940 site=$ac_optarg ;;
942 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
943 ac_prev=srcdir ;;
944 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
945 srcdir=$ac_optarg ;;
947 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
948 | --syscon | --sysco | --sysc | --sys | --sy)
949 ac_prev=sysconfdir ;;
950 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
951 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
952 sysconfdir=$ac_optarg ;;
954 -target | --target | --targe | --targ | --tar | --ta | --t)
955 ac_prev=target_alias ;;
956 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
957 target_alias=$ac_optarg ;;
959 -v | -verbose | --verbose | --verbos | --verbo | --verb)
960 verbose=yes ;;
962 -version | --version | --versio | --versi | --vers | -V)
963 ac_init_version=: ;;
965 -with-* | --with-*)
966 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
969 { echo "$as_me: error: invalid package name: $ac_package" >&2
970 { (exit 1); exit 1; }; }
971 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
972 eval with_$ac_package=\$ac_optarg ;;
974 -without-* | --without-*)
975 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
978 { echo "$as_me: error: invalid package name: $ac_package" >&2
979 { (exit 1); exit 1; }; }
980 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
981 eval with_$ac_package=no ;;
983 --x)
984 # Obsolete; use --with-x.
985 with_x=yes ;;
987 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
988 | --x-incl | --x-inc | --x-in | --x-i)
989 ac_prev=x_includes ;;
990 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
991 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
992 x_includes=$ac_optarg ;;
994 -x-libraries | --x-libraries | --x-librarie | --x-librari \
995 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
996 ac_prev=x_libraries ;;
997 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
998 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
999 x_libraries=$ac_optarg ;;
1001 -*) { echo "$as_me: error: unrecognized option: $ac_option
1002 Try \`$0 --help' for more information." >&2
1003 { (exit 1); exit 1; }; }
1006 *=*)
1007 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1010 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1011 { (exit 1); exit 1; }; }
1012 eval $ac_envvar=\$ac_optarg
1013 export $ac_envvar ;;
1016 # FIXME: should be removed in autoconf 3.0.
1017 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1018 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1020 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1023 esac
1024 done
1026 if test -n "$ac_prev"; then
1027 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1028 { echo "$as_me: error: missing argument to $ac_option" >&2
1029 { (exit 1); exit 1; }; }
1032 # Be sure to have absolute directory names.
1033 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1034 datadir sysconfdir sharedstatedir localstatedir includedir \
1035 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1036 libdir localedir mandir
1038 eval ac_val=\$$ac_var
1039 case $ac_val in
1040 [\\/$]* | ?:[\\/]* ) continue;;
1041 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1042 esac
1043 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1044 { (exit 1); exit 1; }; }
1045 done
1047 # There might be people who depend on the old broken behavior: `$host'
1048 # used to hold the argument of --host etc.
1049 # FIXME: To remove some day.
1050 build=$build_alias
1051 host=$host_alias
1052 target=$target_alias
1054 # FIXME: To remove some day.
1055 if test "x$host_alias" != x; then
1056 if test "x$build_alias" = x; then
1057 cross_compiling=maybe
1058 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1059 If a cross compiler is detected then cross compile mode will be used." >&2
1060 elif test "x$build_alias" != "x$host_alias"; then
1061 cross_compiling=yes
1065 ac_tool_prefix=
1066 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1068 test "$silent" = yes && exec 6>/dev/null
1071 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1072 ac_ls_di=`ls -di .` &&
1073 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1074 { echo "$as_me: error: Working directory cannot be determined" >&2
1075 { (exit 1); exit 1; }; }
1076 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1077 { echo "$as_me: error: pwd does not report name of working directory" >&2
1078 { (exit 1); exit 1; }; }
1081 # Find the source files, if location was not specified.
1082 if test -z "$srcdir"; then
1083 ac_srcdir_defaulted=yes
1084 # Try the directory containing this script, then the parent directory.
1085 ac_confdir=`$as_dirname -- "$0" ||
1086 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1087 X"$0" : 'X\(//\)[^/]' \| \
1088 X"$0" : 'X\(//\)$' \| \
1089 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1090 echo X"$0" |
1091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1092 s//\1/
1095 /^X\(\/\/\)[^/].*/{
1096 s//\1/
1099 /^X\(\/\/\)$/{
1100 s//\1/
1103 /^X\(\/\).*/{
1104 s//\1/
1107 s/.*/./; q'`
1108 srcdir=$ac_confdir
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 srcdir=..
1112 else
1113 ac_srcdir_defaulted=no
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1116 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1117 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1118 { (exit 1); exit 1; }; }
1120 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 ac_abs_confdir=`(
1122 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1123 { (exit 1); exit 1; }; }
1124 pwd)`
1125 # When building in place, set srcdir=.
1126 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 srcdir=.
1129 # Remove unnecessary trailing slashes from srcdir.
1130 # Double slashes in file names in object file debugging info
1131 # mess up M-x gdb in Emacs.
1132 case $srcdir in
1133 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1134 esac
1135 for ac_var in $ac_precious_vars; do
1136 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_env_${ac_var}_value=\$${ac_var}
1138 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1139 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1140 done
1143 # Report the --help message.
1145 if test "$ac_init_help" = "long"; then
1146 # Omit some internal or obsolete options to make the list less imposing.
1147 # This message is too long to be a string in the A/UX 3.1 sh.
1148 cat <<_ACEOF
1149 \`configure' configures stow 2.0.2 to adapt to many kinds of systems.
1151 Usage: $0 [OPTION]... [VAR=VALUE]...
1153 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1154 VAR=VALUE. See below for descriptions of some of the useful variables.
1156 Defaults for the options are specified in brackets.
1158 Configuration:
1159 -h, --help display this help and exit
1160 --help=short display options specific to this package
1161 --help=recursive display the short help of all the included packages
1162 -V, --version display version information and exit
1163 -q, --quiet, --silent do not print \`checking...' messages
1164 --cache-file=FILE cache test results in FILE [disabled]
1165 -C, --config-cache alias for \`--cache-file=config.cache'
1166 -n, --no-create do not create output files
1167 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1169 Installation directories:
1170 --prefix=PREFIX install architecture-independent files in PREFIX
1171 [$ac_default_prefix]
1172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 [PREFIX]
1175 By default, \`make install' will install all the files in
1176 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1177 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1178 for instance \`--prefix=\$HOME'.
1180 For better control, use the options below.
1182 Fine tuning of the installation directories:
1183 --bindir=DIR user executables [EPREFIX/bin]
1184 --sbindir=DIR system admin executables [EPREFIX/sbin]
1185 --libexecdir=DIR program executables [EPREFIX/libexec]
1186 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1187 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1188 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1189 --libdir=DIR object code libraries [EPREFIX/lib]
1190 --includedir=DIR C header files [PREFIX/include]
1191 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1192 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1193 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1194 --infodir=DIR info documentation [DATAROOTDIR/info]
1195 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1196 --mandir=DIR man documentation [DATAROOTDIR/man]
1197 --docdir=DIR documentation root [DATAROOTDIR/doc/stow]
1198 --htmldir=DIR html documentation [DOCDIR]
1199 --dvidir=DIR dvi documentation [DOCDIR]
1200 --pdfdir=DIR pdf documentation [DOCDIR]
1201 --psdir=DIR ps documentation [DOCDIR]
1202 _ACEOF
1204 cat <<\_ACEOF
1206 Program names:
1207 --program-prefix=PREFIX prepend PREFIX to installed program names
1208 --program-suffix=SUFFIX append SUFFIX to installed program names
1209 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1210 _ACEOF
1213 if test -n "$ac_init_help"; then
1214 case $ac_init_help in
1215 short | recursive ) echo "Configuration of stow 2.0.2:";;
1216 esac
1217 cat <<\_ACEOF
1219 Report bugs to <bug-stow@gnu.org>.
1220 _ACEOF
1221 ac_status=$?
1224 if test "$ac_init_help" = "recursive"; then
1225 # If there are subdirs, report their specific --help.
1226 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1227 test -d "$ac_dir" || continue
1228 ac_builddir=.
1230 case "$ac_dir" in
1231 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1233 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1234 # A ".." for each directory in $ac_dir_suffix.
1235 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1236 case $ac_top_builddir_sub in
1237 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1238 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1239 esac ;;
1240 esac
1241 ac_abs_top_builddir=$ac_pwd
1242 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1243 # for backward compatibility:
1244 ac_top_builddir=$ac_top_build_prefix
1246 case $srcdir in
1247 .) # We are building in place.
1248 ac_srcdir=.
1249 ac_top_srcdir=$ac_top_builddir_sub
1250 ac_abs_top_srcdir=$ac_pwd ;;
1251 [\\/]* | ?:[\\/]* ) # Absolute name.
1252 ac_srcdir=$srcdir$ac_dir_suffix;
1253 ac_top_srcdir=$srcdir
1254 ac_abs_top_srcdir=$srcdir ;;
1255 *) # Relative name.
1256 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1257 ac_top_srcdir=$ac_top_build_prefix$srcdir
1258 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1259 esac
1260 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1262 cd "$ac_dir" || { ac_status=$?; continue; }
1263 # Check for guested configure.
1264 if test -f "$ac_srcdir/configure.gnu"; then
1265 echo &&
1266 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1267 elif test -f "$ac_srcdir/configure"; then
1268 echo &&
1269 $SHELL "$ac_srcdir/configure" --help=recursive
1270 else
1271 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1272 fi || ac_status=$?
1273 cd "$ac_pwd" || { ac_status=$?; break; }
1274 done
1277 test -n "$ac_init_help" && exit $ac_status
1278 if $ac_init_version; then
1279 cat <<\_ACEOF
1280 stow configure 2.0.2
1281 generated by GNU Autoconf 2.61
1283 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1284 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1285 This configure script is free software; the Free Software Foundation
1286 gives unlimited permission to copy, distribute and modify it.
1287 _ACEOF
1288 exit
1290 cat >config.log <<_ACEOF
1291 This file contains any messages produced by compilers while
1292 running configure, to aid debugging if configure makes a mistake.
1294 It was created by stow $as_me 2.0.2, which was
1295 generated by GNU Autoconf 2.61. Invocation command line was
1297 $ $0 $@
1299 _ACEOF
1300 exec 5>>config.log
1302 cat <<_ASUNAME
1303 ## --------- ##
1304 ## Platform. ##
1305 ## --------- ##
1307 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1308 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1309 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1310 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1311 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1313 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1314 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1316 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1317 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1318 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1319 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1320 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1321 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1322 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1324 _ASUNAME
1326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1327 for as_dir in $PATH
1329 IFS=$as_save_IFS
1330 test -z "$as_dir" && as_dir=.
1331 echo "PATH: $as_dir"
1332 done
1333 IFS=$as_save_IFS
1335 } >&5
1337 cat >&5 <<_ACEOF
1340 ## ----------- ##
1341 ## Core tests. ##
1342 ## ----------- ##
1344 _ACEOF
1347 # Keep a trace of the command line.
1348 # Strip out --no-create and --no-recursion so they do not pile up.
1349 # Strip out --silent because we don't want to record it for future runs.
1350 # Also quote any args containing shell meta-characters.
1351 # Make two passes to allow for proper duplicate-argument suppression.
1352 ac_configure_args=
1353 ac_configure_args0=
1354 ac_configure_args1=
1355 ac_must_keep_next=false
1356 for ac_pass in 1 2
1358 for ac_arg
1360 case $ac_arg in
1361 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1363 | -silent | --silent | --silen | --sile | --sil)
1364 continue ;;
1365 *\'*)
1366 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1367 esac
1368 case $ac_pass in
1369 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1371 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1372 if test $ac_must_keep_next = true; then
1373 ac_must_keep_next=false # Got value, back to normal.
1374 else
1375 case $ac_arg in
1376 *=* | --config-cache | -C | -disable-* | --disable-* \
1377 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1378 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1379 | -with-* | --with-* | -without-* | --without-* | --x)
1380 case "$ac_configure_args0 " in
1381 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1382 esac
1384 -* ) ac_must_keep_next=true ;;
1385 esac
1387 ac_configure_args="$ac_configure_args '$ac_arg'"
1389 esac
1390 done
1391 done
1392 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1393 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1395 # When interrupted or exit'd, cleanup temporary files, and complete
1396 # config.log. We remove comments because anyway the quotes in there
1397 # would cause problems or look ugly.
1398 # WARNING: Use '\'' to represent an apostrophe within the trap.
1399 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1400 trap 'exit_status=$?
1401 # Save into config.log some information that might help in debugging.
1403 echo
1405 cat <<\_ASBOX
1406 ## ---------------- ##
1407 ## Cache variables. ##
1408 ## ---------------- ##
1409 _ASBOX
1410 echo
1411 # The following way of writing the cache mishandles newlines in values,
1413 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1414 eval ac_val=\$$ac_var
1415 case $ac_val in #(
1416 *${as_nl}*)
1417 case $ac_var in #(
1418 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1419 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1420 esac
1421 case $ac_var in #(
1422 _ | IFS | as_nl) ;; #(
1423 *) $as_unset $ac_var ;;
1424 esac ;;
1425 esac
1426 done
1427 (set) 2>&1 |
1428 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1429 *${as_nl}ac_space=\ *)
1430 sed -n \
1431 "s/'\''/'\''\\\\'\'''\''/g;
1432 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1433 ;; #(
1435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1437 esac |
1438 sort
1440 echo
1442 cat <<\_ASBOX
1443 ## ----------------- ##
1444 ## Output variables. ##
1445 ## ----------------- ##
1446 _ASBOX
1447 echo
1448 for ac_var in $ac_subst_vars
1450 eval ac_val=\$$ac_var
1451 case $ac_val in
1452 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1453 esac
1454 echo "$ac_var='\''$ac_val'\''"
1455 done | sort
1456 echo
1458 if test -n "$ac_subst_files"; then
1459 cat <<\_ASBOX
1460 ## ------------------- ##
1461 ## File substitutions. ##
1462 ## ------------------- ##
1463 _ASBOX
1464 echo
1465 for ac_var in $ac_subst_files
1467 eval ac_val=\$$ac_var
1468 case $ac_val in
1469 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1470 esac
1471 echo "$ac_var='\''$ac_val'\''"
1472 done | sort
1473 echo
1476 if test -s confdefs.h; then
1477 cat <<\_ASBOX
1478 ## ----------- ##
1479 ## confdefs.h. ##
1480 ## ----------- ##
1481 _ASBOX
1482 echo
1483 cat confdefs.h
1484 echo
1486 test "$ac_signal" != 0 &&
1487 echo "$as_me: caught signal $ac_signal"
1488 echo "$as_me: exit $exit_status"
1489 } >&5
1490 rm -f core *.core core.conftest.* &&
1491 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1492 exit $exit_status
1494 for ac_signal in 1 2 13 15; do
1495 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1496 done
1497 ac_signal=0
1499 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1500 rm -f -r conftest* confdefs.h
1502 # Predefined preprocessor variables.
1504 cat >>confdefs.h <<_ACEOF
1505 #define PACKAGE_NAME "$PACKAGE_NAME"
1506 _ACEOF
1509 cat >>confdefs.h <<_ACEOF
1510 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1511 _ACEOF
1514 cat >>confdefs.h <<_ACEOF
1515 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1516 _ACEOF
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_STRING "$PACKAGE_STRING"
1521 _ACEOF
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1526 _ACEOF
1529 # Let the site file select an alternate cache file if it wants to.
1530 # Prefer explicitly selected file to automatically selected ones.
1531 if test -n "$CONFIG_SITE"; then
1532 set x "$CONFIG_SITE"
1533 elif test "x$prefix" != xNONE; then
1534 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1535 else
1536 set x "$ac_default_prefix/share/config.site" \
1537 "$ac_default_prefix/etc/config.site"
1539 shift
1540 for ac_site_file
1542 if test -r "$ac_site_file"; then
1543 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1544 echo "$as_me: loading site script $ac_site_file" >&6;}
1545 sed 's/^/| /' "$ac_site_file" >&5
1546 . "$ac_site_file"
1548 done
1550 if test -r "$cache_file"; then
1551 # Some versions of bash will fail to source /dev/null (special
1552 # files actually), so we avoid doing that.
1553 if test -f "$cache_file"; then
1554 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1555 echo "$as_me: loading cache $cache_file" >&6;}
1556 case $cache_file in
1557 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1558 *) . "./$cache_file";;
1559 esac
1561 else
1562 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1563 echo "$as_me: creating cache $cache_file" >&6;}
1564 >$cache_file
1567 # Check that the precious variables saved in the cache have kept the same
1568 # value.
1569 ac_cache_corrupted=false
1570 for ac_var in $ac_precious_vars; do
1571 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1572 eval ac_new_set=\$ac_env_${ac_var}_set
1573 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1574 eval ac_new_val=\$ac_env_${ac_var}_value
1575 case $ac_old_set,$ac_new_set in
1576 set,)
1577 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1578 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1579 ac_cache_corrupted=: ;;
1580 ,set)
1581 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1582 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1583 ac_cache_corrupted=: ;;
1584 ,);;
1586 if test "x$ac_old_val" != "x$ac_new_val"; then
1587 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1588 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1589 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1590 echo "$as_me: former value: $ac_old_val" >&2;}
1591 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1592 echo "$as_me: current value: $ac_new_val" >&2;}
1593 ac_cache_corrupted=:
1594 fi;;
1595 esac
1596 # Pass precious variables to config.status.
1597 if test "$ac_new_set" = set; then
1598 case $ac_new_val in
1599 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1600 *) ac_arg=$ac_var=$ac_new_val ;;
1601 esac
1602 case " $ac_configure_args " in
1603 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1604 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1605 esac
1607 done
1608 if $ac_cache_corrupted; then
1609 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1610 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1611 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1612 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1613 { (exit 1); exit 1; }; }
1640 ac_ext=c
1641 ac_cpp='$CPP $CPPFLAGS'
1642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1648 am__api_version='1.10'
1650 ac_aux_dir=
1651 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1652 if test -f "$ac_dir/install-sh"; then
1653 ac_aux_dir=$ac_dir
1654 ac_install_sh="$ac_aux_dir/install-sh -c"
1655 break
1656 elif test -f "$ac_dir/install.sh"; then
1657 ac_aux_dir=$ac_dir
1658 ac_install_sh="$ac_aux_dir/install.sh -c"
1659 break
1660 elif test -f "$ac_dir/shtool"; then
1661 ac_aux_dir=$ac_dir
1662 ac_install_sh="$ac_aux_dir/shtool install -c"
1663 break
1665 done
1666 if test -z "$ac_aux_dir"; then
1667 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1668 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1669 { (exit 1); exit 1; }; }
1672 # These three variables are undocumented and unsupported,
1673 # and are intended to be withdrawn in a future Autoconf release.
1674 # They can cause serious problems if a builder's source tree is in a directory
1675 # whose full name contains unusual characters.
1676 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1677 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1678 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1681 # Find a good install program. We prefer a C program (faster),
1682 # so one script is as good as another. But avoid the broken or
1683 # incompatible versions:
1684 # SysV /etc/install, /usr/sbin/install
1685 # SunOS /usr/etc/install
1686 # IRIX /sbin/install
1687 # AIX /bin/install
1688 # AmigaOS /C/install, which installs bootblocks on floppy discs
1689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1692 # OS/2's system install, which has a completely different semantic
1693 # ./install, which can be erroneously created by make from ./install.sh.
1694 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1695 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1696 if test -z "$INSTALL"; then
1697 if test "${ac_cv_path_install+set}" = set; then
1698 echo $ECHO_N "(cached) $ECHO_C" >&6
1699 else
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1701 for as_dir in $PATH
1703 IFS=$as_save_IFS
1704 test -z "$as_dir" && as_dir=.
1705 # Account for people who put trailing slashes in PATH elements.
1706 case $as_dir/ in
1707 ./ | .// | /cC/* | \
1708 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1709 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1710 /usr/ucb/* ) ;;
1712 # OSF1 and SCO ODT 3.0 have their own names for install.
1713 # Don't use installbsd from OSF since it installs stuff as root
1714 # by default.
1715 for ac_prog in ginstall scoinst install; do
1716 for ac_exec_ext in '' $ac_executable_extensions; do
1717 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1718 if test $ac_prog = install &&
1719 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1720 # AIX install. It has an incompatible calling convention.
1722 elif test $ac_prog = install &&
1723 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1724 # program-specific install script used by HP pwplus--don't use.
1726 else
1727 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1728 break 3
1731 done
1732 done
1734 esac
1735 done
1736 IFS=$as_save_IFS
1740 if test "${ac_cv_path_install+set}" = set; then
1741 INSTALL=$ac_cv_path_install
1742 else
1743 # As a last resort, use the slow shell script. Don't cache a
1744 # value for INSTALL within a source directory, because that will
1745 # break other packages using the cache if that directory is
1746 # removed, or if the value is a relative name.
1747 INSTALL=$ac_install_sh
1750 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1751 echo "${ECHO_T}$INSTALL" >&6; }
1753 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1754 # It thinks the first close brace ends the variable substitution.
1755 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1757 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1759 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1761 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1762 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1763 # Just in case
1764 sleep 1
1765 echo timestamp > conftest.file
1766 # Do `set' in a subshell so we don't clobber the current shell's
1767 # arguments. Must try -L first in case configure is actually a
1768 # symlink; some systems play weird games with the mod time of symlinks
1769 # (eg FreeBSD returns the mod time of the symlink's containing
1770 # directory).
1771 if (
1772 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1773 if test "$*" = "X"; then
1774 # -L didn't work.
1775 set X `ls -t $srcdir/configure conftest.file`
1777 rm -f conftest.file
1778 if test "$*" != "X $srcdir/configure conftest.file" \
1779 && test "$*" != "X conftest.file $srcdir/configure"; then
1781 # If neither matched, then we have a broken ls. This can happen
1782 # if, for instance, CONFIG_SHELL is bash and it inherits a
1783 # broken ls alias from the environment. This has actually
1784 # happened. Such a system could not be considered "sane".
1785 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1786 alias in your environment" >&5
1787 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1788 alias in your environment" >&2;}
1789 { (exit 1); exit 1; }; }
1792 test "$2" = conftest.file
1794 then
1795 # Ok.
1797 else
1798 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1799 Check your system clock" >&5
1800 echo "$as_me: error: newly created file is older than distributed files!
1801 Check your system clock" >&2;}
1802 { (exit 1); exit 1; }; }
1804 { echo "$as_me:$LINENO: result: yes" >&5
1805 echo "${ECHO_T}yes" >&6; }
1806 test "$program_prefix" != NONE &&
1807 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1808 # Use a double $ so make ignores it.
1809 test "$program_suffix" != NONE &&
1810 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1811 # Double any \ or $. echo might interpret backslashes.
1812 # By default was `s,x,x', remove it if useless.
1813 cat <<\_ACEOF >conftest.sed
1814 s/[\\$]/&&/g;s/;s,x,x,$//
1815 _ACEOF
1816 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1817 rm -f conftest.sed
1819 # expand $ac_aux_dir to an absolute path
1820 am_aux_dir=`cd $ac_aux_dir && pwd`
1822 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1823 # Use eval to expand $SHELL
1824 if eval "$MISSING --run true"; then
1825 am_missing_run="$MISSING --run "
1826 else
1827 am_missing_run=
1828 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1829 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1832 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1833 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1834 if test -z "$MKDIR_P"; then
1835 if test "${ac_cv_path_mkdir+set}" = set; then
1836 echo $ECHO_N "(cached) $ECHO_C" >&6
1837 else
1838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1839 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1841 IFS=$as_save_IFS
1842 test -z "$as_dir" && as_dir=.
1843 for ac_prog in mkdir gmkdir; do
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1846 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1847 'mkdir (GNU coreutils) '* | \
1848 'mkdir (coreutils) '* | \
1849 'mkdir (fileutils) '4.1*)
1850 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1851 break 3;;
1852 esac
1853 done
1854 done
1855 done
1856 IFS=$as_save_IFS
1860 if test "${ac_cv_path_mkdir+set}" = set; then
1861 MKDIR_P="$ac_cv_path_mkdir -p"
1862 else
1863 # As a last resort, use the slow shell script. Don't cache a
1864 # value for MKDIR_P within a source directory, because that will
1865 # break other packages using the cache if that directory is
1866 # removed, or if the value is a relative name.
1867 test -d ./--version && rmdir ./--version
1868 MKDIR_P="$ac_install_sh -d"
1871 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1872 echo "${ECHO_T}$MKDIR_P" >&6; }
1874 mkdir_p="$MKDIR_P"
1875 case $mkdir_p in
1876 [\\/$]* | ?:[\\/]*) ;;
1877 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1878 esac
1880 for ac_prog in gawk mawk nawk awk
1882 # Extract the first word of "$ac_prog", so it can be a program name with args.
1883 set dummy $ac_prog; ac_word=$2
1884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1886 if test "${ac_cv_prog_AWK+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 else
1889 if test -n "$AWK"; then
1890 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1891 else
1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1893 for as_dir in $PATH
1895 IFS=$as_save_IFS
1896 test -z "$as_dir" && as_dir=.
1897 for ac_exec_ext in '' $ac_executable_extensions; do
1898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1899 ac_cv_prog_AWK="$ac_prog"
1900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 break 2
1903 done
1904 done
1905 IFS=$as_save_IFS
1909 AWK=$ac_cv_prog_AWK
1910 if test -n "$AWK"; then
1911 { echo "$as_me:$LINENO: result: $AWK" >&5
1912 echo "${ECHO_T}$AWK" >&6; }
1913 else
1914 { echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6; }
1919 test -n "$AWK" && break
1920 done
1922 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1923 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1924 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1925 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1927 else
1928 cat >conftest.make <<\_ACEOF
1929 SHELL = /bin/sh
1930 all:
1931 @echo '@@@%%%=$(MAKE)=@@@%%%'
1932 _ACEOF
1933 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1934 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1935 *@@@%%%=?*=@@@%%%*)
1936 eval ac_cv_prog_make_${ac_make}_set=yes;;
1938 eval ac_cv_prog_make_${ac_make}_set=no;;
1939 esac
1940 rm -f conftest.make
1942 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1943 { echo "$as_me:$LINENO: result: yes" >&5
1944 echo "${ECHO_T}yes" >&6; }
1945 SET_MAKE=
1946 else
1947 { echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6; }
1949 SET_MAKE="MAKE=${MAKE-make}"
1952 rm -rf .tst 2>/dev/null
1953 mkdir .tst 2>/dev/null
1954 if test -d .tst; then
1955 am__leading_dot=.
1956 else
1957 am__leading_dot=_
1959 rmdir .tst 2>/dev/null
1961 if test "`cd $srcdir && pwd`" != "`pwd`"; then
1962 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
1963 # is not polluted with repeated "-I."
1964 am__isrc=' -I$(srcdir)'
1965 # test to see if srcdir already configured
1966 if test -f $srcdir/config.status; then
1967 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1968 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1969 { (exit 1); exit 1; }; }
1973 # test whether we have cygpath
1974 if test -z "$CYGPATH_W"; then
1975 if (cygpath --version) >/dev/null 2>/dev/null; then
1976 CYGPATH_W='cygpath -w'
1977 else
1978 CYGPATH_W=echo
1983 # Define the identity of the package.
1984 PACKAGE='stow'
1985 VERSION='2.0.2'
1988 cat >>confdefs.h <<_ACEOF
1989 #define PACKAGE "$PACKAGE"
1990 _ACEOF
1993 cat >>confdefs.h <<_ACEOF
1994 #define VERSION "$VERSION"
1995 _ACEOF
1997 # Some tools Automake needs.
1999 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2002 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2005 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2008 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2011 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2013 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2015 # Installed binaries are usually stripped using `strip' when the user
2016 # run `make install-strip'. However `strip' might not be the right
2017 # tool to use in cross-compilation environments, therefore Automake
2018 # will honor the `STRIP' environment variable to overrule this program.
2019 if test "$cross_compiling" != no; then
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2022 set dummy ${ac_tool_prefix}strip; ac_word=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_STRIP+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 else
2028 if test -n "$STRIP"; then
2029 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2042 done
2043 done
2044 IFS=$as_save_IFS
2048 STRIP=$ac_cv_prog_STRIP
2049 if test -n "$STRIP"; then
2050 { echo "$as_me:$LINENO: result: $STRIP" >&5
2051 echo "${ECHO_T}$STRIP" >&6; }
2052 else
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2059 if test -z "$ac_cv_prog_STRIP"; then
2060 ac_ct_STRIP=$STRIP
2061 # Extract the first word of "strip", so it can be a program name with args.
2062 set dummy strip; ac_word=$2
2063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2065 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$ac_ct_STRIP"; then
2069 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2078 ac_cv_prog_ac_ct_STRIP="strip"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2084 IFS=$as_save_IFS
2088 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2089 if test -n "$ac_ct_STRIP"; then
2090 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2091 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2092 else
2093 { echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6; }
2097 if test "x$ac_ct_STRIP" = x; then
2098 STRIP=":"
2099 else
2100 case $cross_compiling:$ac_tool_warned in
2101 yes:)
2102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2103 whose name does not start with the host triplet. If you think this
2104 configuration is useful to you, please write to autoconf@gnu.org." >&5
2105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2106 whose name does not start with the host triplet. If you think this
2107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2108 ac_tool_warned=yes ;;
2109 esac
2110 STRIP=$ac_ct_STRIP
2112 else
2113 STRIP="$ac_cv_prog_STRIP"
2117 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2119 # We need awk for the "check" target. The system "awk" is bad on
2120 # some platforms.
2121 # Always define AMTAR for backward compatibility.
2123 AMTAR=${AMTAR-"${am_missing_run}tar"}
2125 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2131 # Find a good install program. We prefer a C program (faster),
2132 # so one script is as good as another. But avoid the broken or
2133 # incompatible versions:
2134 # SysV /etc/install, /usr/sbin/install
2135 # SunOS /usr/etc/install
2136 # IRIX /sbin/install
2137 # AIX /bin/install
2138 # AmigaOS /C/install, which installs bootblocks on floppy discs
2139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2142 # OS/2's system install, which has a completely different semantic
2143 # ./install, which can be erroneously created by make from ./install.sh.
2144 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2145 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2146 if test -z "$INSTALL"; then
2147 if test "${ac_cv_path_install+set}" = set; then
2148 echo $ECHO_N "(cached) $ECHO_C" >&6
2149 else
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151 for as_dir in $PATH
2153 IFS=$as_save_IFS
2154 test -z "$as_dir" && as_dir=.
2155 # Account for people who put trailing slashes in PATH elements.
2156 case $as_dir/ in
2157 ./ | .// | /cC/* | \
2158 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2159 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2160 /usr/ucb/* ) ;;
2162 # OSF1 and SCO ODT 3.0 have their own names for install.
2163 # Don't use installbsd from OSF since it installs stuff as root
2164 # by default.
2165 for ac_prog in ginstall scoinst install; do
2166 for ac_exec_ext in '' $ac_executable_extensions; do
2167 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2168 if test $ac_prog = install &&
2169 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2170 # AIX install. It has an incompatible calling convention.
2172 elif test $ac_prog = install &&
2173 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2174 # program-specific install script used by HP pwplus--don't use.
2176 else
2177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2178 break 3
2181 done
2182 done
2184 esac
2185 done
2186 IFS=$as_save_IFS
2190 if test "${ac_cv_path_install+set}" = set; then
2191 INSTALL=$ac_cv_path_install
2192 else
2193 # As a last resort, use the slow shell script. Don't cache a
2194 # value for INSTALL within a source directory, because that will
2195 # break other packages using the cache if that directory is
2196 # removed, or if the value is a relative name.
2197 INSTALL=$ac_install_sh
2200 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2201 echo "${ECHO_T}$INSTALL" >&6; }
2203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2204 # It thinks the first close brace ends the variable substitution.
2205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2212 for ac_prog in perl perl5
2214 # Extract the first word of "$ac_prog", so it can be a program name with args.
2215 set dummy $ac_prog; ac_word=$2
2216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2218 if test "${ac_cv_path_PERL+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2220 else
2221 case $PERL in
2222 [\\/]* | ?:[\\/]*)
2223 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2227 for as_dir in $PATH
2229 IFS=$as_save_IFS
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 break 2
2237 done
2238 done
2239 IFS=$as_save_IFS
2242 esac
2244 PERL=$ac_cv_path_PERL
2245 if test -n "$PERL"; then
2246 { echo "$as_me:$LINENO: result: $PERL" >&5
2247 echo "${ECHO_T}$PERL" >&6; }
2248 else
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2254 test -n "$PERL" && break
2255 done
2256 test -n "$PERL" || PERL="false"
2258 if test "x$PERL" = xfalse
2259 then
2260 { echo "$as_me:$LINENO: WARNING: WARNING: Perl not found; you must edit line 1 of 'stow'" >&5
2261 echo "$as_me: WARNING: WARNING: Perl not found; you must edit line 1 of 'stow'" >&2;}
2264 ac_config_files="$ac_config_files Makefile"
2266 cat >confcache <<\_ACEOF
2267 # This file is a shell script that caches the results of configure
2268 # tests run on this system so they can be shared between configure
2269 # scripts and configure runs, see configure's option --config-cache.
2270 # It is not useful on other systems. If it contains results you don't
2271 # want to keep, you may remove or edit it.
2273 # config.status only pays attention to the cache file if you give it
2274 # the --recheck option to rerun configure.
2276 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2277 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2278 # following values.
2280 _ACEOF
2282 # The following way of writing the cache mishandles newlines in values,
2283 # but we know of no workaround that is simple, portable, and efficient.
2284 # So, we kill variables containing newlines.
2285 # Ultrix sh set writes to stderr and can't be redirected directly,
2286 # and sets the high bit in the cache file unless we assign to the vars.
2288 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2289 eval ac_val=\$$ac_var
2290 case $ac_val in #(
2291 *${as_nl}*)
2292 case $ac_var in #(
2293 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2294 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2295 esac
2296 case $ac_var in #(
2297 _ | IFS | as_nl) ;; #(
2298 *) $as_unset $ac_var ;;
2299 esac ;;
2300 esac
2301 done
2303 (set) 2>&1 |
2304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2305 *${as_nl}ac_space=\ *)
2306 # `set' does not quote correctly, so add quotes (double-quote
2307 # substitution turns \\\\ into \\, and sed turns \\ into \).
2308 sed -n \
2309 "s/'/'\\\\''/g;
2310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2311 ;; #(
2313 # `set' quotes correctly as required by POSIX, so do not add quotes.
2314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2316 esac |
2317 sort
2319 sed '
2320 /^ac_cv_env_/b end
2321 t clear
2322 :clear
2323 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2324 t end
2325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2326 :end' >>confcache
2327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2328 if test -w "$cache_file"; then
2329 test "x$cache_file" != "x/dev/null" &&
2330 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
2331 echo "$as_me: updating cache $cache_file" >&6;}
2332 cat confcache >$cache_file
2333 else
2334 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2335 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2338 rm -f confcache
2340 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2341 # Let make expand exec_prefix.
2342 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2344 # Transform confdefs.h into DEFS.
2345 # Protect against shell expansion while executing Makefile rules.
2346 # Protect against Makefile macro expansion.
2348 # If the first sed substitution is executed (which looks for macros that
2349 # take arguments), then branch to the quote section. Otherwise,
2350 # look for a macro that doesn't take arguments.
2351 ac_script='
2352 t clear
2353 :clear
2354 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2355 t quote
2356 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2357 t quote
2358 b any
2359 :quote
2360 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2361 s/\[/\\&/g
2362 s/\]/\\&/g
2363 s/\$/$$/g
2365 :any
2368 s/^\n//
2369 s/\n/ /g
2373 DEFS=`sed -n "$ac_script" confdefs.h`
2376 ac_libobjs=
2377 ac_ltlibobjs=
2378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2379 # 1. Remove the extension, and $U if already installed.
2380 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2381 ac_i=`echo "$ac_i" | sed "$ac_script"`
2382 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2383 # will be set to the directory where LIBOBJS objects are built.
2384 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2385 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2386 done
2387 LIBOBJS=$ac_libobjs
2389 LTLIBOBJS=$ac_ltlibobjs
2393 : ${CONFIG_STATUS=./config.status}
2394 ac_clean_files_save=$ac_clean_files
2395 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2396 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2397 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2398 cat >$CONFIG_STATUS <<_ACEOF
2399 #! $SHELL
2400 # Generated by $as_me.
2401 # Run this file to recreate the current configuration.
2402 # Compiler output produced by configure, useful for debugging
2403 # configure, is in config.log if it exists.
2405 debug=false
2406 ac_cs_recheck=false
2407 ac_cs_silent=false
2408 SHELL=\${CONFIG_SHELL-$SHELL}
2409 _ACEOF
2411 cat >>$CONFIG_STATUS <<\_ACEOF
2412 ## --------------------- ##
2413 ## M4sh Initialization. ##
2414 ## --------------------- ##
2416 # Be more Bourne compatible
2417 DUALCASE=1; export DUALCASE # for MKS sh
2418 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2419 emulate sh
2420 NULLCMD=:
2421 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2422 # is contrary to our usage. Disable this feature.
2423 alias -g '${1+"$@"}'='"$@"'
2424 setopt NO_GLOB_SUBST
2425 else
2426 case `(set -o) 2>/dev/null` in
2427 *posix*) set -o posix ;;
2428 esac
2435 # PATH needs CR
2436 # Avoid depending upon Character Ranges.
2437 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2438 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2439 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2440 as_cr_digits='0123456789'
2441 as_cr_alnum=$as_cr_Letters$as_cr_digits
2443 # The user is always right.
2444 if test "${PATH_SEPARATOR+set}" != set; then
2445 echo "#! /bin/sh" >conf$$.sh
2446 echo "exit 0" >>conf$$.sh
2447 chmod +x conf$$.sh
2448 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2449 PATH_SEPARATOR=';'
2450 else
2451 PATH_SEPARATOR=:
2453 rm -f conf$$.sh
2456 # Support unset when possible.
2457 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2458 as_unset=unset
2459 else
2460 as_unset=false
2464 # IFS
2465 # We need space, tab and new line, in precisely that order. Quoting is
2466 # there to prevent editors from complaining about space-tab.
2467 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2468 # splitting by setting IFS to empty value.)
2469 as_nl='
2471 IFS=" "" $as_nl"
2473 # Find who we are. Look in the path if we contain no directory separator.
2474 case $0 in
2475 *[\\/]* ) as_myself=$0 ;;
2476 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477 for as_dir in $PATH
2479 IFS=$as_save_IFS
2480 test -z "$as_dir" && as_dir=.
2481 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2482 done
2483 IFS=$as_save_IFS
2486 esac
2487 # We did not find ourselves, most probably we were run as `sh COMMAND'
2488 # in which case we are not to be found in the path.
2489 if test "x$as_myself" = x; then
2490 as_myself=$0
2492 if test ! -f "$as_myself"; then
2493 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2494 { (exit 1); exit 1; }
2497 # Work around bugs in pre-3.0 UWIN ksh.
2498 for as_var in ENV MAIL MAILPATH
2499 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2500 done
2501 PS1='$ '
2502 PS2='> '
2503 PS4='+ '
2505 # NLS nuisances.
2506 for as_var in \
2507 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2508 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2509 LC_TELEPHONE LC_TIME
2511 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2512 eval $as_var=C; export $as_var
2513 else
2514 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2516 done
2518 # Required to use basename.
2519 if expr a : '\(a\)' >/dev/null 2>&1 &&
2520 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2521 as_expr=expr
2522 else
2523 as_expr=false
2526 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2527 as_basename=basename
2528 else
2529 as_basename=false
2533 # Name of the executable.
2534 as_me=`$as_basename -- "$0" ||
2535 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2536 X"$0" : 'X\(//\)$' \| \
2537 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2538 echo X/"$0" |
2539 sed '/^.*\/\([^/][^/]*\)\/*$/{
2540 s//\1/
2543 /^X\/\(\/\/\)$/{
2544 s//\1/
2547 /^X\/\(\/\).*/{
2548 s//\1/
2551 s/.*/./; q'`
2553 # CDPATH.
2554 $as_unset CDPATH
2558 as_lineno_1=$LINENO
2559 as_lineno_2=$LINENO
2560 test "x$as_lineno_1" != "x$as_lineno_2" &&
2561 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2563 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2564 # uniformly replaced by the line number. The first 'sed' inserts a
2565 # line-number line after each line using $LINENO; the second 'sed'
2566 # does the real work. The second script uses 'N' to pair each
2567 # line-number line with the line containing $LINENO, and appends
2568 # trailing '-' during substitution so that $LINENO is not a special
2569 # case at line end.
2570 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2571 # scripts with optimization help from Paolo Bonzini. Blame Lee
2572 # E. McMahon (1931-1989) for sed's syntax. :-)
2573 sed -n '
2575 /[$]LINENO/=
2576 ' <$as_myself |
2577 sed '
2578 s/[$]LINENO.*/&-/
2579 t lineno
2581 :lineno
2583 :loop
2584 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2585 t loop
2586 s/-\n.*//
2587 ' >$as_me.lineno &&
2588 chmod +x "$as_me.lineno" ||
2589 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2590 { (exit 1); exit 1; }; }
2592 # Don't try to exec as it changes $[0], causing all sort of problems
2593 # (the dirname of $[0] is not the place where we might find the
2594 # original and so on. Autoconf is especially sensitive to this).
2595 . "./$as_me.lineno"
2596 # Exit status is that of the last command.
2597 exit
2601 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2602 as_dirname=dirname
2603 else
2604 as_dirname=false
2607 ECHO_C= ECHO_N= ECHO_T=
2608 case `echo -n x` in
2609 -n*)
2610 case `echo 'x\c'` in
2611 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2612 *) ECHO_C='\c';;
2613 esac;;
2615 ECHO_N='-n';;
2616 esac
2618 if expr a : '\(a\)' >/dev/null 2>&1 &&
2619 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2620 as_expr=expr
2621 else
2622 as_expr=false
2625 rm -f conf$$ conf$$.exe conf$$.file
2626 if test -d conf$$.dir; then
2627 rm -f conf$$.dir/conf$$.file
2628 else
2629 rm -f conf$$.dir
2630 mkdir conf$$.dir
2632 echo >conf$$.file
2633 if ln -s conf$$.file conf$$ 2>/dev/null; then
2634 as_ln_s='ln -s'
2635 # ... but there are two gotchas:
2636 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2637 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2638 # In both cases, we have to default to `cp -p'.
2639 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2640 as_ln_s='cp -p'
2641 elif ln conf$$.file conf$$ 2>/dev/null; then
2642 as_ln_s=ln
2643 else
2644 as_ln_s='cp -p'
2646 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2647 rmdir conf$$.dir 2>/dev/null
2649 if mkdir -p . 2>/dev/null; then
2650 as_mkdir_p=:
2651 else
2652 test -d ./-p && rmdir ./-p
2653 as_mkdir_p=false
2656 if test -x / >/dev/null 2>&1; then
2657 as_test_x='test -x'
2658 else
2659 if ls -dL / >/dev/null 2>&1; then
2660 as_ls_L_option=L
2661 else
2662 as_ls_L_option=
2664 as_test_x='
2665 eval sh -c '\''
2666 if test -d "$1"; then
2667 test -d "$1/.";
2668 else
2669 case $1 in
2670 -*)set "./$1";;
2671 esac;
2672 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2673 ???[sx]*):;;*)false;;esac;fi
2674 '\'' sh
2677 as_executable_p=$as_test_x
2679 # Sed expression to map a string onto a valid CPP name.
2680 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2682 # Sed expression to map a string onto a valid variable name.
2683 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2686 exec 6>&1
2688 # Save the log message, to keep $[0] and so on meaningful, and to
2689 # report actual input values of CONFIG_FILES etc. instead of their
2690 # values after options handling.
2691 ac_log="
2692 This file was extended by stow $as_me 2.0.2, which was
2693 generated by GNU Autoconf 2.61. Invocation command line was
2695 CONFIG_FILES = $CONFIG_FILES
2696 CONFIG_HEADERS = $CONFIG_HEADERS
2697 CONFIG_LINKS = $CONFIG_LINKS
2698 CONFIG_COMMANDS = $CONFIG_COMMANDS
2699 $ $0 $@
2701 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2704 _ACEOF
2706 cat >>$CONFIG_STATUS <<_ACEOF
2707 # Files that config.status was made for.
2708 config_files="$ac_config_files"
2710 _ACEOF
2712 cat >>$CONFIG_STATUS <<\_ACEOF
2713 ac_cs_usage="\
2714 \`$as_me' instantiates files from templates according to the
2715 current configuration.
2717 Usage: $0 [OPTIONS] [FILE]...
2719 -h, --help print this help, then exit
2720 -V, --version print version number and configuration settings, then exit
2721 -q, --quiet do not print progress messages
2722 -d, --debug don't remove temporary files
2723 --recheck update $as_me by reconfiguring in the same conditions
2724 --file=FILE[:TEMPLATE]
2725 instantiate the configuration file FILE
2727 Configuration files:
2728 $config_files
2730 Report bugs to <bug-autoconf@gnu.org>."
2732 _ACEOF
2733 cat >>$CONFIG_STATUS <<_ACEOF
2734 ac_cs_version="\\
2735 stow config.status 2.0.2
2736 configured by $0, generated by GNU Autoconf 2.61,
2737 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2739 Copyright (C) 2006 Free Software Foundation, Inc.
2740 This config.status script is free software; the Free Software Foundation
2741 gives unlimited permission to copy, distribute and modify it."
2743 ac_pwd='$ac_pwd'
2744 srcdir='$srcdir'
2745 INSTALL='$INSTALL'
2746 MKDIR_P='$MKDIR_P'
2747 _ACEOF
2749 cat >>$CONFIG_STATUS <<\_ACEOF
2750 # If no file are specified by the user, then we need to provide default
2751 # value. By we need to know if files were specified by the user.
2752 ac_need_defaults=:
2753 while test $# != 0
2755 case $1 in
2756 --*=*)
2757 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2758 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2759 ac_shift=:
2762 ac_option=$1
2763 ac_optarg=$2
2764 ac_shift=shift
2766 esac
2768 case $ac_option in
2769 # Handling of the options.
2770 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2771 ac_cs_recheck=: ;;
2772 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2773 echo "$ac_cs_version"; exit ;;
2774 --debug | --debu | --deb | --de | --d | -d )
2775 debug=: ;;
2776 --file | --fil | --fi | --f )
2777 $ac_shift
2778 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2779 ac_need_defaults=false;;
2780 --he | --h | --help | --hel | -h )
2781 echo "$ac_cs_usage"; exit ;;
2782 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2783 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2784 ac_cs_silent=: ;;
2786 # This is an error.
2787 -*) { echo "$as_me: error: unrecognized option: $1
2788 Try \`$0 --help' for more information." >&2
2789 { (exit 1); exit 1; }; } ;;
2791 *) ac_config_targets="$ac_config_targets $1"
2792 ac_need_defaults=false ;;
2794 esac
2795 shift
2796 done
2798 ac_configure_extra_args=
2800 if $ac_cs_silent; then
2801 exec 6>/dev/null
2802 ac_configure_extra_args="$ac_configure_extra_args --silent"
2805 _ACEOF
2806 cat >>$CONFIG_STATUS <<_ACEOF
2807 if \$ac_cs_recheck; then
2808 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2809 CONFIG_SHELL=$SHELL
2810 export CONFIG_SHELL
2811 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2814 _ACEOF
2815 cat >>$CONFIG_STATUS <<\_ACEOF
2816 exec 5>>config.log
2818 echo
2819 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2820 ## Running $as_me. ##
2821 _ASBOX
2822 echo "$ac_log"
2823 } >&5
2825 _ACEOF
2826 cat >>$CONFIG_STATUS <<_ACEOF
2827 _ACEOF
2829 cat >>$CONFIG_STATUS <<\_ACEOF
2831 # Handling of arguments.
2832 for ac_config_target in $ac_config_targets
2834 case $ac_config_target in
2835 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2837 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2838 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2839 { (exit 1); exit 1; }; };;
2840 esac
2841 done
2844 # If the user did not use the arguments to specify the items to instantiate,
2845 # then the envvar interface is used. Set only those that are not.
2846 # We use the long form for the default assignment because of an extremely
2847 # bizarre bug on SunOS 4.1.3.
2848 if $ac_need_defaults; then
2849 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2852 # Have a temporary directory for convenience. Make it in the build tree
2853 # simply because there is no reason against having it here, and in addition,
2854 # creating and moving files from /tmp can sometimes cause problems.
2855 # Hook for its removal unless debugging.
2856 # Note that there is a small window in which the directory will not be cleaned:
2857 # after its creation but before its name has been assigned to `$tmp'.
2858 $debug ||
2860 tmp=
2861 trap 'exit_status=$?
2862 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2864 trap '{ (exit 1); exit 1; }' 1 2 13 15
2866 # Create a (secure) tmp directory for tmp files.
2869 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2870 test -n "$tmp" && test -d "$tmp"
2871 } ||
2873 tmp=./conf$$-$RANDOM
2874 (umask 077 && mkdir "$tmp")
2875 } ||
2877 echo "$me: cannot create a temporary directory in ." >&2
2878 { (exit 1); exit 1; }
2882 # Set up the sed scripts for CONFIG_FILES section.
2885 # No need to generate the scripts if there are no CONFIG_FILES.
2886 # This happens for instance when ./config.status config.h
2887 if test -n "$CONFIG_FILES"; then
2889 _ACEOF
2893 ac_delim='%!_!# '
2894 for ac_last_try in false false false false false :; do
2895 cat >conf$$subs.sed <<_ACEOF
2896 SHELL!$SHELL$ac_delim
2897 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2898 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2899 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2900 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2901 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2902 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2903 exec_prefix!$exec_prefix$ac_delim
2904 prefix!$prefix$ac_delim
2905 program_transform_name!$program_transform_name$ac_delim
2906 bindir!$bindir$ac_delim
2907 sbindir!$sbindir$ac_delim
2908 libexecdir!$libexecdir$ac_delim
2909 datarootdir!$datarootdir$ac_delim
2910 datadir!$datadir$ac_delim
2911 sysconfdir!$sysconfdir$ac_delim
2912 sharedstatedir!$sharedstatedir$ac_delim
2913 localstatedir!$localstatedir$ac_delim
2914 includedir!$includedir$ac_delim
2915 oldincludedir!$oldincludedir$ac_delim
2916 docdir!$docdir$ac_delim
2917 infodir!$infodir$ac_delim
2918 htmldir!$htmldir$ac_delim
2919 dvidir!$dvidir$ac_delim
2920 pdfdir!$pdfdir$ac_delim
2921 psdir!$psdir$ac_delim
2922 libdir!$libdir$ac_delim
2923 localedir!$localedir$ac_delim
2924 mandir!$mandir$ac_delim
2925 DEFS!$DEFS$ac_delim
2926 ECHO_C!$ECHO_C$ac_delim
2927 ECHO_N!$ECHO_N$ac_delim
2928 ECHO_T!$ECHO_T$ac_delim
2929 LIBS!$LIBS$ac_delim
2930 build_alias!$build_alias$ac_delim
2931 host_alias!$host_alias$ac_delim
2932 target_alias!$target_alias$ac_delim
2933 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2934 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2935 INSTALL_DATA!$INSTALL_DATA$ac_delim
2936 am__isrc!$am__isrc$ac_delim
2937 CYGPATH_W!$CYGPATH_W$ac_delim
2938 PACKAGE!$PACKAGE$ac_delim
2939 VERSION!$VERSION$ac_delim
2940 ACLOCAL!$ACLOCAL$ac_delim
2941 AUTOCONF!$AUTOCONF$ac_delim
2942 AUTOMAKE!$AUTOMAKE$ac_delim
2943 AUTOHEADER!$AUTOHEADER$ac_delim
2944 MAKEINFO!$MAKEINFO$ac_delim
2945 install_sh!$install_sh$ac_delim
2946 STRIP!$STRIP$ac_delim
2947 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2948 mkdir_p!$mkdir_p$ac_delim
2949 AWK!$AWK$ac_delim
2950 SET_MAKE!$SET_MAKE$ac_delim
2951 am__leading_dot!$am__leading_dot$ac_delim
2952 AMTAR!$AMTAR$ac_delim
2953 am__tar!$am__tar$ac_delim
2954 am__untar!$am__untar$ac_delim
2955 PERL!$PERL$ac_delim
2956 LIBOBJS!$LIBOBJS$ac_delim
2957 LTLIBOBJS!$LTLIBOBJS$ac_delim
2958 _ACEOF
2960 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
2961 break
2962 elif $ac_last_try; then
2963 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2964 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2965 { (exit 1); exit 1; }; }
2966 else
2967 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2969 done
2971 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2972 if test -n "$ac_eof"; then
2973 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2974 ac_eof=`expr $ac_eof + 1`
2977 cat >>$CONFIG_STATUS <<_ACEOF
2978 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2979 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2980 _ACEOF
2981 sed '
2982 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2983 s/^/s,@/; s/!/@,|#_!!_#|/
2986 s/'"$ac_delim"'$/,g/; t
2987 s/$/\\/; p
2988 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2989 ' >>$CONFIG_STATUS <conf$$subs.sed
2990 rm -f conf$$subs.sed
2991 cat >>$CONFIG_STATUS <<_ACEOF
2992 :end
2993 s/|#_!!_#|//g
2994 CEOF$ac_eof
2995 _ACEOF
2998 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2999 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3000 # trailing colons and then remove the whole line if VPATH becomes empty
3001 # (actually we leave an empty line to preserve line numbers).
3002 if test "x$srcdir" = x.; then
3003 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3004 s/:*\$(srcdir):*/:/
3005 s/:*\${srcdir}:*/:/
3006 s/:*@srcdir@:*/:/
3007 s/^\([^=]*=[ ]*\):*/\1/
3008 s/:*$//
3009 s/^[^=]*=[ ]*$//
3013 cat >>$CONFIG_STATUS <<\_ACEOF
3014 fi # test -n "$CONFIG_FILES"
3017 for ac_tag in :F $CONFIG_FILES
3019 case $ac_tag in
3020 :[FHLC]) ac_mode=$ac_tag; continue;;
3021 esac
3022 case $ac_mode$ac_tag in
3023 :[FHL]*:*);;
3024 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3025 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3026 { (exit 1); exit 1; }; };;
3027 :[FH]-) ac_tag=-:-;;
3028 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3029 esac
3030 ac_save_IFS=$IFS
3031 IFS=:
3032 set x $ac_tag
3033 IFS=$ac_save_IFS
3034 shift
3035 ac_file=$1
3036 shift
3038 case $ac_mode in
3039 :L) ac_source=$1;;
3040 :[FH])
3041 ac_file_inputs=
3042 for ac_f
3044 case $ac_f in
3045 -) ac_f="$tmp/stdin";;
3046 *) # Look for the file first in the build tree, then in the source tree
3047 # (if the path is not absolute). The absolute path cannot be DOS-style,
3048 # because $ac_f cannot contain `:'.
3049 test -f "$ac_f" ||
3050 case $ac_f in
3051 [\\/$]*) false;;
3052 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3053 esac ||
3054 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3055 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3056 { (exit 1); exit 1; }; };;
3057 esac
3058 ac_file_inputs="$ac_file_inputs $ac_f"
3059 done
3061 # Let's still pretend it is `configure' which instantiates (i.e., don't
3062 # use $as_me), people would be surprised to read:
3063 # /* config.h. Generated by config.status. */
3064 configure_input="Generated from "`IFS=:
3065 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3066 if test x"$ac_file" != x-; then
3067 configure_input="$ac_file. $configure_input"
3068 { echo "$as_me:$LINENO: creating $ac_file" >&5
3069 echo "$as_me: creating $ac_file" >&6;}
3072 case $ac_tag in
3073 *:-:* | *:-) cat >"$tmp/stdin";;
3074 esac
3076 esac
3078 ac_dir=`$as_dirname -- "$ac_file" ||
3079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3080 X"$ac_file" : 'X\(//\)[^/]' \| \
3081 X"$ac_file" : 'X\(//\)$' \| \
3082 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3083 echo X"$ac_file" |
3084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3085 s//\1/
3088 /^X\(\/\/\)[^/].*/{
3089 s//\1/
3092 /^X\(\/\/\)$/{
3093 s//\1/
3096 /^X\(\/\).*/{
3097 s//\1/
3100 s/.*/./; q'`
3101 { as_dir="$ac_dir"
3102 case $as_dir in #(
3103 -*) as_dir=./$as_dir;;
3104 esac
3105 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3106 as_dirs=
3107 while :; do
3108 case $as_dir in #(
3109 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
3110 *) as_qdir=$as_dir;;
3111 esac
3112 as_dirs="'$as_qdir' $as_dirs"
3113 as_dir=`$as_dirname -- "$as_dir" ||
3114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3115 X"$as_dir" : 'X\(//\)[^/]' \| \
3116 X"$as_dir" : 'X\(//\)$' \| \
3117 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3118 echo X"$as_dir" |
3119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3120 s//\1/
3123 /^X\(\/\/\)[^/].*/{
3124 s//\1/
3127 /^X\(\/\/\)$/{
3128 s//\1/
3131 /^X\(\/\).*/{
3132 s//\1/
3135 s/.*/./; q'`
3136 test -d "$as_dir" && break
3137 done
3138 test -z "$as_dirs" || eval "mkdir $as_dirs"
3139 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3140 echo "$as_me: error: cannot create directory $as_dir" >&2;}
3141 { (exit 1); exit 1; }; }; }
3142 ac_builddir=.
3144 case "$ac_dir" in
3145 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3147 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3148 # A ".." for each directory in $ac_dir_suffix.
3149 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
3150 case $ac_top_builddir_sub in
3151 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3152 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3153 esac ;;
3154 esac
3155 ac_abs_top_builddir=$ac_pwd
3156 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3157 # for backward compatibility:
3158 ac_top_builddir=$ac_top_build_prefix
3160 case $srcdir in
3161 .) # We are building in place.
3162 ac_srcdir=.
3163 ac_top_srcdir=$ac_top_builddir_sub
3164 ac_abs_top_srcdir=$ac_pwd ;;
3165 [\\/]* | ?:[\\/]* ) # Absolute name.
3166 ac_srcdir=$srcdir$ac_dir_suffix;
3167 ac_top_srcdir=$srcdir
3168 ac_abs_top_srcdir=$srcdir ;;
3169 *) # Relative name.
3170 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3171 ac_top_srcdir=$ac_top_build_prefix$srcdir
3172 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3173 esac
3174 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3177 case $ac_mode in
3180 # CONFIG_FILE
3183 case $INSTALL in
3184 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3185 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3186 esac
3187 ac_MKDIR_P=$MKDIR_P
3188 case $MKDIR_P in
3189 [\\/$]* | ?:[\\/]* ) ;;
3190 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3191 esac
3192 _ACEOF
3194 cat >>$CONFIG_STATUS <<\_ACEOF
3195 # If the template does not know about datarootdir, expand it.
3196 # FIXME: This hack should be removed a few years after 2.60.
3197 ac_datarootdir_hack=; ac_datarootdir_seen=
3199 case `sed -n '/datarootdir/ {
3203 /@datadir@/p
3204 /@docdir@/p
3205 /@infodir@/p
3206 /@localedir@/p
3207 /@mandir@/p
3208 ' $ac_file_inputs` in
3209 *datarootdir*) ac_datarootdir_seen=yes;;
3210 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3211 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3212 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3213 _ACEOF
3214 cat >>$CONFIG_STATUS <<_ACEOF
3215 ac_datarootdir_hack='
3216 s&@datadir@&$datadir&g
3217 s&@docdir@&$docdir&g
3218 s&@infodir@&$infodir&g
3219 s&@localedir@&$localedir&g
3220 s&@mandir@&$mandir&g
3221 s&\\\${datarootdir}&$datarootdir&g' ;;
3222 esac
3223 _ACEOF
3225 # Neutralize VPATH when `$srcdir' = `.'.
3226 # Shell code in configure.ac might set extrasub.
3227 # FIXME: do we really want to maintain this feature?
3228 cat >>$CONFIG_STATUS <<_ACEOF
3229 sed "$ac_vpsub
3230 $extrasub
3231 _ACEOF
3232 cat >>$CONFIG_STATUS <<\_ACEOF
3234 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3235 s&@configure_input@&$configure_input&;t t
3236 s&@top_builddir@&$ac_top_builddir_sub&;t t
3237 s&@srcdir@&$ac_srcdir&;t t
3238 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3239 s&@top_srcdir@&$ac_top_srcdir&;t t
3240 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3241 s&@builddir@&$ac_builddir&;t t
3242 s&@abs_builddir@&$ac_abs_builddir&;t t
3243 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3244 s&@INSTALL@&$ac_INSTALL&;t t
3245 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3246 $ac_datarootdir_hack
3247 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
3249 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3250 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3251 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3252 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3253 which seems to be undefined. Please make sure it is defined." >&5
3254 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3255 which seems to be undefined. Please make sure it is defined." >&2;}
3257 rm -f "$tmp/stdin"
3258 case $ac_file in
3259 -) cat "$tmp/out"; rm -f "$tmp/out";;
3260 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
3261 esac
3266 esac
3268 done # for ac_tag
3271 { (exit 0); exit 0; }
3272 _ACEOF
3273 chmod +x $CONFIG_STATUS
3274 ac_clean_files=$ac_clean_files_save
3277 # configure is writing to config.log, and then calls config.status.
3278 # config.status does its own redirection, appending to config.log.
3279 # Unfortunately, on DOS this fails, as config.log is still kept open
3280 # by configure, so config.status won't be able to write to it; its
3281 # output is simply discarded. So we exec the FD to /dev/null,
3282 # effectively closing config.log, so it can be properly (re)opened and
3283 # appended to by config.status. When coming back to configure, we
3284 # need to make the FD available again.
3285 if test "$no_create" != yes; then
3286 ac_cs_success=:
3287 ac_config_status_args=
3288 test "$silent" = yes &&
3289 ac_config_status_args="$ac_config_status_args --quiet"
3290 exec 5>/dev/null
3291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3292 exec 5>>config.log
3293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3294 # would make configure fail if this is the last instruction.
3295 $ac_cs_success || { (exit 1); exit 1; }