version 1.1.1.1, 2016/10/18 13:28:17
|
version 1.1.1.2, 2021/03/17 00:36:45
|
Line 1
|
Line 1
|
#! /bin/sh |
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.69 for iperf 3.1.3. | # Generated by GNU Autoconf 2.69 for iperf 3.9. |
# |
# |
# Report bugs to <https://github.com/esnet/iperf>. |
# Report bugs to <https://github.com/esnet/iperf>. |
# |
# |
Line 590 MAKEFLAGS=
|
Line 590 MAKEFLAGS=
|
# Identity of this package. |
# Identity of this package. |
PACKAGE_NAME='iperf' |
PACKAGE_NAME='iperf' |
PACKAGE_TARNAME='iperf' |
PACKAGE_TARNAME='iperf' |
PACKAGE_VERSION='3.1.3' | PACKAGE_VERSION='3.9' |
PACKAGE_STRING='iperf 3.1.3' | PACKAGE_STRING='iperf 3.9' |
PACKAGE_BUGREPORT='https://github.com/esnet/iperf' |
PACKAGE_BUGREPORT='https://github.com/esnet/iperf' |
PACKAGE_URL='http://software.es.net/iperf/' | PACKAGE_URL='https://software.es.net/iperf/' |
|
|
# Factoring default headers for most tests. |
# Factoring default headers for most tests. |
ac_includes_default="\ |
ac_includes_default="\ |
Line 635 ac_subst_vars='am__EXEEXT_FALSE
|
Line 635 ac_subst_vars='am__EXEEXT_FALSE
|
am__EXEEXT_TRUE |
am__EXEEXT_TRUE |
LTLIBOBJS |
LTLIBOBJS |
LIBOBJS |
LIBOBJS |
|
OPENSSL_LDFLAGS |
|
OPENSSL_LIBS |
|
OPENSSL_INCLUDES |
|
PKG_CONFIG |
|
ENABLE_PROFILING_FALSE |
|
ENABLE_PROFILING_TRUE |
|
MAINT |
|
MAINTAINER_MODE_FALSE |
|
MAINTAINER_MODE_TRUE |
CPP |
CPP |
LT_SYS_LIBRARY_PATH |
LT_SYS_LIBRARY_PATH |
OTOOL64 |
OTOOL64 |
Line 643 LIPO
|
Line 652 LIPO
|
NMEDIT |
NMEDIT |
DSYMUTIL |
DSYMUTIL |
MANIFEST_TOOL |
MANIFEST_TOOL |
|
RANLIB |
ac_ct_AR |
ac_ct_AR |
AR |
AR |
DLLTOOL |
DLLTOOL |
OBJDUMP |
OBJDUMP |
|
LN_S |
NM |
NM |
ac_ct_DUMPBIN |
ac_ct_DUMPBIN |
DUMPBIN |
DUMPBIN |
Line 655 FGREP
|
Line 666 FGREP
|
EGREP |
EGREP |
GREP |
GREP |
SED |
SED |
LIBTOOL |
|
LN_S |
|
RANLIB |
|
am__fastdepCC_FALSE |
am__fastdepCC_FALSE |
am__fastdepCC_TRUE |
am__fastdepCC_TRUE |
CCDEPMODE |
CCDEPMODE |
Line 665 am__nodep
|
Line 673 am__nodep
|
AMDEPBACKSLASH |
AMDEPBACKSLASH |
AMDEP_FALSE |
AMDEP_FALSE |
AMDEP_TRUE |
AMDEP_TRUE |
am__quote |
|
am__include |
am__include |
DEPDIR |
DEPDIR |
OBJEXT |
OBJEXT |
Line 683 build_os
|
Line 690 build_os
|
build_vendor |
build_vendor |
build_cpu |
build_cpu |
build |
build |
MAINT | LIBTOOL |
MAINTAINER_MODE_FALSE | |
MAINTAINER_MODE_TRUE | |
AM_BACKSLASH |
AM_BACKSLASH |
AM_DEFAULT_VERBOSITY |
AM_DEFAULT_VERBOSITY |
AM_DEFAULT_V |
AM_DEFAULT_V |
Line 713 am__isrc
|
Line 718 am__isrc
|
INSTALL_DATA |
INSTALL_DATA |
INSTALL_SCRIPT |
INSTALL_SCRIPT |
INSTALL_PROGRAM |
INSTALL_PROGRAM |
|
ENABLE_STATIC_BIN_FALSE |
|
ENABLE_STATIC_BIN_TRUE |
target_alias |
target_alias |
host_alias |
host_alias |
build_alias |
build_alias |
Line 750 PACKAGE_VERSION
|
Line 757 PACKAGE_VERSION
|
PACKAGE_TARNAME |
PACKAGE_TARNAME |
PACKAGE_NAME |
PACKAGE_NAME |
PATH_SEPARATOR |
PATH_SEPARATOR |
SHELL' | SHELL |
| am__quote' |
ac_subst_files='' |
ac_subst_files='' |
ac_user_opts=' |
ac_user_opts=' |
enable_option_checking |
enable_option_checking |
|
enable_static_bin |
enable_silent_rules |
enable_silent_rules |
enable_maintainer_mode |
|
enable_dependency_tracking |
|
enable_shared |
enable_shared |
enable_static |
enable_static |
with_pic |
with_pic |
enable_fast_install |
enable_fast_install |
with_aix_soname |
with_aix_soname |
|
enable_dependency_tracking |
with_gnu_ld |
with_gnu_ld |
with_sysroot |
with_sysroot |
enable_libtool_lock |
enable_libtool_lock |
|
enable_maintainer_mode |
|
enable_profiling |
|
with_sctp |
|
with_openssl |
' |
' |
ac_precious_vars='build_alias |
ac_precious_vars='build_alias |
host_alias |
host_alias |
Line 1316 if test "$ac_init_help" = "long"; then
|
Line 1328 if test "$ac_init_help" = "long"; then
|
# Omit some internal or obsolete options to make the list less imposing. |
# 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. |
# This message is too long to be a string in the A/UX 3.1 sh. |
cat <<_ACEOF |
cat <<_ACEOF |
\`configure' configures iperf 3.1.3 to adapt to many kinds of systems. | \`configure' configures iperf 3.9 to adapt to many kinds of systems. |
|
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
|
Line 1386 fi
|
Line 1398 fi
|
|
|
if test -n "$ac_init_help"; then |
if test -n "$ac_init_help"; then |
case $ac_init_help in |
case $ac_init_help in |
short | recursive ) echo "Configuration of iperf 3.1.3:";; | short | recursive ) echo "Configuration of iperf 3.9:";; |
esac |
esac |
cat <<\_ACEOF |
cat <<\_ACEOF |
|
|
Line 1394 Optional Features:
|
Line 1406 Optional Features:
|
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-option-checking ignore unrecognized --enable/--with options |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
|
--enable-static-bin link iperf3 binary statically |
--enable-silent-rules less verbose build output (undo: "make V=1") |
--enable-silent-rules less verbose build output (undo: "make V=1") |
--disable-silent-rules verbose build output (undo: "make V=0") |
--disable-silent-rules verbose build output (undo: "make V=0") |
--enable-maintainer-mode |
|
enable make rules and dependencies not useful (and |
|
sometimes confusing) to the casual installer |
|
--enable-dependency-tracking |
|
do not reject slow dependency extractors |
|
--disable-dependency-tracking |
|
speeds up one-time build |
|
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-shared[=PKGS] build shared libraries [default=yes] |
--enable-static[=PKGS] build static libraries [default=yes] |
--enable-static[=PKGS] build static libraries [default=yes] |
--enable-fast-install[=PKGS] |
--enable-fast-install[=PKGS] |
optimize for fast installation [default=yes] |
optimize for fast installation [default=yes] |
|
--enable-dependency-tracking |
|
do not reject slow dependency extractors |
|
--disable-dependency-tracking |
|
speeds up one-time build |
--disable-libtool-lock avoid locking (might break parallel builds) |
--disable-libtool-lock avoid locking (might break parallel builds) |
|
--enable-maintainer-mode |
|
enable make rules and dependencies not useful (and |
|
sometimes confusing) to the casual installer |
|
--enable-profiling Enable iperf3 profiling binary |
|
|
Optional Packages: |
Optional Packages: |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
Line 1420 Optional Packages:
|
Line 1434 Optional Packages:
|
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-gnu-ld assume the C compiler uses GNU ld [default=no] |
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
--with-sysroot[=DIR] Search for dependent libraries within DIR (or the |
compiler's sysroot if not specified). |
compiler's sysroot if not specified). |
|
--without-sctp disable SCTP |
|
--with-openssl=DIR root of the OpenSSL directory |
|
|
Some influential environment variables: |
Some influential environment variables: |
CC C compiler command |
CC C compiler command |
Line 1437 Use these variables to override the choices made by `c
|
Line 1453 Use these variables to override the choices made by `c
|
it to find libraries and programs with nonstandard names/locations. |
it to find libraries and programs with nonstandard names/locations. |
|
|
Report bugs to <https://github.com/esnet/iperf>. |
Report bugs to <https://github.com/esnet/iperf>. |
iperf home page: <http://software.es.net/iperf/>. | iperf home page: <https://software.es.net/iperf/>. |
_ACEOF |
_ACEOF |
ac_status=$? |
ac_status=$? |
fi |
fi |
Line 1500 fi
|
Line 1516 fi
|
test -n "$ac_init_help" && exit $ac_status |
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
if $ac_init_version; then |
cat <<\_ACEOF |
cat <<\_ACEOF |
iperf configure 3.1.3 | iperf configure 3.9 |
generated by GNU Autoconf 2.69 |
generated by GNU Autoconf 2.69 |
|
|
Copyright (C) 2012 Free Software Foundation, Inc. |
Copyright (C) 2012 Free Software Foundation, Inc. |
Line 1869 cat >config.log <<_ACEOF
|
Line 1885 cat >config.log <<_ACEOF
|
This file contains any messages produced by compilers while |
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
running configure, to aid debugging if configure makes a mistake. |
|
|
It was created by iperf $as_me 3.1.3, which was | It was created by iperf $as_me 3.9, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
$ $0 $@ |
$ $0 $@ |
Line 2217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
Line 2233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
# =========================================================================== |
|
# https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html |
|
# =========================================================================== |
|
# |
|
# SYNOPSIS |
|
# |
|
# AX_CHECK_OPENSSL([action-if-found[, action-if-not-found]]) |
|
# |
|
# DESCRIPTION |
|
# |
|
# Look for OpenSSL in a number of default spots, or in a user-selected |
|
# spot (via --with-openssl). Sets |
|
# |
|
# OPENSSL_INCLUDES to the include directives required |
|
# OPENSSL_LIBS to the -l directives required |
|
# OPENSSL_LDFLAGS to the -L or -R flags required |
|
# |
|
# and calls ACTION-IF-FOUND or ACTION-IF-NOT-FOUND appropriately |
|
# |
|
# This macro sets OPENSSL_INCLUDES such that source files should use the |
|
# openssl/ directory in include directives: |
|
# |
|
# #include <openssl/hmac.h> |
|
# |
|
# LICENSE |
|
# |
|
# Copyright (c) 2009,2010 Zmanda Inc. <http://www.zmanda.com/> |
|
# Copyright (c) 2009,2010 Dustin J. Mitchell <dustin@zmanda.com> |
|
# |
|
# Copying and distribution of this file, with or without modification, are |
|
# permitted in any medium without royalty provided the copyright notice |
|
# and this notice are preserved. This file is offered as-is, without any |
|
# warranty. |
|
|
|
#serial 10 |
|
|
|
# This is what autoupdate's m4 run will expand. It fires |
|
# the warning (with _au_warn_XXX), outputs it into the |
|
# updated configure.ac (with AC_DIAGNOSE), and then outputs |
|
# the replacement expansion. |
|
|
|
|
|
# This is an auxiliary macro that is also run when |
|
# autoupdate runs m4. It simply calls m4_warning, but |
|
# we need a wrapper so that each warning is emitted only |
|
# once. We break the quoting in m4_warning's argument in |
|
# order to expand this macro's arguments, not AU_DEFUN's. |
|
|
|
|
|
# Finally, this is the expansion that is picked up by |
|
# autoconf. It tells the user to run autoupdate, and |
|
# then outputs the replacement expansion. We do not care |
|
# about autoupdate's warning because that contains |
|
# information on what to do *after* running autoupdate. |
|
|
|
|
|
|
|
# Also link binaries as static |
|
# Check whether --enable-static-bin was given. |
|
if test "${enable_static_bin+set}" = set; then : |
|
enableval=$enable_static_bin; enable_static=yes |
|
enable_shared=no |
|
enable_static_bin=yes |
|
else |
|
: |
|
fi |
|
|
|
if test x$enable_static_bin = xno; then |
|
ENABLE_STATIC_BIN_TRUE= |
|
ENABLE_STATIC_BIN_FALSE='#' |
|
else |
|
ENABLE_STATIC_BIN_TRUE='#' |
|
ENABLE_STATIC_BIN_FALSE= |
|
fi |
|
|
|
|
|
if test "x$enable_static_bin" == xyes; then : |
|
LDFLAGS="$LDFLAGS --static" |
|
|
|
fi |
|
|
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 2258 ac_configure="$SHELL $ac_aux_dir/configure" # Please
|
Line 2355 ac_configure="$SHELL $ac_aux_dir/configure" # Please
|
|
|
|
|
# Initialize the automake system |
# Initialize the automake system |
am__api_version='1.15' | am__api_version='1.16' |
|
|
# Find a good install program. We prefer a C program (faster), |
# Find a good install program. We prefer a C program (faster), |
# so one script is as good as another. But avoid the broken or |
# so one script is as good as another. But avoid the broken or |
Line 2744 fi
|
Line 2841 fi
|
|
|
# Define the identity of the package. |
# Define the identity of the package. |
PACKAGE='iperf' |
PACKAGE='iperf' |
VERSION='3.1.3' | VERSION='3.9' |
|
|
|
|
cat >>confdefs.h <<_ACEOF |
cat >>confdefs.h <<_ACEOF |
Line 2774 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
Line 2871 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
|
|
# For better backward compatibility. To be removed once Automake 1.9.x |
# For better backward compatibility. To be removed once Automake 1.9.x |
# dies out for good. For more background, see: |
# dies out for good. For more background, see: |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> |
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> | # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> |
mkdir_p='$(MKDIR_P)' |
mkdir_p='$(MKDIR_P)' |
|
|
# We need awk for the "check" target (and possibly the TAP driver). The |
# We need awk for the "check" target (and possibly the TAP driver). The |
Line 2826 END
|
Line 2923 END
|
Aborting the configuration process, to ensure you take notice of the issue. |
Aborting the configuration process, to ensure you take notice of the issue. |
|
|
You can download and install GNU coreutils to get an 'rm' implementation |
You can download and install GNU coreutils to get an 'rm' implementation |
that behaves properly: <http://www.gnu.org/software/coreutils/>. | that behaves properly: <https://www.gnu.org/software/coreutils/>. |
|
|
If you want to complete the configuration process using your problematic |
If you want to complete the configuration process using your problematic |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM |
Line 2837 END
|
Line 2934 END
|
fi |
fi |
fi |
fi |
|
|
|
# Check whether --enable-silent-rules was given. |
|
if test "${enable_silent_rules+set}" = set; then : |
|
enableval=$enable_silent_rules; |
|
fi |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 | case $enable_silent_rules in # ((( |
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | yes) AM_DEFAULT_VERBOSITY=0;; |
# Check whether --enable-maintainer-mode was given. | no) AM_DEFAULT_VERBOSITY=1;; |
if test "${enable_maintainer_mode+set}" = set; then : | *) AM_DEFAULT_VERBOSITY=0;; |
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | esac |
| am_make=${MAKE-make} |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 |
| $as_echo_n "checking whether $am_make supports nested variables... " >&6; } |
| if ${am_cv_make_support_nested_variables+:} false; then : |
| $as_echo_n "(cached) " >&6 |
else |
else |
USE_MAINTAINER_MODE=no | if $as_echo 'TRUE=$(BAR$(V)) |
| BAR0=false |
| BAR1=true |
| V=1 |
| am__doit: |
| @$(TRUE) |
| .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then |
| am_cv_make_support_nested_variables=yes |
| else |
| am_cv_make_support_nested_variables=no |
fi |
fi |
| fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 |
$as_echo "$USE_MAINTAINER_MODE" >&6; } | $as_echo "$am_cv_make_support_nested_variables" >&6; } |
if test $USE_MAINTAINER_MODE = yes; then | if test $am_cv_make_support_nested_variables = yes; then |
MAINTAINER_MODE_TRUE= | AM_V='$(V)' |
MAINTAINER_MODE_FALSE='#' | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' |
else |
else |
MAINTAINER_MODE_TRUE='#' | AM_V=$AM_DEFAULT_VERBOSITY |
MAINTAINER_MODE_FALSE= | AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY |
fi |
fi |
|
AM_BACKSLASH='\' |
|
|
MAINT=$MAINTAINER_MODE_TRUE | case `pwd` in |
| *\ * | *\ *) |
| { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
| $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
| esac |
|
|
|
|
ac_config_headers="$ac_config_headers src/iperf_config.h" |
|
|
|
|
macro_version='2.4.6' |
|
macro_revision='2.4.6' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ltmain=$ac_aux_dir/ltmain.sh |
|
|
# Make sure we can run config.sub. |
# Make sure we can run config.sub. |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
Line 2934 IFS=$ac_save_IFS
|
Line 3069 IFS=$ac_save_IFS
|
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
|
|
|
|
|
# Backslashify metacharacters that are still active within |
|
# double-quoted strings. |
|
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
|
# Checks for tools: c compiler, ranlib (used for creating static libraries), | # Same as above, but do not quote variable references. |
# symlinks and libtool | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
| |
| # Sed substitution to delay expansion of an escaped shell variable in a |
| # double_quote_subst'ed string. |
| delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
| |
| # Sed substitution to delay expansion of an escaped single quote. |
| delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
| |
| # Sed substitution to avoid accidental globbing in evaled expressions |
| no_glob_subst='s/\*/\\\*/g' |
| |
| ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
| ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
| ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
| $as_echo_n "checking how to print strings... " >&6; } |
| # Test print first, because it will be a builtin if present. |
| if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
| test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
| ECHO='print -r --' |
| elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
| ECHO='printf %s\n' |
| else |
| # Use this function as a fallback that always works. |
| func_fallback_echo () |
| { |
| eval 'cat <<_LTECHO_EOF |
| $1 |
| _LTECHO_EOF' |
| } |
| ECHO='func_fallback_echo' |
| fi |
| |
| # func_echo_all arg... |
| # Invoke $ECHO with all args, space-separated. |
| func_echo_all () |
| { |
| $ECHO "" |
| } |
| |
| case $ECHO in |
| printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
| $as_echo "printf" >&6; } ;; |
| print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
| $as_echo "print -r" >&6; } ;; |
| *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
| $as_echo "cat" >&6; } ;; |
| esac |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| DEPDIR="${am__leading_dot}deps" |
| |
| ac_config_commands="$ac_config_commands depfiles" |
| |
| { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 |
| $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } |
| cat > confinc.mk << 'END' |
| am__doit: |
| @echo this is the am__doit target >confinc.out |
| .PHONY: am__doit |
| END |
| am__include="#" |
| am__quote= |
| # BSD make does it like this. |
| echo '.include "confinc.mk" # ignored' > confmf.BSD |
| # Other make implementations (GNU, Solaris 10, AIX) do it like this. |
| echo 'include confinc.mk # ignored' > confmf.GNU |
| _am_result=no |
| for s in GNU BSD; do |
| { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 |
| (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 |
| ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } |
| case $?:`cat confinc.out 2>/dev/null` in #( |
| '0:this is the am__doit target') : |
| case $s in #( |
| BSD) : |
| am__include='.include' am__quote='"' ;; #( |
| *) : |
| am__include='include' am__quote='' ;; |
| esac ;; #( |
| *) : |
| ;; |
| esac |
| if test "$am__include" != "#"; then |
| _am_result="yes ($s style)" |
| break |
| fi |
| done |
| rm -f confinc.* confmf.* |
| { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 |
| $as_echo "${_am_result}" >&6; } |
| |
| # Check whether --enable-dependency-tracking was given. |
| if test "${enable_dependency_tracking+set}" = set; then : |
| enableval=$enable_dependency_tracking; |
| fi |
| |
| if test "x$enable_dependency_tracking" != xno; then |
| am_depcomp="$ac_aux_dir/depcomp" |
| AMDEPBACKSLASH='\' |
| am__nodep='_no' |
| fi |
| if test "x$enable_dependency_tracking" != xno; then |
| AMDEP_TRUE= |
| AMDEP_FALSE='#' |
| else |
| AMDEP_TRUE='#' |
| AMDEP_FALSE= |
| fi |
| |
| |
ac_ext=c |
ac_ext=c |
ac_cpp='$CPP $CPPFLAGS' |
ac_cpp='$CPP $CPPFLAGS' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
Line 3784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext
|
Line 4048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
DEPDIR="${am__leading_dot}deps" |
|
|
|
ac_config_commands="$ac_config_commands depfiles" |
|
|
|
|
|
am_make=${MAKE-make} |
|
cat > confinc << 'END' |
|
am__doit: |
|
@echo this is the am__doit target |
|
.PHONY: am__doit |
|
END |
|
# If we don't find an include directive, just comment out the code. |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
|
$as_echo_n "checking for style of include used by $am_make... " >&6; } |
|
am__include="#" |
|
am__quote= |
|
_am_result=none |
|
# First try GNU make style include. |
|
echo "include confinc" > confmf |
|
# Ignore all kinds of additional output from 'make'. |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
*the\ am__doit\ target*) |
|
am__include=include |
|
am__quote= |
|
_am_result=GNU |
|
;; |
|
esac |
|
# Now try BSD make style include. |
|
if test "$am__include" = "#"; then |
|
echo '.include "confinc"' > confmf |
|
case `$am_make -s -f confmf 2> /dev/null` in #( |
|
*the\ am__doit\ target*) |
|
am__include=.include |
|
am__quote="\"" |
|
_am_result=BSD |
|
;; |
|
esac |
|
fi |
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
|
$as_echo "$_am_result" >&6; } |
|
rm -f confinc confmf |
|
|
|
# Check whether --enable-dependency-tracking was given. |
|
if test "${enable_dependency_tracking+set}" = set; then : |
|
enableval=$enable_dependency_tracking; |
|
fi |
|
|
|
if test "x$enable_dependency_tracking" != xno; then |
|
am_depcomp="$ac_aux_dir/depcomp" |
|
AMDEPBACKSLASH='\' |
|
am__nodep='_no' |
|
fi |
|
if test "x$enable_dependency_tracking" != xno; then |
|
AMDEP_TRUE= |
|
AMDEP_FALSE='#' |
|
else |
|
AMDEP_TRUE='#' |
|
AMDEP_FALSE= |
|
fi |
|
|
|
|
|
|
|
depcc="$CC" am_compiler_list= |
depcc="$CC" am_compiler_list= |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
Line 3976 else
|
Line 4177 else
|
fi |
fi |
|
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$RANLIB"; then |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
else |
|
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_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
$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 |
|
|
|
fi |
|
fi |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
$as_echo "$RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; 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_prog_ac_ct_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_RANLIB="ranlib" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
|
RANLIB=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
|
LN_S=$as_ln_s |
|
if test "$LN_S" = "ln -s"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
$as_echo "no, using $LN_S" >&6; } |
|
fi |
|
|
|
case `pwd` in |
|
*\ * | *\ *) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
|
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
|
esac |
|
|
|
|
|
|
|
macro_version='2.4.6' |
|
macro_revision='2.4.6' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ltmain=$ac_aux_dir/ltmain.sh |
|
|
|
# Backslashify metacharacters that are still active within |
|
# double-quoted strings. |
|
sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
|
|
|
# Same as above, but do not quote variable references. |
|
double_quote_subst='s/\(["`\\]\)/\\\1/g' |
|
|
|
# Sed substitution to delay expansion of an escaped shell variable in a |
|
# double_quote_subst'ed string. |
|
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
|
|
|
# Sed substitution to delay expansion of an escaped single quote. |
|
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
|
|
|
# Sed substitution to avoid accidental globbing in evaled expressions |
|
no_glob_subst='s/\*/\\\*/g' |
|
|
|
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
|
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
|
$as_echo_n "checking how to print strings... " >&6; } |
|
# Test print first, because it will be a builtin if present. |
|
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
|
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
ECHO='print -r --' |
|
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
|
ECHO='printf %s\n' |
|
else |
|
# Use this function as a fallback that always works. |
|
func_fallback_echo () |
|
{ |
|
eval 'cat <<_LTECHO_EOF |
|
$1 |
|
_LTECHO_EOF' |
|
} |
|
ECHO='func_fallback_echo' |
|
fi |
|
|
|
# func_echo_all arg... |
|
# Invoke $ECHO with all args, space-separated. |
|
func_echo_all () |
|
{ |
|
$ECHO "" |
|
} |
|
|
|
case $ECHO in |
|
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
|
$as_echo "printf" >&6; } ;; |
|
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
|
$as_echo "print -r" >&6; } ;; |
|
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
|
$as_echo "cat" >&6; } ;; |
|
esac |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
$as_echo_n "checking for a sed that does not truncate output... " >&6; } |
if ${ac_cv_path_SED+:} false; then : |
if ${ac_cv_path_SED+:} false; then : |
Line 4790 fi
|
Line 4794 fi
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
$as_echo "$lt_cv_nm_interface" >&6; } |
$as_echo "$lt_cv_nm_interface" >&6; } |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
|
LN_S=$as_ln_s |
|
if test "$LN_S" = "ln -s"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
$as_echo "no, using $LN_S" >&6; } |
|
fi |
|
|
# find the maximum length of command line arguments |
# find the maximum length of command line arguments |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
$as_echo_n "checking the maximum length of command line arguments... " >&6; } |
Line 7421 $as_echo "$lt_cv_ld_force_load" >&6; }
|
Line 7436 $as_echo "$lt_cv_ld_force_load" >&6; }
|
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
_lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; |
darwin1.*) |
darwin1.*) |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
darwin*) # darwin 5.x on | darwin*) |
# if running on 10.5 or later, the deployment target defaults | case ${MACOSX_DEPLOYMENT_TARGET},$host in |
# to the OS version, if on x86, and 10.4, the deployment | 10.[012],*|,*powerpc*) |
# target defaults to 10.4. Don't you love it? | |
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | |
10.0,*86*-darwin8*|10.0,*-darwin[91]*) | |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; | |
10.[012][,.]*) | |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
_lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; |
10.*) | *) |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
_lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |
esac |
esac |
;; |
;; |
Line 12063 CC=$lt_save_CC
|
Line 12073 CC=$lt_save_CC
|
|
|
|
|
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
|
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
|
# Check whether --enable-maintainer-mode was given. |
|
if test "${enable_maintainer_mode+set}" = set; then : |
|
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
|
else |
|
USE_MAINTAINER_MODE=no |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
|
$as_echo "$USE_MAINTAINER_MODE" >&6; } |
|
if test $USE_MAINTAINER_MODE = yes; then |
|
MAINTAINER_MODE_TRUE= |
|
MAINTAINER_MODE_FALSE='#' |
|
else |
|
MAINTAINER_MODE_TRUE='#' |
|
MAINTAINER_MODE_FALSE= |
|
fi |
|
|
|
MAINT=$MAINTAINER_MODE_TRUE |
|
|
|
|
|
ac_config_headers="$ac_config_headers src/iperf_config.h" |
|
|
|
|
|
|
|
|
|
# Checks for tools: c compiler, ranlib (used for creating static libraries), |
|
# symlinks and libtool |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}gcc; 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_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
else |
|
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_prog_CC="${ac_tool_prefix}gcc" |
|
$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 |
|
|
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_CC"; then |
|
ac_ct_CC=$CC |
|
# Extract the first word of "gcc", so it can be a program name with args. |
|
set dummy gcc; 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_prog_ac_ct_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_CC"; then |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_CC="gcc" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
if test -n "$ac_ct_CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
$as_echo "$ac_ct_CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_CC" = x; then |
|
CC="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
CC=$ac_ct_CC |
|
fi |
|
else |
|
CC="$ac_cv_prog_CC" |
|
fi |
|
|
|
if test -z "$CC"; then |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}cc; 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_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
else |
|
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_prog_CC="${ac_tool_prefix}cc" |
|
$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 |
|
|
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
fi |
|
if test -z "$CC"; then |
|
# Extract the first word of "cc", so it can be a program name with args. |
|
set dummy cc; 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_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
else |
|
ac_prog_rejected=no |
|
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 |
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
|
ac_prog_rejected=yes |
|
continue |
|
fi |
|
ac_cv_prog_CC="cc" |
|
$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 |
|
|
|
if test $ac_prog_rejected = yes; then |
|
# We found a bogon in the path, so make sure we never use it. |
|
set dummy $ac_cv_prog_CC |
|
shift |
|
if test $# != 0; then |
|
# We chose a different compiler from the bogus one. |
|
# However, it has the same basename, so the bogon will be chosen |
|
# first if we set CC to just the basename; use the full file name. |
|
shift |
|
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
|
fi |
|
fi |
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$CC"; then |
|
if test -n "$ac_tool_prefix"; then |
|
for ac_prog in cl.exe |
|
do |
|
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
|
set dummy $ac_tool_prefix$ac_prog; 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_prog_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$CC"; then |
|
ac_cv_prog_CC="$CC" # Let the user override the test. |
|
else |
|
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_prog_CC="$ac_tool_prefix$ac_prog" |
|
$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 |
|
|
|
fi |
|
fi |
|
CC=$ac_cv_prog_CC |
|
if test -n "$CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
|
$as_echo "$CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$CC" && break |
|
done |
|
fi |
|
if test -z "$CC"; then |
|
ac_ct_CC=$CC |
|
for ac_prog in cl.exe |
|
do |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
|
set dummy $ac_prog; 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_prog_ac_ct_CC+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_CC"; then |
|
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_CC="$ac_prog" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_CC=$ac_cv_prog_ac_ct_CC |
|
if test -n "$ac_ct_CC"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
|
$as_echo "$ac_ct_CC" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
test -n "$ac_ct_CC" && break |
|
done |
|
|
|
if test "x$ac_ct_CC" = x; then |
|
CC="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
CC=$ac_ct_CC |
|
fi |
|
fi |
|
|
|
fi |
|
|
|
|
|
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
|
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
|
as_fn_error $? "no acceptable C compiler found in \$PATH |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
|
|
# Provide some information about the compiler. |
|
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
|
set X $ac_compile |
|
ac_compiler=$2 |
|
for ac_option in --version -v -V -qversion; do |
|
{ { ac_try="$ac_compiler $ac_option >&5" |
|
case "(($ac_try" in |
|
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
*) ac_try_echo=$ac_try;; |
|
esac |
|
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
|
$as_echo "$ac_try_echo"; } >&5 |
|
(eval "$ac_compiler $ac_option >&5") 2>conftest.err |
|
ac_status=$? |
|
if test -s conftest.err; then |
|
sed '10a\ |
|
... rest of stderr output deleted ... |
|
10q' conftest.err >conftest.er1 |
|
cat conftest.er1 >&5 |
|
fi |
|
rm -f conftest.er1 conftest.err |
|
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
|
test $ac_status = 0; } |
|
done |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
|
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
|
if ${ac_cv_c_compiler_gnu+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
#ifndef __GNUC__ |
|
choke me |
|
#endif |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_compiler_gnu=yes |
|
else |
|
ac_compiler_gnu=no |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_cv_c_compiler_gnu=$ac_compiler_gnu |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
|
$as_echo "$ac_cv_c_compiler_gnu" >&6; } |
|
if test $ac_compiler_gnu = yes; then |
|
GCC=yes |
|
else |
|
GCC= |
|
fi |
|
ac_test_CFLAGS=${CFLAGS+set} |
|
ac_save_CFLAGS=$CFLAGS |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
|
$as_echo_n "checking whether $CC accepts -g... " >&6; } |
|
if ${ac_cv_prog_cc_g+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_save_c_werror_flag=$ac_c_werror_flag |
|
ac_c_werror_flag=yes |
|
ac_cv_prog_cc_g=no |
|
CFLAGS="-g" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_g=yes |
|
else |
|
CFLAGS="" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
|
|
else |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
CFLAGS="-g" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_g=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 |
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
ac_c_werror_flag=$ac_save_c_werror_flag |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
|
$as_echo "$ac_cv_prog_cc_g" >&6; } |
|
if test "$ac_test_CFLAGS" = set; then |
|
CFLAGS=$ac_save_CFLAGS |
|
elif test $ac_cv_prog_cc_g = yes; then |
|
if test "$GCC" = yes; then |
|
CFLAGS="-g -O2" |
|
else |
|
CFLAGS="-g" |
|
fi |
|
else |
|
if test "$GCC" = yes; then |
|
CFLAGS="-O2" |
|
else |
|
CFLAGS= |
|
fi |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
|
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
|
if ${ac_cv_prog_cc_c89+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_cv_prog_cc_c89=no |
|
ac_save_CC=$CC |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <stdarg.h> |
|
#include <stdio.h> |
|
struct stat; |
|
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
|
struct buf { int x; }; |
|
FILE * (*rcsopen) (struct buf *, struct stat *, int); |
|
static char *e (p, i) |
|
char **p; |
|
int i; |
|
{ |
|
return p[i]; |
|
} |
|
static char *f (char * (*g) (char **, int), char **p, ...) |
|
{ |
|
char *s; |
|
va_list v; |
|
va_start (v,p); |
|
s = g (p, va_arg (v,int)); |
|
va_end (v); |
|
return s; |
|
} |
|
|
|
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
|
function prototypes and stuff, but not '\xHH' hex character constants. |
|
These don't provoke an error unfortunately, instead are silently treated |
|
as 'x'. The following induces an error, until -std is added to get |
|
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
|
array size at least. It's necessary to write '\x00'==0 to get something |
|
that's true only with -std. */ |
|
int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
|
|
|
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
|
inside strings and character constants. */ |
|
#define FOO(x) 'x' |
|
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
|
|
|
int test (int i, double x); |
|
struct s1 {int (*f) (int a);}; |
|
struct s2 {int (*f) (double a);}; |
|
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
|
int argc; |
|
char **argv; |
|
int |
|
main () |
|
{ |
|
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
|
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
|
do |
|
CC="$ac_save_CC $ac_arg" |
|
if ac_fn_c_try_compile "$LINENO"; then : |
|
ac_cv_prog_cc_c89=$ac_arg |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext |
|
test "x$ac_cv_prog_cc_c89" != "xno" && break |
|
done |
|
rm -f conftest.$ac_ext |
|
CC=$ac_save_CC |
|
|
|
fi |
|
# AC_CACHE_VAL |
|
case "x$ac_cv_prog_cc_c89" in |
|
x) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
|
$as_echo "none needed" >&6; } ;; |
|
xno) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
|
$as_echo "unsupported" >&6; } ;; |
|
*) |
|
CC="$CC $ac_cv_prog_cc_c89" |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
|
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
|
esac |
|
if test "x$ac_cv_prog_cc_c89" != xno; then : |
|
|
|
fi |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 |
|
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } |
|
if ${am_cv_prog_cc_c_o+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
int |
|
main () |
|
{ |
|
|
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
# Make sure it works both with $CC and with simple cc. |
|
# Following AC_PROG_CC_C_O, we do the test twice because some |
|
# compilers refuse to overwrite an existing .o file with -o, |
|
# though they will create one. |
|
am_cv_prog_cc_c_o=yes |
|
for am_i in 1 2; do |
|
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 |
|
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 |
|
ac_status=$? |
|
echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
(exit $ac_status); } \ |
|
&& test -f conftest2.$ac_objext; then |
|
: OK |
|
else |
|
am_cv_prog_cc_c_o=no |
|
break |
|
fi |
|
done |
|
rm -f core conftest* |
|
unset am_i |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 |
|
$as_echo "$am_cv_prog_cc_c_o" >&6; } |
|
if test "$am_cv_prog_cc_c_o" != yes; then |
|
# Losing compiler, so override with the script. |
|
# FIXME: It is wrong to rewrite CC. |
|
# But if we don't then we get into trouble of one sort or another. |
|
# A longer-term fix would be to have automake use am__CC in this case, |
|
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" |
|
CC="$am_aux_dir/compile $CC" |
|
fi |
|
ac_ext=c |
|
ac_cpp='$CPP $CPPFLAGS' |
|
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
ac_compiler_gnu=$ac_cv_c_compiler_gnu |
|
|
|
|
|
depcc="$CC" am_compiler_list= |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
|
$as_echo_n "checking dependency style of $depcc... " >&6; } |
|
if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
|
# We make a subdir and do the tests there. Otherwise we can end up |
|
# making bogus files that we don't know about and never remove. For |
|
# instance it was reported that on HP-UX the gcc test will end up |
|
# making a dummy file named 'D' -- because '-MD' means "put the output |
|
# in D". |
|
rm -rf conftest.dir |
|
mkdir conftest.dir |
|
# Copy depcomp to subdir because otherwise we won't find it if we're |
|
# using a relative directory. |
|
cp "$am_depcomp" conftest.dir |
|
cd conftest.dir |
|
# We will build objects and dependencies in a subdirectory because |
|
# it helps to detect inapplicable dependency modes. For instance |
|
# both Tru64's cc and ICC support -MD to output dependencies as a |
|
# side effect of compilation, but ICC will put the dependencies in |
|
# the current directory while Tru64 will put them in the object |
|
# directory. |
|
mkdir sub |
|
|
|
am_cv_CC_dependencies_compiler_type=none |
|
if test "$am_compiler_list" = ""; then |
|
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
|
fi |
|
am__universal=false |
|
case " $depcc " in #( |
|
*\ -arch\ *\ -arch\ *) am__universal=true ;; |
|
esac |
|
|
|
for depmode in $am_compiler_list; do |
|
# Setup a source with many dependencies, because some compilers |
|
# like to wrap large dependency lists on column 80 (with \), and |
|
# we should not choose a depcomp mode which is confused by this. |
|
# |
|
# We need to recreate these files for each test, as the compiler may |
|
# overwrite some of them when testing with obscure command lines. |
|
# This happens at least with the AIX C compiler. |
|
: > sub/conftest.c |
|
for i in 1 2 3 4 5 6; do |
|
echo '#include "conftst'$i'.h"' >> sub/conftest.c |
|
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with |
|
# Solaris 10 /bin/sh. |
|
echo '/* dummy */' > sub/conftst$i.h |
|
done |
|
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
|
|
|
# We check with '-c' and '-o' for the sake of the "dashmstdout" |
|
# mode. It turns out that the SunPro C++ compiler does not properly |
|
# handle '-M -o', and we need to detect this. Also, some Intel |
|
# versions had trouble with output in subdirs. |
|
am__obj=sub/conftest.${OBJEXT-o} |
|
am__minus_obj="-o $am__obj" |
|
case $depmode in |
|
gcc) |
|
# This depmode causes a compiler race in universal mode. |
|
test "$am__universal" = false || continue |
|
;; |
|
nosideeffect) |
|
# After this tag, mechanisms are not by side-effect, so they'll |
|
# only be used when explicitly requested. |
|
if test "x$enable_dependency_tracking" = xyes; then |
|
continue |
|
else |
|
break |
|
fi |
|
;; |
|
msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
|
# This compiler won't grok '-c -o', but also, the minuso test has |
|
# not run yet. These depmodes are late enough in the game, and |
|
# so weak that their functioning should not be impacted. |
|
am__obj=conftest.${OBJEXT-o} |
|
am__minus_obj= |
|
;; |
|
none) break ;; |
|
esac |
|
if depmode=$depmode \ |
|
source=sub/conftest.c object=$am__obj \ |
|
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
|
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
|
>/dev/null 2>conftest.err && |
|
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
|
grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
|
${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
|
# icc doesn't choke on unknown options, it will just issue warnings |
|
# or remarks (even with -Werror). So we grep stderr for any message |
|
# that says an option was ignored or not supported. |
|
# When given -MP, icc 7.0 and 7.1 complain thusly: |
|
# icc: Command line warning: ignoring option '-M'; no argument required |
|
# The diagnosis changed in icc 8.0: |
|
# icc: Command line remark: option '-MP' not supported |
|
if (grep 'ignoring option' conftest.err || |
|
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
|
am_cv_CC_dependencies_compiler_type=$depmode |
|
break |
|
fi |
|
fi |
|
done |
|
|
|
cd .. |
|
rm -rf conftest.dir |
|
else |
|
am_cv_CC_dependencies_compiler_type=none |
|
fi |
|
|
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
|
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
|
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
|
|
|
if |
|
test "x$enable_dependency_tracking" != xno \ |
|
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
|
am__fastdepCC_TRUE= |
|
am__fastdepCC_FALSE='#' |
|
else |
|
am__fastdepCC_TRUE='#' |
|
am__fastdepCC_FALSE= |
|
fi |
|
|
|
|
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}ranlib; 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_prog_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$RANLIB"; then |
|
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
|
else |
|
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_prog_RANLIB="${ac_tool_prefix}ranlib" |
|
$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 |
|
|
|
fi |
|
fi |
|
RANLIB=$ac_cv_prog_RANLIB |
|
if test -n "$RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
|
$as_echo "$RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_RANLIB"; then |
|
ac_ct_RANLIB=$RANLIB |
|
# Extract the first word of "ranlib", so it can be a program name with args. |
|
set dummy ranlib; 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_prog_ac_ct_RANLIB+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_RANLIB"; then |
|
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_RANLIB="ranlib" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
|
if test -n "$ac_ct_RANLIB"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
|
$as_echo "$ac_ct_RANLIB" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_RANLIB" = x; then |
|
RANLIB=":" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
RANLIB=$ac_ct_RANLIB |
|
fi |
|
else |
|
RANLIB="$ac_cv_prog_RANLIB" |
|
fi |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
|
$as_echo_n "checking whether ln -s works... " >&6; } |
|
LN_S=$as_ln_s |
|
if test "$LN_S" = "ln -s"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
|
$as_echo "no, using $LN_S" >&6; } |
|
fi |
|
|
|
|
|
|
# Add -Wall if we are using GCC. |
# Add -Wall if we are using GCC. |
if test "x$GCC" = "xyes"; then |
if test "x$GCC" = "xyes"; then |
CFLAGS="$CFLAGS -Wall" |
CFLAGS="$CFLAGS -Wall" |
fi |
fi |
|
|
|
# Check if enable profiling |
|
# Check whether --enable-profiling was given. |
|
if test "${enable_profiling+set}" = set; then : |
|
enableval=$enable_profiling; |
|
fi |
|
|
|
if test x$enable_profiling = xyes; then |
|
ENABLE_PROFILING_TRUE= |
|
ENABLE_PROFILING_FALSE='#' |
|
else |
|
ENABLE_PROFILING_TRUE='#' |
|
ENABLE_PROFILING_FALSE= |
|
fi |
|
|
|
|
# Checks for header files. |
# Checks for header files. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
$as_echo_n "checking for ANSI C header files... " >&6; } |
$as_echo_n "checking for ANSI C header files... " >&6; } |
Line 12248 exit 1
|
Line 13134 exit 1
|
fi |
fi |
|
|
|
|
# Solaris puts nanosleep in -lrt |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5 |
|
$as_echo_n "checking for library containing nanosleep... " >&6; } |
|
if ${ac_cv_search_nanosleep+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char nanosleep (); |
|
int |
|
main () |
|
{ |
|
return nanosleep (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' rt; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_search_nanosleep=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_nanosleep+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_nanosleep+:} false; then : |
|
|
|
else |
|
ac_cv_search_nanosleep=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5 |
|
$as_echo "$ac_cv_search_nanosleep" >&6; } |
|
ac_res=$ac_cv_search_nanosleep |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
else |
|
|
|
echo "nanosleep() required for timing operations." |
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
# Solaris puts hstrerror in -lresolv |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing hstrerror" >&5 |
|
$as_echo_n "checking for library containing hstrerror... " >&6; } |
|
if ${ac_cv_search_hstrerror+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char hstrerror (); |
|
int |
|
main () |
|
{ |
|
return hstrerror (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' resolv; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_search_hstrerror=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_hstrerror+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_hstrerror+:} false; then : |
|
|
|
else |
|
ac_cv_search_hstrerror=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_hstrerror" >&5 |
|
$as_echo "$ac_cv_search_hstrerror" >&6; } |
|
ac_res=$ac_cv_search_hstrerror |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
else |
|
|
|
echo "nanosleep() required for timing operations." |
|
exit 1 |
|
|
|
fi |
|
|
|
|
|
# On illumos we need -lsocket |
# On illumos we need -lsocket |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 |
$as_echo_n "checking for library containing socket... " >&6; } |
$as_echo_n "checking for library containing socket... " >&6; } |
Line 12583 $as_echo "#define const /**/" >>confdefs.h
|
Line 13343 $as_echo "#define const /**/" >>confdefs.h
|
fi |
fi |
|
|
|
|
|
# Check for poll.h (it's in POSIX so everyone should have it?) |
|
for ac_header in poll.h |
|
do : |
|
ac_fn_c_check_header_mongrel "$LINENO" "poll.h" "ac_cv_header_poll_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_poll_h" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_POLL_H 1 |
|
_ACEOF |
|
|
|
fi |
|
|
|
done |
|
|
|
|
|
# SCTP. Allow user to disable SCTP support with --without-sctp. |
|
# Otherwise we try to find whatever support is required. |
|
try_sctp=true |
|
|
|
# Check whether --with-sctp was given. |
|
if test "${with_sctp+set}" = set; then : |
|
withval=$with_sctp; |
|
case "$withval" in |
|
y | ye | yes) |
|
;; |
|
n | no) |
|
try_sctp=false |
|
;; |
|
*) |
|
as_fn_error $? "Invalid --with-sctp value" "$LINENO" 5 |
|
;; |
|
esac |
|
|
|
else |
|
|
|
try_sctp=true |
|
|
|
|
|
fi |
|
|
|
|
# Check for SCTP support |
# Check for SCTP support |
|
if $try_sctp; then |
for ac_header in sys/socket.h |
for ac_header in sys/socket.h |
do : |
do : |
ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" |
Line 12608 if test "x$ac_cv_header_netinet_sctp_h" = xyes; then :
|
Line 13409 if test "x$ac_cv_header_netinet_sctp_h" = xyes; then :
|
#define HAVE_NETINET_SCTP_H 1 |
#define HAVE_NETINET_SCTP_H 1 |
_ACEOF |
_ACEOF |
|
|
$as_echo "#define HAVE_SCTP 1" >>confdefs.h | $as_echo "#define HAVE_SCTP_H 1" >>confdefs.h |
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sctp_bindx" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sctp_bindx" >&5 |
$as_echo_n "checking for library containing sctp_bindx... " >&6; } |
$as_echo_n "checking for library containing sctp_bindx... " >&6; } |
Line 12735 fi
|
Line 13536 fi
|
|
|
done |
done |
|
|
|
fi |
|
|
|
ac_fn_c_check_header_mongrel "$LINENO" "endian.h" "ac_cv_header_endian_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_endian_h" = xyes; then : |
|
|
|
$as_echo "#define HAVE_ENDIAN_H 1" >>confdefs.h |
|
|
|
else |
|
ac_fn_c_check_header_mongrel "$LINENO" "sys/endian.h" "ac_cv_header_sys_endian_h" "$ac_includes_default" |
|
if test "x$ac_cv_header_sys_endian_h" = xyes; then : |
|
|
|
$as_echo "#define HAVE_SYS_ENDIAN_H 1" >>confdefs.h |
|
|
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find endian.h or sys/endian.h files: doing compile-time tests." >&5 |
|
$as_echo "$as_me: WARNING: Couldn't find endian.h or sys/endian.h files: doing compile-time tests." >&2;} |
|
|
|
fi |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
if test "x$with_openssl" = "xno"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building without OpenSSL; disabling iperf_auth functionality. " >&5 |
|
$as_echo "$as_me: WARNING: Building without OpenSSL; disabling iperf_auth functionality. " >&2;} |
|
else |
|
# Check for OPENSSL support |
|
havs_ssl=false |
|
|
|
found=false |
|
|
|
# Check whether --with-openssl was given. |
|
if test "${with_openssl+set}" = set; then : |
|
withval=$with_openssl; |
|
case "$withval" in |
|
"" | y | ye | yes | n | no) |
|
as_fn_error $? "Invalid --with-openssl value" "$LINENO" 5 |
|
;; |
|
*) ssldirs="$withval" |
|
;; |
|
esac |
|
|
|
else |
|
|
|
# if pkg-config is installed and openssl has installed a .pc file, |
|
# then use that information and don't search ssldirs |
|
if test -n "$ac_tool_prefix"; then |
|
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. |
|
set dummy ${ac_tool_prefix}pkg-config; 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_prog_PKG_CONFIG+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$PKG_CONFIG"; then |
|
ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test. |
|
else |
|
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_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config" |
|
$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 |
|
|
|
fi |
|
fi |
|
PKG_CONFIG=$ac_cv_prog_PKG_CONFIG |
|
if test -n "$PKG_CONFIG"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 |
|
$as_echo "$PKG_CONFIG" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
|
|
fi |
|
if test -z "$ac_cv_prog_PKG_CONFIG"; then |
|
ac_ct_PKG_CONFIG=$PKG_CONFIG |
|
# Extract the first word of "pkg-config", so it can be a program name with args. |
|
set dummy pkg-config; 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_prog_ac_ct_PKG_CONFIG+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
if test -n "$ac_ct_PKG_CONFIG"; then |
|
ac_cv_prog_ac_ct_PKG_CONFIG="$ac_ct_PKG_CONFIG" # Let the user override the test. |
|
else |
|
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_prog_ac_ct_PKG_CONFIG="pkg-config" |
|
$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 |
|
|
|
fi |
|
fi |
|
ac_ct_PKG_CONFIG=$ac_cv_prog_ac_ct_PKG_CONFIG |
|
if test -n "$ac_ct_PKG_CONFIG"; then |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5 |
|
$as_echo "$ac_ct_PKG_CONFIG" >&6; } |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
|
|
if test "x$ac_ct_PKG_CONFIG" = x; then |
|
PKG_CONFIG="" |
|
else |
|
case $cross_compiling:$ac_tool_warned in |
|
yes:) |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
|
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
|
ac_tool_warned=yes ;; |
|
esac |
|
PKG_CONFIG=$ac_ct_PKG_CONFIG |
|
fi |
|
else |
|
PKG_CONFIG="$ac_cv_prog_PKG_CONFIG" |
|
fi |
|
|
|
if test x"$PKG_CONFIG" != x""; then |
|
OPENSSL_LDFLAGS=`$PKG_CONFIG openssl --libs-only-L 2>/dev/null` |
|
if test $? = 0; then |
|
OPENSSL_LIBS=`$PKG_CONFIG openssl --libs-only-l 2>/dev/null` |
|
OPENSSL_INCLUDES=`$PKG_CONFIG openssl --cflags-only-I 2>/dev/null` |
|
found=true |
|
fi |
|
fi |
|
|
|
# no such luck; use some default ssldirs |
|
if ! $found; then |
|
ssldirs="/usr/local/ssl /usr/lib/ssl /usr/ssl /usr/pkg /usr/local /usr" |
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
# note that we #include <openssl/foo.h>, so the OpenSSL headers have to be in |
|
# an 'openssl' subdirectory |
|
|
|
if ! $found; then |
|
OPENSSL_INCLUDES= |
|
for ssldir in $ssldirs; do |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for openssl/ssl.h in $ssldir" >&5 |
|
$as_echo_n "checking for openssl/ssl.h in $ssldir... " >&6; } |
|
if test -f "$ssldir/include/openssl/ssl.h"; then |
|
OPENSSL_INCLUDES="-I$ssldir/include" |
|
OPENSSL_LDFLAGS="-L$ssldir/lib" |
|
OPENSSL_LIBS="-lssl -lcrypto" |
|
found=true |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
break |
|
else |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
fi |
|
done |
|
|
|
# if the file wasn't found, well, go ahead and try the link anyway -- maybe |
|
# it will just work! |
|
fi |
|
|
|
# try the preprocessor and linker with our new flags, |
|
# being careful not to pollute the global LIBS, LDFLAGS, and CPPFLAGS |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiling and linking against OpenSSL works" >&5 |
|
$as_echo_n "checking whether compiling and linking against OpenSSL works... " >&6; } |
|
echo "Trying link with OPENSSL_LDFLAGS=$OPENSSL_LDFLAGS;" \ |
|
"OPENSSL_LIBS=$OPENSSL_LIBS; OPENSSL_INCLUDES=$OPENSSL_INCLUDES" >&5 |
|
|
|
save_LIBS="$LIBS" |
|
save_LDFLAGS="$LDFLAGS" |
|
save_CPPFLAGS="$CPPFLAGS" |
|
LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" |
|
LIBS="$OPENSSL_LIBS $LIBS" |
|
CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
#include <openssl/ssl.h> |
|
int |
|
main () |
|
{ |
|
SSL_new(NULL) |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
|
$as_echo "yes" >&6; } |
|
|
|
$as_echo "#define HAVE_SSL 1" >>confdefs.h |
|
|
|
have_ssl=true |
|
|
|
else |
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
|
$as_echo "no" >&6; } |
|
if test "x$with_openssl" != "x"; 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 $? "--with-openssl was given, but test for OpenSSL failed |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
fi |
|
|
|
|
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext conftest.$ac_ext |
|
CPPFLAGS="$save_CPPFLAGS" |
|
LDFLAGS="$save_LDFLAGS" |
|
LIBS="$save_LIBS" |
|
|
|
|
|
|
|
|
|
|
|
if $have_ssl; then |
|
case $host in |
|
*-*-cygwin) |
|
CFLAGS="$CFLAGS -DNOCRYPT" |
|
;; |
|
esac |
|
LDFLAGS="$LDFLAGS $OPENSSL_LDFLAGS" |
|
LIBS="$OPENSSL_LIBS $LIBS" |
|
CPPFLAGS="$OPENSSL_INCLUDES $CPPFLAGS" |
|
fi |
|
fi |
|
|
# Check for TCP_CONGESTION sockopt (believed to be Linux and FreeBSD only) |
# Check for TCP_CONGESTION sockopt (believed to be Linux and FreeBSD only) |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking TCP_CONGESTION socket option" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking TCP_CONGESTION socket option" >&5 |
$as_echo_n "checking TCP_CONGESTION socket option... " >&6; } |
$as_echo_n "checking TCP_CONGESTION socket option... " >&6; } |
Line 12807 fi
|
Line 13862 fi
|
# FreeBSD uses cpuset_setaffinity while Linux uses sched_setaffinity. |
# FreeBSD uses cpuset_setaffinity while Linux uses sched_setaffinity. |
# Define HAVE_CPU_AFFINITY to indicate the CPU affinity setting as a |
# Define HAVE_CPU_AFFINITY to indicate the CPU affinity setting as a |
# generic concept is available. |
# generic concept is available. |
for ac_func in cpuset_setaffinity sched_setaffinity | for ac_func in cpuset_setaffinity sched_setaffinity SetProcessAffinityMask |
do : |
do : |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" |
Line 12822 fi
|
Line 13877 fi
|
done |
done |
|
|
|
|
|
# Check for daemon(). Most systems have this but a few (IRIX) don't. |
|
for ac_func in daemon |
|
do : |
|
ac_fn_c_check_func "$LINENO" "daemon" "ac_cv_func_daemon" |
|
if test "x$ac_cv_func_daemon" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_DAEMON 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
|
# Check for sendfile support. FreeBSD, Linux, and MacOS all support |
# Check for sendfile support. FreeBSD, Linux, and MacOS all support |
# this system call, but they're all different in terms of what headers |
# this system call, but they're all different in terms of what headers |
# it needs and what arguments it expects. |
# it needs and what arguments it expects. |
Line 12837 fi
|
Line 13905 fi
|
done |
done |
|
|
|
|
|
# Check for getline support, used as a part of authenticated |
|
# connections. |
|
for ac_func in getline |
|
do : |
|
ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline" |
|
if test "x$ac_cv_func_getline" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_GETLINE 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
|
# Check for packet pacing socket option (Linux only for now). |
# Check for packet pacing socket option (Linux only for now). |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SO_MAX_PACING_RATE socket option" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking SO_MAX_PACING_RATE socket option" >&5 |
$as_echo_n "checking SO_MAX_PACING_RATE socket option... " >&6; } |
$as_echo_n "checking SO_MAX_PACING_RATE socket option... " >&6; } |
Line 12868 $as_echo "#define HAVE_SO_MAX_PACING_RATE 1" >>confdef
|
Line 13950 $as_echo "#define HAVE_SO_MAX_PACING_RATE 1" >>confdef
|
|
|
fi |
fi |
|
|
|
# Check if we need -lrt for clock_gettime |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 |
|
$as_echo_n "checking for library containing clock_gettime... " >&6; } |
|
if ${ac_cv_search_clock_gettime+:} false; then : |
|
$as_echo_n "(cached) " >&6 |
|
else |
|
ac_func_search_save_LIBS=$LIBS |
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
|
/* end confdefs.h. */ |
|
|
|
/* Override any GCC internal prototype to avoid an error. |
|
Use char because int might match the return type of a GCC |
|
builtin and then its argument prototype would still apply. */ |
|
#ifdef __cplusplus |
|
extern "C" |
|
#endif |
|
char clock_gettime (); |
|
int |
|
main () |
|
{ |
|
return clock_gettime (); |
|
; |
|
return 0; |
|
} |
|
_ACEOF |
|
for ac_lib in '' rt posix4; do |
|
if test -z "$ac_lib"; then |
|
ac_res="none required" |
|
else |
|
ac_res=-l$ac_lib |
|
LIBS="-l$ac_lib $ac_func_search_save_LIBS" |
|
fi |
|
if ac_fn_c_try_link "$LINENO"; then : |
|
ac_cv_search_clock_gettime=$ac_res |
|
fi |
|
rm -f core conftest.err conftest.$ac_objext \ |
|
conftest$ac_exeext |
|
if ${ac_cv_search_clock_gettime+:} false; then : |
|
break |
|
fi |
|
done |
|
if ${ac_cv_search_clock_gettime+:} false; then : |
|
|
|
else |
|
ac_cv_search_clock_gettime=no |
|
fi |
|
rm conftest.$ac_ext |
|
LIBS=$ac_func_search_save_LIBS |
|
fi |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 |
|
$as_echo "$ac_cv_search_clock_gettime" >&6; } |
|
ac_res=$ac_cv_search_clock_gettime |
|
if test "$ac_res" != no; then : |
|
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" |
|
|
|
fi |
|
|
|
# Check for clock_gettime support |
|
for ac_func in clock_gettime |
|
do : |
|
ac_fn_c_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime" |
|
if test "x$ac_cv_func_clock_gettime" = xyes; then : |
|
cat >>confdefs.h <<_ACEOF |
|
#define HAVE_CLOCK_GETTIME 1 |
|
_ACEOF |
|
|
|
fi |
|
done |
|
|
|
|
ac_config_files="$ac_config_files Makefile src/Makefile src/version.h examples/Makefile iperf3.spec" |
ac_config_files="$ac_config_files Makefile src/Makefile src/version.h examples/Makefile iperf3.spec" |
|
|
cat >confcache <<\_ACEOF |
cat >confcache <<\_ACEOF |
Line 12979 LIBOBJS=$ac_libobjs
|
Line 14130 LIBOBJS=$ac_libobjs
|
LTLIBOBJS=$ac_ltlibobjs |
LTLIBOBJS=$ac_ltlibobjs |
|
|
|
|
|
if test -z "${ENABLE_STATIC_BIN_TRUE}" && test -z "${ENABLE_STATIC_BIN_FALSE}"; then |
|
as_fn_error $? "conditional \"ENABLE_STATIC_BIN\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
$as_echo_n "checking that generated files are newer than configure... " >&6; } |
if test -n "$am_sleep_pid"; then |
if test -n "$am_sleep_pid"; then |
Line 12995 else
|
Line 14150 else
|
am__EXEEXT_FALSE= |
am__EXEEXT_FALSE= |
fi |
fi |
|
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
as_fn_error $? "conditional \"AMDEP\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Line 13007 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
Line 14158 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__f
|
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
fi |
fi |
|
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
|
as_fn_error $? "conditional \"MAINTAINER_MODE\" 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 |
|
fi |
|
if test -z "${ENABLE_PROFILING_TRUE}" && test -z "${ENABLE_PROFILING_FALSE}"; then |
|
as_fn_error $? "conditional \"ENABLE_PROFILING\" was never defined. |
|
Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
|
fi |
|
|
: "${CONFIG_STATUS=./config.status}" |
: "${CONFIG_STATUS=./config.status}" |
ac_write_fail=0 |
ac_write_fail=0 |
Line 13404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 14567 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
# report actual input values of CONFIG_FILES etc. instead of their |
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
# values after options handling. |
ac_log=" |
ac_log=" |
This file was extended by iperf $as_me 3.1.3, which was | This file was extended by iperf $as_me 3.9, which was |
generated by GNU Autoconf 2.69. Invocation command line was |
generated by GNU Autoconf 2.69. Invocation command line was |
|
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_FILES = $CONFIG_FILES |
Line 13465 Configuration commands:
|
Line 14628 Configuration commands:
|
$config_commands |
$config_commands |
|
|
Report bugs to <https://github.com/esnet/iperf>. |
Report bugs to <https://github.com/esnet/iperf>. |
iperf home page: <http://software.es.net/iperf/>." | iperf home page: <https://software.es.net/iperf/>." |
|
|
_ACEOF |
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
ac_cs_version="\\ |
iperf config.status 3.1.3 | iperf config.status 3.9 |
configured by $0, generated by GNU Autoconf 2.69, |
configured by $0, generated by GNU Autoconf 2.69, |
with options \\"\$ac_cs_config\\" |
with options \\"\$ac_cs_config\\" |
|
|
Line 13590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
Line 14753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
# |
# |
# INIT-COMMANDS |
# INIT-COMMANDS |
# |
# |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" |
|
|
|
|
# The HP-UX ksh and POSIX shell print the target directory to stdout |
# The HP-UX ksh and POSIX shell print the target directory to stdout |
Line 13883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
Line 15046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
for ac_config_target in $ac_config_targets |
for ac_config_target in $ac_config_targets |
do |
do |
case $ac_config_target in |
case $ac_config_target in |
"src/iperf_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/iperf_config.h" ;; |
|
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
|
"src/iperf_config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/iperf_config.h" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
"src/version.h") CONFIG_FILES="$CONFIG_FILES src/version.h" ;; |
"src/version.h") CONFIG_FILES="$CONFIG_FILES src/version.h" ;; |
Line 14490 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
Line 15653 $as_echo "$as_me: executing $ac_file commands" >&6;}
|
# Older Autoconf quotes --file arguments for eval, but not when files |
# Older Autoconf quotes --file arguments for eval, but not when files |
# are listed without --file. Let's play safe and only enable the eval |
# are listed without --file. Let's play safe and only enable the eval |
# if we detect the quoting. |
# if we detect the quoting. |
case $CONFIG_FILES in | # TODO: see whether this extra hack can be removed once we start |
*\'*) eval set x "$CONFIG_FILES" ;; | # requiring Autoconf 2.70 or later. |
*) set x $CONFIG_FILES ;; | case $CONFIG_FILES in #( |
esac | *\'*) : |
| eval set x "$CONFIG_FILES" ;; #( |
| *) : |
| set x $CONFIG_FILES ;; #( |
| *) : |
| ;; |
| esac |
shift |
shift |
for mf | # Used to flag and report bootstrapping failures. |
| am_rc=0 |
| for am_mf |
do |
do |
# Strip MF so we end up with the name of the file. |
# Strip MF so we end up with the name of the file. |
mf=`echo "$mf" | sed -e 's/:.*$//'` | am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` |
# Check whether this is an Automake generated Makefile or not. | # Check whether this is an Automake generated Makefile which includes |
# We used to match only the files named 'Makefile.in', but | # dependency-tracking related rules and includes. |
# some people rename them; so instead we look at the file content. | # Grep'ing the whole file directly is not great: AIX grep has a line |
# Grep'ing the first line is not enough: some people post-process | |
# each Makefile.in and add a new line on top of each file to say so. | |
# Grep'ing the whole file is not good either: AIX grep has a line | |
# limit of 2048, but all sed's we know have understand at least 4000. |
# limit of 2048, but all sed's we know have understand at least 4000. |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ |
dirpart=`$as_dirname -- "$mf" || | || continue |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | am_dirpart=`$as_dirname -- "$am_mf" || |
X"$mf" : 'X\(//\)[^/]' \| \ | $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
X"$mf" : 'X\(//\)$' \| \ | X"$am_mf" : 'X\(//\)[^/]' \| \ |
X"$mf" : 'X\(/\)' \| . 2>/dev/null || | X"$am_mf" : 'X\(//\)$' \| \ |
$as_echo X"$mf" | | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
| $as_echo X"$am_mf" | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
s//\1/ |
s//\1/ |
q |
q |
Line 14530 $as_echo X"$mf" |
|
Line 15699 $as_echo X"$mf" |
|
q |
q |
} |
} |
s/.*/./; q'` |
s/.*/./; q'` |
else | am_filepart=`$as_basename -- "$am_mf" || |
continue | $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ |
fi | X"$am_mf" : 'X\(//\)$' \| \ |
# Extract the definition of DEPDIR, am__include, and am__quote | X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || |
# from the Makefile without running 'make'. | $as_echo X/"$am_mf" | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
test -z "$DEPDIR" && continue | |
am__include=`sed -n 's/^am__include = //p' < "$mf"` | |
test -z "$am__include" && continue | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | |
# Find all dependency output files, they are included files with | |
# $(DEPDIR) in their names. We invoke sed twice because it is the | |
# simplest approach to changing $(DEPDIR) to its actual value in the | |
# expansion. | |
for file in `sed -n " | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do | |
# Make sure the directory exists. | |
test -f "$dirpart/$file" && continue | |
fdir=`$as_dirname -- "$file" || | |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | |
X"$file" : 'X\(//\)[^/]' \| \ | |
X"$file" : 'X\(//\)$' \| \ | |
X"$file" : 'X\(/\)' \| . 2>/dev/null || | |
$as_echo X"$file" | | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\/\)[^/].*/{ | /^X\/\(\/\/\)$/{ |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\/\)$/{ | /^X\/\(\/\).*/{ |
s//\1/ |
s//\1/ |
q |
q |
} |
} |
/^X\(\/\).*/{ |
|
s//\1/ |
|
q |
|
} |
|
s/.*/./; q'` |
s/.*/./; q'` |
as_dir=$dirpart/$fdir; as_fn_mkdir_p | { echo "$as_me:$LINENO: cd "$am_dirpart" \ |
# echo "creating $dirpart/$file" | && sed -e '/# am--include-marker/d' "$am_filepart" \ |
echo '# dummy' > "$dirpart/$file" | | $MAKE -f - am--depfiles" >&5 |
done | (cd "$am_dirpart" \ |
| && sed -e '/# am--include-marker/d' "$am_filepart" \ |
| | $MAKE -f - am--depfiles) >&5 2>&5 |
| ac_status=$? |
| echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
| (exit $ac_status); } || am_rc=$? |
done |
done |
|
if test $am_rc -ne 0; 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 $? "Something went wrong bootstrapping makefile fragments |
|
for automatic dependency tracking. If GNU make was not used, consider |
|
re-running the configure script with MAKE=\"gmake\" (or whatever is |
|
necessary). You can also try re-running configure with the |
|
'--disable-dependency-tracking' option to at least be able to build |
|
the package (albeit without support for automatic dependency tracking). |
|
See \`config.log' for more details" "$LINENO" 5; } |
|
fi |
|
{ am_dirpart=; unset am_dirpart;} |
|
{ am_filepart=; unset am_filepart;} |
|
{ am_mf=; unset am_mf;} |
|
{ am_rc=; unset am_rc;} |
|
rm -f conftest-deps.mk |
} |
} |
;; |
;; |
"libtool":C) |
"libtool":C) |