diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 301 |
1 files changed, 11 insertions, 290 deletions
@@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for Automated Testing Framework 0.19. +# Generated by GNU Autoconf 2.69 for Automated Testing Framework 0.20. # # Report bugs to <atf-devel@NetBSD.org>. # @@ -592,8 +592,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='Automated Testing Framework' PACKAGE_TARNAME='atf' -PACKAGE_VERSION='0.19' -PACKAGE_STRING='Automated Testing Framework 0.19' +PACKAGE_VERSION='0.20' +PACKAGE_STRING='Automated Testing Framework 0.20' PACKAGE_BUGREPORT='atf-devel@NetBSD.org' PACKAGE_URL='https://github.com/jmmv/atf/' @@ -642,19 +642,10 @@ GIT HAVE_KYUA_FALSE HAVE_KYUA_TRUE KYUA -GDB ATF_SHELL -atf_xsldir atf_pkgconfigdir -atf_egdir -atf_dtddir -atf_cssdir atf_aclocaldir ATF_WORKDIR -atf_confdir -ATF_CONFSUBDIR -atf_machine -atf_arch target_srcdir ATF_BUILD_CXXFLAGS ATF_BUILD_CXX @@ -672,9 +663,6 @@ CXXDEPMODE ac_ct_CXX CXXFLAGS CXX -ENABLE_TOOLS_FALSE -ENABLE_TOOLS_TRUE -ENABLE_TOOLS CPP OTOOL64 OTOOL @@ -803,7 +791,6 @@ enable_fast_install with_gnu_ld with_sysroot enable_libtool_lock -enable_tools enable_developer ' ac_precious_vars='build_alias @@ -825,7 +812,6 @@ ATF_BUILD_CPP ATF_BUILD_CPPFLAGS ATF_BUILD_CXX ATF_BUILD_CXXFLAGS -ATF_CONFSUBDIR ATF_WORKDIR ATF_SHELL' @@ -1368,7 +1354,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures Automated Testing Framework 0.19 to adapt to many kinds of systems. +\`configure' configures Automated Testing Framework 0.20 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1439,7 +1425,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of Automated Testing Framework 0.19:";; + short | recursive ) echo "Configuration of Automated Testing Framework 0.20:";; esac cat <<\_ACEOF @@ -1458,7 +1444,6 @@ Optional Features: --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) - --enable-tools Enables the build of the deprecated ATF tools --enable-developer enable developer features Optional Packages: @@ -1494,8 +1479,6 @@ Some influential environment variables: C++ compiler to use at runtime ATF_BUILD_CXXFLAGS C++ compiler flags to use at runtime - ATF_CONFSUBDIR - Subdirectory of sysconfdir under which to look for files ATF_WORKDIR Default location to use for ATF work directories ATF_SHELL Location of the POSIX shell interpreter to use @@ -1566,7 +1549,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -Automated Testing Framework configure 0.19 +Automated Testing Framework configure 0.20 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2072,65 +2055,11 @@ $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_cxx_check_func - -# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES -# --------------------------------------------- -# Tests whether TYPE exists after having included INCLUDES, setting cache -# variable VAR accordingly. -ac_fn_cxx_check_type () -{ - as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 -$as_echo_n "checking for $2... " >&6; } -if eval \${$3+:} false; then : - $as_echo_n "(cached) " >&6 -else - eval "$3=no" - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof ($2)) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -$4 -int -main () -{ -if (sizeof (($2))) - return 0; - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_compile "$LINENO"; then : - -else - eval "$3=yes" -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -eval ac_res=\$$3 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } - eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno - -} # ac_fn_cxx_check_type cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by Automated Testing Framework $as_me 0.19, which was +It was created by Automated Testing Framework $as_me 0.20, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3116,7 +3045,7 @@ fi # Define the identity of the package. PACKAGE='atf' - VERSION='0.19' + VERSION='0.20' cat >>confdefs.h <<_ACEOF @@ -11931,27 +11860,6 @@ CC="$lt_save_CC" -# Check whether --enable-tools was given. -if test "${enable_tools+set}" = set; then : - enableval=$enable_tools; case $enableval in - yes|no) enable_tools=${enableval} ;; - *) as_fn_error $? "Invalid value passed to --enable-tools" "$LINENO" 5 ;; - esac -else - enable_tools=no -fi - -ENABLE_TOOLS=${enable_tools} - - if test "${enable_tools}" = yes; then - ENABLE_TOOLS_TRUE= - ENABLE_TOOLS_FALSE='#' -else - ENABLE_TOOLS_TRUE='#' - ENABLE_TOOLS_FALSE= -fi - - ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -17061,102 +16969,6 @@ $as_echo "#define HAVE_GETCWD_DYN 1" >>confdefs.h fi - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the last valid signal" >&5 -$as_echo_n "checking for the last valid signal... " >&6; } -if ${kyua_cv_signal_lastno+:} false; then : - $as_echo_n "(cached) " >&6 -else - - if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <err.h> -#include <errno.h> -#include <signal.h> -#include <stdio.h> -#include <stdio.h> -#include <stdlib.h> -int -main () -{ - - int i; - FILE *f; - - i = 0; - while (i < 1024) { - i++; - if (i != SIGKILL && i != SIGSTOP) { - struct sigaction sa; - int ret; - - sa.sa_handler = SIG_IGN; - sigemptyset(&sa.sa_mask); - sa.sa_flags = 0; - - ret = sigaction(i, &sa, NULL); - if (ret == -1) { - if (errno == EINVAL) { - i--; - break; - } else - err(EXIT_FAILURE, "sigaction failed"); - } - } - } - if (i == 100) - errx(EXIT_FAILURE, "too much signals"); - - f = fopen("conftest.cnt", "w"); - if (f == NULL) - err(EXIT_FAILURE, "failed to open file"); - - fprintf(f, "%d\n", i); - fclose(f); - - return EXIT_SUCCESS; - - ; - return 0; -} -_ACEOF -if ac_fn_cxx_try_run "$LINENO"; then : - if test ! -f conftest.cnt; then - kyua_cv_signal_lastno=15 - else - kyua_cv_signal_lastno=$(cat conftest.cnt) - rm -f conftest.cnt - fi -else - kyua_cv_signal_lastno=15 -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ - conftest.$ac_objext conftest.beam conftest.$ac_ext -fi - - -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kyua_cv_signal_lastno" >&5 -$as_echo "$kyua_cv_signal_lastno" >&6; } - -cat >>confdefs.h <<_ACEOF -#define LAST_SIGNO ${kyua_cv_signal_lastno} -_ACEOF - - - -ac_fn_cxx_check_type "$LINENO" "timer_t" "ac_cv_type_timer_t" "#include <time.h> -" -if test "x$ac_cv_type_timer_t" = xyes; then : - -fi - - test x"${ATF_BUILD_CC-unset}" = x"unset" && ATF_BUILD_CC="${CC}" @@ -17197,37 +17009,6 @@ fi -atf_arch=`uname -p` -atf_machine=`uname -m` - -{ $as_echo "$as_me:${as_lineno-$LINENO}: Machine type: ${atf_machine}, architecture: ${atf_arch}" >&5 -$as_echo "$as_me: Machine type: ${atf_machine}, architecture: ${atf_arch}" >&6;} -atf_arch=${atf_arch} - -atf_machine=${atf_machine} - - - - -if test x"${ATF_CONFSUBDIR-unset}" = x"unset"; then - ATF_CONFSUBDIR=atf -else - case ${ATF_CONFSUBDIR} in - /*) - as_fn_error $? "ATF_CONFSUBDIR must hold a relative path" "$LINENO" 5 - ;; - *) - ;; - esac -fi -if test x"${ATF_CONFSUBDIR}" = x""; then - atf_confdir=\${sysconfdir} - -else - atf_confdir=\${sysconfdir}/${ATF_CONFSUBDIR} - -fi - if test x"${ATF_WORKDIR}" = x""; then for t in /tmp /var/tmp; do @@ -17251,16 +17032,8 @@ fi atf_aclocaldir=\${datadir}/aclocal -atf_cssdir=\${datadir}/examples/atf - -atf_dtddir=\${datadir}/xml/atf - -atf_egdir=\${datadir}/examples/atf - atf_pkgconfigdir=\${libdir}/pkgconfig -atf_xsldir=\${datadir}/xsl/atf - @@ -17324,46 +17097,6 @@ if test x"${ATF_SHELL}" = x""; then fi -# Extract the first word of "gdb", so it can be a program name with args. -set dummy gdb; ac_word=$2 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if ${ac_cv_path_GDB+:} false; then : - $as_echo_n "(cached) " >&6 -else - case $GDB in - [\\/]* | ?:[\\/]*) - ac_cv_path_GDB="$GDB" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then - ac_cv_path_GDB="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done - done -IFS=$as_save_IFS - - ;; -esac -fi -GDB=$ac_cv_path_GDB -if test -n "$GDB"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDB" >&5 -$as_echo "$GDB" >&6; } -else - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } -fi - - # Extract the first word of "kyua", so it can be a program name with args. set dummy kyua; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -17454,7 +17187,7 @@ fi -ac_config_files="$ac_config_files Makefile atf-c/defs.h tools/defs.hpp" +ac_config_files="$ac_config_files Makefile atf-c/defs.h" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -17589,10 +17322,6 @@ if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${ENABLE_TOOLS_TRUE}" && test -z "${ENABLE_TOOLS_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_TOOLS\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@ -18002,7 +17731,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by Automated Testing Framework $as_me 0.19, which was +This file was extended by Automated Testing Framework $as_me 0.20, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18069,7 +17798,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -Automated Testing Framework config.status 0.19 +Automated Testing Framework config.status 0.20 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -18580,7 +18309,6 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "atf-c/defs.h") CONFIG_FILES="$CONFIG_FILES atf-c/defs.h" ;; - "tools/defs.hpp") CONFIG_FILES="$CONFIG_FILES tools/defs.hpp" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac @@ -20128,10 +19856,3 @@ $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi -if test ${enable_tools} = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building the deprecated ATF tools (atf-run and atf-report);" >&5 -$as_echo "$as_me: WARNING: Building the deprecated ATF tools (atf-run and atf-report);" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: please migrate to Kyua as soon as feasible." >&5 -$as_echo "$as_me: WARNING: please migrate to Kyua as soon as feasible." >&2;} -fi - |