Solaris porting fixes
This commit is contained in:
parent
b1e98ed99e
commit
996580dce5
|
@ -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)
|
||||
|
|
|
@ -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 == ' ')
|
||||
|
|
Loading…
Reference in New Issue