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:
5e568bb
)
fixed some bugs which prevented the Win32 version from working.
author
kramm
<kramm>
Sat, 12 Jun 2004 16:03:44 +0000
(16:03 +0000)
committer
kramm
<kramm>
Sat, 12 Jun 2004 16:03:44 +0000
(16:03 +0000)
m4/freetype.m4
patch
|
blob
|
history
diff --git
a/m4/freetype.m4
b/m4/freetype.m4
index
84dc174
..
5e95677
100644
(file)
--- a/
m4/freetype.m4
+++ b/
m4/freetype.m4
@@
-21,11
+21,11
@@
AC_CHECK_PROGS(FREETYPE_CONFIG, freetype-config,)
OLDCPPFLAGS="${CPPFLAGS}"
OLDLIBS="${LIBS}"
if test "x${FREETYPE_CONFIG}" != "x"; then
OLDCPPFLAGS="${CPPFLAGS}"
OLDLIBS="${LIBS}"
if test "x${FREETYPE_CONFIG}" != "x"; then
- CPPFLAGS="$CFLAGS "`freetype-config --cflags`
+ CPPFLAGS="$CPPFLAGS "`freetype-config --cflags`
else if test -d /usr/include/freetype2; then
else if test -d /usr/include/freetype2; then
- CPPFLAGS="$CFLAGS -I/usr/include/freetype2"
+ CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2"
else if test -d /usr/local/include/freetype2; then
else if test -d /usr/local/include/freetype2; then
- CPPFLAGS="$CFLAGS -I/usr/local/include/freetype2"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include/freetype2"
fi
fi
fi
fi
fi
fi
@@
-89,7
+89,7
@@
int main()
}
EOF
}
EOF
- ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LIBS -o conftest${ac_exeext}'
+ ac_link='$CC $CPPFLAGS $CFLAGS conftest.c $LDFLAGS $LIBS -o conftest${ac_exeext}'
if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_FREETYPE, 1)
if { (eval echo freetype.m4:71: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_FREETYPE, 1)