mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
build: autoconf: remove ip check
ip is a run-time dependency, and it is not needed to build Xen tools. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
e00fc7b748
commit
ca92c5098f
2 files changed
-51
No files matched your search
Vendored
-49
@@ -637,7 +637,6 @@ XML
|
||||
CURL
|
||||
FLEX
|
||||
BISON
|
||||
IP
|
||||
PERL
|
||||
PYTHON
|
||||
APPEND_LIB
|
||||
@@ -737,7 +736,6 @@ APPEND_INCLUDES
|
||||
APPEND_LIB
|
||||
PYTHON
|
||||
PERL
|
||||
IP
|
||||
BISON
|
||||
FLEX
|
||||
CURL
|
||||
@@ -1391,7 +1389,6 @@ Some influential environment variables:
|
||||
APPEND_LIB List of library folders to append to LDFLAGS (without -L)
|
||||
PYTHON Path to the Python parser
|
||||
PERL Path to Perl parser
|
||||
IP Path to ip tool
|
||||
BISON Path to Bison parser generator
|
||||
FLEX Path to Flex lexical analyser generator
|
||||
CURL Path to curl-config tool
|
||||
@@ -4134,7 +4131,6 @@ LDFLAGS="$PREPEND_LDFLAGS $LDFLAGS $APPEND_LDFLAGS"
|
||||
|
||||
|
||||
|
||||
|
||||
# Checks for programs.
|
||||
{ $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; }
|
||||
@@ -4925,51 +4921,6 @@ if test x"${PERL}" == x"no"
|
||||
then
|
||||
as_fn_error $? "Unable to find perl, please install perl" "$LINENO" 5
|
||||
fi
|
||||
# Extract the first word of "ip", so it can be a program name with args.
|
||||
set dummy ip; ac_word=$2
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
||||
$as_echo_n "checking for $ac_word... " >&6; }
|
||||
if test "${ac_cv_path_IP+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
case $IP in
|
||||
[\\/]* | ?:[\\/]*)
|
||||
ac_cv_path_IP="$IP" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||
ac_cv_path_IP="$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
|
||||
|
||||
test -z "$ac_cv_path_IP" && ac_cv_path_IP="no"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
IP=$ac_cv_path_IP
|
||||
if test -n "$IP"; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IP" >&5
|
||||
$as_echo "$IP" >&6; }
|
||||
else
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
fi
|
||||
|
||||
|
||||
if test x"${IP}" == x"no"
|
||||
then
|
||||
as_fn_error $? "Unable to find ip, please install ip" "$LINENO" 5
|
||||
fi
|
||||
if test "x$xapi" = "xy"; then :
|
||||
|
||||
# Extract the first word of "curl-config", so it can be a program name with args.
|
||||
|
||||
@@ -60,7 +60,6 @@ AX_SET_FLAGS
|
||||
|
||||
AC_ARG_VAR([PYTHON], [Path to the Python parser])
|
||||
AC_ARG_VAR([PERL], [Path to Perl parser])
|
||||
AC_ARG_VAR([IP], [Path to ip tool])
|
||||
AC_ARG_VAR([BISON], [Path to Bison parser generator])
|
||||
AC_ARG_VAR([FLEX], [Path to Flex lexical analyser generator])
|
||||
AC_ARG_VAR([CURL], [Path to curl-config tool])
|
||||
@@ -75,7 +74,6 @@ AC_PROG_LN_S
|
||||
AC_PROG_MAKE_SET
|
||||
AC_PROG_INSTALL
|
||||
AX_PATH_PROG_OR_FAIL([PERL], [perl])
|
||||
AX_PATH_PROG_OR_FAIL([IP], [ip])
|
||||
AS_IF([test "x$xapi" = "xy"], [
|
||||
AX_PATH_PROG_OR_FAIL([CURL], [curl-config])
|
||||
AX_PATH_PROG_OR_FAIL([XML], [xml2-config])
|
||||
|
||||