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" ft_config="$freetype_config"
fi fi
FREETYPE_CFLAGS="$($ft_config --cflags)" FREETYPE_CFLAGS="`$ft_config --cflags`"
FREETYPE_LIBS="$($ft_config --libs)" FREETYPE_LIBS="`$ft_config --libs`"
AC_SUBST(FREETYPE_LIBS) AC_SUBST(FREETYPE_LIBS)
AC_SUBST(FREETYPE_CFLAGS) AC_SUBST(FREETYPE_CFLAGS)

View File

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