2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for libatomic_ops 1.2.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE=1; export DUALCASE # for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits='0123456789'
38 as_cr_alnum=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53 # Support unset when possible.
54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C; export $as_var
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then
123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x; then
155 if (eval ":") 2>/dev/null; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev/null; then
221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir=.
228 for as_base in sh bash ksh sh5; do
229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236 for as_shell in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev/null <<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix*) set -o posix ;;
258 CONFIG_SHELL=$as_shell
260 if { "$as_shell" 2> /dev/null <<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix*) set -o posix ;;
286 as_func_ret_success () {
289 as_func_ret_failure () {
294 if as_func_success; then
298 echo as_func_success failed.
301 if as_func_failure; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure; then
315 echo as_func_ret_failure succeeded.
318 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) || { (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x; then
343 for as_var in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no; then
352 echo This script requires a shell more modern than all the
353 echo shells that I found on your system. Please install a
354 echo modern shell, or manually run the script under such a
355 echo shell if you do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") || {
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472 ECHO_C= ECHO_N= ECHO_T=
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
483 if expr a : '\(a\)' >/dev/null 2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
490 rm -f conf$$ conf$$.exe conf$$.file
491 if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file
498 if ln -s conf$$.file conf$$ 2>/dev/null; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
506 elif ln conf$$.file conf$$ 2>/dev/null; then
511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512 rmdir conf$$.dir 2>/dev/null
514 if mkdir -p . 2>/dev/null; then
517 test -d ./-p && rmdir ./-p
521 if test -x / >/dev/null 2>&1; then
524 if ls -dL / >/dev/null 2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev/null 6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix=/usr/local
564 ac_config_libobj_dir=.
570 SHELL=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
573 PACKAGE_NAME='libatomic_ops'
574 PACKAGE_TARNAME='libatomic_ops'
575 PACKAGE_VERSION='1.2'
576 PACKAGE_STRING='libatomic_ops 1.2'
579 ac_unique_file="src/atomic_ops.c"
580 # Factoring default headers for most tests.
581 ac_includes_default="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
678 INSTALL_STRIP_PROGRAM
714 ac_precious_vars='build_alias
727 # Initialize some variables set by options.
729 ac_init_version=false
730 # The variables have the same names as the options, with
731 # dashes changed to underlines.
739 program_transform_name=s,x,x,
747 # Installation directory options.
748 # These are left unexpanded so users can "make install exec_prefix=/foo"
749 # and all the variables that are supposed to be based on exec_prefix
750 # by default will actually change.
751 # Use braces instead of parens because sh, perl, etc. also accept them.
752 # (The list follows the same order as the GNU Coding Standards.)
753 bindir='${exec_prefix}/bin'
754 sbindir='${exec_prefix}/sbin'
755 libexecdir='${exec_prefix}/libexec'
756 datarootdir='${prefix}/share'
757 datadir='${datarootdir}'
758 sysconfdir='${prefix}/etc'
759 sharedstatedir='${prefix}/com'
760 localstatedir='${prefix}/var'
761 includedir='${prefix}/include'
762 oldincludedir='/usr/include'
763 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
764 infodir='${datarootdir}/info'
769 libdir='${exec_prefix}/lib'
770 localedir='${datarootdir}/locale'
771 mandir='${datarootdir}/man'
777 # If the previous option needs an argument, assign it.
778 if test -n "$ac_prev"; then
779 eval $ac_prev=\$ac_option
785 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
789 # Accept the important Cygnus configure options, so we can diagnose typos.
791 case $ac_dashdash$ac_option in
795 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
800 -build | --build | --buil | --bui | --bu)
801 ac_prev=build_alias ;;
802 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
803 build_alias=$ac_optarg ;;
805 -cache-file | --cache-file | --cache-fil | --cache-fi \
806 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
807 ac_prev=cache_file ;;
808 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
809 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
810 cache_file=$ac_optarg ;;
813 cache_file=config.cache ;;
815 -datadir | --datadir | --datadi | --datad)
817 -datadir=* | --datadir=* | --datadi=* | --datad=*)
818 datadir=$ac_optarg ;;
820 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
821 | --dataroo | --dataro | --datar)
822 ac_prev=datarootdir ;;
823 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
824 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
825 datarootdir=$ac_optarg ;;
827 -disable-* | --disable-*)
828 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
829 # Reject names that are not valid shell variable names.
830 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
831 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
832 { (exit 1); exit 1; }; }
833 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
834 eval enable_$ac_feature=no ;;
836 -docdir | --docdir | --docdi | --doc | --do)
838 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
841 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
843 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
846 -enable-* | --enable-*)
847 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
848 # Reject names that are not valid shell variable names.
849 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
850 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
851 { (exit 1); exit 1; }; }
852 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
853 eval enable_$ac_feature=\$ac_optarg ;;
855 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
856 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
857 | --exec | --exe | --ex)
858 ac_prev=exec_prefix ;;
859 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
860 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
861 | --exec=* | --exe=* | --ex=*)
862 exec_prefix=$ac_optarg ;;
864 -gas | --gas | --ga | --g)
865 # Obsolete; use --with-gas.
868 -help | --help | --hel | --he | -h)
870 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
871 ac_init_help=recursive ;;
872 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
873 ac_init_help=short ;;
875 -host | --host | --hos | --ho)
876 ac_prev=host_alias ;;
877 -host=* | --host=* | --hos=* | --ho=*)
878 host_alias=$ac_optarg ;;
880 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
882 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
884 htmldir=$ac_optarg ;;
886 -includedir | --includedir | --includedi | --included | --include \
887 | --includ | --inclu | --incl | --inc)
888 ac_prev=includedir ;;
889 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
890 | --includ=* | --inclu=* | --incl=* | --inc=*)
891 includedir=$ac_optarg ;;
893 -infodir | --infodir | --infodi | --infod | --info | --inf)
895 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
896 infodir=$ac_optarg ;;
898 -libdir | --libdir | --libdi | --libd)
900 -libdir=* | --libdir=* | --libdi=* | --libd=*)
903 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
904 | --libexe | --libex | --libe)
905 ac_prev=libexecdir ;;
906 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
907 | --libexe=* | --libex=* | --libe=*)
908 libexecdir=$ac_optarg ;;
910 -localedir | --localedir | --localedi | --localed | --locale)
912 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
913 localedir=$ac_optarg ;;
915 -localstatedir | --localstatedir | --localstatedi | --localstated \
916 | --localstate | --localstat | --localsta | --localst | --locals)
917 ac_prev=localstatedir ;;
918 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
919 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
920 localstatedir=$ac_optarg ;;
922 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
924 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
928 # Obsolete; use --without-fp.
931 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
932 | --no-cr | --no-c | -n)
935 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
936 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
939 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
940 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
941 | --oldin | --oldi | --old | --ol | --o)
942 ac_prev=oldincludedir ;;
943 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
944 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
945 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
946 oldincludedir=$ac_optarg ;;
948 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
950 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
953 -program-prefix | --program-prefix | --program-prefi | --program-pref \
954 | --program-pre | --program-pr | --program-p)
955 ac_prev=program_prefix ;;
956 -program-prefix=* | --program-prefix=* | --program-prefi=* \
957 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
958 program_prefix=$ac_optarg ;;
960 -program-suffix | --program-suffix | --program-suffi | --program-suff \
961 | --program-suf | --program-su | --program-s)
962 ac_prev=program_suffix ;;
963 -program-suffix=* | --program-suffix=* | --program-suffi=* \
964 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
965 program_suffix=$ac_optarg ;;
967 -program-transform-name | --program-transform-name \
968 | --program-transform-nam | --program-transform-na \
969 | --program-transform-n | --program-transform- \
970 | --program-transform | --program-transfor \
971 | --program-transfo | --program-transf \
972 | --program-trans | --program-tran \
973 | --progr-tra | --program-tr | --program-t)
974 ac_prev=program_transform_name ;;
975 -program-transform-name=* | --program-transform-name=* \
976 | --program-transform-nam=* | --program-transform-na=* \
977 | --program-transform-n=* | --program-transform-=* \
978 | --program-transform=* | --program-transfor=* \
979 | --program-transfo=* | --program-transf=* \
980 | --program-trans=* | --program-tran=* \
981 | --progr-tra=* | --program-tr=* | --program-t=*)
982 program_transform_name=$ac_optarg ;;
984 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
986 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
989 -psdir | --psdir | --psdi | --psd | --ps)
991 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
994 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
995 | -silent | --silent | --silen | --sile | --sil)
998 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 sbindir=$ac_optarg ;;
1004 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1005 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1006 | --sharedst | --shareds | --shared | --share | --shar \
1008 ac_prev=sharedstatedir ;;
1009 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1010 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1011 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 sharedstatedir=$ac_optarg ;;
1015 -site | --site | --sit)
1017 -site=* | --site=* | --sit=*)
1020 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1023 srcdir=$ac_optarg ;;
1025 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1026 | --syscon | --sysco | --sysc | --sys | --sy)
1027 ac_prev=sysconfdir ;;
1028 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1029 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1030 sysconfdir=$ac_optarg ;;
1032 -target | --target | --targe | --targ | --tar | --ta | --t)
1033 ac_prev=target_alias ;;
1034 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1035 target_alias=$ac_optarg ;;
1037 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1040 -version | --version | --versio | --versi | --vers | -V)
1041 ac_init_version=: ;;
1044 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047 { echo "$as_me: error: invalid package name: $ac_package" >&2
1048 { (exit 1); exit 1; }; }
1049 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1050 eval with_$ac_package=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1059 eval with_$ac_package=no ;;
1062 # Obsolete; use --with-x.
1065 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1066 | --x-incl | --x-inc | --x-in | --x-i)
1067 ac_prev=x_includes ;;
1068 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1069 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1070 x_includes=$ac_optarg ;;
1072 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1073 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1074 ac_prev=x_libraries ;;
1075 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1076 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1077 x_libraries=$ac_optarg ;;
1079 -*) { echo "$as_me: error: unrecognized option: $ac_option
1080 Try \`$0 --help' for more information." >&2
1081 { (exit 1); exit 1; }; }
1085 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1086 # Reject names that are not valid shell variable names.
1087 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1088 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1089 { (exit 1); exit 1; }; }
1090 eval $ac_envvar=\$ac_optarg
1091 export $ac_envvar ;;
1094 # FIXME: should be removed in autoconf 3.0.
1095 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1096 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1097 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1098 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1104 if test -n "$ac_prev"; then
1105 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1106 { echo "$as_me: error: missing argument to $ac_option" >&2
1107 { (exit 1); exit 1; }; }
1110 # Be sure to have absolute directory names.
1111 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1112 datadir sysconfdir sharedstatedir localstatedir includedir \
1113 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1114 libdir localedir mandir
1116 eval ac_val=\$$ac_var
1118 [\\/$]* | ?:[\\/]* ) continue;;
1119 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1121 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1122 { (exit 1); exit 1; }; }
1125 # There might be people who depend on the old broken behavior: `$host'
1126 # used to hold the argument of --host etc.
1127 # FIXME: To remove some day.
1130 target=$target_alias
1132 # FIXME: To remove some day.
1133 if test "x$host_alias" != x; then
1134 if test "x$build_alias" = x; then
1135 cross_compiling=maybe
1136 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1137 If a cross compiler is detected then cross compile mode will be used." >&2
1138 elif test "x$build_alias" != "x$host_alias"; then
1144 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1146 test "$silent" = yes && exec 6>/dev/null
1149 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1150 ac_ls_di=`ls -di .` &&
1151 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1152 { echo "$as_me: error: Working directory cannot be determined" >&2
1153 { (exit 1); exit 1; }; }
1154 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1155 { echo "$as_me: error: pwd does not report name of working directory" >&2
1156 { (exit 1); exit 1; }; }
1159 # Find the source files, if location was not specified.
1160 if test -z "$srcdir"; then
1161 ac_srcdir_defaulted=yes
1162 # Try the directory containing this script, then the parent directory.
1163 ac_confdir=`$as_dirname -- "$0" ||
1164 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1165 X"$0" : 'X\(//\)[^/]' \| \
1166 X"$0" : 'X\(//\)$' \| \
1167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1169 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1187 if test ! -r "$srcdir/$ac_unique_file"; then
1191 ac_srcdir_defaulted=no
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1195 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1196 { (exit 1); exit 1; }; }
1198 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1200 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1201 { (exit 1); exit 1; }; }
1203 # When building in place, set srcdir=.
1204 if test "$ac_abs_confdir" = "$ac_pwd"; then
1207 # Remove unnecessary trailing slashes from srcdir.
1208 # Double slashes in file names in object file debugging info
1209 # mess up M-x gdb in Emacs.
1211 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 for ac_var in $ac_precious_vars; do
1214 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1215 eval ac_env_${ac_var}_value=\$${ac_var}
1216 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1217 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221 # Report the --help message.
1223 if test "$ac_init_help" = "long"; then
1224 # Omit some internal or obsolete options to make the list less imposing.
1225 # This message is too long to be a string in the A/UX 3.1 sh.
1227 \`configure' configures libatomic_ops 1.2 to adapt to many kinds of systems.
1229 Usage: $0 [OPTION]... [VAR=VALUE]...
1231 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1232 VAR=VALUE. See below for descriptions of some of the useful variables.
1234 Defaults for the options are specified in brackets.
1237 -h, --help display this help and exit
1238 --help=short display options specific to this package
1239 --help=recursive display the short help of all the included packages
1240 -V, --version display version information and exit
1241 -q, --quiet, --silent do not print \`checking...' messages
1242 --cache-file=FILE cache test results in FILE [disabled]
1243 -C, --config-cache alias for \`--cache-file=config.cache'
1244 -n, --no-create do not create output files
1245 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247 Installation directories:
1248 --prefix=PREFIX install architecture-independent files in PREFIX
1249 [$ac_default_prefix]
1250 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1253 By default, \`make install' will install all the files in
1254 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1255 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1256 for instance \`--prefix=\$HOME'.
1258 For better control, use the options below.
1260 Fine tuning of the installation directories:
1261 --bindir=DIR user executables [EPREFIX/bin]
1262 --sbindir=DIR system admin executables [EPREFIX/sbin]
1263 --libexecdir=DIR program executables [EPREFIX/libexec]
1264 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1265 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1266 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1267 --libdir=DIR object code libraries [EPREFIX/lib]
1268 --includedir=DIR C header files [PREFIX/include]
1269 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1270 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1271 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1272 --infodir=DIR info documentation [DATAROOTDIR/info]
1273 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1274 --mandir=DIR man documentation [DATAROOTDIR/man]
1275 --docdir=DIR documentation root [DATAROOTDIR/doc/libatomic_ops]
1276 --htmldir=DIR html documentation [DOCDIR]
1277 --dvidir=DIR dvi documentation [DOCDIR]
1278 --pdfdir=DIR pdf documentation [DOCDIR]
1279 --psdir=DIR ps documentation [DOCDIR]
1285 --program-prefix=PREFIX prepend PREFIX to installed program names
1286 --program-suffix=SUFFIX append SUFFIX to installed program names
1287 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1290 --build=BUILD configure for building on BUILD [guessed]
1291 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1292 --target=TARGET configure for building compilers for TARGET [HOST]
1296 if test -n "$ac_init_help"; then
1297 case $ac_init_help in
1298 short | recursive ) echo "Configuration of libatomic_ops 1.2:";;
1303 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1304 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1305 --disable-dependency-tracking speeds up one-time build
1306 --enable-dependency-tracking do not reject slow dependency extractors
1308 Some influential environment variables:
1309 CC C compiler command
1310 CFLAGS C compiler flags
1311 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1312 nonstandard directory <lib dir>
1313 LIBS libraries to pass to the linker, e.g. -l<library>
1314 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1315 you have headers in a nonstandard directory <include dir>
1316 CCAS assembler compiler command (defaults to CC)
1317 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1320 Use these variables to override the choices made by `configure' or to help
1321 it to find libraries and programs with nonstandard names/locations.
1327 if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" || continue
1334 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1336 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1337 # A ".." for each directory in $ac_dir_suffix.
1338 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1339 case $ac_top_builddir_sub in
1340 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 ac_abs_top_builddir=$ac_pwd
1345 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346 # for backward compatibility:
1347 ac_top_builddir=$ac_top_build_prefix
1350 .) # We are building in place.
1352 ac_top_srcdir=$ac_top_builddir_sub
1353 ac_abs_top_srcdir=$ac_pwd ;;
1354 [\\/]* | ?:[\\/]* ) # Absolute name.
1355 ac_srcdir=$srcdir$ac_dir_suffix;
1356 ac_top_srcdir=$srcdir
1357 ac_abs_top_srcdir=$srcdir ;;
1359 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360 ac_top_srcdir=$ac_top_build_prefix$srcdir
1361 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365 cd "$ac_dir" || { ac_status=$?; continue; }
1366 # Check for guested configure.
1367 if test -f "$ac_srcdir/configure.gnu"; then
1369 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370 elif test -f "$ac_srcdir/configure"; then
1372 $SHELL "$ac_srcdir/configure" --help=recursive
1374 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376 cd "$ac_pwd" || { ac_status=$?; break; }
1380 test -n "$ac_init_help" && exit $ac_status
1381 if $ac_init_version; then
1383 libatomic_ops configure 1.2
1384 generated by GNU Autoconf 2.61
1386 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by libatomic_ops $as_me 1.2, which was
1398 generated by GNU Autoconf 2.61. Invocation command line was
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 echo "PATH: $as_dir"
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1458 ac_must_keep_next=false
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1469 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1474 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 -* ) ac_must_keep_next=true ;;
1490 ac_configure_args="$ac_configure_args '$ac_arg'"
1495 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1496 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1521 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1522 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1525 _ | IFS | as_nl) ;; #(
1526 *) $as_unset $ac_var ;;
1531 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1532 *${as_nl}ac_space=\ *)
1534 "s/'\''/'\''\\\\'\'''\''/g;
1535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1538 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1546 ## ----------------- ##
1547 ## Output variables. ##
1548 ## ----------------- ##
1551 for ac_var in $ac_subst_vars
1553 eval ac_val=\$$ac_var
1555 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1557 echo "$ac_var='\''$ac_val'\''"
1561 if test -n "$ac_subst_files"; then
1563 ## ------------------- ##
1564 ## File substitutions. ##
1565 ## ------------------- ##
1568 for ac_var in $ac_subst_files
1570 eval ac_val=\$$ac_var
1572 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1574 echo "$ac_var='\''$ac_val'\''"
1579 if test -s confdefs.h; then
1589 test "$ac_signal" != 0 &&
1590 echo "$as_me: caught signal $ac_signal"
1591 echo "$as_me: exit $exit_status"
1593 rm -f core *.core core.conftest.* &&
1594 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1597 for ac_signal in 1 2 13 15; do
1598 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1603 rm -f -r conftest* confdefs.h
1605 # Predefined preprocessor variables.
1607 cat >>confdefs.h <<_ACEOF
1608 #define PACKAGE_NAME "$PACKAGE_NAME"
1612 cat >>confdefs.h <<_ACEOF
1613 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617 cat >>confdefs.h <<_ACEOF
1618 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1622 cat >>confdefs.h <<_ACEOF
1623 #define PACKAGE_STRING "$PACKAGE_STRING"
1627 cat >>confdefs.h <<_ACEOF
1628 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632 # Let the site file select an alternate cache file if it wants to.
1633 # Prefer explicitly selected file to automatically selected ones.
1634 if test -n "$CONFIG_SITE"; then
1635 set x "$CONFIG_SITE"
1636 elif test "x$prefix" != xNONE; then
1637 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1639 set x "$ac_default_prefix/share/config.site" \
1640 "$ac_default_prefix/etc/config.site"
1645 if test -r "$ac_site_file"; then
1646 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1647 echo "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1653 if test -r "$cache_file"; then
1654 # Some versions of bash will fail to source /dev/null (special
1655 # files actually), so we avoid doing that.
1656 if test -f "$cache_file"; then
1657 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1658 echo "$as_me: loading cache $cache_file" >&6;}
1660 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1661 *) . "./$cache_file";;
1665 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1666 echo "$as_me: creating cache $cache_file" >&6;}
1670 # Check that the precious variables saved in the cache have kept the same
1672 ac_cache_corrupted=false
1673 for ac_var in $ac_precious_vars; do
1674 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1675 eval ac_new_set=\$ac_env_${ac_var}_set
1676 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1677 eval ac_new_val=\$ac_env_${ac_var}_value
1678 case $ac_old_set,$ac_new_set in
1680 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1681 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1682 ac_cache_corrupted=: ;;
1684 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1685 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1689 if test "x$ac_old_val" != "x$ac_new_val"; then
1690 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1691 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1692 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1693 echo "$as_me: former value: $ac_old_val" >&2;}
1694 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1695 echo "$as_me: current value: $ac_new_val" >&2;}
1696 ac_cache_corrupted=:
1699 # Pass precious variables to config.status.
1700 if test "$ac_new_set" = set; then
1702 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1703 *) ac_arg=$ac_var=$ac_new_val ;;
1705 case " $ac_configure_args " in
1706 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1707 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1711 if $ac_cache_corrupted; then
1712 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1713 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1714 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1715 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1716 { (exit 1); exit 1; }; }
1744 ac_cpp='$CPP $CPPFLAGS'
1745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1751 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1752 if test -f "$ac_dir/install-sh"; then
1754 ac_install_sh="$ac_aux_dir/install-sh -c"
1756 elif test -f "$ac_dir/install.sh"; then
1758 ac_install_sh="$ac_aux_dir/install.sh -c"
1760 elif test -f "$ac_dir/shtool"; then
1762 ac_install_sh="$ac_aux_dir/shtool install -c"
1766 if test -z "$ac_aux_dir"; then
1767 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1768 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1769 { (exit 1); exit 1; }; }
1772 # These three variables are undocumented and unsupported,
1773 # and are intended to be withdrawn in a future Autoconf release.
1774 # They can cause serious problems if a builder's source tree is in a directory
1775 # whose full name contains unusual characters.
1776 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1777 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1778 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1781 # Make sure we can run config.sub.
1782 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1783 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1784 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1785 { (exit 1); exit 1; }; }
1787 { echo "$as_me:$LINENO: checking build system type" >&5
1788 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1789 if test "${ac_cv_build+set}" = set; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 ac_build_alias=$build_alias
1793 test "x$ac_build_alias" = x &&
1794 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1795 test "x$ac_build_alias" = x &&
1796 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1797 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1798 { (exit 1); exit 1; }; }
1799 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1800 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1801 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1802 { (exit 1); exit 1; }; }
1805 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1806 echo "${ECHO_T}$ac_cv_build" >&6; }
1807 case $ac_cv_build in
1809 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1810 echo "$as_me: error: invalid value of canonical build" >&2;}
1811 { (exit 1); exit 1; }; };;
1814 ac_save_IFS=$IFS; IFS='-'
1820 # Remember, the first character of IFS is used to create $*,
1821 # except with old shells:
1824 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1827 { echo "$as_me:$LINENO: checking host system type" >&5
1828 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1829 if test "${ac_cv_host+set}" = set; then
1830 echo $ECHO_N "(cached) $ECHO_C" >&6
1832 if test "x$host_alias" = x; then
1833 ac_cv_host=$ac_cv_build
1835 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1836 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1837 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1838 { (exit 1); exit 1; }; }
1842 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1843 echo "${ECHO_T}$ac_cv_host" >&6; }
1846 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1847 echo "$as_me: error: invalid value of canonical host" >&2;}
1848 { (exit 1); exit 1; }; };;
1851 ac_save_IFS=$IFS; IFS='-'
1857 # Remember, the first character of IFS is used to create $*,
1858 # except with old shells:
1861 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1864 { echo "$as_me:$LINENO: checking target system type" >&5
1865 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1866 if test "${ac_cv_target+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1869 if test "x$target_alias" = x; then
1870 ac_cv_target=$ac_cv_host
1872 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1873 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1874 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1875 { (exit 1); exit 1; }; }
1879 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1880 echo "${ECHO_T}$ac_cv_target" >&6; }
1881 case $ac_cv_target in
1883 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1884 echo "$as_me: error: invalid value of canonical target" >&2;}
1885 { (exit 1); exit 1; }; };;
1887 target=$ac_cv_target
1888 ac_save_IFS=$IFS; IFS='-'
1894 # Remember, the first character of IFS is used to create $*,
1895 # except with old shells:
1898 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1901 # The aliases save the names the user supplied, while $host etc.
1902 # will get canonicalized.
1903 test -n "$target_alias" &&
1904 test "$program_prefix$program_suffix$program_transform_name" = \
1906 program_prefix=${target_alias}-
1908 am__api_version="1.9"
1909 # Find a good install program. We prefer a C program (faster),
1910 # so one script is as good as another. But avoid the broken or
1911 # incompatible versions:
1912 # SysV /etc/install, /usr/sbin/install
1913 # SunOS /usr/etc/install
1914 # IRIX /sbin/install
1916 # AmigaOS /C/install, which installs bootblocks on floppy discs
1917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1920 # OS/2's system install, which has a completely different semantic
1921 # ./install, which can be erroneously created by make from ./install.sh.
1922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1924 if test -z "$INSTALL"; then
1925 if test "${ac_cv_path_install+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1932 test -z "$as_dir" && as_dir=.
1933 # Account for people who put trailing slashes in PATH elements.
1935 ./ | .// | /cC/* | \
1936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1940 # OSF1 and SCO ODT 3.0 have their own names for install.
1941 # Don't use installbsd from OSF since it installs stuff as root
1943 for ac_prog in ginstall scoinst install; do
1944 for ac_exec_ext in '' $ac_executable_extensions; do
1945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1946 if test $ac_prog = install &&
1947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1948 # AIX install. It has an incompatible calling convention.
1950 elif test $ac_prog = install &&
1951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1952 # program-specific install script used by HP pwplus--don't use.
1955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1968 if test "${ac_cv_path_install+set}" = set; then
1969 INSTALL=$ac_cv_path_install
1971 # As a last resort, use the slow shell script. Don't cache a
1972 # value for INSTALL within a source directory, because that will
1973 # break other packages using the cache if that directory is
1974 # removed, or if the value is a relative name.
1975 INSTALL=$ac_install_sh
1978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1979 echo "${ECHO_T}$INSTALL" >&6; }
1981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1982 # It thinks the first close brace ends the variable substitution.
1983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1989 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1990 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1993 echo timestamp > conftest.file
1994 # Do `set' in a subshell so we don't clobber the current shell's
1995 # arguments. Must try -L first in case configure is actually a
1996 # symlink; some systems play weird games with the mod time of symlinks
1997 # (eg FreeBSD returns the mod time of the symlink's containing
2000 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2001 if test "$*" = "X"; then
2003 set X `ls -t $srcdir/configure conftest.file`
2006 if test "$*" != "X $srcdir/configure conftest.file" \
2007 && test "$*" != "X conftest.file $srcdir/configure"; then
2009 # If neither matched, then we have a broken ls. This can happen
2010 # if, for instance, CONFIG_SHELL is bash and it inherits a
2011 # broken ls alias from the environment. This has actually
2012 # happened. Such a system could not be considered "sane".
2013 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2014 alias in your environment" >&5
2015 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2016 alias in your environment" >&2;}
2017 { (exit 1); exit 1; }; }
2020 test "$2" = conftest.file
2026 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2027 Check your system clock" >&5
2028 echo "$as_me: error: newly created file is older than distributed files!
2029 Check your system clock" >&2;}
2030 { (exit 1); exit 1; }; }
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2034 test "$program_prefix" != NONE &&
2035 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2036 # Use a double $ so make ignores it.
2037 test "$program_suffix" != NONE &&
2038 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2039 # Double any \ or $. echo might interpret backslashes.
2040 # By default was `s,x,x', remove it if useless.
2041 cat <<\_ACEOF >conftest.sed
2042 s/[\\$]/&&/g;s/;s,x,x,$//
2044 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2047 # expand $ac_aux_dir to an absolute path
2048 am_aux_dir=`cd $ac_aux_dir && pwd`
2050 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2051 # Use eval to expand $SHELL
2052 if eval "$MISSING --run true"; then
2053 am_missing_run="$MISSING --run "
2056 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2057 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2060 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2061 # We used to keeping the `.' as first argument, in order to
2062 # allow $(mkdir_p) to be used without argument. As in
2063 # $(mkdir_p) $(somedir)
2064 # where $(somedir) is conditionally defined. However this is wrong
2066 # 1. if the package is installed by a user who cannot write `.'
2067 # make install will fail,
2068 # 2. the above comment should most certainly read
2069 # $(mkdir_p) $(DESTDIR)$(somedir)
2070 # so it does not work when $(somedir) is undefined and
2071 # $(DESTDIR) is not.
2072 # To support the latter case, we have to write
2073 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2074 # so the `.' trick is pointless.
2075 mkdir_p='mkdir -p --'
2077 # On NextStep and OpenStep, the `mkdir' command does not
2078 # recognize any option. It will interpret all options as
2079 # directories to create, and then abort because `.' already
2081 for d in ./-p ./--version;
2083 test -d $d && rmdir $d
2085 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2086 if test -f "$ac_aux_dir/mkinstalldirs"; then
2087 mkdir_p='$(mkinstalldirs)'
2089 mkdir_p='$(install_sh) -d'
2093 for ac_prog in gawk mawk nawk awk
2095 # Extract the first word of "$ac_prog", so it can be a program name with args.
2096 set dummy $ac_prog; ac_word=$2
2097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2099 if test "${ac_cv_prog_AWK+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -n "$AWK"; then
2103 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2112 ac_cv_prog_AWK="$ac_prog"
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$AWK"; then
2124 { echo "$as_me:$LINENO: result: $AWK" >&5
2125 echo "${ECHO_T}$AWK" >&6; }
2127 { echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6; }
2132 test -n "$AWK" && break
2135 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2136 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2137 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2138 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 cat >conftest.make <<\_ACEOF
2144 @echo '@@@%%%=$(MAKE)=@@@%%%'
2146 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2147 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2149 eval ac_cv_prog_make_${ac_make}_set=yes;;
2151 eval ac_cv_prog_make_${ac_make}_set=no;;
2155 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2156 { echo "$as_me:$LINENO: result: yes" >&5
2157 echo "${ECHO_T}yes" >&6; }
2160 { echo "$as_me:$LINENO: result: no" >&5
2161 echo "${ECHO_T}no" >&6; }
2162 SET_MAKE="MAKE=${MAKE-make}"
2165 rm -rf .tst 2>/dev/null
2166 mkdir .tst 2>/dev/null
2167 if test -d .tst; then
2172 rmdir .tst 2>/dev/null
2174 # test to see if srcdir already configured
2175 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2176 test -f $srcdir/config.status; then
2177 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2178 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2179 { (exit 1); exit 1; }; }
2182 # test whether we have cygpath
2183 if test -z "$CYGPATH_W"; then
2184 if (cygpath --version) >/dev/null 2>/dev/null; then
2185 CYGPATH_W='cygpath -w'
2192 # Define the identity of the package.
2193 PACKAGE='libatomic_ops'
2197 cat >>confdefs.h <<_ACEOF
2198 #define PACKAGE "$PACKAGE"
2202 cat >>confdefs.h <<_ACEOF
2203 #define VERSION "$VERSION"
2206 # Some tools Automake needs.
2208 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2211 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2214 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2217 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2220 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2222 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2224 # Installed binaries are usually stripped using `strip' when the user
2225 # run `make install-strip'. However `strip' might not be the right
2226 # tool to use in cross-compilation environments, therefore Automake
2227 # will honor the `STRIP' environment variable to overrule this program.
2228 if test "$cross_compiling" != no; then
2229 if test -n "$ac_tool_prefix"; then
2230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2231 set dummy ${ac_tool_prefix}strip; ac_word=$2
2232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2234 if test "${ac_cv_prog_STRIP+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$STRIP"; then
2238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2257 STRIP=$ac_cv_prog_STRIP
2258 if test -n "$STRIP"; then
2259 { echo "$as_me:$LINENO: result: $STRIP" >&5
2260 echo "${ECHO_T}$STRIP" >&6; }
2262 { echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6; }
2268 if test -z "$ac_cv_prog_STRIP"; then
2270 # Extract the first word of "strip", so it can be a program name with args.
2271 set dummy strip; ac_word=$2
2272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2275 echo $ECHO_N "(cached) $ECHO_C" >&6
2277 if test -n "$ac_ct_STRIP"; then
2278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2284 test -z "$as_dir" && as_dir=.
2285 for ac_exec_ext in '' $ac_executable_extensions; do
2286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2287 ac_cv_prog_ac_ct_STRIP="strip"
2288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2298 if test -n "$ac_ct_STRIP"; then
2299 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2300 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2302 { echo "$as_me:$LINENO: result: no" >&5
2303 echo "${ECHO_T}no" >&6; }
2306 if test "x$ac_ct_STRIP" = x; then
2309 case $cross_compiling:$ac_tool_warned in
2311 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2312 whose name does not start with the host triplet. If you think this
2313 configuration is useful to you, please write to autoconf@gnu.org." >&5
2314 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2317 ac_tool_warned=yes ;;
2322 STRIP="$ac_cv_prog_STRIP"
2326 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2328 # We need awk for the "check" target. The system "awk" is bad on
2330 # Always define AMTAR for backward compatibility.
2332 AMTAR=${AMTAR-"${am_missing_run}tar"}
2334 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2340 if test -n "$ac_tool_prefix"; then
2341 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2342 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2343 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2345 if test "${ac_cv_prog_RANLIB+set}" = set; then
2346 echo $ECHO_N "(cached) $ECHO_C" >&6
2348 if test -n "$RANLIB"; then
2349 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2358 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 RANLIB=$ac_cv_prog_RANLIB
2369 if test -n "$RANLIB"; then
2370 { echo "$as_me:$LINENO: result: $RANLIB" >&5
2371 echo "${ECHO_T}$RANLIB" >&6; }
2373 { echo "$as_me:$LINENO: result: no" >&5
2374 echo "${ECHO_T}no" >&6; }
2379 if test -z "$ac_cv_prog_RANLIB"; then
2380 ac_ct_RANLIB=$RANLIB
2381 # Extract the first word of "ranlib", so it can be a program name with args.
2382 set dummy ranlib; ac_word=$2
2383 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2384 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2385 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2386 echo $ECHO_N "(cached) $ECHO_C" >&6
2388 if test -n "$ac_ct_RANLIB"; then
2389 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 ac_cv_prog_ac_ct_RANLIB="ranlib"
2399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2409 if test -n "$ac_ct_RANLIB"; then
2410 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2411 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2413 { echo "$as_me:$LINENO: result: no" >&5
2414 echo "${ECHO_T}no" >&6; }
2417 if test "x$ac_ct_RANLIB" = x; then
2420 case $cross_compiling:$ac_tool_warned in
2422 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2423 whose name does not start with the host triplet. If you think this
2424 configuration is useful to you, please write to autoconf@gnu.org." >&5
2425 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2426 whose name does not start with the host triplet. If you think this
2427 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2428 ac_tool_warned=yes ;;
2430 RANLIB=$ac_ct_RANLIB
2433 RANLIB="$ac_cv_prog_RANLIB"
2437 ac_config_headers="$ac_config_headers src/config.h"
2440 # Checks for programs.
2442 ac_cpp='$CPP $CPPFLAGS'
2443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2446 if test -n "$ac_tool_prefix"; then
2447 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2448 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2449 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2451 if test "${ac_cv_prog_CC+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 if test -n "$CC"; then
2455 ac_cv_prog_CC="$CC" # Let the user override the test.
2457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2461 test -z "$as_dir" && as_dir=.
2462 for ac_exec_ext in '' $ac_executable_extensions; do
2463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2464 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2475 if test -n "$CC"; then
2476 { echo "$as_me:$LINENO: result: $CC" >&5
2477 echo "${ECHO_T}$CC" >&6; }
2479 { echo "$as_me:$LINENO: result: no" >&5
2480 echo "${ECHO_T}no" >&6; }
2485 if test -z "$ac_cv_prog_CC"; then
2487 # Extract the first word of "gcc", so it can be a program name with args.
2488 set dummy gcc; ac_word=$2
2489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2491 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2492 echo $ECHO_N "(cached) $ECHO_C" >&6
2494 if test -n "$ac_ct_CC"; then
2495 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 test -z "$as_dir" && as_dir=.
2502 for ac_exec_ext in '' $ac_executable_extensions; do
2503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2504 ac_cv_prog_ac_ct_CC="gcc"
2505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2514 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2515 if test -n "$ac_ct_CC"; then
2516 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2517 echo "${ECHO_T}$ac_ct_CC" >&6; }
2519 { echo "$as_me:$LINENO: result: no" >&5
2520 echo "${ECHO_T}no" >&6; }
2523 if test "x$ac_ct_CC" = x; then
2526 case $cross_compiling:$ac_tool_warned in
2528 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2529 whose name does not start with the host triplet. If you think this
2530 configuration is useful to you, please write to autoconf@gnu.org." >&5
2531 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2532 whose name does not start with the host triplet. If you think this
2533 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2534 ac_tool_warned=yes ;;
2542 if test -z "$CC"; then
2543 if test -n "$ac_tool_prefix"; then
2544 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2545 set dummy ${ac_tool_prefix}cc; ac_word=$2
2546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2548 if test "${ac_cv_prog_CC+set}" = set; then
2549 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 if test -n "$CC"; then
2552 ac_cv_prog_CC="$CC" # Let the user override the test.
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 test -z "$as_dir" && as_dir=.
2559 for ac_exec_ext in '' $ac_executable_extensions; do
2560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2561 ac_cv_prog_CC="${ac_tool_prefix}cc"
2562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2572 if test -n "$CC"; then
2573 { echo "$as_me:$LINENO: result: $CC" >&5
2574 echo "${ECHO_T}$CC" >&6; }
2576 { echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6; }
2583 if test -z "$CC"; then
2584 # Extract the first word of "cc", so it can be a program name with args.
2585 set dummy cc; ac_word=$2
2586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2588 if test "${ac_cv_prog_CC+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$CC"; then
2592 ac_cv_prog_CC="$CC" # Let the user override the test.
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2603 ac_prog_rejected=yes
2607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614 if test $ac_prog_rejected = yes; then
2615 # We found a bogon in the path, so make sure we never use it.
2616 set dummy $ac_cv_prog_CC
2618 if test $# != 0; then
2619 # We chose a different compiler from the bogus one.
2620 # However, it has the same basename, so the bogon will be chosen
2621 # first if we set CC to just the basename; use the full file name.
2623 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2629 if test -n "$CC"; then
2630 { echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6; }
2633 { echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6; }
2639 if test -z "$CC"; then
2640 if test -n "$ac_tool_prefix"; then
2641 for ac_prog in cl.exe
2643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2644 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2647 if test "${ac_cv_prog_CC+set}" = set; then
2648 echo $ECHO_N "(cached) $ECHO_C" >&6
2650 if test -n "$CC"; then
2651 ac_cv_prog_CC="$CC" # Let the user override the test.
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2657 test -z "$as_dir" && as_dir=.
2658 for ac_exec_ext in '' $ac_executable_extensions; do
2659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2660 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2671 if test -n "$CC"; then
2672 { echo "$as_me:$LINENO: result: $CC" >&5
2673 echo "${ECHO_T}$CC" >&6; }
2675 { echo "$as_me:$LINENO: result: no" >&5
2676 echo "${ECHO_T}no" >&6; }
2680 test -n "$CC" && break
2683 if test -z "$CC"; then
2685 for ac_prog in cl.exe
2687 # Extract the first word of "$ac_prog", so it can be a program name with args.
2688 set dummy $ac_prog; ac_word=$2
2689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2691 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2694 if test -n "$ac_ct_CC"; then
2695 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2701 test -z "$as_dir" && as_dir=.
2702 for ac_exec_ext in '' $ac_executable_extensions; do
2703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704 ac_cv_prog_ac_ct_CC="$ac_prog"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2714 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2715 if test -n "$ac_ct_CC"; then
2716 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2717 echo "${ECHO_T}$ac_ct_CC" >&6; }
2719 { echo "$as_me:$LINENO: result: no" >&5
2720 echo "${ECHO_T}no" >&6; }
2724 test -n "$ac_ct_CC" && break
2727 if test "x$ac_ct_CC" = x; then
2730 case $cross_compiling:$ac_tool_warned in
2732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2733 whose name does not start with the host triplet. If you think this
2734 configuration is useful to you, please write to autoconf@gnu.org." >&5
2735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2736 whose name does not start with the host triplet. If you think this
2737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2738 ac_tool_warned=yes ;;
2747 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2748 See \`config.log' for more details." >&5
2749 echo "$as_me: error: no acceptable C compiler found in \$PATH
2750 See \`config.log' for more details." >&2;}
2751 { (exit 1); exit 1; }; }
2753 # Provide some information about the compiler.
2754 echo "$as_me:$LINENO: checking for C compiler version" >&5
2755 ac_compiler=`set X $ac_compile; echo $2`
2756 { (ac_try="$ac_compiler --version >&5"
2758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2759 *) ac_try_echo=$ac_try;;
2761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2762 (eval "$ac_compiler --version >&5") 2>&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }
2766 { (ac_try="$ac_compiler -v >&5"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compiler -v >&5") 2>&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }
2776 { (ac_try="$ac_compiler -V >&5"
2778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2779 *) ac_try_echo=$ac_try;;
2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2782 (eval "$ac_compiler -V >&5") 2>&5
2784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2785 (exit $ac_status); }
2787 cat >conftest.$ac_ext <<_ACEOF
2790 cat confdefs.h >>conftest.$ac_ext
2791 cat >>conftest.$ac_ext <<_ACEOF
2792 /* end confdefs.h. */
2802 ac_clean_files_save=$ac_clean_files
2803 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2804 # Try to create an executable without -o first, disregard a.out.
2805 # It will help us diagnose broken compilers, and finding out an intuition
2807 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2808 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2809 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2811 # List of possible output files, starting from the most likely.
2812 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2813 # only as a last resort. b.out is created by i960 compilers.
2814 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2816 # The IRIX 6 linker writes into existing files which may not be
2817 # executable, retaining their permissions. Remove them first so a
2818 # subsequent execution test works.
2820 for ac_file in $ac_files
2823 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2824 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2829 if { (ac_try="$ac_link_default"
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2835 (eval "$ac_link_default") 2>&5
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }; then
2839 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2840 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2841 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2842 # so that the user can short-circuit this test for compilers unknown to
2844 for ac_file in $ac_files ''
2846 test -f "$ac_file" || continue
2848 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2851 # We found the default executable, but exeext='' is most
2855 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2857 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2859 # We set ac_cv_exeext here because the later test for it is not
2860 # safe: cross compilers may not add the suffix if given an `-o'
2861 # argument, so we may need to know it at that point already.
2862 # Even if this section looks crufty: it has the advantage of
2869 test "$ac_cv_exeext" = no && ac_cv_exeext=
2875 { echo "$as_me:$LINENO: result: $ac_file" >&5
2876 echo "${ECHO_T}$ac_file" >&6; }
2877 if test -z "$ac_file"; then
2878 echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2882 See \`config.log' for more details." >&5
2883 echo "$as_me: error: C compiler cannot create executables
2884 See \`config.log' for more details." >&2;}
2885 { (exit 77); exit 77; }; }
2888 ac_exeext=$ac_cv_exeext
2890 # Check that the compiler produces executables we can run. If not, either
2891 # the compiler is broken, or we cross compile.
2892 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2893 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2894 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2895 # If not cross compiling, check that we can run a simple program.
2896 if test "$cross_compiling" != yes; then
2897 if { ac_try='./$ac_file'
2898 { (case "(($ac_try" in
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2903 (eval "$ac_try") 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }; }; then
2909 if test "$cross_compiling" = maybe; then
2912 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2913 If you meant to cross compile, use \`--host'.
2914 See \`config.log' for more details." >&5
2915 echo "$as_me: error: cannot run C compiled programs.
2916 If you meant to cross compile, use \`--host'.
2917 See \`config.log' for more details." >&2;}
2918 { (exit 1); exit 1; }; }
2922 { echo "$as_me:$LINENO: result: yes" >&5
2923 echo "${ECHO_T}yes" >&6; }
2925 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2926 ac_clean_files=$ac_clean_files_save
2927 # Check that the compiler produces executables we can run. If not, either
2928 # the compiler is broken, or we cross compile.
2929 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2930 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2931 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2932 echo "${ECHO_T}$cross_compiling" >&6; }
2934 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2935 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2936 if { (ac_try="$ac_link"
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942 (eval "$ac_link") 2>&5
2944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945 (exit $ac_status); }; then
2946 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2947 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2948 # work properly (i.e., refer to `conftest.exe'), while it won't with
2950 for ac_file in conftest.exe conftest conftest.*; do
2951 test -f "$ac_file" || continue
2953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2954 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2960 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2961 See \`config.log' for more details." >&5
2962 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2963 See \`config.log' for more details." >&2;}
2964 { (exit 1); exit 1; }; }
2967 rm -f conftest$ac_cv_exeext
2968 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2969 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2971 rm -f conftest.$ac_ext
2972 EXEEXT=$ac_cv_exeext
2974 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2975 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2976 if test "${ac_cv_objext+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 cat >conftest.$ac_ext <<_ACEOF
2982 cat confdefs.h >>conftest.$ac_ext
2983 cat >>conftest.$ac_ext <<_ACEOF
2984 /* end confdefs.h. */
2994 rm -f conftest.o conftest.obj
2995 if { (ac_try="$ac_compile"
2997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2998 *) ac_try_echo=$ac_try;;
3000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3001 (eval "$ac_compile") 2>&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; then
3005 for ac_file in conftest.o conftest.obj conftest.*; do
3006 test -f "$ac_file" || continue;
3008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3009 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3014 echo "$as_me: failed program was:" >&5
3015 sed 's/^/| /' conftest.$ac_ext >&5
3017 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3018 See \`config.log' for more details." >&5
3019 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3020 See \`config.log' for more details." >&2;}
3021 { (exit 1); exit 1; }; }
3024 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3026 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3027 echo "${ECHO_T}$ac_cv_objext" >&6; }
3028 OBJEXT=$ac_cv_objext
3030 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3031 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3032 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3033 echo $ECHO_N "(cached) $ECHO_C" >&6
3035 cat >conftest.$ac_ext <<_ACEOF
3038 cat confdefs.h >>conftest.$ac_ext
3039 cat >>conftest.$ac_ext <<_ACEOF
3040 /* end confdefs.h. */
3053 rm -f conftest.$ac_objext
3054 if { (ac_try="$ac_compile"
3056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057 *) ac_try_echo=$ac_try;;
3059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060 (eval "$ac_compile") 2>conftest.er1
3062 grep -v '^ *+' conftest.er1 >conftest.err
3064 cat conftest.err >&5
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); } && {
3067 test -z "$ac_c_werror_flag" ||
3068 test ! -s conftest.err
3069 } && test -s conftest.$ac_objext; then
3072 echo "$as_me: failed program was:" >&5
3073 sed 's/^/| /' conftest.$ac_ext >&5
3078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3079 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3082 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3083 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3084 GCC=`test $ac_compiler_gnu = yes && echo yes`
3085 ac_test_CFLAGS=${CFLAGS+set}
3086 ac_save_CFLAGS=$CFLAGS
3087 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3088 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3089 if test "${ac_cv_prog_cc_g+set}" = set; then
3090 echo $ECHO_N "(cached) $ECHO_C" >&6
3092 ac_save_c_werror_flag=$ac_c_werror_flag
3093 ac_c_werror_flag=yes
3096 cat >conftest.$ac_ext <<_ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3111 rm -f conftest.$ac_objext
3112 if { (ac_try="$ac_compile"
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118 (eval "$ac_compile") 2>conftest.er1
3120 grep -v '^ *+' conftest.er1 >conftest.err
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } && {
3125 test -z "$ac_c_werror_flag" ||
3126 test ! -s conftest.err
3127 } && test -s conftest.$ac_objext; then
3130 echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3134 cat >conftest.$ac_ext <<_ACEOF
3137 cat confdefs.h >>conftest.$ac_ext
3138 cat >>conftest.$ac_ext <<_ACEOF
3139 /* end confdefs.h. */
3149 rm -f conftest.$ac_objext
3150 if { (ac_try="$ac_compile"
3152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156 (eval "$ac_compile") 2>conftest.er1
3158 grep -v '^ *+' conftest.er1 >conftest.err
3160 cat conftest.err >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); } && {
3163 test -z "$ac_c_werror_flag" ||
3164 test ! -s conftest.err
3165 } && test -s conftest.$ac_objext; then
3168 echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 ac_c_werror_flag=$ac_save_c_werror_flag
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3197 grep -v '^ *+' conftest.er1 >conftest.err
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_c_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_c_werror_flag=$ac_save_c_werror_flag
3222 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3224 if test "$ac_test_CFLAGS" = set; then
3225 CFLAGS=$ac_save_CFLAGS
3226 elif test $ac_cv_prog_cc_g = yes; then
3227 if test "$GCC" = yes; then
3233 if test "$GCC" = yes; then
3239 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3240 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3241 if test "${ac_cv_prog_cc_c89+set}" = set; then
3242 echo $ECHO_N "(cached) $ECHO_C" >&6
3244 ac_cv_prog_cc_c89=no
3246 cat >conftest.$ac_ext <<_ACEOF
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3254 #include <sys/types.h>
3255 #include <sys/stat.h>
3256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3257 struct buf { int x; };
3258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3259 static char *e (p, i)
3265 static char *f (char * (*g) (char **, int), char **p, ...)
3270 s = g (p, va_arg (v,int));
3275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3276 function prototypes and stuff, but not '\xHH' hex character constants.
3277 These don't provoke an error unfortunately, instead are silently treated
3278 as 'x'. The following induces an error, until -std is added to get
3279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3280 array size at least. It's necessary to write '\x00'==0 to get something
3281 that's true only with -std. */
3282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3284 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3285 inside strings and character constants. */
3287 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3289 int test (int i, double x);
3290 struct s1 {int (*f) (int a);};
3291 struct s2 {int (*f) (double a);};
3292 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3298 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3303 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3304 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3306 CC="$ac_save_CC $ac_arg"
3307 rm -f conftest.$ac_objext
3308 if { (ac_try="$ac_compile"
3310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314 (eval "$ac_compile") 2>conftest.er1
3316 grep -v '^ *+' conftest.er1 >conftest.err
3318 cat conftest.err >&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } && {
3321 test -z "$ac_c_werror_flag" ||
3322 test ! -s conftest.err
3323 } && test -s conftest.$ac_objext; then
3324 ac_cv_prog_cc_c89=$ac_arg
3326 echo "$as_me: failed program was:" >&5
3327 sed 's/^/| /' conftest.$ac_ext >&5
3332 rm -f core conftest.err conftest.$ac_objext
3333 test "x$ac_cv_prog_cc_c89" != "xno" && break
3335 rm -f conftest.$ac_ext
3340 case "x$ac_cv_prog_cc_c89" in
3342 { echo "$as_me:$LINENO: result: none needed" >&5
3343 echo "${ECHO_T}none needed" >&6; } ;;
3345 { echo "$as_me:$LINENO: result: unsupported" >&5
3346 echo "${ECHO_T}unsupported" >&6; } ;;
3348 CC="$CC $ac_cv_prog_cc_c89"
3349 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3350 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3355 ac_cpp='$CPP $CPPFLAGS'
3356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3359 DEPDIR="${am__leading_dot}deps"
3361 ac_config_commands="$ac_config_commands depfiles"
3364 am_make=${MAKE-make}
3365 cat > confinc << 'END'
3370 # If we don't find an include directive, just comment out the code.
3371 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3372 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3376 # First try GNU make style include.
3377 echo "include confinc" > confmf
3378 # We grep out `Entering directory' and `Leaving directory'
3379 # messages which can occur if `w' ends up in MAKEFLAGS.
3380 # In particular we don't look at `^make:' because GNU make might
3381 # be invoked under some other name (usually "gmake"), in which
3382 # case it prints its new name instead of `make'.
3383 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3388 # Now try BSD make style include.
3389 if test "$am__include" = "#"; then
3390 echo '.include "confinc"' > confmf
3391 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3392 am__include=.include
3399 { echo "$as_me:$LINENO: result: $_am_result" >&5
3400 echo "${ECHO_T}$_am_result" >&6; }
3401 rm -f confinc confmf
3403 # Check whether --enable-dependency-tracking was given.
3404 if test "${enable_dependency_tracking+set}" = set; then
3405 enableval=$enable_dependency_tracking;
3408 if test "x$enable_dependency_tracking" != xno; then
3409 am_depcomp="$ac_aux_dir/depcomp"
3414 if test "x$enable_dependency_tracking" != xno; then
3425 depcc="$CC" am_compiler_list=
3427 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3428 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3429 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3433 # We make a subdir and do the tests there. Otherwise we can end up
3434 # making bogus files that we don't know about and never remove. For
3435 # instance it was reported that on HP-UX the gcc test will end up
3436 # making a dummy file named `D' -- because `-MD' means `put the output
3439 # Copy depcomp to subdir because otherwise we won't find it if we're
3440 # using a relative directory.
3441 cp "$am_depcomp" conftest.dir
3443 # We will build objects and dependencies in a subdirectory because
3444 # it helps to detect inapplicable dependency modes. For instance
3445 # both Tru64's cc and ICC support -MD to output dependencies as a
3446 # side effect of compilation, but ICC will put the dependencies in
3447 # the current directory while Tru64 will put them in the object
3451 am_cv_CC_dependencies_compiler_type=none
3452 if test "$am_compiler_list" = ""; then
3453 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3455 for depmode in $am_compiler_list; do
3456 # Setup a source with many dependencies, because some compilers
3457 # like to wrap large dependency lists on column 80 (with \), and
3458 # we should not choose a depcomp mode which is confused by this.
3460 # We need to recreate these files for each test, as the compiler may
3461 # overwrite some of them when testing with obscure command lines.
3462 # This happens at least with the AIX C compiler.
3464 for i in 1 2 3 4 5 6; do
3465 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3466 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3467 # Solaris 8's {/usr,}/bin/sh.
3468 touch sub/conftst$i.h
3470 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3474 # after this tag, mechanisms are not by side-effect, so they'll
3475 # only be used when explicitly requested
3476 if test "x$enable_dependency_tracking" = xyes; then
3484 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3485 # mode. It turns out that the SunPro C++ compiler does not properly
3486 # handle `-M -o', and we need to detect this.
3487 if depmode=$depmode \
3488 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3489 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3490 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3491 >/dev/null 2>conftest.err &&
3492 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3493 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3494 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3495 # icc doesn't choke on unknown options, it will just issue warnings
3496 # or remarks (even with -Werror). So we grep stderr for any message
3497 # that says an option was ignored or not supported.
3498 # When given -MP, icc 7.0 and 7.1 complain thusly:
3499 # icc: Command line warning: ignoring option '-M'; no argument required
3500 # The diagnosis changed in icc 8.0:
3501 # icc: Command line remark: option '-MP' not supported
3502 if (grep 'ignoring option' conftest.err ||
3503 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3504 am_cv_CC_dependencies_compiler_type=$depmode
3513 am_cv_CC_dependencies_compiler_type=none
3517 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3518 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3519 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3524 test "x$enable_dependency_tracking" != xno \
3525 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3527 am__fastdepCC_FALSE='#'
3529 am__fastdepCC_TRUE='#'
3530 am__fastdepCC_FALSE=
3534 # By default we simply use the C compiler to build assembly code.
3536 test "${CCAS+set}" = set || CCAS=$CC
3537 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
3542 # Checks for functions.
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3550 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3551 # On Suns, sometimes $CPP names a directory.
3552 if test -n "$CPP" && test -d "$CPP"; then
3555 if test -z "$CPP"; then
3556 if test "${ac_cv_prog_CPP+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 # Double quotes because CPP needs to be expanded
3560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3563 for ac_c_preproc_warn_flag in '' yes
3565 # Use a header file that comes with gcc, so configuring glibc
3566 # with a fresh cross-compiler works.
3567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3568 # <limits.h> exists even on freestanding compilers.
3569 # On the NeXT, cc -E runs the code through the compiler's parser,
3570 # not just through cpp. "Syntax error" is here to catch this case.
3571 cat >conftest.$ac_ext <<_ACEOF
3574 cat confdefs.h >>conftest.$ac_ext
3575 cat >>conftest.$ac_ext <<_ACEOF
3576 /* end confdefs.h. */
3578 # include <limits.h>
3580 # include <assert.h>
3584 if { (ac_try="$ac_cpp conftest.$ac_ext"
3586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587 *) ac_try_echo=$ac_try;;
3589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592 grep -v '^ *+' conftest.er1 >conftest.err
3594 cat conftest.err >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); } >/dev/null && {
3597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3598 test ! -s conftest.err
3602 echo "$as_me: failed program was:" >&5
3603 sed 's/^/| /' conftest.$ac_ext >&5
3605 # Broken: fails on valid input.
3609 rm -f conftest.err conftest.$ac_ext
3611 # OK, works on sane cases. Now check whether nonexistent headers
3612 # can be detected and how.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3619 #include <ac_nonexistent.h>
3621 if { (ac_try="$ac_cpp conftest.$ac_ext"
3623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3624 *) ac_try_echo=$ac_try;;
3626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null && {
3634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3635 test ! -s conftest.err
3637 # Broken: success on invalid input.
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.$ac_ext >&5
3643 # Passes both tests.
3648 rm -f conftest.err conftest.$ac_ext
3651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3652 rm -f conftest.err conftest.$ac_ext
3653 if $ac_preproc_ok; then
3665 { echo "$as_me:$LINENO: result: $CPP" >&5
3666 echo "${ECHO_T}$CPP" >&6; }
3668 for ac_c_preproc_warn_flag in '' yes
3670 # Use a header file that comes with gcc, so configuring glibc
3671 # with a fresh cross-compiler works.
3672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3673 # <limits.h> exists even on freestanding compilers.
3674 # On the NeXT, cc -E runs the code through the compiler's parser,
3675 # not just through cpp. "Syntax error" is here to catch this case.
3676 cat >conftest.$ac_ext <<_ACEOF
3679 cat confdefs.h >>conftest.$ac_ext
3680 cat >>conftest.$ac_ext <<_ACEOF
3681 /* end confdefs.h. */
3683 # include <limits.h>
3685 # include <assert.h>
3689 if { (ac_try="$ac_cpp conftest.$ac_ext"
3691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3692 *) ac_try_echo=$ac_try;;
3694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697 grep -v '^ *+' conftest.er1 >conftest.err
3699 cat conftest.err >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev/null && {
3702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3703 test ! -s conftest.err
3707 echo "$as_me: failed program was:" >&5
3708 sed 's/^/| /' conftest.$ac_ext >&5
3710 # Broken: fails on valid input.
3714 rm -f conftest.err conftest.$ac_ext
3716 # OK, works on sane cases. Now check whether nonexistent headers
3717 # can be detected and how.
3718 cat >conftest.$ac_ext <<_ACEOF
3721 cat confdefs.h >>conftest.$ac_ext
3722 cat >>conftest.$ac_ext <<_ACEOF
3723 /* end confdefs.h. */
3724 #include <ac_nonexistent.h>
3726 if { (ac_try="$ac_cpp conftest.$ac_ext"
3728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729 *) ac_try_echo=$ac_try;;
3731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3734 grep -v '^ *+' conftest.er1 >conftest.err
3736 cat conftest.err >&5
3737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738 (exit $ac_status); } >/dev/null && {
3739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3740 test ! -s conftest.err
3742 # Broken: success on invalid input.
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3748 # Passes both tests.
3753 rm -f conftest.err conftest.$ac_ext
3756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3757 rm -f conftest.err conftest.$ac_ext
3758 if $ac_preproc_ok; then
3761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3762 See \`config.log' for more details." >&5
3763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3764 See \`config.log' for more details." >&2;}
3765 { (exit 1); exit 1; }; }
3769 ac_cpp='$CPP $CPPFLAGS'
3770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3775 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3776 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3777 if test "${ac_cv_path_GREP+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 # Extract the first word of "grep ggrep" to use in msg output
3781 if test -z "$GREP"; then
3782 set dummy grep ggrep; ac_prog_name=$2
3783 if test "${ac_cv_path_GREP+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 ac_path_GREP_found=false
3787 # Loop through the user's path and test for each of PROGNAME-LIST
3788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3792 test -z "$as_dir" && as_dir=.
3793 for ac_prog in grep ggrep; do
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3796 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3797 # Check for GNU ac_path_GREP and select it if it is found.
3798 # Check for GNU $ac_path_GREP
3799 case `"$ac_path_GREP" --version 2>&1` in
3801 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3807 cat "conftest.in" "conftest.in" >"conftest.tmp"
3808 mv "conftest.tmp" "conftest.in"
3809 cp "conftest.in" "conftest.nl"
3810 echo 'GREP' >> "conftest.nl"
3811 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3813 ac_count=`expr $ac_count + 1`
3814 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3815 # Best one so far, save it but keep looking for a better one
3816 ac_cv_path_GREP="$ac_path_GREP"
3817 ac_path_GREP_max=$ac_count
3819 # 10*(2^10) chars as input seems more than enough
3820 test $ac_count -gt 10 && break
3822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3826 $ac_path_GREP_found && break 3
3836 GREP="$ac_cv_path_GREP"
3837 if test -z "$GREP"; then
3838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3839 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3840 { (exit 1); exit 1; }; }
3844 ac_cv_path_GREP=$GREP
3849 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3850 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3851 GREP="$ac_cv_path_GREP"
3854 { echo "$as_me:$LINENO: checking for egrep" >&5
3855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3856 if test "${ac_cv_path_EGREP+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3860 then ac_cv_path_EGREP="$GREP -E"
3862 # Extract the first word of "egrep" to use in msg output
3863 if test -z "$EGREP"; then
3864 set dummy egrep; ac_prog_name=$2
3865 if test "${ac_cv_path_EGREP+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_path_EGREP_found=false
3869 # Loop through the user's path and test for each of PROGNAME-LIST
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3874 test -z "$as_dir" && as_dir=.
3875 for ac_prog in egrep; do
3876 for ac_exec_ext in '' $ac_executable_extensions; do
3877 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3878 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3879 # Check for GNU ac_path_EGREP and select it if it is found.
3880 # Check for GNU $ac_path_EGREP
3881 case `"$ac_path_EGREP" --version 2>&1` in
3883 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3886 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3889 cat "conftest.in" "conftest.in" >"conftest.tmp"
3890 mv "conftest.tmp" "conftest.in"
3891 cp "conftest.in" "conftest.nl"
3892 echo 'EGREP' >> "conftest.nl"
3893 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3895 ac_count=`expr $ac_count + 1`
3896 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3897 # Best one so far, save it but keep looking for a better one
3898 ac_cv_path_EGREP="$ac_path_EGREP"
3899 ac_path_EGREP_max=$ac_count
3901 # 10*(2^10) chars as input seems more than enough
3902 test $ac_count -gt 10 && break
3904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3908 $ac_path_EGREP_found && break 3
3918 EGREP="$ac_cv_path_EGREP"
3919 if test -z "$EGREP"; then
3920 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3921 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3922 { (exit 1); exit 1; }; }
3926 ac_cv_path_EGREP=$EGREP
3932 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3933 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3934 EGREP="$ac_cv_path_EGREP"
3937 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3938 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3939 if test "${ac_cv_header_stdc+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 cat >conftest.$ac_ext <<_ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3961 rm -f conftest.$ac_objext
3962 if { (ac_try="$ac_compile"
3964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965 *) ac_try_echo=$ac_try;;
3967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968 (eval "$ac_compile") 2>conftest.er1
3970 grep -v '^ *+' conftest.er1 >conftest.err
3972 cat conftest.err >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); } && {
3975 test -z "$ac_c_werror_flag" ||
3976 test ! -s conftest.err
3977 } && test -s conftest.$ac_objext; then
3978 ac_cv_header_stdc=yes
3980 echo "$as_me: failed program was:" >&5
3981 sed 's/^/| /' conftest.$ac_ext >&5
3983 ac_cv_header_stdc=no
3986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988 if test $ac_cv_header_stdc = yes; then
3989 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3990 cat >conftest.$ac_ext <<_ACEOF
3993 cat confdefs.h >>conftest.$ac_ext
3994 cat >>conftest.$ac_ext <<_ACEOF
3995 /* end confdefs.h. */
3999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4000 $EGREP "memchr" >/dev/null 2>&1; then
4003 ac_cv_header_stdc=no
4009 if test $ac_cv_header_stdc = yes; then
4010 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4011 cat >conftest.$ac_ext <<_ACEOF
4014 cat confdefs.h >>conftest.$ac_ext
4015 cat >>conftest.$ac_ext <<_ACEOF
4016 /* end confdefs.h. */
4020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4021 $EGREP "free" >/dev/null 2>&1; then
4024 ac_cv_header_stdc=no
4030 if test $ac_cv_header_stdc = yes; then
4031 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4032 if test "$cross_compiling" = yes; then
4035 cat >conftest.$ac_ext <<_ACEOF
4038 cat confdefs.h >>conftest.$ac_ext
4039 cat >>conftest.$ac_ext <<_ACEOF
4040 /* end confdefs.h. */
4043 #if ((' ' & 0x0FF) == 0x020)
4044 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4045 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4047 # define ISLOWER(c) \
4048 (('a' <= (c) && (c) <= 'i') \
4049 || ('j' <= (c) && (c) <= 'r') \
4050 || ('s' <= (c) && (c) <= 'z'))
4051 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4054 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4059 for (i = 0; i < 256; i++)
4060 if (XOR (islower (i), ISLOWER (i))
4061 || toupper (i) != TOUPPER (i))
4066 rm -f conftest$ac_exeext
4067 if { (ac_try="$ac_link"
4069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4073 (eval "$ac_link") 2>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4077 { (case "(($ac_try" in
4078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079 *) ac_try_echo=$ac_try;;
4081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4082 (eval "$ac_try") 2>&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4088 echo "$as_me: program exited with status $ac_status" >&5
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4093 ac_cv_header_stdc=no
4095 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4101 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4102 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4103 if test $ac_cv_header_stdc = yes; then
4105 cat >>confdefs.h <<\_ACEOF
4106 #define STDC_HEADERS 1
4111 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4121 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4122 inttypes.h stdint.h unistd.h
4124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4136 $ac_includes_default
4138 #include <$ac_header>
4140 rm -f conftest.$ac_objext
4141 if { (ac_try="$ac_compile"
4143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4144 *) ac_try_echo=$ac_try;;
4146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4147 (eval "$ac_compile") 2>conftest.er1
4149 grep -v '^ *+' conftest.er1 >conftest.err
4151 cat conftest.err >&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } && {
4154 test -z "$ac_c_werror_flag" ||
4155 test ! -s conftest.err
4156 } && test -s conftest.$ac_objext; then
4157 eval "$as_ac_Header=yes"
4159 echo "$as_me: failed program was:" >&5
4160 sed 's/^/| /' conftest.$ac_ext >&5
4162 eval "$as_ac_Header=no"
4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4167 ac_res=`eval echo '${'$as_ac_Header'}'`
4168 { echo "$as_me:$LINENO: result: $ac_res" >&5
4169 echo "${ECHO_T}$ac_res" >&6; }
4170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4171 cat >>confdefs.h <<_ACEOF
4172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4182 for ac_header in stdlib.h unistd.h
4184 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4185 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4186 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 ac_res=`eval echo '${'$as_ac_Header'}'`
4192 { echo "$as_me:$LINENO: result: $ac_res" >&5
4193 echo "${ECHO_T}$ac_res" >&6; }
4195 # Is the header compilable?
4196 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4198 cat >conftest.$ac_ext <<_ACEOF
4201 cat confdefs.h >>conftest.$ac_ext
4202 cat >>conftest.$ac_ext <<_ACEOF
4203 /* end confdefs.h. */
4204 $ac_includes_default
4205 #include <$ac_header>
4207 rm -f conftest.$ac_objext
4208 if { (ac_try="$ac_compile"
4210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4211 *) ac_try_echo=$ac_try;;
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_compile") 2>conftest.er1
4216 grep -v '^ *+' conftest.er1 >conftest.err
4218 cat conftest.err >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } && {
4221 test -z "$ac_c_werror_flag" ||
4222 test ! -s conftest.err
4223 } && test -s conftest.$ac_objext; then
4224 ac_header_compiler=yes
4226 echo "$as_me: failed program was:" >&5
4227 sed 's/^/| /' conftest.$ac_ext >&5
4229 ac_header_compiler=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4234 echo "${ECHO_T}$ac_header_compiler" >&6; }
4236 # Is the header present?
4237 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4239 cat >conftest.$ac_ext <<_ACEOF
4242 cat confdefs.h >>conftest.$ac_ext
4243 cat >>conftest.$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 #include <$ac_header>
4247 if { (ac_try="$ac_cpp conftest.$ac_ext"
4249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4250 *) ac_try_echo=$ac_try;;
4252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4253 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4255 grep -v '^ *+' conftest.er1 >conftest.err
4257 cat conftest.err >&5
4258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259 (exit $ac_status); } >/dev/null && {
4260 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4261 test ! -s conftest.err
4263 ac_header_preproc=yes
4265 echo "$as_me: failed program was:" >&5
4266 sed 's/^/| /' conftest.$ac_ext >&5
4268 ac_header_preproc=no
4271 rm -f conftest.err conftest.$ac_ext
4272 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4273 echo "${ECHO_T}$ac_header_preproc" >&6; }
4275 # So? What about this header?
4276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4282 ac_header_preproc=yes
4285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4300 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4303 echo $ECHO_N "(cached) $ECHO_C" >&6
4305 eval "$as_ac_Header=\$ac_header_preproc"
4307 ac_res=`eval echo '${'$as_ac_Header'}'`
4308 { echo "$as_me:$LINENO: result: $ac_res" >&5
4309 echo "${ECHO_T}$ac_res" >&6; }
4312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4313 cat >>confdefs.h <<_ACEOF
4314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4322 for ac_func in getpagesize
4324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
4326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
4327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4330 cat >conftest.$ac_ext <<_ACEOF
4333 cat confdefs.h >>conftest.$ac_ext
4334 cat >>conftest.$ac_ext <<_ACEOF
4335 /* end confdefs.h. */
4336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4338 #define $ac_func innocuous_$ac_func
4340 /* System header to define __stub macros and hopefully few prototypes,
4341 which can conflict with char $ac_func (); below.
4342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4343 <limits.h> exists even on freestanding compilers. */
4346 # include <limits.h>
4348 # include <assert.h>
4353 /* Override any GCC internal prototype to avoid an error.
4354 Use char because int might match the return type of a GCC
4355 builtin and then its argument prototype would still apply. */
4360 /* The GNU C library defines this for functions which it implements
4361 to always fail with ENOSYS. Some functions are actually named
4362 something starting with __ and the normal name is an alias. */
4363 #if defined __stub_$ac_func || defined __stub___$ac_func
4375 rm -f conftest.$ac_objext conftest$ac_exeext
4376 if { (ac_try="$ac_link"
4378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4379 *) ac_try_echo=$ac_try;;
4381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4382 (eval "$ac_link") 2>conftest.er1
4384 grep -v '^ *+' conftest.er1 >conftest.err
4386 cat conftest.err >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); } && {
4389 test -z "$ac_c_werror_flag" ||
4390 test ! -s conftest.err
4391 } && test -s conftest$ac_exeext &&
4392 $as_test_x conftest$ac_exeext; then
4393 eval "$as_ac_var=yes"
4395 echo "$as_me: failed program was:" >&5
4396 sed 's/^/| /' conftest.$ac_ext >&5
4398 eval "$as_ac_var=no"
4401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4402 conftest$ac_exeext conftest.$ac_ext
4404 ac_res=`eval echo '${'$as_ac_var'}'`
4405 { echo "$as_me:$LINENO: result: $ac_res" >&5
4406 echo "${ECHO_T}$ac_res" >&6; }
4407 if test `eval echo '${'$as_ac_var'}'` = yes; then
4408 cat >>confdefs.h <<_ACEOF
4409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4415 { echo "$as_me:$LINENO: checking for working mmap" >&5
4416 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
4417 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4420 if test "$cross_compiling" = yes; then
4421 ac_cv_func_mmap_fixed_mapped=no
4423 cat >conftest.$ac_ext <<_ACEOF
4426 cat confdefs.h >>conftest.$ac_ext
4427 cat >>conftest.$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4429 $ac_includes_default
4430 /* malloc might have been renamed as rpl_malloc. */
4433 /* Thanks to Mike Haertel and Jim Avera for this test.
4434 Here is a matrix of mmap possibilities:
4435 mmap private not fixed
4436 mmap private fixed at somewhere currently unmapped
4437 mmap private fixed at somewhere already mapped
4438 mmap shared not fixed
4439 mmap shared fixed at somewhere currently unmapped
4440 mmap shared fixed at somewhere already mapped
4441 For private mappings, we should verify that changes cannot be read()
4442 back from the file, nor mmap's back from the file at a different
4443 address. (There have been systems where private was not correctly
4444 implemented like the infamous i386 svr4.0, and systems where the
4445 VM page cache was not coherent with the file system buffer cache
4446 like early versions of FreeBSD and possibly contemporary NetBSD.)
4447 For shared mappings, we should conversely verify that changes get
4448 propagated back to all the places they're supposed to be.
4450 Grep wants private fixed already mapped.
4451 The main things grep needs to know about mmap are:
4452 * does it exist and is it safe to write into the mmap'd area
4453 * how to use it (BSD variants) */
4456 #include <sys/mman.h>
4458 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4462 /* This mess was copied from the GNU getpagesize.h. */
4463 #ifndef HAVE_GETPAGESIZE
4464 /* Assume that all systems that can run configure have sys/param.h. */
4465 # ifndef HAVE_SYS_PARAM_H
4466 # define HAVE_SYS_PARAM_H 1
4469 # ifdef _SC_PAGESIZE
4470 # define getpagesize() sysconf(_SC_PAGESIZE)
4471 # else /* no _SC_PAGESIZE */
4472 # ifdef HAVE_SYS_PARAM_H
4473 # include <sys/param.h>
4474 # ifdef EXEC_PAGESIZE
4475 # define getpagesize() EXEC_PAGESIZE
4476 # else /* no EXEC_PAGESIZE */
4478 # define getpagesize() NBPG * CLSIZE
4481 # endif /* no CLSIZE */
4482 # else /* no NBPG */
4484 # define getpagesize() NBPC
4485 # else /* no NBPC */
4487 # define getpagesize() PAGESIZE
4488 # endif /* PAGESIZE */
4489 # endif /* no NBPC */
4490 # endif /* no NBPG */
4491 # endif /* no EXEC_PAGESIZE */
4492 # else /* no HAVE_SYS_PARAM_H */
4493 # define getpagesize() 8192 /* punt totally */
4494 # endif /* no HAVE_SYS_PARAM_H */
4495 # endif /* no _SC_PAGESIZE */
4497 #endif /* no HAVE_GETPAGESIZE */
4502 char *data, *data2, *data3;
4506 pagesize = getpagesize ();
4508 /* First, make a file with some known garbage in it. */
4509 data = (char *) malloc (pagesize);
4512 for (i = 0; i < pagesize; ++i)
4513 *(data + i) = rand ();
4515 fd = creat ("conftest.mmap", 0600);
4518 if (write (fd, data, pagesize) != pagesize)
4522 /* Next, try to mmap the file at a fixed address which already has
4523 something else allocated at it. If we can, also make sure that
4524 we see the same garbage. */
4525 fd = open ("conftest.mmap", O_RDWR);
4528 data2 = (char *) malloc (2 * pagesize);
4531 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
4532 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4533 MAP_PRIVATE | MAP_FIXED, fd, 0L))
4535 for (i = 0; i < pagesize; ++i)
4536 if (*(data + i) != *(data2 + i))
4539 /* Finally, make sure that changes to the mapped area do not
4540 percolate back to the file as seen by read(). (This is a bug on
4541 some variants of i386 svr4.0.) */
4542 for (i = 0; i < pagesize; ++i)
4543 *(data2 + i) = *(data2 + i) + 1;
4544 data3 = (char *) malloc (pagesize);
4547 if (read (fd, data3, pagesize) != pagesize)
4549 for (i = 0; i < pagesize; ++i)
4550 if (*(data + i) != *(data3 + i))
4556 rm -f conftest$ac_exeext
4557 if { (ac_try="$ac_link"
4559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4560 *) ac_try_echo=$ac_try;;
4562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4563 (eval "$ac_link") 2>&5
4565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4567 { (case "(($ac_try" in
4568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4569 *) ac_try_echo=$ac_try;;
4571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4572 (eval "$ac_try") 2>&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 ac_cv_func_mmap_fixed_mapped=yes
4578 echo "$as_me: program exited with status $ac_status" >&5
4579 echo "$as_me: failed program was:" >&5
4580 sed 's/^/| /' conftest.$ac_ext >&5
4583 ac_cv_func_mmap_fixed_mapped=no
4585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4590 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
4591 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
4592 if test $ac_cv_func_mmap_fixed_mapped = yes; then
4594 cat >>confdefs.h <<\_ACEOF
4602 # Checks for header files.
4603 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4604 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4605 if test "${ac_cv_header_stdc+set}" = set; then
4606 echo $ECHO_N "(cached) $ECHO_C" >&6
4608 cat >conftest.$ac_ext <<_ACEOF
4611 cat confdefs.h >>conftest.$ac_ext
4612 cat >>conftest.$ac_ext <<_ACEOF
4613 /* end confdefs.h. */
4627 rm -f conftest.$ac_objext
4628 if { (ac_try="$ac_compile"
4630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4631 *) ac_try_echo=$ac_try;;
4633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4634 (eval "$ac_compile") 2>conftest.er1
4636 grep -v '^ *+' conftest.er1 >conftest.err
4638 cat conftest.err >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } && {
4641 test -z "$ac_c_werror_flag" ||
4642 test ! -s conftest.err
4643 } && test -s conftest.$ac_objext; then
4644 ac_cv_header_stdc=yes
4646 echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4649 ac_cv_header_stdc=no
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 if test $ac_cv_header_stdc = yes; then
4655 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4656 cat >conftest.$ac_ext <<_ACEOF
4659 cat confdefs.h >>conftest.$ac_ext
4660 cat >>conftest.$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4666 $EGREP "memchr" >/dev/null 2>&1; then
4669 ac_cv_header_stdc=no
4675 if test $ac_cv_header_stdc = yes; then
4676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4677 cat >conftest.$ac_ext <<_ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4687 $EGREP "free" >/dev/null 2>&1; then
4690 ac_cv_header_stdc=no
4696 if test $ac_cv_header_stdc = yes; then
4697 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4698 if test "$cross_compiling" = yes; then
4701 cat >conftest.$ac_ext <<_ACEOF
4704 cat confdefs.h >>conftest.$ac_ext
4705 cat >>conftest.$ac_ext <<_ACEOF
4706 /* end confdefs.h. */
4709 #if ((' ' & 0x0FF) == 0x020)
4710 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4711 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4713 # define ISLOWER(c) \
4714 (('a' <= (c) && (c) <= 'i') \
4715 || ('j' <= (c) && (c) <= 'r') \
4716 || ('s' <= (c) && (c) <= 'z'))
4717 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4720 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4725 for (i = 0; i < 256; i++)
4726 if (XOR (islower (i), ISLOWER (i))
4727 || toupper (i) != TOUPPER (i))
4732 rm -f conftest$ac_exeext
4733 if { (ac_try="$ac_link"
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_link") 2>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4743 { (case "(($ac_try" in
4744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4745 *) ac_try_echo=$ac_try;;
4747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4748 (eval "$ac_try") 2>&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4754 echo "$as_me: program exited with status $ac_status" >&5
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_cv_header_stdc=no
4761 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4767 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4768 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4769 if test $ac_cv_header_stdc = yes; then
4771 cat >>confdefs.h <<\_ACEOF
4772 #define STDC_HEADERS 1
4777 # AC_CHECK_HEADERS([ ])
4779 # Determine PIC flag, adjust default CFLAGS
4782 { echo "$as_me:$LINENO: checking Determining PIC compiler flag" >&5
4783 echo $ECHO_N "checking Determining PIC compiler flag... $ECHO_C" >&6; }
4784 if test "$GCC" = yes; then
4785 { echo "$as_me:$LINENO: result: -fPIC" >&5
4786 echo "${ECHO_T}-fPIC" >&6; }
4791 { echo "$as_me:$LINENO: result: \"+Z\"" >&5
4792 echo "${ECHO_T}\"+Z\"" >&6; }
4794 if test "$GCC" != yes; then
4795 CFLAGS="$CFLAGS +O2 -mt"
4799 { echo "$as_me:$LINENO: result: -Kpic" >&5
4800 echo "${ECHO_T}-Kpic" >&6; }
4802 if test "$GCC" != yes; then
4808 { echo "$as_me:$LINENO: result: -fPIC" >&5
4809 echo "${ECHO_T}-fPIC" >&6; }
4811 # Any Linux compiler had better be gcc compatible.
4814 { echo "$as_me:$LINENO: result: \"<none>\"" >&5
4815 echo "${ECHO_T}\"<none>\"" >&6; }
4819 CFLAGS="$CFLAGS -DNDEBUG"
4826 if test x$need_asm = xtrue; then
4835 ac_config_files="$ac_config_files Makefile src/Makefile src/atomic_ops/Makefile src/atomic_ops/sysdeps/Makefile doc/Makefile tests/Makefile"
4837 ac_config_commands="$ac_config_commands default"
4839 cat >confcache <<\_ACEOF
4840 # This file is a shell script that caches the results of configure
4841 # tests run on this system so they can be shared between configure
4842 # scripts and configure runs, see configure's option --config-cache.
4843 # It is not useful on other systems. If it contains results you don't
4844 # want to keep, you may remove or edit it.
4846 # config.status only pays attention to the cache file if you give it
4847 # the --recheck option to rerun configure.
4849 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4850 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4855 # The following way of writing the cache mishandles newlines in values,
4856 # but we know of no workaround that is simple, portable, and efficient.
4857 # So, we kill variables containing newlines.
4858 # Ultrix sh set writes to stderr and can't be redirected directly,
4859 # and sets the high bit in the cache file unless we assign to the vars.
4861 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4862 eval ac_val=\$$ac_var
4866 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4867 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4870 _ | IFS | as_nl) ;; #(
4871 *) $as_unset $ac_var ;;
4877 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4878 *${as_nl}ac_space=\ *)
4879 # `set' does not quote correctly, so add quotes (double-quote
4880 # substitution turns \\\\ into \\, and sed turns \\ into \).
4883 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4886 # `set' quotes correctly as required by POSIX, so do not add quotes.
4887 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4896 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4898 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4900 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4901 if test -w "$cache_file"; then
4902 test "x$cache_file" != "x/dev/null" &&
4903 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4904 echo "$as_me: updating cache $cache_file" >&6;}
4905 cat confcache >$cache_file
4907 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4908 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4913 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4914 # Let make expand exec_prefix.
4915 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4917 DEFS=-DHAVE_CONFIG_H
4921 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4922 # 1. Remove the extension, and $U if already installed.
4923 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4924 ac_i=`echo "$ac_i" | sed "$ac_script"`
4925 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4926 # will be set to the directory where LIBOBJS objects are built.
4927 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4928 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4932 LTLIBOBJS=$ac_ltlibobjs
4935 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4936 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4937 Usually this means the macro was only invoked conditionally." >&5
4938 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4939 Usually this means the macro was only invoked conditionally." >&2;}
4940 { (exit 1); exit 1; }; }
4942 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4943 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4944 Usually this means the macro was only invoked conditionally." >&5
4945 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4946 Usually this means the macro was only invoked conditionally." >&2;}
4947 { (exit 1); exit 1; }; }
4949 if test -z "${NEED_ASM_TRUE}" && test -z "${NEED_ASM_FALSE}"; then
4950 { { echo "$as_me:$LINENO: error: conditional \"NEED_ASM\" was never defined.
4951 Usually this means the macro was only invoked conditionally." >&5
4952 echo "$as_me: error: conditional \"NEED_ASM\" was never defined.
4953 Usually this means the macro was only invoked conditionally." >&2;}
4954 { (exit 1); exit 1; }; }
4957 : ${CONFIG_STATUS=./config.status}
4958 ac_clean_files_save=$ac_clean_files
4959 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4960 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4961 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4962 cat >$CONFIG_STATUS <<_ACEOF
4964 # Generated by $as_me.
4965 # Run this file to recreate the current configuration.
4966 # Compiler output produced by configure, useful for debugging
4967 # configure, is in config.log if it exists.
4972 SHELL=\${CONFIG_SHELL-$SHELL}
4975 cat >>$CONFIG_STATUS <<\_ACEOF
4976 ## --------------------- ##
4977 ## M4sh Initialization. ##
4978 ## --------------------- ##
4980 # Be more Bourne compatible
4981 DUALCASE=1; export DUALCASE # for MKS sh
4982 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4985 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4986 # is contrary to our usage. Disable this feature.
4987 alias -g '${1+"$@"}'='"$@"'
4988 setopt NO_GLOB_SUBST
4990 case `(set -o) 2>/dev/null` in
4991 *posix*) set -o posix ;;
5000 # Avoid depending upon Character Ranges.
5001 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5002 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5003 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5004 as_cr_digits='0123456789'
5005 as_cr_alnum=$as_cr_Letters$as_cr_digits
5007 # The user is always right.
5008 if test "${PATH_SEPARATOR+set}" != set; then
5009 echo "#! /bin/sh" >conf$$.sh
5010 echo "exit 0" >>conf$$.sh
5012 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5020 # Support unset when possible.
5021 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5029 # We need space, tab and new line, in precisely that order. Quoting is
5030 # there to prevent editors from complaining about space-tab.
5031 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5032 # splitting by setting IFS to empty value.)
5037 # Find who we are. Look in the path if we contain no directory separator.
5039 *[\\/]* ) as_myself=$0 ;;
5040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir=.
5045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5051 # We did not find ourselves, most probably we were run as `sh COMMAND'
5052 # in which case we are not to be found in the path.
5053 if test "x$as_myself" = x; then
5056 if test ! -f "$as_myself"; then
5057 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5058 { (exit 1); exit 1; }
5061 # Work around bugs in pre-3.0 UWIN ksh.
5062 for as_var in ENV MAIL MAILPATH
5063 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5071 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5072 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5073 LC_TELEPHONE LC_TIME
5075 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5076 eval $as_var=C; export $as_var
5078 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5082 # Required to use basename.
5083 if expr a : '\(a\)' >/dev/null 2>&1 &&
5084 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5090 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5091 as_basename=basename
5097 # Name of the executable.
5098 as_me=`$as_basename -- "$0" ||
5099 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5100 X"$0" : 'X\(//\)$' \| \
5101 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5103 sed '/^.*\/\([^/][^/]*\)\/*$/{
5124 test "x$as_lineno_1" != "x$as_lineno_2" &&
5125 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5127 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5128 # uniformly replaced by the line number. The first 'sed' inserts a
5129 # line-number line after each line using $LINENO; the second 'sed'
5130 # does the real work. The second script uses 'N' to pair each
5131 # line-number line with the line containing $LINENO, and appends
5132 # trailing '-' during substitution so that $LINENO is not a special
5134 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5135 # scripts with optimization help from Paolo Bonzini. Blame Lee
5136 # E. McMahon (1931-1989) for sed's syntax. :-)
5148 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5152 chmod +x "$as_me.lineno" ||
5153 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5154 { (exit 1); exit 1; }; }
5156 # Don't try to exec as it changes $[0], causing all sort of problems
5157 # (the dirname of $[0] is not the place where we might find the
5158 # original and so on. Autoconf is especially sensitive to this).
5160 # Exit status is that of the last command.
5165 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5171 ECHO_C= ECHO_N= ECHO_T=
5174 case `echo 'x\c'` in
5175 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5182 if expr a : '\(a\)' >/dev/null 2>&1 &&
5183 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5189 rm -f conf$$ conf$$.exe conf$$.file
5190 if test -d conf$$.dir; then
5191 rm -f conf$$.dir/conf$$.file
5197 if ln -s conf$$.file conf$$ 2>/dev/null; then
5199 # ... but there are two gotchas:
5200 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5201 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5202 # In both cases, we have to default to `cp -p'.
5203 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5205 elif ln conf$$.file conf$$ 2>/dev/null; then
5210 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5211 rmdir conf$$.dir 2>/dev/null
5213 if mkdir -p . 2>/dev/null; then
5216 test -d ./-p && rmdir ./-p
5220 if test -x / >/dev/null 2>&1; then
5223 if ls -dL / >/dev/null 2>&1; then
5230 if test -d "$1"; then
5236 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
5237 ???[sx]*):;;*)false;;esac;fi
5241 as_executable_p=$as_test_x
5243 # Sed expression to map a string onto a valid CPP name.
5244 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5246 # Sed expression to map a string onto a valid variable name.
5247 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5252 # Save the log message, to keep $[0] and so on meaningful, and to
5253 # report actual input values of CONFIG_FILES etc. instead of their
5254 # values after options handling.
5256 This file was extended by libatomic_ops $as_me 1.2, which was
5257 generated by GNU Autoconf 2.61. Invocation command line was
5259 CONFIG_FILES = $CONFIG_FILES
5260 CONFIG_HEADERS = $CONFIG_HEADERS
5261 CONFIG_LINKS = $CONFIG_LINKS
5262 CONFIG_COMMANDS = $CONFIG_COMMANDS
5265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5270 cat >>$CONFIG_STATUS <<_ACEOF
5271 # Files that config.status was made for.
5272 config_files="$ac_config_files"
5273 config_headers="$ac_config_headers"
5274 config_commands="$ac_config_commands"
5278 cat >>$CONFIG_STATUS <<\_ACEOF
5280 \`$as_me' instantiates files from templates according to the
5281 current configuration.
5283 Usage: $0 [OPTIONS] [FILE]...
5285 -h, --help print this help, then exit
5286 -V, --version print version number and configuration settings, then exit
5287 -q, --quiet do not print progress messages
5288 -d, --debug don't remove temporary files
5289 --recheck update $as_me by reconfiguring in the same conditions
5290 --file=FILE[:TEMPLATE]
5291 instantiate the configuration file FILE
5292 --header=FILE[:TEMPLATE]
5293 instantiate the configuration header FILE
5295 Configuration files:
5298 Configuration headers:
5301 Configuration commands:
5304 Report bugs to <bug-autoconf@gnu.org>."
5307 cat >>$CONFIG_STATUS <<_ACEOF
5309 libatomic_ops config.status 1.2
5310 configured by $0, generated by GNU Autoconf 2.61,
5311 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5313 Copyright (C) 2006 Free Software Foundation, Inc.
5314 This config.status script is free software; the Free Software Foundation
5315 gives unlimited permission to copy, distribute and modify it."
5322 cat >>$CONFIG_STATUS <<\_ACEOF
5323 # If no file are specified by the user, then we need to provide default
5324 # value. By we need to know if files were specified by the user.
5330 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5331 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5342 # Handling of the options.
5343 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5345 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5346 echo "$ac_cs_version"; exit ;;
5347 --debug | --debu | --deb | --de | --d | -d )
5349 --file | --fil | --fi | --f )
5351 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5352 ac_need_defaults=false;;
5353 --header | --heade | --head | --hea )
5355 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5356 ac_need_defaults=false;;
5358 # Conflict between --help and --header
5359 { echo "$as_me: error: ambiguous option: $1
5360 Try \`$0 --help' for more information." >&2
5361 { (exit 1); exit 1; }; };;
5362 --help | --hel | -h )
5363 echo "$ac_cs_usage"; exit ;;
5364 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5365 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5369 -*) { echo "$as_me: error: unrecognized option: $1
5370 Try \`$0 --help' for more information." >&2
5371 { (exit 1); exit 1; }; } ;;
5373 *) ac_config_targets="$ac_config_targets $1"
5374 ac_need_defaults=false ;;
5380 ac_configure_extra_args=
5382 if $ac_cs_silent; then
5384 ac_configure_extra_args="$ac_configure_extra_args --silent"
5388 cat >>$CONFIG_STATUS <<_ACEOF
5389 if \$ac_cs_recheck; then
5390 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5393 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5397 cat >>$CONFIG_STATUS <<\_ACEOF
5401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5402 ## Running $as_me. ##
5408 cat >>$CONFIG_STATUS <<_ACEOF
5412 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5419 cat >>$CONFIG_STATUS <<\_ACEOF
5421 # Handling of arguments.
5422 for ac_config_target in $ac_config_targets
5424 case $ac_config_target in
5425 "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
5426 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5427 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5428 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5429 "src/atomic_ops/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/Makefile" ;;
5430 "src/atomic_ops/sysdeps/Makefile") CONFIG_FILES="$CONFIG_FILES src/atomic_ops/sysdeps/Makefile" ;;
5431 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
5432 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
5433 "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5435 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5436 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5437 { (exit 1); exit 1; }; };;
5442 # If the user did not use the arguments to specify the items to instantiate,
5443 # then the envvar interface is used. Set only those that are not.
5444 # We use the long form for the default assignment because of an extremely
5445 # bizarre bug on SunOS 4.1.3.
5446 if $ac_need_defaults; then
5447 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5448 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5449 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5452 # Have a temporary directory for convenience. Make it in the build tree
5453 # simply because there is no reason against having it here, and in addition,
5454 # creating and moving files from /tmp can sometimes cause problems.
5455 # Hook for its removal unless debugging.
5456 # Note that there is a small window in which the directory will not be cleaned:
5457 # after its creation but before its name has been assigned to `$tmp'.
5461 trap 'exit_status=$?
5462 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5464 trap '{ (exit 1); exit 1; }' 1 2 13 15
5466 # Create a (secure) tmp directory for tmp files.
5469 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5470 test -n "$tmp" && test -d "$tmp"
5473 tmp=./conf$$-$RANDOM
5474 (umask 077 && mkdir "$tmp")
5477 echo "$me: cannot create a temporary directory in ." >&2
5478 { (exit 1); exit 1; }
5482 # Set up the sed scripts for CONFIG_FILES section.
5485 # No need to generate the scripts if there are no CONFIG_FILES.
5486 # This happens for instance when ./config.status config.h
5487 if test -n "$CONFIG_FILES"; then
5494 for ac_last_try in false false false false false :; do
5495 cat >conf$$subs.sed <<_ACEOF
5496 SHELL!$SHELL$ac_delim
5497 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5498 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5499 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5500 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5501 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5502 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5503 exec_prefix!$exec_prefix$ac_delim
5504 prefix!$prefix$ac_delim
5505 program_transform_name!$program_transform_name$ac_delim
5506 bindir!$bindir$ac_delim
5507 sbindir!$sbindir$ac_delim
5508 libexecdir!$libexecdir$ac_delim
5509 datarootdir!$datarootdir$ac_delim
5510 datadir!$datadir$ac_delim
5511 sysconfdir!$sysconfdir$ac_delim
5512 sharedstatedir!$sharedstatedir$ac_delim
5513 localstatedir!$localstatedir$ac_delim
5514 includedir!$includedir$ac_delim
5515 oldincludedir!$oldincludedir$ac_delim
5516 docdir!$docdir$ac_delim
5517 infodir!$infodir$ac_delim
5518 htmldir!$htmldir$ac_delim
5519 dvidir!$dvidir$ac_delim
5520 pdfdir!$pdfdir$ac_delim
5521 psdir!$psdir$ac_delim
5522 libdir!$libdir$ac_delim
5523 localedir!$localedir$ac_delim
5524 mandir!$mandir$ac_delim
5526 ECHO_C!$ECHO_C$ac_delim
5527 ECHO_N!$ECHO_N$ac_delim
5528 ECHO_T!$ECHO_T$ac_delim
5530 build_alias!$build_alias$ac_delim
5531 host_alias!$host_alias$ac_delim
5532 target_alias!$target_alias$ac_delim
5533 build!$build$ac_delim
5534 build_cpu!$build_cpu$ac_delim
5535 build_vendor!$build_vendor$ac_delim
5536 build_os!$build_os$ac_delim
5538 host_cpu!$host_cpu$ac_delim
5539 host_vendor!$host_vendor$ac_delim
5540 host_os!$host_os$ac_delim
5541 target!$target$ac_delim
5542 target_cpu!$target_cpu$ac_delim
5543 target_vendor!$target_vendor$ac_delim
5544 target_os!$target_os$ac_delim
5545 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5546 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5547 INSTALL_DATA!$INSTALL_DATA$ac_delim
5548 CYGPATH_W!$CYGPATH_W$ac_delim
5549 PACKAGE!$PACKAGE$ac_delim
5550 VERSION!$VERSION$ac_delim
5551 ACLOCAL!$ACLOCAL$ac_delim
5552 AUTOCONF!$AUTOCONF$ac_delim
5553 AUTOMAKE!$AUTOMAKE$ac_delim
5554 AUTOHEADER!$AUTOHEADER$ac_delim
5555 MAKEINFO!$MAKEINFO$ac_delim
5556 install_sh!$install_sh$ac_delim
5557 STRIP!$STRIP$ac_delim
5558 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5559 mkdir_p!$mkdir_p$ac_delim
5561 SET_MAKE!$SET_MAKE$ac_delim
5562 am__leading_dot!$am__leading_dot$ac_delim
5563 AMTAR!$AMTAR$ac_delim
5564 am__tar!$am__tar$ac_delim
5565 am__untar!$am__untar$ac_delim
5566 RANLIB!$RANLIB$ac_delim
5568 CFLAGS!$CFLAGS$ac_delim
5569 LDFLAGS!$LDFLAGS$ac_delim
5570 CPPFLAGS!$CPPFLAGS$ac_delim
5571 ac_ct_CC!$ac_ct_CC$ac_delim
5572 EXEEXT!$EXEEXT$ac_delim
5573 OBJEXT!$OBJEXT$ac_delim
5574 DEPDIR!$DEPDIR$ac_delim
5575 am__include!$am__include$ac_delim
5576 am__quote!$am__quote$ac_delim
5577 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5578 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5579 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5580 CCDEPMODE!$CCDEPMODE$ac_delim
5581 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5582 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5584 CCASFLAGS!$CCASFLAGS$ac_delim
5587 EGREP!$EGREP$ac_delim
5588 PICFLAG!$PICFLAG$ac_delim
5589 NEED_ASM_TRUE!$NEED_ASM_TRUE$ac_delim
5590 NEED_ASM_FALSE!$NEED_ASM_FALSE$ac_delim
5591 LIBOBJS!$LIBOBJS$ac_delim
5592 LTLIBOBJS!$LTLIBOBJS$ac_delim
5595 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5597 elif $ac_last_try; then
5598 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5599 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5600 { (exit 1); exit 1; }; }
5602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5606 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5607 if test -n "$ac_eof"; then
5608 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5609 ac_eof=`expr $ac_eof + 1`
5612 cat >>$CONFIG_STATUS <<_ACEOF
5613 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5617 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5618 s/^/s,@/; s/!/@,|#_!!_#|/
5621 s/'"$ac_delim"'$/,g/; t
5623 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5624 ' >>$CONFIG_STATUS <conf$$subs.sed
5625 rm -f conf$$subs.sed
5626 cat >>$CONFIG_STATUS <<_ACEOF
5631 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5632 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5633 # trailing colons and then remove the whole line if VPATH becomes empty
5634 # (actually we leave an empty line to preserve line numbers).
5635 if test "x$srcdir" = x.; then
5636 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5640 s/^\([^=]*=[ ]*\):*/\1/
5646 cat >>$CONFIG_STATUS <<\_ACEOF
5647 fi # test -n "$CONFIG_FILES"
5650 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5653 :[FHLC]) ac_mode=$ac_tag; continue;;
5655 case $ac_mode$ac_tag in
5657 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5658 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5659 { (exit 1); exit 1; }; };;
5660 :[FH]-) ac_tag=-:-;;
5661 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5678 -) ac_f="$tmp/stdin";;
5679 *) # Look for the file first in the build tree, then in the source tree
5680 # (if the path is not absolute). The absolute path cannot be DOS-style,
5681 # because $ac_f cannot contain `:'.
5685 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5687 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5688 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5689 { (exit 1); exit 1; }; };;
5691 ac_file_inputs="$ac_file_inputs $ac_f"
5694 # Let's still pretend it is `configure' which instantiates (i.e., don't
5695 # use $as_me), people would be surprised to read:
5696 # /* config.h. Generated by config.status. */
5697 configure_input="Generated from "`IFS=:
5698 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5699 if test x"$ac_file" != x-; then
5700 configure_input="$ac_file. $configure_input"
5701 { echo "$as_me:$LINENO: creating $ac_file" >&5
5702 echo "$as_me: creating $ac_file" >&6;}
5706 *:-:* | *:-) cat >"$tmp/stdin";;
5711 ac_dir=`$as_dirname -- "$ac_file" ||
5712 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5713 X"$ac_file" : 'X\(//\)[^/]' \| \
5714 X"$ac_file" : 'X\(//\)$' \| \
5715 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5736 -*) as_dir=./$as_dir;;
5738 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5742 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5743 *) as_qdir=$as_dir;;
5745 as_dirs="'$as_qdir' $as_dirs"
5746 as_dir=`$as_dirname -- "$as_dir" ||
5747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5748 X"$as_dir" : 'X\(//\)[^/]' \| \
5749 X"$as_dir" : 'X\(//\)$' \| \
5750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5769 test -d "$as_dir" && break
5771 test -z "$as_dirs" || eval "mkdir $as_dirs"
5772 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5773 echo "$as_me: error: cannot create directory $as_dir" >&2;}
5774 { (exit 1); exit 1; }; }; }
5778 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5780 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5781 # A ".." for each directory in $ac_dir_suffix.
5782 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5783 case $ac_top_builddir_sub in
5784 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5785 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5788 ac_abs_top_builddir=$ac_pwd
5789 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5790 # for backward compatibility:
5791 ac_top_builddir=$ac_top_build_prefix
5794 .) # We are building in place.
5796 ac_top_srcdir=$ac_top_builddir_sub
5797 ac_abs_top_srcdir=$ac_pwd ;;
5798 [\\/]* | ?:[\\/]* ) # Absolute name.
5799 ac_srcdir=$srcdir$ac_dir_suffix;
5800 ac_top_srcdir=$srcdir
5801 ac_abs_top_srcdir=$srcdir ;;
5803 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5804 ac_top_srcdir=$ac_top_build_prefix$srcdir
5805 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5807 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5817 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5818 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5822 cat >>$CONFIG_STATUS <<\_ACEOF
5823 # If the template does not know about datarootdir, expand it.
5824 # FIXME: This hack should be removed a few years after 2.60.
5825 ac_datarootdir_hack=; ac_datarootdir_seen=
5827 case `sed -n '/datarootdir/ {
5836 ' $ac_file_inputs` in
5837 *datarootdir*) ac_datarootdir_seen=yes;;
5838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5839 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5840 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5842 cat >>$CONFIG_STATUS <<_ACEOF
5843 ac_datarootdir_hack='
5844 s&@datadir@&$datadir&g
5845 s&@docdir@&$docdir&g
5846 s&@infodir@&$infodir&g
5847 s&@localedir@&$localedir&g
5848 s&@mandir@&$mandir&g
5849 s&\\\${datarootdir}&$datarootdir&g' ;;
5853 # Neutralize VPATH when `$srcdir' = `.'.
5854 # Shell code in configure.ac might set extrasub.
5855 # FIXME: do we really want to maintain this feature?
5856 cat >>$CONFIG_STATUS <<_ACEOF
5860 cat >>$CONFIG_STATUS <<\_ACEOF
5862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5863 s&@configure_input@&$configure_input&;t t
5864 s&@top_builddir@&$ac_top_builddir_sub&;t t
5865 s&@srcdir@&$ac_srcdir&;t t
5866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5867 s&@top_srcdir@&$ac_top_srcdir&;t t
5868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5869 s&@builddir@&$ac_builddir&;t t
5870 s&@abs_builddir@&$ac_abs_builddir&;t t
5871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5872 s&@INSTALL@&$ac_INSTALL&;t t
5873 $ac_datarootdir_hack
5874 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
5876 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5877 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5878 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5879 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5880 which seems to be undefined. Please make sure it is defined." >&5
5881 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5882 which seems to be undefined. Please make sure it is defined." >&2;}
5886 -) cat "$tmp/out"; rm -f "$tmp/out";;
5887 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5896 # Transform confdefs.h into a sed script `conftest.defines', that
5897 # substitutes the proper values into config.h.in to produce config.h.
5898 rm -f conftest.defines conftest.tail
5899 # First, append a space to every undef/define line, to ease matching.
5900 echo 's/$/ /' >conftest.defines
5901 # Then, protect against being on the right side of a sed subst, or in
5902 # an unquoted here document, in config.status. If some macros were
5903 # called several times there might be several #defines for the same
5904 # symbol, which is useless. But do not sort them, since the last
5905 # AC_DEFINE must be honored.
5906 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5907 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5908 # NAME is the cpp macro being defined, VALUE is the value it is being given.
5909 # PARAMS is the parameter list in the macro definition--in most cases, it's
5910 # just an empty string.
5911 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5912 ac_dB='\\)[ (].*,\\1define\\2'
5920 s/^[ ]*#[ ]*define[ ][ ]*//
5925 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5926 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5927 ' >>conftest.defines
5929 # Remove the space that was appended to ease matching.
5930 # Then replace #undef with comments. This is necessary, for
5931 # example, in the case of _POSIX_SOURCE, which is predefined and required
5932 # on some systems where configure will not decide to define it.
5933 # (The regexp can be short, since the line contains either #define or #undef.)
5935 s,^[ #]*u.*,/* & */,' >>conftest.defines
5937 # Break up conftest.defines:
5940 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5941 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5942 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5944 ac_in='$ac_file_inputs'
5945 ac_out='"$tmp/out1"'
5946 ac_nxt='"$tmp/out2"'
5950 # Write a here document:
5951 cat >>$CONFIG_STATUS <<_ACEOF
5952 # First, check the format of the line:
5953 cat >"\$tmp/defines.sed" <<\\CEOF
5954 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5955 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5959 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5961 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5962 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5963 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5964 grep . conftest.tail >/dev/null || break
5965 rm -f conftest.defines
5966 mv conftest.tail conftest.defines
5968 rm -f conftest.defines conftest.tail
5970 echo "ac_result=$ac_in" >>$CONFIG_STATUS
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5972 if test x"$ac_file" != x-; then
5973 echo "/* $configure_input */" >"$tmp/config.h"
5974 cat "$ac_result" >>"$tmp/config.h"
5975 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5976 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5977 echo "$as_me: $ac_file is unchanged" >&6;}
5980 mv "$tmp/config.h" $ac_file
5983 echo "/* $configure_input */"
5987 # Compute $ac_file's index in $config_headers.
5989 for _am_header in $config_headers :; do
5991 $ac_file | $ac_file:* )
5994 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
5997 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5998 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5999 X$ac_file : 'X\(//\)[^/]' \| \
6000 X$ac_file : 'X\(//\)$' \| \
6001 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
6003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6019 s/.*/./; q'`/stamp-h$_am_stamp_count
6022 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6023 echo "$as_me: executing $ac_file commands" >&6;}
6028 case $ac_file$ac_mode in
6029 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6030 # Strip MF so we end up with the name of the file.
6031 mf=`echo "$mf" | sed -e 's/:.*$//'`
6032 # Check whether this is an Automake generated Makefile or not.
6033 # We used to match only the files named `Makefile.in', but
6034 # some people rename them; so instead we look at the file content.
6035 # Grep'ing the first line is not enough: some people post-process
6036 # each Makefile.in and add a new line on top of each file to say so.
6037 # So let's grep whole file.
6038 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6039 dirpart=`$as_dirname -- "$mf" ||
6040 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6041 X"$mf" : 'X\(//\)[^/]' \| \
6042 X"$mf" : 'X\(//\)$' \| \
6043 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
6045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6065 # Extract the definition of DEPDIR, am__include, and am__quote
6066 # from the Makefile without running `make'.
6067 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
6068 test -z "$DEPDIR" && continue
6069 am__include=`sed -n 's/^am__include = //p' < "$mf"`
6070 test -z "am__include" && continue
6071 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
6072 # When using ansi2knr, U may be empty or an underscore; expand it
6073 U=`sed -n 's/^U = //p' < "$mf"`
6074 # Find all dependency output files, they are included files with
6075 # $(DEPDIR) in their names. We invoke sed twice because it is the
6076 # simplest approach to changing $(DEPDIR) to its actual value in the
6078 for file in `sed -n "
6079 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
6080 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6081 # Make sure the directory exists.
6082 test -f "$dirpart/$file" && continue
6083 fdir=`$as_dirname -- "$file" ||
6084 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6085 X"$file" : 'X\(//\)[^/]' \| \
6086 X"$file" : 'X\(//\)$' \| \
6087 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
6089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6106 { as_dir=$dirpart/$fdir
6108 -*) as_dir=./$as_dir;;
6110 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6114 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6115 *) as_qdir=$as_dir;;
6117 as_dirs="'$as_qdir' $as_dirs"
6118 as_dir=`$as_dirname -- "$as_dir" ||
6119 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6120 X"$as_dir" : 'X\(//\)[^/]' \| \
6121 X"$as_dir" : 'X\(//\)$' \| \
6122 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6124 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6141 test -d "$as_dir" && break
6143 test -z "$as_dirs" || eval "mkdir $as_dirs"
6144 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6145 echo "$as_me: error: cannot create directory $as_dir" >&2;}
6146 { (exit 1); exit 1; }; }; }
6147 # echo "creating $dirpart/$file"
6148 echo '# dummy' > "$dirpart/$file"
6158 { (exit 0); exit 0; }
6160 chmod +x $CONFIG_STATUS
6161 ac_clean_files=$ac_clean_files_save
6164 # configure is writing to config.log, and then calls config.status.
6165 # config.status does its own redirection, appending to config.log.
6166 # Unfortunately, on DOS this fails, as config.log is still kept open
6167 # by configure, so config.status won't be able to write to it; its
6168 # output is simply discarded. So we exec the FD to /dev/null,
6169 # effectively closing config.log, so it can be properly (re)opened and
6170 # appended to by config.status. When coming back to configure, we
6171 # need to make the FD available again.
6172 if test "$no_create" != yes; then
6174 ac_config_status_args=
6175 test "$silent" = yes &&
6176 ac_config_status_args="$ac_config_status_args --quiet"
6178 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6180 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6181 # would make configure fail if this is the last instruction.
6182 $ac_cs_success || { (exit 1); exit 1; }