summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 2 insertions, 8 deletions
diff --git a/configure.in b/configure.in
index 6ce6b0b1..40a323c5 100644
--- a/configure.in
+++ b/configure.in
@@ -1209,17 +1209,17 @@ fi
1209fi 1209fi
1210 1210
1211 1211
1212AC_MSG_CHECKING(for nslookup syntax)
1213AC_ARG_WITH(nslookup_command, 1212AC_ARG_WITH(nslookup_command,
1214 ACX_HELP_STRING([--with-nslookup-command=PATH], 1213 ACX_HELP_STRING([--with-nslookup-command=PATH],
1215 [sets path to nslookup executable]), 1214 [sets path to nslookup executable]),
1216 ac_cv_nslookup_command=$withval) 1215 ac_cv_nslookup_command=$withval)
1217if test -n "$ac_cv_nslookup_command"; then 1216if test -n "$ac_cv_nslookup_command"; then
1218 AC_MSG_RESULT([(command line) $ac_cv_nslookup_command]) 1217 AC_MSG_NOTICE([Using specific nslookup at $ac_cv_nslookup_command])
1219else 1218else
1220 AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup) 1219 AC_PATH_PROG(PATH_TO_NSLOOKUP,nslookup)
1221 if test -n "$PATH_TO_NSLOOKUP" 1220 if test -n "$PATH_TO_NSLOOKUP"
1222 then 1221 then
1222 AC_MSG_CHECKING(for nslookup syntax)
1223 if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep ["Invalid option: sil"] >/dev/null 1223 if $PATH_TO_NSLOOKUP -sil 127.0.0.1 2>&1 | grep ["Invalid option: sil"] >/dev/null
1224 then 1224 then
1225 ac_cv_nslookup_command="$PATH_TO_NSLOOKUP" 1225 ac_cv_nslookup_command="$PATH_TO_NSLOOKUP"
@@ -1240,12 +1240,6 @@ if test -n "$ac_cv_nslookup_command"; then
1240 AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup]) 1240 AC_DEFINE_UNQUOTED(NSLOOKUP_COMMAND,"$ac_cv_nslookup_command", [path and args for nslookup])
1241fi 1241fi
1242 1242
1243AC_PATH_PROG(PATH_TO_HOST,host)
1244if test -n "$ac_cv_path_PATH_TO_HOST"
1245then
1246 EXTRAS="$EXTRAS check_dns"
1247fi
1248
1249AC_PATH_PROG(PATH_TO_UPTIME,uptime) 1243AC_PATH_PROG(PATH_TO_UPTIME,uptime)
1250AC_ARG_WITH(uptime_command, 1244AC_ARG_WITH(uptime_command,
1251 ACX_HELP_STRING([--with-uptime-command=PATH], 1245 ACX_HELP_STRING([--with-uptime-command=PATH],