[Fontconfig] Don't assume POSIX sh for ./configure

Albert Chin fontconfig at mlists.thewrittenword.com
Sat Mar 22 14:01:37 EST 2003


Don't assume ./configure being run by a POSIX sh.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
Index: configure.in
===================================================================
RCS file: /local/src/CVS/fontconfig/configure.in,v
retrieving revision 1.24
diff -u -3 -p -r1.24 configure.in
--- configure.in	14 Mar 2003 00:16:56 -0000	1.24
+++ configure.in	22 Mar 2003 02:47:20 -0000
@@ -82,8 +82,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)




More information about the Fontconfig mailing list