]> git.pld-linux.org Git - packages/heartbeat.git/commitdiff
- ac fix, some explicit defines instead of autodetection (likely not to work on builders)
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 16 Mar 2004 13:19:16 +0000 (13:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    heartbeat-ac.patch -> 1.1

heartbeat-ac.patch [new file with mode: 0644]

diff --git a/heartbeat-ac.patch b/heartbeat-ac.patch
new file mode 100644 (file)
index 0000000..7f1c7c7
--- /dev/null
@@ -0,0 +1,67 @@
+--- heartbeat-1.2.0/configure.in.orig  Tue Feb 17 06:50:30 2004
++++ heartbeat-1.2.0/configure.in       Tue Mar 16 13:36:09 2004
+@@ -258,18 +258,7 @@
+ dnl Determine if we use -w1 or -t1 for ping (in PYTHON Scripts)
+-AC_MSG_CHECKING(ping option for timeout - w or t)
+-for PING_TIMEOUT_OPT in "-w1" "-t1"
+-do
+-  $PING -nq -c1 $PING_TIMEOUT_OPT localhost > /dev/null 2>&1
+-  if
+-    test "$?" = 0
+-  then
+-    AC_DEFINE_UNQUOTED(PING_TIMEOUT_OPT, "$PING_TIMEOUT_OPT", option for ping timeout)
+-    AC_MSG_RESULT($PING_TIMEOUT_OPT)
+-    break
+-  fi
+-done
++PING_TIMEOUT_OPT="-w1"
+ AC_SUBST(PING_TIMEOUT_OPT)
+ dnl Determining a route (particularly for "findif").
+@@ -286,17 +275,7 @@
+ AC_MSG_CHECKING(ifconfig option to list interfaces)
+-for IFCONFIG_A_OPT in "" "-A" "-a"
+-do
+-  $IFCONFIG $IFCONFIG_A_OPT > /dev/null 2>&1
+-  if
+-    test "$?" = 0
+-  then
+-    AC_DEFINE_UNQUOTED(IFCONFIG_A_OPT, "$IFCONFIG_A_OPT", option for ifconfig command)
+-    AC_MSG_RESULT($IFCONFIG_A_OPT)
+-    break
+-  fi
+-done
++IFCONFIG_A_OPT=""
+ AC_MSG_CHECKING(for the location of the lock directory)
+ for TTY_LOCK_D in /var/lock /var/spool/lock /var/spool/locks
+@@ -1398,15 +1377,16 @@
+ dnl testing again makes the eventual output a little easier to read
+ if test "${enable_crm}"  = "yes"; then
+-    AC_OUTPUT(crm/Makefile                                \
+-                crm/common/Makefile                       \
+-                crm/cib/Makefile                                      \
+-                crm/crmd/Makefile                                     \
+-                crm/lrmd/Makefile                                     \
+-                crm/pengine/Makefile                      \
+-                crm/tengine/Makefile                      \
+-                crm/admin/Makefile                        \
+-)
++      :
++dnl     AC_OUTPUT(crm/Makefile                                    \
++dnl             crm/common/Makefile                       \
++dnl             crm/cib/Makefile                                      \
++dnl             crm/crmd/Makefile                                     \
++dnl             crm/lrmd/Makefile                                     \
++dnl             crm/pengine/Makefile                      \
++dnl             crm/tengine/Makefile                      \
++dnl             crm/admin/Makefile                        \
++dnl )
+ dnl else
+ dnl For when the CRM is manditory...
+ dnl   if "${enable_crm}" = "no (libxml2 not found)"; then
This page took 0.050302 seconds and 4 git commands to generate.