mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Fix a typing error in configure.ac: with_nsock -> with_libnsock. This made it impossible to name an alternative nsock directory with something like --with-libnsock=/home/david/nsock.w
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -8271,11 +8271,11 @@ NSOCK_BUILD="nsock_build"
|
||||
|
||||
# Check whether --with-libnsock was given.
|
||||
if test "${with_libnsock+set}" = set; then
|
||||
withval=$with_libnsock; case "$with_nsock" in
|
||||
withval=$with_libnsock; case "$with_libnsock" in
|
||||
yes)
|
||||
;;
|
||||
*)
|
||||
NSOCKDIR="$with_nsock"
|
||||
NSOCKDIR="$with_libnsock"
|
||||
NSOCK_BUILD=""
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -670,11 +670,11 @@ NSOCKDIR="nsock"
|
||||
NSOCK_BUILD="nsock_build"
|
||||
AC_ARG_WITH(libnsock,
|
||||
AC_HELP_STRING([--with-libnsock=DIR], [Compile and link to libnsock in DIR]),
|
||||
[ case "$with_nsock" in
|
||||
[ case "$with_libnsock" in
|
||||
yes)
|
||||
;;
|
||||
*)
|
||||
NSOCKDIR="$with_nsock"
|
||||
NSOCKDIR="$with_libnsock"
|
||||
NSOCK_BUILD=""
|
||||
;;
|
||||
esac]
|
||||
|
||||
Reference in New Issue
Block a user