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