test
[diplomippbx.git] / diplom / configure
blob7ed1e822f10e1a17fc647193d80bf84ff89a94ed
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for diplom 0.1.
5 # Report bugs to <http://bugzilla.altlinux.ru >.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) 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 as_nl='
44 export as_nl
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
85 as_unset=unset
86 else
87 as_unset=false
91 # IFS
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
96 IFS=" "" $as_nl"
98 # Find who we are. Look in the path if we contain no directory separator.
99 case $0 in
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102 for as_dir in $PATH
104 IFS=$as_save_IFS
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 done
108 IFS=$as_save_IFS
111 esac
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x; then
115 as_myself=$0
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
125 done
126 PS1='$ '
127 PS2='> '
128 PS4='+ '
130 # NLS nuisances.
131 LC_ALL=C
132 export LC_ALL
133 LANGUAGE=C
134 export LANGUAGE
136 # Required to use basename.
137 if expr a : '\(a\)' >/dev/null 2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001; then
139 as_expr=expr
140 else
141 as_expr=false
144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
145 as_basename=basename
146 else
147 as_basename=false
151 # Name of the executable.
152 as_me=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
156 $as_echo X/"$0" |
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
158 s//\1/
161 /^X\/\(\/\/\)$/{
162 s//\1/
165 /^X\/\(\/\).*/{
166 s//\1/
169 s/.*/./; q'`
171 # CDPATH.
172 $as_unset CDPATH
175 if test "x$CONFIG_SHELL" = x; then
176 if (eval ":") 2>/dev/null; then
177 as_have_required=yes
178 else
179 as_have_required=no
182 if test $as_have_required = yes && (eval ":
183 (as_func_return () {
184 (exit \$1)
186 as_func_success () {
187 as_func_return 0
189 as_func_failure () {
190 as_func_return 1
192 as_func_ret_success () {
193 return 0
195 as_func_ret_failure () {
196 return 1
199 exitcode=0
200 if as_func_success; then
202 else
203 exitcode=1
204 echo as_func_success failed.
207 if as_func_failure; then
208 exitcode=1
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
214 else
215 exitcode=1
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
220 exitcode=1
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 else
227 exitcode=1
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
234 as_lineno_1=\$LINENO
235 as_lineno_2=\$LINENO
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev/null; then
240 else
241 as_candidate_shells=
242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
245 IFS=$as_save_IFS
246 test -z "$as_dir" && as_dir=.
247 case $as_dir in
249 for as_base in sh bash ksh sh5; do
250 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
251 done;;
252 esac
253 done
254 IFS=$as_save_IFS
257 for as_shell in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 emulate sh
263 NULLCMD=:
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
267 setopt NO_GLOB_SUBST
268 else
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
271 esac
277 _ASEOF
278 }; then
279 CONFIG_SHELL=$as_shell
280 as_have_required=yes
281 if { "$as_shell" 2> /dev/null <<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283 emulate sh
284 NULLCMD=:
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
288 setopt NO_GLOB_SUBST
289 else
290 case `(set -o) 2>/dev/null` in
291 *posix*) set -o posix ;;
292 esac
298 (as_func_return () {
299 (exit $1)
301 as_func_success () {
302 as_func_return 0
304 as_func_failure () {
305 as_func_return 1
307 as_func_ret_success () {
308 return 0
310 as_func_ret_failure () {
311 return 1
314 exitcode=0
315 if as_func_success; then
317 else
318 exitcode=1
319 echo as_func_success failed.
322 if as_func_failure; then
323 exitcode=1
324 echo as_func_failure succeeded.
327 if as_func_ret_success; then
329 else
330 exitcode=1
331 echo as_func_ret_success failed.
334 if as_func_ret_failure; then
335 exitcode=1
336 echo as_func_ret_failure succeeded.
339 if ( set x; as_func_ret_success y && test x = "$1" ); then
341 else
342 exitcode=1
343 echo positional parameters were not saved.
346 test $exitcode = 0) || { (exit 1); exit 1; }
349 as_lineno_1=$LINENO
350 as_lineno_2=$LINENO
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 _ASEOF
355 }; then
356 break
361 done
363 if test "x$CONFIG_SHELL" != x; then
364 for as_var in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366 done
367 export CONFIG_SHELL
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no; then
373 echo This script requires a shell more modern than all the
374 echo shells that I found on your system. Please install a
375 echo modern shell, or manually run the script under such a
376 echo shell if you do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
388 (exit \$1)
390 as_func_success () {
391 as_func_return 0
393 as_func_failure () {
394 as_func_return 1
396 as_func_ret_success () {
397 return 0
399 as_func_ret_failure () {
400 return 1
403 exitcode=0
404 if as_func_success; then
406 else
407 exitcode=1
408 echo as_func_success failed.
411 if as_func_failure; then
412 exitcode=1
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
418 else
419 exitcode=1
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
424 exitcode=1
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 else
431 exitcode=1
432 echo positional parameters were not saved.
435 test \$exitcode = 0") || {
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system,
438 echo including any error possibly output before this message.
439 echo This can help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
445 as_lineno_1=$LINENO
446 as_lineno_2=$LINENO
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
456 # case at line end.
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
460 sed -n '
462 /[$]LINENO/=
463 ' <$as_myself |
464 sed '
465 s/[$]LINENO.*/&-/
466 t lineno
468 :lineno
470 :loop
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
472 t loop
473 s/-\n.*//
474 ' >$as_me.lineno &&
475 chmod +x "$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
482 . "./$as_me.lineno"
483 # Exit status is that of the last command.
484 exit
488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
489 as_dirname=dirname
490 else
491 as_dirname=false
494 ECHO_C= ECHO_N= ECHO_T=
495 case `echo -n x` in
496 -n*)
497 case `echo 'x\c'` in
498 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
499 *) ECHO_C='\c';;
500 esac;;
502 ECHO_N='-n';;
503 esac
504 if expr a : '\(a\)' >/dev/null 2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001; then
506 as_expr=expr
507 else
508 as_expr=false
511 rm -f conf$$ conf$$.exe conf$$.file
512 if test -d conf$$.dir; then
513 rm -f conf$$.dir/conf$$.file
514 else
515 rm -f conf$$.dir
516 mkdir conf$$.dir 2>/dev/null
518 if (echo >conf$$.file) 2>/dev/null; then
519 if ln -s conf$$.file conf$$ 2>/dev/null; then
520 as_ln_s='ln -s'
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
526 as_ln_s='cp -p'
527 elif ln conf$$.file conf$$ 2>/dev/null; then
528 as_ln_s=ln
529 else
530 as_ln_s='cp -p'
532 else
533 as_ln_s='cp -p'
535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536 rmdir conf$$.dir 2>/dev/null
538 if mkdir -p . 2>/dev/null; then
539 as_mkdir_p=:
540 else
541 test -d ./-p && rmdir ./-p
542 as_mkdir_p=false
545 if test -x / >/dev/null 2>&1; then
546 as_test_x='test -x'
547 else
548 if ls -dL / >/dev/null 2>&1; then
549 as_ls_L_option=L
550 else
551 as_ls_L_option=
553 as_test_x='
554 eval sh -c '\''
555 if test -d "$1"; then
556 test -d "$1/.";
557 else
558 case $1 in
559 -*)set "./$1";;
560 esac;
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
563 '\'' sh
566 as_executable_p=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev/null 6>&1
578 # Name of the host.
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 # Initializations.
586 ac_default_prefix=/usr/local
587 ac_clean_files=
588 ac_config_libobj_dir=.
589 LIBOBJS=
590 cross_compiling=no
591 subdirs=
592 MFLAGS=
593 MAKEFLAGS=
594 SHELL=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
597 PACKAGE_NAME='diplom'
598 PACKAGE_TARNAME='diplom'
599 PACKAGE_VERSION='0.1'
600 PACKAGE_STRING='diplom 0.1'
601 PACKAGE_BUGREPORT='http://bugzilla.altlinux.ru '
603 ac_subst_vars='LTLIBOBJS
604 LIBOBJS
605 INSTALLER_ICONS
606 THEME
607 LICENSE
608 MKI_PREFIX
609 OUTDIR
610 I586
611 ARCH
612 APTCONF
613 target_alias
614 host_alias
615 build_alias
616 LIBS
617 ECHO_T
618 ECHO_N
619 ECHO_C
620 DEFS
621 mandir
622 localedir
623 libdir
624 psdir
625 pdfdir
626 dvidir
627 htmldir
628 infodir
629 docdir
630 oldincludedir
631 includedir
632 localstatedir
633 sharedstatedir
634 sysconfdir
635 datadir
636 datarootdir
637 libexecdir
638 sbindir
639 bindir
640 program_transform_name
641 prefix
642 exec_prefix
643 PACKAGE_BUGREPORT
644 PACKAGE_STRING
645 PACKAGE_VERSION
646 PACKAGE_TARNAME
647 PACKAGE_NAME
648 PATH_SEPARATOR
649 SHELL'
650 ac_subst_files=''
651 ac_user_opts='
652 enable_option_checking
653 with_aptconf
654 with_license
655 with_arch
656 with_theme
657 with_outdir
658 with_mkimage
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias'
665 # Initialize some variables set by options.
666 ac_init_help=
667 ac_init_version=false
668 ac_unrecognized_opts=
669 ac_unrecognized_sep=
670 # The variables have the same names as the options, with
671 # dashes changed to underlines.
672 cache_file=/dev/null
673 exec_prefix=NONE
674 no_create=
675 no_recursion=
676 prefix=NONE
677 program_prefix=NONE
678 program_suffix=NONE
679 program_transform_name=s,x,x,
680 silent=
681 site=
682 srcdir=
683 verbose=
684 x_includes=NONE
685 x_libraries=NONE
687 # Installation directory options.
688 # These are left unexpanded so users can "make install exec_prefix=/foo"
689 # and all the variables that are supposed to be based on exec_prefix
690 # by default will actually change.
691 # Use braces instead of parens because sh, perl, etc. also accept them.
692 # (The list follows the same order as the GNU Coding Standards.)
693 bindir='${exec_prefix}/bin'
694 sbindir='${exec_prefix}/sbin'
695 libexecdir='${exec_prefix}/libexec'
696 datarootdir='${prefix}/share'
697 datadir='${datarootdir}'
698 sysconfdir='${prefix}/etc'
699 sharedstatedir='${prefix}/com'
700 localstatedir='${prefix}/var'
701 includedir='${prefix}/include'
702 oldincludedir='/usr/include'
703 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
704 infodir='${datarootdir}/info'
705 htmldir='${docdir}'
706 dvidir='${docdir}'
707 pdfdir='${docdir}'
708 psdir='${docdir}'
709 libdir='${exec_prefix}/lib'
710 localedir='${datarootdir}/locale'
711 mandir='${datarootdir}/man'
713 ac_prev=
714 ac_dashdash=
715 for ac_option
717 # If the previous option needs an argument, assign it.
718 if test -n "$ac_prev"; then
719 eval $ac_prev=\$ac_option
720 ac_prev=
721 continue
724 case $ac_option in
725 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726 *) ac_optarg=yes ;;
727 esac
729 # Accept the important Cygnus configure options, so we can diagnose typos.
731 case $ac_dashdash$ac_option in
733 ac_dashdash=yes ;;
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
736 ac_prev=bindir ;;
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738 bindir=$ac_optarg ;;
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
752 --config-cache | -C)
753 cache_file=config.cache ;;
755 -datadir | --datadir | --datadi | --datad)
756 ac_prev=datadir ;;
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
767 -disable-* | --disable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
772 { (exit 1); exit 1; }; }
773 ac_useropt_orig=$ac_useropt
774 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
775 case $ac_user_opts in
777 "enable_$ac_useropt"
778 "*) ;;
779 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
780 ac_unrecognized_sep=', ';;
781 esac
782 eval enable_$ac_useropt=no ;;
784 -docdir | --docdir | --docdi | --doc | --do)
785 ac_prev=docdir ;;
786 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
787 docdir=$ac_optarg ;;
789 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 ac_prev=dvidir ;;
791 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
792 dvidir=$ac_optarg ;;
794 -enable-* | --enable-*)
795 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
796 # Reject names that are not valid shell variable names.
797 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
798 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
799 { (exit 1); exit 1; }; }
800 ac_useropt_orig=$ac_useropt
801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
802 case $ac_user_opts in
804 "enable_$ac_useropt"
805 "*) ;;
806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
807 ac_unrecognized_sep=', ';;
808 esac
809 eval enable_$ac_useropt=\$ac_optarg ;;
811 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
812 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
813 | --exec | --exe | --ex)
814 ac_prev=exec_prefix ;;
815 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
816 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
817 | --exec=* | --exe=* | --ex=*)
818 exec_prefix=$ac_optarg ;;
820 -gas | --gas | --ga | --g)
821 # Obsolete; use --with-gas.
822 with_gas=yes ;;
824 -help | --help | --hel | --he | -h)
825 ac_init_help=long ;;
826 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
827 ac_init_help=recursive ;;
828 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
829 ac_init_help=short ;;
831 -host | --host | --hos | --ho)
832 ac_prev=host_alias ;;
833 -host=* | --host=* | --hos=* | --ho=*)
834 host_alias=$ac_optarg ;;
836 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
837 ac_prev=htmldir ;;
838 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
839 | --ht=*)
840 htmldir=$ac_optarg ;;
842 -includedir | --includedir | --includedi | --included | --include \
843 | --includ | --inclu | --incl | --inc)
844 ac_prev=includedir ;;
845 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
846 | --includ=* | --inclu=* | --incl=* | --inc=*)
847 includedir=$ac_optarg ;;
849 -infodir | --infodir | --infodi | --infod | --info | --inf)
850 ac_prev=infodir ;;
851 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
852 infodir=$ac_optarg ;;
854 -libdir | --libdir | --libdi | --libd)
855 ac_prev=libdir ;;
856 -libdir=* | --libdir=* | --libdi=* | --libd=*)
857 libdir=$ac_optarg ;;
859 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
860 | --libexe | --libex | --libe)
861 ac_prev=libexecdir ;;
862 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
863 | --libexe=* | --libex=* | --libe=*)
864 libexecdir=$ac_optarg ;;
866 -localedir | --localedir | --localedi | --localed | --locale)
867 ac_prev=localedir ;;
868 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
869 localedir=$ac_optarg ;;
871 -localstatedir | --localstatedir | --localstatedi | --localstated \
872 | --localstate | --localstat | --localsta | --localst | --locals)
873 ac_prev=localstatedir ;;
874 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
875 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
876 localstatedir=$ac_optarg ;;
878 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
879 ac_prev=mandir ;;
880 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
881 mandir=$ac_optarg ;;
883 -nfp | --nfp | --nf)
884 # Obsolete; use --without-fp.
885 with_fp=no ;;
887 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
888 | --no-cr | --no-c | -n)
889 no_create=yes ;;
891 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
892 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893 no_recursion=yes ;;
895 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
896 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
897 | --oldin | --oldi | --old | --ol | --o)
898 ac_prev=oldincludedir ;;
899 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
900 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
901 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
902 oldincludedir=$ac_optarg ;;
904 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
905 ac_prev=prefix ;;
906 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907 prefix=$ac_optarg ;;
909 -program-prefix | --program-prefix | --program-prefi | --program-pref \
910 | --program-pre | --program-pr | --program-p)
911 ac_prev=program_prefix ;;
912 -program-prefix=* | --program-prefix=* | --program-prefi=* \
913 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
914 program_prefix=$ac_optarg ;;
916 -program-suffix | --program-suffix | --program-suffi | --program-suff \
917 | --program-suf | --program-su | --program-s)
918 ac_prev=program_suffix ;;
919 -program-suffix=* | --program-suffix=* | --program-suffi=* \
920 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
921 program_suffix=$ac_optarg ;;
923 -program-transform-name | --program-transform-name \
924 | --program-transform-nam | --program-transform-na \
925 | --program-transform-n | --program-transform- \
926 | --program-transform | --program-transfor \
927 | --program-transfo | --program-transf \
928 | --program-trans | --program-tran \
929 | --progr-tra | --program-tr | --program-t)
930 ac_prev=program_transform_name ;;
931 -program-transform-name=* | --program-transform-name=* \
932 | --program-transform-nam=* | --program-transform-na=* \
933 | --program-transform-n=* | --program-transform-=* \
934 | --program-transform=* | --program-transfor=* \
935 | --program-transfo=* | --program-transf=* \
936 | --program-trans=* | --program-tran=* \
937 | --progr-tra=* | --program-tr=* | --program-t=*)
938 program_transform_name=$ac_optarg ;;
940 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
941 ac_prev=pdfdir ;;
942 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943 pdfdir=$ac_optarg ;;
945 -psdir | --psdir | --psdi | --psd | --ps)
946 ac_prev=psdir ;;
947 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948 psdir=$ac_optarg ;;
950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
951 | -silent | --silent | --silen | --sile | --sil)
952 silent=yes ;;
954 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
955 ac_prev=sbindir ;;
956 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
957 | --sbi=* | --sb=*)
958 sbindir=$ac_optarg ;;
960 -sharedstatedir | --sharedstatedir | --sharedstatedi \
961 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
962 | --sharedst | --shareds | --shared | --share | --shar \
963 | --sha | --sh)
964 ac_prev=sharedstatedir ;;
965 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
966 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
967 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
968 | --sha=* | --sh=*)
969 sharedstatedir=$ac_optarg ;;
971 -site | --site | --sit)
972 ac_prev=site ;;
973 -site=* | --site=* | --sit=*)
974 site=$ac_optarg ;;
976 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
977 ac_prev=srcdir ;;
978 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
979 srcdir=$ac_optarg ;;
981 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
982 | --syscon | --sysco | --sysc | --sys | --sy)
983 ac_prev=sysconfdir ;;
984 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
985 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
986 sysconfdir=$ac_optarg ;;
988 -target | --target | --targe | --targ | --tar | --ta | --t)
989 ac_prev=target_alias ;;
990 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
991 target_alias=$ac_optarg ;;
993 -v | -verbose | --verbose | --verbos | --verbo | --verb)
994 verbose=yes ;;
996 -version | --version | --versio | --versi | --vers | -V)
997 ac_init_version=: ;;
999 -with-* | --with-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1004 { (exit 1); exit 1; }; }
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1009 "with_$ac_useropt"
1010 "*) ;;
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1013 esac
1014 eval with_$ac_useropt=\$ac_optarg ;;
1016 -without-* | --without-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1021 { (exit 1); exit 1; }; }
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1026 "with_$ac_useropt"
1027 "*) ;;
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1030 esac
1031 eval with_$ac_useropt=no ;;
1033 --x)
1034 # Obsolete; use --with-x.
1035 with_x=yes ;;
1037 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1038 | --x-incl | --x-inc | --x-in | --x-i)
1039 ac_prev=x_includes ;;
1040 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1041 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1042 x_includes=$ac_optarg ;;
1044 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1045 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1046 ac_prev=x_libraries ;;
1047 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1048 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1049 x_libraries=$ac_optarg ;;
1051 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1052 Try \`$0 --help' for more information." >&2
1053 { (exit 1); exit 1; }; }
1056 *=*)
1057 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1058 # Reject names that are not valid shell variable names.
1059 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1060 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1061 { (exit 1); exit 1; }; }
1062 eval $ac_envvar=\$ac_optarg
1063 export $ac_envvar ;;
1066 # FIXME: should be removed in autoconf 3.0.
1067 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1068 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1069 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1070 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1073 esac
1074 done
1076 if test -n "$ac_prev"; then
1077 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1078 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1079 { (exit 1); exit 1; }; }
1082 if test -n "$ac_unrecognized_opts"; then
1083 case $enable_option_checking in
1084 no) ;;
1085 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1086 { (exit 1); exit 1; }; } ;;
1087 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1088 esac
1091 # Check all directory arguments for consistency.
1092 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093 datadir sysconfdir sharedstatedir localstatedir includedir \
1094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095 libdir localedir mandir
1097 eval ac_val=\$$ac_var
1098 # Remove trailing slashes.
1099 case $ac_val in
1100 */ )
1101 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1102 eval $ac_var=\$ac_val;;
1103 esac
1104 # Be sure to have absolute directory names.
1105 case $ac_val in
1106 [\\/$]* | ?:[\\/]* ) continue;;
1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1108 esac
1109 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1110 { (exit 1); exit 1; }; }
1111 done
1113 # There might be people who depend on the old broken behavior: `$host'
1114 # used to hold the argument of --host etc.
1115 # FIXME: To remove some day.
1116 build=$build_alias
1117 host=$host_alias
1118 target=$target_alias
1120 # FIXME: To remove some day.
1121 if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1125 If a cross compiler is detected then cross compile mode will be used." >&2
1126 elif test "x$build_alias" != "x$host_alias"; then
1127 cross_compiling=yes
1131 ac_tool_prefix=
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1141 { (exit 1); exit 1; }; }
1142 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1143 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1144 { (exit 1); exit 1; }; }
1147 # Find the source files, if location was not specified.
1148 if test -z "$srcdir"; then
1149 ac_srcdir_defaulted=yes
1150 # Try the directory containing this script, then the parent directory.
1151 ac_confdir=`$as_dirname -- "$as_myself" ||
1152 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1153 X"$as_myself" : 'X\(//\)[^/]' \| \
1154 X"$as_myself" : 'X\(//\)$' \| \
1155 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1156 $as_echo X"$as_myself" |
1157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1158 s//\1/
1161 /^X\(\/\/\)[^/].*/{
1162 s//\1/
1165 /^X\(\/\/\)$/{
1166 s//\1/
1169 /^X\(\/\).*/{
1170 s//\1/
1173 s/.*/./; q'`
1174 srcdir=$ac_confdir
1175 if test ! -r "$srcdir/$ac_unique_file"; then
1176 srcdir=..
1178 else
1179 ac_srcdir_defaulted=no
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1183 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1184 { (exit 1); exit 1; }; }
1186 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 ac_abs_confdir=`(
1188 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1189 { (exit 1); exit 1; }; }
1190 pwd)`
1191 # When building in place, set srcdir=.
1192 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 srcdir=.
1195 # Remove unnecessary trailing slashes from srcdir.
1196 # Double slashes in file names in object file debugging info
1197 # mess up M-x gdb in Emacs.
1198 case $srcdir in
1199 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1200 esac
1201 for ac_var in $ac_precious_vars; do
1202 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_env_${ac_var}_value=\$${ac_var}
1204 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1205 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206 done
1209 # Report the --help message.
1211 if test "$ac_init_help" = "long"; then
1212 # Omit some internal or obsolete options to make the list less imposing.
1213 # This message is too long to be a string in the A/UX 3.1 sh.
1214 cat <<_ACEOF
1215 \`configure' configures diplom 0.1 to adapt to many kinds of systems.
1217 Usage: $0 [OPTION]... [VAR=VALUE]...
1219 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1220 VAR=VALUE. See below for descriptions of some of the useful variables.
1222 Defaults for the options are specified in brackets.
1224 Configuration:
1225 -h, --help display this help and exit
1226 --help=short display options specific to this package
1227 --help=recursive display the short help of all the included packages
1228 -V, --version display version information and exit
1229 -q, --quiet, --silent do not print \`checking...' messages
1230 --cache-file=FILE cache test results in FILE [disabled]
1231 -C, --config-cache alias for \`--cache-file=config.cache'
1232 -n, --no-create do not create output files
1233 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1235 Installation directories:
1236 --prefix=PREFIX install architecture-independent files in PREFIX
1237 [$ac_default_prefix]
1238 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 [PREFIX]
1241 By default, \`make install' will install all the files in
1242 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1243 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1244 for instance \`--prefix=\$HOME'.
1246 For better control, use the options below.
1248 Fine tuning of the installation directories:
1249 --bindir=DIR user executables [EPREFIX/bin]
1250 --sbindir=DIR system admin executables [EPREFIX/sbin]
1251 --libexecdir=DIR program executables [EPREFIX/libexec]
1252 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1253 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1254 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1255 --libdir=DIR object code libraries [EPREFIX/lib]
1256 --includedir=DIR C header files [PREFIX/include]
1257 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1258 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1259 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1260 --infodir=DIR info documentation [DATAROOTDIR/info]
1261 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1262 --mandir=DIR man documentation [DATAROOTDIR/man]
1263 --docdir=DIR documentation root [DATAROOTDIR/doc/diplom]
1264 --htmldir=DIR html documentation [DOCDIR]
1265 --dvidir=DIR dvi documentation [DOCDIR]
1266 --pdfdir=DIR pdf documentation [DOCDIR]
1267 --psdir=DIR ps documentation [DOCDIR]
1268 _ACEOF
1270 cat <<\_ACEOF
1271 _ACEOF
1274 if test -n "$ac_init_help"; then
1275 case $ac_init_help in
1276 short | recursive ) echo "Configuration of diplom 0.1:";;
1277 esac
1278 cat <<\_ACEOF
1280 Optional Packages:
1281 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1282 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1283 --with-aptconf=file custom apt.conf location, e.g
1284 '--with-aptconf=/home/user/apt.conf'
1285 --with-license=suffix alt-license-suffix setting, e.g
1286 '--with-license=lite'
1287 --with-arch=arch arch setting, e.g '--with-license=i586'
1288 --with-theme=theme theme setting, e.g '--with-theme=lite'
1289 --with-outdir=dir custom output files location, e.g
1290 '--with-outdir=/home/user/out/'
1291 --with-mkimage=dir custom mkimage prefix, e.g
1292 '--with-mkimage=/home/user/'
1294 Report bugs to <http://bugzilla.altlinux.ru >.
1295 _ACEOF
1296 ac_status=$?
1299 if test "$ac_init_help" = "recursive"; then
1300 # If there are subdirs, report their specific --help.
1301 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302 test -d "$ac_dir" ||
1303 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1304 continue
1305 ac_builddir=.
1307 case "$ac_dir" in
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1316 esac ;;
1317 esac
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1323 case $srcdir in
1324 .) # We are building in place.
1325 ac_srcdir=.
1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
1329 ac_srcdir=$srcdir$ac_dir_suffix;
1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1332 *) # Relative name.
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1336 esac
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1342 echo &&
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1345 echo &&
1346 $SHELL "$ac_srcdir/configure" --help=recursive
1347 else
1348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1349 fi || ac_status=$?
1350 cd "$ac_pwd" || { ac_status=$?; break; }
1351 done
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1356 cat <<\_ACEOF
1357 diplom configure 0.1
1358 generated by GNU Autoconf 2.63
1360 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1361 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1362 This configure script is free software; the Free Software Foundation
1363 gives unlimited permission to copy, distribute and modify it.
1364 _ACEOF
1365 exit
1367 cat >config.log <<_ACEOF
1368 This file contains any messages produced by compilers while
1369 running configure, to aid debugging if configure makes a mistake.
1371 It was created by diplom $as_me 0.1, which was
1372 generated by GNU Autoconf 2.63. Invocation command line was
1374 $ $0 $@
1376 _ACEOF
1377 exec 5>>config.log
1379 cat <<_ASUNAME
1380 ## --------- ##
1381 ## Platform. ##
1382 ## --------- ##
1384 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1385 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1386 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1387 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1388 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1390 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1391 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1393 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1394 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1395 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1396 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1397 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1398 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1399 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1401 _ASUNAME
1403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404 for as_dir in $PATH
1406 IFS=$as_save_IFS
1407 test -z "$as_dir" && as_dir=.
1408 $as_echo "PATH: $as_dir"
1409 done
1410 IFS=$as_save_IFS
1412 } >&5
1414 cat >&5 <<_ACEOF
1417 ## ----------- ##
1418 ## Core tests. ##
1419 ## ----------- ##
1421 _ACEOF
1424 # Keep a trace of the command line.
1425 # Strip out --no-create and --no-recursion so they do not pile up.
1426 # Strip out --silent because we don't want to record it for future runs.
1427 # Also quote any args containing shell meta-characters.
1428 # Make two passes to allow for proper duplicate-argument suppression.
1429 ac_configure_args=
1430 ac_configure_args0=
1431 ac_configure_args1=
1432 ac_must_keep_next=false
1433 for ac_pass in 1 2
1435 for ac_arg
1437 case $ac_arg in
1438 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1439 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1440 | -silent | --silent | --silen | --sile | --sil)
1441 continue ;;
1442 *\'*)
1443 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1444 esac
1445 case $ac_pass in
1446 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1448 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1449 if test $ac_must_keep_next = true; then
1450 ac_must_keep_next=false # Got value, back to normal.
1451 else
1452 case $ac_arg in
1453 *=* | --config-cache | -C | -disable-* | --disable-* \
1454 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1455 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1456 | -with-* | --with-* | -without-* | --without-* | --x)
1457 case "$ac_configure_args0 " in
1458 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1459 esac
1461 -* ) ac_must_keep_next=true ;;
1462 esac
1464 ac_configure_args="$ac_configure_args '$ac_arg'"
1466 esac
1467 done
1468 done
1469 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1470 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1472 # When interrupted or exit'd, cleanup temporary files, and complete
1473 # config.log. We remove comments because anyway the quotes in there
1474 # would cause problems or look ugly.
1475 # WARNING: Use '\'' to represent an apostrophe within the trap.
1476 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1477 trap 'exit_status=$?
1478 # Save into config.log some information that might help in debugging.
1480 echo
1482 cat <<\_ASBOX
1483 ## ---------------- ##
1484 ## Cache variables. ##
1485 ## ---------------- ##
1486 _ASBOX
1487 echo
1488 # The following way of writing the cache mishandles newlines in values,
1490 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1491 eval ac_val=\$$ac_var
1492 case $ac_val in #(
1493 *${as_nl}*)
1494 case $ac_var in #(
1495 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1496 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1497 esac
1498 case $ac_var in #(
1499 _ | IFS | as_nl) ;; #(
1500 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1501 *) $as_unset $ac_var ;;
1502 esac ;;
1503 esac
1504 done
1505 (set) 2>&1 |
1506 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1507 *${as_nl}ac_space=\ *)
1508 sed -n \
1509 "s/'\''/'\''\\\\'\'''\''/g;
1510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1511 ;; #(
1513 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1515 esac |
1516 sort
1518 echo
1520 cat <<\_ASBOX
1521 ## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##
1524 _ASBOX
1525 echo
1526 for ac_var in $ac_subst_vars
1528 eval ac_val=\$$ac_var
1529 case $ac_val in
1530 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1531 esac
1532 $as_echo "$ac_var='\''$ac_val'\''"
1533 done | sort
1534 echo
1536 if test -n "$ac_subst_files"; then
1537 cat <<\_ASBOX
1538 ## ------------------- ##
1539 ## File substitutions. ##
1540 ## ------------------- ##
1541 _ASBOX
1542 echo
1543 for ac_var in $ac_subst_files
1545 eval ac_val=\$$ac_var
1546 case $ac_val in
1547 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1548 esac
1549 $as_echo "$ac_var='\''$ac_val'\''"
1550 done | sort
1551 echo
1554 if test -s confdefs.h; then
1555 cat <<\_ASBOX
1556 ## ----------- ##
1557 ## confdefs.h. ##
1558 ## ----------- ##
1559 _ASBOX
1560 echo
1561 cat confdefs.h
1562 echo
1564 test "$ac_signal" != 0 &&
1565 $as_echo "$as_me: caught signal $ac_signal"
1566 $as_echo "$as_me: exit $exit_status"
1567 } >&5
1568 rm -f core *.core core.conftest.* &&
1569 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1570 exit $exit_status
1572 for ac_signal in 1 2 13 15; do
1573 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1574 done
1575 ac_signal=0
1577 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1578 rm -f -r conftest* confdefs.h
1580 # Predefined preprocessor variables.
1582 cat >>confdefs.h <<_ACEOF
1583 #define PACKAGE_NAME "$PACKAGE_NAME"
1584 _ACEOF
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1589 _ACEOF
1592 cat >>confdefs.h <<_ACEOF
1593 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1594 _ACEOF
1597 cat >>confdefs.h <<_ACEOF
1598 #define PACKAGE_STRING "$PACKAGE_STRING"
1599 _ACEOF
1602 cat >>confdefs.h <<_ACEOF
1603 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1604 _ACEOF
1607 # Let the site file select an alternate cache file if it wants to.
1608 # Prefer an explicitly selected file to automatically selected ones.
1609 ac_site_file1=NONE
1610 ac_site_file2=NONE
1611 if test -n "$CONFIG_SITE"; then
1612 ac_site_file1=$CONFIG_SITE
1613 elif test "x$prefix" != xNONE; then
1614 ac_site_file1=$prefix/share/config.site
1615 ac_site_file2=$prefix/etc/config.site
1616 else
1617 ac_site_file1=$ac_default_prefix/share/config.site
1618 ac_site_file2=$ac_default_prefix/etc/config.site
1620 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1622 test "x$ac_site_file" = xNONE && continue
1623 if test -r "$ac_site_file"; then
1624 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1625 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1626 sed 's/^/| /' "$ac_site_file" >&5
1627 . "$ac_site_file"
1629 done
1631 if test -r "$cache_file"; then
1632 # Some versions of bash will fail to source /dev/null (special
1633 # files actually), so we avoid doing that.
1634 if test -f "$cache_file"; then
1635 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1636 $as_echo "$as_me: loading cache $cache_file" >&6;}
1637 case $cache_file in
1638 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1639 *) . "./$cache_file";;
1640 esac
1642 else
1643 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1644 $as_echo "$as_me: creating cache $cache_file" >&6;}
1645 >$cache_file
1648 # Check that the precious variables saved in the cache have kept the same
1649 # value.
1650 ac_cache_corrupted=false
1651 for ac_var in $ac_precious_vars; do
1652 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1653 eval ac_new_set=\$ac_env_${ac_var}_set
1654 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1655 eval ac_new_val=\$ac_env_${ac_var}_value
1656 case $ac_old_set,$ac_new_set in
1657 set,)
1658 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1659 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1660 ac_cache_corrupted=: ;;
1661 ,set)
1662 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1663 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1664 ac_cache_corrupted=: ;;
1665 ,);;
1667 if test "x$ac_old_val" != "x$ac_new_val"; then
1668 # differences in whitespace do not lead to failure.
1669 ac_old_val_w=`echo x $ac_old_val`
1670 ac_new_val_w=`echo x $ac_new_val`
1671 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1672 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1673 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1674 ac_cache_corrupted=:
1675 else
1676 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1677 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1678 eval $ac_var=\$ac_old_val
1680 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1681 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1682 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1683 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1684 fi;;
1685 esac
1686 # Pass precious variables to config.status.
1687 if test "$ac_new_set" = set; then
1688 case $ac_new_val in
1689 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1690 *) ac_arg=$ac_var=$ac_new_val ;;
1691 esac
1692 case " $ac_configure_args " in
1693 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1694 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1695 esac
1697 done
1698 if $ac_cache_corrupted; then
1699 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1701 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1702 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1703 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1704 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1705 { (exit 1); exit 1; }; }
1732 ac_ext=c
1733 ac_cpp='$CPP $CPPFLAGS'
1734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1741 # Check whether --with-aptconf was given.
1742 if test "${with_aptconf+set}" = set; then
1743 withval=$with_aptconf;
1744 { $as_echo "$as_me:$LINENO: checking apt.conf file" >&5
1745 $as_echo_n "checking apt.conf file... " >&6; }
1746 if test -r "$with_aptconf" ; then
1747 APTCONF="$with_aptconf"
1748 { $as_echo "$as_me:$LINENO: result: \"$with_aptconf exists\"" >&5
1749 $as_echo "\"$with_aptconf exists\"" >&6; }
1752 else
1754 APTCONF=/etc/apt/apt.conf
1759 # Check whether --with-license was given.
1760 if test "${with_license+set}" = set; then
1761 withval=$with_license;
1762 if test -n "$with_license" ; then
1763 LICENSE="$with_license"
1766 else
1768 LICENSE="server"
1774 # Check whether --with-arch was given.
1775 if test "${with_arch+set}" = set; then
1776 withval=$with_arch;
1777 if test -n "$with_arch" ; then
1778 ARCH="$with_arch"
1779 if ! "$ARCH" = 'i586' ; then
1780 I586='#';
1784 else
1786 ARCH="i586"
1792 # Check whether --with-theme was given.
1793 if test "${with_theme+set}" = set; then
1794 withval=$with_theme;
1795 if test -n "$with_theme" ; then
1796 THEME="$with_theme"
1797 INSTALLER_ICONS="$with_theme"
1800 else
1802 THEME="lite"
1803 INSTALLER_ICONS="lite"
1808 # Check whether --with-outdir was given.
1809 if test "${with_outdir+set}" = set; then
1810 withval=$with_outdir;
1811 { $as_echo "$as_me:$LINENO: checking outdir" >&5
1812 $as_echo_n "checking outdir... " >&6; }
1813 if test -d "$with_outdir"; then
1814 OUTDIR="$with_outdir"
1815 { $as_echo "$as_me:$LINENO: result: \"$with_outdir exists\"" >&5
1816 $as_echo "\"$with_outdir exists\"" >&6; }
1819 else
1821 OUTDIR=`pwd`/profiles/out
1827 # Check whether --with-mkimage was given.
1828 if test "${with_mkimage+set}" = set; then
1829 withval=$with_mkimage;
1830 { $as_echo "$as_me:$LINENO: checking mkimage" >&5
1831 $as_echo_n "checking mkimage... " >&6; }
1832 if test -d "$with_mkimage/usr/share/mkimage"; then
1833 MKI_PREFIX="$with_mkimage"
1834 { $as_echo "$as_me:$LINENO: result: \"$with_mkimage/usr/share/mkimage exists\"" >&5
1835 $as_echo "\"$with_mkimage/usr/share/mkimage exists\"" >&6; }
1838 else
1840 MKI_PREFIX=''
1857 ac_config_files="$ac_config_files Makefile profiles/Makefile profiles/install2/Makefile profiles/diplom-base/Makefile profiles/diplom-disk/Makefile profiles/rescue/Makefile"
1859 cat >confcache <<\_ACEOF
1860 # This file is a shell script that caches the results of configure
1861 # tests run on this system so they can be shared between configure
1862 # scripts and configure runs, see configure's option --config-cache.
1863 # It is not useful on other systems. If it contains results you don't
1864 # want to keep, you may remove or edit it.
1866 # config.status only pays attention to the cache file if you give it
1867 # the --recheck option to rerun configure.
1869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1871 # following values.
1873 _ACEOF
1875 # The following way of writing the cache mishandles newlines in values,
1876 # but we know of no workaround that is simple, portable, and efficient.
1877 # So, we kill variables containing newlines.
1878 # Ultrix sh set writes to stderr and can't be redirected directly,
1879 # and sets the high bit in the cache file unless we assign to the vars.
1881 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1882 eval ac_val=\$$ac_var
1883 case $ac_val in #(
1884 *${as_nl}*)
1885 case $ac_var in #(
1886 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1887 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1888 esac
1889 case $ac_var in #(
1890 _ | IFS | as_nl) ;; #(
1891 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1892 *) $as_unset $ac_var ;;
1893 esac ;;
1894 esac
1895 done
1897 (set) 2>&1 |
1898 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1899 *${as_nl}ac_space=\ *)
1900 # `set' does not quote correctly, so add quotes (double-quote
1901 # substitution turns \\\\ into \\, and sed turns \\ into \).
1902 sed -n \
1903 "s/'/'\\\\''/g;
1904 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1905 ;; #(
1907 # `set' quotes correctly as required by POSIX, so do not add quotes.
1908 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1910 esac |
1911 sort
1913 sed '
1914 /^ac_cv_env_/b end
1915 t clear
1916 :clear
1917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1918 t end
1919 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1920 :end' >>confcache
1921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1922 if test -w "$cache_file"; then
1923 test "x$cache_file" != "x/dev/null" &&
1924 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
1925 $as_echo "$as_me: updating cache $cache_file" >&6;}
1926 cat confcache >$cache_file
1927 else
1928 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
1929 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1932 rm -f confcache
1934 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1935 # Let make expand exec_prefix.
1936 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1938 # Transform confdefs.h into DEFS.
1939 # Protect against shell expansion while executing Makefile rules.
1940 # Protect against Makefile macro expansion.
1942 # If the first sed substitution is executed (which looks for macros that
1943 # take arguments), then branch to the quote section. Otherwise,
1944 # look for a macro that doesn't take arguments.
1945 ac_script='
1946 :mline
1947 /\\$/{
1949 s,\\\n,,
1950 b mline
1952 t clear
1953 :clear
1954 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1955 t quote
1956 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1957 t quote
1958 b any
1959 :quote
1960 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1961 s/\[/\\&/g
1962 s/\]/\\&/g
1963 s/\$/$$/g
1965 :any
1968 s/^\n//
1969 s/\n/ /g
1973 DEFS=`sed -n "$ac_script" confdefs.h`
1976 ac_libobjs=
1977 ac_ltlibobjs=
1978 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1979 # 1. Remove the extension, and $U if already installed.
1980 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1981 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1982 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1983 # will be set to the directory where LIBOBJS objects are built.
1984 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1985 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
1986 done
1987 LIBOBJS=$ac_libobjs
1989 LTLIBOBJS=$ac_ltlibobjs
1993 : ${CONFIG_STATUS=./config.status}
1994 ac_write_fail=0
1995 ac_clean_files_save=$ac_clean_files
1996 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1997 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1998 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1999 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2000 #! $SHELL
2001 # Generated by $as_me.
2002 # Run this file to recreate the current configuration.
2003 # Compiler output produced by configure, useful for debugging
2004 # configure, is in config.log if it exists.
2006 debug=false
2007 ac_cs_recheck=false
2008 ac_cs_silent=false
2009 SHELL=\${CONFIG_SHELL-$SHELL}
2010 _ACEOF
2012 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2013 ## --------------------- ##
2014 ## M4sh Initialization. ##
2015 ## --------------------- ##
2017 # Be more Bourne compatible
2018 DUALCASE=1; export DUALCASE # for MKS sh
2019 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2020 emulate sh
2021 NULLCMD=:
2022 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2023 # is contrary to our usage. Disable this feature.
2024 alias -g '${1+"$@"}'='"$@"'
2025 setopt NO_GLOB_SUBST
2026 else
2027 case `(set -o) 2>/dev/null` in
2028 *posix*) set -o posix ;;
2029 esac
2036 # PATH needs CR
2037 # Avoid depending upon Character Ranges.
2038 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2039 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2040 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2041 as_cr_digits='0123456789'
2042 as_cr_alnum=$as_cr_Letters$as_cr_digits
2044 as_nl='
2046 export as_nl
2047 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2048 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2049 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2050 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2051 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2052 as_echo='printf %s\n'
2053 as_echo_n='printf %s'
2054 else
2055 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2056 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2057 as_echo_n='/usr/ucb/echo -n'
2058 else
2059 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2060 as_echo_n_body='eval
2061 arg=$1;
2062 case $arg in
2063 *"$as_nl"*)
2064 expr "X$arg" : "X\\(.*\\)$as_nl";
2065 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2066 esac;
2067 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2069 export as_echo_n_body
2070 as_echo_n='sh -c $as_echo_n_body as_echo'
2072 export as_echo_body
2073 as_echo='sh -c $as_echo_body as_echo'
2076 # The user is always right.
2077 if test "${PATH_SEPARATOR+set}" != set; then
2078 PATH_SEPARATOR=:
2079 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2080 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2081 PATH_SEPARATOR=';'
2085 # Support unset when possible.
2086 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2087 as_unset=unset
2088 else
2089 as_unset=false
2093 # IFS
2094 # We need space, tab and new line, in precisely that order. Quoting is
2095 # there to prevent editors from complaining about space-tab.
2096 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2097 # splitting by setting IFS to empty value.)
2098 IFS=" "" $as_nl"
2100 # Find who we are. Look in the path if we contain no directory separator.
2101 case $0 in
2102 *[\\/]* ) as_myself=$0 ;;
2103 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2104 for as_dir in $PATH
2106 IFS=$as_save_IFS
2107 test -z "$as_dir" && as_dir=.
2108 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2109 done
2110 IFS=$as_save_IFS
2113 esac
2114 # We did not find ourselves, most probably we were run as `sh COMMAND'
2115 # in which case we are not to be found in the path.
2116 if test "x$as_myself" = x; then
2117 as_myself=$0
2119 if test ! -f "$as_myself"; then
2120 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2121 { (exit 1); exit 1; }
2124 # Work around bugs in pre-3.0 UWIN ksh.
2125 for as_var in ENV MAIL MAILPATH
2126 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2127 done
2128 PS1='$ '
2129 PS2='> '
2130 PS4='+ '
2132 # NLS nuisances.
2133 LC_ALL=C
2134 export LC_ALL
2135 LANGUAGE=C
2136 export LANGUAGE
2138 # Required to use basename.
2139 if expr a : '\(a\)' >/dev/null 2>&1 &&
2140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2141 as_expr=expr
2142 else
2143 as_expr=false
2146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2147 as_basename=basename
2148 else
2149 as_basename=false
2153 # Name of the executable.
2154 as_me=`$as_basename -- "$0" ||
2155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2156 X"$0" : 'X\(//\)$' \| \
2157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2158 $as_echo X/"$0" |
2159 sed '/^.*\/\([^/][^/]*\)\/*$/{
2160 s//\1/
2163 /^X\/\(\/\/\)$/{
2164 s//\1/
2167 /^X\/\(\/\).*/{
2168 s//\1/
2171 s/.*/./; q'`
2173 # CDPATH.
2174 $as_unset CDPATH
2178 as_lineno_1=$LINENO
2179 as_lineno_2=$LINENO
2180 test "x$as_lineno_1" != "x$as_lineno_2" &&
2181 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2183 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2184 # uniformly replaced by the line number. The first 'sed' inserts a
2185 # line-number line after each line using $LINENO; the second 'sed'
2186 # does the real work. The second script uses 'N' to pair each
2187 # line-number line with the line containing $LINENO, and appends
2188 # trailing '-' during substitution so that $LINENO is not a special
2189 # case at line end.
2190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2191 # scripts with optimization help from Paolo Bonzini. Blame Lee
2192 # E. McMahon (1931-1989) for sed's syntax. :-)
2193 sed -n '
2195 /[$]LINENO/=
2196 ' <$as_myself |
2197 sed '
2198 s/[$]LINENO.*/&-/
2199 t lineno
2201 :lineno
2203 :loop
2204 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2205 t loop
2206 s/-\n.*//
2207 ' >$as_me.lineno &&
2208 chmod +x "$as_me.lineno" ||
2209 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2210 { (exit 1); exit 1; }; }
2212 # Don't try to exec as it changes $[0], causing all sort of problems
2213 # (the dirname of $[0] is not the place where we might find the
2214 # original and so on. Autoconf is especially sensitive to this).
2215 . "./$as_me.lineno"
2216 # Exit status is that of the last command.
2217 exit
2221 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2222 as_dirname=dirname
2223 else
2224 as_dirname=false
2227 ECHO_C= ECHO_N= ECHO_T=
2228 case `echo -n x` in
2229 -n*)
2230 case `echo 'x\c'` in
2231 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2232 *) ECHO_C='\c';;
2233 esac;;
2235 ECHO_N='-n';;
2236 esac
2237 if expr a : '\(a\)' >/dev/null 2>&1 &&
2238 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2239 as_expr=expr
2240 else
2241 as_expr=false
2244 rm -f conf$$ conf$$.exe conf$$.file
2245 if test -d conf$$.dir; then
2246 rm -f conf$$.dir/conf$$.file
2247 else
2248 rm -f conf$$.dir
2249 mkdir conf$$.dir 2>/dev/null
2251 if (echo >conf$$.file) 2>/dev/null; then
2252 if ln -s conf$$.file conf$$ 2>/dev/null; then
2253 as_ln_s='ln -s'
2254 # ... but there are two gotchas:
2255 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2256 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2257 # In both cases, we have to default to `cp -p'.
2258 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2259 as_ln_s='cp -p'
2260 elif ln conf$$.file conf$$ 2>/dev/null; then
2261 as_ln_s=ln
2262 else
2263 as_ln_s='cp -p'
2265 else
2266 as_ln_s='cp -p'
2268 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2269 rmdir conf$$.dir 2>/dev/null
2271 if mkdir -p . 2>/dev/null; then
2272 as_mkdir_p=:
2273 else
2274 test -d ./-p && rmdir ./-p
2275 as_mkdir_p=false
2278 if test -x / >/dev/null 2>&1; then
2279 as_test_x='test -x'
2280 else
2281 if ls -dL / >/dev/null 2>&1; then
2282 as_ls_L_option=L
2283 else
2284 as_ls_L_option=
2286 as_test_x='
2287 eval sh -c '\''
2288 if test -d "$1"; then
2289 test -d "$1/.";
2290 else
2291 case $1 in
2292 -*)set "./$1";;
2293 esac;
2294 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
2295 ???[sx]*):;;*)false;;esac;fi
2296 '\'' sh
2299 as_executable_p=$as_test_x
2301 # Sed expression to map a string onto a valid CPP name.
2302 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2304 # Sed expression to map a string onto a valid variable name.
2305 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2308 exec 6>&1
2310 # Save the log message, to keep $[0] and so on meaningful, and to
2311 # report actual input values of CONFIG_FILES etc. instead of their
2312 # values after options handling.
2313 ac_log="
2314 This file was extended by diplom $as_me 0.1, which was
2315 generated by GNU Autoconf 2.63. Invocation command line was
2317 CONFIG_FILES = $CONFIG_FILES
2318 CONFIG_HEADERS = $CONFIG_HEADERS
2319 CONFIG_LINKS = $CONFIG_LINKS
2320 CONFIG_COMMANDS = $CONFIG_COMMANDS
2321 $ $0 $@
2323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2326 _ACEOF
2328 case $ac_config_files in *"
2329 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2330 esac
2334 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2335 # Files that config.status was made for.
2336 config_files="$ac_config_files"
2338 _ACEOF
2340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2341 ac_cs_usage="\
2342 \`$as_me' instantiates files from templates according to the
2343 current configuration.
2345 Usage: $0 [OPTION]... [FILE]...
2347 -h, --help print this help, then exit
2348 -V, --version print version number and configuration settings, then exit
2349 -q, --quiet, --silent
2350 do not print progress messages
2351 -d, --debug don't remove temporary files
2352 --recheck update $as_me by reconfiguring in the same conditions
2353 --file=FILE[:TEMPLATE]
2354 instantiate the configuration file FILE
2356 Configuration files:
2357 $config_files
2359 Report bugs to <bug-autoconf@gnu.org>."
2361 _ACEOF
2362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2363 ac_cs_version="\\
2364 diplom config.status 0.1
2365 configured by $0, generated by GNU Autoconf 2.63,
2366 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2368 Copyright (C) 2008 Free Software Foundation, Inc.
2369 This config.status script is free software; the Free Software Foundation
2370 gives unlimited permission to copy, distribute and modify it."
2372 ac_pwd='$ac_pwd'
2373 srcdir='$srcdir'
2374 test -n "\$AWK" || AWK=awk
2375 _ACEOF
2377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2378 # The default lists apply if the user does not specify any file.
2379 ac_need_defaults=:
2380 while test $# != 0
2382 case $1 in
2383 --*=*)
2384 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2385 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2386 ac_shift=:
2389 ac_option=$1
2390 ac_optarg=$2
2391 ac_shift=shift
2393 esac
2395 case $ac_option in
2396 # Handling of the options.
2397 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2398 ac_cs_recheck=: ;;
2399 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2400 $as_echo "$ac_cs_version"; exit ;;
2401 --debug | --debu | --deb | --de | --d | -d )
2402 debug=: ;;
2403 --file | --fil | --fi | --f )
2404 $ac_shift
2405 case $ac_optarg in
2406 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2407 esac
2408 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
2409 ac_need_defaults=false;;
2410 --he | --h | --help | --hel | -h )
2411 $as_echo "$ac_cs_usage"; exit ;;
2412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2413 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2414 ac_cs_silent=: ;;
2416 # This is an error.
2417 -*) { $as_echo "$as_me: error: unrecognized option: $1
2418 Try \`$0 --help' for more information." >&2
2419 { (exit 1); exit 1; }; } ;;
2421 *) ac_config_targets="$ac_config_targets $1"
2422 ac_need_defaults=false ;;
2424 esac
2425 shift
2426 done
2428 ac_configure_extra_args=
2430 if $ac_cs_silent; then
2431 exec 6>/dev/null
2432 ac_configure_extra_args="$ac_configure_extra_args --silent"
2435 _ACEOF
2436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2437 if \$ac_cs_recheck; then
2438 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2439 shift
2440 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2441 CONFIG_SHELL='$SHELL'
2442 export CONFIG_SHELL
2443 exec "\$@"
2446 _ACEOF
2447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2448 exec 5>>config.log
2450 echo
2451 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2452 ## Running $as_me. ##
2453 _ASBOX
2454 $as_echo "$ac_log"
2455 } >&5
2457 _ACEOF
2458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2459 _ACEOF
2461 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2463 # Handling of arguments.
2464 for ac_config_target in $ac_config_targets
2466 case $ac_config_target in
2467 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2468 "profiles/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/Makefile" ;;
2469 "profiles/install2/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/install2/Makefile" ;;
2470 "profiles/diplom-base/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/diplom-base/Makefile" ;;
2471 "profiles/diplom-disk/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/diplom-disk/Makefile" ;;
2472 "profiles/rescue/Makefile") CONFIG_FILES="$CONFIG_FILES profiles/rescue/Makefile" ;;
2474 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2475 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2476 { (exit 1); exit 1; }; };;
2477 esac
2478 done
2481 # If the user did not use the arguments to specify the items to instantiate,
2482 # then the envvar interface is used. Set only those that are not.
2483 # We use the long form for the default assignment because of an extremely
2484 # bizarre bug on SunOS 4.1.3.
2485 if $ac_need_defaults; then
2486 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2489 # Have a temporary directory for convenience. Make it in the build tree
2490 # simply because there is no reason against having it here, and in addition,
2491 # creating and moving files from /tmp can sometimes cause problems.
2492 # Hook for its removal unless debugging.
2493 # Note that there is a small window in which the directory will not be cleaned:
2494 # after its creation but before its name has been assigned to `$tmp'.
2495 $debug ||
2497 tmp=
2498 trap 'exit_status=$?
2499 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2501 trap '{ (exit 1); exit 1; }' 1 2 13 15
2503 # Create a temporary directory, and hook for its removal unless debugging.
2504 $debug ||
2506 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' EXIT
2507 trap '{ (exit 1); exit 1; }' PIPE HUP INT TERM
2510 # Create a (secure) tmp directory for tmp files.
2511 tmp="`mktemp -dt cs.XXXXXXXXXX`" || exit 1
2514 # Set up the scripts for CONFIG_FILES section.
2515 # No need to generate them if there are no CONFIG_FILES.
2516 # This happens for instance with `./config.status config.h'.
2517 if test -n "$CONFIG_FILES"; then
2520 ac_cr=' '
2521 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2522 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2523 ac_cs_awk_cr='\\r'
2524 else
2525 ac_cs_awk_cr=$ac_cr
2528 echo 'BEGIN {' >"$tmp/subs1.awk" &&
2529 _ACEOF
2533 echo "cat >conf$$subs.awk <<_ACEOF" &&
2534 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2535 echo "_ACEOF"
2536 } >conf$$subs.sh ||
2537 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2538 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2539 { (exit 1); exit 1; }; }
2540 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2541 ac_delim='%!_!# '
2542 for ac_last_try in false false false false false :; do
2543 . ./conf$$subs.sh ||
2544 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2545 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2546 { (exit 1); exit 1; }; }
2548 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2549 if test $ac_delim_n = $ac_delim_num; then
2550 break
2551 elif $ac_last_try; then
2552 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2553 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2554 { (exit 1); exit 1; }; }
2555 else
2556 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2558 done
2559 rm -f conf$$subs.sh
2561 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2562 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2563 _ACEOF
2564 sed -n '
2566 s/^/S["/; s/!.*/"]=/
2569 s/^[^!]*!//
2570 :repl
2571 t repl
2572 s/'"$ac_delim"'$//
2573 t delim
2576 s/\(.\{148\}\).*/\1/
2577 t more1
2578 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2581 b repl
2582 :more1
2583 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2586 s/.\{148\}//
2587 t nl
2588 :delim
2590 s/\(.\{148\}\).*/\1/
2591 t more2
2592 s/["\\]/\\&/g; s/^/"/; s/$/"/
2595 :more2
2596 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2599 s/.\{148\}//
2600 t delim
2601 ' <conf$$subs.awk | sed '
2602 /^[^""]/{
2604 s/\n//
2606 ' >>$CONFIG_STATUS || ac_write_fail=1
2607 rm -f conf$$subs.awk
2608 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2609 _ACAWK
2610 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2611 for (key in S) S_is_set[key] = 1
2612 FS = "\a"
2616 line = $ 0
2617 nfields = split(line, field, "@")
2618 substed = 0
2619 len = length(field[1])
2620 for (i = 2; i < nfields; i++) {
2621 key = field[i]
2622 keylen = length(key)
2623 if (S_is_set[key]) {
2624 value = S[key]
2625 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2626 len += length(value) + length(field[++i])
2627 substed = 1
2628 } else
2629 len += 1 + keylen
2632 print line
2635 _ACAWK
2636 _ACEOF
2637 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2638 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2639 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2640 else
2642 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2643 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
2644 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
2645 { (exit 1); exit 1; }; }
2646 _ACEOF
2648 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2649 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2650 # trailing colons and then remove the whole line if VPATH becomes empty
2651 # (actually we leave an empty line to preserve line numbers).
2652 if test "x$srcdir" = x.; then
2653 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2654 s/:*\$(srcdir):*/:/
2655 s/:*\${srcdir}:*/:/
2656 s/:*@srcdir@:*/:/
2657 s/^\([^=]*=[ ]*\):*/\1/
2658 s/:*$//
2659 s/^[^=]*=[ ]*$//
2663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2664 fi # test -n "$CONFIG_FILES"
2667 eval set X " :F $CONFIG_FILES "
2668 shift
2669 for ac_tag
2671 case $ac_tag in
2672 :[FHLC]) ac_mode=$ac_tag; continue;;
2673 esac
2674 case $ac_mode$ac_tag in
2675 :[FHL]*:*);;
2676 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
2677 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
2678 { (exit 1); exit 1; }; };;
2679 :[FH]-) ac_tag=-:-;;
2680 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2681 esac
2682 ac_save_IFS=$IFS
2683 IFS=:
2684 set x $ac_tag
2685 IFS=$ac_save_IFS
2686 shift
2687 ac_file=$1
2688 shift
2690 case $ac_mode in
2691 :L) ac_source=$1;;
2692 :[FH])
2693 ac_file_inputs=
2694 for ac_f
2696 case $ac_f in
2697 -) ac_f="$tmp/stdin";;
2698 *) # Look for the file first in the build tree, then in the source tree
2699 # (if the path is not absolute). The absolute path cannot be DOS-style,
2700 # because $ac_f cannot contain `:'.
2701 test -f "$ac_f" ||
2702 case $ac_f in
2703 [\\/$]*) false;;
2704 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2705 esac ||
2706 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2707 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2708 { (exit 1); exit 1; }; };;
2709 esac
2710 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2711 ac_file_inputs="$ac_file_inputs '$ac_f'"
2712 done
2714 # Let's still pretend it is `configure' which instantiates (i.e., don't
2715 # use $as_me), people would be surprised to read:
2716 # /* config.h. Generated by config.status. */
2717 configure_input='Generated from '`
2718 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2719 `' by configure.'
2720 if test x"$ac_file" != x-; then
2721 configure_input="$ac_file. $configure_input"
2722 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
2723 $as_echo "$as_me: creating $ac_file" >&6;}
2725 # Neutralize special characters interpreted by sed in replacement strings.
2726 case $configure_input in #(
2727 *\&* | *\|* | *\\* )
2728 ac_sed_conf_input=`$as_echo "$configure_input" |
2729 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2730 *) ac_sed_conf_input=$configure_input;;
2731 esac
2733 case $ac_tag in
2734 *:-:* | *:-) cat >"$tmp/stdin" \
2735 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
2736 $as_echo "$as_me: error: could not create $ac_file" >&2;}
2737 { (exit 1); exit 1; }; } ;;
2738 esac
2740 esac
2742 ac_dir=`$as_dirname -- "$ac_file" ||
2743 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2744 X"$ac_file" : 'X\(//\)[^/]' \| \
2745 X"$ac_file" : 'X\(//\)$' \| \
2746 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2747 $as_echo X"$ac_file" |
2748 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2749 s//\1/
2752 /^X\(\/\/\)[^/].*/{
2753 s//\1/
2756 /^X\(\/\/\)$/{
2757 s//\1/
2760 /^X\(\/\).*/{
2761 s//\1/
2764 s/.*/./; q'`
2765 { as_dir="$ac_dir"
2766 case $as_dir in #(
2767 -*) as_dir=./$as_dir;;
2768 esac
2769 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2770 as_dirs=
2771 while :; do
2772 case $as_dir in #(
2773 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2774 *) as_qdir=$as_dir;;
2775 esac
2776 as_dirs="'$as_qdir' $as_dirs"
2777 as_dir=`$as_dirname -- "$as_dir" ||
2778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2779 X"$as_dir" : 'X\(//\)[^/]' \| \
2780 X"$as_dir" : 'X\(//\)$' \| \
2781 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2782 $as_echo X"$as_dir" |
2783 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2784 s//\1/
2787 /^X\(\/\/\)[^/].*/{
2788 s//\1/
2791 /^X\(\/\/\)$/{
2792 s//\1/
2795 /^X\(\/\).*/{
2796 s//\1/
2799 s/.*/./; q'`
2800 test -d "$as_dir" && break
2801 done
2802 test -z "$as_dirs" || eval "mkdir $as_dirs"
2803 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2804 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
2805 { (exit 1); exit 1; }; }; }
2806 ac_builddir=.
2808 case "$ac_dir" in
2809 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2811 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2812 # A ".." for each directory in $ac_dir_suffix.
2813 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2814 case $ac_top_builddir_sub in
2815 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2816 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2817 esac ;;
2818 esac
2819 ac_abs_top_builddir=$ac_pwd
2820 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2821 # for backward compatibility:
2822 ac_top_builddir=$ac_top_build_prefix
2824 case $srcdir in
2825 .) # We are building in place.
2826 ac_srcdir=.
2827 ac_top_srcdir=$ac_top_builddir_sub
2828 ac_abs_top_srcdir=$ac_pwd ;;
2829 [\\/]* | ?:[\\/]* ) # Absolute name.
2830 ac_srcdir=$srcdir$ac_dir_suffix;
2831 ac_top_srcdir=$srcdir
2832 ac_abs_top_srcdir=$srcdir ;;
2833 *) # Relative name.
2834 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2835 ac_top_srcdir=$ac_top_build_prefix$srcdir
2836 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2837 esac
2838 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2841 case $ac_mode in
2844 # CONFIG_FILE
2847 _ACEOF
2849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2850 # If the template does not know about datarootdir, expand it.
2851 # FIXME: This hack should be removed a few years after 2.60.
2852 ac_datarootdir_hack=; ac_datarootdir_seen=
2854 ac_sed_dataroot='
2855 /datarootdir/ {
2859 /@datadir@/p
2860 /@docdir@/p
2861 /@infodir@/p
2862 /@localedir@/p
2863 /@mandir@/p
2865 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2866 *datarootdir*) ac_datarootdir_seen=yes;;
2867 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2868 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2869 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2870 _ACEOF
2871 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2872 ac_datarootdir_hack='
2873 s&@datadir@&$datadir&g
2874 s&@docdir@&$docdir&g
2875 s&@infodir@&$infodir&g
2876 s&@localedir@&$localedir&g
2877 s&@mandir@&$mandir&g
2878 s&\\\${datarootdir}&$datarootdir&g' ;;
2879 esac
2880 _ACEOF
2882 # Neutralize VPATH when `$srcdir' = `.'.
2883 # Shell code in configure.ac might set extrasub.
2884 # FIXME: do we really want to maintain this feature?
2885 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2886 ac_sed_extra="$ac_vpsub
2887 $extrasub
2888 _ACEOF
2889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2892 s|@configure_input@|$ac_sed_conf_input|;t t
2893 s&@top_builddir@&$ac_top_builddir_sub&;t t
2894 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2895 s&@srcdir@&$ac_srcdir&;t t
2896 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2897 s&@top_srcdir@&$ac_top_srcdir&;t t
2898 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2899 s&@builddir@&$ac_builddir&;t t
2900 s&@abs_builddir@&$ac_abs_builddir&;t t
2901 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2902 $ac_datarootdir_hack
2904 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2905 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
2906 $as_echo "$as_me: error: could not create $ac_file" >&2;}
2907 { (exit 1); exit 1; }; }
2909 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2910 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2911 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2912 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2913 which seems to be undefined. Please make sure it is defined." >&5
2914 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2915 which seems to be undefined. Please make sure it is defined." >&2;}
2917 rm -f "$tmp/stdin"
2918 case $ac_file in
2919 -) cat "$tmp/out" && rm -f "$tmp/out";;
2920 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2921 esac \
2922 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
2923 $as_echo "$as_me: error: could not create $ac_file" >&2;}
2924 { (exit 1); exit 1; }; }
2929 esac
2931 done # for ac_tag
2934 { (exit 0); exit 0; }
2935 _ACEOF
2936 chmod +x $CONFIG_STATUS
2937 ac_clean_files=$ac_clean_files_save
2939 test $ac_write_fail = 0 ||
2940 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
2941 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
2942 { (exit 1); exit 1; }; }
2945 # configure is writing to config.log, and then calls config.status.
2946 # config.status does its own redirection, appending to config.log.
2947 # Unfortunately, on DOS this fails, as config.log is still kept open
2948 # by configure, so config.status won't be able to write to it; its
2949 # output is simply discarded. So we exec the FD to /dev/null,
2950 # effectively closing config.log, so it can be properly (re)opened and
2951 # appended to by config.status. When coming back to configure, we
2952 # need to make the FD available again.
2953 if test "$no_create" != yes; then
2954 ac_cs_success=:
2955 ac_config_status_args=
2956 test "$silent" = yes &&
2957 ac_config_status_args="$ac_config_status_args --quiet"
2958 exec 5>/dev/null
2959 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2960 exec 5>>config.log
2961 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2962 # would make configure fail if this is the last instruction.
2963 $ac_cs_success || { (exit 1); exit 1; }
2965 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2966 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2967 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}