From 996580dce5cd74dfdfe18c9f20e0a27817e5ed1b Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 17 Apr 2003 15:47:34 +0000 Subject: [PATCH] Solaris porting fixes --- configure.in | 4 ++-- fc-lang/fc-lang.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 == ' ') -- 2.39.5