summaryrefslogtreecommitdiff
path: root/package/resource-agents/patches/patch-configure
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-11 06:21:12 +0200
commitceedf010c914556ebe7eb3211b7b43ccd5deb39f (patch)
tree92f0bcfabc0193abdbc3b86d7992b2bc60adfeb3 /package/resource-agents/patches/patch-configure
parenta373c925622077caa35eb97ab85965e52d7e832d (diff)
parenta1eafbfc0077cd7074961e635ca2387ada7da440 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/resource-agents/patches/patch-configure')
-rw-r--r--package/resource-agents/patches/patch-configure11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/resource-agents/patches/patch-configure b/package/resource-agents/patches/patch-configure
new file mode 100644
index 000000000..62d1beba5
--- /dev/null
+++ b/package/resource-agents/patches/patch-configure
@@ -0,0 +1,11 @@
+--- resource-agents-3.9.0.orig/configure 2011-05-24 15:37:07.000000000 +0200
++++ resource-agents-3.9.0/configure 2011-10-07 20:11:45.000000000 +0200
+@@ -6171,7 +6171,7 @@ $as_echo_n "checking for $2 in $1... " >
+ printf "#include <stdio.h>\n" > ${Cfile}.c
+ printf "#include <%s>\n" $1 >> ${Cfile}.c
+ printf "int main(int argc, char **argv) { printf(\"%%s\", %s); return 0; }\n" $2 >> ${Cfile}.c
+- $CC $CFLAGS ${Cfile}.c -o ${Cfile}
++ $CC_FOR_BUILD $CFLAGS_FOR_BUILD ${Cfile}.c -o ${Cfile}
+ value=`${Cfile}`
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $value" >&5
+ $as_echo "$value" >&6; }