1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-13 00:46:32 +00:00

Add --with-subversion to configure scripts.

This commit is contained in:
david
2012-02-01 00:38:39 +00:00
parent 94f88daee6
commit 83f1d573c0
4 changed files with 79 additions and 1 deletions

25
nmap-update/configure vendored
View File

@@ -657,6 +657,7 @@ SHELL'
ac_subst_files=''
ac_user_opts='
enable_option_checking
with_subversion
'
ac_precious_vars='build_alias
host_alias
@@ -1272,6 +1273,11 @@ if test -n "$ac_init_help"; then
cat <<\_ACEOF
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-subversion=DIR Look for libsvn1 in DIR/include and DIR/libs.
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
@@ -3051,6 +3057,25 @@ fi
done
# Check whether --with-subversion was given.
if test "${with_subversion+set}" = set; then :
withval=$with_subversion;
case "$with_subversion" in
yes)
;;
no)
as_fn_error $? "Subversion and libsvn1 are required to build nmap-update." "$LINENO" 5
;;
*)
CPPFLAGS="-I$with_subversion/include $CPPFLAGS"
LDFLAGS="-L$with_subversion/lib $LDFLAGS"
;;
esac
fi
# Checks for libraries.
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for svn_client_create_context in -lsvn_client-1" >&5