summaryrefslogtreecommitdiff
path: root/package/resource-agents/patches/patch-configure
blob: 62d1beba5cb8c1e3904e897903899ee9bb383676 (plain)
1
2
3
4
5
6
7
8
9
10
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; }