32bit memcmp/strcmp/strncmp optimized for SSSE3/SSS4.2
[glibc.git] / configure
blob49ac30db46fb5da391fe7125ab173bce097394de
1 #! /bin/sh
2 # From configure.in CVSid.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.63 for GNU C Library (see version.h).
6 # Report bugs to <glibc>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 emulate sh
20 NULLCMD=:
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
24 setopt NO_GLOB_SUBST
25 else
26 case `(set -o) 2>/dev/null` in
27 *posix*) set -o posix ;;
28 esac
35 # PATH needs CR
36 # Avoid depending upon Character Ranges.
37 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits='0123456789'
41 as_cr_alnum=$as_cr_Letters$as_cr_digits
43 as_nl='
45 export as_nl
46 # Printing a long string crashes Solaris 7 /usr/bin/printf.
47 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
49 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
50 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo='printf %s\n'
52 as_echo_n='printf %s'
53 else
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
56 as_echo_n='/usr/ucb/echo -n'
57 else
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59 as_echo_n_body='eval
60 arg=$1;
61 case $arg in
62 *"$as_nl"*)
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 esac;
66 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 export as_echo_n_body
69 as_echo_n='sh -c $as_echo_n_body as_echo'
71 export as_echo_body
72 as_echo='sh -c $as_echo_body as_echo'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
84 # Support unset when possible.
85 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
86 as_unset=unset
87 else
88 as_unset=false
92 # IFS
93 # We need space, tab and new line, in precisely that order. Quoting is
94 # there to prevent editors from complaining about space-tab.
95 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
96 # splitting by setting IFS to empty value.)
97 IFS=" "" $as_nl"
99 # Find who we are. Look in the path if we contain no directory separator.
100 case $0 in
101 *[\\/]* ) as_myself=$0 ;;
102 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 for as_dir in $PATH
105 IFS=$as_save_IFS
106 test -z "$as_dir" && as_dir=.
107 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 done
109 IFS=$as_save_IFS
112 esac
113 # We did not find ourselves, most probably we were run as `sh COMMAND'
114 # in which case we are not to be found in the path.
115 if test "x$as_myself" = x; then
116 as_myself=$0
118 if test ! -f "$as_myself"; then
119 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
120 { (exit 1); exit 1; }
123 # Work around bugs in pre-3.0 UWIN ksh.
124 for as_var in ENV MAIL MAILPATH
125 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
126 done
127 PS1='$ '
128 PS2='> '
129 PS4='+ '
131 # NLS nuisances.
132 LC_ALL=C
133 export LC_ALL
134 LANGUAGE=C
135 export LANGUAGE
137 # Required to use basename.
138 if expr a : '\(a\)' >/dev/null 2>&1 &&
139 test "X`expr 00001 : '.*\(...\)'`" = X001; then
140 as_expr=expr
141 else
142 as_expr=false
145 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
146 as_basename=basename
147 else
148 as_basename=false
152 # Name of the executable.
153 as_me=`$as_basename -- "$0" ||
154 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
155 X"$0" : 'X\(//\)$' \| \
156 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 $as_echo X/"$0" |
158 sed '/^.*\/\([^/][^/]*\)\/*$/{
159 s//\1/
162 /^X\/\(\/\/\)$/{
163 s//\1/
166 /^X\/\(\/\).*/{
167 s//\1/
170 s/.*/./; q'`
172 # CDPATH.
173 $as_unset CDPATH
176 if test "x$CONFIG_SHELL" = x; then
177 if (eval ":") 2>/dev/null; then
178 as_have_required=yes
179 else
180 as_have_required=no
183 if test $as_have_required = yes && (eval ":
184 (as_func_return () {
185 (exit \$1)
187 as_func_success () {
188 as_func_return 0
190 as_func_failure () {
191 as_func_return 1
193 as_func_ret_success () {
194 return 0
196 as_func_ret_failure () {
197 return 1
200 exitcode=0
201 if as_func_success; then
203 else
204 exitcode=1
205 echo as_func_success failed.
208 if as_func_failure; then
209 exitcode=1
210 echo as_func_failure succeeded.
213 if as_func_ret_success; then
215 else
216 exitcode=1
217 echo as_func_ret_success failed.
220 if as_func_ret_failure; then
221 exitcode=1
222 echo as_func_ret_failure succeeded.
225 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
227 else
228 exitcode=1
229 echo positional parameters were not saved.
232 test \$exitcode = 0) || { (exit 1); exit 1; }
235 as_lineno_1=\$LINENO
236 as_lineno_2=\$LINENO
237 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
238 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
239 ") 2> /dev/null; then
241 else
242 as_candidate_shells=
243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
244 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246 IFS=$as_save_IFS
247 test -z "$as_dir" && as_dir=.
248 case $as_dir in
250 for as_base in sh bash ksh sh5; do
251 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
252 done;;
253 esac
254 done
255 IFS=$as_save_IFS
258 for as_shell in $as_candidate_shells $SHELL; do
259 # Try only shells that exist, to save several forks.
260 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
261 { ("$as_shell") 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
263 emulate sh
264 NULLCMD=:
265 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
268 setopt NO_GLOB_SUBST
269 else
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
272 esac
278 _ASEOF
279 }; then
280 CONFIG_SHELL=$as_shell
281 as_have_required=yes
282 if { "$as_shell" 2> /dev/null <<\_ASEOF
283 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
284 emulate sh
285 NULLCMD=:
286 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
287 # is contrary to our usage. Disable this feature.
288 alias -g '${1+"$@"}'='"$@"'
289 setopt NO_GLOB_SUBST
290 else
291 case `(set -o) 2>/dev/null` in
292 *posix*) set -o posix ;;
293 esac
299 (as_func_return () {
300 (exit $1)
302 as_func_success () {
303 as_func_return 0
305 as_func_failure () {
306 as_func_return 1
308 as_func_ret_success () {
309 return 0
311 as_func_ret_failure () {
312 return 1
315 exitcode=0
316 if as_func_success; then
318 else
319 exitcode=1
320 echo as_func_success failed.
323 if as_func_failure; then
324 exitcode=1
325 echo as_func_failure succeeded.
328 if as_func_ret_success; then
330 else
331 exitcode=1
332 echo as_func_ret_success failed.
335 if as_func_ret_failure; then
336 exitcode=1
337 echo as_func_ret_failure succeeded.
340 if ( set x; as_func_ret_success y && test x = "$1" ); then
342 else
343 exitcode=1
344 echo positional parameters were not saved.
347 test $exitcode = 0) || { (exit 1); exit 1; }
350 as_lineno_1=$LINENO
351 as_lineno_2=$LINENO
352 test "x$as_lineno_1" != "x$as_lineno_2" &&
353 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
355 _ASEOF
356 }; then
357 break
362 done
364 if test "x$CONFIG_SHELL" != x; then
365 for as_var in BASH_ENV ENV
366 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
367 done
368 export CONFIG_SHELL
369 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
373 if test $as_have_required = no; then
374 echo This script requires a shell more modern than all the
375 echo shells that I found on your system. Please install a
376 echo modern shell, or manually run the script under such a
377 echo shell if you do have one.
378 { (exit 1); exit 1; }
388 (eval "as_func_return () {
389 (exit \$1)
391 as_func_success () {
392 as_func_return 0
394 as_func_failure () {
395 as_func_return 1
397 as_func_ret_success () {
398 return 0
400 as_func_ret_failure () {
401 return 1
404 exitcode=0
405 if as_func_success; then
407 else
408 exitcode=1
409 echo as_func_success failed.
412 if as_func_failure; then
413 exitcode=1
414 echo as_func_failure succeeded.
417 if as_func_ret_success; then
419 else
420 exitcode=1
421 echo as_func_ret_success failed.
424 if as_func_ret_failure; then
425 exitcode=1
426 echo as_func_ret_failure succeeded.
429 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
431 else
432 exitcode=1
433 echo positional parameters were not saved.
436 test \$exitcode = 0") || {
437 echo No shell found that supports shell functions.
438 echo Please tell bug-autoconf@gnu.org about your system,
439 echo including any error possibly output before this message.
440 echo This can help us improve future autoconf versions.
441 echo Configuration will now proceed without shell functions.
446 as_lineno_1=$LINENO
447 as_lineno_2=$LINENO
448 test "x$as_lineno_1" != "x$as_lineno_2" &&
449 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
451 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
452 # uniformly replaced by the line number. The first 'sed' inserts a
453 # line-number line after each line using $LINENO; the second 'sed'
454 # does the real work. The second script uses 'N' to pair each
455 # line-number line with the line containing $LINENO, and appends
456 # trailing '-' during substitution so that $LINENO is not a special
457 # case at line end.
458 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
459 # scripts with optimization help from Paolo Bonzini. Blame Lee
460 # E. McMahon (1931-1989) for sed's syntax. :-)
461 sed -n '
463 /[$]LINENO/=
464 ' <$as_myself |
465 sed '
466 s/[$]LINENO.*/&-/
467 t lineno
469 :lineno
471 :loop
472 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 t loop
474 s/-\n.*//
475 ' >$as_me.lineno &&
476 chmod +x "$as_me.lineno" ||
477 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
478 { (exit 1); exit 1; }; }
480 # Don't try to exec as it changes $[0], causing all sort of problems
481 # (the dirname of $[0] is not the place where we might find the
482 # original and so on. Autoconf is especially sensitive to this).
483 . "./$as_me.lineno"
484 # Exit status is that of the last command.
485 exit
489 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
490 as_dirname=dirname
491 else
492 as_dirname=false
495 ECHO_C= ECHO_N= ECHO_T=
496 case `echo -n x` in
497 -n*)
498 case `echo 'x\c'` in
499 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
500 *) ECHO_C='\c';;
501 esac;;
503 ECHO_N='-n';;
504 esac
505 if expr a : '\(a\)' >/dev/null 2>&1 &&
506 test "X`expr 00001 : '.*\(...\)'`" = X001; then
507 as_expr=expr
508 else
509 as_expr=false
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
515 else
516 rm -f conf$$.dir
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
521 as_ln_s='ln -s'
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -p'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527 as_ln_s='cp -p'
528 elif ln conf$$.file conf$$ 2>/dev/null; then
529 as_ln_s=ln
530 else
531 as_ln_s='cp -p'
533 else
534 as_ln_s='cp -p'
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p=:
541 else
542 test -d ./-p && rmdir ./-p
543 as_mkdir_p=false
546 if test -x / >/dev/null 2>&1; then
547 as_test_x='test -x'
548 else
549 if ls -dL / >/dev/null 2>&1; then
550 as_ls_L_option=L
551 else
552 as_ls_L_option=
554 as_test_x='
555 eval sh -c '\''
556 if test -d "$1"; then
557 test -d "$1/.";
558 else
559 case $1 in
560 -*)set "./$1";;
561 esac;
562 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
563 ???[sx]*):;;*)false;;esac;fi
564 '\'' sh
567 as_executable_p=$as_test_x
569 # Sed expression to map a string onto a valid CPP name.
570 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
572 # Sed expression to map a string onto a valid variable name.
573 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577 exec 7<&0 </dev/null 6>&1
579 # Name of the host.
580 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
581 # so uname gets run too.
582 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
585 # Initializations.
587 ac_default_prefix=/usr/local
588 ac_clean_files=
589 ac_config_libobj_dir=.
590 LIBOBJS=
591 cross_compiling=no
592 subdirs=
593 MFLAGS=
594 MAKEFLAGS=
595 SHELL=${CONFIG_SHELL-/bin/sh}
597 # Identity of this package.
598 PACKAGE_NAME='GNU C Library'
599 PACKAGE_TARNAME='c-library'
600 PACKAGE_VERSION='(see version.h)'
601 PACKAGE_STRING='GNU C Library (see version.h)'
602 PACKAGE_BUGREPORT='glibc'
604 ac_unique_file="include/features.h"
605 enable_option_checking=no
606 # Factoring default headers for most tests.
607 ac_includes_default="\
608 #include <stdio.h>
609 #ifdef HAVE_SYS_TYPES_H
610 # include <sys/types.h>
611 #endif
612 #ifdef HAVE_SYS_STAT_H
613 # include <sys/stat.h>
614 #endif
615 #ifdef STDC_HEADERS
616 # include <stdlib.h>
617 # include <stddef.h>
618 #else
619 # ifdef HAVE_STDLIB_H
620 # include <stdlib.h>
621 # endif
622 #endif
623 #ifdef HAVE_STRING_H
624 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 # include <memory.h>
626 # endif
627 # include <string.h>
628 #endif
629 #ifdef HAVE_STRINGS_H
630 # include <strings.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_UNISTD_H
639 # include <unistd.h>
640 #endif"
642 ac_subst_vars='LTLIBOBJS
643 LIBOBJS
644 RELEASE
645 VERSION
646 mach_interface_list
647 DEFINES
648 nopic_initfini
649 static_nss
650 bounded
651 omitfp
652 profile
653 libc_cv_pic_default
654 shared
655 static
656 xcoff
658 ldd_rewrite_script
659 use_ldconfig
660 libc_cv_cc_avx
661 libc_cv_cc_sse4
662 libc_cv_cpp_asm_debuginfo
663 libc_cv_forced_unwind
664 libc_cv_rootsbindir
665 libc_cv_sysconfdir
666 libc_cv_localedir
667 libc_cv_slibdir
668 old_glibc_headers
669 uname_version
670 uname_release
671 uname_sysname
672 libc_cv_gcc_unwind_find_fde
673 sizeof_long_double
674 EGREP
675 GREP
676 have_selinux
677 have_libcap
678 have_libaudit
679 LIBGD
680 libc_cv_cc_submachine
681 exceptions
682 no_whole_archive
683 libc_cv_have_initfini
684 libc_cv_gnu89_inline
685 libc_cv_ssp
686 fno_unit_at_a_time
687 libc_cv_hashstyle
688 libc_cv_fpie
689 libc_cv_z_execstack
690 libc_cv_z_combreloc
691 ASFLAGS_config
692 libc_cv_as_needed
693 libc_cv_libgcc_s_suffix
694 libc_cv_Bgroup
695 libc_cv_cc_with_libunwind
696 VERSIONING
697 BISON
698 INSTALL_INFO
699 PERL
701 libc_cv_have_ksh
703 libc_cv_have_bash2
704 BASH_SHELL
705 libc_cv_gcc_static_libgcc
706 CXX_SYSINCLUDES
707 SYSINCLUDES
708 AUTOCONF
710 MAKEINFO
711 MSGFMT
712 MAKE
713 PWD_P
717 RANLIB
718 OBJDUMP
720 LN_S
721 INSTALL_DATA
722 INSTALL_SCRIPT
723 INSTALL_PROGRAM
724 sysdeps_add_ons
725 sysnames
726 submachine
727 multi_arch
728 base_machine
729 add_on_subdirs
730 add_ons
731 libc_cv_nss_crypt
732 experimental_malloc
733 all_warnings
734 force_install
735 bindnow
736 oldest_abi
737 enable_check_abi
738 with_cvs
739 with_fp
740 ac_ct_CXX
741 CXXFLAGS
744 cross_compiling
745 BUILD_CC
746 OBJEXT
747 ac_ct_CC
748 CPPFLAGS
749 LDFLAGS
750 CFLAGS
752 host_os
753 host_vendor
754 host_cpu
755 host
756 build_os
757 build_vendor
758 build_cpu
759 build
760 subdirs
761 target_alias
762 host_alias
763 build_alias
764 LIBS
765 ECHO_T
766 ECHO_N
767 ECHO_C
768 DEFS
769 mandir
770 localedir
771 libdir
772 psdir
773 pdfdir
774 dvidir
775 htmldir
776 infodir
777 docdir
778 oldincludedir
779 includedir
780 localstatedir
781 sharedstatedir
782 sysconfdir
783 datadir
784 datarootdir
785 libexecdir
786 sbindir
787 bindir
788 program_transform_name
789 prefix
790 exec_prefix
791 PACKAGE_BUGREPORT
792 PACKAGE_STRING
793 PACKAGE_VERSION
794 PACKAGE_TARNAME
795 PACKAGE_NAME
796 PATH_SEPARATOR
797 SHELL'
798 ac_subst_files=''
799 ac_user_opts='
800 enable_option_checking
801 with_gd
802 with_gd_include
803 with_gd_lib
804 with_fp
805 with_binutils
806 with_elf
807 with_selinux
808 with_xcoff
809 with_cvs
810 with_headers
811 enable_sanity_checks
812 enable_check_abi
813 enable_shared
814 enable_profile
815 enable_omitfp
816 enable_bounded
817 enable_versioning
818 enable_oldest_abi
819 enable_stackguard_randomization
820 enable_add_ons
821 with_tls
822 with___thread
823 enable_hidden_plt
824 enable_bind_now
825 enable_static_nss
826 enable_force_install
827 enable_kernel
828 enable_all_warnings
829 enable_multi_arch
830 enable_experimental_malloc
831 enable_nss_crypt
832 with_cpu
834 ac_precious_vars='build_alias
835 host_alias
836 target_alias
838 CFLAGS
839 LDFLAGS
840 LIBS
841 CPPFLAGS
844 CXXFLAGS
845 CCC'
846 ac_subdirs_all='
849 # Initialize some variables set by options.
850 ac_init_help=
851 ac_init_version=false
852 ac_unrecognized_opts=
853 ac_unrecognized_sep=
854 # The variables have the same names as the options, with
855 # dashes changed to underlines.
856 cache_file=/dev/null
857 exec_prefix=NONE
858 no_create=
859 no_recursion=
860 prefix=NONE
861 program_prefix=NONE
862 program_suffix=NONE
863 program_transform_name=s,x,x,
864 silent=
865 site=
866 srcdir=
867 verbose=
868 x_includes=NONE
869 x_libraries=NONE
871 # Installation directory options.
872 # These are left unexpanded so users can "make install exec_prefix=/foo"
873 # and all the variables that are supposed to be based on exec_prefix
874 # by default will actually change.
875 # Use braces instead of parens because sh, perl, etc. also accept them.
876 # (The list follows the same order as the GNU Coding Standards.)
877 bindir='${exec_prefix}/bin'
878 sbindir='${exec_prefix}/sbin'
879 libexecdir='${exec_prefix}/libexec'
880 datarootdir='${prefix}/share'
881 datadir='${datarootdir}'
882 sysconfdir='${prefix}/etc'
883 sharedstatedir='${prefix}/com'
884 localstatedir='${prefix}/var'
885 includedir='${prefix}/include'
886 oldincludedir='/usr/include'
887 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
888 infodir='${datarootdir}/info'
889 htmldir='${docdir}'
890 dvidir='${docdir}'
891 pdfdir='${docdir}'
892 psdir='${docdir}'
893 libdir='${exec_prefix}/lib'
894 localedir='${datarootdir}/locale'
895 mandir='${datarootdir}/man'
897 ac_prev=
898 ac_dashdash=
899 for ac_option
901 # If the previous option needs an argument, assign it.
902 if test -n "$ac_prev"; then
903 eval $ac_prev=\$ac_option
904 ac_prev=
905 continue
908 case $ac_option in
909 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 *) ac_optarg=yes ;;
911 esac
913 # Accept the important Cygnus configure options, so we can diagnose typos.
915 case $ac_dashdash$ac_option in
917 ac_dashdash=yes ;;
919 -bindir | --bindir | --bindi | --bind | --bin | --bi)
920 ac_prev=bindir ;;
921 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
922 bindir=$ac_optarg ;;
924 -build | --build | --buil | --bui | --bu)
925 ac_prev=build_alias ;;
926 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
927 build_alias=$ac_optarg ;;
929 -cache-file | --cache-file | --cache-fil | --cache-fi \
930 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
931 ac_prev=cache_file ;;
932 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
933 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
934 cache_file=$ac_optarg ;;
936 --config-cache | -C)
937 cache_file=config.cache ;;
939 -datadir | --datadir | --datadi | --datad)
940 ac_prev=datadir ;;
941 -datadir=* | --datadir=* | --datadi=* | --datad=*)
942 datadir=$ac_optarg ;;
944 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
945 | --dataroo | --dataro | --datar)
946 ac_prev=datarootdir ;;
947 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
948 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
949 datarootdir=$ac_optarg ;;
951 -disable-* | --disable-*)
952 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
956 { (exit 1); exit 1; }; }
957 ac_useropt_orig=$ac_useropt
958 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
961 "enable_$ac_useropt"
962 "*) ;;
963 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
964 ac_unrecognized_sep=', ';;
965 esac
966 eval enable_$ac_useropt=no ;;
968 -docdir | --docdir | --docdi | --doc | --do)
969 ac_prev=docdir ;;
970 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
971 docdir=$ac_optarg ;;
973 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
974 ac_prev=dvidir ;;
975 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
976 dvidir=$ac_optarg ;;
978 -enable-* | --enable-*)
979 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
982 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
983 { (exit 1); exit 1; }; }
984 ac_useropt_orig=$ac_useropt
985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
988 "enable_$ac_useropt"
989 "*) ;;
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
992 esac
993 eval enable_$ac_useropt=\$ac_optarg ;;
995 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
996 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
997 | --exec | --exe | --ex)
998 ac_prev=exec_prefix ;;
999 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1000 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1001 | --exec=* | --exe=* | --ex=*)
1002 exec_prefix=$ac_optarg ;;
1004 -gas | --gas | --ga | --g)
1005 # Obsolete; use --with-gas.
1006 with_gas=yes ;;
1008 -help | --help | --hel | --he | -h)
1009 ac_init_help=long ;;
1010 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011 ac_init_help=recursive ;;
1012 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1013 ac_init_help=short ;;
1015 -host | --host | --hos | --ho)
1016 ac_prev=host_alias ;;
1017 -host=* | --host=* | --hos=* | --ho=*)
1018 host_alias=$ac_optarg ;;
1020 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1021 ac_prev=htmldir ;;
1022 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1023 | --ht=*)
1024 htmldir=$ac_optarg ;;
1026 -includedir | --includedir | --includedi | --included | --include \
1027 | --includ | --inclu | --incl | --inc)
1028 ac_prev=includedir ;;
1029 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1030 | --includ=* | --inclu=* | --incl=* | --inc=*)
1031 includedir=$ac_optarg ;;
1033 -infodir | --infodir | --infodi | --infod | --info | --inf)
1034 ac_prev=infodir ;;
1035 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036 infodir=$ac_optarg ;;
1038 -libdir | --libdir | --libdi | --libd)
1039 ac_prev=libdir ;;
1040 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041 libdir=$ac_optarg ;;
1043 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1044 | --libexe | --libex | --libe)
1045 ac_prev=libexecdir ;;
1046 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1047 | --libexe=* | --libex=* | --libe=*)
1048 libexecdir=$ac_optarg ;;
1050 -localedir | --localedir | --localedi | --localed | --locale)
1051 ac_prev=localedir ;;
1052 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053 localedir=$ac_optarg ;;
1055 -localstatedir | --localstatedir | --localstatedi | --localstated \
1056 | --localstate | --localstat | --localsta | --localst | --locals)
1057 ac_prev=localstatedir ;;
1058 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1059 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1060 localstatedir=$ac_optarg ;;
1062 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1063 ac_prev=mandir ;;
1064 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065 mandir=$ac_optarg ;;
1067 -nfp | --nfp | --nf)
1068 # Obsolete; use --without-fp.
1069 with_fp=no ;;
1071 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072 | --no-cr | --no-c | -n)
1073 no_create=yes ;;
1075 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077 no_recursion=yes ;;
1079 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1080 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1081 | --oldin | --oldi | --old | --ol | --o)
1082 ac_prev=oldincludedir ;;
1083 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1084 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1085 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1086 oldincludedir=$ac_optarg ;;
1088 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1089 ac_prev=prefix ;;
1090 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091 prefix=$ac_optarg ;;
1093 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1094 | --program-pre | --program-pr | --program-p)
1095 ac_prev=program_prefix ;;
1096 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1097 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1098 program_prefix=$ac_optarg ;;
1100 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1101 | --program-suf | --program-su | --program-s)
1102 ac_prev=program_suffix ;;
1103 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1104 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1105 program_suffix=$ac_optarg ;;
1107 -program-transform-name | --program-transform-name \
1108 | --program-transform-nam | --program-transform-na \
1109 | --program-transform-n | --program-transform- \
1110 | --program-transform | --program-transfor \
1111 | --program-transfo | --program-transf \
1112 | --program-trans | --program-tran \
1113 | --progr-tra | --program-tr | --program-t)
1114 ac_prev=program_transform_name ;;
1115 -program-transform-name=* | --program-transform-name=* \
1116 | --program-transform-nam=* | --program-transform-na=* \
1117 | --program-transform-n=* | --program-transform-=* \
1118 | --program-transform=* | --program-transfor=* \
1119 | --program-transfo=* | --program-transf=* \
1120 | --program-trans=* | --program-tran=* \
1121 | --progr-tra=* | --program-tr=* | --program-t=*)
1122 program_transform_name=$ac_optarg ;;
1124 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1125 ac_prev=pdfdir ;;
1126 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127 pdfdir=$ac_optarg ;;
1129 -psdir | --psdir | --psdi | --psd | --ps)
1130 ac_prev=psdir ;;
1131 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132 psdir=$ac_optarg ;;
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1136 silent=yes ;;
1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1139 ac_prev=sbindir ;;
1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1141 | --sbi=* | --sb=*)
1142 sbindir=$ac_optarg ;;
1144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146 | --sharedst | --shareds | --shared | --share | --shar \
1147 | --sha | --sh)
1148 ac_prev=sharedstatedir ;;
1149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1152 | --sha=* | --sh=*)
1153 sharedstatedir=$ac_optarg ;;
1155 -site | --site | --sit)
1156 ac_prev=site ;;
1157 -site=* | --site=* | --sit=*)
1158 site=$ac_optarg ;;
1160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1161 ac_prev=srcdir ;;
1162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163 srcdir=$ac_optarg ;;
1165 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1166 | --syscon | --sysco | --sysc | --sys | --sy)
1167 ac_prev=sysconfdir ;;
1168 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1169 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1170 sysconfdir=$ac_optarg ;;
1172 -target | --target | --targe | --targ | --tar | --ta | --t)
1173 ac_prev=target_alias ;;
1174 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1175 target_alias=$ac_optarg ;;
1177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178 verbose=yes ;;
1180 -version | --version | --versio | --versi | --vers | -V)
1181 ac_init_version=: ;;
1183 -with-* | --with-*)
1184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1188 { (exit 1); exit 1; }; }
1189 ac_useropt_orig=$ac_useropt
1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191 case $ac_user_opts in
1193 "with_$ac_useropt"
1194 "*) ;;
1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1196 ac_unrecognized_sep=', ';;
1197 esac
1198 eval with_$ac_useropt=\$ac_optarg ;;
1200 -without-* | --without-*)
1201 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1204 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1205 { (exit 1); exit 1; }; }
1206 ac_useropt_orig=$ac_useropt
1207 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1208 case $ac_user_opts in
1210 "with_$ac_useropt"
1211 "*) ;;
1212 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1213 ac_unrecognized_sep=', ';;
1214 esac
1215 eval with_$ac_useropt=no ;;
1217 --x)
1218 # Obsolete; use --with-x.
1219 with_x=yes ;;
1221 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1222 | --x-incl | --x-inc | --x-in | --x-i)
1223 ac_prev=x_includes ;;
1224 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1225 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1226 x_includes=$ac_optarg ;;
1228 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1229 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1230 ac_prev=x_libraries ;;
1231 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1232 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1233 x_libraries=$ac_optarg ;;
1235 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1236 Try \`$0 --help' for more information." >&2
1237 { (exit 1); exit 1; }; }
1240 *=*)
1241 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1244 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1245 { (exit 1); exit 1; }; }
1246 eval $ac_envvar=\$ac_optarg
1247 export $ac_envvar ;;
1250 # FIXME: should be removed in autoconf 3.0.
1251 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1252 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1254 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 esac
1258 done
1260 if test -n "$ac_prev"; then
1261 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1262 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1263 { (exit 1); exit 1; }; }
1266 if test -n "$ac_unrecognized_opts"; then
1267 case $enable_option_checking in
1268 no) ;;
1269 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1270 { (exit 1); exit 1; }; } ;;
1271 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1272 esac
1275 # Check all directory arguments for consistency.
1276 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1277 datadir sysconfdir sharedstatedir localstatedir includedir \
1278 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1279 libdir localedir mandir
1281 eval ac_val=\$$ac_var
1282 # Remove trailing slashes.
1283 case $ac_val in
1284 */ )
1285 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1286 eval $ac_var=\$ac_val;;
1287 esac
1288 # Be sure to have absolute directory names.
1289 case $ac_val in
1290 [\\/$]* | ?:[\\/]* ) continue;;
1291 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1292 esac
1293 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1294 { (exit 1); exit 1; }; }
1295 done
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1300 build=$build_alias
1301 host=$host_alias
1302 target=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x; then
1306 if test "x$build_alias" = x; then
1307 cross_compiling=maybe
1308 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1309 If a cross compiler is detected then cross compile mode will be used." >&2
1310 elif test "x$build_alias" != "x$host_alias"; then
1311 cross_compiling=yes
1315 ac_tool_prefix=
1316 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1318 test "$silent" = yes && exec 6>/dev/null
1321 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di=`ls -di .` &&
1323 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1324 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1325 { (exit 1); exit 1; }; }
1326 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1328 { (exit 1); exit 1; }; }
1331 # Find the source files, if location was not specified.
1332 if test -z "$srcdir"; then
1333 ac_srcdir_defaulted=yes
1334 # Try the directory containing this script, then the parent directory.
1335 ac_confdir=`$as_dirname -- "$as_myself" ||
1336 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1337 X"$as_myself" : 'X\(//\)[^/]' \| \
1338 X"$as_myself" : 'X\(//\)$' \| \
1339 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1340 $as_echo X"$as_myself" |
1341 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 s//\1/
1345 /^X\(\/\/\)[^/].*/{
1346 s//\1/
1349 /^X\(\/\/\)$/{
1350 s//\1/
1353 /^X\(\/\).*/{
1354 s//\1/
1357 s/.*/./; q'`
1358 srcdir=$ac_confdir
1359 if test ! -r "$srcdir/$ac_unique_file"; then
1360 srcdir=..
1362 else
1363 ac_srcdir_defaulted=no
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1366 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1367 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1368 { (exit 1); exit 1; }; }
1370 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1371 ac_abs_confdir=`(
1372 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1373 { (exit 1); exit 1; }; }
1374 pwd)`
1375 # When building in place, set srcdir=.
1376 if test "$ac_abs_confdir" = "$ac_pwd"; then
1377 srcdir=.
1379 # Remove unnecessary trailing slashes from srcdir.
1380 # Double slashes in file names in object file debugging info
1381 # mess up M-x gdb in Emacs.
1382 case $srcdir in
1383 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1384 esac
1385 for ac_var in $ac_precious_vars; do
1386 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1387 eval ac_env_${ac_var}_value=\$${ac_var}
1388 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1389 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390 done
1393 # Report the --help message.
1395 if test "$ac_init_help" = "long"; then
1396 # Omit some internal or obsolete options to make the list less imposing.
1397 # This message is too long to be a string in the A/UX 3.1 sh.
1398 cat <<_ACEOF
1399 \`configure' configures GNU C Library (see version.h) to adapt to many kinds of systems.
1401 Usage: $0 [OPTION]... [VAR=VALUE]...
1403 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1404 VAR=VALUE. See below for descriptions of some of the useful variables.
1406 Defaults for the options are specified in brackets.
1408 Configuration:
1409 -h, --help display this help and exit
1410 --help=short display options specific to this package
1411 --help=recursive display the short help of all the included packages
1412 -V, --version display version information and exit
1413 -q, --quiet, --silent do not print \`checking...' messages
1414 --cache-file=FILE cache test results in FILE [disabled]
1415 -C, --config-cache alias for \`--cache-file=config.cache'
1416 -n, --no-create do not create output files
1417 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1419 Installation directories:
1420 --prefix=PREFIX install architecture-independent files in PREFIX
1421 [$ac_default_prefix]
1422 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 [PREFIX]
1425 By default, \`make install' will install all the files in
1426 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1427 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1428 for instance \`--prefix=\$HOME'.
1430 For better control, use the options below.
1432 Fine tuning of the installation directories:
1433 --bindir=DIR user executables [EPREFIX/bin]
1434 --sbindir=DIR system admin executables [EPREFIX/sbin]
1435 --libexecdir=DIR program executables [EPREFIX/libexec]
1436 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1437 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1438 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1439 --libdir=DIR object code libraries [EPREFIX/lib]
1440 --includedir=DIR C header files [PREFIX/include]
1441 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1442 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1443 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1444 --infodir=DIR info documentation [DATAROOTDIR/info]
1445 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1446 --mandir=DIR man documentation [DATAROOTDIR/man]
1447 --docdir=DIR documentation root [DATAROOTDIR/doc/c-library]
1448 --htmldir=DIR html documentation [DOCDIR]
1449 --dvidir=DIR dvi documentation [DOCDIR]
1450 --pdfdir=DIR pdf documentation [DOCDIR]
1451 --psdir=DIR ps documentation [DOCDIR]
1452 _ACEOF
1454 cat <<\_ACEOF
1456 System types:
1457 --build=BUILD configure for building on BUILD [guessed]
1458 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1459 _ACEOF
1462 if test -n "$ac_init_help"; then
1463 case $ac_init_help in
1464 short | recursive ) echo "Configuration of GNU C Library (see version.h):";;
1465 esac
1466 cat <<\_ACEOF
1468 Optional Features:
1469 --disable-option-checking ignore unrecognized --enable/--with options
1470 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1471 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1472 --disable-sanity-checks really do not use threads (should not be used except
1473 in special situations) [default=yes]
1474 --enable-check-abi do "make check-abi" in "make check" (no/warn/yes)
1475 [default=no]
1476 --enable-shared build shared library [default=yes if GNU ld & ELF]
1477 --enable-profile build profiled library [default=no]
1478 --enable-omitfp build undebuggable optimized library [default=no]
1479 --enable-bounded build with runtime bounds checking [default=no]
1480 --disable-versioning do not include versioning information in the library
1481 objects [default=yes if supported]
1482 --enable-oldest-abi=ABI configure the oldest ABI supported [e.g. 2.2]
1483 [default=glibc default]
1484 --enable-stackguard-randomization
1485 initialize __stack_chk_guard canary with a random
1486 number at program start
1487 --enable-add-ons[=DIRS...]
1488 configure and build add-ons in DIR1,DIR2,... search
1489 for add-ons if no parameter given
1490 --disable-hidden-plt do not hide internal function calls to avoid PLT
1491 --enable-bind-now disable lazy relocations in DSOs
1492 --enable-static-nss build static NSS modules [default=no]
1493 --disable-force-install don't force installation of files from this package,
1494 even if they are older than the installed files
1495 --enable-kernel=VERSION compile for compatibility with kernel not older than
1496 VERSION
1497 --enable-all-warnings enable all useful warnings gcc can issue
1498 --enable-multi-arch enable single DSO with optimizations for multiple
1499 architectures
1500 --enable-experimental-malloc
1501 enable experimental malloc features
1502 --enable-nss-crypt enable libcrypt to use nss
1504 Optional Packages:
1505 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1506 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1507 --with-gd=DIR find libgd include dir and library with prefix DIR
1508 --with-gd-include=DIR find libgd include files in DIR
1509 --with-gd-lib=DIR find libgd library files in DIR
1510 --with-fp if using floating-point hardware [default=yes]
1511 --with-binutils=PATH specify location of binutils (as and ld)
1512 --with-elf if using the ELF object format
1513 --with-selinux if building with SELinux support
1514 --with-xcoff if using the XCOFF object format
1515 --without-cvs if CVS should not be used
1516 --with-headers=PATH location of system headers to use (for example
1517 /usr/src/linux/include) [default=compiler default]
1518 --with-tls enable support for TLS
1519 --without-__thread do not use TLS features even when supporting them
1520 --with-cpu=CPU select code for CPU variant
1522 Some influential environment variables:
1523 CC C compiler command
1524 CFLAGS C compiler flags
1525 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1526 nonstandard directory <lib dir>
1527 LIBS libraries to pass to the linker, e.g. -l<library>
1528 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1529 you have headers in a nonstandard directory <include dir>
1530 CPP C preprocessor
1531 CXX C++ compiler command
1532 CXXFLAGS C++ compiler flags
1534 Use these variables to override the choices made by `configure' or to help
1535 it to find libraries and programs with nonstandard names/locations.
1537 Report bugs to <glibc>.
1538 _ACEOF
1539 ac_status=$?
1542 if test "$ac_init_help" = "recursive"; then
1543 # If there are subdirs, report their specific --help.
1544 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545 test -d "$ac_dir" ||
1546 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547 continue
1548 ac_builddir=.
1550 case "$ac_dir" in
1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554 # A ".." for each directory in $ac_dir_suffix.
1555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556 case $ac_top_builddir_sub in
1557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559 esac ;;
1560 esac
1561 ac_abs_top_builddir=$ac_pwd
1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563 # for backward compatibility:
1564 ac_top_builddir=$ac_top_build_prefix
1566 case $srcdir in
1567 .) # We are building in place.
1568 ac_srcdir=.
1569 ac_top_srcdir=$ac_top_builddir_sub
1570 ac_abs_top_srcdir=$ac_pwd ;;
1571 [\\/]* | ?:[\\/]* ) # Absolute name.
1572 ac_srcdir=$srcdir$ac_dir_suffix;
1573 ac_top_srcdir=$srcdir
1574 ac_abs_top_srcdir=$srcdir ;;
1575 *) # Relative name.
1576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577 ac_top_srcdir=$ac_top_build_prefix$srcdir
1578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579 esac
1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1582 cd "$ac_dir" || { ac_status=$?; continue; }
1583 # Check for guested configure.
1584 if test -f "$ac_srcdir/configure.gnu"; then
1585 echo &&
1586 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587 elif test -f "$ac_srcdir/configure"; then
1588 echo &&
1589 $SHELL "$ac_srcdir/configure" --help=recursive
1590 else
1591 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592 fi || ac_status=$?
1593 cd "$ac_pwd" || { ac_status=$?; break; }
1594 done
1597 test -n "$ac_init_help" && exit $ac_status
1598 if $ac_init_version; then
1599 cat <<\_ACEOF
1600 GNU C Library configure (see version.h)
1601 generated by GNU Autoconf 2.63
1603 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1604 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1605 This configure script is free software; the Free Software Foundation
1606 gives unlimited permission to copy, distribute and modify it.
1607 _ACEOF
1608 exit
1610 cat >config.log <<_ACEOF
1611 This file contains any messages produced by compilers while
1612 running configure, to aid debugging if configure makes a mistake.
1614 It was created by GNU C Library $as_me (see version.h), which was
1615 generated by GNU Autoconf 2.63. Invocation command line was
1617 $ $0 $@
1619 _ACEOF
1620 exec 5>>config.log
1622 cat <<_ASUNAME
1623 ## --------- ##
1624 ## Platform. ##
1625 ## --------- ##
1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1634 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1636 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1637 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1639 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1640 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1641 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1642 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1644 _ASUNAME
1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 for as_dir in $PATH
1649 IFS=$as_save_IFS
1650 test -z "$as_dir" && as_dir=.
1651 $as_echo "PATH: $as_dir"
1652 done
1653 IFS=$as_save_IFS
1655 } >&5
1657 cat >&5 <<_ACEOF
1660 ## ----------- ##
1661 ## Core tests. ##
1662 ## ----------- ##
1664 _ACEOF
1667 # Keep a trace of the command line.
1668 # Strip out --no-create and --no-recursion so they do not pile up.
1669 # Strip out --silent because we don't want to record it for future runs.
1670 # Also quote any args containing shell meta-characters.
1671 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_configure_args=
1673 ac_configure_args0=
1674 ac_configure_args1=
1675 ac_must_keep_next=false
1676 for ac_pass in 1 2
1678 for ac_arg
1680 case $ac_arg in
1681 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1683 | -silent | --silent | --silen | --sile | --sil)
1684 continue ;;
1685 *\'*)
1686 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1687 esac
1688 case $ac_pass in
1689 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1691 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1692 if test $ac_must_keep_next = true; then
1693 ac_must_keep_next=false # Got value, back to normal.
1694 else
1695 case $ac_arg in
1696 *=* | --config-cache | -C | -disable-* | --disable-* \
1697 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1698 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1699 | -with-* | --with-* | -without-* | --without-* | --x)
1700 case "$ac_configure_args0 " in
1701 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1702 esac
1704 -* ) ac_must_keep_next=true ;;
1705 esac
1707 ac_configure_args="$ac_configure_args '$ac_arg'"
1709 esac
1710 done
1711 done
1712 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1713 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1715 # When interrupted or exit'd, cleanup temporary files, and complete
1716 # config.log. We remove comments because anyway the quotes in there
1717 # would cause problems or look ugly.
1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1720 trap 'exit_status=$?
1721 # Save into config.log some information that might help in debugging.
1723 echo
1725 cat <<\_ASBOX
1726 ## ---------------- ##
1727 ## Cache variables. ##
1728 ## ---------------- ##
1729 _ASBOX
1730 echo
1731 # The following way of writing the cache mishandles newlines in values,
1733 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1734 eval ac_val=\$$ac_var
1735 case $ac_val in #(
1736 *${as_nl}*)
1737 case $ac_var in #(
1738 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1739 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1740 esac
1741 case $ac_var in #(
1742 _ | IFS | as_nl) ;; #(
1743 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1744 *) $as_unset $ac_var ;;
1745 esac ;;
1746 esac
1747 done
1748 (set) 2>&1 |
1749 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1750 *${as_nl}ac_space=\ *)
1751 sed -n \
1752 "s/'\''/'\''\\\\'\'''\''/g;
1753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1754 ;; #(
1756 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1758 esac |
1759 sort
1761 echo
1763 cat <<\_ASBOX
1764 ## ----------------- ##
1765 ## Output variables. ##
1766 ## ----------------- ##
1767 _ASBOX
1768 echo
1769 for ac_var in $ac_subst_vars
1771 eval ac_val=\$$ac_var
1772 case $ac_val in
1773 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1774 esac
1775 $as_echo "$ac_var='\''$ac_val'\''"
1776 done | sort
1777 echo
1779 if test -n "$ac_subst_files"; then
1780 cat <<\_ASBOX
1781 ## ------------------- ##
1782 ## File substitutions. ##
1783 ## ------------------- ##
1784 _ASBOX
1785 echo
1786 for ac_var in $ac_subst_files
1788 eval ac_val=\$$ac_var
1789 case $ac_val in
1790 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1791 esac
1792 $as_echo "$ac_var='\''$ac_val'\''"
1793 done | sort
1794 echo
1797 if test -s confdefs.h; then
1798 cat <<\_ASBOX
1799 ## ----------- ##
1800 ## confdefs.h. ##
1801 ## ----------- ##
1802 _ASBOX
1803 echo
1804 cat confdefs.h
1805 echo
1807 test "$ac_signal" != 0 &&
1808 $as_echo "$as_me: caught signal $ac_signal"
1809 $as_echo "$as_me: exit $exit_status"
1810 } >&5
1811 rm -f core *.core core.conftest.* &&
1812 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1813 exit $exit_status
1815 for ac_signal in 1 2 13 15; do
1816 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1817 done
1818 ac_signal=0
1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1821 rm -f -r conftest* confdefs.h
1823 # Predefined preprocessor variables.
1825 cat >>confdefs.h <<_ACEOF
1826 #define PACKAGE_NAME "$PACKAGE_NAME"
1827 _ACEOF
1830 cat >>confdefs.h <<_ACEOF
1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1832 _ACEOF
1835 cat >>confdefs.h <<_ACEOF
1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1837 _ACEOF
1840 cat >>confdefs.h <<_ACEOF
1841 #define PACKAGE_STRING "$PACKAGE_STRING"
1842 _ACEOF
1845 cat >>confdefs.h <<_ACEOF
1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1847 _ACEOF
1850 # Let the site file select an alternate cache file if it wants to.
1851 # Prefer an explicitly selected file to automatically selected ones.
1852 ac_site_file1=NONE
1853 ac_site_file2=NONE
1854 if test -n "$CONFIG_SITE"; then
1855 ac_site_file1=$CONFIG_SITE
1856 elif test "x$prefix" != xNONE; then
1857 ac_site_file1=$prefix/share/config.site
1858 ac_site_file2=$prefix/etc/config.site
1859 else
1860 ac_site_file1=$ac_default_prefix/share/config.site
1861 ac_site_file2=$ac_default_prefix/etc/config.site
1863 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1865 test "x$ac_site_file" = xNONE && continue
1866 if test -r "$ac_site_file"; then
1867 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1868 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1869 sed 's/^/| /' "$ac_site_file" >&5
1870 . "$ac_site_file"
1872 done
1874 if test -r "$cache_file"; then
1875 # Some versions of bash will fail to source /dev/null (special
1876 # files actually), so we avoid doing that.
1877 if test -f "$cache_file"; then
1878 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1879 $as_echo "$as_me: loading cache $cache_file" >&6;}
1880 case $cache_file in
1881 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1882 *) . "./$cache_file";;
1883 esac
1885 else
1886 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1887 $as_echo "$as_me: creating cache $cache_file" >&6;}
1888 >$cache_file
1891 # Check that the precious variables saved in the cache have kept the same
1892 # value.
1893 ac_cache_corrupted=false
1894 for ac_var in $ac_precious_vars; do
1895 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1896 eval ac_new_set=\$ac_env_${ac_var}_set
1897 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1898 eval ac_new_val=\$ac_env_${ac_var}_value
1899 case $ac_old_set,$ac_new_set in
1900 set,)
1901 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1902 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1903 ac_cache_corrupted=: ;;
1904 ,set)
1905 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1906 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1907 ac_cache_corrupted=: ;;
1908 ,);;
1910 if test "x$ac_old_val" != "x$ac_new_val"; then
1911 # differences in whitespace do not lead to failure.
1912 ac_old_val_w=`echo x $ac_old_val`
1913 ac_new_val_w=`echo x $ac_new_val`
1914 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1915 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1916 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1917 ac_cache_corrupted=:
1918 else
1919 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1920 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1921 eval $ac_var=\$ac_old_val
1923 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1924 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1925 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1926 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1927 fi;;
1928 esac
1929 # Pass precious variables to config.status.
1930 if test "$ac_new_set" = set; then
1931 case $ac_new_val in
1932 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1933 *) ac_arg=$ac_var=$ac_new_val ;;
1934 esac
1935 case " $ac_configure_args " in
1936 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1937 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1938 esac
1940 done
1941 if $ac_cache_corrupted; then
1942 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1943 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1944 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1945 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1946 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1947 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1948 { (exit 1); exit 1; }; }
1975 ac_ext=c
1976 ac_cpp='$CPP $CPPFLAGS'
1977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1983 ac_config_headers="$ac_config_headers config.h"
1985 ac_aux_dir=
1986 for ac_dir in scripts "$srcdir"/scripts; do
1987 if test -f "$ac_dir/install-sh"; then
1988 ac_aux_dir=$ac_dir
1989 ac_install_sh="$ac_aux_dir/install-sh -c"
1990 break
1991 elif test -f "$ac_dir/install.sh"; then
1992 ac_aux_dir=$ac_dir
1993 ac_install_sh="$ac_aux_dir/install.sh -c"
1994 break
1995 elif test -f "$ac_dir/shtool"; then
1996 ac_aux_dir=$ac_dir
1997 ac_install_sh="$ac_aux_dir/shtool install -c"
1998 break
2000 done
2001 if test -z "$ac_aux_dir"; then
2002 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&5
2003 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts \"$srcdir\"/scripts" >&2;}
2004 { (exit 1); exit 1; }; }
2007 # These three variables are undocumented and unsupported,
2008 # and are intended to be withdrawn in a future Autoconf release.
2009 # They can cause serious problems if a builder's source tree is in a directory
2010 # whose full name contains unusual characters.
2011 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2012 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2013 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2019 subdirs="$subdirs "
2022 # Make sure we can run config.sub.
2023 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2024 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2025 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2026 { (exit 1); exit 1; }; }
2028 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2029 $as_echo_n "checking build system type... " >&6; }
2030 if test "${ac_cv_build+set}" = set; then
2031 $as_echo_n "(cached) " >&6
2032 else
2033 ac_build_alias=$build_alias
2034 test "x$ac_build_alias" = x &&
2035 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2036 test "x$ac_build_alias" = x &&
2037 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2038 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2039 { (exit 1); exit 1; }; }
2040 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2041 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2042 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2043 { (exit 1); exit 1; }; }
2046 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2047 $as_echo "$ac_cv_build" >&6; }
2048 case $ac_cv_build in
2049 *-*-*) ;;
2050 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2051 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2052 { (exit 1); exit 1; }; };;
2053 esac
2054 build=$ac_cv_build
2055 ac_save_IFS=$IFS; IFS='-'
2056 set x $ac_cv_build
2057 shift
2058 build_cpu=$1
2059 build_vendor=$2
2060 shift; shift
2061 # Remember, the first character of IFS is used to create $*,
2062 # except with old shells:
2063 build_os=$*
2064 IFS=$ac_save_IFS
2065 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2068 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2069 $as_echo_n "checking host system type... " >&6; }
2070 if test "${ac_cv_host+set}" = set; then
2071 $as_echo_n "(cached) " >&6
2072 else
2073 if test "x$host_alias" = x; then
2074 ac_cv_host=$ac_cv_build
2075 else
2076 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2077 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2078 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2079 { (exit 1); exit 1; }; }
2083 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2084 $as_echo "$ac_cv_host" >&6; }
2085 case $ac_cv_host in
2086 *-*-*) ;;
2087 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2088 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2089 { (exit 1); exit 1; }; };;
2090 esac
2091 host=$ac_cv_host
2092 ac_save_IFS=$IFS; IFS='-'
2093 set x $ac_cv_host
2094 shift
2095 host_cpu=$1
2096 host_vendor=$2
2097 shift; shift
2098 # Remember, the first character of IFS is used to create $*,
2099 # except with old shells:
2100 host_os=$*
2101 IFS=$ac_save_IFS
2102 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2106 ac_ext=c
2107 ac_cpp='$CPP $CPPFLAGS'
2108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2111 if test -n "$ac_tool_prefix"; then
2112 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2113 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_CC+set}" = set; then
2117 $as_echo_n "(cached) " >&6
2118 else
2119 if test -n "$CC"; then
2120 ac_cv_prog_CC="$CC" # Let the user override the test.
2121 else
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 for as_dir in $PATH
2125 IFS=$as_save_IFS
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2130 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 break 2
2133 done
2134 done
2135 IFS=$as_save_IFS
2139 CC=$ac_cv_prog_CC
2140 if test -n "$CC"; then
2141 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2142 $as_echo "$CC" >&6; }
2143 else
2144 { $as_echo "$as_me:$LINENO: result: no" >&5
2145 $as_echo "no" >&6; }
2150 if test -z "$ac_cv_prog_CC"; then
2151 ac_ct_CC=$CC
2152 # Extract the first word of "gcc", so it can be a program name with args.
2153 set dummy gcc; ac_word=$2
2154 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2155 $as_echo_n "checking for $ac_word... " >&6; }
2156 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2157 $as_echo_n "(cached) " >&6
2158 else
2159 if test -n "$ac_ct_CC"; then
2160 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2161 else
2162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2163 for as_dir in $PATH
2165 IFS=$as_save_IFS
2166 test -z "$as_dir" && as_dir=.
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2169 ac_cv_prog_ac_ct_CC="gcc"
2170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2171 break 2
2173 done
2174 done
2175 IFS=$as_save_IFS
2179 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2180 if test -n "$ac_ct_CC"; then
2181 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2182 $as_echo "$ac_ct_CC" >&6; }
2183 else
2184 { $as_echo "$as_me:$LINENO: result: no" >&5
2185 $as_echo "no" >&6; }
2188 if test "x$ac_ct_CC" = x; then
2189 CC=""
2190 else
2191 case $cross_compiling:$ac_tool_warned in
2192 yes:)
2193 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2195 ac_tool_warned=yes ;;
2196 esac
2197 CC=$ac_ct_CC
2199 else
2200 CC="$ac_cv_prog_CC"
2203 if test -z "$CC"; then
2204 if test -n "$ac_tool_prefix"; then
2205 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2206 set dummy ${ac_tool_prefix}cc; ac_word=$2
2207 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then
2210 $as_echo_n "(cached) " >&6
2211 else
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC="$CC" # Let the user override the test.
2214 else
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 for as_dir in $PATH
2218 IFS=$as_save_IFS
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 ac_cv_prog_CC="${ac_tool_prefix}cc"
2223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2224 break 2
2226 done
2227 done
2228 IFS=$as_save_IFS
2232 CC=$ac_cv_prog_CC
2233 if test -n "$CC"; then
2234 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2235 $as_echo "$CC" >&6; }
2236 else
2237 { $as_echo "$as_me:$LINENO: result: no" >&5
2238 $as_echo "no" >&6; }
2244 if test -z "$CC"; then
2245 # Extract the first word of "cc", so it can be a program name with args.
2246 set dummy cc; ac_word=$2
2247 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2248 $as_echo_n "checking for $ac_word... " >&6; }
2249 if test "${ac_cv_prog_CC+set}" = set; then
2250 $as_echo_n "(cached) " >&6
2251 else
2252 if test -n "$CC"; then
2253 ac_cv_prog_CC="$CC" # Let the user override the test.
2254 else
2255 ac_prog_rejected=no
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2257 for as_dir in $PATH
2259 IFS=$as_save_IFS
2260 test -z "$as_dir" && as_dir=.
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2264 ac_prog_rejected=yes
2265 continue
2267 ac_cv_prog_CC="cc"
2268 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2269 break 2
2271 done
2272 done
2273 IFS=$as_save_IFS
2275 if test $ac_prog_rejected = yes; then
2276 # We found a bogon in the path, so make sure we never use it.
2277 set dummy $ac_cv_prog_CC
2278 shift
2279 if test $# != 0; then
2280 # We chose a different compiler from the bogus one.
2281 # However, it has the same basename, so the bogon will be chosen
2282 # first if we set CC to just the basename; use the full file name.
2283 shift
2284 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2289 CC=$ac_cv_prog_CC
2290 if test -n "$CC"; then
2291 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2292 $as_echo "$CC" >&6; }
2293 else
2294 { $as_echo "$as_me:$LINENO: result: no" >&5
2295 $as_echo "no" >&6; }
2300 if test -z "$CC"; then
2301 if test -n "$ac_tool_prefix"; then
2302 for ac_prog in cl.exe
2304 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2305 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2306 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_CC+set}" = set; then
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$CC"; then
2312 ac_cv_prog_CC="$CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2322 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2325 done
2326 done
2327 IFS=$as_save_IFS
2331 CC=$ac_cv_prog_CC
2332 if test -n "$CC"; then
2333 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2334 $as_echo "$CC" >&6; }
2335 else
2336 { $as_echo "$as_me:$LINENO: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$CC" && break
2342 done
2344 if test -z "$CC"; then
2345 ac_ct_CC=$CC
2346 for ac_prog in cl.exe
2348 # Extract the first word of "$ac_prog", so it can be a program name with args.
2349 set dummy $ac_prog; ac_word=$2
2350 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2351 $as_echo_n "checking for $ac_word... " >&6; }
2352 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2353 $as_echo_n "(cached) " >&6
2354 else
2355 if test -n "$ac_ct_CC"; then
2356 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2357 else
2358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2359 for as_dir in $PATH
2361 IFS=$as_save_IFS
2362 test -z "$as_dir" && as_dir=.
2363 for ac_exec_ext in '' $ac_executable_extensions; do
2364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2365 ac_cv_prog_ac_ct_CC="$ac_prog"
2366 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 break 2
2369 done
2370 done
2371 IFS=$as_save_IFS
2375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2376 if test -n "$ac_ct_CC"; then
2377 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2378 $as_echo "$ac_ct_CC" >&6; }
2379 else
2380 { $as_echo "$as_me:$LINENO: result: no" >&5
2381 $as_echo "no" >&6; }
2385 test -n "$ac_ct_CC" && break
2386 done
2388 if test "x$ac_ct_CC" = x; then
2389 CC=""
2390 else
2391 case $cross_compiling:$ac_tool_warned in
2392 yes:)
2393 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2395 ac_tool_warned=yes ;;
2396 esac
2397 CC=$ac_ct_CC
2404 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2407 See \`config.log' for more details." >&5
2408 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }; }
2412 # Provide some information about the compiler.
2413 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2414 set X $ac_compile
2415 ac_compiler=$2
2416 { (ac_try="$ac_compiler --version >&5"
2417 case "(($ac_try" in
2418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2419 *) ac_try_echo=$ac_try;;
2420 esac
2421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2422 $as_echo "$ac_try_echo") >&5
2423 (eval "$ac_compiler --version >&5") 2>&5
2424 ac_status=$?
2425 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }
2427 { (ac_try="$ac_compiler -v >&5"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2433 $as_echo "$ac_try_echo") >&5
2434 (eval "$ac_compiler -v >&5") 2>&5
2435 ac_status=$?
2436 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2437 (exit $ac_status); }
2438 { (ac_try="$ac_compiler -V >&5"
2439 case "(($ac_try" in
2440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2441 *) ac_try_echo=$ac_try;;
2442 esac
2443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2444 $as_echo "$ac_try_echo") >&5
2445 (eval "$ac_compiler -V >&5") 2>&5
2446 ac_status=$?
2447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }
2450 EXEEXT=
2451 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2452 $as_echo_n "checking for suffix of object files... " >&6; }
2453 if test "${ac_cv_objext+set}" = set; then
2454 $as_echo_n "(cached) " >&6
2455 else
2456 cat >conftest.$ac_ext <<_ACEOF
2457 /* confdefs.h. */
2458 _ACEOF
2459 cat confdefs.h >>conftest.$ac_ext
2460 cat >>conftest.$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2464 main ()
2468 return 0;
2470 _ACEOF
2471 rm -f conftest.o conftest.obj
2472 if { (ac_try="$ac_compile"
2473 case "(($ac_try" in
2474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475 *) ac_try_echo=$ac_try;;
2476 esac
2477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2478 $as_echo "$ac_try_echo") >&5
2479 (eval "$ac_compile") 2>&5
2480 ac_status=$?
2481 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; then
2483 for ac_file in conftest.o conftest.obj conftest.*; do
2484 test -f "$ac_file" || continue;
2485 case $ac_file in
2486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2487 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2488 break;;
2489 esac
2490 done
2491 else
2492 $as_echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2495 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2498 See \`config.log' for more details." >&5
2499 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2500 See \`config.log' for more details." >&2;}
2501 { (exit 1); exit 1; }; }; }
2504 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2506 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2507 $as_echo "$ac_cv_objext" >&6; }
2508 OBJEXT=$ac_cv_objext
2509 ac_objext=$OBJEXT
2510 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2511 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2512 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2513 $as_echo_n "(cached) " >&6
2514 else
2515 cat >conftest.$ac_ext <<_ACEOF
2516 /* confdefs.h. */
2517 _ACEOF
2518 cat confdefs.h >>conftest.$ac_ext
2519 cat >>conftest.$ac_ext <<_ACEOF
2520 /* end confdefs.h. */
2523 main ()
2525 #ifndef __GNUC__
2526 choke me
2527 #endif
2530 return 0;
2532 _ACEOF
2533 rm -f conftest.$ac_objext
2534 if { (ac_try="$ac_compile"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2540 $as_echo "$ac_try_echo") >&5
2541 (eval "$ac_compile") 2>conftest.er1
2542 ac_status=$?
2543 grep -v '^ *+' conftest.er1 >conftest.err
2544 rm -f conftest.er1
2545 cat conftest.err >&5
2546 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); } && {
2548 test -z "$ac_c_werror_flag" ||
2549 test ! -s conftest.err
2550 } && test -s conftest.$ac_objext; then
2551 ac_compiler_gnu=yes
2552 else
2553 $as_echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2556 ac_compiler_gnu=no
2559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2563 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2565 if test $ac_compiler_gnu = yes; then
2566 GCC=yes
2567 else
2568 GCC=
2570 ac_test_CFLAGS=${CFLAGS+set}
2571 ac_save_CFLAGS=$CFLAGS
2572 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2574 if test "${ac_cv_prog_cc_g+set}" = set; then
2575 $as_echo_n "(cached) " >&6
2576 else
2577 ac_save_c_werror_flag=$ac_c_werror_flag
2578 ac_c_werror_flag=yes
2579 ac_cv_prog_cc_g=no
2580 CFLAGS="-g"
2581 cat >conftest.$ac_ext <<_ACEOF
2582 /* confdefs.h. */
2583 _ACEOF
2584 cat confdefs.h >>conftest.$ac_ext
2585 cat >>conftest.$ac_ext <<_ACEOF
2586 /* end confdefs.h. */
2589 main ()
2593 return 0;
2595 _ACEOF
2596 rm -f conftest.$ac_objext
2597 if { (ac_try="$ac_compile"
2598 case "(($ac_try" in
2599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2600 *) ac_try_echo=$ac_try;;
2601 esac
2602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2603 $as_echo "$ac_try_echo") >&5
2604 (eval "$ac_compile") 2>conftest.er1
2605 ac_status=$?
2606 grep -v '^ *+' conftest.er1 >conftest.err
2607 rm -f conftest.er1
2608 cat conftest.err >&5
2609 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); } && {
2611 test -z "$ac_c_werror_flag" ||
2612 test ! -s conftest.err
2613 } && test -s conftest.$ac_objext; then
2614 ac_cv_prog_cc_g=yes
2615 else
2616 $as_echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2619 CFLAGS=""
2620 cat >conftest.$ac_ext <<_ACEOF
2621 /* confdefs.h. */
2622 _ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2628 main ()
2632 return 0;
2634 _ACEOF
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2637 case "(($ac_try" in
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2640 esac
2641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2642 $as_echo "$ac_try_echo") >&5
2643 (eval "$ac_compile") 2>conftest.er1
2644 ac_status=$?
2645 grep -v '^ *+' conftest.er1 >conftest.err
2646 rm -f conftest.er1
2647 cat conftest.err >&5
2648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); } && {
2650 test -z "$ac_c_werror_flag" ||
2651 test ! -s conftest.err
2652 } && test -s conftest.$ac_objext; then
2654 else
2655 $as_echo "$as_me: failed program was:" >&5
2656 sed 's/^/| /' conftest.$ac_ext >&5
2658 ac_c_werror_flag=$ac_save_c_werror_flag
2659 CFLAGS="-g"
2660 cat >conftest.$ac_ext <<_ACEOF
2661 /* confdefs.h. */
2662 _ACEOF
2663 cat confdefs.h >>conftest.$ac_ext
2664 cat >>conftest.$ac_ext <<_ACEOF
2665 /* end confdefs.h. */
2668 main ()
2672 return 0;
2674 _ACEOF
2675 rm -f conftest.$ac_objext
2676 if { (ac_try="$ac_compile"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2682 $as_echo "$ac_try_echo") >&5
2683 (eval "$ac_compile") 2>conftest.er1
2684 ac_status=$?
2685 grep -v '^ *+' conftest.er1 >conftest.err
2686 rm -f conftest.er1
2687 cat conftest.err >&5
2688 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); } && {
2690 test -z "$ac_c_werror_flag" ||
2691 test ! -s conftest.err
2692 } && test -s conftest.$ac_objext; then
2693 ac_cv_prog_cc_g=yes
2694 else
2695 $as_echo "$as_me: failed program was:" >&5
2696 sed 's/^/| /' conftest.$ac_ext >&5
2701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2708 ac_c_werror_flag=$ac_save_c_werror_flag
2710 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2711 $as_echo "$ac_cv_prog_cc_g" >&6; }
2712 if test "$ac_test_CFLAGS" = set; then
2713 CFLAGS=$ac_save_CFLAGS
2714 elif test $ac_cv_prog_cc_g = yes; then
2715 if test "$GCC" = yes; then
2716 CFLAGS="-g -O2"
2717 else
2718 CFLAGS="-g"
2720 else
2721 if test "$GCC" = yes; then
2722 CFLAGS="-O2"
2723 else
2724 CFLAGS=
2727 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2728 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2729 if test "${ac_cv_prog_cc_c89+set}" = set; then
2730 $as_echo_n "(cached) " >&6
2731 else
2732 ac_cv_prog_cc_c89=no
2733 ac_save_CC=$CC
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h. */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2740 #include <stdarg.h>
2741 #include <stdio.h>
2742 #include <sys/types.h>
2743 #include <sys/stat.h>
2744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2745 struct buf { int x; };
2746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2747 static char *e (p, i)
2748 char **p;
2749 int i;
2751 return p[i];
2753 static char *f (char * (*g) (char **, int), char **p, ...)
2755 char *s;
2756 va_list v;
2757 va_start (v,p);
2758 s = g (p, va_arg (v,int));
2759 va_end (v);
2760 return s;
2763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2764 function prototypes and stuff, but not '\xHH' hex character constants.
2765 These don't provoke an error unfortunately, instead are silently treated
2766 as 'x'. The following induces an error, until -std is added to get
2767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2768 array size at least. It's necessary to write '\x00'==0 to get something
2769 that's true only with -std. */
2770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2773 inside strings and character constants. */
2774 #define FOO(x) 'x'
2775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2794 CC="$ac_save_CC $ac_arg"
2795 rm -f conftest.$ac_objext
2796 if { (ac_try="$ac_compile"
2797 case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800 esac
2801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2802 $as_echo "$ac_try_echo") >&5
2803 (eval "$ac_compile") 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.$ac_objext; then
2813 ac_cv_prog_cc_c89=$ac_arg
2814 else
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2821 rm -f core conftest.err conftest.$ac_objext
2822 test "x$ac_cv_prog_cc_c89" != "xno" && break
2823 done
2824 rm -f conftest.$ac_ext
2825 CC=$ac_save_CC
2828 # AC_CACHE_VAL
2829 case "x$ac_cv_prog_cc_c89" in
2831 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2832 $as_echo "none needed" >&6; } ;;
2833 xno)
2834 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2835 $as_echo "unsupported" >&6; } ;;
2837 CC="$CC $ac_cv_prog_cc_c89"
2838 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2839 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2840 esac
2843 ac_ext=c
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2849 if test $host != $build; then
2850 for ac_prog in gcc cc
2852 # Extract the first word of "$ac_prog", so it can be a program name with args.
2853 set dummy $ac_prog; ac_word=$2
2854 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 $as_echo_n "checking for $ac_word... " >&6; }
2856 if test "${ac_cv_prog_BUILD_CC+set}" = set; then
2857 $as_echo_n "(cached) " >&6
2858 else
2859 if test -n "$BUILD_CC"; then
2860 ac_cv_prog_BUILD_CC="$BUILD_CC" # Let the user override the test.
2861 else
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2863 for as_dir in $PATH
2865 IFS=$as_save_IFS
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2869 ac_cv_prog_BUILD_CC="$ac_prog"
2870 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2871 break 2
2873 done
2874 done
2875 IFS=$as_save_IFS
2879 BUILD_CC=$ac_cv_prog_BUILD_CC
2880 if test -n "$BUILD_CC"; then
2881 { $as_echo "$as_me:$LINENO: result: $BUILD_CC" >&5
2882 $as_echo "$BUILD_CC" >&6; }
2883 else
2884 { $as_echo "$as_me:$LINENO: result: no" >&5
2885 $as_echo "no" >&6; }
2889 test -n "$BUILD_CC" && break
2890 done
2894 ac_ext=c
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2900 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2901 # On Suns, sometimes $CPP names a directory.
2902 if test -n "$CPP" && test -d "$CPP"; then
2903 CPP=
2905 if test -z "$CPP"; then
2906 if test "${ac_cv_prog_CPP+set}" = set; then
2907 $as_echo_n "(cached) " >&6
2908 else
2909 # Double quotes because CPP needs to be expanded
2910 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2912 ac_preproc_ok=false
2913 for ac_c_preproc_warn_flag in '' yes
2915 # Use a header file that comes with gcc, so configuring glibc
2916 # with a fresh cross-compiler works.
2917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918 # <limits.h> exists even on freestanding compilers.
2919 # On the NeXT, cc -E runs the code through the compiler's parser,
2920 # not just through cpp. "Syntax error" is here to catch this case.
2921 cat >conftest.$ac_ext <<_ACEOF
2922 /* confdefs.h. */
2923 _ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2927 #ifdef __STDC__
2928 # include <limits.h>
2929 #else
2930 # include <assert.h>
2931 #endif
2932 Syntax error
2933 _ACEOF
2934 if { (ac_try="$ac_cpp conftest.$ac_ext"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2940 $as_echo "$ac_try_echo") >&5
2941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2942 ac_status=$?
2943 grep -v '^ *+' conftest.er1 >conftest.err
2944 rm -f conftest.er1
2945 cat conftest.err >&5
2946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); } >/dev/null && {
2948 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2949 test ! -s conftest.err
2950 }; then
2952 else
2953 $as_echo "$as_me: failed program was:" >&5
2954 sed 's/^/| /' conftest.$ac_ext >&5
2956 # Broken: fails on valid input.
2957 continue
2960 rm -f conftest.err conftest.$ac_ext
2962 # OK, works on sane cases. Now check whether nonexistent headers
2963 # can be detected and how.
2964 cat >conftest.$ac_ext <<_ACEOF
2965 /* confdefs.h. */
2966 _ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <ac_nonexistent.h>
2971 _ACEOF
2972 if { (ac_try="$ac_cpp conftest.$ac_ext"
2973 case "(($ac_try" in
2974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2976 esac
2977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2978 $as_echo "$ac_try_echo") >&5
2979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2980 ac_status=$?
2981 grep -v '^ *+' conftest.er1 >conftest.err
2982 rm -f conftest.er1
2983 cat conftest.err >&5
2984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); } >/dev/null && {
2986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2987 test ! -s conftest.err
2988 }; then
2989 # Broken: success on invalid input.
2990 continue
2991 else
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2995 # Passes both tests.
2996 ac_preproc_ok=:
2997 break
3000 rm -f conftest.err conftest.$ac_ext
3002 done
3003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3004 rm -f conftest.err conftest.$ac_ext
3005 if $ac_preproc_ok; then
3006 break
3009 done
3010 ac_cv_prog_CPP=$CPP
3013 CPP=$ac_cv_prog_CPP
3014 else
3015 ac_cv_prog_CPP=$CPP
3017 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3018 $as_echo "$CPP" >&6; }
3019 ac_preproc_ok=false
3020 for ac_c_preproc_warn_flag in '' yes
3022 # Use a header file that comes with gcc, so configuring glibc
3023 # with a fresh cross-compiler works.
3024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3025 # <limits.h> exists even on freestanding compilers.
3026 # On the NeXT, cc -E runs the code through the compiler's parser,
3027 # not just through cpp. "Syntax error" is here to catch this case.
3028 cat >conftest.$ac_ext <<_ACEOF
3029 /* confdefs.h. */
3030 _ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3034 #ifdef __STDC__
3035 # include <limits.h>
3036 #else
3037 # include <assert.h>
3038 #endif
3039 Syntax error
3040 _ACEOF
3041 if { (ac_try="$ac_cpp conftest.$ac_ext"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3047 $as_echo "$ac_try_echo") >&5
3048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3049 ac_status=$?
3050 grep -v '^ *+' conftest.er1 >conftest.err
3051 rm -f conftest.er1
3052 cat conftest.err >&5
3053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); } >/dev/null && {
3055 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3056 test ! -s conftest.err
3057 }; then
3059 else
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 # Broken: fails on valid input.
3064 continue
3067 rm -f conftest.err conftest.$ac_ext
3069 # OK, works on sane cases. Now check whether nonexistent headers
3070 # can be detected and how.
3071 cat >conftest.$ac_ext <<_ACEOF
3072 /* confdefs.h. */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 #include <ac_nonexistent.h>
3078 _ACEOF
3079 if { (ac_try="$ac_cpp conftest.$ac_ext"
3080 case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3083 esac
3084 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3085 $as_echo "$ac_try_echo") >&5
3086 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3087 ac_status=$?
3088 grep -v '^ *+' conftest.er1 >conftest.err
3089 rm -f conftest.er1
3090 cat conftest.err >&5
3091 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); } >/dev/null && {
3093 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3094 test ! -s conftest.err
3095 }; then
3096 # Broken: success on invalid input.
3097 continue
3098 else
3099 $as_echo "$as_me: failed program was:" >&5
3100 sed 's/^/| /' conftest.$ac_ext >&5
3102 # Passes both tests.
3103 ac_preproc_ok=:
3104 break
3107 rm -f conftest.err conftest.$ac_ext
3109 done
3110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3111 rm -f conftest.err conftest.$ac_ext
3112 if $ac_preproc_ok; then
3114 else
3115 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }; }
3124 ac_ext=c
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3130 # We need the C++ compiler only for testing.
3131 ac_ext=cpp
3132 ac_cpp='$CXXCPP $CPPFLAGS'
3133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3136 if test -z "$CXX"; then
3137 if test -n "$CCC"; then
3138 CXX=$CCC
3139 else
3140 if test -n "$ac_tool_prefix"; then
3141 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3143 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3144 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3146 $as_echo_n "checking for $ac_word... " >&6; }
3147 if test "${ac_cv_prog_CXX+set}" = set; then
3148 $as_echo_n "(cached) " >&6
3149 else
3150 if test -n "$CXX"; then
3151 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3152 else
3153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3154 for as_dir in $PATH
3156 IFS=$as_save_IFS
3157 test -z "$as_dir" && as_dir=.
3158 for ac_exec_ext in '' $ac_executable_extensions; do
3159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3160 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3161 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3162 break 2
3164 done
3165 done
3166 IFS=$as_save_IFS
3170 CXX=$ac_cv_prog_CXX
3171 if test -n "$CXX"; then
3172 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
3173 $as_echo "$CXX" >&6; }
3174 else
3175 { $as_echo "$as_me:$LINENO: result: no" >&5
3176 $as_echo "no" >&6; }
3180 test -n "$CXX" && break
3181 done
3183 if test -z "$CXX"; then
3184 ac_ct_CXX=$CXX
3185 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3187 # Extract the first word of "$ac_prog", so it can be a program name with args.
3188 set dummy $ac_prog; ac_word=$2
3189 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3190 $as_echo_n "checking for $ac_word... " >&6; }
3191 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test -n "$ac_ct_CXX"; then
3195 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3196 else
3197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198 for as_dir in $PATH
3200 IFS=$as_save_IFS
3201 test -z "$as_dir" && as_dir=.
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204 ac_cv_prog_ac_ct_CXX="$ac_prog"
3205 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 break 2
3208 done
3209 done
3210 IFS=$as_save_IFS
3214 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3215 if test -n "$ac_ct_CXX"; then
3216 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3217 $as_echo "$ac_ct_CXX" >&6; }
3218 else
3219 { $as_echo "$as_me:$LINENO: result: no" >&5
3220 $as_echo "no" >&6; }
3224 test -n "$ac_ct_CXX" && break
3225 done
3227 if test "x$ac_ct_CXX" = x; then
3228 CXX="g++"
3229 else
3230 case $cross_compiling:$ac_tool_warned in
3231 yes:)
3232 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3233 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3234 ac_tool_warned=yes ;;
3235 esac
3236 CXX=$ac_ct_CXX
3242 # Provide some information about the compiler.
3243 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3244 set X $ac_compile
3245 ac_compiler=$2
3246 { (ac_try="$ac_compiler --version >&5"
3247 case "(($ac_try" in
3248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3249 *) ac_try_echo=$ac_try;;
3250 esac
3251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3252 $as_echo "$ac_try_echo") >&5
3253 (eval "$ac_compiler --version >&5") 2>&5
3254 ac_status=$?
3255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }
3257 { (ac_try="$ac_compiler -v >&5"
3258 case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3261 esac
3262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3263 $as_echo "$ac_try_echo") >&5
3264 (eval "$ac_compiler -v >&5") 2>&5
3265 ac_status=$?
3266 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }
3268 { (ac_try="$ac_compiler -V >&5"
3269 case "(($ac_try" in
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3272 esac
3273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3274 $as_echo "$ac_try_echo") >&5
3275 (eval "$ac_compiler -V >&5") 2>&5
3276 ac_status=$?
3277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }
3280 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3281 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3282 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3283 $as_echo_n "(cached) " >&6
3284 else
3285 cat >conftest.$ac_ext <<_ACEOF
3286 /* confdefs.h. */
3287 _ACEOF
3288 cat confdefs.h >>conftest.$ac_ext
3289 cat >>conftest.$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3293 main ()
3295 #ifndef __GNUC__
3296 choke me
3297 #endif
3300 return 0;
3302 _ACEOF
3303 rm -f conftest.$ac_objext
3304 if { (ac_try="$ac_compile"
3305 case "(($ac_try" in
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3308 esac
3309 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3310 $as_echo "$ac_try_echo") >&5
3311 (eval "$ac_compile") 2>conftest.er1
3312 ac_status=$?
3313 grep -v '^ *+' conftest.er1 >conftest.err
3314 rm -f conftest.er1
3315 cat conftest.err >&5
3316 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } && {
3318 test -z "$ac_cxx_werror_flag" ||
3319 test ! -s conftest.err
3320 } && test -s conftest.$ac_objext; then
3321 ac_compiler_gnu=yes
3322 else
3323 $as_echo "$as_me: failed program was:" >&5
3324 sed 's/^/| /' conftest.$ac_ext >&5
3326 ac_compiler_gnu=no
3329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3330 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3333 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3334 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3335 if test $ac_compiler_gnu = yes; then
3336 GXX=yes
3337 else
3338 GXX=
3340 ac_test_CXXFLAGS=${CXXFLAGS+set}
3341 ac_save_CXXFLAGS=$CXXFLAGS
3342 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3343 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3344 if test "${ac_cv_prog_cxx_g+set}" = set; then
3345 $as_echo_n "(cached) " >&6
3346 else
3347 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3348 ac_cxx_werror_flag=yes
3349 ac_cv_prog_cxx_g=no
3350 CXXFLAGS="-g"
3351 cat >conftest.$ac_ext <<_ACEOF
3352 /* confdefs.h. */
3353 _ACEOF
3354 cat confdefs.h >>conftest.$ac_ext
3355 cat >>conftest.$ac_ext <<_ACEOF
3356 /* end confdefs.h. */
3359 main ()
3363 return 0;
3365 _ACEOF
3366 rm -f conftest.$ac_objext
3367 if { (ac_try="$ac_compile"
3368 case "(($ac_try" in
3369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370 *) ac_try_echo=$ac_try;;
3371 esac
3372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373 $as_echo "$ac_try_echo") >&5
3374 (eval "$ac_compile") 2>conftest.er1
3375 ac_status=$?
3376 grep -v '^ *+' conftest.er1 >conftest.err
3377 rm -f conftest.er1
3378 cat conftest.err >&5
3379 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); } && {
3381 test -z "$ac_cxx_werror_flag" ||
3382 test ! -s conftest.err
3383 } && test -s conftest.$ac_objext; then
3384 ac_cv_prog_cxx_g=yes
3385 else
3386 $as_echo "$as_me: failed program was:" >&5
3387 sed 's/^/| /' conftest.$ac_ext >&5
3389 CXXFLAGS=""
3390 cat >conftest.$ac_ext <<_ACEOF
3391 /* confdefs.h. */
3392 _ACEOF
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3398 main ()
3402 return 0;
3404 _ACEOF
3405 rm -f conftest.$ac_objext
3406 if { (ac_try="$ac_compile"
3407 case "(($ac_try" in
3408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3410 esac
3411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3412 $as_echo "$ac_try_echo") >&5
3413 (eval "$ac_compile") 2>conftest.er1
3414 ac_status=$?
3415 grep -v '^ *+' conftest.er1 >conftest.err
3416 rm -f conftest.er1
3417 cat conftest.err >&5
3418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); } && {
3420 test -z "$ac_cxx_werror_flag" ||
3421 test ! -s conftest.err
3422 } && test -s conftest.$ac_objext; then
3424 else
3425 $as_echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.$ac_ext >&5
3428 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3429 CXXFLAGS="-g"
3430 cat >conftest.$ac_ext <<_ACEOF
3431 /* confdefs.h. */
3432 _ACEOF
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3438 main ()
3442 return 0;
3444 _ACEOF
3445 rm -f conftest.$ac_objext
3446 if { (ac_try="$ac_compile"
3447 case "(($ac_try" in
3448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3449 *) ac_try_echo=$ac_try;;
3450 esac
3451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3452 $as_echo "$ac_try_echo") >&5
3453 (eval "$ac_compile") 2>conftest.er1
3454 ac_status=$?
3455 grep -v '^ *+' conftest.er1 >conftest.err
3456 rm -f conftest.er1
3457 cat conftest.err >&5
3458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } && {
3460 test -z "$ac_cxx_werror_flag" ||
3461 test ! -s conftest.err
3462 } && test -s conftest.$ac_objext; then
3463 ac_cv_prog_cxx_g=yes
3464 else
3465 $as_echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3478 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3480 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3481 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3482 if test "$ac_test_CXXFLAGS" = set; then
3483 CXXFLAGS=$ac_save_CXXFLAGS
3484 elif test $ac_cv_prog_cxx_g = yes; then
3485 if test "$GXX" = yes; then
3486 CXXFLAGS="-g -O2"
3487 else
3488 CXXFLAGS="-g"
3490 else
3491 if test "$GXX" = yes; then
3492 CXXFLAGS="-O2"
3493 else
3494 CXXFLAGS=
3497 ac_ext=c
3498 ac_cpp='$CPP $CPPFLAGS'
3499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504 if test "`cd $srcdir; /bin/pwd`" = "`/bin/pwd`"; then
3505 { { $as_echo "$as_me:$LINENO: error: you must configure in a separate build directory" >&5
3506 $as_echo "$as_me: error: you must configure in a separate build directory" >&2;}
3507 { (exit 1); exit 1; }; }
3510 # This will get text that should go into config.make.
3511 config_vars=
3513 # Check for a --with-gd argument and set libgd-LDFLAGS in config.make.
3515 # Check whether --with-gd was given.
3516 if test "${with_gd+set}" = set; then
3517 withval=$with_gd; case "$with_gd" in
3518 yes|''|no) ;;
3519 *) libgd_include="-I$withval/include"
3520 libgd_ldflags="-L$withval/lib" ;;
3521 esac
3526 # Check whether --with-gd-include was given.
3527 if test "${with_gd_include+set}" = set; then
3528 withval=$with_gd_include; case "$with_gd_include" in
3529 ''|no) ;;
3530 *) libgd_include="-I$withval" ;;
3531 esac
3536 # Check whether --with-gd-lib was given.
3537 if test "${with_gd_lib+set}" = set; then
3538 withval=$with_gd_lib; case "$with_gd_lib" in
3539 ''|no) ;;
3540 *) libgd_ldflags="-L$withval" ;;
3541 esac
3546 if test -n "$libgd_include"; then
3547 config_vars="$config_vars
3548 CFLAGS-memusagestat.c = $libgd_include"
3550 if test -n "$libgd_ldflags"; then
3551 config_vars="$config_vars
3552 libgd-LDFLAGS = $libgd_ldflags"
3556 # Check whether --with-fp was given.
3557 if test "${with_fp+set}" = set; then
3558 withval=$with_fp; with_fp=$withval
3559 else
3560 with_fp=yes
3565 # Check whether --with-binutils was given.
3566 if test "${with_binutils+set}" = set; then
3567 withval=$with_binutils; path_binutils=$withval
3568 else
3569 path_binutils=''
3573 # Check whether --with-elf was given.
3574 if test "${with_elf+set}" = set; then
3575 withval=$with_elf; elf=$withval
3576 else
3577 elf=no
3581 # Check whether --with-selinux was given.
3582 if test "${with_selinux+set}" = set; then
3583 withval=$with_selinux; with_selinux=$withval
3584 else
3585 with_selinux=auto
3589 # Check whether --with-xcoff was given.
3590 if test "${with_xcoff+set}" = set; then
3591 withval=$with_xcoff; xcoff=$withval
3592 else
3593 xcoff=no
3597 # Check whether --with-cvs was given.
3598 if test "${with_cvs+set}" = set; then
3599 withval=$with_cvs; with_cvs=$withval
3600 else
3601 with_cvs=yes
3604 if test "$with_cvs" = yes; then
3605 if test -d $srcdir/CVS && grep :pserver: $srcdir/CVS/Root > /dev/null
3606 then
3607 with_cvs=no
3613 # Check whether --with-headers was given.
3614 if test "${with_headers+set}" = set; then
3615 withval=$with_headers; sysheaders=$withval
3616 else
3617 sysheaders=''
3621 # Check whether --enable-sanity-checks was given.
3622 if test "${enable_sanity_checks+set}" = set; then
3623 enableval=$enable_sanity_checks; enable_sanity=$enableval
3624 else
3625 enable_sanity=yes
3630 # Check whether --enable-check-abi was given.
3631 if test "${enable_check_abi+set}" = set; then
3632 enableval=$enable_check_abi; enable_check_abi=$enableval
3633 else
3634 enable_check_abi=no
3638 static=yes
3639 # Check whether --enable-shared was given.
3640 if test "${enable_shared+set}" = set; then
3641 enableval=$enable_shared; shared=$enableval
3642 else
3643 shared=default
3646 # Check whether --enable-profile was given.
3647 if test "${enable_profile+set}" = set; then
3648 enableval=$enable_profile; profile=$enableval
3649 else
3650 profile=no
3653 # Check whether --enable-omitfp was given.
3654 if test "${enable_omitfp+set}" = set; then
3655 enableval=$enable_omitfp; omitfp=$enableval
3656 else
3657 omitfp=no
3660 # Check whether --enable-bounded was given.
3661 if test "${enable_bounded+set}" = set; then
3662 enableval=$enable_bounded; bounded=$enableval
3663 else
3664 bounded=no
3667 # Check whether --enable-versioning was given.
3668 if test "${enable_versioning+set}" = set; then
3669 enableval=$enable_versioning; enable_versioning=$enableval
3670 else
3671 enable_versioning=yes
3675 # Check whether --enable-oldest-abi was given.
3676 if test "${enable_oldest_abi+set}" = set; then
3677 enableval=$enable_oldest_abi; oldest_abi=$enableval
3678 else
3679 oldest_abi=no
3682 if test "$oldest_abi" = yes || test "$oldest_abi" = no; then
3683 oldest_abi=default
3684 else
3685 cat >>confdefs.h <<_ACEOF
3686 #define GLIBC_OLDEST_ABI "$oldest_abi"
3687 _ACEOF
3692 # Check whether --enable-stackguard-randomization was given.
3693 if test "${enable_stackguard_randomization+set}" = set; then
3694 enableval=$enable_stackguard_randomization; enable_stackguard_randomize=$enableval
3695 else
3696 enable_stackguard_randomize=no
3699 if test "$enable_stackguard_randomize" = yes; then
3700 cat >>confdefs.h <<\_ACEOF
3701 #define ENABLE_STACKGUARD_RANDOMIZE 1
3702 _ACEOF
3706 # Check whether --enable-add-ons was given.
3707 if test "${enable_add_ons+set}" = set; then
3708 enableval=$enable_add_ons;
3709 else
3710 enable_add_ons=yes
3715 # Check whether --with-tls was given.
3716 if test "${with_tls+set}" = set; then
3717 withval=$with_tls; usetls=$withval
3718 else
3719 usetls=yes
3724 # Check whether --with-__thread was given.
3725 if test "${with___thread+set}" = set; then
3726 withval=$with___thread; use__thread=$withval
3727 else
3728 use__thread=yes
3732 # Check whether --enable-hidden-plt was given.
3733 if test "${enable_hidden_plt+set}" = set; then
3734 enableval=$enable_hidden_plt; hidden=$enableval
3735 else
3736 hidden=yes
3739 if test "x$hidden" = xno; then
3740 cat >>confdefs.h <<\_ACEOF
3741 #define NO_HIDDEN 1
3742 _ACEOF
3746 # Check whether --enable-bind-now was given.
3747 if test "${enable_bind_now+set}" = set; then
3748 enableval=$enable_bind_now; bindnow=$enableval
3749 else
3750 bindnow=no
3755 # Check whether --enable-static-nss was given.
3756 if test "${enable_static_nss+set}" = set; then
3757 enableval=$enable_static_nss; static_nss=$enableval
3758 else
3759 static_nss=no
3762 if test x"$static_nss" = xyes || test x"$shared" = xno; then
3763 static_nss=yes
3764 cat >>confdefs.h <<\_ACEOF
3765 #define DO_STATIC_NSS 1
3766 _ACEOF
3770 # Check whether --enable-force-install was given.
3771 if test "${enable_force_install+set}" = set; then
3772 enableval=$enable_force_install; force_install=$enableval
3773 else
3774 force_install=yes
3779 # Check whether --enable-kernel was given.
3780 if test "${enable_kernel+set}" = set; then
3781 enableval=$enable_kernel; minimum_kernel=$enableval
3784 if test "$minimum_kernel" = yes || test "$minimum_kernel" = no; then
3785 # Better nothing than this.
3786 minimum_kernel=""
3787 else
3788 if test "$minimum_kernel" = current; then
3789 minimum_kernel=`uname -r 2>/dev/null` || minimum_kernel=
3793 # Check whether --enable-all-warnings was given.
3794 if test "${enable_all_warnings+set}" = set; then
3795 enableval=$enable_all_warnings; all_warnings=$enableval
3800 # Check whether --enable-multi-arch was given.
3801 if test "${enable_multi_arch+set}" = set; then
3802 enableval=$enable_multi_arch; multi_arch=$enableval
3803 else
3804 multi_arch=default
3807 if test x"$multi_arch" != xno; then
3808 multi_arch_d=/multiarch
3811 # Check whether --enable-experimental-malloc was given.
3812 if test "${enable_experimental_malloc+set}" = set; then
3813 enableval=$enable_experimental_malloc; experimental_malloc=$enableval
3818 # Check whether --enable-nss-crypt was given.
3819 if test "${enable_nss_crypt+set}" = set; then
3820 enableval=$enable_nss_crypt; nss_crypt=$enableval
3821 else
3822 nss_crypt=no
3825 if test x$nss_crypt = xyes; then
3826 nss_includes=-I$(nss-config --includedir 2>/dev/null)
3827 if test $? -ne 0; then
3828 { { $as_echo "$as_me:$LINENO: error: cannot find include directory with nss-config" >&5
3829 $as_echo "$as_me: error: cannot find include directory with nss-config" >&2;}
3830 { (exit 1); exit 1; }; }
3832 old_CFLAGS="$CFLAGS"
3833 CFLAGS="$CFLAGS $nss_includes"
3835 cat >conftest.$ac_ext <<_ACEOF
3836 typedef int PRBool;
3837 #include <hasht.h>
3838 #include <nsslowhash.h>
3839 void f (void) { NSSLOW_Init (); }
3840 _ACEOF
3841 rm -f conftest.$ac_objext
3842 if { (ac_try="$ac_compile"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3848 $as_echo "$ac_try_echo") >&5
3849 (eval "$ac_compile") 2>conftest.er1
3850 ac_status=$?
3851 grep -v '^ *+' conftest.er1 >conftest.err
3852 rm -f conftest.er1
3853 cat conftest.err >&5
3854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3855 (exit $ac_status); } && {
3856 test -z "$ac_c_werror_flag" ||
3857 test ! -s conftest.err
3858 } && test -s conftest.$ac_objext; then
3859 libc_cv_nss_crypt=yes
3860 else
3861 $as_echo "$as_me: failed program was:" >&5
3862 sed 's/^/| /' conftest.$ac_ext >&5
3864 { { $as_echo "$as_me:$LINENO: error:
3865 cannot find NSS headers with lowlevel hash function interfaces" >&5
3866 $as_echo "$as_me: error:
3867 cannot find NSS headers with lowlevel hash function interfaces" >&2;}
3868 { (exit 1); exit 1; }; }
3871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3872 old_LIBS="$LIBS"
3873 LIBS="$LIBS -lfreebl3"
3874 cat >conftest.$ac_ext <<_ACEOF
3875 /* confdefs.h. */
3876 _ACEOF
3877 cat confdefs.h >>conftest.$ac_ext
3878 cat >>conftest.$ac_ext <<_ACEOF
3879 /* end confdefs.h. */
3880 typedef int PRBool;
3881 #include <hasht.h>
3882 #include <nsslowhash.h>
3884 main ()
3886 NSSLOW_Init();
3888 return 0;
3890 _ACEOF
3891 rm -f conftest.$ac_objext conftest$ac_exeext
3892 if { (ac_try="$ac_link"
3893 case "(($ac_try" in
3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3895 *) ac_try_echo=$ac_try;;
3896 esac
3897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3898 $as_echo "$ac_try_echo") >&5
3899 (eval "$ac_link") 2>conftest.er1
3900 ac_status=$?
3901 grep -v '^ *+' conftest.er1 >conftest.err
3902 rm -f conftest.er1
3903 cat conftest.err >&5
3904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3905 (exit $ac_status); } && {
3906 test -z "$ac_c_werror_flag" ||
3907 test ! -s conftest.err
3908 } && test -s conftest$ac_exeext && {
3909 test "$cross_compiling" = yes ||
3910 $as_test_x conftest$ac_exeext
3911 }; then
3912 libc_cv_nss_crypt=yes
3913 else
3914 $as_echo "$as_me: failed program was:" >&5
3915 sed 's/^/| /' conftest.$ac_ext >&5
3917 { { $as_echo "$as_me:$LINENO: error:
3918 cannot link program using lowlevel NSS hash functions" >&5
3919 $as_echo "$as_me: error:
3920 cannot link program using lowlevel NSS hash functions" >&2;}
3921 { (exit 1); exit 1; }; }
3924 rm -rf conftest.dSYM
3925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3926 conftest$ac_exeext conftest.$ac_ext
3927 CFLAGS="$old_CFLAGS"
3928 LIBS="$old_LIBS"
3929 else
3930 libc_cv_nss_crypt=no
3934 # The way shlib-versions is used to generate soversions.mk uses a
3935 # fairly simplistic model for name recognition that can't distinguish
3936 # i486-pc-linux-gnu fully from i486-pc-gnu. So we mutate a $host_os
3937 # of `gnu*' here to be `gnu-gnu*' just so that shlib-versions can
3938 # tell. This doesn't get used much beyond that, so it's fairly safe.
3939 case "$host_os" in
3940 linux*)
3942 gnu*)
3943 host_os=`echo $host_os | sed -e 's/gnu/gnu-gnu/'`
3945 esac
3947 # We keep the original values in `$config_*' and never modify them, so we
3948 # can write them unchanged into config.make. Everything else uses
3949 # $machine, $vendor, and $os, and changes them whenever convenient.
3950 config_machine=$host_cpu config_vendor=$host_vendor config_os=$host_os
3952 # Don't allow vendor == "unknown"
3953 test "$config_vendor" = unknown && config_vendor=
3954 config_os="`echo $config_os | sed 's/^unknown-//'`"
3956 # Some configurations imply other options.
3957 case "$host_os" in
3958 # i586-linuxaout is mangled into i586-pc-linux-gnuaout
3959 linux*ecoff* | linux*aout* | gnu*aout* | gnu*ecoff*)
3961 gnu* | linux* | freebsd* | netbsd* | sysv4* | solaris2* | irix6*)
3962 # These systems (almost) always use the ELF format.
3963 elf=yes
3965 aix*)
3966 # These systems are always xcoff
3967 xcoff=yes
3968 elf=no
3970 esac
3972 # The configure fragment of an add-on port can modify these to supplement
3973 # or override the table in the case statement below. No fragment should
3974 # ever change the config_* variables, however.
3975 machine=$config_machine
3976 vendor=$config_vendor
3977 os=$config_os
3978 base_os=''
3980 # config.guess on some IBM machines says `rs6000' instead of `powerpc'.
3981 # Unify this here.
3982 if test "$machine" = rs6000; then
3983 machine="powerpc"
3986 # Braindead PowerPC box with absolutely no FPU.
3987 case "$machine-$host_os" in
3988 powerpc*-*soft)
3989 with_fp=no
3991 esac
3993 submachine=
3995 # Check whether --with-cpu was given.
3996 if test "${with_cpu+set}" = set; then
3997 withval=$with_cpu; case "$withval" in
3998 yes|'') { { $as_echo "$as_me:$LINENO: error: --with-cpu requires an argument" >&5
3999 $as_echo "$as_me: error: --with-cpu requires an argument" >&2;}
4000 { (exit 1); exit 1; }; } ;;
4001 no) ;;
4002 *) submachine="$withval" ;;
4003 esac
4008 # An add-on can set this when it wants to disable the sanity check below.
4009 libc_config_ok=no
4011 subdirs="$subdirs "
4014 case "$enable_add_ons" in
4015 ''|no) add_ons= ;;
4016 yes|'*')
4017 add_ons=`cd $srcdir && ls -d 2> /dev/null */configure */sysdeps |
4018 sed 's@/[^/]*$@@' | sort | uniq`
4019 add_ons_automatic=yes
4021 *) add_ons=`echo "$enable_add_ons" | sed 's/,/ /g'`
4022 add_ons_automatic=no ;;
4023 esac
4025 configured_add_ons=
4026 add_ons_sfx=
4027 add_ons_pfx=
4028 if test x"$add_ons" != x; then
4029 for f in $add_ons; do
4030 # Some sanity checks
4031 case "$f" in
4032 crypt)
4033 { { $as_echo "$as_me:$LINENO: error:
4034 *** It seems that you're using an old \`crypt' add-on. crypt is now
4035 *** part of glibc and using the old add-on will not work with this
4036 *** release. Start again with fresh sources and without the old
4037 *** \`crypt' add-on." >&5
4038 $as_echo "$as_me: error:
4039 *** It seems that you're using an old \`crypt' add-on. crypt is now
4040 *** part of glibc and using the old add-on will not work with this
4041 *** release. Start again with fresh sources and without the old
4042 *** \`crypt' add-on." >&2;}
4043 { (exit 1); exit 1; }; }
4045 localedata)
4046 { { $as_echo "$as_me:$LINENO: error:
4047 *** It seems that you're using an old \`localedata' add-on. localedata
4048 *** is now part of glibc and using the old add-on will not work with
4049 *** this release. Start again with fresh sources and without the old
4050 *** \`localedata' add-on." >&5
4051 $as_echo "$as_me: error:
4052 *** It seems that you're using an old \`localedata' add-on. localedata
4053 *** is now part of glibc and using the old add-on will not work with
4054 *** this release. Start again with fresh sources and without the old
4055 *** \`localedata' add-on." >&2;}
4056 { (exit 1); exit 1; }; }
4058 esac
4059 done
4061 # Now source each add-on's configure fragment.
4062 # The fragments can use $srcdir/$libc_add_on to find themselves,
4063 # and test $add_ons_automatic to see if they were explicitly requested.
4064 # A fragment can clear (or even change) $libc_add_on to affect
4065 # whether it goes into the list to be actually used in the build.
4066 use_add_ons=
4067 for libc_add_on in $add_ons; do
4068 # Test whether such a directory really exists.
4069 # It can be absolute, or relative to $srcdir, or relative to the build dir.
4070 case "$libc_add_on" in
4072 libc_add_on_srcdir=$libc_add_on
4075 test -d "$srcdir/$libc_add_on" || {
4076 if test -d "$libc_add_on"; then
4077 libc_add_on="`pwd`/$libc_add_on"
4078 else
4079 { { $as_echo "$as_me:$LINENO: error: add-on directory \"$libc_add_on\" does not exist" >&5
4080 $as_echo "$as_me: error: add-on directory \"$libc_add_on\" does not exist" >&2;}
4081 { (exit 1); exit 1; }; }
4084 libc_add_on_srcdir=$srcdir/$libc_add_on
4086 esac
4088 libc_add_on_frag=$libc_add_on_srcdir/configure
4089 libc_add_on_canonical=
4090 libc_add_on_config_subdirs=
4091 if test -r "$libc_add_on_frag"; then
4092 { $as_echo "$as_me:$LINENO: running configure fragment for add-on $libc_add_on" >&5
4093 $as_echo "$as_me: running configure fragment for add-on $libc_add_on" >&6;}
4094 libc_add_on_canonical=unknown
4095 libc_add_on_subdirs=
4096 . "$libc_add_on_frag"
4097 test -z "$libc_add_on" || {
4098 configured_add_ons="$configured_add_ons $libc_add_on"
4099 if test "x$libc_add_on_canonical" = xunknown; then
4100 { { $as_echo "$as_me:$LINENO: error: fragment must set \$libc_add_on_canonical" >&5
4101 $as_echo "$as_me: error: fragment must set \$libc_add_on_canonical" >&2;}
4102 { (exit 1); exit 1; }; }
4104 for d in $libc_add_on_subdirs; do
4105 case "$libc_add_on" in
4106 /*) subdir_srcdir="$libc_add_on" ;;
4107 *) subdir_srcdir="\$(..)$libc_add_on" ;;
4108 esac
4109 case "$d" in
4111 d="${libc_add_on_canonical:-$libc_add_on}"
4114 subdir_srcdir="$d"
4117 subdir_srcdir="$subdir_srcdir/$d"
4119 esac
4120 d=`echo "$d" | sed 's@/*$@@;s@^.*/@@'`
4121 add_on_subdirs="$add_on_subdirs $d"
4122 test "$subdir_srcdir" = "\$(..)$d" || config_vars="$config_vars
4123 $d-srcdir = $subdir_srcdir"
4124 done
4125 for d in $libc_add_on_config_subdirs; do
4126 case "$d" in
4127 /*) { { $as_echo "$as_me:$LINENO: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&5
4128 $as_echo "$as_me: error: fragment uses absolute path in \$libc_add_on_config_subdirs" >&2;}
4129 { (exit 1); exit 1; }; } ;;
4130 esac
4131 if test ! -d "$libc_add_on_srcdir/$d"; then
4132 { { $as_echo "$as_me:$LINENO: error: fragment wants to configure missing directory $d" >&5
4133 $as_echo "$as_me: error: fragment wants to configure missing directory $d" >&2;}
4134 { (exit 1); exit 1; }; }
4136 case "$libc_add_on" in
4137 /*) { { $as_echo "$as_me:$LINENO: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&5
4138 $as_echo "$as_me: error: relative path required for add-on using \$libc_add_on_config_subdirs" >&2;}
4139 { (exit 1); exit 1; }; } ;;
4140 esac
4141 subdirs="$subdirs $libc_add_on/$d"
4142 done
4145 if test -n "$libc_add_on"; then
4146 if frags=`ls -d $libc_add_on_srcdir/sysdeps/*/preconfigure 2> /dev/null`
4147 then
4148 { $as_echo "$as_me:$LINENO: checking add-on $libc_add_on for preconfigure fragments" >&5
4149 $as_echo_n "checking add-on $libc_add_on for preconfigure fragments... " >&6; }
4150 for frag in $frags; do
4151 name=`echo "$frag" | sed 's@/[^/]*$@@;s@^.*/@@'`
4152 echo $ECHO_N "$name $ECHO_C" >&6
4153 . "$frag"
4154 done
4155 { $as_echo "$as_me:$LINENO: result: " >&5
4156 $as_echo "" >&6; }
4158 use_add_ons="$use_add_ons $libc_add_on"
4159 add_ons_pfx="$add_ons_pfx $libc_add_on/"
4160 test -z "$libc_add_on_canonical" ||
4161 add_ons_sfx="$add_ons_sfx /$libc_add_on_canonical"
4163 done
4164 # Use echo to strip excess whitespace.
4165 add_ons="`echo $use_add_ons`"
4172 ### I put this here to prevent those annoying emails from people who cannot
4173 ### read and try to compile glibc on unsupported platforms. --drepper
4175 ### By using the undocumented --enable-hacker-mode option for configure
4176 ### one can skip this test to make the configuration not fail for unsupported
4177 ### platforms.
4179 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
4180 case "$machine-$host_os" in
4181 *-linux* | *-gnu* | arm*-none* | powerpc-aix4.3.*)
4184 echo "*** The GNU C library is currently not available for this platform."
4185 echo "*** So far nobody cared to port it and if there is no volunteer it"
4186 echo "*** might never happen. So, if you have interest to see glibc on"
4187 echo "*** this platform visit"
4188 echo "*** http://www.gnu.org/software/libc/porting.html"
4189 echo "*** and join the group of porters"
4190 exit 1
4192 esac
4195 # Expand the configuration machine name into a subdirectory by architecture
4196 # type and particular chip. If an add-on configure fragment already set
4197 # base_machine, we don't change it.
4198 test -n "$base_machine" || case "$machine" in
4199 a29k | am29000) base_machine=a29k machine=a29k ;;
4200 c3[012]) base_machine=cx0 machine=cx0/c30 ;;
4201 c4[04]) base_machine=cx0 machine=cx0/c40 ;;
4202 i[34567]86) base_machine=i386 machine=i386/$machine ;;
4203 ia64) base_machine=ia64 machine=ia64 ;;
4204 m88???) base_machine=m88k machine=m88k/$machine ;;
4205 m88k) base_machine=m88k machine=m88k/m88100 ;;
4206 powerpc) base_machine=powerpc machine=powerpc/powerpc32 ;;
4207 powerpc64) base_machine=powerpc machine=powerpc/powerpc64 ;;
4208 s390) base_machine=s390 machine=s390/s390-32 ;;
4209 s390x) base_machine=s390 machine=s390/s390-64 ;;
4210 sh3*) base_machine=sh machine=sh/sh3 ;;
4211 sh4*) base_machine=sh machine=sh/sh4 ;;
4212 sparc | sparcv[67])
4213 base_machine=sparc machine=sparc/sparc32 ;;
4214 sparcv8 | supersparc | hypersparc)
4215 base_machine=sparc machine=sparc/sparc32/sparcv8 ;;
4216 sparcv8plus | sparcv8plusa | sparcv9)
4217 base_machine=sparc machine=sparc/sparc32/sparcv9 ;;
4218 sparcv8plusb | sparcv9b)
4219 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9b ;;
4220 sparcv9v)
4221 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v ;;
4222 sparcv9v2)
4223 base_machine=sparc machine=sparc/sparc32/sparcv9/sparcv9v2 ;;
4224 sparc64)
4225 base_machine=sparc machine=sparc/sparc64 ;;
4226 sparc64b)
4227 base_machine=sparc machine=sparc/sparc64/sparcv9b ;;
4228 sparc64v)
4229 base_machine=sparc machine=sparc/sparc64/sparcv9v ;;
4230 sparc64v2)
4231 base_machine=sparc machine=sparc/sparc64/sparcv9v2 ;;
4232 *) base_machine=$machine ;;
4233 esac
4236 if test "$base_machine" = "i386"; then
4237 cat >>confdefs.h <<\_ACEOF
4238 #define USE_REGPARMS 1
4239 _ACEOF
4243 # Compute the list of sysdep directories for this configuration.
4244 # This can take a while to compute.
4245 sysdep_dir=$srcdir/sysdeps
4246 { $as_echo "$as_me:$LINENO: checking sysdep dirs" >&5
4247 $as_echo_n "checking sysdep dirs... " >&6; }
4248 # Make sco3.2v4 become sco3.2.4 and sunos4.1.1_U1 become sunos4.1.1.U1.
4249 os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
4251 test "x$base_os" != x || case "$os" in
4252 gnu*)
4253 base_os=mach/hurd ;;
4254 netbsd* | 386bsd* | freebsd* | bsdi*)
4255 base_os=unix/bsd/bsd4.4 ;;
4256 osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
4257 base_os=unix/bsd ;;
4258 sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
4259 base_os=unix/sysv ;;
4260 irix6*)
4261 base_os=unix/sysv/irix6/$os ;;
4262 solaris[2-9]*)
4263 base_os=unix/sysv/sysv4 ;;
4264 hpux*)
4265 base_os=unix/sysv/hpux/$os ;;
4266 aix4.3*)
4267 base_os=unix/sysv/aix/aix4.3 ;;
4268 none)
4269 base_os=standalone ;;
4270 esac
4272 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
4273 tail=$os
4274 ostry=$os
4275 while o=`echo $tail | sed 's/\.[^.]*$//'`; test $o != $tail; do
4276 ostry="$ostry /$o"
4277 tail=$o
4278 done
4279 o=`echo $tail | sed 's/[0-9]*$//'`
4280 if test $o != $tail; then
4281 ostry="$ostry /$o"
4283 # For linux-gnu, try linux-gnu, then linux.
4284 o=`echo $tail | sed 's/-.*$//'`
4285 if test $o != $tail; then
4286 ostry="$ostry /$o"
4289 # For unix/sysv/sysv4, try unix/sysv/sysv4, then unix/sysv, then unix.
4290 base=
4291 tail=$base_os
4292 while b=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$b"; do
4293 set $b
4294 base="$base /$1"
4295 tail="$2"
4296 done
4298 # For sparc/sparc32, try sparc/sparc32 and then sparc.
4299 mach=
4300 tail=$machine${submachine:+/$submachine}
4301 while m=`echo $tail | sed 's@^\(.*\)/\([^/]*\)$@& \1@'`; test -n "$m"; do
4302 set $m
4303 # Prepend the machine's FPU directory unless --without-fp.
4304 if test "$with_fp" = yes; then
4305 mach="$mach /$1/fpu"
4306 else
4307 mach="$mach /$1/nofpu"
4309 mach="$mach /$1"
4310 tail="$2"
4311 done
4314 # Find what sysdep directories exist.
4315 sysnames_add_ons=
4316 sysnames=
4317 for b in $base ''; do
4318 for m0 in $mach ''; do
4319 for v in /$vendor ''; do
4320 test "$v" = / && continue
4321 for o in /$ostry ''; do
4322 test "$o" = / && continue
4323 for m in $multi_arch_d $mach ''; do
4324 for d in $add_ons_pfx ''; do
4325 for a in $add_ons_sfx ''; do
4326 if test -n "$m0$m0sub$b$v$o$m$msub"; then
4327 try_srcdir="${srcdir}/"
4328 case "$d" in
4329 /*) try_srcdir= ;;
4330 esac
4331 try="${d}sysdeps$m0$m0sub$b$v$o$m$msub$a"
4332 test -n "$enable_debug_configure" &&
4333 echo "$0 DEBUG: try $try" >&2
4334 if test -d "$try_srcdir$try"; then
4335 sysnames="$sysnames $try"
4336 { test -n "$o" || test -n "$b"; } && os_used=t
4337 { test -n "$m" || test -n "$m0"; } && machine_used=t
4338 case x${m0:-$m} in
4339 x*/$submachine) submachine_used=t ;;
4340 esac
4341 if test -n "$d"; then
4342 case "$sysnames_add_ons" in
4343 *" $d "*) ;;
4344 *|'') sysnames_add_ons="$sysnames_add_ons $d" ;;
4345 esac
4349 done
4350 done
4351 done
4352 done
4353 done
4354 done
4355 done
4357 # If the assembler supports gnu_indirect_function symbol type and the
4358 # architecture supports multi-arch, we enable multi-arch by default.
4359 if test "$multi_arch" = default; then
4360 { $as_echo "$as_me:$LINENO: checking for assembler gnu_indirect_function symbol type support" >&5
4361 $as_echo_n "checking for assembler gnu_indirect_function symbol type support... " >&6; }
4362 if test "${libc_cv_asm_gnu_indirect_function+set}" = set; then
4363 $as_echo_n "(cached) " >&6
4364 else
4365 cat > conftest.s <<EOF
4366 .type foo,%gnu_indirect_function
4368 if ${CC-cc} -c $ASFLAGS conftest.s 1>&5 2>&5;
4369 then
4370 libc_cv_asm_gnu_indirect_function=yes
4371 else
4372 libc_cv_asm_gnu_indirect_function=no
4374 rm -f conftest*
4376 { $as_echo "$as_me:$LINENO: result: $libc_cv_asm_gnu_indirect_function" >&5
4377 $as_echo "$libc_cv_asm_gnu_indirect_function" >&6; }
4378 multi_arch=no
4379 if test "$libc_cv_asm_gnu_indirect_function" = yes; then
4380 case $sysnames_add_ons$sysnames in
4381 *"$multi_arch_d"*)
4382 multi_arch=yes
4384 esac
4387 if test x"$multi_arch" = xyes; then
4388 cat >>confdefs.h <<\_ACEOF
4389 #define USE_MULTIARCH 1
4390 _ACEOF
4395 if test -z "$os_used" && test "$os" != none; then
4396 { { $as_echo "$as_me:$LINENO: error: Operating system $os is not supported." >&5
4397 $as_echo "$as_me: error: Operating system $os is not supported." >&2;}
4398 { (exit 1); exit 1; }; }
4400 if test -z "$machine_used" && test "$machine" != none; then
4401 { { $as_echo "$as_me:$LINENO: error: The $machine is not supported." >&5
4402 $as_echo "$as_me: error: The $machine is not supported." >&2;}
4403 { (exit 1); exit 1; }; }
4405 if test -z "$submachine_used" && test -n "$submachine"; then
4406 { { $as_echo "$as_me:$LINENO: error: The $submachine subspecies of $host_cpu is not supported." >&5
4407 $as_echo "$as_me: error: The $submachine subspecies of $host_cpu is not supported." >&2;}
4408 { (exit 1); exit 1; }; }
4412 # We have now validated the configuration.
4415 # If using ELF, look for an `elf' subdirectory of each machine directory.
4416 # We prepend these rather than inserting them whereever the machine appears
4417 # because things specified by the machine's ELF ABI should override
4418 # OS-specific things, and should always be the same for any OS on the
4419 # machine (otherwise what's the point of an ABI?).
4420 if test "$elf" = yes; then
4421 elf_dirs=
4422 for d in $add_ons_pfx ''; do
4423 for m in $mach; do
4424 if test -d $srcdir/${d}sysdeps$m/elf; then
4425 elf_dirs="$elf_dirs ${d}sysdeps$m/elf"
4427 done
4428 done
4429 sysnames="`echo $elf_dirs | sed -e 's,//,/,g'` $sysnames"
4433 # Expand the list of system names into a full list of directories
4434 # from each element's parent name and Implies file (if present).
4435 set $sysnames
4436 names=
4437 while test $# -gt 0; do
4438 name=$1
4439 shift