2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for ltp 20091031.
5 # Report bugs to <ltp-results@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
46 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # Support unset when possible.
84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92 # We need space, tab and new line, in precisely that order. Quoting is
93 # there to prevent editors from complaining about space-tab.
94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
95 # splitting by setting IFS to empty value.)
98 # Find who we are. Look in the path if we contain no directory separator.
100 *[\\/]* ) as_myself=$0 ;;
101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105 test -z "$as_dir" && as_dir=.
106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 # We did not find ourselves, most probably we were run as `sh COMMAND'
113 # in which case we are not to be found in the path.
114 if test "x$as_myself" = x
; then
117 if test ! -f "$as_myself"; then
118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119 { (exit 1); exit 1; }
122 # Work around bugs in pre-3.0 UWIN ksh.
123 for as_var
in ENV MAIL MAILPATH
124 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
136 # Required to use basename.
137 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
138 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
144 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151 # Name of the executable.
152 as_me
=`$as_basename -- "$0" ||
153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154 X"$0" : 'X\(//\)$' \| \
155 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157 sed '/^.*\/\([^/][^/]*\)\/*$/{
175 if test "x$CONFIG_SHELL" = x
; then
176 if (eval ":") 2>/dev
/null
; then
182 if test $as_have_required = yes && (eval ":
192 as_func_ret_success () {
195 as_func_ret_failure () {
200 if as_func_success; then
204 echo as_func_success failed.
207 if as_func_failure; then
209 echo as_func_failure succeeded.
212 if as_func_ret_success; then
216 echo as_func_ret_success failed.
219 if as_func_ret_failure; then
221 echo as_func_ret_failure succeeded.
224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228 echo positional parameters were not saved.
231 test \$exitcode = 0) || { (exit 1); exit 1; }
236 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238 ") 2> /dev
/null
; then
242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
243 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
246 test -z "$as_dir" && as_dir
=.
249 for as_base
in sh bash ksh sh5
; do
250 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
257 for as_shell
in $as_candidate_shells $SHELL; do
258 # Try only shells that exist, to save several forks.
259 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
260 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
279 CONFIG_SHELL
=$as_shell
281 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
285 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286 # is contrary to our usage. Disable this feature.
287 alias -g '${1+"$@"}'='"$@"'
290 case `(set -o) 2>/dev/null` in
291 *posix
*) set -o posix
;;
307 as_func_ret_success
() {
310 as_func_ret_failure
() {
315 if as_func_success
; then
319 echo as_func_success failed.
322 if as_func_failure
; then
324 echo as_func_failure succeeded.
327 if as_func_ret_success
; then
331 echo as_func_ret_success failed.
334 if as_func_ret_failure
; then
336 echo as_func_ret_failure succeeded.
339 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
343 echo positional parameters were not saved.
346 test $exitcode = 0) ||
{ (exit 1); exit 1; }
351 test "x$as_lineno_1" != "x$as_lineno_2" &&
352 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
363 if test "x$CONFIG_SHELL" != x
; then
364 for as_var
in BASH_ENV ENV
365 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
368 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372 if test $as_have_required = no
; then
373 echo This
script requires a shell
more modern than all the
374 echo shells that I found on your system. Please
install a
375 echo modern shell
, or manually run the
script under such a
376 echo shell
if you
do have one.
377 { (exit 1); exit 1; }
387 (eval "as_func_return () {
396 as_func_ret_success () {
399 as_func_ret_failure () {
404 if as_func_success; then
408 echo as_func_success failed.
411 if as_func_failure; then
413 echo as_func_failure succeeded.
416 if as_func_ret_success; then
420 echo as_func_ret_success failed.
423 if as_func_ret_failure; then
425 echo as_func_ret_failure succeeded.
428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432 echo positional parameters were not saved.
435 test \$exitcode = 0") ||
{
436 echo No shell found that supports shell functions.
437 echo Please tell bug-autoconf@gnu.org about your system
,
438 echo including any error possibly output before this message.
439 echo This can
help us improve future autoconf versions.
440 echo Configuration will now proceed without shell functions.
447 test "x$as_lineno_1" != "x$as_lineno_2" &&
448 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
450 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451 # uniformly replaced by the line number. The first 'sed' inserts a
452 # line-number line after each line using $LINENO; the second 'sed'
453 # does the real work. The second script uses 'N' to pair each
454 # line-number line with the line containing $LINENO, and appends
455 # trailing '-' during substitution so that $LINENO is not a special
457 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458 # scripts with optimization help from Paolo Bonzini. Blame Lee
459 # E. McMahon (1931-1989) for sed's syntax. :-)
471 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475 chmod +x
"$as_me.lineno" ||
476 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477 { (exit 1); exit 1; }; }
479 # Don't try to exec as it changes $[0], causing all sort of problems
480 # (the dirname of $[0] is not the place where we might find the
481 # original and so on. Autoconf is especially sensitive to this).
483 # Exit status is that of the last command.
488 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
494 ECHO_C
= ECHO_N
= ECHO_T
=
498 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
504 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
505 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
511 rm -f conf$$ conf$$.exe conf$$.
file
512 if test -d conf$$.dir
; then
513 rm -f conf$$.dir
/conf$$.
file
516 mkdir conf$$.dir
2>/dev
/null
518 if (echo >conf$$.
file) 2>/dev
/null
; then
519 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
521 # ... but there are two gotchas:
522 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524 # In both cases, we have to default to `cp -p'.
525 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
527 elif ln conf$$.
file conf$$
2>/dev
/null
; then
535 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
536 rmdir conf$$.dir
2>/dev
/null
538 if mkdir
-p .
2>/dev
/null
; then
541 test -d .
/-p && rmdir .
/-p
545 if test -x / >/dev
/null
2>&1; then
548 if ls -dL / >/dev
/null
2>&1; then
555 if test -d "$1"; then
561 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562 ???[sx]*):;;*)false;;esac;fi
566 as_executable_p
=$as_test_x
568 # Sed expression to map a string onto a valid CPP name.
569 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571 # Sed expression to map a string onto a valid variable name.
572 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
576 exec 7<&0 </dev
/null
6>&1
579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
580 # so uname gets run too.
581 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
586 ac_default_prefix
=/usr
/local
588 ac_config_libobj_dir
=.
594 SHELL
=${CONFIG_SHELL-/bin/sh}
596 # Identity of this package.
598 PACKAGE_TARNAME
='ltp'
599 PACKAGE_VERSION
='20091031'
600 PACKAGE_STRING
='ltp 20091031'
601 PACKAGE_BUGREPORT
='ltp-results@lists.sourceforge.net'
603 ac_default_prefix
=/opt
/ltp
605 # Factoring default headers for most tests.
606 ac_includes_default
="\
608 #ifdef HAVE_SYS_TYPES_H
609 # include <sys/types.h>
611 #ifdef HAVE_SYS_STAT_H
612 # include <sys/stat.h>
618 # ifdef HAVE_STDLIB_H
623 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
628 #ifdef HAVE_STRINGS_H
629 # include <strings.h>
631 #ifdef HAVE_INTTYPES_H
632 # include <inttypes.h>
641 enable_option_checking
=no
643 ac_subst_vars
='LTLIBOBJS
684 CROSS_COMPILATION_FALSE
685 CROSS_COMPILATION_TRUE
694 INSTALL_STRIP_PROGRAM
736 program_transform_name
749 enable_option_checking
750 enable_dependency_tracking
752 ac_precious_vars
='build_alias
764 testcases/kernel/syscalls/pcllib/ \
767 # Initialize some variables set by options.
769 ac_init_version
=false
770 ac_unrecognized_opts
=
772 # The variables have the same names as the options, with
773 # dashes changed to underlines.
781 program_transform_name
=s
,x
,x
,
789 # Installation directory options.
790 # These are left unexpanded so users can "make install exec_prefix=/foo"
791 # and all the variables that are supposed to be based on exec_prefix
792 # by default will actually change.
793 # Use braces instead of parens because sh, perl, etc. also accept them.
794 # (The list follows the same order as the GNU Coding Standards.)
795 bindir
='${exec_prefix}/bin'
796 sbindir
='${exec_prefix}/sbin'
797 libexecdir
='${exec_prefix}/libexec'
798 datarootdir
='${prefix}/share'
799 datadir
='${datarootdir}'
800 sysconfdir
='${prefix}/etc'
801 sharedstatedir
='${prefix}/com'
802 localstatedir
='${prefix}/var'
803 includedir
='${prefix}/include'
804 oldincludedir
='/usr/include'
805 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
806 infodir
='${datarootdir}/info'
811 libdir
='${exec_prefix}/lib'
812 localedir
='${datarootdir}/locale'
813 mandir
='${datarootdir}/man'
819 # If the previous option needs an argument, assign it.
820 if test -n "$ac_prev"; then
821 eval $ac_prev=\
$ac_option
827 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
839 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
842 -build |
--build |
--buil |
--bui |
--bu)
843 ac_prev
=build_alias
;;
844 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
845 build_alias
=$ac_optarg ;;
847 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
848 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
849 ac_prev
=cache_file
;;
850 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
851 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
852 cache_file
=$ac_optarg ;;
855 cache_file
=config.cache
;;
857 -datadir |
--datadir |
--datadi |
--datad)
859 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
860 datadir
=$ac_optarg ;;
862 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
863 |
--dataroo |
--dataro |
--datar)
864 ac_prev
=datarootdir
;;
865 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
866 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
867 datarootdir
=$ac_optarg ;;
869 -disable-* |
--disable-*)
870 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
873 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
874 { (exit 1); exit 1; }; }
875 ac_useropt_orig
=$ac_useropt
876 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
882 ac_unrecognized_sep
=', ';;
884 eval enable_
$ac_useropt=no
;;
886 -docdir |
--docdir |
--docdi |
--doc |
--do)
888 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
891 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
893 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
896 -enable-* |
--enable-*)
897 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
900 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
901 { (exit 1); exit 1; }; }
902 ac_useropt_orig
=$ac_useropt
903 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
904 case $ac_user_opts in
908 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
909 ac_unrecognized_sep
=', ';;
911 eval enable_
$ac_useropt=\
$ac_optarg ;;
913 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
914 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
915 |
--exec |
--exe |
--ex)
916 ac_prev
=exec_prefix
;;
917 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
918 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
919 |
--exec=* |
--exe=* |
--ex=*)
920 exec_prefix
=$ac_optarg ;;
922 -gas |
--gas |
--ga |
--g)
923 # Obsolete; use --with-gas.
926 -help |
--help |
--hel |
--he |
-h)
928 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
929 ac_init_help
=recursive
;;
930 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
931 ac_init_help
=short
;;
933 -host |
--host |
--hos |
--ho)
934 ac_prev
=host_alias
;;
935 -host=* |
--host=* |
--hos=* |
--ho=*)
936 host_alias
=$ac_optarg ;;
938 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
940 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
942 htmldir
=$ac_optarg ;;
944 -includedir |
--includedir |
--includedi |
--included |
--include \
945 |
--includ |
--inclu |
--incl |
--inc)
946 ac_prev
=includedir
;;
947 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
948 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
949 includedir
=$ac_optarg ;;
951 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
953 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
954 infodir
=$ac_optarg ;;
956 -libdir |
--libdir |
--libdi |
--libd)
958 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
961 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
962 |
--libexe |
--libex |
--libe)
963 ac_prev
=libexecdir
;;
964 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
965 |
--libexe=* |
--libex=* |
--libe=*)
966 libexecdir
=$ac_optarg ;;
968 -localedir |
--localedir |
--localedi |
--localed |
--locale)
970 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
971 localedir
=$ac_optarg ;;
973 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
974 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
975 ac_prev
=localstatedir
;;
976 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
977 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
978 localstatedir
=$ac_optarg ;;
980 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
982 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
986 # Obsolete; use --without-fp.
989 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
990 |
--no-cr |
--no-c |
-n)
993 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
994 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
997 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
998 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
999 |
--oldin |
--oldi |
--old |
--ol |
--o)
1000 ac_prev
=oldincludedir
;;
1001 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1002 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1003 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1004 oldincludedir
=$ac_optarg ;;
1006 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1008 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1009 prefix
=$ac_optarg ;;
1011 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1012 |
--program-pre |
--program-pr |
--program-p)
1013 ac_prev
=program_prefix
;;
1014 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1015 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1016 program_prefix
=$ac_optarg ;;
1018 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1019 |
--program-suf |
--program-su |
--program-s)
1020 ac_prev
=program_suffix
;;
1021 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1022 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1023 program_suffix
=$ac_optarg ;;
1025 -program-transform-name |
--program-transform-name \
1026 |
--program-transform-nam |
--program-transform-na \
1027 |
--program-transform-n |
--program-transform- \
1028 |
--program-transform |
--program-transfor \
1029 |
--program-transfo |
--program-transf \
1030 |
--program-trans |
--program-tran \
1031 |
--progr-tra |
--program-tr |
--program-t)
1032 ac_prev
=program_transform_name
;;
1033 -program-transform-name=* |
--program-transform-name=* \
1034 |
--program-transform-nam=* |
--program-transform-na=* \
1035 |
--program-transform-n=* |
--program-transform-=* \
1036 |
--program-transform=* |
--program-transfor=* \
1037 |
--program-transfo=* |
--program-transf=* \
1038 |
--program-trans=* |
--program-tran=* \
1039 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1040 program_transform_name
=$ac_optarg ;;
1042 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1044 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1045 pdfdir
=$ac_optarg ;;
1047 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1049 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1056 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1058 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1060 sbindir
=$ac_optarg ;;
1062 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1063 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1064 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1066 ac_prev
=sharedstatedir
;;
1067 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1068 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1069 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1071 sharedstatedir
=$ac_optarg ;;
1073 -site |
--site |
--sit)
1075 -site=* |
--site=* |
--sit=*)
1078 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1080 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1081 srcdir
=$ac_optarg ;;
1083 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1084 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1085 ac_prev
=sysconfdir
;;
1086 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1087 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1088 sysconfdir
=$ac_optarg ;;
1090 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1091 ac_prev
=target_alias
;;
1092 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1093 target_alias
=$ac_optarg ;;
1095 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1098 -version |
--version |
--versio |
--versi |
--vers |
-V)
1099 ac_init_version
=: ;;
1102 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1103 # Reject names that are not valid shell variable names.
1104 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1105 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1106 { (exit 1); exit 1; }; }
1107 ac_useropt_orig
=$ac_useropt
1108 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109 case $ac_user_opts in
1113 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1114 ac_unrecognized_sep
=', ';;
1116 eval with_
$ac_useropt=\
$ac_optarg ;;
1118 -without-* |
--without-*)
1119 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1122 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1123 { (exit 1); exit 1; }; }
1124 ac_useropt_orig
=$ac_useropt
1125 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1130 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep
=', ';;
1133 eval with_
$ac_useropt=no
;;
1136 # Obsolete; use --with-x.
1139 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1140 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1141 ac_prev
=x_includes
;;
1142 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1143 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1144 x_includes
=$ac_optarg ;;
1146 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1147 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1148 ac_prev
=x_libraries
;;
1149 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1150 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1151 x_libraries
=$ac_optarg ;;
1153 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1154 Try \`$0 --help' for more information." >&2
1155 { (exit 1); exit 1; }; }
1159 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1162 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1163 { (exit 1); exit 1; }; }
1164 eval $ac_envvar=\
$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1171 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1178 if test -n "$ac_prev"; then
1179 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1180 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1181 { (exit 1); exit 1; }; }
1184 if test -n "$ac_unrecognized_opts"; then
1185 case $enable_option_checking in
1187 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1188 { (exit 1); exit 1; }; } ;;
1189 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1193 # Check all directory arguments for consistency.
1194 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1195 datadir sysconfdir sharedstatedir localstatedir includedir \
1196 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1197 libdir localedir mandir
1199 eval ac_val
=\$
$ac_var
1200 # Remove trailing slashes.
1203 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1204 eval $ac_var=\
$ac_val;;
1206 # Be sure to have absolute directory names.
1208 [\\/$
]* | ?
:[\\/]* ) continue;;
1209 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1211 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1212 { (exit 1); exit 1; }; }
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1220 target
=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x
; then
1224 if test "x$build_alias" = x
; then
1225 cross_compiling
=maybe
1226 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1227 If a cross compiler is detected then cross compile mode will be used." >&2
1228 elif test "x$build_alias" != "x$host_alias"; then
1234 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1236 test "$silent" = yes && exec 6>/dev
/null
1239 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1240 ac_ls_di
=`ls -di .` &&
1241 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1242 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1243 { (exit 1); exit 1; }; }
1244 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1245 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1246 { (exit 1); exit 1; }; }
1249 # Find the source files, if location was not specified.
1250 if test -z "$srcdir"; then
1251 ac_srcdir_defaulted
=yes
1252 # Try the directory containing this script, then the parent directory.
1253 ac_confdir
=`$as_dirname -- "$as_myself" ||
1254 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1255 X"$as_myself" : 'X\(//\)[^/]' \| \
1256 X"$as_myself" : 'X\(//\)$' \| \
1257 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1258 $as_echo X"$as_myself" |
1259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277 if test ! -r "$srcdir/$ac_unique_file"; then
1281 ac_srcdir_defaulted
=no
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1285 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1286 { (exit 1); exit 1; }; }
1288 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1290 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1291 { (exit 1); exit 1; }; }
1293 # When building in place, set srcdir=.
1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
1297 # Remove unnecessary trailing slashes from srcdir.
1298 # Double slashes in file names in object file debugging info
1299 # mess up M-x gdb in Emacs.
1301 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1303 for ac_var
in $ac_precious_vars; do
1304 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1305 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1306 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1307 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1311 # Report the --help message.
1313 if test "$ac_init_help" = "long"; then
1314 # Omit some internal or obsolete options to make the list less imposing.
1315 # This message is too long to be a string in the A/UX 3.1 sh.
1317 \`configure' configures ltp 20091031 to adapt to many kinds of systems.
1319 Usage: $0 [OPTION]... [VAR=VALUE]...
1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1322 VAR=VALUE. See below for descriptions of some of the useful variables.
1324 Defaults for the options are specified in brackets.
1327 -h, --help display this help and exit
1328 --help=short display options specific to this package
1329 --help=recursive display the short help of all the included packages
1330 -V, --version display version information and exit
1331 -q, --quiet, --silent do not print \`checking...' messages
1332 --cache-file=FILE cache test results in FILE [disabled]
1333 -C, --config-cache alias for \`--cache-file=config.cache'
1334 -n, --no-create do not create output files
1335 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1337 Installation directories:
1338 --prefix=PREFIX install architecture-independent files in PREFIX
1339 [$ac_default_prefix]
1340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1343 By default, \`make install' will install all the files in
1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1346 for instance \`--prefix=\$HOME'.
1348 For better control, use the options below.
1350 Fine tuning of the installation directories:
1351 --bindir=DIR user executables [EPREFIX/bin]
1352 --sbindir=DIR system admin executables [EPREFIX/sbin]
1353 --libexecdir=DIR program executables [EPREFIX/libexec]
1354 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1355 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1356 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1357 --libdir=DIR object code libraries [EPREFIX/lib]
1358 --includedir=DIR C header files [PREFIX/include]
1359 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1360 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1361 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1362 --infodir=DIR info documentation [DATAROOTDIR/info]
1363 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1364 --mandir=DIR man documentation [DATAROOTDIR/man]
1365 --docdir=DIR documentation root [DATAROOTDIR/doc/ltp]
1366 --htmldir=DIR html documentation [DOCDIR]
1367 --dvidir=DIR dvi documentation [DOCDIR]
1368 --pdfdir=DIR pdf documentation [DOCDIR]
1369 --psdir=DIR ps documentation [DOCDIR]
1375 --program-prefix=PREFIX prepend PREFIX to installed program names
1376 --program-suffix=SUFFIX append SUFFIX to installed program names
1377 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1385 if test -n "$ac_init_help"; then
1386 case $ac_init_help in
1387 short | recursive
) echo "Configuration of ltp 20091031:";;
1392 --disable-option-checking ignore unrecognized
--enable/--with options
1393 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1394 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1395 --disable-dependency-tracking speeds up one-time build
1396 --enable-dependency-tracking do not reject slow dependency extractors
1398 Some influential environment variables
:
1399 CC C compiler
command
1400 CFLAGS C compiler flags
1401 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1402 nonstandard directory
<lib dir
>
1403 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1404 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1405 you have headers
in a nonstandard directory
<include dir
>
1406 YACC The
`Yet Another C Compiler' implementation to use. Defaults to
1407 the first program found out of: `bison
-y', `byacc', `yacc'.
1408 YFLAGS The list of arguments that will be passed by default to $YACC.
1409 This script will default YFLAGS to the empty string to avoid a
1410 default value of `-d' given by some make applications.
1413 Use these variables to override the choices made by `configure' or to
help
1414 it to
find libraries and programs with nonstandard names
/locations.
1416 Report bugs to
<ltp-results@lists.sourceforge.net
>.
1421 if test "$ac_init_help" = "recursive"; then
1422 # If there are subdirs, report their specific --help.
1423 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1424 test -d "$ac_dir" ||
1425 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1430 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1432 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1433 # A ".." for each directory in $ac_dir_suffix.
1434 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1435 case $ac_top_builddir_sub in
1436 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1437 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1440 ac_abs_top_builddir
=$ac_pwd
1441 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1442 # for backward compatibility:
1443 ac_top_builddir
=$ac_top_build_prefix
1446 .
) # We are building in place.
1448 ac_top_srcdir
=$ac_top_builddir_sub
1449 ac_abs_top_srcdir
=$ac_pwd ;;
1450 [\\/]* | ?
:[\\/]* ) # Absolute name.
1451 ac_srcdir
=$srcdir$ac_dir_suffix;
1452 ac_top_srcdir
=$srcdir
1453 ac_abs_top_srcdir
=$srcdir ;;
1455 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1456 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1457 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1459 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1461 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1462 # Check for guested configure.
1463 if test -f "$ac_srcdir/configure.gnu"; then
1465 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1466 elif test -f "$ac_srcdir/configure"; then
1468 $SHELL "$ac_srcdir/configure" --help=recursive
1470 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1472 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1476 test -n "$ac_init_help" && exit $ac_status
1477 if $ac_init_version; then
1479 ltp configure
20091031
1480 generated by GNU Autoconf
2.63
1482 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1483 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation
, Inc.
1484 This configure
script is free software
; the Free Software Foundation
1485 gives unlimited permission to copy
, distribute and modify it.
1489 cat >config.log
<<_ACEOF
1490 This file contains any messages produced by compilers while
1491 running configure, to aid debugging if configure makes a mistake.
1493 It was created by ltp $as_me 20091031, which was
1494 generated by GNU Autoconf 2.63. Invocation command line was
1506 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1507 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1508 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1509 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1510 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1512 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1513 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1515 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1516 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1517 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1518 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1519 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1520 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1521 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir
=.
1530 $as_echo "PATH: $as_dir"
1546 # Keep a trace of the command line.
1547 # Strip out --no-create and --no-recursion so they do not pile up.
1548 # Strip out --silent because we don't want to record it for future runs.
1549 # Also quote any args containing shell meta-characters.
1550 # Make two passes to allow for proper duplicate-argument suppression.
1554 ac_must_keep_next
=false
1560 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1561 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1562 |
-silent |
--silent |
--silen |
--sile |
--sil)
1565 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1568 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1570 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1571 if test $ac_must_keep_next = true
; then
1572 ac_must_keep_next
=false
# Got value, back to normal.
1575 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1576 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1577 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1578 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1579 case "$ac_configure_args0 " in
1580 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1583 -* ) ac_must_keep_next
=true
;;
1586 ac_configure_args
="$ac_configure_args '$ac_arg'"
1591 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1592 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1594 # When interrupted or exit'd, cleanup temporary files, and complete
1595 # config.log. We remove comments because anyway the quotes in there
1596 # would cause problems or look ugly.
1597 # WARNING: Use '\'' to represent an apostrophe within the trap.
1598 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1599 trap 'exit_status=$?
1600 # Save into config.log some information that might help in debugging.
1605 ## ---------------- ##
1606 ## Cache variables. ##
1607 ## ---------------- ##
1610 # The following way of writing the cache mishandles newlines in values,
1612 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1613 eval ac_val=\$$ac_var
1617 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1618 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1621 _ | IFS | as_nl) ;; #(
1622 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1623 *) $as_unset $ac_var ;;
1628 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1629 *${as_nl}ac_space=\ *)
1631 "s/'\''/'\''\\\\'\'''\''/g;
1632 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1635 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1643 ## ----------------- ##
1644 ## Output variables. ##
1645 ## ----------------- ##
1648 for ac_var in $ac_subst_vars
1650 eval ac_val=\$$ac_var
1652 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1654 $as_echo "$ac_var='\''$ac_val'\''"
1658 if test -n "$ac_subst_files"; then
1660 ## ------------------- ##
1661 ## File substitutions. ##
1662 ## ------------------- ##
1665 for ac_var
in $ac_subst_files
1667 eval ac_val
=\$
$ac_var
1669 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1671 $as_echo "$ac_var='\''$ac_val'\''"
1676 if test -s confdefs.h; then
1686 test "$ac_signal" != 0 &&
1687 $as_echo "$as_me: caught signal $ac_signal"
1688 $as_echo "$as_me: exit $exit_status"
1690 rm -f core *.core core.conftest.* &&
1691 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1694 for ac_signal
in 1 2 13 15; do
1695 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1699 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1700 rm -f -r conftest
* confdefs.h
1702 # Predefined preprocessor variables.
1704 cat >>confdefs.h
<<_ACEOF
1705 #define PACKAGE_NAME "$PACKAGE_NAME"
1709 cat >>confdefs.h
<<_ACEOF
1710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define PACKAGE_STRING "$PACKAGE_STRING"
1724 cat >>confdefs.h
<<_ACEOF
1725 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1729 # Let the site file select an alternate cache file if it wants to.
1730 # Prefer an explicitly selected file to automatically selected ones.
1733 if test -n "$CONFIG_SITE"; then
1734 ac_site_file1
=$CONFIG_SITE
1735 elif test "x$prefix" != xNONE
; then
1736 ac_site_file1
=$prefix/share
/config.site
1737 ac_site_file2
=$prefix/etc
/config.site
1739 ac_site_file1
=$ac_default_prefix/share
/config.site
1740 ac_site_file2
=$ac_default_prefix/etc
/config.site
1742 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1744 test "x$ac_site_file" = xNONE
&& continue
1745 if test -r "$ac_site_file"; then
1746 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1747 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1748 sed 's/^/| /' "$ac_site_file" >&5
1753 if test -r "$cache_file"; then
1754 # Some versions of bash will fail to source /dev/null (special
1755 # files actually), so we avoid doing that.
1756 if test -f "$cache_file"; then
1757 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1758 $as_echo "$as_me: loading cache $cache_file" >&6;}
1760 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1761 *) .
"./$cache_file";;
1765 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1766 $as_echo "$as_me: creating cache $cache_file" >&6;}
1770 ac_header_list
="$ac_header_list dmapi.h"
1771 ac_header_list
="$ac_header_list ifaddrs.h"
1772 ac_header_list
="$ac_header_list libaio.h"
1773 ac_header_list
="$ac_header_list mm.h"
1774 ac_header_list
="$ac_header_list linux/genetlink.h"
1775 ac_header_list
="$ac_header_list linux/module.h"
1776 ac_header_list
="$ac_header_list linux/netlink.h"
1777 ac_header_list
="$ac_header_list sys/acl.h"
1778 ac_header_list
="$ac_header_list sys/epoll.h"
1779 ac_header_list
="$ac_header_list sys/inotify.h"
1780 ac_header_list
="$ac_header_list sys/jfsdmapi.h"
1781 ac_header_list
="$ac_header_list sys/prctl.h"
1782 ac_header_list
="$ac_header_list linux/types.h"
1783 ac_func_list
="$ac_func_list unshare"
1784 # Check that the precious variables saved in the cache have kept the same
1786 ac_cache_corrupted
=false
1787 for ac_var
in $ac_precious_vars; do
1788 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1789 eval ac_new_set
=\
$ac_env_${ac_var}_set
1790 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1791 eval ac_new_val
=\
$ac_env_${ac_var}_value
1792 case $ac_old_set,$ac_new_set in
1794 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1795 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1796 ac_cache_corrupted
=: ;;
1798 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1799 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1800 ac_cache_corrupted
=: ;;
1803 if test "x$ac_old_val" != "x$ac_new_val"; then
1804 # differences in whitespace do not lead to failure.
1805 ac_old_val_w
=`echo x $ac_old_val`
1806 ac_new_val_w
=`echo x $ac_new_val`
1807 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1808 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1809 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1810 ac_cache_corrupted
=:
1812 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1813 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1814 eval $ac_var=\
$ac_old_val
1816 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1817 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1818 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1819 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1822 # Pass precious variables to config.status.
1823 if test "$ac_new_set" = set; then
1825 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1826 *) ac_arg
=$ac_var=$ac_new_val ;;
1828 case " $ac_configure_args " in
1829 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1830 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1834 if $ac_cache_corrupted; then
1835 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1836 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1837 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1838 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1839 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1840 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1841 { (exit 1); exit 1; }; }
1869 ac_cpp
='$CPP $CPPFLAGS'
1870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1876 for ac_dir
in .
"$srcdir"/.
; do
1877 if test -f "$ac_dir/install-sh"; then
1879 ac_install_sh
="$ac_aux_dir/install-sh -c"
1881 elif test -f "$ac_dir/install.sh"; then
1883 ac_install_sh
="$ac_aux_dir/install.sh -c"
1885 elif test -f "$ac_dir/shtool"; then
1887 ac_install_sh
="$ac_aux_dir/shtool install -c"
1891 if test -z "$ac_aux_dir"; then
1892 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&5
1893 $as_echo "$as_me: error: cannot find install-sh or install.sh in . \"$srcdir\"/." >&2;}
1894 { (exit 1); exit 1; }; }
1897 # These three variables are undocumented and unsupported,
1898 # and are intended to be withdrawn in a future Autoconf release.
1899 # They can cause serious problems if a builder's source tree is in a directory
1900 # whose full name contains unusual characters.
1901 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1902 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1903 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1906 am__api_version
='1.10'
1908 # Find a good install program. We prefer a C program (faster),
1909 # so one script is as good as another. But avoid the broken or
1910 # incompatible versions:
1911 # SysV /etc/install, /usr/sbin/install
1912 # SunOS /usr/etc/install
1913 # IRIX /sbin/install
1915 # AmigaOS /C/install, which installs bootblocks on floppy discs
1916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1919 # OS/2's system install, which has a completely different semantic
1920 # ./install, which can be erroneously created by make from ./install.sh.
1921 # Reject install programs that cannot install multiple files.
1922 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1923 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1924 if test -z "$INSTALL"; then
1925 if test "${ac_cv_path_install+set}" = set; then
1926 $as_echo_n "(cached) " >&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 rm -rf conftest.one conftest.two conftest.dir
1956 echo one
> conftest.one
1957 echo two
> conftest.two
1959 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
1960 test -s conftest.one
&& test -s conftest.two
&&
1961 test -s conftest.dir
/conftest.one
&&
1962 test -s conftest.dir
/conftest.two
1964 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1977 rm -rf conftest.one conftest.two conftest.dir
1980 if test "${ac_cv_path_install+set}" = set; then
1981 INSTALL
=$ac_cv_path_install
1983 # As a last resort, use the slow shell script. Don't cache a
1984 # value for INSTALL within a source directory, because that will
1985 # break other packages using the cache if that directory is
1986 # removed, or if the value is a relative name.
1987 INSTALL
=$ac_install_sh
1990 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
1991 $as_echo "$INSTALL" >&6; }
1993 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1994 # It thinks the first close brace ends the variable substitution.
1995 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1997 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1999 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2001 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2002 $as_echo_n "checking whether build environment is sane... " >&6; }
2005 echo timestamp
> conftest.
file
2006 # Do `set' in a subshell so we don't clobber the current shell's
2007 # arguments. Must try -L first in case configure is actually a
2008 # symlink; some systems play weird games with the mod time of symlinks
2009 # (eg FreeBSD returns the mod time of the symlink's containing
2012 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2013 if test "$*" = "X"; then
2015 set X
`ls -t $srcdir/configure conftest.file`
2018 if test "$*" != "X $srcdir/configure conftest.file" \
2019 && test "$*" != "X conftest.file $srcdir/configure"; then
2021 # If neither matched, then we have a broken ls. This can happen
2022 # if, for instance, CONFIG_SHELL is bash and it inherits a
2023 # broken ls alias from the environment. This has actually
2024 # happened. Such a system could not be considered "sane".
2025 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2026 alias in your environment" >&5
2027 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2028 alias in your environment" >&2;}
2029 { (exit 1); exit 1; }; }
2032 test "$2" = conftest.
file
2038 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2039 Check your system clock" >&5
2040 $as_echo "$as_me: error: newly created file is older than distributed files!
2041 Check your system clock" >&2;}
2042 { (exit 1); exit 1; }; }
2044 { $as_echo "$as_me:$LINENO: result: yes" >&5
2045 $as_echo "yes" >&6; }
2046 test "$program_prefix" != NONE
&&
2047 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2048 # Use a double $ so make ignores it.
2049 test "$program_suffix" != NONE
&&
2050 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2051 # Double any \ or $.
2052 # By default was `s,x,x', remove it if useless.
2053 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2054 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2056 # expand $ac_aux_dir to an absolute path
2057 am_aux_dir
=`cd $ac_aux_dir && pwd`
2059 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2060 # Use eval to expand $SHELL
2061 if eval "$MISSING --run true"; then
2062 am_missing_run
="$MISSING --run "
2065 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2066 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2069 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2070 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2071 if test -z "$MKDIR_P"; then
2072 if test "${ac_cv_path_mkdir+set}" = set; then
2073 $as_echo_n "(cached) " >&6
2075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2076 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2079 test -z "$as_dir" && as_dir
=.
2080 for ac_prog
in mkdir gmkdir
; do
2081 for ac_exec_ext
in '' $ac_executable_extensions; do
2082 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2083 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2084 'mkdir (GNU coreutils) '* | \
2085 'mkdir (coreutils) '* | \
2086 'mkdir (fileutils) '4.1*)
2087 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2097 if test "${ac_cv_path_mkdir+set}" = set; then
2098 MKDIR_P
="$ac_cv_path_mkdir -p"
2100 # As a last resort, use the slow shell script. Don't cache a
2101 # value for MKDIR_P within a source directory, because that will
2102 # break other packages using the cache if that directory is
2103 # removed, or if the value is a relative name.
2104 test -d .
/--version && rmdir .
/--version
2105 MKDIR_P
="$ac_install_sh -d"
2108 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2109 $as_echo "$MKDIR_P" >&6; }
2113 [\\/$
]* | ?
:[\\/]*) ;;
2114 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2117 for ac_prog
in gawk mawk nawk
awk
2119 # Extract the first word of "$ac_prog", so it can be a program name with args.
2120 set dummy
$ac_prog; ac_word
=$2
2121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2122 $as_echo_n "checking for $ac_word... " >&6; }
2123 if test "${ac_cv_prog_AWK+set}" = set; then
2124 $as_echo_n "(cached) " >&6
2126 if test -n "$AWK"; then
2127 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2133 test -z "$as_dir" && as_dir
=.
2134 for ac_exec_ext
in '' $ac_executable_extensions; do
2135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136 ac_cv_prog_AWK
="$ac_prog"
2137 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2147 if test -n "$AWK"; then
2148 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2149 $as_echo "$AWK" >&6; }
2151 { $as_echo "$as_me:$LINENO: result: no" >&5
2152 $as_echo "no" >&6; }
2156 test -n "$AWK" && break
2159 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2160 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2162 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2163 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2164 $as_echo_n "(cached) " >&6
2166 cat >conftest.
make <<\_ACEOF
2169 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2171 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2172 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2174 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2176 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2180 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2181 { $as_echo "$as_me:$LINENO: result: yes" >&5
2182 $as_echo "yes" >&6; }
2185 { $as_echo "$as_me:$LINENO: result: no" >&5
2186 $as_echo "no" >&6; }
2187 SET_MAKE
="MAKE=${MAKE-make}"
2190 rm -rf .tst
2>/dev
/null
2191 mkdir .tst
2>/dev
/null
2192 if test -d .tst
; then
2197 rmdir .tst
2>/dev
/null
2199 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2200 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2201 # is not polluted with repeated "-I."
2202 am__isrc
=' -I$(srcdir)'
2203 # test to see if srcdir already configured
2204 if test -f $srcdir/config.status
; then
2205 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2206 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2207 { (exit 1); exit 1; }; }
2211 # test whether we have cygpath
2212 if test -z "$CYGPATH_W"; then
2213 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2214 CYGPATH_W
='cygpath -w'
2221 # Define the identity of the package.
2226 cat >>confdefs.h
<<_ACEOF
2227 #define PACKAGE "$PACKAGE"
2231 cat >>confdefs.h
<<_ACEOF
2232 #define VERSION "$VERSION"
2235 # Some tools Automake needs.
2237 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2240 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2243 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2246 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2249 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2251 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2253 # Installed binaries are usually stripped using `strip' when the user
2254 # run `make install-strip'. However `strip' might not be the right
2255 # tool to use in cross-compilation environments, therefore Automake
2256 # will honor the `STRIP' environment variable to overrule this program.
2257 if test "$cross_compiling" != no
; then
2258 if test -n "$ac_tool_prefix"; then
2259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2260 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2261 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2262 $as_echo_n "checking for $ac_word... " >&6; }
2263 if test "${ac_cv_prog_STRIP+set}" = set; then
2264 $as_echo_n "(cached) " >&6
2266 if test -n "$STRIP"; then
2267 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2273 test -z "$as_dir" && as_dir
=.
2274 for ac_exec_ext
in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2277 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2286 STRIP
=$ac_cv_prog_STRIP
2287 if test -n "$STRIP"; then
2288 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2289 $as_echo "$STRIP" >&6; }
2291 { $as_echo "$as_me:$LINENO: result: no" >&5
2292 $as_echo "no" >&6; }
2297 if test -z "$ac_cv_prog_STRIP"; then
2299 # Extract the first word of "strip", so it can be a program name with args.
2300 set dummy strip
; ac_word
=$2
2301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 $as_echo_n "checking for $ac_word... " >&6; }
2303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2304 $as_echo_n "(cached) " >&6
2306 if test -n "$ac_ct_STRIP"; then
2307 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir
=.
2314 for ac_exec_ext
in '' $ac_executable_extensions; do
2315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316 ac_cv_prog_ac_ct_STRIP
="strip"
2317 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2326 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2327 if test -n "$ac_ct_STRIP"; then
2328 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2329 $as_echo "$ac_ct_STRIP" >&6; }
2331 { $as_echo "$as_me:$LINENO: result: no" >&5
2332 $as_echo "no" >&6; }
2335 if test "x$ac_ct_STRIP" = x
; then
2338 case $cross_compiling:$ac_tool_warned in
2340 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2342 ac_tool_warned
=yes ;;
2347 STRIP
="$ac_cv_prog_STRIP"
2351 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2353 # We need awk for the "check" target. The system "awk" is bad on
2355 # Always define AMTAR for backward compatibility.
2357 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2359 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2365 ac_config_headers
="$ac_config_headers include/config.h"
2367 ac_config_files
="$ac_config_files include/mk/config.mk lib/ltp.pc ltp-devel.spec m4/Makefile README.ltp-devel"
2370 if test x
$cross_compiling = xyes
; then
2371 CROSS_COMPILATION_TRUE
=
2372 CROSS_COMPILATION_FALSE
='#'
2374 CROSS_COMPILATION_TRUE
='#'
2375 CROSS_COMPILATION_FALSE
=
2379 # Make sure we can run config.sub.
2380 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2381 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2382 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2383 { (exit 1); exit 1; }; }
2385 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2386 $as_echo_n "checking build system type... " >&6; }
2387 if test "${ac_cv_build+set}" = set; then
2388 $as_echo_n "(cached) " >&6
2390 ac_build_alias
=$build_alias
2391 test "x$ac_build_alias" = x
&&
2392 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2393 test "x$ac_build_alias" = x
&&
2394 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2395 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2396 { (exit 1); exit 1; }; }
2397 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2398 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2399 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2400 { (exit 1); exit 1; }; }
2403 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2404 $as_echo "$ac_cv_build" >&6; }
2405 case $ac_cv_build in
2407 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2408 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2409 { (exit 1); exit 1; }; };;
2412 ac_save_IFS
=$IFS; IFS
='-'
2418 # Remember, the first character of IFS is used to create $*,
2419 # except with old shells:
2422 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2425 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2426 $as_echo_n "checking host system type... " >&6; }
2427 if test "${ac_cv_host+set}" = set; then
2428 $as_echo_n "(cached) " >&6
2430 if test "x$host_alias" = x
; then
2431 ac_cv_host
=$ac_cv_build
2433 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2434 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2435 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2436 { (exit 1); exit 1; }; }
2440 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2441 $as_echo "$ac_cv_host" >&6; }
2444 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2445 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2446 { (exit 1); exit 1; }; };;
2449 ac_save_IFS
=$IFS; IFS
='-'
2455 # Remember, the first character of IFS is used to create $*,
2456 # except with old shells:
2459 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2464 ac_cpp
='$CPP $CPPFLAGS'
2465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2468 if test -n "$ac_tool_prefix"; then
2469 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2470 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2471 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2472 $as_echo_n "checking for $ac_word... " >&6; }
2473 if test "${ac_cv_prog_CC+set}" = set; then
2474 $as_echo_n "(cached) " >&6
2476 if test -n "$CC"; then
2477 ac_cv_prog_CC
="$CC" # Let the user override the test.
2479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir
=.
2484 for ac_exec_ext
in '' $ac_executable_extensions; do
2485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2486 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2487 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 if test -n "$CC"; then
2498 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2499 $as_echo "$CC" >&6; }
2501 { $as_echo "$as_me:$LINENO: result: no" >&5
2502 $as_echo "no" >&6; }
2507 if test -z "$ac_cv_prog_CC"; then
2509 # Extract the first word of "gcc", so it can be a program name with args.
2510 set dummy gcc
; ac_word
=$2
2511 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2512 $as_echo_n "checking for $ac_word... " >&6; }
2513 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2514 $as_echo_n "(cached) " >&6
2516 if test -n "$ac_ct_CC"; then
2517 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2523 test -z "$as_dir" && as_dir
=.
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526 ac_cv_prog_ac_ct_CC
="gcc"
2527 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2536 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2537 if test -n "$ac_ct_CC"; then
2538 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2539 $as_echo "$ac_ct_CC" >&6; }
2541 { $as_echo "$as_me:$LINENO: result: no" >&5
2542 $as_echo "no" >&6; }
2545 if test "x$ac_ct_CC" = x
; then
2548 case $cross_compiling:$ac_tool_warned in
2550 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2551 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2552 ac_tool_warned
=yes ;;
2560 if test -z "$CC"; then
2561 if test -n "$ac_tool_prefix"; then
2562 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2563 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2564 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2565 $as_echo_n "checking for $ac_word... " >&6; }
2566 if test "${ac_cv_prog_CC+set}" = set; then
2567 $as_echo_n "(cached) " >&6
2569 if test -n "$CC"; then
2570 ac_cv_prog_CC
="$CC" # Let the user override the test.
2572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2576 test -z "$as_dir" && as_dir
=.
2577 for ac_exec_ext
in '' $ac_executable_extensions; do
2578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2579 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2580 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 if test -n "$CC"; then
2591 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2592 $as_echo "$CC" >&6; }
2594 { $as_echo "$as_me:$LINENO: result: no" >&5
2595 $as_echo "no" >&6; }
2601 if test -z "$CC"; then
2602 # Extract the first word of "cc", so it can be a program name with args.
2603 set dummy cc
; ac_word
=$2
2604 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 $as_echo_n "checking for $ac_word... " >&6; }
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607 $as_echo_n "(cached) " >&6
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC
="$CC" # Let the user override the test.
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir
=.
2618 for ac_exec_ext
in '' $ac_executable_extensions; do
2619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2621 ac_prog_rejected
=yes
2625 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2632 if test $ac_prog_rejected = yes; then
2633 # We found a bogon in the path, so make sure we never use it.
2634 set dummy
$ac_cv_prog_CC
2636 if test $# != 0; then
2637 # We chose a different compiler from the bogus one.
2638 # However, it has the same basename, so the bogon will be chosen
2639 # first if we set CC to just the basename; use the full file name.
2641 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2647 if test -n "$CC"; then
2648 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2649 $as_echo "$CC" >&6; }
2651 { $as_echo "$as_me:$LINENO: result: no" >&5
2652 $as_echo "no" >&6; }
2657 if test -z "$CC"; then
2658 if test -n "$ac_tool_prefix"; then
2659 for ac_prog
in cl.exe
2661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2662 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2664 $as_echo_n "checking for $ac_word... " >&6; }
2665 if test "${ac_cv_prog_CC+set}" = set; then
2666 $as_echo_n "(cached) " >&6
2668 if test -n "$CC"; then
2669 ac_cv_prog_CC
="$CC" # Let the user override the test.
2671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2675 test -z "$as_dir" && as_dir
=.
2676 for ac_exec_ext
in '' $ac_executable_extensions; do
2677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2678 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2679 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2689 if test -n "$CC"; then
2690 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2691 $as_echo "$CC" >&6; }
2693 { $as_echo "$as_me:$LINENO: result: no" >&5
2694 $as_echo "no" >&6; }
2698 test -n "$CC" && break
2701 if test -z "$CC"; then
2703 for ac_prog
in cl.exe
2705 # Extract the first word of "$ac_prog", so it can be a program name with args.
2706 set dummy
$ac_prog; ac_word
=$2
2707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2708 $as_echo_n "checking for $ac_word... " >&6; }
2709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2710 $as_echo_n "(cached) " >&6
2712 if test -n "$ac_ct_CC"; then
2713 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2719 test -z "$as_dir" && as_dir
=.
2720 for ac_exec_ext
in '' $ac_executable_extensions; do
2721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2722 ac_cv_prog_ac_ct_CC
="$ac_prog"
2723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2733 if test -n "$ac_ct_CC"; then
2734 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2735 $as_echo "$ac_ct_CC" >&6; }
2737 { $as_echo "$as_me:$LINENO: result: no" >&5
2738 $as_echo "no" >&6; }
2742 test -n "$ac_ct_CC" && break
2745 if test "x$ac_ct_CC" = x
; then
2748 case $cross_compiling:$ac_tool_warned in
2750 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752 ac_tool_warned
=yes ;;
2761 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2762 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2763 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2764 See \`config.log' for more details." >&5
2765 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2766 See \`config.log' for more details." >&2;}
2767 { (exit 1); exit 1; }; }; }
2769 # Provide some information about the compiler.
2770 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2773 { (ac_try
="$ac_compiler --version >&5"
2775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2776 *) ac_try_echo=$ac_try;;
2778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2779 $as_echo "$ac_try_echo") >&5
2780 (eval "$ac_compiler --version >&5") 2>&5
2782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); }
2784 { (ac_try="$ac_compiler -v >&5"
2786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2787 *) ac_try_echo
=$ac_try;;
2789 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2790 $as_echo "$ac_try_echo") >&5
2791 (eval "$ac_compiler -v >&5") 2>&5
2793 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); }
2795 { (ac_try
="$ac_compiler -V >&5"
2797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2801 $as_echo "$ac_try_echo") >&5
2802 (eval "$ac_compiler -V >&5") 2>&5
2804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }
2807 cat >conftest.$ac_ext <<_ACEOF
2810 cat confdefs.h >>conftest.$ac_ext
2811 cat >>conftest.$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2822 ac_clean_files_save=$ac_clean_files
2823 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2824 # Try to create an executable without -o first, disregard a.out.
2825 # It will help us diagnose broken compilers, and finding out an intuition
2827 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2828 $as_echo_n "checking for C compiler default output file name... " >&6; }
2829 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2831 # The possible output files:
2832 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2835 for ac_file in $ac_files
2838 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2839 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2844 if { (ac_try="$ac_link_default"
2846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2847 *) ac_try_echo
=$ac_try;;
2849 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2850 $as_echo "$ac_try_echo") >&5
2851 (eval "$ac_link_default") 2>&5
2853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; then
2855 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2856 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2857 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2858 # so that the user can short-circuit this test for compilers unknown to
2860 for ac_file
in $ac_files ''
2862 test -f "$ac_file" ||
continue
2864 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2867 # We found the default executable, but exeext='' is most
2871 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2873 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2875 # We set ac_cv_exeext here because the later test for it is not
2876 # safe: cross compilers may not add the suffix if given an `-o'
2877 # argument, so we may need to know it at that point already.
2878 # Even if this section looks crufty: it has the advantage of
2885 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2891 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2892 $as_echo "$ac_file" >&6; }
2893 if test -z "$ac_file"; then
2894 $as_echo "$as_me: failed program was:" >&5
2895 sed 's/^/| /' conftest.
$ac_ext >&5
2897 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2899 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2900 See \`config.log' for more details." >&5
2901 $as_echo "$as_me: error: C compiler cannot create executables
2902 See \`config.log' for more details." >&2;}
2903 { (exit 77); exit 77; }; }; }
2906 ac_exeext
=$ac_cv_exeext
2908 # Check that the compiler produces executables we can run. If not, either
2909 # the compiler is broken, or we cross compile.
2910 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2911 $as_echo_n "checking whether the C compiler works... " >&6; }
2912 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2913 # If not cross compiling, check that we can run a simple program.
2914 if test "$cross_compiling" != yes; then
2915 if { ac_try
='./$ac_file'
2916 { (case "(($ac_try" in
2917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2921 $as_echo "$ac_try_echo") >&5
2922 (eval "$ac_try") 2>&5
2924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }; }; then
2928 if test "$cross_compiling" = maybe; then
2931 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 { { $as_echo "$as_me:$LINENO: error
: cannot run C compiled programs.
2934 If you meant to cross compile
, use \
`--host'.
2935 See \`config.log
' for more details." >&5
2936 $as_echo "$as_me: error: cannot run C compiled programs.
2937 If you meant to cross compile, use \`--host'.
2938 See \
`config.log' for more details." >&2;}
2939 { (exit 1); exit 1; }; }; }
2943 { $as_echo "$as_me:$LINENO: result: yes" >&5
2944 $as_echo "yes" >&6; }
2946 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2947 ac_clean_files=$ac_clean_files_save
2948 # Check that the compiler produces executables we can run. If not, either
2949 # the compiler is broken, or we cross compile.
2950 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2951 $as_echo_n "checking whether we are cross compiling... " >&6; }
2952 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2953 $as_echo "$cross_compiling" >&6; }
2955 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2956 $as_echo_n "checking for suffix of executables... " >&6; }
2957 if { (ac_try="$ac_link"
2959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2960 *) ac_try_echo
=$ac_try;;
2962 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2963 $as_echo "$ac_try_echo") >&5
2964 (eval "$ac_link") 2>&5
2966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); }; then
2968 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2969 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2970 # work properly (i.e., refer to `conftest.exe'), while it won't with
2972 for ac_file
in conftest.exe conftest conftest.
*; do
2973 test -f "$ac_file" ||
continue
2975 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2976 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2982 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2983 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2984 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2985 See \`config.log' for more details." >&5
2986 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2987 See \`config.log' for more details." >&2;}
2988 { (exit 1); exit 1; }; }; }
2991 rm -f conftest
$ac_cv_exeext
2992 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2993 $as_echo "$ac_cv_exeext" >&6; }
2995 rm -f conftest.
$ac_ext
2996 EXEEXT
=$ac_cv_exeext
2998 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2999 $as_echo_n "checking for suffix of object files... " >&6; }
3000 if test "${ac_cv_objext+set}" = set; then
3001 $as_echo_n "(cached) " >&6
3003 cat >conftest.
$ac_ext <<_ACEOF
3006 cat confdefs.h
>>conftest.
$ac_ext
3007 cat >>conftest.
$ac_ext <<_ACEOF
3008 /* end confdefs.h. */
3018 rm -f conftest.o conftest.obj
3019 if { (ac_try
="$ac_compile"
3021 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3022 *) ac_try_echo=$ac_try;;
3024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3025 $as_echo "$ac_try_echo") >&5
3026 (eval "$ac_compile") 2>&5
3028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); }; then
3030 for ac_file in conftest.o conftest.obj conftest.*; do
3031 test -f "$ac_file" || continue;
3033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3034 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3039 $as_echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3042 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3044 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of object files
: cannot compile
3045 See \
`config.log' for more details." >&5
3046 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3047 See \`config.log
' for more details." >&2;}
3048 { (exit 1); exit 1; }; }; }
3051 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3053 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3054 $as_echo "$ac_cv_objext" >&6; }
3055 OBJEXT=$ac_cv_objext
3057 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3058 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3059 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3060 $as_echo_n "(cached) " >&6
3062 cat >conftest.$ac_ext <<_ACEOF
3065 cat confdefs.h >>conftest.$ac_ext
3066 cat >>conftest.$ac_ext <<_ACEOF
3067 /* end confdefs.h. */
3080 rm -f conftest.$ac_objext
3081 if { (ac_try="$ac_compile"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3087 $as_echo "$ac_try_echo") >&5
3088 (eval "$ac_compile") 2>conftest.er1
3090 grep -v '^
*+' conftest.er1 >conftest.err
3092 cat conftest.err >&5
3093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } && {
3095 test -z "$ac_c_werror_flag" ||
3096 test ! -s conftest.err
3097 } && test -s conftest.$ac_objext; then
3100 $as_echo "$as_me: failed program was:" >&5
3101 sed 's
/^
/|
/' conftest.$ac_ext >&5
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3110 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3112 if test $ac_compiler_gnu = yes; then
3117 ac_test_CFLAGS=${CFLAGS+set}
3118 ac_save_CFLAGS=$CFLAGS
3119 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3121 if test "${ac_cv_prog_cc_g+set}" = set; then
3122 $as_echo_n "(cached) " >&6
3124 ac_save_c_werror_flag=$ac_c_werror_flag
3125 ac_c_werror_flag=yes
3128 cat >conftest.$ac_ext <<_ACEOF
3131 cat confdefs.h >>conftest.$ac_ext
3132 cat >>conftest.$ac_ext <<_ACEOF
3133 /* end confdefs.h. */
3143 rm -f conftest.$ac_objext
3144 if { (ac_try="$ac_compile"
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3150 $as_echo "$ac_try_echo") >&5
3151 (eval "$ac_compile") 2>conftest.er1
3153 grep -v '^
*+' conftest.er1 >conftest.err
3155 cat conftest.err >&5
3156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); } && {
3158 test -z "$ac_c_werror_flag" ||
3159 test ! -s conftest.err
3160 } && test -s conftest.$ac_objext; then
3163 $as_echo "$as_me: failed program was:" >&5
3164 sed 's
/^
/|
/' conftest.$ac_ext >&5
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3182 rm -f conftest.$ac_objext
3183 if { (ac_try="$ac_compile"
3185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186 *) ac_try_echo=$ac_try;;
3188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3189 $as_echo "$ac_try_echo") >&5
3190 (eval "$ac_compile") 2>conftest.er1
3192 grep -v '^
*+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } && {
3197 test -z "$ac_c_werror_flag" ||
3198 test ! -s conftest.err
3199 } && test -s conftest.$ac_objext; then
3202 $as_echo "$as_me: failed program was:" >&5
3203 sed 's
/^
/|
/' conftest.$ac_ext >&5
3205 ac_c_werror_flag=$ac_save_c_werror_flag
3207 cat >conftest.$ac_ext <<_ACEOF
3210 cat confdefs.h >>conftest.$ac_ext
3211 cat >>conftest.$ac_ext <<_ACEOF
3212 /* end confdefs.h. */
3222 rm -f conftest.$ac_objext
3223 if { (ac_try="$ac_compile"
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3229 $as_echo "$ac_try_echo") >&5
3230 (eval "$ac_compile") 2>conftest.er1
3232 grep -v '^
*+' conftest.er1 >conftest.err
3234 cat conftest.err >&5
3235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236 (exit $ac_status); } && {
3237 test -z "$ac_c_werror_flag" ||
3238 test ! -s conftest.err
3239 } && test -s conftest.$ac_objext; then
3242 $as_echo "$as_me: failed program was:" >&5
3243 sed 's
/^
/|
/' conftest.$ac_ext >&5
3248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3255 ac_c_werror_flag=$ac_save_c_werror_flag
3257 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3258 $as_echo "$ac_cv_prog_cc_g" >&6; }
3259 if test "$ac_test_CFLAGS" = set; then
3260 CFLAGS=$ac_save_CFLAGS
3261 elif test $ac_cv_prog_cc_g = yes; then
3262 if test "$GCC" = yes; then
3268 if test "$GCC" = yes; then
3274 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3275 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3276 if test "${ac_cv_prog_cc_c89+set}" = set; then
3277 $as_echo_n "(cached) " >&6
3279 ac_cv_prog_cc_c89=no
3281 cat >conftest.$ac_ext <<_ACEOF
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3289 #include <sys/types.h>
3290 #include <sys/stat.h>
3291 /* Most of the following tests are stolen from RCS 5.7's src
/conf.sh.
*/
3292 struct buf
{ int x
; };
3293 FILE
* (*rcsopen
) (struct buf
*, struct stat
*, int
);
3294 static char
*e
(p
, i
)
3300 static char
*f
(char
* (*g
) (char
**, int
), char
**p
, ...
)
3305 s
= g
(p
, va_arg
(v
,int
));
3310 /* OSF
4.0 Compaq cc is some
sort of almost-ANSI by default. It has
3311 function prototypes and stuff
, but not
'\xHH' hex character constants.
3312 These don
't provoke an error unfortunately, instead are silently treated
3313 as 'x
'. The following induces an error, until -std is added to get
3314 proper ANSI mode. Curiously '\x00'!='x
' always comes out true, for an
3315 array size at least. It's necessary to
write '\x00'==0 to get something
3316 that
's true only with -std. */
3317 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3319 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3320 inside strings and character constants. */
3322 int xlc6_cc_array[FOO(a) == 'x
' ? 1 : -1];
3324 int test (int i, double x);
3325 struct s1 {int (*f) (int a);};
3326 struct s2 {int (*f) (double a);};
3327 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3333 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3338 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3339 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3341 CC="$ac_save_CC $ac_arg"
3342 rm -f conftest.$ac_objext
3343 if { (ac_try="$ac_compile"
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3349 $as_echo "$ac_try_echo") >&5
3350 (eval "$ac_compile") 2>conftest.er1
3352 grep -v '^
*+' conftest.er1 >conftest.err
3354 cat conftest.err >&5
3355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); } && {
3357 test -z "$ac_c_werror_flag" ||
3358 test ! -s conftest.err
3359 } && test -s conftest.$ac_objext; then
3360 ac_cv_prog_cc_c89=$ac_arg
3362 $as_echo "$as_me: failed program was:" >&5
3363 sed 's
/^
/|
/' conftest.$ac_ext >&5
3368 rm -f core conftest.err conftest.$ac_objext
3369 test "x$ac_cv_prog_cc_c89" != "xno" && break
3371 rm -f conftest.$ac_ext
3376 case "x$ac_cv_prog_cc_c89" in
3378 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3379 $as_echo "none needed" >&6; } ;;
3381 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3382 $as_echo "unsupported" >&6; } ;;
3384 CC="$CC $ac_cv_prog_cc_c89"
3385 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3386 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3391 ac_cpp='$CPP $CPPFLAGS'
3392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3393 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3395 DEPDIR="${am__leading_dot}deps"
3397 ac_config_commands="$ac_config_commands depfiles"
3400 am_make=${MAKE-make}
3401 cat > confinc << 'END
'
3406 # If we don't
find an include directive
, just comment out the code.
3407 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3408 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3412 # First try GNU make style include.
3413 echo "include confinc" > confmf
3414 # We grep out `Entering directory' and `Leaving directory'
3415 # messages which can occur if `w' ends up in MAKEFLAGS.
3416 # In particular we don't look at `^make:' because GNU make might
3417 # be invoked under some other name (usually "gmake"), in which
3418 # case it prints its new name instead of `make'.
3419 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3424 # Now try BSD make style include.
3425 if test "$am__include" = "#"; then
3426 echo '.include "confinc"' > confmf
3427 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3428 am__include
=.include
3435 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3436 $as_echo "$_am_result" >&6; }
3437 rm -f confinc confmf
3439 # Check whether --enable-dependency-tracking was given.
3440 if test "${enable_dependency_tracking+set}" = set; then
3441 enableval
=$enable_dependency_tracking;
3444 if test "x$enable_dependency_tracking" != xno
; then
3445 am_depcomp
="$ac_aux_dir/depcomp"
3448 if test "x$enable_dependency_tracking" != xno; then
3458 depcc
="$CC" am_compiler_list
=
3460 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3461 $as_echo_n "checking dependency style of $depcc... " >&6; }
3462 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3463 $as_echo_n "(cached) " >&6
3465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3466 # We make a subdir and do the tests there. Otherwise we can end up
3467 # making bogus files that we don't know about and never remove. For
3468 # instance it was reported that on HP-UX the gcc test will end up
3469 # making a dummy file named `D' -- because `-MD' means `put the output
3472 # Copy depcomp to subdir because otherwise we won't find it if we're
3473 # using a relative directory.
3474 cp "$am_depcomp" conftest.dir
3476 # We will build objects and dependencies in a subdirectory because
3477 # it helps to detect inapplicable dependency modes. For instance
3478 # both Tru64's cc and ICC support -MD to output dependencies as a
3479 # side effect of compilation, but ICC will put the dependencies in
3480 # the current directory while Tru64 will put them in the object
3484 am_cv_CC_dependencies_compiler_type
=none
3485 if test "$am_compiler_list" = ""; then
3486 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3488 for depmode
in $am_compiler_list; do
3489 # Setup a source with many dependencies, because some compilers
3490 # like to wrap large dependency lists on column 80 (with \), and
3491 # we should not choose a depcomp mode which is confused by this.
3493 # We need to recreate these files for each test, as the compiler may
3494 # overwrite some of them when testing with obscure command lines.
3495 # This happens at least with the AIX C compiler.
3497 for i
in 1 2 3 4 5 6; do
3498 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3499 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3500 # Solaris 8's {/usr,}/bin/sh.
3501 touch sub
/conftst
$i.h
3503 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3507 # after this tag, mechanisms are not by side-effect, so they'll
3508 # only be used when explicitly requested
3509 if test "x$enable_dependency_tracking" = xyes
; then
3517 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3518 # mode. It turns out that the SunPro C++ compiler does not properly
3519 # handle `-M -o', and we need to detect this.
3520 if depmode
=$depmode \
3521 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3522 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3523 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3524 >/dev
/null
2>conftest.err
&&
3525 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3526 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3527 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3528 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3529 # icc doesn't choke on unknown options, it will just issue warnings
3530 # or remarks (even with -Werror). So we grep stderr for any message
3531 # that says an option was ignored or not supported.
3532 # When given -MP, icc 7.0 and 7.1 complain thusly:
3533 # icc: Command line warning: ignoring option '-M'; no argument required
3534 # The diagnosis changed in icc 8.0:
3535 # icc: Command line remark: option '-MP' not supported
3536 if (grep 'ignoring option' conftest.err ||
3537 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3538 am_cv_CC_dependencies_compiler_type
=$depmode
3547 am_cv_CC_dependencies_compiler_type
=none
3551 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3552 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3553 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3556 test "x$enable_dependency_tracking" != xno \
3557 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3559 am__fastdepCC_FALSE
='#'
3561 am__fastdepCC_TRUE
='#'
3562 am__fastdepCC_FALSE
=
3566 # <= autoconf 2.61 doesn't have AC_PROG_AR, but 2.63 has it. Not sure about
3569 if test -n "$ac_tool_prefix"; then
3570 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3571 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3572 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3573 $as_echo_n "checking for $ac_word... " >&6; }
3574 if test "${ac_cv_prog_AR+set}" = set; then
3575 $as_echo_n "(cached) " >&6
3577 if test -n "$AR"; then
3578 ac_cv_prog_AR
="$AR" # Let the user override the test.
3580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3584 test -z "$as_dir" && as_dir
=.
3585 for ac_exec_ext
in '' $ac_executable_extensions; do
3586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3587 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 if test -n "$AR"; then
3599 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3600 $as_echo "$AR" >&6; }
3602 { $as_echo "$as_me:$LINENO: result: no" >&5
3603 $as_echo "no" >&6; }
3608 if test -z "$ac_cv_prog_AR"; then
3610 # Extract the first word of "ar", so it can be a program name with args.
3611 set dummy
ar; ac_word
=$2
3612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 $as_echo_n "checking for $ac_word... " >&6; }
3614 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3615 $as_echo_n "(cached) " >&6
3617 if test -n "$ac_ct_AR"; then
3618 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir
=.
3625 for ac_exec_ext
in '' $ac_executable_extensions; do
3626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3627 ac_cv_prog_ac_ct_AR
="ar"
3628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3637 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3638 if test -n "$ac_ct_AR"; then
3639 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3640 $as_echo "$ac_ct_AR" >&6; }
3642 { $as_echo "$as_me:$LINENO: result: no" >&5
3643 $as_echo "no" >&6; }
3646 if test "x$ac_ct_AR" = x
; then
3649 case $cross_compiling:$ac_tool_warned in
3651 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3653 ac_tool_warned
=yes ;;
3662 for ac_prog
in flex
lex
3664 # Extract the first word of "$ac_prog", so it can be a program name with args.
3665 set dummy
$ac_prog; ac_word
=$2
3666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 $as_echo_n "checking for $ac_word... " >&6; }
3668 if test "${ac_cv_prog_LEX+set}" = set; then
3669 $as_echo_n "(cached) " >&6
3671 if test -n "$LEX"; then
3672 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_prog_LEX
="$ac_prog"
3682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 if test -n "$LEX"; then
3693 { $as_echo "$as_me:$LINENO: result: $LEX" >&5
3694 $as_echo "$LEX" >&6; }
3696 { $as_echo "$as_me:$LINENO: result: no" >&5
3697 $as_echo "no" >&6; }
3701 test -n "$LEX" && break
3703 test -n "$LEX" || LEX
=":"
3705 if test "x$LEX" != "x:"; then
3706 cat >conftest.l
<<_ACEOF
3712 e { yyless (input () != 0); }
3713 f { unput (yytext[0]); }
3714 . { BEGIN INITIAL; }
3716 #ifdef YYTEXT_POINTER
3717 extern char *yytext;
3722 return ! yylex () + ! yywrap ();
3725 { (ac_try
="$LEX conftest.l"
3727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3728 *) ac_try_echo=$ac_try;;
3730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3731 $as_echo "$ac_try_echo") >&5
3732 (eval "$LEX conftest.l") 2>&5
3734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735 (exit $ac_status); }
3736 { $as_echo "$as_me:$LINENO: checking lex output file root" >&5
3737 $as_echo_n "checking lex output file root... " >&6; }
3738 if test "${ac_cv_prog_lex_root+set}" = set; then
3739 $as_echo_n "(cached) " >&6
3742 if test -f lex.yy.c; then
3743 ac_cv_prog_lex_root=lex.yy
3744 elif test -f lexyy.c; then
3745 ac_cv_prog_lex_root=lexyy
3747 { { $as_echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3748 $as_echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3749 { (exit 1); exit 1; }; }
3752 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3753 $as_echo "$ac_cv_prog_lex_root" >&6; }
3754 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3756 if test -z "${LEXLIB+set}"; then
3757 { $as_echo "$as_me:$LINENO: checking lex library" >&5
3758 $as_echo_n "checking lex library... " >&6; }
3759 if test "${ac_cv_lib_lex+set}" = set; then
3760 $as_echo_n "(cached) " >&6
3764 ac_cv_lib_lex='none needed'
3765 for ac_lib in '' -lfl -ll; do
3766 LIBS="$ac_lib $ac_save_LIBS"
3767 cat >conftest.$ac_ext <<_ACEOF
3768 `cat $LEX_OUTPUT_ROOT.c
`
3770 rm -f conftest.$ac_objext conftest$ac_exeext
3771 if { (ac_try="$ac_link"
3773 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3774 *) ac_try_echo
=$ac_try;;
3776 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3777 $as_echo "$ac_try_echo") >&5
3778 (eval "$ac_link") 2>conftest.er1
3780 grep -v '^ *+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } && {
3785 test -z "$ac_c_werror_flag" ||
3786 test ! -s conftest.err
3787 } && test -s conftest
$ac_exeext && {
3788 test "$cross_compiling" = yes ||
3789 $as_test_x conftest
$ac_exeext
3791 ac_cv_lib_lex
=$ac_lib
3793 $as_echo "$as_me: failed program was:" >&5
3794 sed 's/^/| /' conftest.
$ac_ext >&5
3799 rm -rf conftest.dSYM
3800 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
3801 conftest
$ac_exeext conftest.
$ac_ext
3802 test "$ac_cv_lib_lex" != 'none needed' && break
3807 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
3808 $as_echo "$ac_cv_lib_lex" >&6; }
3809 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
3813 { $as_echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3814 $as_echo_n "checking whether yytext is a pointer... " >&6; }
3815 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3816 $as_echo_n "(cached) " >&6
3818 # POSIX says lex can declare yytext either as a pointer or an array; the
3819 # default is implementation-dependent. Figure out which it is, since
3820 # not all implementations provide the %pointer and %array declarations.
3821 ac_cv_prog_lex_yytext_pointer
=no
3823 LIBS
="$LEXLIB $ac_save_LIBS"
3824 cat >conftest.
$ac_ext <<_ACEOF
3825 #define YYTEXT_POINTER 1
3826 `cat $LEX_OUTPUT_ROOT.c`
3828 rm -f conftest.
$ac_objext conftest
$ac_exeext
3829 if { (ac_try
="$ac_link"
3831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3832 *) ac_try_echo=$ac_try;;
3834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3835 $as_echo "$ac_try_echo") >&5
3836 (eval "$ac_link") 2>conftest.er1
3838 grep -v '^ *+' conftest.er1 >conftest.err
3840 cat conftest.err >&5
3841 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842 (exit $ac_status); } && {
3843 test -z "$ac_c_werror_flag" ||
3844 test ! -s conftest.err
3845 } && test -s conftest$ac_exeext && {
3846 test "$cross_compiling" = yes ||
3847 $as_test_x conftest$ac_exeext
3849 ac_cv_prog_lex_yytext_pointer=yes
3851 $as_echo "$as_me: failed program was:" >&5
3852 sed 's/^/| /' conftest.$ac_ext >&5
3857 rm -rf conftest.dSYM
3858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3859 conftest$ac_exeext conftest.$ac_ext
3863 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3864 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
3865 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3867 cat >>confdefs.h <<\_ACEOF
3868 #define YYTEXT_POINTER 1
3872 rm -f conftest.l $LEX_OUTPUT_ROOT.c
3875 if test -n "$ac_tool_prefix"; then
3876 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3877 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if test "${ac_cv_prog_RANLIB+set}" = set; then
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$RANLIB"; then
3884 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir=.
3891 for ac_exec_ext in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3894 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 RANLIB=$ac_cv_prog_RANLIB
3904 if test -n "$RANLIB"; then
3905 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
3906 $as_echo "$RANLIB" >&6; }
3908 { $as_echo "$as_me:$LINENO: result: no" >&5
3909 $as_echo "no" >&6; }
3914 if test -z "$ac_cv_prog_RANLIB"; then
3915 ac_ct_RANLIB=$RANLIB
3916 # Extract the first word of "ranlib", so it can be a program name with args.
3917 set dummy ranlib; ac_word=$2
3918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3919 $as_echo_n "checking for $ac_word... " >&6; }
3920 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3921 $as_echo_n "(cached) " >&6
3923 if test -n "$ac_ct_RANLIB"; then
3924 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir=.
3931 for ac_exec_ext in '' $ac_executable_extensions; do
3932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933 ac_cv_prog_ac_ct_RANLIB="ranlib"
3934 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3944 if test -n "$ac_ct_RANLIB"; then
3945 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3946 $as_echo "$ac_ct_RANLIB" >&6; }
3948 { $as_echo "$as_me:$LINENO: result: no" >&5
3949 $as_echo "no" >&6; }
3952 if test "x$ac_ct_RANLIB" = x; then
3955 case $cross_compiling:$ac_tool_warned in
3957 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3959 ac_tool_warned=yes ;;
3961 RANLIB=$ac_ct_RANLIB
3964 RANLIB="$ac_cv_prog_RANLIB"
3967 for ac_prog in 'bison -y' byacc
3969 # Extract the first word of "$ac_prog", so it can be a program name with args.
3970 set dummy $ac_prog; ac_word=$2
3971 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3972 $as_echo_n "checking for $ac_word... " >&6; }
3973 if test "${ac_cv_prog_YACC+set}" = set; then
3974 $as_echo_n "(cached) " >&6
3976 if test -n "$YACC"; then
3977 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3983 test -z "$as_dir" && as_dir=.
3984 for ac_exec_ext in '' $ac_executable_extensions; do
3985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3986 ac_cv_prog_YACC="$ac_prog"
3987 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 YACC=$ac_cv_prog_YACC
3997 if test -n "$YACC"; then
3998 { $as_echo "$as_me:$LINENO: result: $YACC" >&5
3999 $as_echo "$YACC" >&6; }
4001 { $as_echo "$as_me:$LINENO: result: no" >&5
4002 $as_echo "no" >&6; }
4006 test -n "$YACC" && break
4008 test -n "$YACC" || YACC="yacc"
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4019 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4020 # On Suns, sometimes $CPP names a directory.
4021 if test -n "$CPP" && test -d "$CPP"; then
4024 if test -z "$CPP"; then
4025 if test "${ac_cv_prog_CPP+set}" = set; then
4026 $as_echo_n "(cached) " >&6
4028 # Double quotes because CPP needs to be expanded
4029 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4032 for ac_c_preproc_warn_flag in '' yes
4034 # Use a header file that comes with gcc, so configuring glibc
4035 # with a fresh cross-compiler works.
4036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4037 # <limits.h> exists even on freestanding compilers.
4038 # On the NeXT, cc -E runs the code through the compiler's parser,
4039 # not just through cpp. "Syntax error" is here to catch this case.
4040 cat >conftest.$ac_ext <<_ACEOF
4043 cat confdefs.h >>conftest.$ac_ext
4044 cat >>conftest.$ac_ext <<_ACEOF
4045 /* end confdefs.h. */
4047 # include <limits.h>
4049 # include <assert.h>
4053 if { (ac_try="$ac_cpp conftest.$ac_ext"
4055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4056 *) ac_try_echo
=$ac_try;;
4058 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4059 $as_echo "$ac_try_echo") >&5
4060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4062 grep -v '^ *+' conftest.er1
>conftest.err
4064 cat conftest.err
>&5
4065 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066 (exit $ac_status); } >/dev
/null
&& {
4067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4068 test ! -s conftest.err
4072 $as_echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4075 # Broken: fails on valid input.
4079 rm -f conftest.err conftest.
$ac_ext
4081 # OK, works on sane cases. Now check whether nonexistent headers
4082 # can be detected and how.
4083 cat >conftest.
$ac_ext <<_ACEOF
4086 cat confdefs.h
>>conftest.
$ac_ext
4087 cat >>conftest.
$ac_ext <<_ACEOF
4088 /* end confdefs.h. */
4089 #include <ac_nonexistent.h>
4091 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4094 *) ac_try_echo=$ac_try;;
4096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4097 $as_echo "$ac_try_echo") >&5
4098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4100 grep -v '^ *+' conftest.er1 >conftest.err
4102 cat conftest.err >&5
4103 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); } >/dev/null && {
4105 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4106 test ! -s conftest.err
4108 # Broken: success on invalid input.
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.$ac_ext >&5
4114 # Passes both tests.
4119 rm -f conftest.err conftest.$ac_ext
4122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4123 rm -f conftest.err conftest.
$ac_ext
4124 if $ac_preproc_ok; then
4136 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4137 $as_echo "$CPP" >&6; }
4139 for ac_c_preproc_warn_flag
in '' yes
4141 # Use a header file that comes with gcc, so configuring glibc
4142 # with a fresh cross-compiler works.
4143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4144 # <limits.h> exists even on freestanding compilers.
4145 # On the NeXT, cc -E runs the code through the compiler's parser,
4146 # not just through cpp. "Syntax error" is here to catch this case.
4147 cat >conftest.
$ac_ext <<_ACEOF
4150 cat confdefs.h
>>conftest.
$ac_ext
4151 cat >>conftest.
$ac_ext <<_ACEOF
4152 /* end confdefs.h. */
4154 # include <limits.h>
4156 # include <assert.h>
4160 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4163 *) ac_try_echo=$ac_try;;
4165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4166 $as_echo "$ac_try_echo") >&5
4167 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4169 grep -v '^ *+' conftest.er1 >conftest.err
4171 cat conftest.err >&5
4172 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } >/dev/null && {
4174 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4175 test ! -s conftest.err
4179 $as_echo "$as_me: failed program was:" >&5
4180 sed 's/^/| /' conftest.$ac_ext >&5
4182 # Broken: fails on valid input.
4186 rm -f conftest.err conftest.$ac_ext
4188 # OK, works on sane cases. Now check whether nonexistent headers
4189 # can be detected and how.
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4196 #include <ac_nonexistent.h>
4198 if { (ac_try="$ac_cpp conftest.$ac_ext"
4200 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4201 *) ac_try_echo
=$ac_try;;
4203 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4204 $as_echo "$ac_try_echo") >&5
4205 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4207 grep -v '^ *+' conftest.er1
>conftest.err
4209 cat conftest.err
>&5
4210 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } >/dev
/null
&& {
4212 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4213 test ! -s conftest.err
4215 # Broken: success on invalid input.
4218 $as_echo "$as_me: failed program was:" >&5
4219 sed 's/^/| /' conftest.
$ac_ext >&5
4221 # Passes both tests.
4226 rm -f conftest.err conftest.
$ac_ext
4229 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4230 rm -f conftest.err conftest.
$ac_ext
4231 if $ac_preproc_ok; then
4234 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4237 See \`config.log' for more details." >&5
4238 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4239 See \`config.log' for more details." >&2;}
4240 { (exit 1); exit 1; }; }; }
4244 ac_cpp
='$CPP $CPPFLAGS'
4245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4250 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4251 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4252 if test "${ac_cv_path_GREP+set}" = set; then
4253 $as_echo_n "(cached) " >&6
4255 if test -z "$GREP"; then
4256 ac_path_GREP_found
=false
4257 # Loop through the user's path and test for each of PROGNAME-LIST
4258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4262 test -z "$as_dir" && as_dir
=.
4263 for ac_prog
in grep ggrep
; do
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4266 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4267 # Check for GNU ac_path_GREP and select it if it is found.
4268 # Check for GNU $ac_path_GREP
4269 case `"$ac_path_GREP" --version 2>&1` in
4271 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4274 $as_echo_n 0123456789 >"conftest.in"
4277 cat "conftest.in" "conftest.in" >"conftest.tmp"
4278 mv "conftest.tmp" "conftest.in"
4279 cp "conftest.in" "conftest.nl"
4280 $as_echo 'GREP' >> "conftest.nl"
4281 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4282 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4283 ac_count
=`expr $ac_count + 1`
4284 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4285 # Best one so far, save it but keep looking for a better one
4286 ac_cv_path_GREP
="$ac_path_GREP"
4287 ac_path_GREP_max
=$ac_count
4289 # 10*(2^10) chars as input seems more than enough
4290 test $ac_count -gt 10 && break
4292 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4295 $ac_path_GREP_found && break 3
4300 if test -z "$ac_cv_path_GREP"; then
4301 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4302 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4303 { (exit 1); exit 1; }; }
4306 ac_cv_path_GREP
=$GREP
4310 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4311 $as_echo "$ac_cv_path_GREP" >&6; }
4312 GREP
="$ac_cv_path_GREP"
4315 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4316 $as_echo_n "checking for egrep... " >&6; }
4317 if test "${ac_cv_path_EGREP+set}" = set; then
4318 $as_echo_n "(cached) " >&6
4320 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4321 then ac_cv_path_EGREP
="$GREP -E"
4323 if test -z "$EGREP"; then
4324 ac_path_EGREP_found
=false
4325 # Loop through the user's path and test for each of PROGNAME-LIST
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4327 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_prog
in egrep; do
4332 for ac_exec_ext
in '' $ac_executable_extensions; do
4333 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4334 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4335 # Check for GNU ac_path_EGREP and select it if it is found.
4336 # Check for GNU $ac_path_EGREP
4337 case `"$ac_path_EGREP" --version 2>&1` in
4339 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4342 $as_echo_n 0123456789 >"conftest.in"
4345 cat "conftest.in" "conftest.in" >"conftest.tmp"
4346 mv "conftest.tmp" "conftest.in"
4347 cp "conftest.in" "conftest.nl"
4348 $as_echo 'EGREP' >> "conftest.nl"
4349 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4350 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4351 ac_count
=`expr $ac_count + 1`
4352 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4353 # Best one so far, save it but keep looking for a better one
4354 ac_cv_path_EGREP
="$ac_path_EGREP"
4355 ac_path_EGREP_max
=$ac_count
4357 # 10*(2^10) chars as input seems more than enough
4358 test $ac_count -gt 10 && break
4360 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4363 $ac_path_EGREP_found && break 3
4368 if test -z "$ac_cv_path_EGREP"; then
4369 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4370 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4371 { (exit 1); exit 1; }; }
4374 ac_cv_path_EGREP
=$EGREP
4379 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4380 $as_echo "$ac_cv_path_EGREP" >&6; }
4381 EGREP
="$ac_cv_path_EGREP"
4384 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4385 $as_echo_n "checking for ANSI C header files... " >&6; }
4386 if test "${ac_cv_header_stdc+set}" = set; then
4387 $as_echo_n "(cached) " >&6
4389 cat >conftest.
$ac_ext <<_ACEOF
4392 cat confdefs.h
>>conftest.
$ac_ext
4393 cat >>conftest.
$ac_ext <<_ACEOF
4394 /* end confdefs.h. */
4408 rm -f conftest.
$ac_objext
4409 if { (ac_try
="$ac_compile"
4411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4415 $as_echo "$ac_try_echo") >&5
4416 (eval "$ac_compile") 2>conftest.er1
4418 grep -v '^ *+' conftest.er1 >conftest.err
4420 cat conftest.err >&5
4421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } && {
4423 test -z "$ac_c_werror_flag" ||
4424 test ! -s conftest.err
4425 } && test -s conftest.$ac_objext; then
4426 ac_cv_header_stdc=yes
4428 $as_echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4431 ac_cv_header_stdc=no
4434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4436 if test $ac_cv_header_stdc = yes; then
4437 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4438 cat >conftest.$ac_ext <<_ACEOF
4441 cat confdefs.h >>conftest.$ac_ext
4442 cat >>conftest.$ac_ext <<_ACEOF
4443 /* end confdefs.h. */
4447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4448 $EGREP "memchr" >/dev/null 2>&1; then
4451 ac_cv_header_stdc=no
4457 if test $ac_cv_header_stdc = yes; then
4458 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4459 cat >conftest.$ac_ext <<_ACEOF
4462 cat confdefs.h >>conftest.$ac_ext
4463 cat >>conftest.$ac_ext <<_ACEOF
4464 /* end confdefs.h. */
4468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4469 $EGREP "free" >/dev/null 2>&1; then
4472 ac_cv_header_stdc=no
4478 if test $ac_cv_header_stdc = yes; then
4479 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4480 if test "$cross_compiling" = yes; then
4483 cat >conftest.$ac_ext <<_ACEOF
4486 cat confdefs.h >>conftest.$ac_ext
4487 cat >>conftest.$ac_ext <<_ACEOF
4488 /* end confdefs.h. */
4491 #if ((' ' & 0x0FF) == 0x020)
4492 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4493 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4495 # define ISLOWER(c) \
4496 (('a' <= (c) && (c) <= 'i') \
4497 || ('j' <= (c) && (c) <= 'r') \
4498 || ('s' <= (c) && (c) <= 'z'))
4499 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4502 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4507 for (i = 0; i < 256; i++)
4508 if (XOR (islower (i), ISLOWER (i))
4509 || toupper (i) != TOUPPER (i))
4514 rm -f conftest$ac_exeext
4515 if { (ac_try="$ac_link"
4517 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4518 *) ac_try_echo
=$ac_try;;
4520 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4521 $as_echo "$ac_try_echo") >&5
4522 (eval "$ac_link") 2>&5
4524 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4526 { (case "(($ac_try" in
4527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4530 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4531 $as_echo "$ac_try_echo") >&5
4532 (eval "$ac_try") 2>&5
4534 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); }; }; then
4538 $as_echo "$as_me: program exited with status $ac_status" >&5
4539 $as_echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4543 ac_cv_header_stdc=no
4545 rm -rf conftest.dSYM
4546 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4552 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4553 $as_echo "$ac_cv_header_stdc" >&6; }
4554 if test $ac_cv_header_stdc = yes; then
4556 cat >>confdefs.h <<\_ACEOF
4557 #define STDC_HEADERS 1
4562 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4572 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4573 inttypes.h stdint.h unistd.h
4575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4576 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4577 $as_echo_n "checking for $ac_header... " >&6; }
4578 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4579 $as_echo_n "(cached) " >&6
4581 cat >conftest.$ac_ext <<_ACEOF
4584 cat confdefs.h >>conftest.$ac_ext
4585 cat >>conftest.$ac_ext <<_ACEOF
4586 /* end confdefs.h. */
4587 $ac_includes_default
4589 #include <$ac_header>
4591 rm -f conftest.$ac_objext
4592 if { (ac_try="$ac_compile"
4594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4595 *) ac_try_echo
=$ac_try;;
4597 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4598 $as_echo "$ac_try_echo") >&5
4599 (eval "$ac_compile") 2>conftest.er1
4601 grep -v '^ *+' conftest.er1
>conftest.err
4603 cat conftest.err
>&5
4604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4605 (exit $ac_status); } && {
4606 test -z "$ac_c_werror_flag" ||
4607 test ! -s conftest.err
4608 } && test -s conftest.
$ac_objext; then
4609 eval "$as_ac_Header=yes"
4611 $as_echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 eval "$as_ac_Header=no"
4617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4619 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4620 $as_echo "$as_val"'`
4621 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4622 $as_echo "$ac_res" >&6; }
4623 as_val
=`eval 'as_val=${'$as_ac_Header'}
4624 $as_echo "$as_val"'`
4625 if test "x$as_val" = x
""yes; then
4626 cat >>confdefs.h
<<_ACEOF
4627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4639 for ac_header
in $ac_header_list
4641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4642 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4643 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4644 $as_echo_n "checking for $ac_header... " >&6; }
4645 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4646 $as_echo_n "(cached) " >&6
4648 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4649 $as_echo "$as_val"'`
4650 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4651 $as_echo "$ac_res" >&6; }
4653 # Is the header compilable?
4654 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4655 $as_echo_n "checking $ac_header usability... " >&6; }
4656 cat >conftest.
$ac_ext <<_ACEOF
4659 cat confdefs.h
>>conftest.
$ac_ext
4660 cat >>conftest.
$ac_ext <<_ACEOF
4661 /* end confdefs.h. */
4662 $ac_includes_default
4663 #include <$ac_header>
4665 rm -f conftest.
$ac_objext
4666 if { (ac_try
="$ac_compile"
4668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4669 *) ac_try_echo=$ac_try;;
4671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4672 $as_echo "$ac_try_echo") >&5
4673 (eval "$ac_compile") 2>conftest.er1
4675 grep -v '^ *+' conftest.er1 >conftest.err
4677 cat conftest.err >&5
4678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest.$ac_objext; then
4683 ac_header_compiler=yes
4685 $as_echo "$as_me: failed program was:" >&5
4686 sed 's/^/| /' conftest.$ac_ext >&5
4688 ac_header_compiler=no
4691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4692 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4693 $as_echo "$ac_header_compiler" >&6; }
4695 # Is the header present?
4696 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4697 $as_echo_n "checking $ac_header presence... " >&6; }
4698 cat >conftest.$ac_ext <<_ACEOF
4701 cat confdefs.h >>conftest.$ac_ext
4702 cat >>conftest.$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4704 #include <$ac_header>
4706 if { (ac_try="$ac_cpp conftest.$ac_ext"
4708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4709 *) ac_try_echo
=$ac_try;;
4711 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4712 $as_echo "$ac_try_echo") >&5
4713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4715 grep -v '^ *+' conftest.er1
>conftest.err
4717 cat conftest.err
>&5
4718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } >/dev
/null
&& {
4720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4721 test ! -s conftest.err
4723 ac_header_preproc
=yes
4725 $as_echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.
$ac_ext >&5
4728 ac_header_preproc
=no
4731 rm -f conftest.err conftest.
$ac_ext
4732 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4733 $as_echo "$ac_header_preproc" >&6; }
4735 # So? What about this header?
4736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4739 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4741 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4742 ac_header_preproc
=yes
4745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4746 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4748 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4750 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4752 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4754 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4756 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4758 ## ------------------------------------------------ ##
4759 ## Report this to ltp-results@lists.sourceforge.net ##
4760 ## ------------------------------------------------ ##
4762 ) |
sed "s/^/$as_me: WARNING: /" >&2
4765 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4766 $as_echo_n "checking for $ac_header... " >&6; }
4767 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4768 $as_echo_n "(cached) " >&6
4770 eval "$as_ac_Header=\$ac_header_preproc"
4772 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4773 $as_echo "$as_val"'`
4774 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4775 $as_echo "$ac_res" >&6; }
4778 as_val
=`eval 'as_val=${'$as_ac_Header'}
4779 $as_echo "$as_val"'`
4780 if test "x$as_val" = x
""yes; then
4781 cat >>confdefs.h
<<_ACEOF
4782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4842 # open_hpi_testsuite does NOT fit cleanly in the build. BLAH.
4843 #AC_CONFIG_SUBDIRS([ \
4844 # testcases/open_hpi_testsuite/ \
4845 # testcases/kernel/syscalls/pcllib/ \
4850 subdirs
="$subdirs testcases/kernel/syscalls/pcllib/"
4855 for ac_header
in sys
/capability.h
4857 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4858 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4859 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4860 $as_echo_n "checking for $ac_header... " >&6; }
4861 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4862 $as_echo_n "(cached) " >&6
4864 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4865 $as_echo "$as_val"'`
4866 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4867 $as_echo "$ac_res" >&6; }
4869 # Is the header compilable?
4870 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4871 $as_echo_n "checking $ac_header usability... " >&6; }
4872 cat >conftest.
$ac_ext <<_ACEOF
4875 cat confdefs.h
>>conftest.
$ac_ext
4876 cat >>conftest.
$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4878 $ac_includes_default
4879 #include <$ac_header>
4881 rm -f conftest.
$ac_objext
4882 if { (ac_try
="$ac_compile"
4884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4885 *) ac_try_echo=$ac_try;;
4887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4888 $as_echo "$ac_try_echo") >&5
4889 (eval "$ac_compile") 2>conftest.er1
4891 grep -v '^ *+' conftest.er1 >conftest.err
4893 cat conftest.err >&5
4894 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); } && {
4896 test -z "$ac_c_werror_flag" ||
4897 test ! -s conftest.err
4898 } && test -s conftest.$ac_objext; then
4899 ac_header_compiler=yes
4901 $as_echo "$as_me: failed program was:" >&5
4902 sed 's/^/| /' conftest.$ac_ext >&5
4904 ac_header_compiler=no
4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4908 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4909 $as_echo "$ac_header_compiler" >&6; }
4911 # Is the header present?
4912 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4913 $as_echo_n "checking $ac_header presence... " >&6; }
4914 cat >conftest.$ac_ext <<_ACEOF
4917 cat confdefs.h >>conftest.$ac_ext
4918 cat >>conftest.$ac_ext <<_ACEOF
4919 /* end confdefs.h. */
4920 #include <$ac_header>
4922 if { (ac_try="$ac_cpp conftest.$ac_ext"
4924 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4925 *) ac_try_echo
=$ac_try;;
4927 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4928 $as_echo "$ac_try_echo") >&5
4929 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4931 grep -v '^ *+' conftest.er1
>conftest.err
4933 cat conftest.err
>&5
4934 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935 (exit $ac_status); } >/dev
/null
&& {
4936 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4937 test ! -s conftest.err
4939 ac_header_preproc
=yes
4941 $as_echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4944 ac_header_preproc
=no
4947 rm -f conftest.err conftest.
$ac_ext
4948 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4949 $as_echo "$ac_header_preproc" >&6; }
4951 # So? What about this header?
4952 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4955 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4956 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4957 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4958 ac_header_preproc
=yes
4961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4962 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4963 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4964 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4965 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4966 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4967 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4968 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4969 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4970 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4971 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4972 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4974 ## ------------------------------------------------ ##
4975 ## Report this to ltp-results@lists.sourceforge.net ##
4976 ## ------------------------------------------------ ##
4978 ) |
sed "s/^/$as_me: WARNING: /" >&2
4981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4982 $as_echo_n "checking for $ac_header... " >&6; }
4983 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4984 $as_echo_n "(cached) " >&6
4986 eval "$as_ac_Header=\$ac_header_preproc"
4988 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4989 $as_echo "$as_val"'`
4990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4991 $as_echo "$ac_res" >&6; }
4994 as_val
=`eval 'as_val=${'$as_ac_Header'}
4995 $as_echo "$as_val"'`
4996 if test "x$as_val" = x
""yes; then
4997 cat >>confdefs.h
<<_ACEOF
4998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5002 for ac_header
in attr
/xattr.h
5004 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5005 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5006 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5007 $as_echo_n "checking for $ac_header... " >&6; }
5008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5009 $as_echo_n "(cached) " >&6
5011 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5012 $as_echo "$as_val"'`
5013 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5014 $as_echo "$ac_res" >&6; }
5016 # Is the header compilable?
5017 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5018 $as_echo_n "checking $ac_header usability... " >&6; }
5019 cat >conftest.
$ac_ext <<_ACEOF
5022 cat confdefs.h
>>conftest.
$ac_ext
5023 cat >>conftest.
$ac_ext <<_ACEOF
5024 /* end confdefs.h. */
5025 $ac_includes_default
5026 #include <$ac_header>
5028 rm -f conftest.
$ac_objext
5029 if { (ac_try
="$ac_compile"
5031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5035 $as_echo "$ac_try_echo") >&5
5036 (eval "$ac_compile") 2>conftest.er1
5038 grep -v '^ *+' conftest.er1 >conftest.err
5040 cat conftest.err >&5
5041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); } && {
5043 test -z "$ac_c_werror_flag" ||
5044 test ! -s conftest.err
5045 } && test -s conftest.$ac_objext; then
5046 ac_header_compiler=yes
5048 $as_echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_header_compiler=no
5054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5055 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5056 $as_echo "$ac_header_compiler" >&6; }
5058 # Is the header present?
5059 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5060 $as_echo_n "checking $ac_header presence... " >&6; }
5061 cat >conftest.$ac_ext <<_ACEOF
5064 cat confdefs.h >>conftest.$ac_ext
5065 cat >>conftest.$ac_ext <<_ACEOF
5066 /* end confdefs.h. */
5067 #include <$ac_header>
5069 if { (ac_try="$ac_cpp conftest.$ac_ext"
5071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5072 *) ac_try_echo
=$ac_try;;
5074 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5075 $as_echo "$ac_try_echo") >&5
5076 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5078 grep -v '^ *+' conftest.er1
>conftest.err
5080 cat conftest.err
>&5
5081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); } >/dev
/null
&& {
5083 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5084 test ! -s conftest.err
5086 ac_header_preproc
=yes
5088 $as_echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 ac_header_preproc
=no
5094 rm -f conftest.err conftest.
$ac_ext
5095 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5096 $as_echo "$ac_header_preproc" >&6; }
5098 # So? What about this header?
5099 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5101 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5102 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5103 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5104 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5105 ac_header_preproc
=yes
5108 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5109 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5110 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5111 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5112 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5113 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5114 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5115 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5117 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5119 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5121 ## ------------------------------------------------ ##
5122 ## Report this to ltp-results@lists.sourceforge.net ##
5123 ## ------------------------------------------------ ##
5125 ) |
sed "s/^/$as_me: WARNING: /" >&2
5128 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5129 $as_echo_n "checking for $ac_header... " >&6; }
5130 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5131 $as_echo_n "(cached) " >&6
5133 eval "$as_ac_Header=\$ac_header_preproc"
5135 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5136 $as_echo "$as_val"'`
5137 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5138 $as_echo "$ac_res" >&6; }
5141 as_val
=`eval 'as_val=${'$as_ac_Header'}
5142 $as_echo "$as_val"'`
5143 if test "x$as_val" = x
""yes; then
5144 cat >>confdefs.h
<<_ACEOF
5145 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5152 LTP_CAPABILITY_SUPPORT
=yes
5153 { $as_echo "$as_me:$LINENO: checking for cap_free in -lcap" >&5
5154 $as_echo_n "checking for cap_free in -lcap... " >&6; }
5155 if test "${ac_cv_lib_cap_cap_free+set}" = set; then
5156 $as_echo_n "(cached) " >&6
5158 ac_check_lib_save_LIBS
=$LIBS
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5167 /* Override any GCC internal prototype to avoid an error.
5168 Use char because int might match the return type of a GCC
5169 builtin and then its argument prototype would still apply. */
5182 rm -f conftest.
$ac_objext conftest
$ac_exeext
5183 if { (ac_try
="$ac_link"
5185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5186 *) ac_try_echo=$ac_try;;
5188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5189 $as_echo "$ac_try_echo") >&5
5190 (eval "$ac_link") 2>conftest.er1
5192 grep -v '^ *+' conftest.er1 >conftest.err
5194 cat conftest.err >&5
5195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); } && {
5197 test -z "$ac_c_werror_flag" ||
5198 test ! -s conftest.err
5199 } && test -s conftest$ac_exeext && {
5200 test "$cross_compiling" = yes ||
5201 $as_test_x conftest$ac_exeext
5203 ac_cv_lib_cap_cap_free=yes
5205 $as_echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5208 ac_cv_lib_cap_cap_free=no
5211 rm -rf conftest.dSYM
5212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5213 conftest$ac_exeext conftest.$ac_ext
5214 LIBS=$ac_check_lib_save_LIBS
5216 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_free" >&5
5217 $as_echo "$ac_cv_lib_cap_cap_free" >&6; }
5218 if test "x$ac_cv_lib_cap_cap_free" = x""yes; then
5220 { $as_echo "$as_me:$LINENO: checking for cap_from_text in -lcap" >&5
5221 $as_echo_n "checking for cap_from_text in -lcap... " >&6; }
5222 if test "${ac_cv_lib_cap_cap_from_text+set}" = set; then
5223 $as_echo_n "(cached) " >&6
5225 ac_check_lib_save_LIBS=$LIBS
5227 cat >conftest.$ac_ext <<_ACEOF
5230 cat confdefs.h >>conftest.$ac_ext
5231 cat >>conftest.$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5234 /* Override any GCC internal prototype to avoid an error.
5235 Use char because int might match the return type of a GCC
5236 builtin and then its argument prototype would still apply. */
5240 char cap_from_text ();
5244 return cap_from_text ();
5249 rm -f conftest.$ac_objext conftest$ac_exeext
5250 if { (ac_try="$ac_link"
5252 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5253 *) ac_try_echo
=$ac_try;;
5255 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5256 $as_echo "$ac_try_echo") >&5
5257 (eval "$ac_link") 2>conftest.er1
5259 grep -v '^ *+' conftest.er1
>conftest.err
5261 cat conftest.err
>&5
5262 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } && {
5264 test -z "$ac_c_werror_flag" ||
5265 test ! -s conftest.err
5266 } && test -s conftest
$ac_exeext && {
5267 test "$cross_compiling" = yes ||
5268 $as_test_x conftest
$ac_exeext
5270 ac_cv_lib_cap_cap_from_text
=yes
5272 $as_echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.
$ac_ext >&5
5275 ac_cv_lib_cap_cap_from_text
=no
5278 rm -rf conftest.dSYM
5279 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5280 conftest
$ac_exeext conftest.
$ac_ext
5281 LIBS
=$ac_check_lib_save_LIBS
5283 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_from_text" >&5
5284 $as_echo "$ac_cv_lib_cap_cap_from_text" >&6; }
5285 if test "x$ac_cv_lib_cap_cap_from_text" = x
""yes; then
5287 { $as_echo "$as_me:$LINENO: checking for cap_set_proc in -lcap" >&5
5288 $as_echo_n "checking for cap_set_proc in -lcap... " >&6; }
5289 if test "${ac_cv_lib_cap_cap_set_proc+set}" = set; then
5290 $as_echo_n "(cached) " >&6
5292 ac_check_lib_save_LIBS
=$LIBS
5294 cat >conftest.
$ac_ext <<_ACEOF
5297 cat confdefs.h
>>conftest.
$ac_ext
5298 cat >>conftest.
$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5301 /* Override any GCC internal prototype to avoid an error.
5302 Use char because int might match the return type of a GCC
5303 builtin and then its argument prototype would still apply. */
5307 char cap_set_proc ();
5311 return cap_set_proc ();
5316 rm -f conftest.
$ac_objext conftest
$ac_exeext
5317 if { (ac_try
="$ac_link"
5319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5320 *) ac_try_echo=$ac_try;;
5322 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5323 $as_echo "$ac_try_echo") >&5
5324 (eval "$ac_link") 2>conftest.er1
5326 grep -v '^ *+' conftest.er1 >conftest.err
5328 cat conftest.err >&5
5329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } && {
5331 test -z "$ac_c_werror_flag" ||
5332 test ! -s conftest.err
5333 } && test -s conftest$ac_exeext && {
5334 test "$cross_compiling" = yes ||
5335 $as_test_x conftest$ac_exeext
5337 ac_cv_lib_cap_cap_set_proc=yes
5339 $as_echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5342 ac_cv_lib_cap_cap_set_proc=no
5345 rm -rf conftest.dSYM
5346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5347 conftest$ac_exeext conftest.$ac_ext
5348 LIBS=$ac_check_lib_save_LIBS
5350 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_set_proc" >&5
5351 $as_echo "$ac_cv_lib_cap_cap_set_proc" >&6; }
5352 if test "x$ac_cv_lib_cap_cap_set_proc" = x""yes; then
5354 { $as_echo "$as_me:$LINENO: checking for cap_compare in -lcap" >&5
5355 $as_echo_n "checking for cap_compare in -lcap... " >&6; }
5356 if test "${ac_cv_lib_cap_cap_compare+set}" = set; then
5357 $as_echo_n "(cached) " >&6
5359 ac_check_lib_save_LIBS=$LIBS
5361 cat >conftest.$ac_ext <<_ACEOF
5364 cat confdefs.h >>conftest.$ac_ext
5365 cat >>conftest.$ac_ext <<_ACEOF
5366 /* end confdefs.h. */
5368 /* Override any GCC internal prototype to avoid an error.
5369 Use char because int might match the return type of a GCC
5370 builtin and then its argument prototype would still apply. */
5374 char cap_compare ();
5378 return cap_compare ();
5383 rm -f conftest.$ac_objext conftest$ac_exeext
5384 if { (ac_try="$ac_link"
5386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5387 *) ac_try_echo
=$ac_try;;
5389 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5390 $as_echo "$ac_try_echo") >&5
5391 (eval "$ac_link") 2>conftest.er1
5393 grep -v '^ *+' conftest.er1
>conftest.err
5395 cat conftest.err
>&5
5396 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } && {
5398 test -z "$ac_c_werror_flag" ||
5399 test ! -s conftest.err
5400 } && test -s conftest
$ac_exeext && {
5401 test "$cross_compiling" = yes ||
5402 $as_test_x conftest
$ac_exeext
5404 ac_cv_lib_cap_cap_compare
=yes
5406 $as_echo "$as_me: failed program was:" >&5
5407 sed 's/^/| /' conftest.
$ac_ext >&5
5409 ac_cv_lib_cap_cap_compare
=no
5412 rm -rf conftest.dSYM
5413 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5414 conftest
$ac_exeext conftest.
$ac_ext
5415 LIBS
=$ac_check_lib_save_LIBS
5417 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cap_cap_compare" >&5
5418 $as_echo "$ac_cv_lib_cap_cap_compare" >&6; }
5419 if test "x$ac_cv_lib_cap_cap_compare" = x
""yes; then
5434 { $as_echo "$as_me:$LINENO: checking whether CAP_BSET_DROP is declared" >&5
5435 $as_echo_n "checking whether CAP_BSET_DROP is declared... " >&6; }
5436 if test "${ac_cv_have_decl_CAP_BSET_DROP+set}" = set; then
5437 $as_echo_n "(cached) " >&6
5439 cat >conftest.
$ac_ext <<_ACEOF
5442 cat confdefs.h
>>conftest.
$ac_ext
5443 cat >>conftest.
$ac_ext <<_ACEOF
5444 /* end confdefs.h. */
5445 #include <sys/capability.h>
5451 #ifndef CAP_BSET_DROP
5452 (void) CAP_BSET_DROP;
5459 rm -f conftest.
$ac_objext
5460 if { (ac_try
="$ac_compile"
5462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5463 *) ac_try_echo=$ac_try;;
5465 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5466 $as_echo "$ac_try_echo") >&5
5467 (eval "$ac_compile") 2>conftest.er1
5469 grep -v '^ *+' conftest.er1 >conftest.err
5471 cat conftest.err >&5
5472 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); } && {
5474 test -z "$ac_c_werror_flag" ||
5475 test ! -s conftest.err
5476 } && test -s conftest.$ac_objext; then
5477 ac_cv_have_decl_CAP_BSET_DROP=yes
5479 $as_echo "$as_me: failed program was:" >&5
5480 sed 's/^/| /' conftest.$ac_ext >&5
5482 ac_cv_have_decl_CAP_BSET_DROP=no
5485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5487 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_CAP_BSET_DROP" >&5
5488 $as_echo "$ac_cv_have_decl_CAP_BSET_DROP" >&6; }
5489 if test "x$ac_cv_have_decl_CAP_BSET_DROP" = x""yes; then
5491 cat >>confdefs.h <<_ACEOF
5492 #define HAVE_DECL_CAP_BSET_DROP 1
5497 cat >>confdefs.h <<_ACEOF
5498 #define HAVE_DECL_CAP_BSET_DROP 0
5503 { $as_echo "$as_me:$LINENO: checking whether CAP_BSET_READ is declared" >&5
5504 $as_echo_n "checking whether CAP_BSET_READ is declared... " >&6; }
5505 if test "${ac_cv_have_decl_CAP_BSET_READ+set}" = set; then
5506 $as_echo_n "(cached) " >&6
5508 cat >conftest.$ac_ext <<_ACEOF
5511 cat confdefs.h >>conftest.$ac_ext
5512 cat >>conftest.$ac_ext <<_ACEOF
5513 /* end confdefs.h. */
5514 #include <sys/capability.h>
5520 #ifndef CAP_BSET_READ
5521 (void) CAP_BSET_READ;
5528 rm -f conftest.$ac_objext
5529 if { (ac_try="$ac_compile"
5531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5532 *) ac_try_echo
=$ac_try;;
5534 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5535 $as_echo "$ac_try_echo") >&5
5536 (eval "$ac_compile") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1
>conftest.err
5540 cat conftest.err
>&5
5541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } && {
5543 test -z "$ac_c_werror_flag" ||
5544 test ! -s conftest.err
5545 } && test -s conftest.
$ac_objext; then
5546 ac_cv_have_decl_CAP_BSET_READ
=yes
5548 $as_echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5551 ac_cv_have_decl_CAP_BSET_READ
=no
5554 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5556 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_CAP_BSET_READ" >&5
5557 $as_echo "$ac_cv_have_decl_CAP_BSET_READ" >&6; }
5558 if test "x$ac_cv_have_decl_CAP_BSET_READ" = x
""yes; then
5560 cat >>confdefs.h
<<_ACEOF
5561 #define HAVE_DECL_CAP_BSET_READ 1
5566 cat >>confdefs.h
<<_ACEOF
5567 #define HAVE_DECL_CAP_BSET_READ 0
5572 { $as_echo "$as_me:$LINENO: checking whether PR_CAPBSET_READ is declared" >&5
5573 $as_echo_n "checking whether PR_CAPBSET_READ is declared... " >&6; }
5574 if test "${ac_cv_have_decl_PR_CAPBSET_READ+set}" = set; then
5575 $as_echo_n "(cached) " >&6
5577 cat >conftest.
$ac_ext <<_ACEOF
5580 cat confdefs.h
>>conftest.
$ac_ext
5581 cat >>conftest.
$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5583 #include <sys/capability.h>
5589 #ifndef PR_CAPBSET_READ
5590 (void) PR_CAPBSET_READ;
5597 rm -f conftest.
$ac_objext
5598 if { (ac_try
="$ac_compile"
5600 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5601 *) ac_try_echo=$ac_try;;
5603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5604 $as_echo "$ac_try_echo") >&5
5605 (eval "$ac_compile") 2>conftest.er1
5607 grep -v '^ *+' conftest.er1 >conftest.err
5609 cat conftest.err >&5
5610 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); } && {
5612 test -z "$ac_c_werror_flag" ||
5613 test ! -s conftest.err
5614 } && test -s conftest.$ac_objext; then
5615 ac_cv_have_decl_PR_CAPBSET_READ=yes
5617 $as_echo "$as_me: failed program was:" >&5
5618 sed 's/^/| /' conftest.$ac_ext >&5
5620 ac_cv_have_decl_PR_CAPBSET_READ=no
5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5625 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_PR_CAPBSET_READ" >&5
5626 $as_echo "$ac_cv_have_decl_PR_CAPBSET_READ" >&6; }
5627 if test "x$ac_cv_have_decl_PR_CAPBSET_READ" = x""yes; then
5629 cat >>confdefs.h <<_ACEOF
5630 #define HAVE_DECL_PR_CAPBSET_READ 1
5635 cat >>confdefs.h <<_ACEOF
5636 #define HAVE_DECL_PR_CAPBSET_READ 0
5641 { $as_echo "$as_me:$LINENO: checking whether cap_compare is declared" >&5
5642 $as_echo_n "checking whether cap_compare is declared... " >&6; }
5643 if test "${ac_cv_have_decl_cap_compare+set}" = set; then
5644 $as_echo_n "(cached) " >&6
5646 cat >conftest.$ac_ext <<_ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 #include <sys/capability.h>
5666 rm -f conftest.$ac_objext
5667 if { (ac_try="$ac_compile"
5669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5670 *) ac_try_echo
=$ac_try;;
5672 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5673 $as_echo "$ac_try_echo") >&5
5674 (eval "$ac_compile") 2>conftest.er1
5676 grep -v '^ *+' conftest.er1
>conftest.err
5678 cat conftest.err
>&5
5679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); } && {
5681 test -z "$ac_c_werror_flag" ||
5682 test ! -s conftest.err
5683 } && test -s conftest.
$ac_objext; then
5684 ac_cv_have_decl_cap_compare
=yes
5686 $as_echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5689 ac_cv_have_decl_cap_compare
=no
5692 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5694 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_compare" >&5
5695 $as_echo "$ac_cv_have_decl_cap_compare" >&6; }
5696 if test "x$ac_cv_have_decl_cap_compare" = x
""yes; then
5698 cat >>confdefs.h
<<_ACEOF
5699 #define HAVE_DECL_CAP_COMPARE 1
5704 cat >>confdefs.h
<<_ACEOF
5705 #define HAVE_DECL_CAP_COMPARE 0
5710 { $as_echo "$as_me:$LINENO: checking whether cap_free is declared" >&5
5711 $as_echo_n "checking whether cap_free is declared... " >&6; }
5712 if test "${ac_cv_have_decl_cap_free+set}" = set; then
5713 $as_echo_n "(cached) " >&6
5715 cat >conftest.
$ac_ext <<_ACEOF
5718 cat confdefs.h
>>conftest.
$ac_ext
5719 cat >>conftest.
$ac_ext <<_ACEOF
5720 /* end confdefs.h. */
5721 #include <sys/capability.h>
5735 rm -f conftest.
$ac_objext
5736 if { (ac_try
="$ac_compile"
5738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5739 *) ac_try_echo=$ac_try;;
5741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5742 $as_echo "$ac_try_echo") >&5
5743 (eval "$ac_compile") 2>conftest.er1
5745 grep -v '^ *+' conftest.er1 >conftest.err
5747 cat conftest.err >&5
5748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } && {
5750 test -z "$ac_c_werror_flag" ||
5751 test ! -s conftest.err
5752 } && test -s conftest.$ac_objext; then
5753 ac_cv_have_decl_cap_free=yes
5755 $as_echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5758 ac_cv_have_decl_cap_free=no
5761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5763 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_free" >&5
5764 $as_echo "$ac_cv_have_decl_cap_free" >&6; }
5765 if test "x$ac_cv_have_decl_cap_free" = x""yes; then
5767 cat >>confdefs.h <<_ACEOF
5768 #define HAVE_DECL_CAP_FREE 1
5773 cat >>confdefs.h <<_ACEOF
5774 #define HAVE_DECL_CAP_FREE 0
5779 { $as_echo "$as_me:$LINENO: checking whether cap_from_text is declared" >&5
5780 $as_echo_n "checking whether cap_from_text is declared... " >&6; }
5781 if test "${ac_cv_have_decl_cap_from_text+set}" = set; then
5782 $as_echo_n "(cached) " >&6
5784 cat >conftest.$ac_ext <<_ACEOF
5787 cat confdefs.h >>conftest.$ac_ext
5788 cat >>conftest.$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5790 #include <sys/capability.h>
5796 #ifndef cap_from_text
5797 (void) cap_from_text;
5804 rm -f conftest.$ac_objext
5805 if { (ac_try="$ac_compile"
5807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5808 *) ac_try_echo
=$ac_try;;
5810 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5811 $as_echo "$ac_try_echo") >&5
5812 (eval "$ac_compile") 2>conftest.er1
5814 grep -v '^ *+' conftest.er1
>conftest.err
5816 cat conftest.err
>&5
5817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818 (exit $ac_status); } && {
5819 test -z "$ac_c_werror_flag" ||
5820 test ! -s conftest.err
5821 } && test -s conftest.
$ac_objext; then
5822 ac_cv_have_decl_cap_from_text
=yes
5824 $as_echo "$as_me: failed program was:" >&5
5825 sed 's/^/| /' conftest.
$ac_ext >&5
5827 ac_cv_have_decl_cap_from_text
=no
5830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5832 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_from_text" >&5
5833 $as_echo "$ac_cv_have_decl_cap_from_text" >&6; }
5834 if test "x$ac_cv_have_decl_cap_from_text" = x
""yes; then
5836 cat >>confdefs.h
<<_ACEOF
5837 #define HAVE_DECL_CAP_FROM_TEXT 1
5842 cat >>confdefs.h
<<_ACEOF
5843 #define HAVE_DECL_CAP_FROM_TEXT 0
5848 { $as_echo "$as_me:$LINENO: checking whether cap_get_proc is declared" >&5
5849 $as_echo_n "checking whether cap_get_proc is declared... " >&6; }
5850 if test "${ac_cv_have_decl_cap_get_proc+set}" = set; then
5851 $as_echo_n "(cached) " >&6
5853 cat >conftest.
$ac_ext <<_ACEOF
5856 cat confdefs.h
>>conftest.
$ac_ext
5857 cat >>conftest.
$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5859 #include <sys/capability.h>
5865 #ifndef cap_get_proc
5866 (void) cap_get_proc;
5873 rm -f conftest.
$ac_objext
5874 if { (ac_try
="$ac_compile"
5876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5877 *) ac_try_echo=$ac_try;;
5879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5880 $as_echo "$ac_try_echo") >&5
5881 (eval "$ac_compile") 2>conftest.er1
5883 grep -v '^ *+' conftest.er1 >conftest.err
5885 cat conftest.err >&5
5886 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } && {
5888 test -z "$ac_c_werror_flag" ||
5889 test ! -s conftest.err
5890 } && test -s conftest.$ac_objext; then
5891 ac_cv_have_decl_cap_get_proc=yes
5893 $as_echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.$ac_ext >&5
5896 ac_cv_have_decl_cap_get_proc=no
5899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5901 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_get_proc" >&5
5902 $as_echo "$ac_cv_have_decl_cap_get_proc" >&6; }
5903 if test "x$ac_cv_have_decl_cap_get_proc" = x""yes; then
5905 cat >>confdefs.h <<_ACEOF
5906 #define HAVE_DECL_CAP_GET_PROC 1
5911 cat >>confdefs.h <<_ACEOF
5912 #define HAVE_DECL_CAP_GET_PROC 0
5917 { $as_echo "$as_me:$LINENO: checking whether cap_set_file is declared" >&5
5918 $as_echo_n "checking whether cap_set_file is declared... " >&6; }
5919 if test "${ac_cv_have_decl_cap_set_file+set}" = set; then
5920 $as_echo_n "(cached) " >&6
5922 cat >conftest.$ac_ext <<_ACEOF
5925 cat confdefs.h >>conftest.$ac_ext
5926 cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5928 #include <sys/capability.h>
5934 #ifndef cap_set_file
5935 (void) cap_set_file;
5942 rm -f conftest.$ac_objext
5943 if { (ac_try="$ac_compile"
5945 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5946 *) ac_try_echo
=$ac_try;;
5948 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5949 $as_echo "$ac_try_echo") >&5
5950 (eval "$ac_compile") 2>conftest.er1
5952 grep -v '^ *+' conftest.er1
>conftest.err
5954 cat conftest.err
>&5
5955 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } && {
5957 test -z "$ac_c_werror_flag" ||
5958 test ! -s conftest.err
5959 } && test -s conftest.
$ac_objext; then
5960 ac_cv_have_decl_cap_set_file
=yes
5962 $as_echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.
$ac_ext >&5
5965 ac_cv_have_decl_cap_set_file
=no
5968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5970 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_set_file" >&5
5971 $as_echo "$ac_cv_have_decl_cap_set_file" >&6; }
5972 if test "x$ac_cv_have_decl_cap_set_file" = x
""yes; then
5974 cat >>confdefs.h
<<_ACEOF
5975 #define HAVE_DECL_CAP_SET_FILE 1
5980 cat >>confdefs.h
<<_ACEOF
5981 #define HAVE_DECL_CAP_SET_FILE 0
5986 { $as_echo "$as_me:$LINENO: checking whether cap_set_flag is declared" >&5
5987 $as_echo_n "checking whether cap_set_flag is declared... " >&6; }
5988 if test "${ac_cv_have_decl_cap_set_flag+set}" = set; then
5989 $as_echo_n "(cached) " >&6
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 #include <sys/capability.h>
6003 #ifndef cap_set_flag
6004 (void) cap_set_flag;
6011 rm -f conftest.
$ac_objext
6012 if { (ac_try
="$ac_compile"
6014 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6015 *) ac_try_echo=$ac_try;;
6017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6018 $as_echo "$ac_try_echo") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6021 grep -v '^ *+' conftest.er1 >conftest.err
6023 cat conftest.err >&5
6024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && {
6026 test -z "$ac_c_werror_flag" ||
6027 test ! -s conftest.err
6028 } && test -s conftest.$ac_objext; then
6029 ac_cv_have_decl_cap_set_flag=yes
6031 $as_echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_cv_have_decl_cap_set_flag=no
6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6039 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_set_flag" >&5
6040 $as_echo "$ac_cv_have_decl_cap_set_flag" >&6; }
6041 if test "x$ac_cv_have_decl_cap_set_flag" = x""yes; then
6043 cat >>confdefs.h <<_ACEOF
6044 #define HAVE_DECL_CAP_SET_FLAG 1
6049 cat >>confdefs.h <<_ACEOF
6050 #define HAVE_DECL_CAP_SET_FLAG 0
6055 { $as_echo "$as_me:$LINENO: checking whether cap_set_proc is declared" >&5
6056 $as_echo_n "checking whether cap_set_proc is declared... " >&6; }
6057 if test "${ac_cv_have_decl_cap_set_proc+set}" = set; then
6058 $as_echo_n "(cached) " >&6
6060 cat >conftest.$ac_ext <<_ACEOF
6063 cat confdefs.h >>conftest.$ac_ext
6064 cat >>conftest.$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 #include <sys/capability.h>
6072 #ifndef cap_set_proc
6073 (void) cap_set_proc;
6080 rm -f conftest.$ac_objext
6081 if { (ac_try="$ac_compile"
6083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6084 *) ac_try_echo
=$ac_try;;
6086 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6087 $as_echo "$ac_try_echo") >&5
6088 (eval "$ac_compile") 2>conftest.er1
6090 grep -v '^ *+' conftest.er1
>conftest.err
6092 cat conftest.err
>&5
6093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6094 (exit $ac_status); } && {
6095 test -z "$ac_c_werror_flag" ||
6096 test ! -s conftest.err
6097 } && test -s conftest.
$ac_objext; then
6098 ac_cv_have_decl_cap_set_proc
=yes
6100 $as_echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 ac_cv_have_decl_cap_set_proc
=no
6106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6108 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_set_proc" >&5
6109 $as_echo "$ac_cv_have_decl_cap_set_proc" >&6; }
6110 if test "x$ac_cv_have_decl_cap_set_proc" = x
""yes; then
6112 cat >>confdefs.h
<<_ACEOF
6113 #define HAVE_DECL_CAP_SET_PROC 1
6118 cat >>confdefs.h
<<_ACEOF
6119 #define HAVE_DECL_CAP_SET_PROC 0
6124 { $as_echo "$as_me:$LINENO: checking whether cap_to_text is declared" >&5
6125 $as_echo_n "checking whether cap_to_text is declared... " >&6; }
6126 if test "${ac_cv_have_decl_cap_to_text+set}" = set; then
6127 $as_echo_n "(cached) " >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6132 cat confdefs.h
>>conftest.
$ac_ext
6133 cat >>conftest.
$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 #include <sys/capability.h>
6149 rm -f conftest.
$ac_objext
6150 if { (ac_try
="$ac_compile"
6152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6153 *) ac_try_echo=$ac_try;;
6155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6156 $as_echo "$ac_try_echo") >&5
6157 (eval "$ac_compile") 2>conftest.er1
6159 grep -v '^ *+' conftest.er1 >conftest.err
6161 cat conftest.err >&5
6162 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest.$ac_objext; then
6167 ac_cv_have_decl_cap_to_text=yes
6169 $as_echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.$ac_ext >&5
6172 ac_cv_have_decl_cap_to_text=no
6175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6177 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_cap_to_text" >&5
6178 $as_echo "$ac_cv_have_decl_cap_to_text" >&6; }
6179 if test "x$ac_cv_have_decl_cap_to_text" = x""yes; then
6181 cat >>confdefs.h <<_ACEOF
6182 #define HAVE_DECL_CAP_TO_TEXT 1
6187 cat >>confdefs.h <<_ACEOF
6188 #define HAVE_DECL_CAP_TO_TEXT 0
6202 for ac_header in openssl/sha.h
6204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6205 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6206 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6207 $as_echo_n "checking for $ac_header... " >&6; }
6208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6209 $as_echo_n "(cached) " >&6
6211 ac_res=`eval 'as_val=${'$as_ac_Header'}
6212 $as_echo "$as_val"'`
6213 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6214 $as_echo "$ac_res" >&6; }
6216 # Is the header compilable?
6217 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6218 $as_echo_n "checking $ac_header usability... " >&6; }
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 $ac_includes_default
6226 #include <$ac_header>
6228 rm -f conftest.$ac_objext
6229 if { (ac_try="$ac_compile"
6231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6232 *) ac_try_echo
=$ac_try;;
6234 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6235 $as_echo "$ac_try_echo") >&5
6236 (eval "$ac_compile") 2>conftest.er1
6238 grep -v '^ *+' conftest.er1
>conftest.err
6240 cat conftest.err
>&5
6241 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6242 (exit $ac_status); } && {
6243 test -z "$ac_c_werror_flag" ||
6244 test ! -s conftest.err
6245 } && test -s conftest.
$ac_objext; then
6246 ac_header_compiler
=yes
6248 $as_echo "$as_me: failed program was:" >&5
6249 sed 's/^/| /' conftest.
$ac_ext >&5
6251 ac_header_compiler
=no
6254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6255 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6256 $as_echo "$ac_header_compiler" >&6; }
6258 # Is the header present?
6259 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6260 $as_echo_n "checking $ac_header presence... " >&6; }
6261 cat >conftest.
$ac_ext <<_ACEOF
6264 cat confdefs.h
>>conftest.
$ac_ext
6265 cat >>conftest.
$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6267 #include <$ac_header>
6269 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6272 *) ac_try_echo=$ac_try;;
6274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6275 $as_echo "$ac_try_echo") >&5
6276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6278 grep -v '^ *+' conftest.er1 >conftest.err
6280 cat conftest.err >&5
6281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6282 (exit $ac_status); } >/dev/null && {
6283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6284 test ! -s conftest.err
6286 ac_header_preproc=yes
6288 $as_echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.$ac_ext >&5
6291 ac_header_preproc=no
6294 rm -f conftest.err conftest.$ac_ext
6295 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6296 $as_echo "$ac_header_preproc" >&6; }
6298 # So? What about this header?
6299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6302 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6304 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6305 ac_header_preproc=yes
6308 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6309 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6310 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6311 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6312 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6313 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6314 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6315 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6316 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6317 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6319 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6321 ## ------------------------------------------------ ##
6322 ## Report this to ltp-results@lists.sourceforge.net ##
6323 ## ------------------------------------------------ ##
6325 ) | sed "s/^/$as_me: WARNING: /" >&2
6328 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6329 $as_echo_n "checking for $ac_header... " >&6; }
6330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6331 $as_echo_n "(cached) " >&6
6333 eval "$as_ac_Header=\$ac_header_preproc"
6335 ac_res=`eval 'as_val=${'$as_ac_Header'}
6336 $as_echo "$as_val"'`
6337 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6338 $as_echo "$ac_res" >&6; }
6341 as_val=`eval 'as_val=${'$as_ac_Header'}
6342 $as_echo "$as_val"'`
6343 if test "x$as_val" = x""yes; then
6344 cat >>confdefs.h <<_ACEOF
6345 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6347 CRYPTO_LIBS=-lcrypto
6358 for ac_header in linux/ptrace.h
6360 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6362 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6363 $as_echo_n "checking for $ac_header... " >&6; }
6364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6365 $as_echo_n "(cached) " >&6
6367 ac_res=`eval 'as_val=${'$as_ac_Header'}
6368 $as_echo "$as_val"'`
6369 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6370 $as_echo "$ac_res" >&6; }
6372 # Is the header compilable?
6373 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6374 $as_echo_n "checking $ac_header usability... " >&6; }
6375 cat >conftest.$ac_ext <<_ACEOF
6378 cat confdefs.h >>conftest.$ac_ext
6379 cat >>conftest.$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6381 $ac_includes_default
6382 #include <$ac_header>
6384 rm -f conftest.$ac_objext
6385 if { (ac_try="$ac_compile"
6387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6388 *) ac_try_echo
=$ac_try;;
6390 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6391 $as_echo "$ac_try_echo") >&5
6392 (eval "$ac_compile") 2>conftest.er1
6394 grep -v '^ *+' conftest.er1
>conftest.err
6396 cat conftest.err
>&5
6397 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } && {
6399 test -z "$ac_c_werror_flag" ||
6400 test ! -s conftest.err
6401 } && test -s conftest.
$ac_objext; then
6402 ac_header_compiler
=yes
6404 $as_echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.
$ac_ext >&5
6407 ac_header_compiler
=no
6410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6411 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6412 $as_echo "$ac_header_compiler" >&6; }
6414 # Is the header present?
6415 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6416 $as_echo_n "checking $ac_header presence... " >&6; }
6417 cat >conftest.
$ac_ext <<_ACEOF
6420 cat confdefs.h
>>conftest.
$ac_ext
6421 cat >>conftest.
$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 #include <$ac_header>
6425 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6428 *) ac_try_echo=$ac_try;;
6430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6431 $as_echo "$ac_try_echo") >&5
6432 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6434 grep -v '^ *+' conftest.er1 >conftest.err
6436 cat conftest.err >&5
6437 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6438 (exit $ac_status); } >/dev/null && {
6439 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6440 test ! -s conftest.err
6442 ac_header_preproc=yes
6444 $as_echo "$as_me: failed program was:" >&5
6445 sed 's/^/| /' conftest.$ac_ext >&5
6447 ac_header_preproc=no
6450 rm -f conftest.err conftest.$ac_ext
6451 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6452 $as_echo "$ac_header_preproc" >&6; }
6454 # So? What about this header?
6455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6457 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6458 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6459 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6460 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6461 ac_header_preproc=yes
6464 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6465 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6466 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6467 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6468 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6469 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6470 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6471 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6473 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6475 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6477 ## ------------------------------------------------ ##
6478 ## Report this to ltp-results@lists.sourceforge.net ##
6479 ## ------------------------------------------------ ##
6481 ) | sed "s/^/$as_me: WARNING: /" >&2
6484 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6485 $as_echo_n "checking for $ac_header... " >&6; }
6486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6487 $as_echo_n "(cached) " >&6
6489 eval "$as_ac_Header=\$ac_header_preproc"
6491 ac_res=`eval 'as_val=${'$as_ac_Header'}
6492 $as_echo "$as_val"'`
6493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6494 $as_echo "$ac_res" >&6; }
6497 as_val=`eval 'as_val=${'$as_ac_Header'}
6498 $as_echo "$as_val"'`
6499 if test "x$as_val" = x""yes; then
6500 cat >>confdefs.h <<_ACEOF
6501 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6504 LINUX_PTRACE_HEADER=yes
6505 { $as_echo "$as_me:$LINENO: checking whether PTRACE_GETSIGINFO is declared" >&5
6506 $as_echo_n "checking whether PTRACE_GETSIGINFO is declared... " >&6; }
6507 if test "${ac_cv_have_decl_PTRACE_GETSIGINFO+set}" = set; then
6508 $as_echo_n "(cached) " >&6
6510 cat >conftest.$ac_ext <<_ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 #include <linux/ptrace.h>
6522 #ifndef PTRACE_GETSIGINFO
6523 (void) PTRACE_GETSIGINFO;
6530 rm -f conftest.$ac_objext
6531 if { (ac_try="$ac_compile"
6533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6534 *) ac_try_echo
=$ac_try;;
6536 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6537 $as_echo "$ac_try_echo") >&5
6538 (eval "$ac_compile") 2>conftest.er1
6540 grep -v '^ *+' conftest.er1
>conftest.err
6542 cat conftest.err
>&5
6543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); } && {
6545 test -z "$ac_c_werror_flag" ||
6546 test ! -s conftest.err
6547 } && test -s conftest.
$ac_objext; then
6548 ac_cv_have_decl_PTRACE_GETSIGINFO
=yes
6550 $as_echo "$as_me: failed program was:" >&5
6551 sed 's/^/| /' conftest.
$ac_ext >&5
6553 ac_cv_have_decl_PTRACE_GETSIGINFO
=no
6556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6558 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_PTRACE_GETSIGINFO" >&5
6559 $as_echo "$ac_cv_have_decl_PTRACE_GETSIGINFO" >&6; }
6560 if test "x$ac_cv_have_decl_PTRACE_GETSIGINFO" = x
""yes; then
6562 cat >>confdefs.h
<<_ACEOF
6563 #define HAVE_DECL_PTRACE_GETSIGINFO 1
6568 cat >>confdefs.h
<<_ACEOF
6569 #define HAVE_DECL_PTRACE_GETSIGINFO 0
6574 { $as_echo "$as_me:$LINENO: checking whether PTRACE_O_TRACEVFORKDONE is declared" >&5
6575 $as_echo_n "checking whether PTRACE_O_TRACEVFORKDONE is declared... " >&6; }
6576 if test "${ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE+set}" = set; then
6577 $as_echo_n "(cached) " >&6
6579 cat >conftest.
$ac_ext <<_ACEOF
6582 cat confdefs.h
>>conftest.
$ac_ext
6583 cat >>conftest.
$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 #include <linux/ptrace.h>
6591 #ifndef PTRACE_O_TRACEVFORKDONE
6592 (void) PTRACE_O_TRACEVFORKDONE;
6599 rm -f conftest.
$ac_objext
6600 if { (ac_try
="$ac_compile"
6602 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6606 $as_echo "$ac_try_echo") >&5
6607 (eval "$ac_compile") 2>conftest.er1
6609 grep -v '^ *+' conftest.er1 >conftest.err
6611 cat conftest.err >&5
6612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } && {
6614 test -z "$ac_c_werror_flag" ||
6615 test ! -s conftest.err
6616 } && test -s conftest.$ac_objext; then
6617 ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE=yes
6619 $as_echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6622 ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE=no
6625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6627 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE" >&5
6628 $as_echo "$ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE" >&6; }
6629 if test "x$ac_cv_have_decl_PTRACE_O_TRACEVFORKDONE" = x""yes; then
6631 cat >>confdefs.h <<_ACEOF
6632 #define HAVE_DECL_PTRACE_O_TRACEVFORKDONE 1
6637 cat >>confdefs.h <<_ACEOF
6638 #define HAVE_DECL_PTRACE_O_TRACEVFORKDONE 0
6643 { $as_echo "$as_me:$LINENO: checking whether PTRACE_SETOPTIONS is declared" >&5
6644 $as_echo_n "checking whether PTRACE_SETOPTIONS is declared... " >&6; }
6645 if test "${ac_cv_have_decl_PTRACE_SETOPTIONS+set}" = set; then
6646 $as_echo_n "(cached) " >&6
6648 cat >conftest.$ac_ext <<_ACEOF
6651 cat confdefs.h >>conftest.$ac_ext
6652 cat >>conftest.$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 #include <linux/ptrace.h>
6660 #ifndef PTRACE_SETOPTIONS
6661 (void) PTRACE_SETOPTIONS;
6668 rm -f conftest.$ac_objext
6669 if { (ac_try="$ac_compile"
6671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6672 *) ac_try_echo
=$ac_try;;
6674 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6675 $as_echo "$ac_try_echo") >&5
6676 (eval "$ac_compile") 2>conftest.er1
6678 grep -v '^ *+' conftest.er1
>conftest.err
6680 cat conftest.err
>&5
6681 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); } && {
6683 test -z "$ac_c_werror_flag" ||
6684 test ! -s conftest.err
6685 } && test -s conftest.
$ac_objext; then
6686 ac_cv_have_decl_PTRACE_SETOPTIONS
=yes
6688 $as_echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.
$ac_ext >&5
6691 ac_cv_have_decl_PTRACE_SETOPTIONS
=no
6694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6696 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_PTRACE_SETOPTIONS" >&5
6697 $as_echo "$ac_cv_have_decl_PTRACE_SETOPTIONS" >&6; }
6698 if test "x$ac_cv_have_decl_PTRACE_SETOPTIONS" = x
""yes; then
6700 cat >>confdefs.h
<<_ACEOF
6701 #define HAVE_DECL_PTRACE_SETOPTIONS 1
6706 cat >>confdefs.h
<<_ACEOF
6707 #define HAVE_DECL_PTRACE_SETOPTIONS 0
6722 for ac_header
in selinux
/selinux.h
6724 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6725 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6726 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6727 $as_echo_n "checking for $ac_header... " >&6; }
6728 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6729 $as_echo_n "(cached) " >&6
6731 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6732 $as_echo "$as_val"'`
6733 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6734 $as_echo "$ac_res" >&6; }
6736 # Is the header compilable?
6737 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6738 $as_echo_n "checking $ac_header usability... " >&6; }
6739 cat >conftest.
$ac_ext <<_ACEOF
6742 cat confdefs.h
>>conftest.
$ac_ext
6743 cat >>conftest.
$ac_ext <<_ACEOF
6744 /* end confdefs.h. */
6745 $ac_includes_default
6746 #include <$ac_header>
6748 rm -f conftest.
$ac_objext
6749 if { (ac_try
="$ac_compile"
6751 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6752 *) ac_try_echo=$ac_try;;
6754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6755 $as_echo "$ac_try_echo") >&5
6756 (eval "$ac_compile") 2>conftest.er1
6758 grep -v '^ *+' conftest.er1 >conftest.err
6760 cat conftest.err >&5
6761 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } && {
6763 test -z "$ac_c_werror_flag" ||
6764 test ! -s conftest.err
6765 } && test -s conftest.$ac_objext; then
6766 ac_header_compiler=yes
6768 $as_echo "$as_me: failed program was:" >&5
6769 sed 's/^/| /' conftest.$ac_ext >&5
6771 ac_header_compiler=no
6774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6776 $as_echo "$ac_header_compiler" >&6; }
6778 # Is the header present?
6779 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6780 $as_echo_n "checking $ac_header presence... " >&6; }
6781 cat >conftest.$ac_ext <<_ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 #include <$ac_header>
6789 if { (ac_try="$ac_cpp conftest.$ac_ext"
6791 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6792 *) ac_try_echo
=$ac_try;;
6794 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6795 $as_echo "$ac_try_echo") >&5
6796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6798 grep -v '^ *+' conftest.er1
>conftest.err
6800 cat conftest.err
>&5
6801 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6802 (exit $ac_status); } >/dev
/null
&& {
6803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6804 test ! -s conftest.err
6806 ac_header_preproc
=yes
6808 $as_echo "$as_me: failed program was:" >&5
6809 sed 's/^/| /' conftest.
$ac_ext >&5
6811 ac_header_preproc
=no
6814 rm -f conftest.err conftest.
$ac_ext
6815 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6816 $as_echo "$ac_header_preproc" >&6; }
6818 # So? What about this header?
6819 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6822 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6824 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6825 ac_header_preproc
=yes
6828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6829 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6830 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6831 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6832 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6833 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6834 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6835 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6836 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6837 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6838 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6839 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6841 ## ------------------------------------------------ ##
6842 ## Report this to ltp-results@lists.sourceforge.net ##
6843 ## ------------------------------------------------ ##
6845 ) |
sed "s/^/$as_me: WARNING: /" >&2
6848 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6849 $as_echo_n "checking for $ac_header... " >&6; }
6850 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6851 $as_echo_n "(cached) " >&6
6853 eval "$as_ac_Header=\$ac_header_preproc"
6855 ac_res
=`eval 'as_val=${'$as_ac_Header'}
6856 $as_echo "$as_val"'`
6857 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6858 $as_echo "$ac_res" >&6; }
6861 as_val
=`eval 'as_val=${'$as_ac_Header'}
6862 $as_echo "$as_val"'`
6863 if test "x$as_val" = x
""yes; then
6864 cat >>confdefs.h
<<_ACEOF
6865 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6868 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
6869 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
6870 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
6871 $as_echo_n "(cached) " >&6
6873 ac_check_lib_save_LIBS
=$LIBS
6874 LIBS
="-lselinux $LIBS"
6875 cat >conftest.
$ac_ext <<_ACEOF
6878 cat confdefs.h
>>conftest.
$ac_ext
6879 cat >>conftest.
$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6882 /* Override any GCC internal prototype to avoid an error.
6883 Use char because int might match the return type of a GCC
6884 builtin and then its argument prototype would still apply. */
6888 char is_selinux_enabled ();
6892 return is_selinux_enabled ();
6897 rm -f conftest.
$ac_objext conftest
$ac_exeext
6898 if { (ac_try
="$ac_link"
6900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6901 *) ac_try_echo=$ac_try;;
6903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6904 $as_echo "$ac_try_echo") >&5
6905 (eval "$ac_link") 2>conftest.er1
6907 grep -v '^ *+' conftest.er1 >conftest.err
6909 cat conftest.err >&5
6910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && {
6912 test -z "$ac_c_werror_flag" ||
6913 test ! -s conftest.err
6914 } && test -s conftest$ac_exeext && {
6915 test "$cross_compiling" = yes ||
6916 $as_test_x conftest$ac_exeext
6918 ac_cv_lib_selinux_is_selinux_enabled=yes
6920 $as_echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.$ac_ext >&5
6923 ac_cv_lib_selinux_is_selinux_enabled=no
6926 rm -rf conftest.dSYM
6927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6928 conftest$ac_exeext conftest.$ac_ext
6929 LIBS=$ac_check_lib_save_LIBS
6931 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
6932 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
6933 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then
6935 cat >>confdefs.h <<\_ACEOF
6936 #define HAVE_LIBSELINUX_DEVEL 1
6938 SELINUX_LIBS="-lselinux"
6955 for ac_header in libaio.h
6957 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6959 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6960 $as_echo_n "checking for $ac_header... " >&6; }
6961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6962 $as_echo_n "(cached) " >&6
6964 ac_res=`eval 'as_val=${'$as_ac_Header'}
6965 $as_echo "$as_val"'`
6966 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6967 $as_echo "$ac_res" >&6; }
6969 # Is the header compilable?
6970 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6971 $as_echo_n "checking $ac_header usability... " >&6; }
6972 cat >conftest.$ac_ext <<_ACEOF
6975 cat confdefs.h >>conftest.$ac_ext
6976 cat >>conftest.$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6978 $ac_includes_default
6979 #include <$ac_header>
6981 rm -f conftest.$ac_objext
6982 if { (ac_try="$ac_compile"
6984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6985 *) ac_try_echo
=$ac_try;;
6987 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6988 $as_echo "$ac_try_echo") >&5
6989 (eval "$ac_compile") 2>conftest.er1
6991 grep -v '^ *+' conftest.er1
>conftest.err
6993 cat conftest.err
>&5
6994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6995 (exit $ac_status); } && {
6996 test -z "$ac_c_werror_flag" ||
6997 test ! -s conftest.err
6998 } && test -s conftest.
$ac_objext; then
6999 ac_header_compiler
=yes
7001 $as_echo "$as_me: failed program was:" >&5
7002 sed 's/^/| /' conftest.
$ac_ext >&5
7004 ac_header_compiler
=no
7007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7008 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7009 $as_echo "$ac_header_compiler" >&6; }
7011 # Is the header present?
7012 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7013 $as_echo_n "checking $ac_header presence... " >&6; }
7014 cat >conftest.
$ac_ext <<_ACEOF
7017 cat confdefs.h
>>conftest.
$ac_ext
7018 cat >>conftest.
$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 #include <$ac_header>
7022 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7024 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7025 *) ac_try_echo=$ac_try;;
7027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7028 $as_echo "$ac_try_echo") >&5
7029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7031 grep -v '^ *+' conftest.er1 >conftest.err
7033 cat conftest.err >&5
7034 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } >/dev/null && {
7036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7037 test ! -s conftest.err
7039 ac_header_preproc=yes
7041 $as_echo "$as_me: failed program was:" >&5
7042 sed 's/^/| /' conftest.$ac_ext >&5
7044 ac_header_preproc=no
7047 rm -f conftest.err conftest.$ac_ext
7048 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7049 $as_echo "$ac_header_preproc" >&6; }
7051 # So? What about this header?
7052 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7054 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7055 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7056 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7057 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7058 ac_header_preproc=yes
7061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7062 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7064 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7065 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7066 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7067 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7068 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7069 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7070 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7071 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7072 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7074 ## ------------------------------------------------ ##
7075 ## Report this to ltp-results@lists.sourceforge.net ##
7076 ## ------------------------------------------------ ##
7078 ) | sed "s/^/$as_me: WARNING: /" >&2
7081 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7082 $as_echo_n "checking for $ac_header... " >&6; }
7083 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7084 $as_echo_n "(cached) " >&6
7086 eval "$as_ac_Header=\$ac_header_preproc"
7088 ac_res=`eval 'as_val=${'$as_ac_Header'}
7089 $as_echo "$as_val"'`
7090 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7091 $as_echo "$ac_res" >&6; }
7094 as_val=`eval 'as_val=${'$as_ac_Header'}
7095 $as_echo "$as_val"'`
7096 if test "x$as_val" = x""yes; then
7097 cat >>confdefs.h <<_ACEOF
7098 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7101 { $as_echo "$as_me:$LINENO: checking for io_setup in -laio" >&5
7102 $as_echo_n "checking for io_setup in -laio... " >&6; }
7103 if test "${ac_cv_lib_aio_io_setup+set}" = set; then
7104 $as_echo_n "(cached) " >&6
7106 ac_check_lib_save_LIBS=$LIBS
7108 cat >conftest.$ac_ext <<_ACEOF
7111 cat confdefs.h >>conftest.$ac_ext
7112 cat >>conftest.$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7115 /* Override any GCC internal prototype to avoid an error.
7116 Use char because int might match the return type of a GCC
7117 builtin and then its argument prototype would still apply. */
7130 rm -f conftest.$ac_objext conftest$ac_exeext
7131 if { (ac_try="$ac_link"
7133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7134 *) ac_try_echo
=$ac_try;;
7136 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7137 $as_echo "$ac_try_echo") >&5
7138 (eval "$ac_link") 2>conftest.er1
7140 grep -v '^ *+' conftest.er1
>conftest.err
7142 cat conftest.err
>&5
7143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } && {
7145 test -z "$ac_c_werror_flag" ||
7146 test ! -s conftest.err
7147 } && test -s conftest
$ac_exeext && {
7148 test "$cross_compiling" = yes ||
7149 $as_test_x conftest
$ac_exeext
7151 ac_cv_lib_aio_io_setup
=yes
7153 $as_echo "$as_me: failed program was:" >&5
7154 sed 's/^/| /' conftest.
$ac_ext >&5
7156 ac_cv_lib_aio_io_setup
=no
7159 rm -rf conftest.dSYM
7160 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7161 conftest
$ac_exeext conftest.
$ac_ext
7162 LIBS
=$ac_check_lib_save_LIBS
7164 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_aio_io_setup" >&5
7165 $as_echo "$ac_cv_lib_aio_io_setup" >&6; }
7166 if test "x$ac_cv_lib_aio_io_setup" = x
""yes; then
7169 { $as_echo "$as_me:$LINENO: checking io_set_eventfd is defined in aio library or aio header" >&5
7170 $as_echo_n "checking io_set_eventfd is defined in aio library or aio header... " >&6; }
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7183 io_set_eventfd(NULL, 0); return 0;
7189 rm -f conftest.
$ac_objext conftest
$ac_exeext
7190 if { (ac_try
="$ac_link"
7192 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7193 *) ac_try_echo=$ac_try;;
7195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7196 $as_echo "$ac_try_echo") >&5
7197 (eval "$ac_link") 2>conftest.er1
7199 grep -v '^ *+' conftest.er1 >conftest.err
7201 cat conftest.err >&5
7202 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7203 (exit $ac_status); } && {
7204 test -z "$ac_c_werror_flag" ||
7205 test ! -s conftest.err
7206 } && test -s conftest$ac_exeext && {
7207 test "$cross_compiling" = yes ||
7208 $as_test_x conftest$ac_exeext
7210 cat >>confdefs.h <<\_ACEOF
7211 #define HAVE_IO_SET_EVENTFD 1
7214 { $as_echo "$as_me:$LINENO: result: yes" >&5
7215 $as_echo "yes" >&6; }
7217 $as_echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.$ac_ext >&5
7220 { $as_echo "$as_me:$LINENO: result: no" >&5
7221 $as_echo "no" >&6; }
7224 rm -rf conftest.dSYM
7225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7226 conftest$ac_exeext conftest.$ac_ext
7238 for ac_func in modify_ldt
7240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7241 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7242 $as_echo_n "checking for $ac_func... " >&6; }
7243 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7244 $as_echo_n "(cached) " >&6
7246 cat >conftest.$ac_ext <<_ACEOF
7249 cat confdefs.h >>conftest.$ac_ext
7250 cat >>conftest.$ac_ext <<_ACEOF
7251 /* end confdefs.h. */
7252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7254 #define $ac_func innocuous_$ac_func
7256 /* System header to define __stub macros and hopefully few prototypes,
7257 which can conflict with char $ac_func (); below.
7258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7259 <limits.h> exists even on freestanding compilers. */
7262 # include <limits.h>
7264 # include <assert.h>
7269 /* Override any GCC internal prototype to avoid an error.
7270 Use char because int might match the return type of a GCC
7271 builtin and then its argument prototype would still apply. */
7276 /* The GNU C library defines this for functions which it implements
7277 to always fail with ENOSYS. Some functions are actually named
7278 something starting with __ and the normal name is an alias. */
7279 #if defined __stub_$ac_func || defined __stub___$ac_func
7291 rm -f conftest.$ac_objext conftest$ac_exeext
7292 if { (ac_try="$ac_link"
7294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7295 *) ac_try_echo
=$ac_try;;
7297 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7298 $as_echo "$ac_try_echo") >&5
7299 (eval "$ac_link") 2>conftest.er1
7301 grep -v '^ *+' conftest.er1
>conftest.err
7303 cat conftest.err
>&5
7304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7305 (exit $ac_status); } && {
7306 test -z "$ac_c_werror_flag" ||
7307 test ! -s conftest.err
7308 } && test -s conftest
$ac_exeext && {
7309 test "$cross_compiling" = yes ||
7310 $as_test_x conftest
$ac_exeext
7312 eval "$as_ac_var=yes"
7314 $as_echo "$as_me: failed program was:" >&5
7315 sed 's/^/| /' conftest.
$ac_ext >&5
7317 eval "$as_ac_var=no"
7320 rm -rf conftest.dSYM
7321 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7322 conftest
$ac_exeext conftest.
$ac_ext
7324 ac_res
=`eval 'as_val=${'$as_ac_var'}
7325 $as_echo "$as_val"'`
7326 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7327 $as_echo "$ac_res" >&6; }
7328 as_val
=`eval 'as_val=${'$as_ac_var'}
7329 $as_echo "$as_val"'`
7330 if test "x$as_val" = x
""yes; then
7331 cat >>confdefs.h
<<_ACEOF
7332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7339 for ac_header
in asm
/ldt.h
7341 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7342 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7343 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7344 $as_echo_n "checking for $ac_header... " >&6; }
7345 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7346 $as_echo_n "(cached) " >&6
7348 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7349 $as_echo "$as_val"'`
7350 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7351 $as_echo "$ac_res" >&6; }
7353 # Is the header compilable?
7354 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7355 $as_echo_n "checking $ac_header usability... " >&6; }
7356 cat >conftest.
$ac_ext <<_ACEOF
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 $ac_includes_default
7363 #include <$ac_header>
7365 rm -f conftest.
$ac_objext
7366 if { (ac_try
="$ac_compile"
7368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7369 *) ac_try_echo=$ac_try;;
7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7372 $as_echo "$ac_try_echo") >&5
7373 (eval "$ac_compile") 2>conftest.er1
7375 grep -v '^ *+' conftest.er1 >conftest.err
7377 cat conftest.err >&5
7378 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7379 (exit $ac_status); } && {
7380 test -z "$ac_c_werror_flag" ||
7381 test ! -s conftest.err
7382 } && test -s conftest.$ac_objext; then
7383 ac_header_compiler=yes
7385 $as_echo "$as_me: failed program was:" >&5
7386 sed 's/^/| /' conftest.$ac_ext >&5
7388 ac_header_compiler=no
7391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7392 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7393 $as_echo "$ac_header_compiler" >&6; }
7395 # Is the header present?
7396 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7397 $as_echo_n "checking $ac_header presence... " >&6; }
7398 cat >conftest.$ac_ext <<_ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 #include <$ac_header>
7406 if { (ac_try="$ac_cpp conftest.$ac_ext"
7408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7409 *) ac_try_echo
=$ac_try;;
7411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7412 $as_echo "$ac_try_echo") >&5
7413 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7415 grep -v '^ *+' conftest.er1
>conftest.err
7417 cat conftest.err
>&5
7418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); } >/dev
/null
&& {
7420 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7421 test ! -s conftest.err
7423 ac_header_preproc
=yes
7425 $as_echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.
$ac_ext >&5
7428 ac_header_preproc
=no
7431 rm -f conftest.err conftest.
$ac_ext
7432 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7433 $as_echo "$ac_header_preproc" >&6; }
7435 # So? What about this header?
7436 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7438 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7439 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7441 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7442 ac_header_preproc
=yes
7445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7446 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7447 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7448 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7449 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7450 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7451 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7452 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7453 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7454 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7455 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7456 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7458 ## ------------------------------------------------ ##
7459 ## Report this to ltp-results@lists.sourceforge.net ##
7460 ## ------------------------------------------------ ##
7462 ) |
sed "s/^/$as_me: WARNING: /" >&2
7465 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7466 $as_echo_n "checking for $ac_header... " >&6; }
7467 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7468 $as_echo_n "(cached) " >&6
7470 eval "$as_ac_Header=\$ac_header_preproc"
7472 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7473 $as_echo "$as_val"'`
7474 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7475 $as_echo "$ac_res" >&6; }
7478 as_val
=`eval 'as_val=${'$as_ac_Header'}
7479 $as_echo "$as_val"'`
7480 if test "x$as_val" = x
""yes; then
7481 cat >>confdefs.h
<<_ACEOF
7482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7484 LTP_SYSCALL_MODIFY_LDT_HEADER
=yes
7489 if test x
"$LTP_SYSCALL_MODIFY_LDT_HEADER" = xyes
; then
7490 { $as_echo "$as_me:$LINENO: checking for struct user_desc" >&5
7491 $as_echo_n "checking for struct user_desc... " >&6; }
7492 if test "${ac_cv_type_struct_user_desc+set}" = set; then
7493 $as_echo_n "(cached) " >&6
7495 ac_cv_type_struct_user_desc
=no
7496 cat >conftest.
$ac_ext <<_ACEOF
7499 cat confdefs.h
>>conftest.
$ac_ext
7500 cat >>conftest.
$ac_ext <<_ACEOF
7501 /* end confdefs.h. */
7502 #include <asm/ldt.h>
7508 if (sizeof (struct user_desc))
7514 rm -f conftest.
$ac_objext
7515 if { (ac_try
="$ac_compile"
7517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7521 $as_echo "$ac_try_echo") >&5
7522 (eval "$ac_compile") 2>conftest.er1
7524 grep -v '^ *+' conftest.er1 >conftest.err
7526 cat conftest.err >&5
7527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); } && {
7529 test -z "$ac_c_werror_flag" ||
7530 test ! -s conftest.err
7531 } && test -s conftest.$ac_objext; then
7532 cat >conftest.$ac_ext <<_ACEOF
7535 cat confdefs.h >>conftest.$ac_ext
7536 cat >>conftest.$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7538 #include <asm/ldt.h>
7544 if (sizeof ((struct user_desc)))
7550 rm -f conftest.$ac_objext
7551 if { (ac_try="$ac_compile"
7553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7554 *) ac_try_echo
=$ac_try;;
7556 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7557 $as_echo "$ac_try_echo") >&5
7558 (eval "$ac_compile") 2>conftest.er1
7560 grep -v '^ *+' conftest.er1
>conftest.err
7562 cat conftest.err
>&5
7563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); } && {
7565 test -z "$ac_c_werror_flag" ||
7566 test ! -s conftest.err
7567 } && test -s conftest.
$ac_objext; then
7570 $as_echo "$as_me: failed program was:" >&5
7571 sed 's/^/| /' conftest.
$ac_ext >&5
7573 ac_cv_type_struct_user_desc
=yes
7576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7578 $as_echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.
$ac_ext >&5
7584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7586 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_user_desc" >&5
7587 $as_echo "$ac_cv_type_struct_user_desc" >&6; }
7588 if test "x$ac_cv_type_struct_user_desc" = x
""yes; then
7590 cat >>confdefs.h
<<_ACEOF
7591 #define HAVE_STRUCT_USER_DESC 1
7596 { $as_echo "$as_me:$LINENO: checking for struct modify_ldt_ldt_s" >&5
7597 $as_echo_n "checking for struct modify_ldt_ldt_s... " >&6; }
7598 if test "${ac_cv_type_struct_modify_ldt_ldt_s+set}" = set; then
7599 $as_echo_n "(cached) " >&6
7601 ac_cv_type_struct_modify_ldt_ldt_s
=no
7602 cat >conftest.
$ac_ext <<_ACEOF
7605 cat confdefs.h
>>conftest.
$ac_ext
7606 cat >>conftest.
$ac_ext <<_ACEOF
7607 /* end confdefs.h. */
7608 #include <asm/ldt.h>
7614 if (sizeof (struct modify_ldt_ldt_s))
7620 rm -f conftest.
$ac_objext
7621 if { (ac_try
="$ac_compile"
7623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7624 *) ac_try_echo=$ac_try;;
7626 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7627 $as_echo "$ac_try_echo") >&5
7628 (eval "$ac_compile") 2>conftest.er1
7630 grep -v '^ *+' conftest.er1 >conftest.err
7632 cat conftest.err >&5
7633 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } && {
7635 test -z "$ac_c_werror_flag" ||
7636 test ! -s conftest.err
7637 } && test -s conftest.$ac_objext; then
7638 cat >conftest.$ac_ext <<_ACEOF
7641 cat confdefs.h >>conftest.$ac_ext
7642 cat >>conftest.$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 #include <asm/ldt.h>
7650 if (sizeof ((struct modify_ldt_ldt_s)))
7656 rm -f conftest.$ac_objext
7657 if { (ac_try="$ac_compile"
7659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7660 *) ac_try_echo
=$ac_try;;
7662 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7663 $as_echo "$ac_try_echo") >&5
7664 (eval "$ac_compile") 2>conftest.er1
7666 grep -v '^ *+' conftest.er1
>conftest.err
7668 cat conftest.err
>&5
7669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7670 (exit $ac_status); } && {
7671 test -z "$ac_c_werror_flag" ||
7672 test ! -s conftest.err
7673 } && test -s conftest.
$ac_objext; then
7676 $as_echo "$as_me: failed program was:" >&5
7677 sed 's/^/| /' conftest.
$ac_ext >&5
7679 ac_cv_type_struct_modify_ldt_ldt_s
=yes
7682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7684 $as_echo "$as_me: failed program was:" >&5
7685 sed 's/^/| /' conftest.
$ac_ext >&5
7690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7692 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_struct_modify_ldt_ldt_s" >&5
7693 $as_echo "$ac_cv_type_struct_modify_ldt_ldt_s" >&6; }
7694 if test "x$ac_cv_type_struct_modify_ldt_ldt_s" = x
""yes; then
7696 cat >>confdefs.h
<<_ACEOF
7697 #define HAVE_STRUCT_MODIFY_LDT_LDT_S 1
7705 for ac_header
in numa.h
7707 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7709 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7710 $as_echo_n "checking for $ac_header... " >&6; }
7711 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7712 $as_echo_n "(cached) " >&6
7714 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7715 $as_echo "$as_val"'`
7716 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7717 $as_echo "$ac_res" >&6; }
7719 # Is the header compilable?
7720 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7721 $as_echo_n "checking $ac_header usability... " >&6; }
7722 cat >conftest.
$ac_ext <<_ACEOF
7725 cat confdefs.h
>>conftest.
$ac_ext
7726 cat >>conftest.
$ac_ext <<_ACEOF
7727 /* end confdefs.h. */
7728 $ac_includes_default
7729 #include <$ac_header>
7731 rm -f conftest.
$ac_objext
7732 if { (ac_try
="$ac_compile"
7734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7738 $as_echo "$ac_try_echo") >&5
7739 (eval "$ac_compile") 2>conftest.er1
7741 grep -v '^ *+' conftest.er1 >conftest.err
7743 cat conftest.err >&5
7744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); } && {
7746 test -z "$ac_c_werror_flag" ||
7747 test ! -s conftest.err
7748 } && test -s conftest.$ac_objext; then
7749 ac_header_compiler=yes
7751 $as_echo "$as_me: failed program was:" >&5
7752 sed 's/^/| /' conftest.$ac_ext >&5
7754 ac_header_compiler=no
7757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7758 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7759 $as_echo "$ac_header_compiler" >&6; }
7761 # Is the header present?
7762 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7763 $as_echo_n "checking $ac_header presence... " >&6; }
7764 cat >conftest.$ac_ext <<_ACEOF
7767 cat confdefs.h >>conftest.$ac_ext
7768 cat >>conftest.$ac_ext <<_ACEOF
7769 /* end confdefs.h. */
7770 #include <$ac_header>
7772 if { (ac_try="$ac_cpp conftest.$ac_ext"
7774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7775 *) ac_try_echo
=$ac_try;;
7777 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7778 $as_echo "$ac_try_echo") >&5
7779 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7781 grep -v '^ *+' conftest.er1
>conftest.err
7783 cat conftest.err
>&5
7784 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7785 (exit $ac_status); } >/dev
/null
&& {
7786 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7787 test ! -s conftest.err
7789 ac_header_preproc
=yes
7791 $as_echo "$as_me: failed program was:" >&5
7792 sed 's/^/| /' conftest.
$ac_ext >&5
7794 ac_header_preproc
=no
7797 rm -f conftest.err conftest.
$ac_ext
7798 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7799 $as_echo "$ac_header_preproc" >&6; }
7801 # So? What about this header?
7802 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7805 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7807 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7808 ac_header_preproc
=yes
7811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7812 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7814 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7816 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7818 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7820 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7822 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7824 ## ------------------------------------------------ ##
7825 ## Report this to ltp-results@lists.sourceforge.net ##
7826 ## ------------------------------------------------ ##
7828 ) |
sed "s/^/$as_me: WARNING: /" >&2
7831 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7832 $as_echo_n "checking for $ac_header... " >&6; }
7833 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7834 $as_echo_n "(cached) " >&6
7836 eval "$as_ac_Header=\$ac_header_preproc"
7838 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7839 $as_echo "$as_val"'`
7840 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7841 $as_echo "$ac_res" >&6; }
7844 as_val
=`eval 'as_val=${'$as_ac_Header'}
7845 $as_echo "$as_val"'`
7846 if test "x$as_val" = x
""yes; then
7847 cat >>confdefs.h
<<_ACEOF
7848 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7851 LTP_SYSCALL_NUMA_HEADER
=yes
7853 for ac_func
in numa_alloc_onnode
7855 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7856 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7857 $as_echo_n "checking for $ac_func... " >&6; }
7858 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7859 $as_echo_n "(cached) " >&6
7861 cat >conftest.
$ac_ext <<_ACEOF
7864 cat confdefs.h
>>conftest.
$ac_ext
7865 cat >>conftest.
$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7869 #define $ac_func innocuous_$ac_func
7871 /* System header to define __stub macros and hopefully few prototypes,
7872 which can conflict with char $ac_func (); below.
7873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7874 <limits.h> exists even on freestanding compilers. */
7877 # include <limits.h>
7879 # include <assert.h>
7884 /* Override any GCC internal prototype to avoid an error.
7885 Use char because int might match the return type of a GCC
7886 builtin and then its argument prototype would still apply. */
7891 /* The GNU C library defines this for functions which it implements
7892 to always fail with ENOSYS. Some functions are actually named
7893 something starting with __ and the normal name is an alias. */
7894 #if defined __stub_$ac_func || defined __stub___$ac_func
7906 rm -f conftest.
$ac_objext conftest
$ac_exeext
7907 if { (ac_try
="$ac_link"
7909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7910 *) ac_try_echo=$ac_try;;
7912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7913 $as_echo "$ac_try_echo") >&5
7914 (eval "$ac_link") 2>conftest.er1
7916 grep -v '^ *+' conftest.er1 >conftest.err
7918 cat conftest.err >&5
7919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7920 (exit $ac_status); } && {
7921 test -z "$ac_c_werror_flag" ||
7922 test ! -s conftest.err
7923 } && test -s conftest$ac_exeext && {
7924 test "$cross_compiling" = yes ||
7925 $as_test_x conftest$ac_exeext
7927 eval "$as_ac_var=yes"
7929 $as_echo "$as_me: failed program was:" >&5
7930 sed 's/^/| /' conftest.$ac_ext >&5
7932 eval "$as_ac_var=no"
7935 rm -rf conftest.dSYM
7936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7937 conftest$ac_exeext conftest.$ac_ext
7939 ac_res=`eval 'as_val=${'$as_ac_var'}
7940 $as_echo "$as_val"'`
7941 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7942 $as_echo "$ac_res" >&6; }
7943 as_val=`eval 'as_val=${'$as_ac_var'}
7944 $as_echo "$as_val"'`
7945 if test "x$as_val" = x""yes; then
7946 cat >>confdefs.h <<_ACEOF
7947 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7954 for ac_header in numaif.h
7956 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7958 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7959 $as_echo_n "checking for $ac_header... " >&6; }
7960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7961 $as_echo_n "(cached) " >&6
7963 ac_res=`eval 'as_val=${'$as_ac_Header'}
7964 $as_echo "$as_val"'`
7965 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7966 $as_echo "$ac_res" >&6; }
7968 # Is the header compilable?
7969 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7970 $as_echo_n "checking $ac_header usability... " >&6; }
7971 cat >conftest.$ac_ext <<_ACEOF
7974 cat confdefs.h >>conftest.$ac_ext
7975 cat >>conftest.$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 $ac_includes_default
7978 #include <$ac_header>
7980 rm -f conftest.$ac_objext
7981 if { (ac_try="$ac_compile"
7983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7984 *) ac_try_echo
=$ac_try;;
7986 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7987 $as_echo "$ac_try_echo") >&5
7988 (eval "$ac_compile") 2>conftest.er1
7990 grep -v '^ *+' conftest.er1
>conftest.err
7992 cat conftest.err
>&5
7993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } && {
7995 test -z "$ac_c_werror_flag" ||
7996 test ! -s conftest.err
7997 } && test -s conftest.
$ac_objext; then
7998 ac_header_compiler
=yes
8000 $as_echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.
$ac_ext >&5
8003 ac_header_compiler
=no
8006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8007 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8008 $as_echo "$ac_header_compiler" >&6; }
8010 # Is the header present?
8011 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8012 $as_echo_n "checking $ac_header presence... " >&6; }
8013 cat >conftest.
$ac_ext <<_ACEOF
8016 cat confdefs.h
>>conftest.
$ac_ext
8017 cat >>conftest.
$ac_ext <<_ACEOF
8018 /* end confdefs.h. */
8019 #include <$ac_header>
8021 if { (ac_try
="$ac_cpp conftest.$ac_ext"
8023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8024 *) ac_try_echo=$ac_try;;
8026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8027 $as_echo "$ac_try_echo") >&5
8028 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8030 grep -v '^ *+' conftest.er1 >conftest.err
8032 cat conftest.err >&5
8033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8034 (exit $ac_status); } >/dev/null && {
8035 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8036 test ! -s conftest.err
8038 ac_header_preproc=yes
8040 $as_echo "$as_me: failed program was:" >&5
8041 sed 's/^/| /' conftest.$ac_ext >&5
8043 ac_header_preproc=no
8046 rm -f conftest.err conftest.$ac_ext
8047 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8048 $as_echo "$ac_header_preproc" >&6; }
8050 # So? What about this header?
8051 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8053 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8054 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8055 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8056 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8057 ac_header_preproc=yes
8060 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8061 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8062 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8063 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8064 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8065 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8067 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8069 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8071 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8073 ## ------------------------------------------------ ##
8074 ## Report this to ltp-results@lists.sourceforge.net ##
8075 ## ------------------------------------------------ ##
8077 ) | sed "s/^/$as_me: WARNING: /" >&2
8080 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8081 $as_echo_n "checking for $ac_header... " >&6; }
8082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8083 $as_echo_n "(cached) " >&6
8085 eval "$as_ac_Header=\$ac_header_preproc"
8087 ac_res=`eval 'as_val=${'$as_ac_Header'}
8088 $as_echo "$as_val"'`
8089 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8090 $as_echo "$ac_res" >&6; }
8093 as_val=`eval 'as_val=${'$as_ac_Header'}
8094 $as_echo "$as_val"'`
8095 if test "x$as_val" = x""yes; then
8096 cat >>confdefs.h <<_ACEOF
8097 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8099 LTP_SYSCALL_NUMAIF_HEADER=yes
8105 { $as_echo "$as_me:$LINENO: checking for numa_available in -lnuma" >&5
8106 $as_echo_n "checking for numa_available in -lnuma... " >&6; }
8107 if test "${ac_cv_lib_numa_numa_available+set}" = set; then
8108 $as_echo_n "(cached) " >&6
8110 ac_check_lib_save_LIBS=$LIBS
8112 cat >conftest.$ac_ext <<_ACEOF
8115 cat confdefs.h >>conftest.$ac_ext
8116 cat >>conftest.$ac_ext <<_ACEOF
8117 /* end confdefs.h. */
8119 /* Override any GCC internal prototype to avoid an error.
8120 Use char because int might match the return type of a GCC
8121 builtin and then its argument prototype would still apply. */
8125 char numa_available ();
8129 return numa_available ();
8134 rm -f conftest.$ac_objext conftest$ac_exeext
8135 if { (ac_try="$ac_link"
8137 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8138 *) ac_try_echo
=$ac_try;;
8140 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8141 $as_echo "$ac_try_echo") >&5
8142 (eval "$ac_link") 2>conftest.er1
8144 grep -v '^ *+' conftest.er1
>conftest.err
8146 cat conftest.err
>&5
8147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); } && {
8149 test -z "$ac_c_werror_flag" ||
8150 test ! -s conftest.err
8151 } && test -s conftest
$ac_exeext && {
8152 test "$cross_compiling" = yes ||
8153 $as_test_x conftest
$ac_exeext
8155 ac_cv_lib_numa_numa_available
=yes
8157 $as_echo "$as_me: failed program was:" >&5
8158 sed 's/^/| /' conftest.
$ac_ext >&5
8160 ac_cv_lib_numa_numa_available
=no
8163 rm -rf conftest.dSYM
8164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8165 conftest
$ac_exeext conftest.
$ac_ext
8166 LIBS
=$ac_check_lib_save_LIBS
8168 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_numa_numa_available" >&5
8169 $as_echo "$ac_cv_lib_numa_numa_available" >&6; }
8170 if test "x$ac_cv_lib_numa_numa_available" = x
""yes; then
8182 cat >conftest.
$ac_ext <<_ACEOF
8185 cat confdefs.h
>>conftest.
$ac_ext
8186 cat >>conftest.
$ac_ext <<_ACEOF
8187 /* end confdefs.h. */
8189 #include <linux/quota.h>
8191 #include <linux/dqblk_v1.h>
8192 #include <linux/dqblk_v2.h>
8199 return quotactl(Q_GETINFO, (const char *)NULL, geteuid(), (caddr_t)NULL);
8205 rm -f conftest.
$ac_objext
8206 if { (ac_try
="$ac_compile"
8208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8212 $as_echo "$ac_try_echo") >&5
8213 (eval "$ac_compile") 2>conftest.er1
8215 grep -v '^ *+' conftest.er1 >conftest.err
8217 cat conftest.err >&5
8218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219 (exit $ac_status); } && {
8220 test -z "$ac_c_werror_flag" ||
8221 test ! -s conftest.err
8222 } && test -s conftest.$ac_objext; then
8223 has_rhel46_quotactl="yes"
8225 $as_echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8228 cat >conftest.$ac_ext <<_ACEOF
8231 cat confdefs.h >>conftest.$ac_ext
8232 cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8235 #include <sys/quota.h>
8236 #include <xfs/xqm.h>
8237 #include <linux/dqblk_v1.h>
8238 #include <linux/dqblk_v2.h>
8245 return quotactl(Q_GETINFO, (const char *)NULL, geteuid(), (caddr_t)NULL);
8251 rm -f conftest.$ac_objext
8252 if { (ac_try="$ac_compile"
8254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8255 *) ac_try_echo
=$ac_try;;
8257 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8258 $as_echo "$ac_try_echo") >&5
8259 (eval "$ac_compile") 2>conftest.er1
8261 grep -v '^ *+' conftest.er1
>conftest.err
8263 cat conftest.err
>&5
8264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } && {
8266 test -z "$ac_c_werror_flag" ||
8267 test ! -s conftest.err
8268 } && test -s conftest.
$ac_objext; then
8269 has_rhel48_quotactl
="yes"
8271 $as_echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.
$ac_ext >&5
8274 cat >conftest.
$ac_ext <<_ACEOF
8277 cat confdefs.h
>>conftest.
$ac_ext
8278 cat >>conftest.
$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8281 #include <sys/types.h>
8282 #include <sys/quota.h>
8289 return quotactl(Q_GETINFO, (const char *)NULL, geteuid(), (caddr_t)NULL);
8295 rm -f conftest.
$ac_objext
8296 if { (ac_try
="$ac_compile"
8298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8299 *) ac_try_echo=$ac_try;;
8301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8302 $as_echo "$ac_try_echo") >&5
8303 (eval "$ac_compile") 2>conftest.er1
8305 grep -v '^ *+' conftest.er1 >conftest.err
8307 cat conftest.err >&5
8308 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); } && {
8310 test -z "$ac_c_werror_flag" ||
8311 test ! -s conftest.err
8312 } && test -s conftest.$ac_objext; then
8313 has_new_minimal_quotactl="yes"
8315 $as_echo "$as_me: failed program was:" >&5
8316 sed 's/^/| /' conftest.$ac_ext >&5
8318 { $as_echo "$as_me:$LINENO: WARNING: Couldn't find functional copy of quotactl" >&5
8319 $as_echo "$as_me: WARNING: Couldn't find functional copy of quotactl" >&2;}
8322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8329 if test "x$has_rhel46_quotactl" = "xyes"; then
8331 cat >>confdefs.h <<\_ACEOF
8332 #define HAS_RHEL46_QUOTACTL 1
8335 elif test "x$has_rhel48_quotactl" = "xyes"; then
8337 cat >>confdefs.h <<\_ACEOF
8338 #define HAS_RHEL48_QUOTACTL 1
8341 elif test "x$has_new_minimal_quotactl" = "xyes"; then
8343 cat >>confdefs.h <<\_ACEOF
8344 #define HAS_NEW_MINIMAL_QUOTACTL 1
8352 for ac_func in signalfd
8354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8355 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8356 $as_echo_n "checking for $ac_func... " >&6; }
8357 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8358 $as_echo_n "(cached) " >&6
8360 cat >conftest.$ac_ext <<_ACEOF
8363 cat confdefs.h >>conftest.$ac_ext
8364 cat >>conftest.$ac_ext <<_ACEOF
8365 /* end confdefs.h. */
8366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8368 #define $ac_func innocuous_$ac_func
8370 /* System header to define __stub macros and hopefully few prototypes,
8371 which can conflict with char $ac_func (); below.
8372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8373 <limits.h> exists even on freestanding compilers. */
8376 # include <limits.h>
8378 # include <assert.h>
8383 /* Override any GCC internal prototype to avoid an error.
8384 Use char because int might match the return type of a GCC
8385 builtin and then its argument prototype would still apply. */
8390 /* The GNU C library defines this for functions which it implements
8391 to always fail with ENOSYS. Some functions are actually named
8392 something starting with __ and the normal name is an alias. */
8393 #if defined __stub_$ac_func || defined __stub___$ac_func
8405 rm -f conftest.$ac_objext conftest$ac_exeext
8406 if { (ac_try="$ac_link"
8408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8409 *) ac_try_echo
=$ac_try;;
8411 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8412 $as_echo "$ac_try_echo") >&5
8413 (eval "$ac_link") 2>conftest.er1
8415 grep -v '^ *+' conftest.er1
>conftest.err
8417 cat conftest.err
>&5
8418 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); } && {
8420 test -z "$ac_c_werror_flag" ||
8421 test ! -s conftest.err
8422 } && test -s conftest
$ac_exeext && {
8423 test "$cross_compiling" = yes ||
8424 $as_test_x conftest
$ac_exeext
8426 eval "$as_ac_var=yes"
8428 $as_echo "$as_me: failed program was:" >&5
8429 sed 's/^/| /' conftest.
$ac_ext >&5
8431 eval "$as_ac_var=no"
8434 rm -rf conftest.dSYM
8435 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8436 conftest
$ac_exeext conftest.
$ac_ext
8438 ac_res
=`eval 'as_val=${'$as_ac_var'}
8439 $as_echo "$as_val"'`
8440 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8441 $as_echo "$ac_res" >&6; }
8442 as_val
=`eval 'as_val=${'$as_ac_var'}
8443 $as_echo "$as_val"'`
8444 if test "x$as_val" = x
""yes; then
8445 cat >>confdefs.h
<<_ACEOF
8446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
8448 LTP_SYSCALL_SIGNALFD_FUNCTION
=yes
8453 for ac_header
in sys
/signalfd.h
8455 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8456 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8457 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8458 $as_echo_n "checking for $ac_header... " >&6; }
8459 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8460 $as_echo_n "(cached) " >&6
8462 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8463 $as_echo "$as_val"'`
8464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8465 $as_echo "$ac_res" >&6; }
8467 # Is the header compilable?
8468 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
8469 $as_echo_n "checking $ac_header usability... " >&6; }
8470 cat >conftest.
$ac_ext <<_ACEOF
8473 cat confdefs.h
>>conftest.
$ac_ext
8474 cat >>conftest.
$ac_ext <<_ACEOF
8475 /* end confdefs.h. */
8476 $ac_includes_default
8477 #include <$ac_header>
8479 rm -f conftest.
$ac_objext
8480 if { (ac_try
="$ac_compile"
8482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8483 *) ac_try_echo=$ac_try;;
8485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8486 $as_echo "$ac_try_echo") >&5
8487 (eval "$ac_compile") 2>conftest.er1
8489 grep -v '^ *+' conftest.er1 >conftest.err
8491 cat conftest.err >&5
8492 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); } && {
8494 test -z "$ac_c_werror_flag" ||
8495 test ! -s conftest.err
8496 } && test -s conftest.$ac_objext; then
8497 ac_header_compiler=yes
8499 $as_echo "$as_me: failed program was:" >&5
8500 sed 's/^/| /' conftest.$ac_ext >&5
8502 ac_header_compiler=no
8505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8506 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8507 $as_echo "$ac_header_compiler" >&6; }
8509 # Is the header present?
8510 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
8511 $as_echo_n "checking $ac_header presence... " >&6; }
8512 cat >conftest.$ac_ext <<_ACEOF
8515 cat confdefs.h >>conftest.$ac_ext
8516 cat >>conftest.$ac_ext <<_ACEOF
8517 /* end confdefs.h. */
8518 #include <$ac_header>
8520 if { (ac_try="$ac_cpp conftest.$ac_ext"
8522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8523 *) ac_try_echo
=$ac_try;;
8525 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8526 $as_echo "$ac_try_echo") >&5
8527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8529 grep -v '^ *+' conftest.er1
>conftest.err
8531 cat conftest.err
>&5
8532 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } >/dev
/null
&& {
8534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8535 test ! -s conftest.err
8537 ac_header_preproc
=yes
8539 $as_echo "$as_me: failed program was:" >&5
8540 sed 's/^/| /' conftest.
$ac_ext >&5
8542 ac_header_preproc
=no
8545 rm -f conftest.err conftest.
$ac_ext
8546 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8547 $as_echo "$ac_header_preproc" >&6; }
8549 # So? What about this header?
8550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8553 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8555 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8556 ac_header_preproc
=yes
8559 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8560 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8561 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8562 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8563 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8564 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8565 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8566 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8567 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8568 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8569 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8570 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8572 ## ------------------------------------------------ ##
8573 ## Report this to ltp-results@lists.sourceforge.net ##
8574 ## ------------------------------------------------ ##
8576 ) |
sed "s/^/$as_me: WARNING: /" >&2
8579 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8580 $as_echo_n "checking for $ac_header... " >&6; }
8581 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8582 $as_echo_n "(cached) " >&6
8584 eval "$as_ac_Header=\$ac_header_preproc"
8586 ac_res
=`eval 'as_val=${'$as_ac_Header'}
8587 $as_echo "$as_val"'`
8588 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8589 $as_echo "$ac_res" >&6; }
8592 as_val
=`eval 'as_val=${'$as_ac_Header'}
8593 $as_echo "$as_val"'`
8594 if test "x$as_val" = x
""yes; then
8595 cat >>confdefs.h
<<_ACEOF
8596 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8611 for ac_header
in linux
/signalfd.h signalfd.h
8613 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8614 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
8615 $as_echo_n "checking for $ac_header... " >&6; }
8616 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8617 $as_echo_n "(cached) " >&6
8619 cat >conftest.
$ac_ext <<_ACEOF
8622 cat confdefs.h
>>conftest.
$ac_ext
8623 cat >>conftest.
$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8625 #ifdef HAVE_LINUX_TYPES_H
8626 #include <linux/types.h>
8630 #include <$ac_header>
8632 rm -f conftest.
$ac_objext
8633 if { (ac_try
="$ac_compile"
8635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8639 $as_echo "$ac_try_echo") >&5
8640 (eval "$ac_compile") 2>conftest.er1
8642 grep -v '^ *+' conftest.er1 >conftest.err
8644 cat conftest.err >&5
8645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8646 (exit $ac_status); } && {
8647 test -z "$ac_c_werror_flag" ||
8648 test ! -s conftest.err
8649 } && test -s conftest.$ac_objext; then
8650 eval "$as_ac_Header=yes"
8652 $as_echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 eval "$as_ac_Header=no"
8658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8660 ac_res=`eval 'as_val=${'$as_ac_Header'}
8661 $as_echo "$as_val"'`
8662 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8663 $as_echo "$ac_res" >&6; }
8664 as_val=`eval 'as_val=${'$as_ac_Header'}
8665 $as_echo "$as_val"'`
8666 if test "x$as_val" = x""yes; then
8667 cat >>confdefs.h <<_ACEOF
8668 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8670 LTP_SYSCALL_SIGNALFD_HEADER=yes
8676 if test x"$LTP_SYSCALL_SIGNALFD_HEADER" = xyes; then
8677 { $as_echo "$as_me:$LINENO: checking for struct signalfd_siginfo.ssi_signo" >&5
8678 $as_echo_n "checking for struct signalfd_siginfo.ssi_signo... " >&6; }
8679 if test "${ac_cv_member_struct_signalfd_siginfo_ssi_signo+set}" = set; then
8680 $as_echo_n "(cached) " >&6
8682 cat >conftest.$ac_ext <<_ACEOF
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8687 /* end confdefs.h. */
8688 #if defined HAVE_SYS_SIGNALFD_H
8689 #include <sys/signalfd.h>
8690 #elif defined HAVE_LINUX_SIGNALFD_H
8691 #ifdef HAVE_LINUX_TYPES_H
8692 #include <linux/types.h>
8694 #include <linux/signalfd.h>
8695 #elif defined HAVE_SIGNALFD_H
8696 #include <signalfd.h>
8702 static struct signalfd_siginfo ac_aggr;
8703 if (ac_aggr.ssi_signo)
8709 rm -f conftest.$ac_objext
8710 if { (ac_try="$ac_compile"
8712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8713 *) ac_try_echo
=$ac_try;;
8715 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8716 $as_echo "$ac_try_echo") >&5
8717 (eval "$ac_compile") 2>conftest.er1
8719 grep -v '^ *+' conftest.er1
>conftest.err
8721 cat conftest.err
>&5
8722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } && {
8724 test -z "$ac_c_werror_flag" ||
8725 test ! -s conftest.err
8726 } && test -s conftest.
$ac_objext; then
8727 ac_cv_member_struct_signalfd_siginfo_ssi_signo
=yes
8729 $as_echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.
$ac_ext >&5
8732 cat >conftest.
$ac_ext <<_ACEOF
8735 cat confdefs.h
>>conftest.
$ac_ext
8736 cat >>conftest.
$ac_ext <<_ACEOF
8737 /* end confdefs.h. */
8738 #if defined HAVE_SYS_SIGNALFD_H
8739 #include <sys/signalfd.h>
8740 #elif defined HAVE_LINUX_SIGNALFD_H
8741 #ifdef HAVE_LINUX_TYPES_H
8742 #include <linux/types.h>
8744 #include <linux/signalfd.h>
8745 #elif defined HAVE_SIGNALFD_H
8746 #include <signalfd.h>
8752 static struct signalfd_siginfo ac_aggr;
8753 if (sizeof ac_aggr.ssi_signo)
8759 rm -f conftest.
$ac_objext
8760 if { (ac_try
="$ac_compile"
8762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8763 *) ac_try_echo=$ac_try;;
8765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8766 $as_echo "$ac_try_echo") >&5
8767 (eval "$ac_compile") 2>conftest.er1
8769 grep -v '^ *+' conftest.er1 >conftest.err
8771 cat conftest.err >&5
8772 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } && {
8774 test -z "$ac_c_werror_flag" ||
8775 test ! -s conftest.err
8776 } && test -s conftest.$ac_objext; then
8777 ac_cv_member_struct_signalfd_siginfo_ssi_signo=yes
8779 $as_echo "$as_me: failed program was:" >&5
8780 sed 's/^/| /' conftest.$ac_ext >&5
8782 ac_cv_member_struct_signalfd_siginfo_ssi_signo=no
8785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8790 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_signalfd_siginfo_ssi_signo" >&5
8791 $as_echo "$ac_cv_member_struct_signalfd_siginfo_ssi_signo" >&6; }
8792 if test "x$ac_cv_member_struct_signalfd_siginfo_ssi_signo" = x""yes; then
8794 cat >>confdefs.h <<_ACEOF
8795 #define HAVE_STRUCT_SIGNALFD_SIGINFO_SSI_SIGNO 1
8798 LTP_SYSCALL_SIGNALFD_FIELD_PREFIX=given
8800 { $as_echo "$as_me:$LINENO: checking for struct signalfd_siginfo.signo" >&5
8801 $as_echo_n "checking for struct signalfd_siginfo.signo... " >&6; }
8802 if test "${ac_cv_member_struct_signalfd_siginfo_signo+set}" = set; then
8803 $as_echo_n "(cached) " >&6
8805 cat >conftest.$ac_ext <<_ACEOF
8808 cat confdefs.h >>conftest.$ac_ext
8809 cat >>conftest.$ac_ext <<_ACEOF
8810 /* end confdefs.h. */
8811 #if defined HAVE_SYS_SIGNALFD_H
8812 #include <sys/signalfd.h>
8813 #elif defined HAVE_LINUX_SIGNALFD_H
8814 #ifdef HAVE_LINUX_TYPES_H
8815 #include <linux/types.h>
8817 #include <linux/signalfd.h>
8818 #elif defined HAVE_SIGNALFD_H
8819 #include <signalfd.h>
8825 static struct signalfd_siginfo ac_aggr;
8832 rm -f conftest.$ac_objext
8833 if { (ac_try="$ac_compile"
8835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8836 *) ac_try_echo
=$ac_try;;
8838 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8839 $as_echo "$ac_try_echo") >&5
8840 (eval "$ac_compile") 2>conftest.er1
8842 grep -v '^ *+' conftest.er1
>conftest.err
8844 cat conftest.err
>&5
8845 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8846 (exit $ac_status); } && {
8847 test -z "$ac_c_werror_flag" ||
8848 test ! -s conftest.err
8849 } && test -s conftest.
$ac_objext; then
8850 ac_cv_member_struct_signalfd_siginfo_signo
=yes
8852 $as_echo "$as_me: failed program was:" >&5
8853 sed 's/^/| /' conftest.
$ac_ext >&5
8855 cat >conftest.
$ac_ext <<_ACEOF
8858 cat confdefs.h
>>conftest.
$ac_ext
8859 cat >>conftest.
$ac_ext <<_ACEOF
8860 /* end confdefs.h. */
8861 #if defined HAVE_SYS_SIGNALFD_H
8862 #include <sys/signalfd.h>
8863 #elif defined HAVE_LINUX_SIGNALFD_H
8864 #ifdef HAVE_LINUX_TYPES_H
8865 #include <linux/types.h>
8867 #include <linux/signalfd.h>
8868 #elif defined HAVE_SIGNALFD_H
8869 #include <signalfd.h>
8875 static struct signalfd_siginfo ac_aggr;
8876 if (sizeof ac_aggr.signo)
8882 rm -f conftest.
$ac_objext
8883 if { (ac_try
="$ac_compile"
8885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8886 *) ac_try_echo=$ac_try;;
8888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8889 $as_echo "$ac_try_echo") >&5
8890 (eval "$ac_compile") 2>conftest.er1
8892 grep -v '^ *+' conftest.er1 >conftest.err
8894 cat conftest.err >&5
8895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); } && {
8897 test -z "$ac_c_werror_flag" ||
8898 test ! -s conftest.err
8899 } && test -s conftest.$ac_objext; then
8900 ac_cv_member_struct_signalfd_siginfo_signo=yes
8902 $as_echo "$as_me: failed program was:" >&5
8903 sed 's/^/| /' conftest.$ac_ext >&5
8905 ac_cv_member_struct_signalfd_siginfo_signo=no
8908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8913 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_signalfd_siginfo_signo" >&5
8914 $as_echo "$ac_cv_member_struct_signalfd_siginfo_signo" >&6; }
8915 if test "x$ac_cv_member_struct_signalfd_siginfo_signo" = x""yes; then
8917 cat >>confdefs.h <<_ACEOF
8918 #define HAVE_STRUCT_SIGNALFD_SIGINFO_SIGNO 1
8921 LTP_SYSCALL_SIGNALFD_FIELD_PREFIX=given
8930 for ac_func in $ac_func_list
8932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8933 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
8934 $as_echo_n "checking for $ac_func... " >&6; }
8935 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8936 $as_echo_n "(cached) " >&6
8938 cat >conftest.$ac_ext <<_ACEOF
8941 cat confdefs.h >>conftest.$ac_ext
8942 cat >>conftest.$ac_ext <<_ACEOF
8943 /* end confdefs.h. */
8944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8946 #define $ac_func innocuous_$ac_func
8948 /* System header to define __stub macros and hopefully few prototypes,
8949 which can conflict with char $ac_func (); below.
8950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8951 <limits.h> exists even on freestanding compilers. */
8954 # include <limits.h>
8956 # include <assert.h>
8961 /* Override any GCC internal prototype to avoid an error.
8962 Use char because int might match the return type of a GCC
8963 builtin and then its argument prototype would still apply. */
8968 /* The GNU C library defines this for functions which it implements
8969 to always fail with ENOSYS. Some functions are actually named
8970 something starting with __ and the normal name is an alias. */
8971 #if defined __stub_$ac_func || defined __stub___$ac_func
8983 rm -f conftest.$ac_objext conftest$ac_exeext
8984 if { (ac_try="$ac_link"
8986 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8987 *) ac_try_echo
=$ac_try;;
8989 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8990 $as_echo "$ac_try_echo") >&5
8991 (eval "$ac_link") 2>conftest.er1
8993 grep -v '^ *+' conftest.er1
>conftest.err
8995 cat conftest.err
>&5
8996 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8997 (exit $ac_status); } && {
8998 test -z "$ac_c_werror_flag" ||
8999 test ! -s conftest.err
9000 } && test -s conftest
$ac_exeext && {
9001 test "$cross_compiling" = yes ||
9002 $as_test_x conftest
$ac_exeext
9004 eval "$as_ac_var=yes"
9006 $as_echo "$as_me: failed program was:" >&5
9007 sed 's/^/| /' conftest.
$ac_ext >&5
9009 eval "$as_ac_var=no"
9012 rm -rf conftest.dSYM
9013 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9014 conftest
$ac_exeext conftest.
$ac_ext
9016 ac_res
=`eval 'as_val=${'$as_ac_var'}
9017 $as_echo "$as_val"'`
9018 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9019 $as_echo "$ac_res" >&6; }
9020 as_val
=`eval 'as_val=${'$as_ac_var'}
9021 $as_echo "$as_val"'`
9022 if test "x$as_val" = x
""yes; then
9023 cat >>confdefs.h
<<_ACEOF
9024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
9039 { $as_echo "$as_me:$LINENO: checking for swapon / swapoff implementation" >&5
9040 $as_echo_n "checking for swapon / swapoff implementation... " >&6; }
9041 cat >conftest.
$ac_ext <<_ACEOF
9044 cat confdefs.h
>>conftest.
$ac_ext
9045 cat >>conftest.
$ac_ext <<_ACEOF
9046 /* end confdefs.h. */
9048 #include <sys/swap.h>
9052 swapon("/foo", 0); swapoff("/foo"); return 0;
9057 rm -f conftest.
$ac_objext
9058 if { (ac_try
="$ac_compile"
9060 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9061 *) ac_try_echo=$ac_try;;
9063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9064 $as_echo "$ac_try_echo") >&5
9065 (eval "$ac_compile") 2>conftest.er1
9067 grep -v '^ *+' conftest.er1 >conftest.err
9069 cat conftest.err >&5
9070 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9071 (exit $ac_status); } && {
9072 test -z "$ac_c_werror_flag" ||
9073 test ! -s conftest.err
9074 } && test -s conftest.$ac_objext; then
9075 swaponoff_impl="2.6"
9077 $as_echo "$as_me: failed program was:" >&5
9078 sed 's/^/| /' conftest.$ac_ext >&5
9080 cat >conftest.$ac_ext <<_ACEOF
9083 cat confdefs.h >>conftest.$ac_ext
9084 cat >>conftest.$ac_ext <<_ACEOF
9085 /* end confdefs.h. */
9087 #include <sys/swap.h>
9088 #include <linux/swap.h>
9092 swapon("/foo", 0); swapoff("/foo"); return 0;
9097 rm -f conftest.$ac_objext
9098 if { (ac_try="$ac_compile"
9100 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9101 *) ac_try_echo
=$ac_try;;
9103 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9104 $as_echo "$ac_try_echo") >&5
9105 (eval "$ac_compile") 2>conftest.er1
9107 grep -v '^ *+' conftest.er1
>conftest.err
9109 cat conftest.err
>&5
9110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9111 (exit $ac_status); } && {
9112 test -z "$ac_c_werror_flag" ||
9113 test ! -s conftest.err
9114 } && test -s conftest.
$ac_objext; then
9115 swaponoff_impl
="2.4"
9117 $as_echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.
$ac_ext >&5
9123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9128 if test "x$swaponoff_impl" = "x2.4" ; then
9129 { $as_echo "$as_me:$LINENO: result: 2.6" >&5
9130 $as_echo "2.6" >&6; }
9132 cat >>confdefs.h
<<\_ACEOF
9133 #define HAVE_OLD_SWAPONOFF /**/
9136 elif test "x$swaponoff_impl" = "x2.6" ; then
9137 { $as_echo "$as_me:$LINENO: result: 2.6" >&5
9138 $as_echo "2.6" >&6; }
9140 cat >>confdefs.h
<<\_ACEOF
9141 #define HAVE_NEW_SWAPONOFF /**/
9145 { $as_echo "$as_me:$LINENO: result: unknown" >&5
9146 $as_echo "unknown" >&6; }
9147 { $as_echo "$as_me:$LINENO: WARNING: Couldn't determine swapon / swapoff implementation" >&5
9148 $as_echo "$as_me: WARNING: Couldn't determine swapon / swapoff implementation" >&2;}
9153 for ac_header
in linux
/taskstats.h
9155 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9156 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9157 $as_echo_n "checking for $ac_header... " >&6; }
9158 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9159 $as_echo_n "(cached) " >&6
9161 cat >conftest.
$ac_ext <<_ACEOF
9164 cat confdefs.h
>>conftest.
$ac_ext
9165 cat >>conftest.
$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9168 #include <linux/types.h>
9171 #include <$ac_header>
9173 rm -f conftest.
$ac_objext
9174 if { (ac_try
="$ac_compile"
9176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9177 *) ac_try_echo=$ac_try;;
9179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9180 $as_echo "$ac_try_echo") >&5
9181 (eval "$ac_compile") 2>conftest.er1
9183 grep -v '^ *+' conftest.er1 >conftest.err
9185 cat conftest.err >&5
9186 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9187 (exit $ac_status); } && {
9188 test -z "$ac_c_werror_flag" ||
9189 test ! -s conftest.err
9190 } && test -s conftest.$ac_objext; then
9191 eval "$as_ac_Header=yes"
9193 $as_echo "$as_me: failed program was:" >&5
9194 sed 's/^/| /' conftest.$ac_ext >&5
9196 eval "$as_ac_Header=no"
9199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9201 ac_res=`eval 'as_val=${'$as_ac_Header'}
9202 $as_echo "$as_val"'`
9203 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9204 $as_echo "$ac_res" >&6; }
9205 as_val=`eval 'as_val=${'$as_ac_Header'}
9206 $as_echo "$as_val"'`
9207 if test "x$as_val" = x""yes; then
9208 cat >>confdefs.h <<_ACEOF
9209 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9212 { $as_echo "$as_me:$LINENO: checking for struct taskstats.freepages_count" >&5
9213 $as_echo_n "checking for struct taskstats.freepages_count... " >&6; }
9214 if test "${ac_cv_member_struct_taskstats_freepages_count+set}" = set; then
9215 $as_echo_n "(cached) " >&6
9217 cat >conftest.$ac_ext <<_ACEOF
9220 cat confdefs.h >>conftest.$ac_ext
9221 cat >>conftest.$ac_ext <<_ACEOF
9222 /* end confdefs.h. */
9223 #include <linux/taskstats.h>
9229 static struct taskstats ac_aggr;
9230 if (ac_aggr.freepages_count)
9236 rm -f conftest.$ac_objext
9237 if { (ac_try="$ac_compile"
9239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9240 *) ac_try_echo
=$ac_try;;
9242 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9243 $as_echo "$ac_try_echo") >&5
9244 (eval "$ac_compile") 2>conftest.er1
9246 grep -v '^ *+' conftest.er1
>conftest.err
9248 cat conftest.err
>&5
9249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); } && {
9251 test -z "$ac_c_werror_flag" ||
9252 test ! -s conftest.err
9253 } && test -s conftest.
$ac_objext; then
9254 ac_cv_member_struct_taskstats_freepages_count
=yes
9256 $as_echo "$as_me: failed program was:" >&5
9257 sed 's/^/| /' conftest.
$ac_ext >&5
9259 cat >conftest.
$ac_ext <<_ACEOF
9262 cat confdefs.h
>>conftest.
$ac_ext
9263 cat >>conftest.
$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9265 #include <linux/taskstats.h>
9271 static struct taskstats ac_aggr;
9272 if (sizeof ac_aggr.freepages_count)
9278 rm -f conftest.
$ac_objext
9279 if { (ac_try
="$ac_compile"
9281 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9282 *) ac_try_echo=$ac_try;;
9284 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9285 $as_echo "$ac_try_echo") >&5
9286 (eval "$ac_compile") 2>conftest.er1
9288 grep -v '^ *+' conftest.er1 >conftest.err
9290 cat conftest.err >&5
9291 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } && {
9293 test -z "$ac_c_werror_flag" ||
9294 test ! -s conftest.err
9295 } && test -s conftest.$ac_objext; then
9296 ac_cv_member_struct_taskstats_freepages_count=yes
9298 $as_echo "$as_me: failed program was:" >&5
9299 sed 's/^/| /' conftest.$ac_ext >&5
9301 ac_cv_member_struct_taskstats_freepages_count=no
9304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9309 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_taskstats_freepages_count" >&5
9310 $as_echo "$ac_cv_member_struct_taskstats_freepages_count" >&6; }
9311 if test "x$ac_cv_member_struct_taskstats_freepages_count" = x""yes; then
9313 cat >>confdefs.h <<_ACEOF
9314 #define HAVE_STRUCT_TASKSTATS_FREEPAGES_COUNT 1
9319 { $as_echo "$as_me:$LINENO: checking for struct taskstats.nvcsw" >&5
9320 $as_echo_n "checking for struct taskstats.nvcsw... " >&6; }
9321 if test "${ac_cv_member_struct_taskstats_nvcsw+set}" = set; then
9322 $as_echo_n "(cached) " >&6
9324 cat >conftest.$ac_ext <<_ACEOF
9327 cat confdefs.h >>conftest.$ac_ext
9328 cat >>conftest.$ac_ext <<_ACEOF
9329 /* end confdefs.h. */
9330 #include <linux/taskstats.h>
9336 static struct taskstats ac_aggr;
9343 rm -f conftest.$ac_objext
9344 if { (ac_try="$ac_compile"
9346 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9347 *) ac_try_echo
=$ac_try;;
9349 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9350 $as_echo "$ac_try_echo") >&5
9351 (eval "$ac_compile") 2>conftest.er1
9353 grep -v '^ *+' conftest.er1
>conftest.err
9355 cat conftest.err
>&5
9356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); } && {
9358 test -z "$ac_c_werror_flag" ||
9359 test ! -s conftest.err
9360 } && test -s conftest.
$ac_objext; then
9361 ac_cv_member_struct_taskstats_nvcsw
=yes
9363 $as_echo "$as_me: failed program was:" >&5
9364 sed 's/^/| /' conftest.
$ac_ext >&5
9366 cat >conftest.
$ac_ext <<_ACEOF
9369 cat confdefs.h
>>conftest.
$ac_ext
9370 cat >>conftest.
$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9372 #include <linux/taskstats.h>
9378 static struct taskstats ac_aggr;
9379 if (sizeof ac_aggr.nvcsw)
9385 rm -f conftest.
$ac_objext
9386 if { (ac_try
="$ac_compile"
9388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9389 *) ac_try_echo=$ac_try;;
9391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9392 $as_echo "$ac_try_echo") >&5
9393 (eval "$ac_compile") 2>conftest.er1
9395 grep -v '^ *+' conftest.er1 >conftest.err
9397 cat conftest.err >&5
9398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9399 (exit $ac_status); } && {
9400 test -z "$ac_c_werror_flag" ||
9401 test ! -s conftest.err
9402 } && test -s conftest.$ac_objext; then
9403 ac_cv_member_struct_taskstats_nvcsw=yes
9405 $as_echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.$ac_ext >&5
9408 ac_cv_member_struct_taskstats_nvcsw=no
9411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9416 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_taskstats_nvcsw" >&5
9417 $as_echo "$ac_cv_member_struct_taskstats_nvcsw" >&6; }
9418 if test "x$ac_cv_member_struct_taskstats_nvcsw" = x""yes; then
9420 cat >>confdefs.h <<_ACEOF
9421 #define HAVE_STRUCT_TASKSTATS_NVCSW 1
9426 { $as_echo "$as_me:$LINENO: checking for struct taskstats.read_bytes" >&5
9427 $as_echo_n "checking for struct taskstats.read_bytes... " >&6; }
9428 if test "${ac_cv_member_struct_taskstats_read_bytes+set}" = set; then
9429 $as_echo_n "(cached) " >&6
9431 cat >conftest.$ac_ext <<_ACEOF
9434 cat confdefs.h >>conftest.$ac_ext
9435 cat >>conftest.$ac_ext <<_ACEOF
9436 /* end confdefs.h. */
9437 #include <linux/taskstats.h>
9443 static struct taskstats ac_aggr;
9444 if (ac_aggr.read_bytes)
9450 rm -f conftest.$ac_objext
9451 if { (ac_try="$ac_compile"
9453 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9454 *) ac_try_echo
=$ac_try;;
9456 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9457 $as_echo "$ac_try_echo") >&5
9458 (eval "$ac_compile") 2>conftest.er1
9460 grep -v '^ *+' conftest.er1
>conftest.err
9462 cat conftest.err
>&5
9463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9464 (exit $ac_status); } && {
9465 test -z "$ac_c_werror_flag" ||
9466 test ! -s conftest.err
9467 } && test -s conftest.
$ac_objext; then
9468 ac_cv_member_struct_taskstats_read_bytes
=yes
9470 $as_echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.
$ac_ext >&5
9473 cat >conftest.
$ac_ext <<_ACEOF
9476 cat confdefs.h
>>conftest.
$ac_ext
9477 cat >>conftest.
$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9479 #include <linux/taskstats.h>
9485 static struct taskstats ac_aggr;
9486 if (sizeof ac_aggr.read_bytes)
9492 rm -f conftest.
$ac_objext
9493 if { (ac_try
="$ac_compile"
9495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9496 *) ac_try_echo=$ac_try;;
9498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9499 $as_echo "$ac_try_echo") >&5
9500 (eval "$ac_compile") 2>conftest.er1
9502 grep -v '^ *+' conftest.er1 >conftest.err
9504 cat conftest.err >&5
9505 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9506 (exit $ac_status); } && {
9507 test -z "$ac_c_werror_flag" ||
9508 test ! -s conftest.err
9509 } && test -s conftest.$ac_objext; then
9510 ac_cv_member_struct_taskstats_read_bytes=yes
9512 $as_echo "$as_me: failed program was:" >&5
9513 sed 's/^/| /' conftest.$ac_ext >&5
9515 ac_cv_member_struct_taskstats_read_bytes=no
9518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9523 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_taskstats_read_bytes" >&5
9524 $as_echo "$ac_cv_member_struct_taskstats_read_bytes" >&6; }
9525 if test "x$ac_cv_member_struct_taskstats_read_bytes" = x""yes; then
9527 cat >>confdefs.h <<_ACEOF
9528 #define HAVE_STRUCT_TASKSTATS_READ_BYTES 1
9540 cat >confcache <<\_ACEOF
9541 # This file is a shell script that caches the results of configure
9542 # tests run on this system so they can be shared between configure
9543 # scripts and configure runs, see configure's option --config-cache.
9544 # It is not useful on other systems. If it contains results you don't
9545 # want to keep, you may remove or edit it.
9547 # config.status only pays attention to the cache file if you give it
9548 # the --recheck option to rerun configure.
9550 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
9551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9556 # The following way of writing the cache mishandles newlines in values,
9557 # but we know of no workaround that is simple, portable, and efficient.
9558 # So, we kill variables containing newlines.
9559 # Ultrix sh set writes to stderr and can't be redirected directly,
9560 # and sets the high bit in the cache file unless we assign to the vars.
9562 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
9563 eval ac_val
=\$
$ac_var
9567 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
9568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
9571 _ | IFS | as_nl
) ;; #(
9572 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
9573 *) $as_unset $ac_var ;;
9579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
9580 *${as_nl}ac_space
=\
*)
9581 # `set' does not quote correctly, so add quotes (double-quote
9582 # substitution turns \\\\ into \\, and sed turns \\ into \).
9585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9588 # `set' quotes correctly as required by POSIX, so do not add quotes.
9589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
9598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9602 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
9603 if test -w "$cache_file"; then
9604 test "x$cache_file" != "x/dev/null" &&
9605 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
9606 $as_echo "$as_me: updating cache $cache_file" >&6;}
9607 cat confcache
>$cache_file
9609 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
9610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
9615 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9616 # Let make expand exec_prefix.
9617 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9619 DEFS
=-DHAVE_CONFIG_H
9623 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9624 # 1. Remove the extension, and $U if already installed.
9625 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
9626 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
9627 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
9628 # will be set to the directory where LIBOBJS objects are built.
9629 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
9630 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
9634 LTLIBOBJS
=$ac_ltlibobjs
9637 if test -z "${CROSS_COMPILATION_TRUE}" && test -z "${CROSS_COMPILATION_FALSE}"; then
9638 { { $as_echo "$as_me:$LINENO: error: conditional \"CROSS_COMPILATION\" was never defined.
9639 Usually this means the macro was only invoked conditionally." >&5
9640 $as_echo "$as_me: error: conditional \"CROSS_COMPILATION\" was never defined.
9641 Usually this means the macro was only invoked conditionally." >&2;}
9642 { (exit 1); exit 1; }; }
9644 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9645 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9646 Usually this means the macro was only invoked conditionally." >&5
9647 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
9648 Usually this means the macro was only invoked conditionally." >&2;}
9649 { (exit 1); exit 1; }; }
9651 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9652 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9653 Usually this means the macro was only invoked conditionally." >&5
9654 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9655 Usually this means the macro was only invoked conditionally." >&2;}
9656 { (exit 1); exit 1; }; }
9659 : ${CONFIG_STATUS=./config.status}
9661 ac_clean_files_save
=$ac_clean_files
9662 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9663 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9664 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
9665 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
9667 # Generated by $as_me.
9668 # Run this file to recreate the current configuration.
9669 # Compiler output produced by configure, useful for debugging
9670 # configure, is in config.log if it exists.
9675 SHELL=\${CONFIG_SHELL-$SHELL}
9678 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
9679 ## --------------------- ##
9680 ## M4sh Initialization. ##
9681 ## --------------------- ##
9683 # Be more Bourne compatible
9684 DUALCASE
=1; export DUALCASE
# for MKS sh
9685 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9688 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
9689 # is contrary to our usage. Disable this feature.
9690 alias -g '${1+"$@"}'='"$@"'
9691 setopt NO_GLOB_SUBST
9693 case `(set -o) 2>/dev/null` in
9694 *posix
*) set -o posix
;;
9703 # Avoid depending upon Character Ranges.
9704 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9705 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9706 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9707 as_cr_digits
='0123456789'
9708 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9713 # Printing a long string crashes Solaris 7 /usr/bin/printf.
9714 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
9715 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
9716 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
9717 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
9718 as_echo='printf %s
\n'
9719 as_echo_n='printf %s
'
9721 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
9722 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
9723 as_echo_n='/usr
/ucb
/echo -n'
9725 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
9726 as_echo_n_body='eval
9730 expr "X$arg" : "X\\(.*\\)$as_nl";
9731 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
9733 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
9735 export as_echo_n_body
9736 as_echo_n='sh
-c $as_echo_n_body as_echo
'
9739 as_echo='sh
-c $as_echo_body as_echo
'
9742 # The user is always right.
9743 if test "${PATH_SEPARATOR+set}" != set; then
9745 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
9746 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
9751 # Support unset when possible.
9752 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9760 # We need space, tab and new line, in precisely that order. Quoting is
9761 # there to prevent editors from complaining about space-tab.
9762 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
9763 # splitting by setting IFS to empty value.)
9766 # Find who we are. Look in the path if we contain no directory separator.
9768 *[\\/]* ) as_myself=$0 ;;
9769 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9773 test -z "$as_dir" && as_dir=.
9774 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9780 # We did not find ourselves, most probably we were run as `sh COMMAND'
9781 # in which case we are not to be found in the path.
9782 if test "x$as_myself" = x
; then
9785 if test ! -f "$as_myself"; then
9786 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9787 { (exit 1); exit 1; }
9790 # Work around bugs in pre-3.0 UWIN ksh.
9791 for as_var
in ENV MAIL MAILPATH
9792 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9804 # Required to use basename.
9805 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9806 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9812 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9813 as_basename
=basename
9819 # Name of the executable.
9820 as_me
=`$as_basename -- "$0" ||
9821 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9822 X"$0" : 'X\(//\)$' \| \
9823 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9825 sed '/^.*\/\([^/][^/]*\)\/*$/{
9846 test "x$as_lineno_1" != "x$as_lineno_2" &&
9847 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9849 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9850 # uniformly replaced by the line number. The first 'sed' inserts a
9851 # line-number line after each line using $LINENO; the second 'sed'
9852 # does the real work. The second script uses 'N' to pair each
9853 # line-number line with the line containing $LINENO, and appends
9854 # trailing '-' during substitution so that $LINENO is not a special
9856 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9857 # scripts with optimization help from Paolo Bonzini. Blame Lee
9858 # E. McMahon (1931-1989) for sed's syntax. :-)
9870 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9874 chmod +x
"$as_me.lineno" ||
9875 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9876 { (exit 1); exit 1; }; }
9878 # Don't try to exec as it changes $[0], causing all sort of problems
9879 # (the dirname of $[0] is not the place where we might find the
9880 # original and so on. Autoconf is especially sensitive to this).
9882 # Exit status is that of the last command.
9887 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9893 ECHO_C
= ECHO_N
= ECHO_T
=
9896 case `echo 'x\c'` in
9897 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9903 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9904 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9910 rm -f conf$$ conf$$.exe conf$$.
file
9911 if test -d conf$$.dir
; then
9912 rm -f conf$$.dir
/conf$$.
file
9915 mkdir conf$$.dir
2>/dev
/null
9917 if (echo >conf$$.
file) 2>/dev
/null
; then
9918 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9920 # ... but there are two gotchas:
9921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9923 # In both cases, we have to default to `cp -p'.
9924 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9926 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9934 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9935 rmdir conf$$.dir
2>/dev
/null
9937 if mkdir
-p .
2>/dev
/null
; then
9940 test -d .
/-p && rmdir .
/-p
9944 if test -x / >/dev
/null
2>&1; then
9947 if ls -dL / >/dev
/null
2>&1; then
9954 if test -d "$1"; then
9960 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
9961 ???[sx]*):;;*)false;;esac;fi
9965 as_executable_p
=$as_test_x
9967 # Sed expression to map a string onto a valid CPP name.
9968 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9970 # Sed expression to map a string onto a valid variable name.
9971 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9976 # Save the log message, to keep $[0] and so on meaningful, and to
9977 # report actual input values of CONFIG_FILES etc. instead of their
9978 # values after options handling.
9980 This file was extended by ltp $as_me 20091031, which was
9981 generated by GNU Autoconf 2.63. Invocation command line was
9983 CONFIG_FILES = $CONFIG_FILES
9984 CONFIG_HEADERS = $CONFIG_HEADERS
9985 CONFIG_LINKS = $CONFIG_LINKS
9986 CONFIG_COMMANDS = $CONFIG_COMMANDS
9989 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9994 case $ac_config_files in *"
9995 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
9998 case $ac_config_headers in *"
9999 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
10003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10004 # Files that config.status was made for.
10005 config_files="$ac_config_files"
10006 config_headers="$ac_config_headers"
10007 config_commands="$ac_config_commands"
10011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10013 \`$as_me' instantiates files from templates according to the
10014 current configuration.
10016 Usage: $0 [OPTION]... [FILE]...
10018 -h, --help print this help, then exit
10019 -V, --version print version number and configuration settings, then exit
10020 -q, --quiet, --silent
10021 do not print progress messages
10022 -d, --debug don't remove temporary files
10023 --recheck update $as_me by reconfiguring in the same conditions
10024 --file=FILE[:TEMPLATE]
10025 instantiate the configuration file FILE
10026 --header=FILE[:TEMPLATE]
10027 instantiate the configuration header FILE
10029 Configuration files:
10032 Configuration headers:
10035 Configuration commands:
10038 Report bugs to <bug-autoconf@gnu.org>."
10041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10043 ltp config.status 20091031
10044 configured by $0, generated by GNU Autoconf 2.63,
10045 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10047 Copyright (C) 2008 Free Software Foundation, Inc.
10048 This config.status script is free software; the Free Software Foundation
10049 gives unlimited permission to copy, distribute and modify it."
10056 test -n "\$AWK" || AWK=awk
10059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10060 # The default lists apply if the user does not specify any file.
10066 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10067 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10078 # Handling of the options.
10079 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10081 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10082 $as_echo "$ac_cs_version"; exit ;;
10083 --debug |
--debu |
--deb |
--de |
--d |
-d )
10085 --file |
--fil |
--fi |
--f )
10088 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10090 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
10091 ac_need_defaults
=false
;;
10092 --header |
--heade |
--head |
--hea )
10095 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10097 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
10098 ac_need_defaults
=false
;;
10100 # Conflict between --help and --header
10101 { $as_echo "$as_me: error: ambiguous option: $1
10102 Try \`$0 --help' for more information." >&2
10103 { (exit 1); exit 1; }; };;
10104 --help |
--hel |
-h )
10105 $as_echo "$ac_cs_usage"; exit ;;
10106 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10107 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10110 # This is an error.
10111 -*) { $as_echo "$as_me: error: unrecognized option: $1
10112 Try \`$0 --help' for more information." >&2
10113 { (exit 1); exit 1; }; } ;;
10115 *) ac_config_targets
="$ac_config_targets $1"
10116 ac_need_defaults
=false
;;
10122 ac_configure_extra_args
=
10124 if $ac_cs_silent; then
10126 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10131 if \$ac_cs_recheck; then
10132 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10134 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10135 CONFIG_SHELL='$SHELL'
10136 export CONFIG_SHELL
10141 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10145 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10146 ## Running $as_me. ##
10152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10156 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
10160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10162 # Handling of arguments.
10163 for ac_config_target
in $ac_config_targets
10165 case $ac_config_target in
10166 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
10167 "include/mk/config.mk") CONFIG_FILES
="$CONFIG_FILES include/mk/config.mk" ;;
10168 "lib/ltp.pc") CONFIG_FILES
="$CONFIG_FILES lib/ltp.pc" ;;
10169 "ltp-devel.spec") CONFIG_FILES
="$CONFIG_FILES ltp-devel.spec" ;;
10170 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
10171 "README.ltp-devel") CONFIG_FILES
="$CONFIG_FILES README.ltp-devel" ;;
10172 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
10174 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10175 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10176 { (exit 1); exit 1; }; };;
10181 # If the user did not use the arguments to specify the items to instantiate,
10182 # then the envvar interface is used. Set only those that are not.
10183 # We use the long form for the default assignment because of an extremely
10184 # bizarre bug on SunOS 4.1.3.
10185 if $ac_need_defaults; then
10186 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10187 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10188 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10191 # Have a temporary directory for convenience. Make it in the build tree
10192 # simply because there is no reason against having it here, and in addition,
10193 # creating and moving files from /tmp can sometimes cause problems.
10194 # Hook for its removal unless debugging.
10195 # Note that there is a small window in which the directory will not be cleaned:
10196 # after its creation but before its name has been assigned to `$tmp'.
10200 trap 'exit_status=$?
10201 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
10203 trap '{ (exit 1); exit 1; }' 1 2 13 15
10205 # Create a (secure) tmp directory for tmp files.
10208 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
10209 test -n "$tmp" && test -d "$tmp"
10212 tmp
=.
/conf$$
-$RANDOM
10213 (umask 077 && mkdir
"$tmp")
10216 $as_echo "$as_me: cannot create a temporary directory in ." >&2
10217 { (exit 1); exit 1; }
10220 # Set up the scripts for CONFIG_FILES section.
10221 # No need to generate them if there are no CONFIG_FILES.
10222 # This happens for instance with `./config.status config.h'.
10223 if test -n "$CONFIG_FILES"; then
10227 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
10228 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
10231 ac_cs_awk_cr
=$ac_cr
10234 echo 'BEGIN {' >"$tmp/subs1.awk" &&
10239 echo "cat >conf$$subs.awk <<_ACEOF" &&
10240 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
10242 } >conf$$subs.sh ||
10243 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10244 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10245 { (exit 1); exit 1; }; }
10246 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
10248 for ac_last_try in false false false false false :; do
10249 . ./conf$$subs.sh ||
10250 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10251 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10252 { (exit 1); exit 1; }; }
10254 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
10255 if test $ac_delim_n = $ac_delim_num; then
10257 elif $ac_last_try; then
10258 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
10259 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
10260 { (exit 1); exit 1; }; }
10262 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10265 rm -f conf$$subs.sh
10267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10268 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
10272 s/^/S["/; s
/!.
*/"]=/
10282 s/\(.\{148\}\).*/\1/
10284 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
10289 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10296 s/\(.\{148\}\).*/\1/
10298 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
10302 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
10307 ' <conf$$subs.awk | sed '
10312 ' >>$CONFIG_STATUS || ac_write_fail=1
10313 rm -f conf$$subs.awk
10314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10316 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
10317 for (key in S) S_is_set[key] = 1
10323 nfields = split(line, field, "@
")
10325 len = length(field[1])
10326 for (i = 2; i < nfields; i++) {
10328 keylen = length(key)
10329 if (S_is_set[key]) {
10331 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
10332 len += length(value) + length(field[++i])
10343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10344 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
10345 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
10348 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
10349 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
10350 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
10351 { (exit 1); exit 1; }; }
10354 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10355 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
10356 # trailing colons and then remove the whole line if VPATH becomes empty
10357 # (actually we leave an empty line to preserve line numbers).
10358 if test "x
$srcdir" = x.; then
10359 ac_vpsub='/^[ ]*VPATH[ ]*=/{
10360 s/:*\$(srcdir):*/:/
10361 s/:*\${srcdir}:*/:/
10363 s/^\([^=]*=[ ]*\):*/\1/
10369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
10370 fi # test -n "$CONFIG_FILES"
10372 # Set up the scripts for CONFIG_HEADERS section.
10373 # No need to generate them if there are no CONFIG_HEADERS.
10374 # This happens for instance with `./config.status Makefile'.
10375 if test -n "$CONFIG_HEADERS"; then
10376 cat >"$tmp/defines.
awk" <<\_ACAWK ||
10380 # Transform confdefs.h into an awk script `defines.awk', embedded as
10381 # here-document in config.status, that substitutes the proper values into
10382 # config.h.in to produce config.h.
10384 # Create a delimiter string that does not exist in confdefs.h, to ease
10385 # handling of long lines.
10387 for ac_last_try in false false :; do
10388 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
10389 if test -z "$ac_t"; then
10391 elif $ac_last_try; then
10392 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
10393 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
10394 { (exit 1); exit 1; }; }
10396 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
10400 # For the awk script, D is an array of macro values keyed by name,
10401 # likewise P contains macro parameters if any. Preserve backslash
10402 # newline sequences.
10404 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
10406 s/.\{148\}/&'"$ac_delim"'/g
10409 s/^[ ]*#[ ]*define[ ][ ]*/ /
10416 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
10418 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
10422 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
10423 D["\
1"]=" \
3\\\\\\n
"\\/p
10425 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
10430 s/.\{148\}/&'"$ac_delim"'/g
10435 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
10438 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
10440 ' <confdefs.h | sed '
10441 s/'"$ac_delim"'/"\\\
10442 "/g' >>$CONFIG_STATUS || ac_write_fail=1
10444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10445 for (key in D) D_is_set[key] = 1
10448 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
10450 split(line, arg, " ")
10451 if (arg[1] == "#") {
10455 defundef
= substr
(arg
[1], 2)
10458 split(mac1
, mac2
, "(") #)
10460 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
10461 if (D_is_set
[macro
]) {
10462 # Preserve the white space surrounding the "#".
10463 print prefix
"define", macro P
[macro
] D
[macro
]
10466 # Replace #undef with comments. This is necessary, for example,
10467 # in the case of _POSIX_SOURCE, which is predefined and required
10468 # on some systems where configure will not decide to define it.
10469 if (defundef
== "undef") {
10470 print
"/*", prefix defundef
, macro
, "*/"
10478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10479 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
10480 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
10481 { (exit 1); exit 1; }; }
10482 fi # test -n "$CONFIG_HEADERS"
10485 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
10490 :[FHLC
]) ac_mode
=$ac_tag; continue;;
10492 case $ac_mode$ac_tag in
10494 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
10495 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
10496 { (exit 1); exit 1; }; };;
10497 :[FH
]-) ac_tag
=-:-;;
10498 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
10515 -) ac_f
="$tmp/stdin";;
10516 *) # Look for the file first in the build tree, then in the source tree
10517 # (if the path is not absolute). The absolute path cannot be DOS-style,
10518 # because $ac_f cannot contain `:'.
10522 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
10524 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
10525 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
10526 { (exit 1); exit 1; }; };;
10528 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
10529 ac_file_inputs
="$ac_file_inputs '$ac_f'"
10532 # Let's still pretend it is `configure' which instantiates (i.e., don't
10533 # use $as_me), people would be surprised to read:
10534 # /* config.h. Generated by config.status. */
10535 configure_input
='Generated from '`
10536 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
10538 if test x
"$ac_file" != x-
; then
10539 configure_input
="$ac_file. $configure_input"
10540 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
10541 $as_echo "$as_me: creating $ac_file" >&6;}
10543 # Neutralize special characters interpreted by sed in replacement strings.
10544 case $configure_input in #(
10545 *\
&* |
*\|
* |
*\\* )
10546 ac_sed_conf_input
=`$as_echo "$configure_input" |
10547 sed 's/[\\\\&|]/\\\\&/g'`;; #(
10548 *) ac_sed_conf_input
=$configure_input;;
10552 *:-:* |
*:-) cat >"$tmp/stdin" \
10553 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10554 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10555 { (exit 1); exit 1; }; } ;;
10560 ac_dir
=`$as_dirname -- "$ac_file" ||
10561 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10562 X"$ac_file" : 'X\(//\)[^/]' \| \
10563 X"$ac_file" : 'X\(//\)$' \| \
10564 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
10565 $as_echo X"$ac_file" |
10566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10570 /^X\(\/\/\)[^/].*/{
10585 -*) as_dir
=.
/$as_dir;;
10587 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10591 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10592 *) as_qdir
=$as_dir;;
10594 as_dirs
="'$as_qdir' $as_dirs"
10595 as_dir
=`$as_dirname -- "$as_dir" ||
10596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10597 X"$as_dir" : 'X\(//\)[^/]' \| \
10598 X"$as_dir" : 'X\(//\)$' \| \
10599 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10600 $as_echo X"$as_dir" |
10601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10605 /^X\(\/\/\)[^/].*/{
10618 test -d "$as_dir" && break
10620 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10621 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10622 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10623 { (exit 1); exit 1; }; }; }
10627 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10629 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
10630 # A ".." for each directory in $ac_dir_suffix.
10631 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
10632 case $ac_top_builddir_sub in
10633 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
10634 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
10637 ac_abs_top_builddir
=$ac_pwd
10638 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
10639 # for backward compatibility:
10640 ac_top_builddir
=$ac_top_build_prefix
10643 .
) # We are building in place.
10645 ac_top_srcdir
=$ac_top_builddir_sub
10646 ac_abs_top_srcdir
=$ac_pwd ;;
10647 [\\/]* | ?
:[\\/]* ) # Absolute name.
10648 ac_srcdir
=$srcdir$ac_dir_suffix;
10649 ac_top_srcdir
=$srcdir
10650 ac_abs_top_srcdir
=$srcdir ;;
10651 *) # Relative name.
10652 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
10653 ac_top_srcdir
=$ac_top_build_prefix$srcdir
10654 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
10656 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
10666 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
10667 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
10669 ac_MKDIR_P
=$MKDIR_P
10671 [\\/$
]* | ?
:[\\/]* ) ;;
10672 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
10676 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10677 # If the template does not know about datarootdir, expand it.
10678 # FIXME: This hack should be removed a few years after 2.60.
10679 ac_datarootdir_hack
=; ac_datarootdir_seen
=
10692 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
10693 *datarootdir
*) ac_datarootdir_seen
=yes;;
10694 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
10695 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
10696 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
10698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10699 ac_datarootdir_hack='
10700 s&@datadir@&$datadir&g
10701 s&@docdir@&$docdir&g
10702 s&@infodir@&$infodir&g
10703 s&@localedir@&$localedir&g
10704 s&@mandir@&$mandir&g
10705 s&\\\${datarootdir}&$datarootdir&g' ;;
10709 # Neutralize VPATH when `$srcdir' = `.'.
10710 # Shell code in configure.ac might set extrasub.
10711 # FIXME: do we really want to maintain this feature?
10712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10713 ac_sed_extra="$ac_vpsub
10716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10718 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10719 s|@configure_input@|
$ac_sed_conf_input|
;t t
10720 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
10721 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
10722 s
&@srcdir@
&$ac_srcdir&;t t
10723 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
10724 s
&@top_srcdir@
&$ac_top_srcdir&;t t
10725 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
10726 s
&@builddir@
&$ac_builddir&;t t
10727 s
&@abs_builddir@
&$ac_abs_builddir&;t t
10728 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
10729 s
&@INSTALL@
&$ac_INSTALL&;t t
10730 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
10731 $ac_datarootdir_hack
10733 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
10734 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
10735 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
10736 { (exit 1); exit 1; }; }
10738 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
10739 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
10740 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
10741 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
10742 which seems to be undefined. Please make sure it is defined." >&5
10743 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
10744 which seems to be undefined. Please make sure it is defined." >&2;}
10748 -) cat "$tmp/out" && rm -f "$tmp/out";;
10749 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
10751 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10752 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10753 { (exit 1); exit 1; }; }
10759 if test x"$ac_file" != x-; then
10761 $as_echo "/* $configure_input */" \
10762 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
10763 } >"$tmp/config.h" \
10764 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10765 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10766 { (exit 1); exit 1; }; }
10767 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
10768 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10769 $as_echo "$as_me: $ac_file is unchanged" >&6;}
10772 mv "$tmp/config.h" "$ac_file" \
10773 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
10774 $as_echo "$as_me: error: could not create $ac_file" >&2;}
10775 { (exit 1); exit 1; }; }
10778 $as_echo "/* $configure_input */" \
10779 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
10780 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
10781 $as_echo "$as_me: error: could not create -" >&2;}
10782 { (exit 1); exit 1; }; }
10784 # Compute "$ac_file"'s index
in $config_headers.
10787 for _am_header
in $config_headers :; do
10788 case $_am_header in
10789 $_am_arg |
$_am_arg:* )
10792 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10795 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
10796 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10797 X"$_am_arg" : 'X\(//\)[^/]' \| \
10798 X"$_am_arg" : 'X\(//\)$' \| \
10799 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
10800 $as_echo X"$_am_arg" |
10801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10805 /^X\(\/\/\)[^/].*/{
10817 s/.*/./; q'`/stamp-h
$_am_stamp_count
10820 :C
) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
10821 $as_echo "$as_me: executing $ac_file commands" >&6;}
10826 case $ac_file$ac_mode in
10827 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
# Autoconf 2.62 quotes --file arguments for eval, but not when files
10828 # are listed without --file. Let's play safe and only enable the eval
10829 # if we detect the quoting.
10830 case $CONFIG_FILES in
10831 *\'*) eval set x
"$CONFIG_FILES" ;;
10832 *) set x
$CONFIG_FILES ;;
10837 # Strip MF so we end up with the name of the file.
10838 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10839 # Check whether this is an Automake generated Makefile or not.
10840 # We used to match only the files named `Makefile.in', but
10841 # some people rename them; so instead we look at the file content.
10842 # Grep'ing the first line is not enough: some people post-process
10843 # each Makefile.in and add a new line on top of each file to say so.
10844 # Grep'ing the whole file is not good either: AIX grep has a line
10845 # limit of 2048, but all sed's we know have understand at least 4000.
10846 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
10847 dirpart
=`$as_dirname -- "$mf" ||
10848 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10849 X"$mf" : 'X\(//\)[^/]' \| \
10850 X"$mf" : 'X\(//\)$' \| \
10851 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10853 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10857 /^X\(\/\/\)[^/].*/{
10873 # Extract the definition of DEPDIR, am__include, and am__quote
10874 # from the Makefile without running `make'.
10875 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10876 test -z "$DEPDIR" && continue
10877 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10878 test -z "am__include" && continue
10879 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10880 # When using ansi2knr, U may be empty or an underscore; expand it
10881 U
=`sed -n 's/^U = //p' < "$mf"`
10882 # Find all dependency output files, they are included files with
10883 # $(DEPDIR) in their names. We invoke sed twice because it is the
10884 # simplest approach to changing $(DEPDIR) to its actual value in the
10886 for file in `sed -n "
10887 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10888 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10889 # Make sure the directory exists.
10890 test -f "$dirpart/$file" && continue
10891 fdir
=`$as_dirname -- "$file" ||
10892 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10893 X"$file" : 'X\(//\)[^/]' \| \
10894 X"$file" : 'X\(//\)$' \| \
10895 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10896 $as_echo X"$file" |
10897 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10901 /^X\(\/\/\)[^/].*/{
10914 { as_dir
=$dirpart/$fdir
10916 -*) as_dir
=.
/$as_dir;;
10918 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10922 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10923 *) as_qdir
=$as_dir;;
10925 as_dirs
="'$as_qdir' $as_dirs"
10926 as_dir
=`$as_dirname -- "$as_dir" ||
10927 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10928 X"$as_dir" : 'X\(//\)[^/]' \| \
10929 X"$as_dir" : 'X\(//\)$' \| \
10930 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10931 $as_echo X"$as_dir" |
10932 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10936 /^X\(\/\/\)[^/].*/{
10949 test -d "$as_dir" && break
10951 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10952 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10953 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
10954 { (exit 1); exit 1; }; }; }
10955 # echo "creating $dirpart/$file"
10956 echo '# dummy' > "$dirpart/$file"
10965 { (exit 0); exit 0; }
10967 chmod +x
$CONFIG_STATUS
10968 ac_clean_files
=$ac_clean_files_save
10970 test $ac_write_fail = 0 ||
10971 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
10972 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
10973 { (exit 1); exit 1; }; }
10976 # configure is writing to config.log, and then calls config.status.
10977 # config.status does its own redirection, appending to config.log.
10978 # Unfortunately, on DOS this fails, as config.log is still kept open
10979 # by configure, so config.status won't be able to write to it; its
10980 # output is simply discarded. So we exec the FD to /dev/null,
10981 # effectively closing config.log, so it can be properly (re)opened and
10982 # appended to by config.status. When coming back to configure, we
10983 # need to make the FD available again.
10984 if test "$no_create" != yes; then
10986 ac_config_status_args
=
10987 test "$silent" = yes &&
10988 ac_config_status_args
="$ac_config_status_args --quiet"
10990 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10992 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10993 # would make configure fail if this is the last instruction.
10994 $ac_cs_success ||
{ (exit 1); exit 1; }
10998 # CONFIG_SUBDIRS section.
11000 if test "$no_recursion" != yes; then
11002 # Remove --cache-file, --srcdir, and --disable-option-checking arguments
11003 # so they do not pile up.
11004 ac_sub_configure_args
=
11006 eval "set x $ac_configure_args"
11010 if test -n "$ac_prev"; then
11015 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
11016 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
11017 ac_prev
=cache_file
;;
11018 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
11019 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* \
11022 --config-cache |
-C)
11024 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
11026 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
11028 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
11030 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
11032 --disable-option-checking)
11036 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11038 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
11042 # Always prepend --prefix to ensure using the same prefix
11043 # in subdir configurations.
11044 ac_arg
="--prefix=$prefix"
11046 *\'*) ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
11048 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
11051 if test "$silent" = yes; then
11052 ac_sub_configure_args
="--silent $ac_sub_configure_args"
11055 # Always prepend --disable-option-checking to silence warnings, since
11056 # different subdirs can have different --enable and --with options.
11057 ac_sub_configure_args
="--disable-option-checking $ac_sub_configure_args"
11060 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
11062 # Do not complain, so a configure script can configure whichever
11063 # parts of a large source tree are present.
11064 test -d "$srcdir/$ac_dir" ||
continue
11066 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
11067 $as_echo "$as_me:$LINENO: $ac_msg" >&5
11068 $as_echo "$ac_msg" >&6
11071 -*) as_dir
=.
/$as_dir;;
11073 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11077 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11078 *) as_qdir
=$as_dir;;
11080 as_dirs
="'$as_qdir' $as_dirs"
11081 as_dir
=`$as_dirname -- "$as_dir" ||
11082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11083 X"$as_dir" : 'X\(//\)[^/]' \| \
11084 X"$as_dir" : 'X\(//\)$' \| \
11085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11086 $as_echo X"$as_dir" |
11087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11091 /^X\(\/\/\)[^/].*/{
11104 test -d "$as_dir" && break
11106 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11107 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11108 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
11109 { (exit 1); exit 1; }; }; }
11113 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11115 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11116 # A ".." for each directory in $ac_dir_suffix.
11117 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11118 case $ac_top_builddir_sub in
11119 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11120 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11123 ac_abs_top_builddir
=$ac_pwd
11124 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11125 # for backward compatibility:
11126 ac_top_builddir
=$ac_top_build_prefix
11129 .
) # We are building in place.
11131 ac_top_srcdir
=$ac_top_builddir_sub
11132 ac_abs_top_srcdir
=$ac_pwd ;;
11133 [\\/]* | ?
:[\\/]* ) # Absolute name.
11134 ac_srcdir
=$srcdir$ac_dir_suffix;
11135 ac_top_srcdir
=$srcdir
11136 ac_abs_top_srcdir
=$srcdir ;;
11137 *) # Relative name.
11138 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11139 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11140 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11142 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11147 # Check for guested configure; otherwise get Cygnus style configure.
11148 if test -f "$ac_srcdir/configure.gnu"; then
11149 ac_sub_configure
=$ac_srcdir/configure.gnu
11150 elif test -f "$ac_srcdir/configure"; then
11151 ac_sub_configure
=$ac_srcdir/configure
11152 elif test -f "$ac_srcdir/configure.in"; then
11153 # This should be Cygnus configure.
11154 ac_sub_configure
=$ac_aux_dir/configure
11156 { $as_echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
11157 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
11161 # The recursion is here.
11162 if test -n "$ac_sub_configure"; then
11163 # Make the cache file name correct relative to the subdirectory.
11164 case $cache_file in
11165 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
11166 *) # Relative name.
11167 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
11170 { $as_echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
11171 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
11172 # The eval makes quoting arguments work.
11173 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
11174 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
11175 { { $as_echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
11176 $as_echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
11177 { (exit 1); exit 1; }; }
11183 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11184 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11185 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}