From f89bcdd1de68db8b83ffcc72aa32e599f4d2007f Mon Sep 17 00:00:00 2001 From: peerkoel Date: Fri, 16 Mar 2007 13:40:49 +0000 Subject: [PATCH] Autotools switch --with-dht-support was buggy. Replaced it with --with-dht --- configure.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure.in b/configure.in index 212a53763..e994dffad 100644 --- a/configure.in +++ b/configure.in @@ -113,14 +113,14 @@ esac dnl find out what kind of dht-support to use AC_ARG_WITH( - [dhtsupport], - AS_HELP_STRING([--with-dht-support=on|off|logging],[Specify how to use DHT support. Option logging will add extra logging. Default is on.]), - [[dhtsupport=$withval]], - [[dhtsupport=on]] + [dht], + AS_HELP_STRING([--with-dht=on|off|logging],[Specify how to use DHT support. Option logging will add extra logging. Default is on.]), + [[dht=$withval]], + [[dht=on]] ) dnl Check the value for the --with-dht-support switch AC_MSG_CHECKING([how to use DHT]) -case "$dhtsupport" in +case "$dht" in "on") AC_MSG_RESULT(on) ;; @@ -134,7 +134,7 @@ case "$dhtsupport" in ;; *) AC_MSG_RESULT() - AC_MSG_ERROR([Unknown dht-dupport option "$dhtsupport". Use either "on", "off" or "logging".]) + AC_MSG_ERROR([Unknown dht-dupport option "$dht". Use either "on", "off" or "logging".]) ;; esac