git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6a5936
)
require strcasecmp for fontconfig
author
kramm
<kramm>
Wed, 26 Mar 2008 13:04:18 +0000
(13:04 +0000)
committer
kramm
<kramm>
Wed, 26 Mar 2008 13:04:18 +0000
(13:04 +0000)
m4/fontconfig.m4
patch
|
blob
|
history
diff --git
a/m4/fontconfig.m4
b/m4/fontconfig.m4
index
1eb9f2e
..
9e0d6fb
100644
(file)
--- a/
m4/fontconfig.m4
+++ b/
m4/fontconfig.m4
@@
-44,6
+44,7
@@
if (echo $LIBS | grep lfreetype >/dev/null 2>&1); then
fi
cat > conftest.c << EOF
+#include <string.h>
#include <fontconfig.h>
int main()
@@
-51,6
+52,8
@@
int main()
FcPattern *pattern, *match;
FcResult result;
FcChar8 *v;
+ char*s1="abc",*s2="ABC";
+ strcasecmp(s1,s2);
FcInit();
pattern = FcPatternBuild(0, FC_FAMILY, FcTypeString, "", 0);
FcPatternAddInteger(pattern, FC_SLANT, FC_SLANT_ITALIC);