From: Darin Adler Date: Mon, 7 May 2001 18:40:30 +0000 (+0000) Subject: Update freetype to work with freetype-configs that use . instead of : X-Git-Tag: BONOBO_COMMON_1_2_3~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f02b65da8ca88eedbc9996d860d3831539ecd77a;p=platform%2Fupstream%2Fgnome-common.git Update freetype to work with freetype-configs that use . instead of : as version part separator. Not sure why this is inconsistent. svn path=/trunk/; revision=1702 --- diff --git a/hack-macros/nautilus-macros.m4 b/hack-macros/nautilus-macros.m4 index a7c680a..e229ce2 100644 --- a/hack-macros/nautilus-macros.m4 +++ b/hack-macros/nautilus-macros.m4 @@ -97,11 +97,11 @@ AC_ARG_ENABLE(freetype2test, [ --disable-freetype2test Do not try to comp FREETYPE2_LIBS=`$FREETYPE2_CONFIG $freetype2conf_args --libs` freetype2_major_version=`$FREETYPE2_CONFIG $freetype2_args --version | \ - sed 's/\([[0-9]]*\):\([[0-9]]*\):\([[0-9]]*\)/\1/'` + sed 's/\([[0-9]]*\)[[:.]]\([[0-9]]*\)[[:.]]\([[0-9]]*\)/\1/'` freetype2_minor_version=`$FREETYPE2_CONFIG $freetype2_args --version | \ - sed 's/\([[0-9]]*\):\([[0-9]]*\):\([[0-9]]*\)/\2/'` - freetype2_micro_version=`$FREETYPE2_CONFIG $freetype2_config_args --version | \ - sed 's/\([[0-9]]*\):\([[0-9]]*\):\([[0-9]]*\)/\3/'` + sed 's/\([[0-9]]*\)[[:.]]\([[0-9]]*\)[[:.]]\([[0-9]]*\)/\2/'` + freetype2_micro_version=`$FREETYPE2_CONFIG $freetype2_args --version | \ + sed 's/\([[0-9]]*\)[[:.]]\([[0-9]]*\)[[:.]]\([[0-9]]*\)/\3/'` if test "x$enable_freetype2test" = "xyes" ; then ac_save_CFLAGS="$CFLAGS"