]> git.wh0rd.org Git - fontconfig.git/commitdiff
Solaris porting fixes
authorKeith Packard <keithp@keithp.com>
Thu, 17 Apr 2003 15:47:34 +0000 (15:47 +0000)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Apr 2003 15:47:34 +0000 (15:47 +0000)
configure.in
fc-lang/fc-lang.c

index b02940d1d0aaac3c313af441137f6c9d9adf10ec..6402d23c7122bdf0bd293d1de30a1107dc1e2481 100644 (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)
index 7e76c4742267dcc05b25e9e987fd95a6307a38da..ef259bc54684b66754fe88f27859dba16fe86d82 100644 (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 == ' ')