Solaris porting fixes

This commit is contained in:
Keith Packard 2003-04-17 15:47:34 +00:00
parent b1e98ed99e
commit 996580dce5
2 changed files with 4 additions and 4 deletions

View File

@ -106,8 +106,8 @@ else
ft_config="$freetype_config"
fi
FREETYPE_CFLAGS="$($ft_config --cflags)"
FREETYPE_LIBS="$($ft_config --libs)"
FREETYPE_CFLAGS="`$ft_config --cflags`"
FREETYPE_LIBS="`$ft_config --libs`"
AC_SUBST(FREETYPE_LIBS)
AC_SUBST(FREETYPE_CFLAGS)

View File

@ -164,8 +164,8 @@ get_lang (char *name)
while ((c = *name++))
{
if (isupper (c))
c = tolower (c);
if (isupper ((int) (unsigned char) c))
c = tolower ((int) (unsigned char) c);
if (c == '_')
c = '-';
if (c == ' ')