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