From: Keith Packard Date: Thu, 17 Apr 2003 15:47:34 +0000 (+0000) Subject: Solaris porting fixes X-Git-Tag: fc-2_2_0~7 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=996580dce5cd74dfdfe18c9f20e0a27817e5ed1b;p=fontconfig.git Solaris porting fixes --- diff --git a/configure.in b/configure.in index b02940d..6402d23 100644 --- a/configure.in +++ b/configure.in @@ -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) diff --git a/fc-lang/fc-lang.c b/fc-lang/fc-lang.c index 7e76c47..ef259bc 100644 --- a/fc-lang/fc-lang.c +++ b/fc-lang/fc-lang.c @@ -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 == ' ')