tizen 2.0
[external/module-init-tools.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for module-init-tools 3.12-pre2.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization.  ##
11 ## --------------------- ##
12
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16   emulate sh
17   NULLCMD=:
18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19   # is contrary to our usage.  Disable this feature.
20   alias -g '${1+"$@"}'='"$@"'
21   setopt NO_GLOB_SUBST
22 else
23   case `(set -o) 2>/dev/null` in
24   *posix*) set -o posix ;;
25 esac
26
27 fi
28
29
30
31
32 # PATH needs CR
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40 as_nl='
41 '
42 export as_nl
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48   as_echo='printf %s\n'
49   as_echo_n='printf %s'
50 else
51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53     as_echo_n='/usr/ucb/echo -n'
54   else
55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56     as_echo_n_body='eval
57       arg=$1;
58       case $arg in
59       *"$as_nl"*)
60         expr "X$arg" : "X\\(.*\\)$as_nl";
61         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62       esac;
63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64     '
65     export as_echo_n_body
66     as_echo_n='sh -c $as_echo_n_body as_echo'
67   fi
68   export as_echo_body
69   as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74   PATH_SEPARATOR=:
75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77       PATH_SEPARATOR=';'
78   }
79 fi
80
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83   as_unset=unset
84 else
85   as_unset=false
86 fi
87
88
89 # IFS
90 # We need space, tab and new line, in precisely that order.  Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
94 IFS=" ""        $as_nl"
95
96 # Find who we are.  Look in the path if we contain no directory separator.
97 case $0 in
98   *[\\/]* ) as_myself=$0 ;;
99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 for as_dir in $PATH
101 do
102   IFS=$as_save_IFS
103   test -z "$as_dir" && as_dir=.
104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 done
106 IFS=$as_save_IFS
107
108      ;;
109 esac
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x; then
113   as_myself=$0
114 fi
115 if test ! -f "$as_myself"; then
116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117   { (exit 1); exit 1; }
118 fi
119
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # Required to use basename.
135 if expr a : '\(a\)' >/dev/null 2>&1 &&
136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
137   as_expr=expr
138 else
139   as_expr=false
140 fi
141
142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143   as_basename=basename
144 else
145   as_basename=false
146 fi
147
148
149 # Name of the executable.
150 as_me=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152          X"$0" : 'X\(//\)$' \| \
153          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154 $as_echo X/"$0" |
155     sed '/^.*\/\([^/][^/]*\)\/*$/{
156             s//\1/
157             q
158           }
159           /^X\/\(\/\/\)$/{
160             s//\1/
161             q
162           }
163           /^X\/\(\/\).*/{
164             s//\1/
165             q
166           }
167           s/.*/./; q'`
168
169 # CDPATH.
170 $as_unset CDPATH
171
172
173 if test "x$CONFIG_SHELL" = x; then
174   if (eval ":") 2>/dev/null; then
175   as_have_required=yes
176 else
177   as_have_required=no
178 fi
179
180   if test $as_have_required = yes &&     (eval ":
181 (as_func_return () {
182   (exit \$1)
183 }
184 as_func_success () {
185   as_func_return 0
186 }
187 as_func_failure () {
188   as_func_return 1
189 }
190 as_func_ret_success () {
191   return 0
192 }
193 as_func_ret_failure () {
194   return 1
195 }
196
197 exitcode=0
198 if as_func_success; then
199   :
200 else
201   exitcode=1
202   echo as_func_success failed.
203 fi
204
205 if as_func_failure; then
206   exitcode=1
207   echo as_func_failure succeeded.
208 fi
209
210 if as_func_ret_success; then
211   :
212 else
213   exitcode=1
214   echo as_func_ret_success failed.
215 fi
216
217 if as_func_ret_failure; then
218   exitcode=1
219   echo as_func_ret_failure succeeded.
220 fi
221
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223   :
224 else
225   exitcode=1
226   echo positional parameters were not saved.
227 fi
228
229 test \$exitcode = 0) || { (exit 1); exit 1; }
230
231 (
232   as_lineno_1=\$LINENO
233   as_lineno_2=\$LINENO
234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev/null; then
237   :
238 else
239   as_candidate_shells=
240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242 do
243   IFS=$as_save_IFS
244   test -z "$as_dir" && as_dir=.
245   case $as_dir in
246          /*)
247            for as_base in sh bash ksh sh5; do
248              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249            done;;
250        esac
251 done
252 IFS=$as_save_IFS
253
254
255       for as_shell in $as_candidate_shells $SHELL; do
256          # Try only shells that exist, to save several forks.
257          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258                 { ("$as_shell") 2> /dev/null <<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260   emulate sh
261   NULLCMD=:
262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263   # is contrary to our usage.  Disable this feature.
264   alias -g '${1+"$@"}'='"$@"'
265   setopt NO_GLOB_SUBST
266 else
267   case `(set -o) 2>/dev/null` in
268   *posix*) set -o posix ;;
269 esac
270
271 fi
272
273
274 :
275 _ASEOF
276 }; then
277   CONFIG_SHELL=$as_shell
278                as_have_required=yes
279                if { "$as_shell" 2> /dev/null <<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281   emulate sh
282   NULLCMD=:
283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284   # is contrary to our usage.  Disable this feature.
285   alias -g '${1+"$@"}'='"$@"'
286   setopt NO_GLOB_SUBST
287 else
288   case `(set -o) 2>/dev/null` in
289   *posix*) set -o posix ;;
290 esac
291
292 fi
293
294
295 :
296 (as_func_return () {
297   (exit $1)
298 }
299 as_func_success () {
300   as_func_return 0
301 }
302 as_func_failure () {
303   as_func_return 1
304 }
305 as_func_ret_success () {
306   return 0
307 }
308 as_func_ret_failure () {
309   return 1
310 }
311
312 exitcode=0
313 if as_func_success; then
314   :
315 else
316   exitcode=1
317   echo as_func_success failed.
318 fi
319
320 if as_func_failure; then
321   exitcode=1
322   echo as_func_failure succeeded.
323 fi
324
325 if as_func_ret_success; then
326   :
327 else
328   exitcode=1
329   echo as_func_ret_success failed.
330 fi
331
332 if as_func_ret_failure; then
333   exitcode=1
334   echo as_func_ret_failure succeeded.
335 fi
336
337 if ( set x; as_func_ret_success y && test x = "$1" ); then
338   :
339 else
340   exitcode=1
341   echo positional parameters were not saved.
342 fi
343
344 test $exitcode = 0) || { (exit 1); exit 1; }
345
346 (
347   as_lineno_1=$LINENO
348   as_lineno_2=$LINENO
349   test "x$as_lineno_1" != "x$as_lineno_2" &&
350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352 _ASEOF
353 }; then
354   break
355 fi
356
357 fi
358
359       done
360
361       if test "x$CONFIG_SHELL" != x; then
362   for as_var in BASH_ENV ENV
363         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364         done
365         export CONFIG_SHELL
366         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367 fi
368
369
370     if test $as_have_required = no; then
371   echo This script requires a shell more modern than all the
372       echo shells that I found on your system.  Please install a
373       echo modern shell, or manually run the script under such a
374       echo shell if you do have one.
375       { (exit 1); exit 1; }
376 fi
377
378
379 fi
380
381 fi
382
383
384
385 (eval "as_func_return () {
386   (exit \$1)
387 }
388 as_func_success () {
389   as_func_return 0
390 }
391 as_func_failure () {
392   as_func_return 1
393 }
394 as_func_ret_success () {
395   return 0
396 }
397 as_func_ret_failure () {
398   return 1
399 }
400
401 exitcode=0
402 if as_func_success; then
403   :
404 else
405   exitcode=1
406   echo as_func_success failed.
407 fi
408
409 if as_func_failure; then
410   exitcode=1
411   echo as_func_failure succeeded.
412 fi
413
414 if as_func_ret_success; then
415   :
416 else
417   exitcode=1
418   echo as_func_ret_success failed.
419 fi
420
421 if as_func_ret_failure; then
422   exitcode=1
423   echo as_func_ret_failure succeeded.
424 fi
425
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427   :
428 else
429   exitcode=1
430   echo positional parameters were not saved.
431 fi
432
433 test \$exitcode = 0") || {
434   echo No shell found that supports shell functions.
435   echo Please tell bug-autoconf@gnu.org about your system,
436   echo including any error possibly output before this message.
437   echo This can help us improve future autoconf versions.
438   echo Configuration will now proceed without shell functions.
439 }
440
441
442
443   as_lineno_1=$LINENO
444   as_lineno_2=$LINENO
445   test "x$as_lineno_1" != "x$as_lineno_2" &&
446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449   # uniformly replaced by the line number.  The first 'sed' inserts a
450   # line-number line after each line using $LINENO; the second 'sed'
451   # does the real work.  The second script uses 'N' to pair each
452   # line-number line with the line containing $LINENO, and appends
453   # trailing '-' during substitution so that $LINENO is not a special
454   # case at line end.
455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
457   # E. McMahon (1931-1989) for sed's syntax.  :-)
458   sed -n '
459     p
460     /[$]LINENO/=
461   ' <$as_myself |
462     sed '
463       s/[$]LINENO.*/&-/
464       t lineno
465       b
466       :lineno
467       N
468       :loop
469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470       t loop
471       s/-\n.*//
472     ' >$as_me.lineno &&
473   chmod +x "$as_me.lineno" ||
474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475    { (exit 1); exit 1; }; }
476
477   # Don't try to exec as it changes $[0], causing all sort of problems
478   # (the dirname of $[0] is not the place where we might find the
479   # original and so on.  Autoconf is especially sensitive to this).
480   . "./$as_me.lineno"
481   # Exit status is that of the last command.
482   exit
483 }
484
485
486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487   as_dirname=dirname
488 else
489   as_dirname=false
490 fi
491
492 ECHO_C= ECHO_N= ECHO_T=
493 case `echo -n x` in
494 -n*)
495   case `echo 'x\c'` in
496   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
497   *)   ECHO_C='\c';;
498   esac;;
499 *)
500   ECHO_N='-n';;
501 esac
502 if expr a : '\(a\)' >/dev/null 2>&1 &&
503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
504   as_expr=expr
505 else
506   as_expr=false
507 fi
508
509 rm -f conf$$ conf$$.exe conf$$.file
510 if test -d conf$$.dir; then
511   rm -f conf$$.dir/conf$$.file
512 else
513   rm -f conf$$.dir
514   mkdir conf$$.dir 2>/dev/null
515 fi
516 if (echo >conf$$.file) 2>/dev/null; then
517   if ln -s conf$$.file conf$$ 2>/dev/null; then
518     as_ln_s='ln -s'
519     # ... but there are two gotchas:
520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522     # In both cases, we have to default to `cp -p'.
523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524       as_ln_s='cp -p'
525   elif ln conf$$.file conf$$ 2>/dev/null; then
526     as_ln_s=ln
527   else
528     as_ln_s='cp -p'
529   fi
530 else
531   as_ln_s='cp -p'
532 fi
533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534 rmdir conf$$.dir 2>/dev/null
535
536 if mkdir -p . 2>/dev/null; then
537   as_mkdir_p=:
538 else
539   test -d ./-p && rmdir ./-p
540   as_mkdir_p=false
541 fi
542
543 if test -x / >/dev/null 2>&1; then
544   as_test_x='test -x'
545 else
546   if ls -dL / >/dev/null 2>&1; then
547     as_ls_L_option=L
548   else
549     as_ls_L_option=
550   fi
551   as_test_x='
552     eval sh -c '\''
553       if test -d "$1"; then
554         test -d "$1/.";
555       else
556         case $1 in
557         -*)set "./$1";;
558         esac;
559         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560         ???[sx]*):;;*)false;;esac;fi
561     '\'' sh
562   '
563 fi
564 as_executable_p=$as_test_x
565
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574 exec 7<&0 </dev/null 6>&1
575
576 # Name of the host.
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581 #
582 # Initializations.
583 #
584 ac_default_prefix=/usr/local
585 ac_clean_files=
586 ac_config_libobj_dir=.
587 LIBOBJS=
588 cross_compiling=no
589 subdirs=
590 MFLAGS=
591 MAKEFLAGS=
592 SHELL=${CONFIG_SHELL-/bin/sh}
593
594 # Identity of this package.
595 PACKAGE_NAME='module-init-tools'
596 PACKAGE_TARNAME='module-init-tools'
597 PACKAGE_VERSION='3.12-pre2'
598 PACKAGE_STRING='module-init-tools 3.12-pre2'
599 PACKAGE_BUGREPORT=''
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 MODULE_DIR
606 BUILD_STATIC_UTILS_FALSE
607 BUILD_STATIC_UTILS_TRUE
608 LDADD
609 DOCBOOKTOMAN
610 RANLIB
611 am__fastdepCC_FALSE
612 am__fastdepCC_TRUE
613 CCDEPMODE
614 AMDEPBACKSLASH
615 AMDEP_FALSE
616 AMDEP_TRUE
617 am__quote
618 am__include
619 DEPDIR
620 OBJEXT
621 EXEEXT
622 ac_ct_CC
623 CPPFLAGS
624 LDFLAGS
625 CFLAGS
626 CC
627 am__untar
628 am__tar
629 AMTAR
630 am__leading_dot
631 SET_MAKE
632 AWK
633 mkdir_p
634 MKDIR_P
635 INSTALL_STRIP_PROGRAM
636 STRIP
637 install_sh
638 MAKEINFO
639 AUTOHEADER
640 AUTOMAKE
641 AUTOCONF
642 ACLOCAL
643 VERSION
644 PACKAGE
645 CYGPATH_W
646 am__isrc
647 INSTALL_DATA
648 INSTALL_SCRIPT
649 INSTALL_PROGRAM
650 ax_enable_builddir_sed
651 target_os
652 target_vendor
653 target_cpu
654 target
655 host_os
656 host_vendor
657 host_cpu
658 host
659 build_os
660 build_vendor
661 build_cpu
662 build
663 target_alias
664 host_alias
665 build_alias
666 LIBS
667 ECHO_T
668 ECHO_N
669 ECHO_C
670 DEFS
671 mandir
672 localedir
673 libdir
674 psdir
675 pdfdir
676 dvidir
677 htmldir
678 infodir
679 docdir
680 oldincludedir
681 includedir
682 localstatedir
683 sharedstatedir
684 sysconfdir
685 datadir
686 datarootdir
687 libexecdir
688 sbindir
689 bindir
690 program_transform_name
691 prefix
692 exec_prefix
693 PACKAGE_BUGREPORT
694 PACKAGE_STRING
695 PACKAGE_VERSION
696 PACKAGE_TARNAME
697 PACKAGE_NAME
698 PATH_SEPARATOR
699 SHELL'
700 ac_subst_files=''
701 ac_user_opts='
702 enable_option_checking
703 enable_builddir
704 enable_zlib
705 enable_zlib_dynamic
706 enable_dependency_tracking
707 enable_static_utils
708 with_moddir
709 '
710       ac_precious_vars='build_alias
711 host_alias
712 target_alias
713 CC
714 CFLAGS
715 LDFLAGS
716 LIBS
717 CPPFLAGS'
718
719
720 # Initialize some variables set by options.
721 ac_init_help=
722 ac_init_version=false
723 ac_unrecognized_opts=
724 ac_unrecognized_sep=
725 # The variables have the same names as the options, with
726 # dashes changed to underlines.
727 cache_file=/dev/null
728 exec_prefix=NONE
729 no_create=
730 no_recursion=
731 prefix=NONE
732 program_prefix=NONE
733 program_suffix=NONE
734 program_transform_name=s,x,x,
735 silent=
736 site=
737 srcdir=
738 verbose=
739 x_includes=NONE
740 x_libraries=NONE
741
742 # Installation directory options.
743 # These are left unexpanded so users can "make install exec_prefix=/foo"
744 # and all the variables that are supposed to be based on exec_prefix
745 # by default will actually change.
746 # Use braces instead of parens because sh, perl, etc. also accept them.
747 # (The list follows the same order as the GNU Coding Standards.)
748 bindir='${exec_prefix}/bin'
749 sbindir='${exec_prefix}/sbin'
750 libexecdir='${exec_prefix}/libexec'
751 datarootdir='${prefix}/share'
752 datadir='${datarootdir}'
753 sysconfdir='${prefix}/etc'
754 sharedstatedir='${prefix}/com'
755 localstatedir='${prefix}/var'
756 includedir='${prefix}/include'
757 oldincludedir='/usr/include'
758 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
759 infodir='${datarootdir}/info'
760 htmldir='${docdir}'
761 dvidir='${docdir}'
762 pdfdir='${docdir}'
763 psdir='${docdir}'
764 libdir='${exec_prefix}/lib'
765 localedir='${datarootdir}/locale'
766 mandir='${datarootdir}/man'
767
768 ac_prev=
769 ac_dashdash=
770 for ac_option
771 do
772   # If the previous option needs an argument, assign it.
773   if test -n "$ac_prev"; then
774     eval $ac_prev=\$ac_option
775     ac_prev=
776     continue
777   fi
778
779   case $ac_option in
780   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
781   *)    ac_optarg=yes ;;
782   esac
783
784   # Accept the important Cygnus configure options, so we can diagnose typos.
785
786   case $ac_dashdash$ac_option in
787   --)
788     ac_dashdash=yes ;;
789
790   -bindir | --bindir | --bindi | --bind | --bin | --bi)
791     ac_prev=bindir ;;
792   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
793     bindir=$ac_optarg ;;
794
795   -build | --build | --buil | --bui | --bu)
796     ac_prev=build_alias ;;
797   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
798     build_alias=$ac_optarg ;;
799
800   -cache-file | --cache-file | --cache-fil | --cache-fi \
801   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
802     ac_prev=cache_file ;;
803   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
804   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
805     cache_file=$ac_optarg ;;
806
807   --config-cache | -C)
808     cache_file=config.cache ;;
809
810   -datadir | --datadir | --datadi | --datad)
811     ac_prev=datadir ;;
812   -datadir=* | --datadir=* | --datadi=* | --datad=*)
813     datadir=$ac_optarg ;;
814
815   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
816   | --dataroo | --dataro | --datar)
817     ac_prev=datarootdir ;;
818   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
819   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
820     datarootdir=$ac_optarg ;;
821
822   -disable-* | --disable-*)
823     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
824     # Reject names that are not valid shell variable names.
825     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
826       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
827    { (exit 1); exit 1; }; }
828     ac_useropt_orig=$ac_useropt
829     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
830     case $ac_user_opts in
831       *"
832 "enable_$ac_useropt"
833 "*) ;;
834       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
835          ac_unrecognized_sep=', ';;
836     esac
837     eval enable_$ac_useropt=no ;;
838
839   -docdir | --docdir | --docdi | --doc | --do)
840     ac_prev=docdir ;;
841   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
842     docdir=$ac_optarg ;;
843
844   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
845     ac_prev=dvidir ;;
846   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
847     dvidir=$ac_optarg ;;
848
849   -enable-* | --enable-*)
850     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
851     # Reject names that are not valid shell variable names.
852     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
853       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
854    { (exit 1); exit 1; }; }
855     ac_useropt_orig=$ac_useropt
856     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
857     case $ac_user_opts in
858       *"
859 "enable_$ac_useropt"
860 "*) ;;
861       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
862          ac_unrecognized_sep=', ';;
863     esac
864     eval enable_$ac_useropt=\$ac_optarg ;;
865
866   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
867   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
868   | --exec | --exe | --ex)
869     ac_prev=exec_prefix ;;
870   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
871   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
872   | --exec=* | --exe=* | --ex=*)
873     exec_prefix=$ac_optarg ;;
874
875   -gas | --gas | --ga | --g)
876     # Obsolete; use --with-gas.
877     with_gas=yes ;;
878
879   -help | --help | --hel | --he | -h)
880     ac_init_help=long ;;
881   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
882     ac_init_help=recursive ;;
883   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
884     ac_init_help=short ;;
885
886   -host | --host | --hos | --ho)
887     ac_prev=host_alias ;;
888   -host=* | --host=* | --hos=* | --ho=*)
889     host_alias=$ac_optarg ;;
890
891   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
892     ac_prev=htmldir ;;
893   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
894   | --ht=*)
895     htmldir=$ac_optarg ;;
896
897   -includedir | --includedir | --includedi | --included | --include \
898   | --includ | --inclu | --incl | --inc)
899     ac_prev=includedir ;;
900   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
901   | --includ=* | --inclu=* | --incl=* | --inc=*)
902     includedir=$ac_optarg ;;
903
904   -infodir | --infodir | --infodi | --infod | --info | --inf)
905     ac_prev=infodir ;;
906   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
907     infodir=$ac_optarg ;;
908
909   -libdir | --libdir | --libdi | --libd)
910     ac_prev=libdir ;;
911   -libdir=* | --libdir=* | --libdi=* | --libd=*)
912     libdir=$ac_optarg ;;
913
914   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
915   | --libexe | --libex | --libe)
916     ac_prev=libexecdir ;;
917   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
918   | --libexe=* | --libex=* | --libe=*)
919     libexecdir=$ac_optarg ;;
920
921   -localedir | --localedir | --localedi | --localed | --locale)
922     ac_prev=localedir ;;
923   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
924     localedir=$ac_optarg ;;
925
926   -localstatedir | --localstatedir | --localstatedi | --localstated \
927   | --localstate | --localstat | --localsta | --localst | --locals)
928     ac_prev=localstatedir ;;
929   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
930   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
931     localstatedir=$ac_optarg ;;
932
933   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
934     ac_prev=mandir ;;
935   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
936     mandir=$ac_optarg ;;
937
938   -nfp | --nfp | --nf)
939     # Obsolete; use --without-fp.
940     with_fp=no ;;
941
942   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
943   | --no-cr | --no-c | -n)
944     no_create=yes ;;
945
946   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
947   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
948     no_recursion=yes ;;
949
950   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
951   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
952   | --oldin | --oldi | --old | --ol | --o)
953     ac_prev=oldincludedir ;;
954   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
955   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
956   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
957     oldincludedir=$ac_optarg ;;
958
959   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
960     ac_prev=prefix ;;
961   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
962     prefix=$ac_optarg ;;
963
964   -program-prefix | --program-prefix | --program-prefi | --program-pref \
965   | --program-pre | --program-pr | --program-p)
966     ac_prev=program_prefix ;;
967   -program-prefix=* | --program-prefix=* | --program-prefi=* \
968   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
969     program_prefix=$ac_optarg ;;
970
971   -program-suffix | --program-suffix | --program-suffi | --program-suff \
972   | --program-suf | --program-su | --program-s)
973     ac_prev=program_suffix ;;
974   -program-suffix=* | --program-suffix=* | --program-suffi=* \
975   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
976     program_suffix=$ac_optarg ;;
977
978   -program-transform-name | --program-transform-name \
979   | --program-transform-nam | --program-transform-na \
980   | --program-transform-n | --program-transform- \
981   | --program-transform | --program-transfor \
982   | --program-transfo | --program-transf \
983   | --program-trans | --program-tran \
984   | --progr-tra | --program-tr | --program-t)
985     ac_prev=program_transform_name ;;
986   -program-transform-name=* | --program-transform-name=* \
987   | --program-transform-nam=* | --program-transform-na=* \
988   | --program-transform-n=* | --program-transform-=* \
989   | --program-transform=* | --program-transfor=* \
990   | --program-transfo=* | --program-transf=* \
991   | --program-trans=* | --program-tran=* \
992   | --progr-tra=* | --program-tr=* | --program-t=*)
993     program_transform_name=$ac_optarg ;;
994
995   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
996     ac_prev=pdfdir ;;
997   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
998     pdfdir=$ac_optarg ;;
999
1000   -psdir | --psdir | --psdi | --psd | --ps)
1001     ac_prev=psdir ;;
1002   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1003     psdir=$ac_optarg ;;
1004
1005   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1006   | -silent | --silent | --silen | --sile | --sil)
1007     silent=yes ;;
1008
1009   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1010     ac_prev=sbindir ;;
1011   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1012   | --sbi=* | --sb=*)
1013     sbindir=$ac_optarg ;;
1014
1015   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1016   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1017   | --sharedst | --shareds | --shared | --share | --shar \
1018   | --sha | --sh)
1019     ac_prev=sharedstatedir ;;
1020   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1021   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1022   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1023   | --sha=* | --sh=*)
1024     sharedstatedir=$ac_optarg ;;
1025
1026   -site | --site | --sit)
1027     ac_prev=site ;;
1028   -site=* | --site=* | --sit=*)
1029     site=$ac_optarg ;;
1030
1031   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1032     ac_prev=srcdir ;;
1033   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1034     srcdir=$ac_optarg ;;
1035
1036   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1037   | --syscon | --sysco | --sysc | --sys | --sy)
1038     ac_prev=sysconfdir ;;
1039   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1040   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1041     sysconfdir=$ac_optarg ;;
1042
1043   -target | --target | --targe | --targ | --tar | --ta | --t)
1044     ac_prev=target_alias ;;
1045   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1046     target_alias=$ac_optarg ;;
1047
1048   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1049     verbose=yes ;;
1050
1051   -version | --version | --versio | --versi | --vers | -V)
1052     ac_init_version=: ;;
1053
1054   -with-* | --with-*)
1055     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1056     # Reject names that are not valid shell variable names.
1057     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1058       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1059    { (exit 1); exit 1; }; }
1060     ac_useropt_orig=$ac_useropt
1061     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062     case $ac_user_opts in
1063       *"
1064 "with_$ac_useropt"
1065 "*) ;;
1066       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1067          ac_unrecognized_sep=', ';;
1068     esac
1069     eval with_$ac_useropt=\$ac_optarg ;;
1070
1071   -without-* | --without-*)
1072     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1073     # Reject names that are not valid shell variable names.
1074     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1076    { (exit 1); exit 1; }; }
1077     ac_useropt_orig=$ac_useropt
1078     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1079     case $ac_user_opts in
1080       *"
1081 "with_$ac_useropt"
1082 "*) ;;
1083       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1084          ac_unrecognized_sep=', ';;
1085     esac
1086     eval with_$ac_useropt=no ;;
1087
1088   --x)
1089     # Obsolete; use --with-x.
1090     with_x=yes ;;
1091
1092   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1093   | --x-incl | --x-inc | --x-in | --x-i)
1094     ac_prev=x_includes ;;
1095   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1096   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1097     x_includes=$ac_optarg ;;
1098
1099   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1100   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1101     ac_prev=x_libraries ;;
1102   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1103   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1104     x_libraries=$ac_optarg ;;
1105
1106   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1107 Try \`$0 --help' for more information." >&2
1108    { (exit 1); exit 1; }; }
1109     ;;
1110
1111   *=*)
1112     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1113     # Reject names that are not valid shell variable names.
1114     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1115       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1116    { (exit 1); exit 1; }; }
1117     eval $ac_envvar=\$ac_optarg
1118     export $ac_envvar ;;
1119
1120   *)
1121     # FIXME: should be removed in autoconf 3.0.
1122     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1123     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1125     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1126     ;;
1127
1128   esac
1129 done
1130
1131 if test -n "$ac_prev"; then
1132   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1133   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1134    { (exit 1); exit 1; }; }
1135 fi
1136
1137 if test -n "$ac_unrecognized_opts"; then
1138   case $enable_option_checking in
1139     no) ;;
1140     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1141    { (exit 1); exit 1; }; } ;;
1142     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1143   esac
1144 fi
1145
1146 # Check all directory arguments for consistency.
1147 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1148                 datadir sysconfdir sharedstatedir localstatedir includedir \
1149                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1150                 libdir localedir mandir
1151 do
1152   eval ac_val=\$$ac_var
1153   # Remove trailing slashes.
1154   case $ac_val in
1155     */ )
1156       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1157       eval $ac_var=\$ac_val;;
1158   esac
1159   # Be sure to have absolute directory names.
1160   case $ac_val in
1161     [\\/$]* | ?:[\\/]* )  continue;;
1162     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1163   esac
1164   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1165    { (exit 1); exit 1; }; }
1166 done
1167
1168 # There might be people who depend on the old broken behavior: `$host'
1169 # used to hold the argument of --host etc.
1170 # FIXME: To remove some day.
1171 build=$build_alias
1172 host=$host_alias
1173 target=$target_alias
1174
1175 # FIXME: To remove some day.
1176 if test "x$host_alias" != x; then
1177   if test "x$build_alias" = x; then
1178     cross_compiling=maybe
1179     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1180     If a cross compiler is detected then cross compile mode will be used." >&2
1181   elif test "x$build_alias" != "x$host_alias"; then
1182     cross_compiling=yes
1183   fi
1184 fi
1185
1186 ac_tool_prefix=
1187 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1188
1189 test "$silent" = yes && exec 6>/dev/null
1190
1191
1192 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1193 ac_ls_di=`ls -di .` &&
1194 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1195   { $as_echo "$as_me: error: working directory cannot be determined" >&2
1196    { (exit 1); exit 1; }; }
1197 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1198   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1199    { (exit 1); exit 1; }; }
1200
1201
1202 # Find the source files, if location was not specified.
1203 if test -z "$srcdir"; then
1204   ac_srcdir_defaulted=yes
1205   # Try the directory containing this script, then the parent directory.
1206   ac_confdir=`$as_dirname -- "$as_myself" ||
1207 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208          X"$as_myself" : 'X\(//\)[^/]' \| \
1209          X"$as_myself" : 'X\(//\)$' \| \
1210          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211 $as_echo X"$as_myself" |
1212     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1213             s//\1/
1214             q
1215           }
1216           /^X\(\/\/\)[^/].*/{
1217             s//\1/
1218             q
1219           }
1220           /^X\(\/\/\)$/{
1221             s//\1/
1222             q
1223           }
1224           /^X\(\/\).*/{
1225             s//\1/
1226             q
1227           }
1228           s/.*/./; q'`
1229   srcdir=$ac_confdir
1230   if test ! -r "$srcdir/$ac_unique_file"; then
1231     srcdir=..
1232   fi
1233 else
1234   ac_srcdir_defaulted=no
1235 fi
1236 if test ! -r "$srcdir/$ac_unique_file"; then
1237   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1239    { (exit 1); exit 1; }; }
1240 fi
1241 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1242 ac_abs_confdir=`(
1243         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1244    { (exit 1); exit 1; }; }
1245         pwd)`
1246 # When building in place, set srcdir=.
1247 if test "$ac_abs_confdir" = "$ac_pwd"; then
1248   srcdir=.
1249 fi
1250 # Remove unnecessary trailing slashes from srcdir.
1251 # Double slashes in file names in object file debugging info
1252 # mess up M-x gdb in Emacs.
1253 case $srcdir in
1254 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1255 esac
1256 for ac_var in $ac_precious_vars; do
1257   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1258   eval ac_env_${ac_var}_value=\$${ac_var}
1259   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1260   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1261 done
1262
1263 #
1264 # Report the --help message.
1265 #
1266 if test "$ac_init_help" = "long"; then
1267   # Omit some internal or obsolete options to make the list less imposing.
1268   # This message is too long to be a string in the A/UX 3.1 sh.
1269   cat <<_ACEOF
1270 \`configure' configures module-init-tools 3.12-pre2 to adapt to many kinds of systems.
1271
1272 Usage: $0 [OPTION]... [VAR=VALUE]...
1273
1274 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1275 VAR=VALUE.  See below for descriptions of some of the useful variables.
1276
1277 Defaults for the options are specified in brackets.
1278
1279 Configuration:
1280   -h, --help              display this help and exit
1281       --help=short        display options specific to this package
1282       --help=recursive    display the short help of all the included packages
1283   -V, --version           display version information and exit
1284   -q, --quiet, --silent   do not print \`checking...' messages
1285       --cache-file=FILE   cache test results in FILE [disabled]
1286   -C, --config-cache      alias for \`--cache-file=config.cache'
1287   -n, --no-create         do not create output files
1288       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1289
1290 Installation directories:
1291   --prefix=PREFIX         install architecture-independent files in PREFIX
1292                           [$ac_default_prefix]
1293   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1294                           [PREFIX]
1295
1296 By default, \`make install' will install all the files in
1297 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1298 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1299 for instance \`--prefix=\$HOME'.
1300
1301 For better control, use the options below.
1302
1303 Fine tuning of the installation directories:
1304   --bindir=DIR            user executables [EPREFIX/bin]
1305   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1306   --libexecdir=DIR        program executables [EPREFIX/libexec]
1307   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1308   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1309   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1310   --libdir=DIR            object code libraries [EPREFIX/lib]
1311   --includedir=DIR        C header files [PREFIX/include]
1312   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1313   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1314   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1315   --infodir=DIR           info documentation [DATAROOTDIR/info]
1316   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1317   --mandir=DIR            man documentation [DATAROOTDIR/man]
1318   --docdir=DIR            documentation root
1319                           [DATAROOTDIR/doc/module-init-tools]
1320   --htmldir=DIR           html documentation [DOCDIR]
1321   --dvidir=DIR            dvi documentation [DOCDIR]
1322   --pdfdir=DIR            pdf documentation [DOCDIR]
1323   --psdir=DIR             ps documentation [DOCDIR]
1324 _ACEOF
1325
1326   cat <<\_ACEOF
1327
1328 Program names:
1329   --program-prefix=PREFIX            prepend PREFIX to installed program names
1330   --program-suffix=SUFFIX            append SUFFIX to installed program names
1331   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1332
1333 System types:
1334   --build=BUILD     configure for building on BUILD [guessed]
1335   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1336   --target=TARGET   configure for building compilers for TARGET [HOST]
1337 _ACEOF
1338 fi
1339
1340 if test -n "$ac_init_help"; then
1341   case $ac_init_help in
1342      short | recursive ) echo "Configuration of module-init-tools 3.12-pre2:";;
1343    esac
1344   cat <<\_ACEOF
1345
1346 Optional Features:
1347   --disable-option-checking  ignore unrecognized --enable/--with options
1348   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1349   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1350   --disable-builddir      disable automatic build in subdir of sources
1351
1352   --enable-zlib               Handle gzipped modules
1353   --enable-zlib-dynamic       Handle gzipped modules, zlib will be linked
1354                                dynamically. Note that libz must be installed
1355                                in /lib for this to work.
1356   --disable-dependency-tracking  speeds up one-time build
1357   --enable-dependency-tracking   do not reject slow dependency extractors
1358   --disable-static-utils  Do not build static utils
1359
1360 Optional Packages:
1361   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1362   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1363   --with-moddir=path      Give the path for system modules directory.
1364                           Defaults to /lib/modules
1365
1366 Some influential environment variables:
1367   CC          C compiler command
1368   CFLAGS      C compiler flags
1369   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1370               nonstandard directory <lib dir>
1371   LIBS        libraries to pass to the linker, e.g. -l<library>
1372   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1373               you have headers in a nonstandard directory <include dir>
1374
1375 Use these variables to override the choices made by `configure' or to help
1376 it to find libraries and programs with nonstandard names/locations.
1377
1378 _ACEOF
1379 ac_status=$?
1380 fi
1381
1382 if test "$ac_init_help" = "recursive"; then
1383   # If there are subdirs, report their specific --help.
1384   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1385     test -d "$ac_dir" ||
1386       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1387       continue
1388     ac_builddir=.
1389
1390 case "$ac_dir" in
1391 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *)
1393   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1394   # A ".." for each directory in $ac_dir_suffix.
1395   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1396   case $ac_top_builddir_sub in
1397   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1399   esac ;;
1400 esac
1401 ac_abs_top_builddir=$ac_pwd
1402 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1403 # for backward compatibility:
1404 ac_top_builddir=$ac_top_build_prefix
1405
1406 case $srcdir in
1407   .)  # We are building in place.
1408     ac_srcdir=.
1409     ac_top_srcdir=$ac_top_builddir_sub
1410     ac_abs_top_srcdir=$ac_pwd ;;
1411   [\\/]* | ?:[\\/]* )  # Absolute name.
1412     ac_srcdir=$srcdir$ac_dir_suffix;
1413     ac_top_srcdir=$srcdir
1414     ac_abs_top_srcdir=$srcdir ;;
1415   *) # Relative name.
1416     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1417     ac_top_srcdir=$ac_top_build_prefix$srcdir
1418     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1419 esac
1420 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1421
1422     cd "$ac_dir" || { ac_status=$?; continue; }
1423     # Check for guested configure.
1424     if test -f "$ac_srcdir/configure.gnu"; then
1425       echo &&
1426       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1427     elif test -f "$ac_srcdir/configure"; then
1428       echo &&
1429       $SHELL "$ac_srcdir/configure" --help=recursive
1430     else
1431       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1432     fi || ac_status=$?
1433     cd "$ac_pwd" || { ac_status=$?; break; }
1434   done
1435 fi
1436
1437 test -n "$ac_init_help" && exit $ac_status
1438 if $ac_init_version; then
1439   cat <<\_ACEOF
1440 module-init-tools configure 3.12-pre2
1441 generated by GNU Autoconf 2.63
1442
1443 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1444 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1445 This configure script is free software; the Free Software Foundation
1446 gives unlimited permission to copy, distribute and modify it.
1447 _ACEOF
1448   exit
1449 fi
1450 cat >config.log <<_ACEOF
1451 This file contains any messages produced by compilers while
1452 running configure, to aid debugging if configure makes a mistake.
1453
1454 It was created by module-init-tools $as_me 3.12-pre2, which was
1455 generated by GNU Autoconf 2.63.  Invocation command line was
1456
1457   $ $0 $@
1458
1459 _ACEOF
1460 exec 5>>config.log
1461 {
1462 cat <<_ASUNAME
1463 ## --------- ##
1464 ## Platform. ##
1465 ## --------- ##
1466
1467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1472
1473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1474 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1475
1476 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1477 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1479 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1480 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1481 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1482 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1483
1484 _ASUNAME
1485
1486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1487 for as_dir in $PATH
1488 do
1489   IFS=$as_save_IFS
1490   test -z "$as_dir" && as_dir=.
1491   $as_echo "PATH: $as_dir"
1492 done
1493 IFS=$as_save_IFS
1494
1495 } >&5
1496
1497 cat >&5 <<_ACEOF
1498
1499
1500 ## ----------- ##
1501 ## Core tests. ##
1502 ## ----------- ##
1503
1504 _ACEOF
1505
1506
1507 # Keep a trace of the command line.
1508 # Strip out --no-create and --no-recursion so they do not pile up.
1509 # Strip out --silent because we don't want to record it for future runs.
1510 # Also quote any args containing shell meta-characters.
1511 # Make two passes to allow for proper duplicate-argument suppression.
1512 ac_configure_args=
1513 ac_configure_args0=
1514 ac_configure_args1=
1515 ac_must_keep_next=false
1516 for ac_pass in 1 2
1517 do
1518   for ac_arg
1519   do
1520     case $ac_arg in
1521     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1522     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1523     | -silent | --silent | --silen | --sile | --sil)
1524       continue ;;
1525     *\'*)
1526       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1527     esac
1528     case $ac_pass in
1529     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1530     2)
1531       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1532       if test $ac_must_keep_next = true; then
1533         ac_must_keep_next=false # Got value, back to normal.
1534       else
1535         case $ac_arg in
1536           *=* | --config-cache | -C | -disable-* | --disable-* \
1537           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1538           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1539           | -with-* | --with-* | -without-* | --without-* | --x)
1540             case "$ac_configure_args0 " in
1541               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1542             esac
1543             ;;
1544           -* ) ac_must_keep_next=true ;;
1545         esac
1546       fi
1547       ac_configure_args="$ac_configure_args '$ac_arg'"
1548       ;;
1549     esac
1550   done
1551 done
1552 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1553 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1554
1555 # When interrupted or exit'd, cleanup temporary files, and complete
1556 # config.log.  We remove comments because anyway the quotes in there
1557 # would cause problems or look ugly.
1558 # WARNING: Use '\'' to represent an apostrophe within the trap.
1559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1560 trap 'exit_status=$?
1561   # Save into config.log some information that might help in debugging.
1562   {
1563     echo
1564
1565     cat <<\_ASBOX
1566 ## ---------------- ##
1567 ## Cache variables. ##
1568 ## ---------------- ##
1569 _ASBOX
1570     echo
1571     # The following way of writing the cache mishandles newlines in values,
1572 (
1573   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1574     eval ac_val=\$$ac_var
1575     case $ac_val in #(
1576     *${as_nl}*)
1577       case $ac_var in #(
1578       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1579 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1580       esac
1581       case $ac_var in #(
1582       _ | IFS | as_nl) ;; #(
1583       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1584       *) $as_unset $ac_var ;;
1585       esac ;;
1586     esac
1587   done
1588   (set) 2>&1 |
1589     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1590     *${as_nl}ac_space=\ *)
1591       sed -n \
1592         "s/'\''/'\''\\\\'\'''\''/g;
1593           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1594       ;; #(
1595     *)
1596       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1597       ;;
1598     esac |
1599     sort
1600 )
1601     echo
1602
1603     cat <<\_ASBOX
1604 ## ----------------- ##
1605 ## Output variables. ##
1606 ## ----------------- ##
1607 _ASBOX
1608     echo
1609     for ac_var in $ac_subst_vars
1610     do
1611       eval ac_val=\$$ac_var
1612       case $ac_val in
1613       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1614       esac
1615       $as_echo "$ac_var='\''$ac_val'\''"
1616     done | sort
1617     echo
1618
1619     if test -n "$ac_subst_files"; then
1620       cat <<\_ASBOX
1621 ## ------------------- ##
1622 ## File substitutions. ##
1623 ## ------------------- ##
1624 _ASBOX
1625       echo
1626       for ac_var in $ac_subst_files
1627       do
1628         eval ac_val=\$$ac_var
1629         case $ac_val in
1630         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631         esac
1632         $as_echo "$ac_var='\''$ac_val'\''"
1633       done | sort
1634       echo
1635     fi
1636
1637     if test -s confdefs.h; then
1638       cat <<\_ASBOX
1639 ## ----------- ##
1640 ## confdefs.h. ##
1641 ## ----------- ##
1642 _ASBOX
1643       echo
1644       cat confdefs.h
1645       echo
1646     fi
1647     test "$ac_signal" != 0 &&
1648       $as_echo "$as_me: caught signal $ac_signal"
1649     $as_echo "$as_me: exit $exit_status"
1650   } >&5
1651   rm -f core *.core core.conftest.* &&
1652     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1653     exit $exit_status
1654 ' 0
1655 for ac_signal in 1 2 13 15; do
1656   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1657 done
1658 ac_signal=0
1659
1660 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1661 rm -f -r conftest* confdefs.h
1662
1663 # Predefined preprocessor variables.
1664
1665 cat >>confdefs.h <<_ACEOF
1666 #define PACKAGE_NAME "$PACKAGE_NAME"
1667 _ACEOF
1668
1669
1670 cat >>confdefs.h <<_ACEOF
1671 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1672 _ACEOF
1673
1674
1675 cat >>confdefs.h <<_ACEOF
1676 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1677 _ACEOF
1678
1679
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_STRING "$PACKAGE_STRING"
1682 _ACEOF
1683
1684
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1687 _ACEOF
1688
1689
1690 # Let the site file select an alternate cache file if it wants to.
1691 # Prefer an explicitly selected file to automatically selected ones.
1692 ac_site_file1=NONE
1693 ac_site_file2=NONE
1694 if test -n "$CONFIG_SITE"; then
1695   ac_site_file1=$CONFIG_SITE
1696 elif test "x$prefix" != xNONE; then
1697   ac_site_file1=$prefix/share/config.site
1698   ac_site_file2=$prefix/etc/config.site
1699 else
1700   ac_site_file1=$ac_default_prefix/share/config.site
1701   ac_site_file2=$ac_default_prefix/etc/config.site
1702 fi
1703 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1704 do
1705   test "x$ac_site_file" = xNONE && continue
1706   if test -r "$ac_site_file"; then
1707     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1708 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1709     sed 's/^/| /' "$ac_site_file" >&5
1710     . "$ac_site_file"
1711   fi
1712 done
1713
1714 if test -r "$cache_file"; then
1715   # Some versions of bash will fail to source /dev/null (special
1716   # files actually), so we avoid doing that.
1717   if test -f "$cache_file"; then
1718     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1719 $as_echo "$as_me: loading cache $cache_file" >&6;}
1720     case $cache_file in
1721       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1722       *)                      . "./$cache_file";;
1723     esac
1724   fi
1725 else
1726   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1727 $as_echo "$as_me: creating cache $cache_file" >&6;}
1728   >$cache_file
1729 fi
1730
1731 # Check that the precious variables saved in the cache have kept the same
1732 # value.
1733 ac_cache_corrupted=false
1734 for ac_var in $ac_precious_vars; do
1735   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1736   eval ac_new_set=\$ac_env_${ac_var}_set
1737   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1738   eval ac_new_val=\$ac_env_${ac_var}_value
1739   case $ac_old_set,$ac_new_set in
1740     set,)
1741       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1742 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1743       ac_cache_corrupted=: ;;
1744     ,set)
1745       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1746 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1747       ac_cache_corrupted=: ;;
1748     ,);;
1749     *)
1750       if test "x$ac_old_val" != "x$ac_new_val"; then
1751         # differences in whitespace do not lead to failure.
1752         ac_old_val_w=`echo x $ac_old_val`
1753         ac_new_val_w=`echo x $ac_new_val`
1754         if test "$ac_old_val_w" != "$ac_new_val_w"; then
1755           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1757           ac_cache_corrupted=:
1758         else
1759           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1761           eval $ac_var=\$ac_old_val
1762         fi
1763         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
1764 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1765         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
1766 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1767       fi;;
1768   esac
1769   # Pass precious variables to config.status.
1770   if test "$ac_new_set" = set; then
1771     case $ac_new_val in
1772     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1773     *) ac_arg=$ac_var=$ac_new_val ;;
1774     esac
1775     case " $ac_configure_args " in
1776       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1777       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1778     esac
1779   fi
1780 done
1781 if $ac_cache_corrupted; then
1782   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1784   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788    { (exit 1); exit 1; }; }
1789 fi
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1820
1821
1822
1823 ac_aux_dir=
1824 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1825   if test -f "$ac_dir/install-sh"; then
1826     ac_aux_dir=$ac_dir
1827     ac_install_sh="$ac_aux_dir/install-sh -c"
1828     break
1829   elif test -f "$ac_dir/install.sh"; then
1830     ac_aux_dir=$ac_dir
1831     ac_install_sh="$ac_aux_dir/install.sh -c"
1832     break
1833   elif test -f "$ac_dir/shtool"; then
1834     ac_aux_dir=$ac_dir
1835     ac_install_sh="$ac_aux_dir/shtool install -c"
1836     break
1837   fi
1838 done
1839 if test -z "$ac_aux_dir"; then
1840   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1841 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1842    { (exit 1); exit 1; }; }
1843 fi
1844
1845 # These three variables are undocumented and unsupported,
1846 # and are intended to be withdrawn in a future Autoconf release.
1847 # They can cause serious problems if a builder's source tree is in a directory
1848 # whose full name contains unusual characters.
1849 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1850 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1851 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1852
1853
1854 # Make sure we can run config.sub.
1855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1856   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1857 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1858    { (exit 1); exit 1; }; }
1859
1860 { $as_echo "$as_me:$LINENO: checking build system type" >&5
1861 $as_echo_n "checking build system type... " >&6; }
1862 if test "${ac_cv_build+set}" = set; then
1863   $as_echo_n "(cached) " >&6
1864 else
1865   ac_build_alias=$build_alias
1866 test "x$ac_build_alias" = x &&
1867   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1868 test "x$ac_build_alias" = x &&
1869   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1870 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1871    { (exit 1); exit 1; }; }
1872 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1873   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1874 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1875    { (exit 1); exit 1; }; }
1876
1877 fi
1878 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1879 $as_echo "$ac_cv_build" >&6; }
1880 case $ac_cv_build in
1881 *-*-*) ;;
1882 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1883 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
1884    { (exit 1); exit 1; }; };;
1885 esac
1886 build=$ac_cv_build
1887 ac_save_IFS=$IFS; IFS='-'
1888 set x $ac_cv_build
1889 shift
1890 build_cpu=$1
1891 build_vendor=$2
1892 shift; shift
1893 # Remember, the first character of IFS is used to create $*,
1894 # except with old shells:
1895 build_os=$*
1896 IFS=$ac_save_IFS
1897 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1898
1899
1900 { $as_echo "$as_me:$LINENO: checking host system type" >&5
1901 $as_echo_n "checking host system type... " >&6; }
1902 if test "${ac_cv_host+set}" = set; then
1903   $as_echo_n "(cached) " >&6
1904 else
1905   if test "x$host_alias" = x; then
1906   ac_cv_host=$ac_cv_build
1907 else
1908   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1909     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1910 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1911    { (exit 1); exit 1; }; }
1912 fi
1913
1914 fi
1915 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1916 $as_echo "$ac_cv_host" >&6; }
1917 case $ac_cv_host in
1918 *-*-*) ;;
1919 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1920 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
1921    { (exit 1); exit 1; }; };;
1922 esac
1923 host=$ac_cv_host
1924 ac_save_IFS=$IFS; IFS='-'
1925 set x $ac_cv_host
1926 shift
1927 host_cpu=$1
1928 host_vendor=$2
1929 shift; shift
1930 # Remember, the first character of IFS is used to create $*,
1931 # except with old shells:
1932 host_os=$*
1933 IFS=$ac_save_IFS
1934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1935
1936
1937 { $as_echo "$as_me:$LINENO: checking target system type" >&5
1938 $as_echo_n "checking target system type... " >&6; }
1939 if test "${ac_cv_target+set}" = set; then
1940   $as_echo_n "(cached) " >&6
1941 else
1942   if test "x$target_alias" = x; then
1943   ac_cv_target=$ac_cv_host
1944 else
1945   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1946     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1947 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1948    { (exit 1); exit 1; }; }
1949 fi
1950
1951 fi
1952 { $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1953 $as_echo "$ac_cv_target" >&6; }
1954 case $ac_cv_target in
1955 *-*-*) ;;
1956 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1957 $as_echo "$as_me: error: invalid value of canonical target" >&2;}
1958    { (exit 1); exit 1; }; };;
1959 esac
1960 target=$ac_cv_target
1961 ac_save_IFS=$IFS; IFS='-'
1962 set x $ac_cv_target
1963 shift
1964 target_cpu=$1
1965 target_vendor=$2
1966 shift; shift
1967 # Remember, the first character of IFS is used to create $*,
1968 # except with old shells:
1969 target_os=$*
1970 IFS=$ac_save_IFS
1971 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1972
1973
1974 # The aliases save the names the user supplied, while $host etc.
1975 # will get canonicalized.
1976 test -n "$target_alias" &&
1977   test "$program_prefix$program_suffix$program_transform_name" = \
1978     NONENONEs,x,x, &&
1979   program_prefix=${target_alias}-
1980
1981
1982    # [$]@ is unsable in 2.60+ but earlier autoconf had no ac_configure_args
1983    if test "${ac_configure_args+set}" != "set" ; then
1984       ac_configure_args=
1985       for ac_arg in ${1+"$@"}; do
1986          ac_configure_args="$ac_configure_args '$ac_arg'"
1987       done
1988    fi
1989
1990 # expand $ac_aux_dir to an absolute path
1991 am_aux_dir=`cd $ac_aux_dir && pwd`
1992
1993
1994 ax_enable_builddir="."
1995 # Check whether --enable-builddir was given.
1996 if test "${enable_builddir+set}" = set; then
1997   enableval=$enable_builddir; ax_enable_builddir="$enableval"
1998 else
1999   ax_enable_builddir="auto"
2000 fi
2001
2002 if test ".$ac_srcdir_defaulted" != ".no" ; then
2003 if test ".$srcdir" = ".." ; then
2004   if test -f config.status ; then
2005     { $as_echo "$as_me:$LINENO: toplevel srcdir already configured... skipping subdir build" >&5
2006 $as_echo "$as_me: toplevel srcdir already configured... skipping subdir build" >&6;}
2007   else
2008     test ".$ax_enable_builddir" = "."  && ax_enable_builddir="."
2009     test ".$ax_enable_builddir" = ".no"  && ax_enable_builddir="."
2010     test ".$TARGET" = "." && TARGET="$target"
2011     test ".$ax_enable_builddir" = ".auto" && ax_enable_builddir="build"
2012     if test ".$ax_enable_builddir" != ".." ; then    # we know where to go and
2013       { as_dir=$ax_enable_builddir
2014   case $as_dir in #(
2015   -*) as_dir=./$as_dir;;
2016   esac
2017   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
2018     as_dirs=
2019     while :; do
2020       case $as_dir in #(
2021       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2022       *) as_qdir=$as_dir;;
2023       esac
2024       as_dirs="'$as_qdir' $as_dirs"
2025       as_dir=`$as_dirname -- "$as_dir" ||
2026 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2027          X"$as_dir" : 'X\(//\)[^/]' \| \
2028          X"$as_dir" : 'X\(//\)$' \| \
2029          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2030 $as_echo X"$as_dir" |
2031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2032             s//\1/
2033             q
2034           }
2035           /^X\(\/\/\)[^/].*/{
2036             s//\1/
2037             q
2038           }
2039           /^X\(\/\/\)$/{
2040             s//\1/
2041             q
2042           }
2043           /^X\(\/\).*/{
2044             s//\1/
2045             q
2046           }
2047           s/.*/./; q'`
2048       test -d "$as_dir" && break
2049     done
2050     test -z "$as_dirs" || eval "mkdir $as_dirs"
2051   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2052 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
2053    { (exit 1); exit 1; }; }; }
2054       echo __.$ax_enable_builddir.__ > $ax_enable_builddir/conftest.tmp
2055       cd $ax_enable_builddir
2056       if grep __.$ax_enable_builddir.__ conftest.tmp >/dev/null 2>/dev/null ; then
2057         rm conftest.tmp
2058         { $as_echo "$as_me:$LINENO: result: continue configure in default builddir \"./$ax_enable_builddir\"" >&5
2059 $as_echo "continue configure in default builddir \"./$ax_enable_builddir\"" >&6; }
2060       else
2061         { { $as_echo "$as_me:$LINENO: error: could not change to default builddir \"./$ax_enable_builddir\"" >&5
2062 $as_echo "$as_me: error: could not change to default builddir \"./$ax_enable_builddir\"" >&2;}
2063    { (exit 1); exit 1; }; }
2064       fi
2065       srcdir=`echo "$ax_enable_builddir" |
2066               sed -e 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g;s,[/]$,,;'`
2067       # going to restart from subdirectory location
2068       test -f $srcdir/config.log   && mv $srcdir/config.log   .
2069       test -f $srcdir/confdefs.h   && mv $srcdir/confdefs.h   .
2070       test -f $srcdir/conftest.log && mv $srcdir/conftest.log .
2071       test -f $srcdir/$cache_file  && mv $srcdir/$cache_file  .
2072       { $as_echo "$as_me:$LINENO: result: ....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&5
2073 $as_echo "....exec $SHELL $srcdir/$0 \"--srcdir=$srcdir\" \"--enable-builddir=$ax_enable_builddir\" ${1+\"$@\"}" >&6; }
2074       case "$0" in # restart
2075        /\\*) eval $SHELL "'$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2076        *) eval $SHELL "'$srcdir/$0'" "'--srcdir=$srcdir'" "'--enable-builddir=$ax_enable_builddir'" $ac_configure_args ;;
2077       esac ; exit $?
2078     fi
2079   fi
2080 fi fi
2081 test ".$ax_enable_builddir" = ".auto" && ax_enable_builddir="."
2082 # Extract the first word of "gsed sed", so it can be a program name with args.
2083 set dummy gsed sed; ac_word=$2
2084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 $as_echo_n "checking for $ac_word... " >&6; }
2086 if test "${ac_cv_path_ax_enable_builddir_sed+set}" = set; then
2087   $as_echo_n "(cached) " >&6
2088 else
2089   case $ax_enable_builddir_sed in
2090   [\\/]* | ?:[\\/]*)
2091   ac_cv_path_ax_enable_builddir_sed="$ax_enable_builddir_sed" # Let the user override the test with a path.
2092   ;;
2093   *)
2094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2096 do
2097   IFS=$as_save_IFS
2098   test -z "$as_dir" && as_dir=.
2099   for ac_exec_ext in '' $ac_executable_extensions; do
2100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101     ac_cv_path_ax_enable_builddir_sed="$as_dir/$ac_word$ac_exec_ext"
2102     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103     break 2
2104   fi
2105 done
2106 done
2107 IFS=$as_save_IFS
2108
2109   test -z "$ac_cv_path_ax_enable_builddir_sed" && ac_cv_path_ax_enable_builddir_sed="sed"
2110   ;;
2111 esac
2112 fi
2113 ax_enable_builddir_sed=$ac_cv_path_ax_enable_builddir_sed
2114 if test -n "$ax_enable_builddir_sed"; then
2115   { $as_echo "$as_me:$LINENO: result: $ax_enable_builddir_sed" >&5
2116 $as_echo "$ax_enable_builddir_sed" >&6; }
2117 else
2118   { $as_echo "$as_me:$LINENO: result: no" >&5
2119 $as_echo "no" >&6; }
2120 fi
2121
2122
2123 ax_enable_builddir_auxdir="$am_aux_dir"
2124 ac_config_commands="$ac_config_commands buildir"
2125
2126
2127 # Use -no-portability since we're never going to use module-init-tools on
2128 # non-Linux systems and it's reasonable to expect GNU-compatibility here.
2129 am__api_version='1.11'
2130
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 # Reject install programs that cannot install multiple files.
2145 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2146 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2147 if test -z "$INSTALL"; then
2148 if test "${ac_cv_path_install+set}" = set; then
2149   $as_echo_n "(cached) " >&6
2150 else
2151   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2153 do
2154   IFS=$as_save_IFS
2155   test -z "$as_dir" && as_dir=.
2156   # Account for people who put trailing slashes in PATH elements.
2157 case $as_dir/ in
2158   ./ | .// | /cC/* | \
2159   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2160   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2161   /usr/ucb/* ) ;;
2162   *)
2163     # OSF1 and SCO ODT 3.0 have their own names for install.
2164     # Don't use installbsd from OSF since it installs stuff as root
2165     # by default.
2166     for ac_prog in ginstall scoinst install; do
2167       for ac_exec_ext in '' $ac_executable_extensions; do
2168         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2169           if test $ac_prog = install &&
2170             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171             # AIX install.  It has an incompatible calling convention.
2172             :
2173           elif test $ac_prog = install &&
2174             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2175             # program-specific install script used by HP pwplus--don't use.
2176             :
2177           else
2178             rm -rf conftest.one conftest.two conftest.dir
2179             echo one > conftest.one
2180             echo two > conftest.two
2181             mkdir conftest.dir
2182             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2183               test -s conftest.one && test -s conftest.two &&
2184               test -s conftest.dir/conftest.one &&
2185               test -s conftest.dir/conftest.two
2186             then
2187               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2188               break 3
2189             fi
2190           fi
2191         fi
2192       done
2193     done
2194     ;;
2195 esac
2196
2197 done
2198 IFS=$as_save_IFS
2199
2200 rm -rf conftest.one conftest.two conftest.dir
2201
2202 fi
2203   if test "${ac_cv_path_install+set}" = set; then
2204     INSTALL=$ac_cv_path_install
2205   else
2206     # As a last resort, use the slow shell script.  Don't cache a
2207     # value for INSTALL within a source directory, because that will
2208     # break other packages using the cache if that directory is
2209     # removed, or if the value is a relative name.
2210     INSTALL=$ac_install_sh
2211   fi
2212 fi
2213 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2214 $as_echo "$INSTALL" >&6; }
2215
2216 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2217 # It thinks the first close brace ends the variable substitution.
2218 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2219
2220 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2221
2222 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2223
2224 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2225 $as_echo_n "checking whether build environment is sane... " >&6; }
2226 # Just in case
2227 sleep 1
2228 echo timestamp > conftest.file
2229 # Reject unsafe characters in $srcdir or the absolute working directory
2230 # name.  Accept space and tab only in the latter.
2231 am_lf='
2232 '
2233 case `pwd` in
2234   *[\\\"\#\$\&\'\`$am_lf]*)
2235     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2236 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2237    { (exit 1); exit 1; }; };;
2238 esac
2239 case $srcdir in
2240   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2241     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2242 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2243    { (exit 1); exit 1; }; };;
2244 esac
2245
2246 # Do `set' in a subshell so we don't clobber the current shell's
2247 # arguments.  Must try -L first in case configure is actually a
2248 # symlink; some systems play weird games with the mod time of symlinks
2249 # (eg FreeBSD returns the mod time of the symlink's containing
2250 # directory).
2251 if (
2252    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2253    if test "$*" = "X"; then
2254       # -L didn't work.
2255       set X `ls -t "$srcdir/configure" conftest.file`
2256    fi
2257    rm -f conftest.file
2258    if test "$*" != "X $srcdir/configure conftest.file" \
2259       && test "$*" != "X conftest.file $srcdir/configure"; then
2260
2261       # If neither matched, then we have a broken ls.  This can happen
2262       # if, for instance, CONFIG_SHELL is bash and it inherits a
2263       # broken ls alias from the environment.  This has actually
2264       # happened.  Such a system could not be considered "sane".
2265       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2266 alias in your environment" >&5
2267 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2268 alias in your environment" >&2;}
2269    { (exit 1); exit 1; }; }
2270    fi
2271
2272    test "$2" = conftest.file
2273    )
2274 then
2275    # Ok.
2276    :
2277 else
2278    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2279 Check your system clock" >&5
2280 $as_echo "$as_me: error: newly created file is older than distributed files!
2281 Check your system clock" >&2;}
2282    { (exit 1); exit 1; }; }
2283 fi
2284 { $as_echo "$as_me:$LINENO: result: yes" >&5
2285 $as_echo "yes" >&6; }
2286 test "$program_prefix" != NONE &&
2287   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2288 # Use a double $ so make ignores it.
2289 test "$program_suffix" != NONE &&
2290   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2291 # Double any \ or $.
2292 # By default was `s,x,x', remove it if useless.
2293 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2294 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2295
2296 if test x"${MISSING+set}" != xset; then
2297   case $am_aux_dir in
2298   *\ * | *\     *)
2299     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2300   *)
2301     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2302   esac
2303 fi
2304 # Use eval to expand $SHELL
2305 if eval "$MISSING --run true"; then
2306   am_missing_run="$MISSING --run "
2307 else
2308   am_missing_run=
2309   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2310 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2311 fi
2312
2313 if test x"${install_sh}" != xset; then
2314   case $am_aux_dir in
2315   *\ * | *\     *)
2316     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2317   *)
2318     install_sh="\${SHELL} $am_aux_dir/install-sh"
2319   esac
2320 fi
2321
2322 # Installed binaries are usually stripped using `strip' when the user
2323 # run `make install-strip'.  However `strip' might not be the right
2324 # tool to use in cross-compilation environments, therefore Automake
2325 # will honor the `STRIP' environment variable to overrule this program.
2326 if test "$cross_compiling" != no; then
2327   if test -n "$ac_tool_prefix"; then
2328   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2329 set dummy ${ac_tool_prefix}strip; ac_word=$2
2330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if test "${ac_cv_prog_STRIP+set}" = set; then
2333   $as_echo_n "(cached) " >&6
2334 else
2335   if test -n "$STRIP"; then
2336   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2337 else
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2339 for as_dir in $PATH
2340 do
2341   IFS=$as_save_IFS
2342   test -z "$as_dir" && as_dir=.
2343   for ac_exec_ext in '' $ac_executable_extensions; do
2344   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2345     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2346     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2347     break 2
2348   fi
2349 done
2350 done
2351 IFS=$as_save_IFS
2352
2353 fi
2354 fi
2355 STRIP=$ac_cv_prog_STRIP
2356 if test -n "$STRIP"; then
2357   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2358 $as_echo "$STRIP" >&6; }
2359 else
2360   { $as_echo "$as_me:$LINENO: result: no" >&5
2361 $as_echo "no" >&6; }
2362 fi
2363
2364
2365 fi
2366 if test -z "$ac_cv_prog_STRIP"; then
2367   ac_ct_STRIP=$STRIP
2368   # Extract the first word of "strip", so it can be a program name with args.
2369 set dummy strip; ac_word=$2
2370 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 $as_echo_n "checking for $ac_word... " >&6; }
2372 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2373   $as_echo_n "(cached) " >&6
2374 else
2375   if test -n "$ac_ct_STRIP"; then
2376   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2377 else
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383   for ac_exec_ext in '' $ac_executable_extensions; do
2384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385     ac_cv_prog_ac_ct_STRIP="strip"
2386     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387     break 2
2388   fi
2389 done
2390 done
2391 IFS=$as_save_IFS
2392
2393 fi
2394 fi
2395 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2396 if test -n "$ac_ct_STRIP"; then
2397   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2398 $as_echo "$ac_ct_STRIP" >&6; }
2399 else
2400   { $as_echo "$as_me:$LINENO: result: no" >&5
2401 $as_echo "no" >&6; }
2402 fi
2403
2404   if test "x$ac_ct_STRIP" = x; then
2405     STRIP=":"
2406   else
2407     case $cross_compiling:$ac_tool_warned in
2408 yes:)
2409 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2410 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2411 ac_tool_warned=yes ;;
2412 esac
2413     STRIP=$ac_ct_STRIP
2414   fi
2415 else
2416   STRIP="$ac_cv_prog_STRIP"
2417 fi
2418
2419 fi
2420 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2421
2422 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2423 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2424 if test -z "$MKDIR_P"; then
2425   if test "${ac_cv_path_mkdir+set}" = set; then
2426   $as_echo_n "(cached) " >&6
2427 else
2428   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2429 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2430 do
2431   IFS=$as_save_IFS
2432   test -z "$as_dir" && as_dir=.
2433   for ac_prog in mkdir gmkdir; do
2434          for ac_exec_ext in '' $ac_executable_extensions; do
2435            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2436            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2437              'mkdir (GNU coreutils) '* | \
2438              'mkdir (coreutils) '* | \
2439              'mkdir (fileutils) '4.1*)
2440                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2441                break 3;;
2442            esac
2443          done
2444        done
2445 done
2446 IFS=$as_save_IFS
2447
2448 fi
2449
2450   if test "${ac_cv_path_mkdir+set}" = set; then
2451     MKDIR_P="$ac_cv_path_mkdir -p"
2452   else
2453     # As a last resort, use the slow shell script.  Don't cache a
2454     # value for MKDIR_P within a source directory, because that will
2455     # break other packages using the cache if that directory is
2456     # removed, or if the value is a relative name.
2457     test -d ./--version && rmdir ./--version
2458     MKDIR_P="$ac_install_sh -d"
2459   fi
2460 fi
2461 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2462 $as_echo "$MKDIR_P" >&6; }
2463
2464 mkdir_p="$MKDIR_P"
2465 case $mkdir_p in
2466   [\\/$]* | ?:[\\/]*) ;;
2467   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2468 esac
2469
2470 for ac_prog in gawk mawk nawk awk
2471 do
2472   # Extract the first word of "$ac_prog", so it can be a program name with args.
2473 set dummy $ac_prog; ac_word=$2
2474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2475 $as_echo_n "checking for $ac_word... " >&6; }
2476 if test "${ac_cv_prog_AWK+set}" = set; then
2477   $as_echo_n "(cached) " >&6
2478 else
2479   if test -n "$AWK"; then
2480   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2481 else
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 for as_dir in $PATH
2484 do
2485   IFS=$as_save_IFS
2486   test -z "$as_dir" && as_dir=.
2487   for ac_exec_ext in '' $ac_executable_extensions; do
2488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2489     ac_cv_prog_AWK="$ac_prog"
2490     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2491     break 2
2492   fi
2493 done
2494 done
2495 IFS=$as_save_IFS
2496
2497 fi
2498 fi
2499 AWK=$ac_cv_prog_AWK
2500 if test -n "$AWK"; then
2501   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2502 $as_echo "$AWK" >&6; }
2503 else
2504   { $as_echo "$as_me:$LINENO: result: no" >&5
2505 $as_echo "no" >&6; }
2506 fi
2507
2508
2509   test -n "$AWK" && break
2510 done
2511
2512 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2513 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2514 set x ${MAKE-make}
2515 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2516 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2517   $as_echo_n "(cached) " >&6
2518 else
2519   cat >conftest.make <<\_ACEOF
2520 SHELL = /bin/sh
2521 all:
2522         @echo '@@@%%%=$(MAKE)=@@@%%%'
2523 _ACEOF
2524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2525 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2526   *@@@%%%=?*=@@@%%%*)
2527     eval ac_cv_prog_make_${ac_make}_set=yes;;
2528   *)
2529     eval ac_cv_prog_make_${ac_make}_set=no;;
2530 esac
2531 rm -f conftest.make
2532 fi
2533 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2534   { $as_echo "$as_me:$LINENO: result: yes" >&5
2535 $as_echo "yes" >&6; }
2536   SET_MAKE=
2537 else
2538   { $as_echo "$as_me:$LINENO: result: no" >&5
2539 $as_echo "no" >&6; }
2540   SET_MAKE="MAKE=${MAKE-make}"
2541 fi
2542
2543 rm -rf .tst 2>/dev/null
2544 mkdir .tst 2>/dev/null
2545 if test -d .tst; then
2546   am__leading_dot=.
2547 else
2548   am__leading_dot=_
2549 fi
2550 rmdir .tst 2>/dev/null
2551
2552 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2553   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2554   # is not polluted with repeated "-I."
2555   am__isrc=' -I$(srcdir)'
2556   # test to see if srcdir already configured
2557   if test -f $srcdir/config.status; then
2558     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2559 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2560    { (exit 1); exit 1; }; }
2561   fi
2562 fi
2563
2564 # test whether we have cygpath
2565 if test -z "$CYGPATH_W"; then
2566   if (cygpath --version) >/dev/null 2>/dev/null; then
2567     CYGPATH_W='cygpath -w'
2568   else
2569     CYGPATH_W=echo
2570   fi
2571 fi
2572
2573
2574 # Define the identity of the package.
2575  PACKAGE='module-init-tools'
2576  VERSION='3.12-pre2'
2577
2578
2579 cat >>confdefs.h <<_ACEOF
2580 #define PACKAGE "$PACKAGE"
2581 _ACEOF
2582
2583
2584 cat >>confdefs.h <<_ACEOF
2585 #define VERSION "$VERSION"
2586 _ACEOF
2587
2588 # Some tools Automake needs.
2589
2590 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2591
2592
2593 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2594
2595
2596 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2597
2598
2599 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2600
2601
2602 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2603
2604 # We need awk for the "check" target.  The system "awk" is bad on
2605 # some platforms.
2606 # Always define AMTAR for backward compatibility.
2607
2608 AMTAR=${AMTAR-"${am_missing_run}tar"}
2609
2610 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2611
2612
2613
2614
2615
2616
2617 # If zlib is required, libz must be linked static, modprobe is in
2618 # /sbin, libz is in /usr/lib and may not be available when it is run.
2619 # Check whether --enable-zlib was given.
2620 if test "${enable_zlib+set}" = set; then
2621   enableval=$enable_zlib; if test "$enableval" = "yes"; then
2622   cat >>confdefs.h <<\_ACEOF
2623 #define CONFIG_USE_ZLIB 1
2624 _ACEOF
2625
2626   zlib_flags="-Wl,-Bstatic -lz -Wl,-Bdynamic"
2627 fi
2628 fi
2629
2630
2631 # Check whether --enable-zlib-dynamic was given.
2632 if test "${enable_zlib_dynamic+set}" = set; then
2633   enableval=$enable_zlib_dynamic; if test "$enableval" = "yes"; then
2634   cat >>confdefs.h <<\_ACEOF
2635 #define CONFIG_USE_ZLIB 1
2636 _ACEOF
2637
2638   zlib_flags="-lz"
2639 fi
2640 fi
2641
2642
2643 ac_ext=c
2644 ac_cpp='$CPP $CPPFLAGS'
2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2648 if test -n "$ac_tool_prefix"; then
2649   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2650 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2651 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_CC+set}" = set; then
2654   $as_echo_n "(cached) " >&6
2655 else
2656   if test -n "$CC"; then
2657   ac_cv_prog_CC="$CC" # Let the user override the test.
2658 else
2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 for as_dir in $PATH
2661 do
2662   IFS=$as_save_IFS
2663   test -z "$as_dir" && as_dir=.
2664   for ac_exec_ext in '' $ac_executable_extensions; do
2665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2667     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2668     break 2
2669   fi
2670 done
2671 done
2672 IFS=$as_save_IFS
2673
2674 fi
2675 fi
2676 CC=$ac_cv_prog_CC
2677 if test -n "$CC"; then
2678   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2679 $as_echo "$CC" >&6; }
2680 else
2681   { $as_echo "$as_me:$LINENO: result: no" >&5
2682 $as_echo "no" >&6; }
2683 fi
2684
2685
2686 fi
2687 if test -z "$ac_cv_prog_CC"; then
2688   ac_ct_CC=$CC
2689   # Extract the first word of "gcc", so it can be a program name with args.
2690 set dummy gcc; ac_word=$2
2691 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2694   $as_echo_n "(cached) " >&6
2695 else
2696   if test -n "$ac_ct_CC"; then
2697   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2698 else
2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2700 for as_dir in $PATH
2701 do
2702   IFS=$as_save_IFS
2703   test -z "$as_dir" && as_dir=.
2704   for ac_exec_ext in '' $ac_executable_extensions; do
2705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706     ac_cv_prog_ac_ct_CC="gcc"
2707     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2708     break 2
2709   fi
2710 done
2711 done
2712 IFS=$as_save_IFS
2713
2714 fi
2715 fi
2716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2719 $as_echo "$ac_ct_CC" >&6; }
2720 else
2721   { $as_echo "$as_me:$LINENO: result: no" >&5
2722 $as_echo "no" >&6; }
2723 fi
2724
2725   if test "x$ac_ct_CC" = x; then
2726     CC=""
2727   else
2728     case $cross_compiling:$ac_tool_warned in
2729 yes:)
2730 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732 ac_tool_warned=yes ;;
2733 esac
2734     CC=$ac_ct_CC
2735   fi
2736 else
2737   CC="$ac_cv_prog_CC"
2738 fi
2739
2740 if test -z "$CC"; then
2741           if test -n "$ac_tool_prefix"; then
2742     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2743 set dummy ${ac_tool_prefix}cc; ac_word=$2
2744 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_CC+set}" = set; then
2747   $as_echo_n "(cached) " >&6
2748 else
2749   if test -n "$CC"; then
2750   ac_cv_prog_CC="$CC" # Let the user override the test.
2751 else
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2753 for as_dir in $PATH
2754 do
2755   IFS=$as_save_IFS
2756   test -z "$as_dir" && as_dir=.
2757   for ac_exec_ext in '' $ac_executable_extensions; do
2758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759     ac_cv_prog_CC="${ac_tool_prefix}cc"
2760     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2761     break 2
2762   fi
2763 done
2764 done
2765 IFS=$as_save_IFS
2766
2767 fi
2768 fi
2769 CC=$ac_cv_prog_CC
2770 if test -n "$CC"; then
2771   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2772 $as_echo "$CC" >&6; }
2773 else
2774   { $as_echo "$as_me:$LINENO: result: no" >&5
2775 $as_echo "no" >&6; }
2776 fi
2777
2778
2779   fi
2780 fi
2781 if test -z "$CC"; then
2782   # Extract the first word of "cc", so it can be a program name with args.
2783 set dummy cc; ac_word=$2
2784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_CC+set}" = set; then
2787   $as_echo_n "(cached) " >&6
2788 else
2789   if test -n "$CC"; then
2790   ac_cv_prog_CC="$CC" # Let the user override the test.
2791 else
2792   ac_prog_rejected=no
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 for as_dir in $PATH
2795 do
2796   IFS=$as_save_IFS
2797   test -z "$as_dir" && as_dir=.
2798   for ac_exec_ext in '' $ac_executable_extensions; do
2799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2801        ac_prog_rejected=yes
2802        continue
2803      fi
2804     ac_cv_prog_CC="cc"
2805     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2806     break 2
2807   fi
2808 done
2809 done
2810 IFS=$as_save_IFS
2811
2812 if test $ac_prog_rejected = yes; then
2813   # We found a bogon in the path, so make sure we never use it.
2814   set dummy $ac_cv_prog_CC
2815   shift
2816   if test $# != 0; then
2817     # We chose a different compiler from the bogus one.
2818     # However, it has the same basename, so the bogon will be chosen
2819     # first if we set CC to just the basename; use the full file name.
2820     shift
2821     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2822   fi
2823 fi
2824 fi
2825 fi
2826 CC=$ac_cv_prog_CC
2827 if test -n "$CC"; then
2828   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2830 else
2831   { $as_echo "$as_me:$LINENO: result: no" >&5
2832 $as_echo "no" >&6; }
2833 fi
2834
2835
2836 fi
2837 if test -z "$CC"; then
2838   if test -n "$ac_tool_prefix"; then
2839   for ac_prog in cl.exe
2840   do
2841     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2843 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_CC+set}" = set; then
2846   $as_echo_n "(cached) " >&6
2847 else
2848   if test -n "$CC"; then
2849   ac_cv_prog_CC="$CC" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2853 do
2854   IFS=$as_save_IFS
2855   test -z "$as_dir" && as_dir=.
2856   for ac_exec_ext in '' $ac_executable_extensions; do
2857   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2859     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2860     break 2
2861   fi
2862 done
2863 done
2864 IFS=$as_save_IFS
2865
2866 fi
2867 fi
2868 CC=$ac_cv_prog_CC
2869 if test -n "$CC"; then
2870   { $as_echo "$as_me:$LINENO: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2872 else
2873   { $as_echo "$as_me:$LINENO: result: no" >&5
2874 $as_echo "no" >&6; }
2875 fi
2876
2877
2878     test -n "$CC" && break
2879   done
2880 fi
2881 if test -z "$CC"; then
2882   ac_ct_CC=$CC
2883   for ac_prog in cl.exe
2884 do
2885   # Extract the first word of "$ac_prog", so it can be a program name with args.
2886 set dummy $ac_prog; ac_word=$2
2887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2890   $as_echo_n "(cached) " >&6
2891 else
2892   if test -n "$ac_ct_CC"; then
2893   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2894 else
2895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896 for as_dir in $PATH
2897 do
2898   IFS=$as_save_IFS
2899   test -z "$as_dir" && as_dir=.
2900   for ac_exec_ext in '' $ac_executable_extensions; do
2901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902     ac_cv_prog_ac_ct_CC="$ac_prog"
2903     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2904     break 2
2905   fi
2906 done
2907 done
2908 IFS=$as_save_IFS
2909
2910 fi
2911 fi
2912 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2913 if test -n "$ac_ct_CC"; then
2914   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2915 $as_echo "$ac_ct_CC" >&6; }
2916 else
2917   { $as_echo "$as_me:$LINENO: result: no" >&5
2918 $as_echo "no" >&6; }
2919 fi
2920
2921
2922   test -n "$ac_ct_CC" && break
2923 done
2924
2925   if test "x$ac_ct_CC" = x; then
2926     CC=""
2927   else
2928     case $cross_compiling:$ac_tool_warned in
2929 yes:)
2930 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932 ac_tool_warned=yes ;;
2933 esac
2934     CC=$ac_ct_CC
2935   fi
2936 fi
2937
2938 fi
2939
2940
2941 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2944 See \`config.log' for more details." >&5
2945 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2946 See \`config.log' for more details." >&2;}
2947    { (exit 1); exit 1; }; }; }
2948
2949 # Provide some information about the compiler.
2950 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2951 set X $ac_compile
2952 ac_compiler=$2
2953 { (ac_try="$ac_compiler --version >&5"
2954 case "(($ac_try" in
2955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956   *) ac_try_echo=$ac_try;;
2957 esac
2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959 $as_echo "$ac_try_echo") >&5
2960   (eval "$ac_compiler --version >&5") 2>&5
2961   ac_status=$?
2962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963   (exit $ac_status); }
2964 { (ac_try="$ac_compiler -v >&5"
2965 case "(($ac_try" in
2966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967   *) ac_try_echo=$ac_try;;
2968 esac
2969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2970 $as_echo "$ac_try_echo") >&5
2971   (eval "$ac_compiler -v >&5") 2>&5
2972   ac_status=$?
2973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974   (exit $ac_status); }
2975 { (ac_try="$ac_compiler -V >&5"
2976 case "(($ac_try" in
2977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2978   *) ac_try_echo=$ac_try;;
2979 esac
2980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2981 $as_echo "$ac_try_echo") >&5
2982   (eval "$ac_compiler -V >&5") 2>&5
2983   ac_status=$?
2984   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985   (exit $ac_status); }
2986
2987 cat >conftest.$ac_ext <<_ACEOF
2988 /* confdefs.h.  */
2989 _ACEOF
2990 cat confdefs.h >>conftest.$ac_ext
2991 cat >>conftest.$ac_ext <<_ACEOF
2992 /* end confdefs.h.  */
2993
2994 int
2995 main ()
2996 {
2997
2998   ;
2999   return 0;
3000 }
3001 _ACEOF
3002 ac_clean_files_save=$ac_clean_files
3003 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3004 # Try to create an executable without -o first, disregard a.out.
3005 # It will help us diagnose broken compilers, and finding out an intuition
3006 # of exeext.
3007 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3008 $as_echo_n "checking for C compiler default output file name... " >&6; }
3009 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3010
3011 # The possible output files:
3012 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3013
3014 ac_rmfiles=
3015 for ac_file in $ac_files
3016 do
3017   case $ac_file in
3018     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3020   esac
3021 done
3022 rm -f $ac_rmfiles
3023
3024 if { (ac_try="$ac_link_default"
3025 case "(($ac_try" in
3026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027   *) ac_try_echo=$ac_try;;
3028 esac
3029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030 $as_echo "$ac_try_echo") >&5
3031   (eval "$ac_link_default") 2>&5
3032   ac_status=$?
3033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034   (exit $ac_status); }; then
3035   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3036 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3037 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3038 # so that the user can short-circuit this test for compilers unknown to
3039 # Autoconf.
3040 for ac_file in $ac_files ''
3041 do
3042   test -f "$ac_file" || continue
3043   case $ac_file in
3044     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3045         ;;
3046     [ab].out )
3047         # We found the default executable, but exeext='' is most
3048         # certainly right.
3049         break;;
3050     *.* )
3051         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3052         then :; else
3053            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3054         fi
3055         # We set ac_cv_exeext here because the later test for it is not
3056         # safe: cross compilers may not add the suffix if given an `-o'
3057         # argument, so we may need to know it at that point already.
3058         # Even if this section looks crufty: it has the advantage of
3059         # actually working.
3060         break;;
3061     * )
3062         break;;
3063   esac
3064 done
3065 test "$ac_cv_exeext" = no && ac_cv_exeext=
3066
3067 else
3068   ac_file=''
3069 fi
3070
3071 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3072 $as_echo "$ac_file" >&6; }
3073 if test -z "$ac_file"; then
3074   $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.$ac_ext >&5
3076
3077 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3080 See \`config.log' for more details." >&5
3081 $as_echo "$as_me: error: C compiler cannot create executables
3082 See \`config.log' for more details." >&2;}
3083    { (exit 77); exit 77; }; }; }
3084 fi
3085
3086 ac_exeext=$ac_cv_exeext
3087
3088 # Check that the compiler produces executables we can run.  If not, either
3089 # the compiler is broken, or we cross compile.
3090 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3091 $as_echo_n "checking whether the C compiler works... " >&6; }
3092 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3093 # If not cross compiling, check that we can run a simple program.
3094 if test "$cross_compiling" != yes; then
3095   if { ac_try='./$ac_file'
3096   { (case "(($ac_try" in
3097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098   *) ac_try_echo=$ac_try;;
3099 esac
3100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3101 $as_echo "$ac_try_echo") >&5
3102   (eval "$ac_try") 2>&5
3103   ac_status=$?
3104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105   (exit $ac_status); }; }; then
3106     cross_compiling=no
3107   else
3108     if test "$cross_compiling" = maybe; then
3109         cross_compiling=yes
3110     else
3111         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3112 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3113 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3114 If you meant to cross compile, use \`--host'.
3115 See \`config.log' for more details." >&5
3116 $as_echo "$as_me: error: cannot run C compiled programs.
3117 If you meant to cross compile, use \`--host'.
3118 See \`config.log' for more details." >&2;}
3119    { (exit 1); exit 1; }; }; }
3120     fi
3121   fi
3122 fi
3123 { $as_echo "$as_me:$LINENO: result: yes" >&5
3124 $as_echo "yes" >&6; }
3125
3126 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3127 ac_clean_files=$ac_clean_files_save
3128 # Check that the compiler produces executables we can run.  If not, either
3129 # the compiler is broken, or we cross compile.
3130 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3131 $as_echo_n "checking whether we are cross compiling... " >&6; }
3132 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3133 $as_echo "$cross_compiling" >&6; }
3134
3135 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3136 $as_echo_n "checking for suffix of executables... " >&6; }
3137 if { (ac_try="$ac_link"
3138 case "(($ac_try" in
3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140   *) ac_try_echo=$ac_try;;
3141 esac
3142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3143 $as_echo "$ac_try_echo") >&5
3144   (eval "$ac_link") 2>&5
3145   ac_status=$?
3146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147   (exit $ac_status); }; then
3148   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3149 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3150 # work properly (i.e., refer to `conftest.exe'), while it won't with
3151 # `rm'.
3152 for ac_file in conftest.exe conftest conftest.*; do
3153   test -f "$ac_file" || continue
3154   case $ac_file in
3155     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3156     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3157           break;;
3158     * ) break;;
3159   esac
3160 done
3161 else
3162   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3163 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3164 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3165 See \`config.log' for more details." >&5
3166 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3167 See \`config.log' for more details." >&2;}
3168    { (exit 1); exit 1; }; }; }
3169 fi
3170
3171 rm -f conftest$ac_cv_exeext
3172 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3173 $as_echo "$ac_cv_exeext" >&6; }
3174
3175 rm -f conftest.$ac_ext
3176 EXEEXT=$ac_cv_exeext
3177 ac_exeext=$EXEEXT
3178 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3179 $as_echo_n "checking for suffix of object files... " >&6; }
3180 if test "${ac_cv_objext+set}" = set; then
3181   $as_echo_n "(cached) " >&6
3182 else
3183   cat >conftest.$ac_ext <<_ACEOF
3184 /* confdefs.h.  */
3185 _ACEOF
3186 cat confdefs.h >>conftest.$ac_ext
3187 cat >>conftest.$ac_ext <<_ACEOF
3188 /* end confdefs.h.  */
3189
3190 int
3191 main ()
3192 {
3193
3194   ;
3195   return 0;
3196 }
3197 _ACEOF
3198 rm -f conftest.o conftest.obj
3199 if { (ac_try="$ac_compile"
3200 case "(($ac_try" in
3201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202   *) ac_try_echo=$ac_try;;
3203 esac
3204 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3205 $as_echo "$ac_try_echo") >&5
3206   (eval "$ac_compile") 2>&5
3207   ac_status=$?
3208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209   (exit $ac_status); }; then
3210   for ac_file in conftest.o conftest.obj conftest.*; do
3211   test -f "$ac_file" || continue;
3212   case $ac_file in
3213     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3214     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3215        break;;
3216   esac
3217 done
3218 else
3219   $as_echo "$as_me: failed program was:" >&5
3220 sed 's/^/| /' conftest.$ac_ext >&5
3221
3222 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3225 See \`config.log' for more details." >&5
3226 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3227 See \`config.log' for more details." >&2;}
3228    { (exit 1); exit 1; }; }; }
3229 fi
3230
3231 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3232 fi
3233 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3234 $as_echo "$ac_cv_objext" >&6; }
3235 OBJEXT=$ac_cv_objext
3236 ac_objext=$OBJEXT
3237 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3238 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3239 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3240   $as_echo_n "(cached) " >&6
3241 else
3242   cat >conftest.$ac_ext <<_ACEOF
3243 /* confdefs.h.  */
3244 _ACEOF
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h.  */
3248
3249 int
3250 main ()
3251 {
3252 #ifndef __GNUC__
3253        choke me
3254 #endif
3255
3256   ;
3257   return 0;
3258 }
3259 _ACEOF
3260 rm -f conftest.$ac_objext
3261 if { (ac_try="$ac_compile"
3262 case "(($ac_try" in
3263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3264   *) ac_try_echo=$ac_try;;
3265 esac
3266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3267 $as_echo "$ac_try_echo") >&5
3268   (eval "$ac_compile") 2>conftest.er1
3269   ac_status=$?
3270   grep -v '^ *+' conftest.er1 >conftest.err
3271   rm -f conftest.er1
3272   cat conftest.err >&5
3273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274   (exit $ac_status); } && {
3275          test -z "$ac_c_werror_flag" ||
3276          test ! -s conftest.err
3277        } && test -s conftest.$ac_objext; then
3278   ac_compiler_gnu=yes
3279 else
3280   $as_echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3282
3283         ac_compiler_gnu=no
3284 fi
3285
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3287 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3288
3289 fi
3290 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3291 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3292 if test $ac_compiler_gnu = yes; then
3293   GCC=yes
3294 else
3295   GCC=
3296 fi
3297 ac_test_CFLAGS=${CFLAGS+set}
3298 ac_save_CFLAGS=$CFLAGS
3299 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3300 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3301 if test "${ac_cv_prog_cc_g+set}" = set; then
3302   $as_echo_n "(cached) " >&6
3303 else
3304   ac_save_c_werror_flag=$ac_c_werror_flag
3305    ac_c_werror_flag=yes
3306    ac_cv_prog_cc_g=no
3307    CFLAGS="-g"
3308    cat >conftest.$ac_ext <<_ACEOF
3309 /* confdefs.h.  */
3310 _ACEOF
3311 cat confdefs.h >>conftest.$ac_ext
3312 cat >>conftest.$ac_ext <<_ACEOF
3313 /* end confdefs.h.  */
3314
3315 int
3316 main ()
3317 {
3318
3319   ;
3320   return 0;
3321 }
3322 _ACEOF
3323 rm -f conftest.$ac_objext
3324 if { (ac_try="$ac_compile"
3325 case "(($ac_try" in
3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3327   *) ac_try_echo=$ac_try;;
3328 esac
3329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3330 $as_echo "$ac_try_echo") >&5
3331   (eval "$ac_compile") 2>conftest.er1
3332   ac_status=$?
3333   grep -v '^ *+' conftest.er1 >conftest.err
3334   rm -f conftest.er1
3335   cat conftest.err >&5
3336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337   (exit $ac_status); } && {
3338          test -z "$ac_c_werror_flag" ||
3339          test ! -s conftest.err
3340        } && test -s conftest.$ac_objext; then
3341   ac_cv_prog_cc_g=yes
3342 else
3343   $as_echo "$as_me: failed program was:" >&5
3344 sed 's/^/| /' conftest.$ac_ext >&5
3345
3346         CFLAGS=""
3347       cat >conftest.$ac_ext <<_ACEOF
3348 /* confdefs.h.  */
3349 _ACEOF
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h.  */
3353
3354 int
3355 main ()
3356 {
3357
3358   ;
3359   return 0;
3360 }
3361 _ACEOF
3362 rm -f conftest.$ac_objext
3363 if { (ac_try="$ac_compile"
3364 case "(($ac_try" in
3365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366   *) ac_try_echo=$ac_try;;
3367 esac
3368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3369 $as_echo "$ac_try_echo") >&5
3370   (eval "$ac_compile") 2>conftest.er1
3371   ac_status=$?
3372   grep -v '^ *+' conftest.er1 >conftest.err
3373   rm -f conftest.er1
3374   cat conftest.err >&5
3375   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376   (exit $ac_status); } && {
3377          test -z "$ac_c_werror_flag" ||
3378          test ! -s conftest.err
3379        } && test -s conftest.$ac_objext; then
3380   :
3381 else
3382   $as_echo "$as_me: failed program was:" >&5
3383 sed 's/^/| /' conftest.$ac_ext >&5
3384
3385         ac_c_werror_flag=$ac_save_c_werror_flag
3386          CFLAGS="-g"
3387          cat >conftest.$ac_ext <<_ACEOF
3388 /* confdefs.h.  */
3389 _ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h.  */
3393
3394 int
3395 main ()
3396 {
3397
3398   ;
3399   return 0;
3400 }
3401 _ACEOF
3402 rm -f conftest.$ac_objext
3403 if { (ac_try="$ac_compile"
3404 case "(($ac_try" in
3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3406   *) ac_try_echo=$ac_try;;
3407 esac
3408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3409 $as_echo "$ac_try_echo") >&5
3410   (eval "$ac_compile") 2>conftest.er1
3411   ac_status=$?
3412   grep -v '^ *+' conftest.er1 >conftest.err
3413   rm -f conftest.er1
3414   cat conftest.err >&5
3415   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416   (exit $ac_status); } && {
3417          test -z "$ac_c_werror_flag" ||
3418          test ! -s conftest.err
3419        } && test -s conftest.$ac_objext; then
3420   ac_cv_prog_cc_g=yes
3421 else
3422   $as_echo "$as_me: failed program was:" >&5
3423 sed 's/^/| /' conftest.$ac_ext >&5
3424
3425
3426 fi
3427
3428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 fi
3430
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 fi
3433
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435    ac_c_werror_flag=$ac_save_c_werror_flag
3436 fi
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3438 $as_echo "$ac_cv_prog_cc_g" >&6; }
3439 if test "$ac_test_CFLAGS" = set; then
3440   CFLAGS=$ac_save_CFLAGS
3441 elif test $ac_cv_prog_cc_g = yes; then
3442   if test "$GCC" = yes; then
3443     CFLAGS="-g -O2"
3444   else
3445     CFLAGS="-g"
3446   fi
3447 else
3448   if test "$GCC" = yes; then
3449     CFLAGS="-O2"
3450   else
3451     CFLAGS=
3452   fi
3453 fi
3454 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3455 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3456 if test "${ac_cv_prog_cc_c89+set}" = set; then
3457   $as_echo_n "(cached) " >&6
3458 else
3459   ac_cv_prog_cc_c89=no
3460 ac_save_CC=$CC
3461 cat >conftest.$ac_ext <<_ACEOF
3462 /* confdefs.h.  */
3463 _ACEOF
3464 cat confdefs.h >>conftest.$ac_ext
3465 cat >>conftest.$ac_ext <<_ACEOF
3466 /* end confdefs.h.  */
3467 #include <stdarg.h>
3468 #include <stdio.h>
3469 #include <sys/types.h>
3470 #include <sys/stat.h>
3471 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3472 struct buf { int x; };
3473 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3474 static char *e (p, i)
3475      char **p;
3476      int i;
3477 {
3478   return p[i];
3479 }
3480 static char *f (char * (*g) (char **, int), char **p, ...)
3481 {
3482   char *s;
3483   va_list v;
3484   va_start (v,p);
3485   s = g (p, va_arg (v,int));
3486   va_end (v);
3487   return s;
3488 }
3489
3490 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3491    function prototypes and stuff, but not '\xHH' hex character constants.
3492    These don't provoke an error unfortunately, instead are silently treated
3493    as 'x'.  The following induces an error, until -std is added to get
3494    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3495    array size at least.  It's necessary to write '\x00'==0 to get something
3496    that's true only with -std.  */
3497 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3498
3499 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3500    inside strings and character constants.  */
3501 #define FOO(x) 'x'
3502 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3503
3504 int test (int i, double x);
3505 struct s1 {int (*f) (int a);};
3506 struct s2 {int (*f) (double a);};
3507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3508 int argc;
3509 char **argv;
3510 int
3511 main ()
3512 {
3513 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3514   ;
3515   return 0;
3516 }
3517 _ACEOF
3518 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3519         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3520 do
3521   CC="$ac_save_CC $ac_arg"
3522   rm -f conftest.$ac_objext
3523 if { (ac_try="$ac_compile"
3524 case "(($ac_try" in
3525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526   *) ac_try_echo=$ac_try;;
3527 esac
3528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3529 $as_echo "$ac_try_echo") >&5
3530   (eval "$ac_compile") 2>conftest.er1
3531   ac_status=$?
3532   grep -v '^ *+' conftest.er1 >conftest.err
3533   rm -f conftest.er1
3534   cat conftest.err >&5
3535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536   (exit $ac_status); } && {
3537          test -z "$ac_c_werror_flag" ||
3538          test ! -s conftest.err
3539        } && test -s conftest.$ac_objext; then
3540   ac_cv_prog_cc_c89=$ac_arg
3541 else
3542   $as_echo "$as_me: failed program was:" >&5
3543 sed 's/^/| /' conftest.$ac_ext >&5
3544
3545
3546 fi
3547
3548 rm -f core conftest.err conftest.$ac_objext
3549   test "x$ac_cv_prog_cc_c89" != "xno" && break
3550 done
3551 rm -f conftest.$ac_ext
3552 CC=$ac_save_CC
3553
3554 fi
3555 # AC_CACHE_VAL
3556 case "x$ac_cv_prog_cc_c89" in
3557   x)
3558     { $as_echo "$as_me:$LINENO: result: none needed" >&5
3559 $as_echo "none needed" >&6; } ;;
3560   xno)
3561     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3562 $as_echo "unsupported" >&6; } ;;
3563   *)
3564     CC="$CC $ac_cv_prog_cc_c89"
3565     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3566 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3567 esac
3568
3569
3570 ac_ext=c
3571 ac_cpp='$CPP $CPPFLAGS'
3572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3575 DEPDIR="${am__leading_dot}deps"
3576
3577 ac_config_commands="$ac_config_commands depfiles"
3578
3579
3580 am_make=${MAKE-make}
3581 cat > confinc << 'END'
3582 am__doit:
3583         @echo this is the am__doit target
3584 .PHONY: am__doit
3585 END
3586 # If we don't find an include directive, just comment out the code.
3587 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3588 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3589 am__include="#"
3590 am__quote=
3591 _am_result=none
3592 # First try GNU make style include.
3593 echo "include confinc" > confmf
3594 # Ignore all kinds of additional output from `make'.
3595 case `$am_make -s -f confmf 2> /dev/null` in #(
3596 *the\ am__doit\ target*)
3597   am__include=include
3598   am__quote=
3599   _am_result=GNU
3600   ;;
3601 esac
3602 # Now try BSD make style include.
3603 if test "$am__include" = "#"; then
3604    echo '.include "confinc"' > confmf
3605    case `$am_make -s -f confmf 2> /dev/null` in #(
3606    *the\ am__doit\ target*)
3607      am__include=.include
3608      am__quote="\""
3609      _am_result=BSD
3610      ;;
3611    esac
3612 fi
3613
3614
3615 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3616 $as_echo "$_am_result" >&6; }
3617 rm -f confinc confmf
3618
3619 # Check whether --enable-dependency-tracking was given.
3620 if test "${enable_dependency_tracking+set}" = set; then
3621   enableval=$enable_dependency_tracking;
3622 fi
3623
3624 if test "x$enable_dependency_tracking" != xno; then
3625   am_depcomp="$ac_aux_dir/depcomp"
3626   AMDEPBACKSLASH='\'
3627 fi
3628  if test "x$enable_dependency_tracking" != xno; then
3629   AMDEP_TRUE=
3630   AMDEP_FALSE='#'
3631 else
3632   AMDEP_TRUE='#'
3633   AMDEP_FALSE=
3634 fi
3635
3636
3637
3638 depcc="$CC"   am_compiler_list=
3639
3640 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3641 $as_echo_n "checking dependency style of $depcc... " >&6; }
3642 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3643   $as_echo_n "(cached) " >&6
3644 else
3645   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3646   # We make a subdir and do the tests there.  Otherwise we can end up
3647   # making bogus files that we don't know about and never remove.  For
3648   # instance it was reported that on HP-UX the gcc test will end up
3649   # making a dummy file named `D' -- because `-MD' means `put the output
3650   # in D'.
3651   mkdir conftest.dir
3652   # Copy depcomp to subdir because otherwise we won't find it if we're
3653   # using a relative directory.
3654   cp "$am_depcomp" conftest.dir
3655   cd conftest.dir
3656   # We will build objects and dependencies in a subdirectory because
3657   # it helps to detect inapplicable dependency modes.  For instance
3658   # both Tru64's cc and ICC support -MD to output dependencies as a
3659   # side effect of compilation, but ICC will put the dependencies in
3660   # the current directory while Tru64 will put them in the object
3661   # directory.
3662   mkdir sub
3663
3664   am_cv_CC_dependencies_compiler_type=none
3665   if test "$am_compiler_list" = ""; then
3666      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3667   fi
3668   am__universal=false
3669   case " $depcc " in #(
3670      *\ -arch\ *\ -arch\ *) am__universal=true ;;
3671      esac
3672
3673   for depmode in $am_compiler_list; do
3674     # Setup a source with many dependencies, because some compilers
3675     # like to wrap large dependency lists on column 80 (with \), and
3676     # we should not choose a depcomp mode which is confused by this.
3677     #
3678     # We need to recreate these files for each test, as the compiler may
3679     # overwrite some of them when testing with obscure command lines.
3680     # This happens at least with the AIX C compiler.
3681     : > sub/conftest.c
3682     for i in 1 2 3 4 5 6; do
3683       echo '#include "conftst'$i'.h"' >> sub/conftest.c
3684       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3685       # Solaris 8's {/usr,}/bin/sh.
3686       touch sub/conftst$i.h
3687     done
3688     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3689
3690     # We check with `-c' and `-o' for the sake of the "dashmstdout"
3691     # mode.  It turns out that the SunPro C++ compiler does not properly
3692     # handle `-M -o', and we need to detect this.  Also, some Intel
3693     # versions had trouble with output in subdirs
3694     am__obj=sub/conftest.${OBJEXT-o}
3695     am__minus_obj="-o $am__obj"
3696     case $depmode in
3697     gcc)
3698       # This depmode causes a compiler race in universal mode.
3699       test "$am__universal" = false || continue
3700       ;;
3701     nosideeffect)
3702       # after this tag, mechanisms are not by side-effect, so they'll
3703       # only be used when explicitly requested
3704       if test "x$enable_dependency_tracking" = xyes; then
3705         continue
3706       else
3707         break
3708       fi
3709       ;;
3710     msvisualcpp | msvcmsys)
3711       # This compiler won't grok `-c -o', but also, the minuso test has
3712       # not run yet.  These depmodes are late enough in the game, and
3713       # so weak that their functioning should not be impacted.
3714       am__obj=conftest.${OBJEXT-o}
3715       am__minus_obj=
3716       ;;
3717     none) break ;;
3718     esac
3719     if depmode=$depmode \
3720        source=sub/conftest.c object=$am__obj \
3721        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3722        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3723          >/dev/null 2>conftest.err &&
3724        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3725        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3726        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3727        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3728       # icc doesn't choke on unknown options, it will just issue warnings
3729       # or remarks (even with -Werror).  So we grep stderr for any message
3730       # that says an option was ignored or not supported.
3731       # When given -MP, icc 7.0 and 7.1 complain thusly:
3732       #   icc: Command line warning: ignoring option '-M'; no argument required
3733       # The diagnosis changed in icc 8.0:
3734       #   icc: Command line remark: option '-MP' not supported
3735       if (grep 'ignoring option' conftest.err ||
3736           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3737         am_cv_CC_dependencies_compiler_type=$depmode
3738         break
3739       fi
3740     fi
3741   done
3742
3743   cd ..
3744   rm -rf conftest.dir
3745 else
3746   am_cv_CC_dependencies_compiler_type=none
3747 fi
3748
3749 fi
3750 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3751 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3752 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3753
3754  if
3755   test "x$enable_dependency_tracking" != xno \
3756   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3757   am__fastdepCC_TRUE=
3758   am__fastdepCC_FALSE='#'
3759 else
3760   am__fastdepCC_TRUE='#'
3761   am__fastdepCC_FALSE=
3762 fi
3763
3764
3765 if test -n "$ac_tool_prefix"; then
3766   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_RANLIB+set}" = set; then
3771   $as_echo_n "(cached) " >&6
3772 else
3773   if test -n "$RANLIB"; then
3774   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3775 else
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779   IFS=$as_save_IFS
3780   test -z "$as_dir" && as_dir=.
3781   for ac_exec_ext in '' $ac_executable_extensions; do
3782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3784     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3785     break 2
3786   fi
3787 done
3788 done
3789 IFS=$as_save_IFS
3790
3791 fi
3792 fi
3793 RANLIB=$ac_cv_prog_RANLIB
3794 if test -n "$RANLIB"; then
3795   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3796 $as_echo "$RANLIB" >&6; }
3797 else
3798   { $as_echo "$as_me:$LINENO: result: no" >&5
3799 $as_echo "no" >&6; }
3800 fi
3801
3802
3803 fi
3804 if test -z "$ac_cv_prog_RANLIB"; then
3805   ac_ct_RANLIB=$RANLIB
3806   # Extract the first word of "ranlib", so it can be a program name with args.
3807 set dummy ranlib; ac_word=$2
3808 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 $as_echo_n "checking for $ac_word... " >&6; }
3810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3811   $as_echo_n "(cached) " >&6
3812 else
3813   if test -n "$ac_ct_RANLIB"; then
3814   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3815 else
3816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 for as_dir in $PATH
3818 do
3819   IFS=$as_save_IFS
3820   test -z "$as_dir" && as_dir=.
3821   for ac_exec_ext in '' $ac_executable_extensions; do
3822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823     ac_cv_prog_ac_ct_RANLIB="ranlib"
3824     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3825     break 2
3826   fi
3827 done
3828 done
3829 IFS=$as_save_IFS
3830
3831 fi
3832 fi
3833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3834 if test -n "$ac_ct_RANLIB"; then
3835   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3836 $as_echo "$ac_ct_RANLIB" >&6; }
3837 else
3838   { $as_echo "$as_me:$LINENO: result: no" >&5
3839 $as_echo "no" >&6; }
3840 fi
3841
3842   if test "x$ac_ct_RANLIB" = x; then
3843     RANLIB=":"
3844   else
3845     case $cross_compiling:$ac_tool_warned in
3846 yes:)
3847 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3849 ac_tool_warned=yes ;;
3850 esac
3851     RANLIB=$ac_ct_RANLIB
3852   fi
3853 else
3854   RANLIB="$ac_cv_prog_RANLIB"
3855 fi
3856
3857
3858 for ac_prog in docbook-to-man docbook2man
3859 do
3860   # Extract the first word of "$ac_prog", so it can be a program name with args.
3861 set dummy $ac_prog; ac_word=$2
3862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if test "${ac_cv_prog_DOCBOOKTOMAN+set}" = set; then
3865   $as_echo_n "(cached) " >&6
3866 else
3867   if test -n "$DOCBOOKTOMAN"; then
3868   ac_cv_prog_DOCBOOKTOMAN="$DOCBOOKTOMAN" # Let the user override the test.
3869 else
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH
3872 do
3873   IFS=$as_save_IFS
3874   test -z "$as_dir" && as_dir=.
3875   for ac_exec_ext in '' $ac_executable_extensions; do
3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877     ac_cv_prog_DOCBOOKTOMAN="$ac_prog"
3878     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879     break 2
3880   fi
3881 done
3882 done
3883 IFS=$as_save_IFS
3884
3885 fi
3886 fi
3887 DOCBOOKTOMAN=$ac_cv_prog_DOCBOOKTOMAN
3888 if test -n "$DOCBOOKTOMAN"; then
3889   { $as_echo "$as_me:$LINENO: result: $DOCBOOKTOMAN" >&5
3890 $as_echo "$DOCBOOKTOMAN" >&6; }
3891 else
3892   { $as_echo "$as_me:$LINENO: result: no" >&5
3893 $as_echo "no" >&6; }
3894 fi
3895
3896
3897   test -n "$DOCBOOKTOMAN" && break
3898 done
3899 test -n "$DOCBOOKTOMAN" || DOCBOOKTOMAN="no"
3900
3901 if test x"$DOCBOOKTOMAN" = xno
3902 then
3903         { $as_echo "$as_me:$LINENO: WARNING: docbook2man not found" >&5
3904 $as_echo "$as_me: WARNING: docbook2man not found" >&2;}
3905         # fail with a meaningfull error if $DOCBOOKTOMAN called by the makefile
3906         DOCBOOKTOMAN=docbook2man
3907 fi
3908
3909 # Delay adding the zlib_flags until after AC_PROG_CC, so we can distinguish
3910 # between a broken cc and a working cc but missing libz.a.
3911 LDADD="$LDADD $zlib_flags"
3912
3913
3914 case $target in
3915 *-*-linux*) ;;
3916 *) { { $as_echo "$as_me:$LINENO: error: Linux only, dude!" >&5
3917 $as_echo "$as_me: error: Linux only, dude!" >&2;}
3918    { (exit 1); exit 1; }; };;
3919 esac
3920
3921 # Thanks to Martin Pool
3922 if test x"$GCC" = xyes
3923 then
3924     CFLAGS="$CFLAGS -Wunused -Wall"
3925     { $as_echo "$as_me:$LINENO: Adding gcc options: $CFLAGS" >&5
3926 $as_echo "$as_me: Adding gcc options: $CFLAGS" >&6;}
3927 fi
3928
3929 # Check whether --enable-static-utils was given.
3930 if test "${enable_static_utils+set}" = set; then
3931   enableval=$enable_static_utils;
3932 else
3933   enable_static_utils=yes
3934 fi
3935
3936  if test "$enable_static_utils" = "yes"; then
3937   BUILD_STATIC_UTILS_TRUE=
3938   BUILD_STATIC_UTILS_FALSE='#'
3939 else
3940   BUILD_STATIC_UTILS_TRUE='#'
3941   BUILD_STATIC_UTILS_FALSE=
3942 fi
3943
3944
3945
3946 # Check whether --with-moddir was given.
3947 if test "${with_moddir+set}" = set; then
3948   withval=$with_moddir; if test ! -z "$withval"; then
3949   MODULE_DIR="\\\"$withval/\\\""
3950   CFLAGS="$CFLAGS -DMODULE_DIR=$MODULE_DIR"
3951 fi
3952 fi
3953
3954
3955
3956 ac_config_files="$ac_config_files Makefile"
3957
3958 cat >confcache <<\_ACEOF
3959 # This file is a shell script that caches the results of configure
3960 # tests run on this system so they can be shared between configure
3961 # scripts and configure runs, see configure's option --config-cache.
3962 # It is not useful on other systems.  If it contains results you don't
3963 # want to keep, you may remove or edit it.
3964 #
3965 # config.status only pays attention to the cache file if you give it
3966 # the --recheck option to rerun configure.
3967 #
3968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3970 # following values.
3971
3972 _ACEOF
3973
3974 # The following way of writing the cache mishandles newlines in values,
3975 # but we know of no workaround that is simple, portable, and efficient.
3976 # So, we kill variables containing newlines.
3977 # Ultrix sh set writes to stderr and can't be redirected directly,
3978 # and sets the high bit in the cache file unless we assign to the vars.
3979 (
3980   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3981     eval ac_val=\$$ac_var
3982     case $ac_val in #(
3983     *${as_nl}*)
3984       case $ac_var in #(
3985       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
3986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3987       esac
3988       case $ac_var in #(
3989       _ | IFS | as_nl) ;; #(
3990       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3991       *) $as_unset $ac_var ;;
3992       esac ;;
3993     esac
3994   done
3995
3996   (set) 2>&1 |
3997     case $as_nl`(ac_space=' '; set) 2>&1` in #(
3998     *${as_nl}ac_space=\ *)
3999       # `set' does not quote correctly, so add quotes (double-quote
4000       # substitution turns \\\\ into \\, and sed turns \\ into \).
4001       sed -n \
4002         "s/'/'\\\\''/g;
4003           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4004       ;; #(
4005     *)
4006       # `set' quotes correctly as required by POSIX, so do not add quotes.
4007       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4008       ;;
4009     esac |
4010     sort
4011 ) |
4012   sed '
4013      /^ac_cv_env_/b end
4014      t clear
4015      :clear
4016      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4017      t end
4018      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4019      :end' >>confcache
4020 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4021   if test -w "$cache_file"; then
4022     test "x$cache_file" != "x/dev/null" &&
4023       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
4024 $as_echo "$as_me: updating cache $cache_file" >&6;}
4025     cat confcache >$cache_file
4026   else
4027     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4028 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4029   fi
4030 fi
4031 rm -f confcache
4032
4033 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4034 # Let make expand exec_prefix.
4035 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4036
4037 # Transform confdefs.h into DEFS.
4038 # Protect against shell expansion while executing Makefile rules.
4039 # Protect against Makefile macro expansion.
4040 #
4041 # If the first sed substitution is executed (which looks for macros that
4042 # take arguments), then branch to the quote section.  Otherwise,
4043 # look for a macro that doesn't take arguments.
4044 ac_script='
4045 :mline
4046 /\\$/{
4047  N
4048  s,\\\n,,
4049  b mline
4050 }
4051 t clear
4052 :clear
4053 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
4054 t quote
4055 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
4056 t quote
4057 b any
4058 :quote
4059 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4060 s/\[/\\&/g
4061 s/\]/\\&/g
4062 s/\$/$$/g
4063 H
4064 :any
4065 ${
4066         g
4067         s/^\n//
4068         s/\n/ /g
4069         p
4070 }
4071 '
4072 DEFS=`sed -n "$ac_script" confdefs.h`
4073
4074
4075 ac_libobjs=
4076 ac_ltlibobjs=
4077 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4078   # 1. Remove the extension, and $U if already installed.
4079   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4080   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4081   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4082   #    will be set to the directory where LIBOBJS objects are built.
4083   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4084   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4085 done
4086 LIBOBJS=$ac_libobjs
4087
4088 LTLIBOBJS=$ac_ltlibobjs
4089
4090
4091  if test -n "$EXEEXT"; then
4092   am__EXEEXT_TRUE=
4093   am__EXEEXT_FALSE='#'
4094 else
4095   am__EXEEXT_TRUE='#'
4096   am__EXEEXT_FALSE=
4097 fi
4098
4099 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4100   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4101 Usually this means the macro was only invoked conditionally." >&5
4102 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
4103 Usually this means the macro was only invoked conditionally." >&2;}
4104    { (exit 1); exit 1; }; }
4105 fi
4106 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4107   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4108 Usually this means the macro was only invoked conditionally." >&5
4109 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4110 Usually this means the macro was only invoked conditionally." >&2;}
4111    { (exit 1); exit 1; }; }
4112 fi
4113 if test -z "${BUILD_STATIC_UTILS_TRUE}" && test -z "${BUILD_STATIC_UTILS_FALSE}"; then
4114   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_STATIC_UTILS\" was never defined.
4115 Usually this means the macro was only invoked conditionally." >&5
4116 $as_echo "$as_me: error: conditional \"BUILD_STATIC_UTILS\" was never defined.
4117 Usually this means the macro was only invoked conditionally." >&2;}
4118    { (exit 1); exit 1; }; }
4119 fi
4120
4121 : ${CONFIG_STATUS=./config.status}
4122 ac_write_fail=0
4123 ac_clean_files_save=$ac_clean_files
4124 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4125 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4126 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4127 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4128 #! $SHELL
4129 # Generated by $as_me.
4130 # Run this file to recreate the current configuration.
4131 # Compiler output produced by configure, useful for debugging
4132 # configure, is in config.log if it exists.
4133
4134 debug=false
4135 ac_cs_recheck=false
4136 ac_cs_silent=false
4137 SHELL=\${CONFIG_SHELL-$SHELL}
4138 _ACEOF
4139
4140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4141 ## --------------------- ##
4142 ## M4sh Initialization.  ##
4143 ## --------------------- ##
4144
4145 # Be more Bourne compatible
4146 DUALCASE=1; export DUALCASE # for MKS sh
4147 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4148   emulate sh
4149   NULLCMD=:
4150   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4151   # is contrary to our usage.  Disable this feature.
4152   alias -g '${1+"$@"}'='"$@"'
4153   setopt NO_GLOB_SUBST
4154 else
4155   case `(set -o) 2>/dev/null` in
4156   *posix*) set -o posix ;;
4157 esac
4158
4159 fi
4160
4161
4162
4163
4164 # PATH needs CR
4165 # Avoid depending upon Character Ranges.
4166 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4167 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4168 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4169 as_cr_digits='0123456789'
4170 as_cr_alnum=$as_cr_Letters$as_cr_digits
4171
4172 as_nl='
4173 '
4174 export as_nl
4175 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4176 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4177 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4178 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4179 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4180   as_echo='printf %s\n'
4181   as_echo_n='printf %s'
4182 else
4183   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4184     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4185     as_echo_n='/usr/ucb/echo -n'
4186   else
4187     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4188     as_echo_n_body='eval
4189       arg=$1;
4190       case $arg in
4191       *"$as_nl"*)
4192         expr "X$arg" : "X\\(.*\\)$as_nl";
4193         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4194       esac;
4195       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4196     '
4197     export as_echo_n_body
4198     as_echo_n='sh -c $as_echo_n_body as_echo'
4199   fi
4200   export as_echo_body
4201   as_echo='sh -c $as_echo_body as_echo'
4202 fi
4203
4204 # The user is always right.
4205 if test "${PATH_SEPARATOR+set}" != set; then
4206   PATH_SEPARATOR=:
4207   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4208     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4209       PATH_SEPARATOR=';'
4210   }
4211 fi
4212
4213 # Support unset when possible.
4214 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4215   as_unset=unset
4216 else
4217   as_unset=false
4218 fi
4219
4220
4221 # IFS
4222 # We need space, tab and new line, in precisely that order.  Quoting is
4223 # there to prevent editors from complaining about space-tab.
4224 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4225 # splitting by setting IFS to empty value.)
4226 IFS=" ""        $as_nl"
4227
4228 # Find who we are.  Look in the path if we contain no directory separator.
4229 case $0 in
4230   *[\\/]* ) as_myself=$0 ;;
4231   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4233 do
4234   IFS=$as_save_IFS
4235   test -z "$as_dir" && as_dir=.
4236   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4237 done
4238 IFS=$as_save_IFS
4239
4240      ;;
4241 esac
4242 # We did not find ourselves, most probably we were run as `sh COMMAND'
4243 # in which case we are not to be found in the path.
4244 if test "x$as_myself" = x; then
4245   as_myself=$0
4246 fi
4247 if test ! -f "$as_myself"; then
4248   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4249   { (exit 1); exit 1; }
4250 fi
4251
4252 # Work around bugs in pre-3.0 UWIN ksh.
4253 for as_var in ENV MAIL MAILPATH
4254 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4255 done
4256 PS1='$ '
4257 PS2='> '
4258 PS4='+ '
4259
4260 # NLS nuisances.
4261 LC_ALL=C
4262 export LC_ALL
4263 LANGUAGE=C
4264 export LANGUAGE
4265
4266 # Required to use basename.
4267 if expr a : '\(a\)' >/dev/null 2>&1 &&
4268    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4269   as_expr=expr
4270 else
4271   as_expr=false
4272 fi
4273
4274 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4275   as_basename=basename
4276 else
4277   as_basename=false
4278 fi
4279
4280
4281 # Name of the executable.
4282 as_me=`$as_basename -- "$0" ||
4283 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4284          X"$0" : 'X\(//\)$' \| \
4285          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4286 $as_echo X/"$0" |
4287     sed '/^.*\/\([^/][^/]*\)\/*$/{
4288             s//\1/
4289             q
4290           }
4291           /^X\/\(\/\/\)$/{
4292             s//\1/
4293             q
4294           }
4295           /^X\/\(\/\).*/{
4296             s//\1/
4297             q
4298           }
4299           s/.*/./; q'`
4300
4301 # CDPATH.
4302 $as_unset CDPATH
4303
4304
4305
4306   as_lineno_1=$LINENO
4307   as_lineno_2=$LINENO
4308   test "x$as_lineno_1" != "x$as_lineno_2" &&
4309   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4310
4311   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4312   # uniformly replaced by the line number.  The first 'sed' inserts a
4313   # line-number line after each line using $LINENO; the second 'sed'
4314   # does the real work.  The second script uses 'N' to pair each
4315   # line-number line with the line containing $LINENO, and appends
4316   # trailing '-' during substitution so that $LINENO is not a special
4317   # case at line end.
4318   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4319   # scripts with optimization help from Paolo Bonzini.  Blame Lee
4320   # E. McMahon (1931-1989) for sed's syntax.  :-)
4321   sed -n '
4322     p
4323     /[$]LINENO/=
4324   ' <$as_myself |
4325     sed '
4326       s/[$]LINENO.*/&-/
4327       t lineno
4328       b
4329       :lineno
4330       N
4331       :loop
4332       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4333       t loop
4334       s/-\n.*//
4335     ' >$as_me.lineno &&
4336   chmod +x "$as_me.lineno" ||
4337     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4338    { (exit 1); exit 1; }; }
4339
4340   # Don't try to exec as it changes $[0], causing all sort of problems
4341   # (the dirname of $[0] is not the place where we might find the
4342   # original and so on.  Autoconf is especially sensitive to this).
4343   . "./$as_me.lineno"
4344   # Exit status is that of the last command.
4345   exit
4346 }
4347
4348
4349 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4350   as_dirname=dirname
4351 else
4352   as_dirname=false
4353 fi
4354
4355 ECHO_C= ECHO_N= ECHO_T=
4356 case `echo -n x` in
4357 -n*)
4358   case `echo 'x\c'` in
4359   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
4360   *)   ECHO_C='\c';;
4361   esac;;
4362 *)
4363   ECHO_N='-n';;
4364 esac
4365 if expr a : '\(a\)' >/dev/null 2>&1 &&
4366    test "X`expr 00001 : '.*\(...\)'`" = X001; then
4367   as_expr=expr
4368 else
4369   as_expr=false
4370 fi
4371
4372 rm -f conf$$ conf$$.exe conf$$.file
4373 if test -d conf$$.dir; then
4374   rm -f conf$$.dir/conf$$.file
4375 else
4376   rm -f conf$$.dir
4377   mkdir conf$$.dir 2>/dev/null
4378 fi
4379 if (echo >conf$$.file) 2>/dev/null; then
4380   if ln -s conf$$.file conf$$ 2>/dev/null; then
4381     as_ln_s='ln -s'
4382     # ... but there are two gotchas:
4383     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4384     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4385     # In both cases, we have to default to `cp -p'.
4386     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4387       as_ln_s='cp -p'
4388   elif ln conf$$.file conf$$ 2>/dev/null; then
4389     as_ln_s=ln
4390   else
4391     as_ln_s='cp -p'
4392   fi
4393 else
4394   as_ln_s='cp -p'
4395 fi
4396 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4397 rmdir conf$$.dir 2>/dev/null
4398
4399 if mkdir -p . 2>/dev/null; then
4400   as_mkdir_p=:
4401 else
4402   test -d ./-p && rmdir ./-p
4403   as_mkdir_p=false
4404 fi
4405
4406 if test -x / >/dev/null 2>&1; then
4407   as_test_x='test -x'
4408 else
4409   if ls -dL / >/dev/null 2>&1; then
4410     as_ls_L_option=L
4411   else
4412     as_ls_L_option=
4413   fi
4414   as_test_x='
4415     eval sh -c '\''
4416       if test -d "$1"; then
4417         test -d "$1/.";
4418       else
4419         case $1 in
4420         -*)set "./$1";;
4421         esac;
4422         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4423         ???[sx]*):;;*)false;;esac;fi
4424     '\'' sh
4425   '
4426 fi
4427 as_executable_p=$as_test_x
4428
4429 # Sed expression to map a string onto a valid CPP name.
4430 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4431
4432 # Sed expression to map a string onto a valid variable name.
4433 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4434
4435
4436 exec 6>&1
4437
4438 # Save the log message, to keep $[0] and so on meaningful, and to
4439 # report actual input values of CONFIG_FILES etc. instead of their
4440 # values after options handling.
4441 ac_log="
4442 This file was extended by module-init-tools $as_me 3.12-pre2, which was
4443 generated by GNU Autoconf 2.63.  Invocation command line was
4444
4445   CONFIG_FILES    = $CONFIG_FILES
4446   CONFIG_HEADERS  = $CONFIG_HEADERS
4447   CONFIG_LINKS    = $CONFIG_LINKS
4448   CONFIG_COMMANDS = $CONFIG_COMMANDS
4449   $ $0 $@
4450
4451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4452 "
4453
4454 _ACEOF
4455
4456 case $ac_config_files in *"
4457 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4458 esac
4459
4460
4461
4462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4463 # Files that config.status was made for.
4464 config_files="$ac_config_files"
4465 config_commands="$ac_config_commands"
4466
4467 _ACEOF
4468
4469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4470 ac_cs_usage="\
4471 \`$as_me' instantiates files from templates according to the
4472 current configuration.
4473
4474 Usage: $0 [OPTION]... [FILE]...
4475
4476   -h, --help       print this help, then exit
4477   -V, --version    print version number and configuration settings, then exit
4478   -q, --quiet, --silent
4479                    do not print progress messages
4480   -d, --debug      don't remove temporary files
4481       --recheck    update $as_me by reconfiguring in the same conditions
4482       --file=FILE[:TEMPLATE]
4483                    instantiate the configuration file FILE
4484
4485 Configuration files:
4486 $config_files
4487
4488 Configuration commands:
4489 $config_commands
4490
4491 Report bugs to <bug-autoconf@gnu.org>."
4492
4493 _ACEOF
4494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4495 ac_cs_version="\\
4496 module-init-tools config.status 3.12-pre2
4497 configured by $0, generated by GNU Autoconf 2.63,
4498   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4499
4500 Copyright (C) 2008 Free Software Foundation, Inc.
4501 This config.status script is free software; the Free Software Foundation
4502 gives unlimited permission to copy, distribute and modify it."
4503
4504 ac_pwd='$ac_pwd'
4505 srcdir='$srcdir'
4506 INSTALL='$INSTALL'
4507 MKDIR_P='$MKDIR_P'
4508 AWK='$AWK'
4509 test -n "\$AWK" || AWK=awk
4510 _ACEOF
4511
4512 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4513 # The default lists apply if the user does not specify any file.
4514 ac_need_defaults=:
4515 while test $# != 0
4516 do
4517   case $1 in
4518   --*=*)
4519     ac_option=`expr "X$1" : 'X\([^=]*\)='`
4520     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4521     ac_shift=:
4522     ;;
4523   *)
4524     ac_option=$1
4525     ac_optarg=$2
4526     ac_shift=shift
4527     ;;
4528   esac
4529
4530   case $ac_option in
4531   # Handling of the options.
4532   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4533     ac_cs_recheck=: ;;
4534   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4535     $as_echo "$ac_cs_version"; exit ;;
4536   --debug | --debu | --deb | --de | --d | -d )
4537     debug=: ;;
4538   --file | --fil | --fi | --f )
4539     $ac_shift
4540     case $ac_optarg in
4541     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4542     esac
4543     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
4544     ac_need_defaults=false;;
4545   --he | --h |  --help | --hel | -h )
4546     $as_echo "$ac_cs_usage"; exit ;;
4547   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4548   | -silent | --silent | --silen | --sile | --sil | --si | --s)
4549     ac_cs_silent=: ;;
4550
4551   # This is an error.
4552   -*) { $as_echo "$as_me: error: unrecognized option: $1
4553 Try \`$0 --help' for more information." >&2
4554    { (exit 1); exit 1; }; } ;;
4555
4556   *) ac_config_targets="$ac_config_targets $1"
4557      ac_need_defaults=false ;;
4558
4559   esac
4560   shift
4561 done
4562
4563 ac_configure_extra_args=
4564
4565 if $ac_cs_silent; then
4566   exec 6>/dev/null
4567   ac_configure_extra_args="$ac_configure_extra_args --silent"
4568 fi
4569
4570 _ACEOF
4571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4572 if \$ac_cs_recheck; then
4573   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4574   shift
4575   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4576   CONFIG_SHELL='$SHELL'
4577   export CONFIG_SHELL
4578   exec "\$@"
4579 fi
4580
4581 _ACEOF
4582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4583 exec 5>>config.log
4584 {
4585   echo
4586   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4587 ## Running $as_me. ##
4588 _ASBOX
4589   $as_echo "$ac_log"
4590 } >&5
4591
4592 _ACEOF
4593 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4594 #
4595 # INIT-COMMANDS
4596 #
4597 ax_enable_builddir_srcdir="$srcdir"                    # $srcdir
4598 ax_enable_builddir_host="$HOST"                        # $HOST / $host
4599 ax_enable_builddir_version="$VERSION"                  # $VERSION
4600 ax_enable_builddir_package="$PACKAGE"                  # $PACKAGE
4601 ax_enable_builddir_auxdir="$ax_enable_builddir_auxdir" # $AUX
4602 ax_enable_builddir_sed="$ax_enable_builddir_sed"       # $SED
4603 ax_enable_builddir="$ax_enable_builddir"               # $SUB
4604
4605 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4606
4607 _ACEOF
4608
4609 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4610
4611 # Handling of arguments.
4612 for ac_config_target in $ac_config_targets
4613 do
4614   case $ac_config_target in
4615     "buildir") CONFIG_COMMANDS="$CONFIG_COMMANDS buildir" ;;
4616     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4617     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4618
4619   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4620 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4621    { (exit 1); exit 1; }; };;
4622   esac
4623 done
4624
4625
4626 # If the user did not use the arguments to specify the items to instantiate,
4627 # then the envvar interface is used.  Set only those that are not.
4628 # We use the long form for the default assignment because of an extremely
4629 # bizarre bug on SunOS 4.1.3.
4630 if $ac_need_defaults; then
4631   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4632   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4633 fi
4634
4635 # Have a temporary directory for convenience.  Make it in the build tree
4636 # simply because there is no reason against having it here, and in addition,
4637 # creating and moving files from /tmp can sometimes cause problems.
4638 # Hook for its removal unless debugging.
4639 # Note that there is a small window in which the directory will not be cleaned:
4640 # after its creation but before its name has been assigned to `$tmp'.
4641 $debug ||
4642 {
4643   tmp=
4644   trap 'exit_status=$?
4645   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4646 ' 0
4647   trap '{ (exit 1); exit 1; }' 1 2 13 15
4648 }
4649 # Create a (secure) tmp directory for tmp files.
4650
4651 {
4652   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4653   test -n "$tmp" && test -d "$tmp"
4654 }  ||
4655 {
4656   tmp=./conf$$-$RANDOM
4657   (umask 077 && mkdir "$tmp")
4658 } ||
4659 {
4660    $as_echo "$as_me: cannot create a temporary directory in ." >&2
4661    { (exit 1); exit 1; }
4662 }
4663
4664 # Set up the scripts for CONFIG_FILES section.
4665 # No need to generate them if there are no CONFIG_FILES.
4666 # This happens for instance with `./config.status config.h'.
4667 if test -n "$CONFIG_FILES"; then
4668
4669
4670 ac_cr='\r'
4671 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4672 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4673   ac_cs_awk_cr='\\r'
4674 else
4675   ac_cs_awk_cr=$ac_cr
4676 fi
4677
4678 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4679 _ACEOF
4680
4681
4682 {
4683   echo "cat >conf$$subs.awk <<_ACEOF" &&
4684   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4685   echo "_ACEOF"
4686 } >conf$$subs.sh ||
4687   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4688 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4689    { (exit 1); exit 1; }; }
4690 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4691 ac_delim='%!_!# '
4692 for ac_last_try in false false false false false :; do
4693   . ./conf$$subs.sh ||
4694     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4695 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4696    { (exit 1); exit 1; }; }
4697
4698   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4699   if test $ac_delim_n = $ac_delim_num; then
4700     break
4701   elif $ac_last_try; then
4702     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4703 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4704    { (exit 1); exit 1; }; }
4705   else
4706     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4707   fi
4708 done
4709 rm -f conf$$subs.sh
4710
4711 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4712 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4713 _ACEOF
4714 sed -n '
4715 h
4716 s/^/S["/; s/!.*/"]=/
4717 p
4718 g
4719 s/^[^!]*!//
4720 :repl
4721 t repl
4722 s/'"$ac_delim"'$//
4723 t delim
4724 :nl
4725 h
4726 s/\(.\{148\}\).*/\1/
4727 t more1
4728 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4729 p
4730 n
4731 b repl
4732 :more1
4733 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4734 p
4735 g
4736 s/.\{148\}//
4737 t nl
4738 :delim
4739 h
4740 s/\(.\{148\}\).*/\1/
4741 t more2
4742 s/["\\]/\\&/g; s/^/"/; s/$/"/
4743 p
4744 b
4745 :more2
4746 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4747 p
4748 g
4749 s/.\{148\}//
4750 t delim
4751 ' <conf$$subs.awk | sed '
4752 /^[^""]/{
4753   N
4754   s/\n//
4755 }
4756 ' >>$CONFIG_STATUS || ac_write_fail=1
4757 rm -f conf$$subs.awk
4758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4759 _ACAWK
4760 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4761   for (key in S) S_is_set[key] = 1
4762   FS = "\a"
4763
4764 }
4765 {
4766   line = $ 0
4767   nfields = split(line, field, "@")
4768   substed = 0
4769   len = length(field[1])
4770   for (i = 2; i < nfields; i++) {
4771     key = field[i]
4772     keylen = length(key)
4773     if (S_is_set[key]) {
4774       value = S[key]
4775       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4776       len += length(value) + length(field[++i])
4777       substed = 1
4778     } else
4779       len += 1 + keylen
4780   }
4781
4782   print line
4783 }
4784
4785 _ACAWK
4786 _ACEOF
4787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4788 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4789   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4790 else
4791   cat
4792 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4793   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
4794 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
4795    { (exit 1); exit 1; }; }
4796 _ACEOF
4797
4798 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4799 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4800 # trailing colons and then remove the whole line if VPATH becomes empty
4801 # (actually we leave an empty line to preserve line numbers).
4802 if test "x$srcdir" = x.; then
4803   ac_vpsub='/^[  ]*VPATH[        ]*=/{
4804 s/:*\$(srcdir):*/:/
4805 s/:*\${srcdir}:*/:/
4806 s/:*@srcdir@:*/:/
4807 s/^\([^=]*=[     ]*\):*/\1/
4808 s/:*$//
4809 s/^[^=]*=[       ]*$//
4810 }'
4811 fi
4812
4813 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4814 fi # test -n "$CONFIG_FILES"
4815
4816
4817 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
4818 shift
4819 for ac_tag
4820 do
4821   case $ac_tag in
4822   :[FHLC]) ac_mode=$ac_tag; continue;;
4823   esac
4824   case $ac_mode$ac_tag in
4825   :[FHL]*:*);;
4826   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
4827 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
4828    { (exit 1); exit 1; }; };;
4829   :[FH]-) ac_tag=-:-;;
4830   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4831   esac
4832   ac_save_IFS=$IFS
4833   IFS=:
4834   set x $ac_tag
4835   IFS=$ac_save_IFS
4836   shift
4837   ac_file=$1
4838   shift
4839
4840   case $ac_mode in
4841   :L) ac_source=$1;;
4842   :[FH])
4843     ac_file_inputs=
4844     for ac_f
4845     do
4846       case $ac_f in
4847       -) ac_f="$tmp/stdin";;
4848       *) # Look for the file first in the build tree, then in the source tree
4849          # (if the path is not absolute).  The absolute path cannot be DOS-style,
4850          # because $ac_f cannot contain `:'.
4851          test -f "$ac_f" ||
4852            case $ac_f in
4853            [\\/$]*) false;;
4854            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4855            esac ||
4856            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4857 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4858    { (exit 1); exit 1; }; };;
4859       esac
4860       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4861       ac_file_inputs="$ac_file_inputs '$ac_f'"
4862     done
4863
4864     # Let's still pretend it is `configure' which instantiates (i.e., don't
4865     # use $as_me), people would be surprised to read:
4866     #    /* config.h.  Generated by config.status.  */
4867     configure_input='Generated from '`
4868           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4869         `' by configure.'
4870     if test x"$ac_file" != x-; then
4871       configure_input="$ac_file.  $configure_input"
4872       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
4873 $as_echo "$as_me: creating $ac_file" >&6;}
4874     fi
4875     # Neutralize special characters interpreted by sed in replacement strings.
4876     case $configure_input in #(
4877     *\&* | *\|* | *\\* )
4878        ac_sed_conf_input=`$as_echo "$configure_input" |
4879        sed 's/[\\\\&|]/\\\\&/g'`;; #(
4880     *) ac_sed_conf_input=$configure_input;;
4881     esac
4882
4883     case $ac_tag in
4884     *:-:* | *:-) cat >"$tmp/stdin" \
4885       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
4886 $as_echo "$as_me: error: could not create $ac_file" >&2;}
4887    { (exit 1); exit 1; }; } ;;
4888     esac
4889     ;;
4890   esac
4891
4892   ac_dir=`$as_dirname -- "$ac_file" ||
4893 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4894          X"$ac_file" : 'X\(//\)[^/]' \| \
4895          X"$ac_file" : 'X\(//\)$' \| \
4896          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4897 $as_echo X"$ac_file" |
4898     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4899             s//\1/
4900             q
4901           }
4902           /^X\(\/\/\)[^/].*/{
4903             s//\1/
4904             q
4905           }
4906           /^X\(\/\/\)$/{
4907             s//\1/
4908             q
4909           }
4910           /^X\(\/\).*/{
4911             s//\1/
4912             q
4913           }
4914           s/.*/./; q'`
4915   { as_dir="$ac_dir"
4916   case $as_dir in #(
4917   -*) as_dir=./$as_dir;;
4918   esac
4919   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4920     as_dirs=
4921     while :; do
4922       case $as_dir in #(
4923       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4924       *) as_qdir=$as_dir;;
4925       esac
4926       as_dirs="'$as_qdir' $as_dirs"
4927       as_dir=`$as_dirname -- "$as_dir" ||
4928 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4929          X"$as_dir" : 'X\(//\)[^/]' \| \
4930          X"$as_dir" : 'X\(//\)$' \| \
4931          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4932 $as_echo X"$as_dir" |
4933     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4934             s//\1/
4935             q
4936           }
4937           /^X\(\/\/\)[^/].*/{
4938             s//\1/
4939             q
4940           }
4941           /^X\(\/\/\)$/{
4942             s//\1/
4943             q
4944           }
4945           /^X\(\/\).*/{
4946             s//\1/
4947             q
4948           }
4949           s/.*/./; q'`
4950       test -d "$as_dir" && break
4951     done
4952     test -z "$as_dirs" || eval "mkdir $as_dirs"
4953   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4954 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
4955    { (exit 1); exit 1; }; }; }
4956   ac_builddir=.
4957
4958 case "$ac_dir" in
4959 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4960 *)
4961   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4962   # A ".." for each directory in $ac_dir_suffix.
4963   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4964   case $ac_top_builddir_sub in
4965   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4966   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4967   esac ;;
4968 esac
4969 ac_abs_top_builddir=$ac_pwd
4970 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4971 # for backward compatibility:
4972 ac_top_builddir=$ac_top_build_prefix
4973
4974 case $srcdir in
4975   .)  # We are building in place.
4976     ac_srcdir=.
4977     ac_top_srcdir=$ac_top_builddir_sub
4978     ac_abs_top_srcdir=$ac_pwd ;;
4979   [\\/]* | ?:[\\/]* )  # Absolute name.
4980     ac_srcdir=$srcdir$ac_dir_suffix;
4981     ac_top_srcdir=$srcdir
4982     ac_abs_top_srcdir=$srcdir ;;
4983   *) # Relative name.
4984     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4985     ac_top_srcdir=$ac_top_build_prefix$srcdir
4986     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4987 esac
4988 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4989
4990
4991   case $ac_mode in
4992   :F)
4993   #
4994   # CONFIG_FILE
4995   #
4996
4997   case $INSTALL in
4998   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4999   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5000   esac
5001   ac_MKDIR_P=$MKDIR_P
5002   case $MKDIR_P in
5003   [\\/$]* | ?:[\\/]* ) ;;
5004   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5005   esac
5006 _ACEOF
5007
5008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5009 # If the template does not know about datarootdir, expand it.
5010 # FIXME: This hack should be removed a few years after 2.60.
5011 ac_datarootdir_hack=; ac_datarootdir_seen=
5012
5013 ac_sed_dataroot='
5014 /datarootdir/ {
5015   p
5016   q
5017 }
5018 /@datadir@/p
5019 /@docdir@/p
5020 /@infodir@/p
5021 /@localedir@/p
5022 /@mandir@/p
5023 '
5024 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5025 *datarootdir*) ac_datarootdir_seen=yes;;
5026 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5027   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5028 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5029 _ACEOF
5030 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5031   ac_datarootdir_hack='
5032   s&@datadir@&$datadir&g
5033   s&@docdir@&$docdir&g
5034   s&@infodir@&$infodir&g
5035   s&@localedir@&$localedir&g
5036   s&@mandir@&$mandir&g
5037     s&\\\${datarootdir}&$datarootdir&g' ;;
5038 esac
5039 _ACEOF
5040
5041 # Neutralize VPATH when `$srcdir' = `.'.
5042 # Shell code in configure.ac might set extrasub.
5043 # FIXME: do we really want to maintain this feature?
5044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5045 ac_sed_extra="$ac_vpsub
5046 $extrasub
5047 _ACEOF
5048 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5049 :t
5050 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5051 s|@configure_input@|$ac_sed_conf_input|;t t
5052 s&@top_builddir@&$ac_top_builddir_sub&;t t
5053 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5054 s&@srcdir@&$ac_srcdir&;t t
5055 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5056 s&@top_srcdir@&$ac_top_srcdir&;t t
5057 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5058 s&@builddir@&$ac_builddir&;t t
5059 s&@abs_builddir@&$ac_abs_builddir&;t t
5060 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5061 s&@INSTALL@&$ac_INSTALL&;t t
5062 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5063 $ac_datarootdir_hack
5064 "
5065 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5066   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5067 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5068    { (exit 1); exit 1; }; }
5069
5070 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5071   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5072   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5073   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5074 which seems to be undefined.  Please make sure it is defined." >&5
5075 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5076 which seems to be undefined.  Please make sure it is defined." >&2;}
5077
5078   rm -f "$tmp/stdin"
5079   case $ac_file in
5080   -) cat "$tmp/out" && rm -f "$tmp/out";;
5081   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5082   esac \
5083   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
5084 $as_echo "$as_me: error: could not create $ac_file" >&2;}
5085    { (exit 1); exit 1; }; }
5086  ;;
5087
5088
5089   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
5090 $as_echo "$as_me: executing $ac_file commands" >&6;}
5091  ;;
5092   esac
5093
5094
5095   case $ac_file$ac_mode in
5096     "buildir":C)   ac_top_srcdir="$ax_enable_builddir_srcdir"
5097   if test ".$ax_enable_builddir" = ".." ; then
5098     if test -f "$top_srcdir/Makefile" ; then
5099       { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - left untouched" >&5
5100 $as_echo "$as_me: skipping top_srcdir/Makefile - left untouched" >&6;}
5101     else
5102       { $as_echo "$as_me:$LINENO: skipping top_srcdir/Makefile - not created" >&5
5103 $as_echo "$as_me: skipping top_srcdir/Makefile - not created" >&6;}
5104     fi
5105   else
5106     if test -f "$ac_top_srcdir/Makefile" ; then
5107       a=`grep "^VERSION " "$ac_top_srcdir/Makefile"` ; b=`grep "^VERSION " Makefile`
5108       test "$a" != "$b" && rm "$ac_top_srcdir/Makefile"
5109     fi
5110     if test -f "$ac_top_srcdir/Makefile" ; then
5111         echo "$ac_top_srcdir/Makefile : $ac_top_srcdir/Makefile.in" > $tmp/conftemp.mk
5112         echo "  @ echo 'REMOVED,,,' >\$@" >> $tmp/conftemp.mk
5113       eval "${MAKE-make} -f $tmp/conftemp.mk 2>/dev/null >/dev/null"
5114       if grep '^REMOVED,,,' "$ac_top_srcdir/Makefile" >/dev/null
5115       then rm $ac_top_srcdir/Makefile ; fi
5116       cp $tmp/conftemp.mk $ac_top_srcdir/makefiles.mk~      ## DEBUGGING
5117     fi
5118     if test ! -f "$ac_top_srcdir/Makefile" ; then
5119       { $as_echo "$as_me:$LINENO: create top_srcdir/Makefile guessed from local Makefile" >&5
5120 $as_echo "$as_me: create top_srcdir/Makefile guessed from local Makefile" >&6;}
5121       x='`' ; cat >$tmp/conftemp.sed <<_EOF
5122 /^\$/n
5123 x
5124 /^\$/bS
5125 x
5126 /\\\\\$/{H;d;}
5127 {H;s/.*//;x;}
5128 bM
5129 :S
5130 x
5131 /\\\\\$/{h;d;}
5132 {h;s/.*//;x;}
5133 :M
5134 s/\\(\\n\\)     /\\1 /g
5135 /^      /d
5136 /^[     ]*[\\#]/d
5137 /^VPATH *=/d
5138 s/^srcdir *=.*/srcdir = ./
5139 s/^top_srcdir *=.*/top_srcdir = ./
5140 /[:=]/!d
5141 /^\\./d
5142 / = /b
5143 / .= /b
5144 /:/!b
5145 s/:.*/:/
5146 s/ /  /g
5147 s/ \\([a-z][a-z-]*[a-zA-Z0-9]\\)\\([ :]\\)/ \\1 \\1-all\\2/g
5148 s/^\\([a-z][a-z-]*[a-zA-Z0-9]\\)\\([ :]\\)/\\1 \\1-all\\2/
5149 s/  / /g
5150 /^all all-all[ :]/i\\
5151 all-configured : all-all
5152 s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-all//g
5153 /-all-all/d
5154 a\\
5155         @ HOST="\$(HOST)\" \\\\\\
5156         ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5157         ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5158         ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
5159         ; echo "MAKE \$\$HOST : \$\$n * \$\@"; if test "\$\$n" = "0" ; then : \\\\\\
5160         ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\
5161         ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
5162         ; test "\$\$use" = "\$\@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\
5163         ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5164         ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done
5165 /dist-all *:/a\\
5166         @ HOST="\$(HOST)\" \\\\\\
5167         ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5168         ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5169         ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
5170         ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).tar.*" \\\\\\
5171         ; if test "\$\$found" = "0" ; then : \\\\\\
5172         ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
5173         ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5174         ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).tar.* \\\\\\
5175         ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
5176 /dist-[a-zA-Z0-9]*-all *:/a\\
5177         @ HOST="\$(HOST)\" \\\\\\
5178         ; test ".\$\$HOST" = "." && HOST=$x sh ./config.guess $x \\\\\\
5179         ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\
5180         ; found=$x echo \$\$BUILD | wc -w $x \\\\\\
5181         ; echo "MAKE \$\$HOST : \$\$found \$(PACKAGE)-\$(VERSION).*" \\\\\\
5182         ; if test "\$\$found" = "0" ; then : \\\\\\
5183         ; BUILD=$x grep "^#### .*|" Makefile |tail -1| sed -e 's/.*|//' $x \\\\\\
5184         ; fi ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5185         ; for f in \$\$i/\$(PACKAGE)-\$(VERSION).* \\\\\\
5186         ; do test -f "\$\$f" && mv "\$\$f" \$(PUB). ; done ; break ; done
5187 /distclean-all *:/a\\
5188         @ HOST="\$(HOST)\" \\\\\\
5189         ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\
5190         ; BUILD=$x grep "^#### .*|" Makefile | sed -e 's/.*|//' $x \\\\\\
5191         ; use=$x basename "\$\@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\
5192         ; echo "MAKE \$\$HOST : \$\$n * \$\@ (all local builds)" \\\\\\
5193         ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\
5194         ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5195         ; echo "# rm -r \$\$i"; done ; echo "# (sleep 3)" ; sleep 3 \\\\\\
5196         ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\
5197         ; echo "\$\$i" | grep "^/" > /dev/null && continue \\\\\\
5198         ; echo "\$\$i" | grep "^../" > /dev/null && continue \\\\\\
5199         ; echo "rm -r \$\$i"; (rm -r "\$\$i") ; done ; rm Makefile
5200 _EOF
5201       cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefile.sed~"            ## DEBUGGING
5202       $ax_enable_builddir_sed -f $tmp/conftemp.sed Makefile >$ac_top_srcdir/Makefile
5203       if test -f "$ac_top_srcdir/Makefile.mk" ; then
5204         { $as_echo "$as_me:$LINENO: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&5
5205 $as_echo "$as_me: extend top_srcdir/Makefile with top_srcdir/Makefile.mk" >&6;}
5206         cat $ac_top_srcdir/Makefile.mk >>$ac_top_srcdir/Makefile
5207       fi ; xxxx="####"
5208       echo "$xxxx CONFIGURATIONS FOR TOPLEVEL MAKEFILE: " >>$ac_top_srcdir/Makefile
5209       # sanity check
5210       if grep '^; echo "MAKE ' $ac_top_srcdir/Makefile >/dev/null ; then
5211         { $as_echo "$as_me:$LINENO: buggy sed found - it deletes tab in \"a\" text parts" >&5
5212 $as_echo "$as_me: buggy sed found - it deletes tab in \"a\" text parts" >&6;}
5213         $ax_enable_builddir_sed -e '/^@ HOST=/s/^/      /' -e '/^; /s/^/        /' $ac_top_srcdir/Makefile \
5214           >$ac_top_srcdir/Makefile~
5215         (test -s $ac_top_srcdir/Makefile~ && mv $ac_top_srcdir/Makefile~ $ac_top_srcdir/Makefile) 2>/dev/null
5216       fi
5217     else
5218       xxxx="\\#\\#\\#\\#"
5219       # echo "/^$xxxx *$ax_enable_builddir_host /d" >$tmp/conftemp.sed
5220       echo "s!^$xxxx [^|]* | *$ax_enable_builddir *\$!$xxxx ...... $ax_enable_builddir!" >$tmp/conftemp.sed
5221       $ax_enable_builddir_sed -f "$tmp/conftemp.sed" "$ac_top_srcdir/Makefile" >$tmp/mkfile.tmp
5222         cp "$tmp/conftemp.sed" "$ac_top_srcdir/makefiles.sed~"         ## DEBUGGING
5223         cp "$tmp/mkfile.tmp"   "$ac_top_srcdir/makefiles.out~"         ## DEBUGGING
5224       if cmp -s "$ac_top_srcdir/Makefile" "$tmp/mkfile.tmp" 2>/dev/null ; then
5225         { $as_echo "$as_me:$LINENO: keeping top_srcdir/Makefile from earlier configure" >&5
5226 $as_echo "$as_me: keeping top_srcdir/Makefile from earlier configure" >&6;}
5227         rm "$tmp/mkfile.tmp"
5228       else
5229         { $as_echo "$as_me:$LINENO: reusing top_srcdir/Makefile from earlier configure" >&5
5230 $as_echo "$as_me: reusing top_srcdir/Makefile from earlier configure" >&6;}
5231         mv "$tmp/mkfile.tmp" "$ac_top_srcdir/Makefile"
5232       fi
5233     fi
5234     { $as_echo "$as_me:$LINENO: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&5
5235 $as_echo "$as_me: build in $ax_enable_builddir (HOST=$ax_enable_builddir_host)" >&6;}
5236     xxxx="####"
5237     echo "$xxxx" "$ax_enable_builddir_host" "|$ax_enable_builddir" >>$ac_top_srcdir/Makefile
5238   fi
5239  ;;
5240     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5241   # Autoconf 2.62 quotes --file arguments for eval, but not when files
5242   # are listed without --file.  Let's play safe and only enable the eval
5243   # if we detect the quoting.
5244   case $CONFIG_FILES in
5245   *\'*) eval set x "$CONFIG_FILES" ;;
5246   *)   set x $CONFIG_FILES ;;
5247   esac
5248   shift
5249   for mf
5250   do
5251     # Strip MF so we end up with the name of the file.
5252     mf=`echo "$mf" | sed -e 's/:.*$//'`
5253     # Check whether this is an Automake generated Makefile or not.
5254     # We used to match only the files named `Makefile.in', but
5255     # some people rename them; so instead we look at the file content.
5256     # Grep'ing the first line is not enough: some people post-process
5257     # each Makefile.in and add a new line on top of each file to say so.
5258     # Grep'ing the whole file is not good either: AIX grep has a line
5259     # limit of 2048, but all sed's we know have understand at least 4000.
5260     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5261       dirpart=`$as_dirname -- "$mf" ||
5262 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5263          X"$mf" : 'X\(//\)[^/]' \| \
5264          X"$mf" : 'X\(//\)$' \| \
5265          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5266 $as_echo X"$mf" |
5267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5268             s//\1/
5269             q
5270           }
5271           /^X\(\/\/\)[^/].*/{
5272             s//\1/
5273             q
5274           }
5275           /^X\(\/\/\)$/{
5276             s//\1/
5277             q
5278           }
5279           /^X\(\/\).*/{
5280             s//\1/
5281             q
5282           }
5283           s/.*/./; q'`
5284     else
5285       continue
5286     fi
5287     # Extract the definition of DEPDIR, am__include, and am__quote
5288     # from the Makefile without running `make'.
5289     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5290     test -z "$DEPDIR" && continue
5291     am__include=`sed -n 's/^am__include = //p' < "$mf"`
5292     test -z "am__include" && continue
5293     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5294     # When using ansi2knr, U may be empty or an underscore; expand it
5295     U=`sed -n 's/^U = //p' < "$mf"`
5296     # Find all dependency output files, they are included files with
5297     # $(DEPDIR) in their names.  We invoke sed twice because it is the
5298     # simplest approach to changing $(DEPDIR) to its actual value in the
5299     # expansion.
5300     for file in `sed -n "
5301       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5302          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5303       # Make sure the directory exists.
5304       test -f "$dirpart/$file" && continue
5305       fdir=`$as_dirname -- "$file" ||
5306 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5307          X"$file" : 'X\(//\)[^/]' \| \
5308          X"$file" : 'X\(//\)$' \| \
5309          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5310 $as_echo X"$file" |
5311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5312             s//\1/
5313             q
5314           }
5315           /^X\(\/\/\)[^/].*/{
5316             s//\1/
5317             q
5318           }
5319           /^X\(\/\/\)$/{
5320             s//\1/
5321             q
5322           }
5323           /^X\(\/\).*/{
5324             s//\1/
5325             q
5326           }
5327           s/.*/./; q'`
5328       { as_dir=$dirpart/$fdir
5329   case $as_dir in #(
5330   -*) as_dir=./$as_dir;;
5331   esac
5332   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5333     as_dirs=
5334     while :; do
5335       case $as_dir in #(
5336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5337       *) as_qdir=$as_dir;;
5338       esac
5339       as_dirs="'$as_qdir' $as_dirs"
5340       as_dir=`$as_dirname -- "$as_dir" ||
5341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5342          X"$as_dir" : 'X\(//\)[^/]' \| \
5343          X"$as_dir" : 'X\(//\)$' \| \
5344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5345 $as_echo X"$as_dir" |
5346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5347             s//\1/
5348             q
5349           }
5350           /^X\(\/\/\)[^/].*/{
5351             s//\1/
5352             q
5353           }
5354           /^X\(\/\/\)$/{
5355             s//\1/
5356             q
5357           }
5358           /^X\(\/\).*/{
5359             s//\1/
5360             q
5361           }
5362           s/.*/./; q'`
5363       test -d "$as_dir" && break
5364     done
5365     test -z "$as_dirs" || eval "mkdir $as_dirs"
5366   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5367 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5368    { (exit 1); exit 1; }; }; }
5369       # echo "creating $dirpart/$file"
5370       echo '# dummy' > "$dirpart/$file"
5371     done
5372   done
5373 }
5374  ;;
5375
5376   esac
5377 done # for ac_tag
5378
5379
5380 { (exit 0); exit 0; }
5381 _ACEOF
5382 chmod +x $CONFIG_STATUS
5383 ac_clean_files=$ac_clean_files_save
5384
5385 test $ac_write_fail = 0 ||
5386   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
5387 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
5388    { (exit 1); exit 1; }; }
5389
5390
5391 # configure is writing to config.log, and then calls config.status.
5392 # config.status does its own redirection, appending to config.log.
5393 # Unfortunately, on DOS this fails, as config.log is still kept open
5394 # by configure, so config.status won't be able to write to it; its
5395 # output is simply discarded.  So we exec the FD to /dev/null,
5396 # effectively closing config.log, so it can be properly (re)opened and
5397 # appended to by config.status.  When coming back to configure, we
5398 # need to make the FD available again.
5399 if test "$no_create" != yes; then
5400   ac_cs_success=:
5401   ac_config_status_args=
5402   test "$silent" = yes &&
5403     ac_config_status_args="$ac_config_status_args --quiet"
5404   exec 5>/dev/null
5405   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5406   exec 5>>config.log
5407   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5408   # would make configure fail if this is the last instruction.
5409   $ac_cs_success || { (exit 1); exit 1; }
5410 fi
5411 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5412   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5413 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5414 fi
5415
5416