patch-configure 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. --- pacemaker-mgmt-2.0.2.orig/configure 2013-02-28 13:48:44.000000000 +0100
  2. +++ pacemaker-mgmt-2.0.2/configure 2013-03-04 11:56:52.000000000 +0100
  3. @@ -1,4 +1,5 @@
  4. #! /bin/sh
  5. +set -x
  6. # Guess values for system-dependent variables and create Makefiles.
  7. # Generated by GNU Autoconf 2.69.
  8. #
  9. @@ -19866,35 +19867,6 @@ fi
  10. -STACKS=""
  11. -CLUSTERLIBS=""
  12. -if test $SUPPORT_HEARTBEAT = 1; then
  13. - STACKS="$STACKS heartbeat"
  14. - CLUSTERLIBS="$CLUSTERLIBS -lhbclient -lccmclient -lclm"
  15. -fi
  16. -
  17. -if test $SUPPORT_AIS = 1; then
  18. - STACKS="$STACKS $AIS_VERSION"
  19. - #CLUSTERLIBS="$CLUSTERLIBS ${AISMSGLIB}"
  20. -else
  21. - AISPREFIX=""
  22. - LCRSODIR="$libdir"
  23. -fi
  24. -
  25. -PKG_FEATURES="$PKG_FEATURES$STACKS"
  26. -
  27. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported stacks" >&5
  28. -$as_echo_n "checking for supported stacks... " >&6; }
  29. -if test x"$STACKS" = x; then
  30. - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  31. -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  32. -as_fn_error $? "You must choose at least one cluster stack to support
  33. -See \`config.log' for more details" "$LINENO" 5; }
  34. -fi
  35. -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STACKS" >&5
  36. -$as_echo "$STACKS" >&6; }
  37. -
  38. -
  39. @@ -21522,62 +21494,9 @@ CPPFLAGS="$save_CPPFLAGS"
  40. -as_ac_File=`$as_echo "ac_cv_file_$sysconfdir/pam.d/common-account" | $as_tr_sh`
  41. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sysconfdir/pam.d/common-account" >&5
  42. -$as_echo_n "checking for $sysconfdir/pam.d/common-account... " >&6; }
  43. -if eval \${$as_ac_File+:} false; then :
  44. - $as_echo_n "(cached) " >&6
  45. -else
  46. - test "$cross_compiling" = yes &&
  47. - as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
  48. -if test -r "$sysconfdir/pam.d/common-account"; then
  49. - eval "$as_ac_File=yes"
  50. -else
  51. - eval "$as_ac_File=no"
  52. -fi
  53. -fi
  54. -eval ac_res=\$$as_ac_File
  55. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  56. -$as_echo "$ac_res" >&6; }
  57. -if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
  58. -
  59. -fi
  60. -
  61. -as_ac_File=`$as_echo "ac_cv_file_$sysconfdir/pam.d/common-auth" | $as_tr_sh`
  62. -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $sysconfdir/pam.d/common-auth" >&5
  63. -$as_echo_n "checking for $sysconfdir/pam.d/common-auth... " >&6; }
  64. -if eval \${$as_ac_File+:} false; then :
  65. - $as_echo_n "(cached) " >&6
  66. -else
  67. - test "$cross_compiling" = yes &&
  68. - as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
  69. -if test -r "$sysconfdir/pam.d/common-auth"; then
  70. - eval "$as_ac_File=yes"
  71. -else
  72. - eval "$as_ac_File=no"
  73. -fi
  74. -fi
  75. -eval ac_res=\$$as_ac_File
  76. - { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  77. -$as_echo "$ac_res" >&6; }
  78. -if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
  79. -
  80. -fi
  81. -
  82. - if test -f $sysconfdir/pam.d/common-account -a \
  83. - -f /etc/pam.d/common-auth; then
  84. - USE_PAM_COMMON_TRUE=
  85. - USE_PAM_COMMON_FALSE='#'
  86. -else
  87. - USE_PAM_COMMON_TRUE='#'
  88. - USE_PAM_COMMON_FALSE=
  89. -fi
  90. -
  91. +USE_PAM_COMMON_TRUE='#'
  92. +USE_PAM_COMMON_FALSE=
  93. - if test "x${enable_mgmt_client}" != "xno" -a "x${PYTHON_INCLUDES}" = "x"; then
  94. - FatalMissingThing "Python.h" \
  95. - "The GUI managment module needs Python.h (Linux: python-devel package)"
  96. - fi
  97. if test "$ac_cv_header_security_pam_appl_h" = "no" -a "$ac_cv_header_pam_pam_appl_h" = "no"; then
  98. FatalMissingThing "security/pam_appl.h" \