From 672f9fc5279021436cbb512e4851b7db031cd41d Mon Sep 17 00:00:00 2001 From: david Date: Thu, 22 Nov 2007 07:45:28 +0000 Subject: [PATCH] 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 --- configure | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 9cd14c136..0c4d484d4 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.ac b/configure.ac index 68b0fb804..fad22f380 100644 --- a/configure.ac +++ b/configure.ac @@ -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]