]>
Commit | Line | Data |
---|---|---|
df92c198 JB |
1 | --- heartbeat-1.2.0/configure.in.orig Tue Feb 17 06:50:30 2004 |
2 | +++ heartbeat-1.2.0/configure.in Tue Mar 16 13:36:09 2004 | |
3 | @@ -258,18 +258,7 @@ | |
4 | dnl Determine if we use -w1 or -t1 for ping (in PYTHON Scripts) | |
5 | ||
6 | ||
7 | -AC_MSG_CHECKING(ping option for timeout - w or t) | |
8 | -for PING_TIMEOUT_OPT in "-w1" "-t1" | |
9 | -do | |
10 | - $PING -nq -c1 $PING_TIMEOUT_OPT localhost > /dev/null 2>&1 | |
11 | - if | |
12 | - test "$?" = 0 | |
13 | - then | |
14 | - AC_DEFINE_UNQUOTED(PING_TIMEOUT_OPT, "$PING_TIMEOUT_OPT", option for ping timeout) | |
15 | - AC_MSG_RESULT($PING_TIMEOUT_OPT) | |
16 | - break | |
17 | - fi | |
18 | -done | |
19 | +PING_TIMEOUT_OPT="-w1" | |
20 | AC_SUBST(PING_TIMEOUT_OPT) | |
21 | ||
22 | dnl Determining a route (particularly for "findif"). | |
23 | @@ -286,17 +275,7 @@ | |
24 | ||
25 | ||
26 | AC_MSG_CHECKING(ifconfig option to list interfaces) | |
27 | -for IFCONFIG_A_OPT in "" "-A" "-a" | |
28 | -do | |
29 | - $IFCONFIG $IFCONFIG_A_OPT > /dev/null 2>&1 | |
30 | - if | |
31 | - test "$?" = 0 | |
32 | - then | |
33 | - AC_DEFINE_UNQUOTED(IFCONFIG_A_OPT, "$IFCONFIG_A_OPT", option for ifconfig command) | |
34 | - AC_MSG_RESULT($IFCONFIG_A_OPT) | |
35 | - break | |
36 | - fi | |
37 | -done | |
38 | +IFCONFIG_A_OPT="" | |
39 | ||
40 | AC_MSG_CHECKING(for the location of the lock directory) | |
41 | for TTY_LOCK_D in /var/lock /var/spool/lock /var/spool/locks |