aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2008-10-30 07:11:41 +0000
committerKenichi Handa2008-10-30 07:11:41 +0000
commit28f3a9d1fe4afc26604ccd85ac3fb74b514950e6 (patch)
tree93c16a64cdffcf123c392026c38687a0b182fe57
parent35f0040952d79218e213c2e1d224c2b46fe2e0dc (diff)
downloademacs-28f3a9d1fe4afc26604ccd85ac3fb74b514950e6.tar.gz
emacs-28f3a9d1fe4afc26604ccd85ac3fb74b514950e6.zip
Check fontconfig always.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in11
2 files changed, 8 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index ec873420b43..c55b334e852 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12008-10-30 Emanuele Giaquinta <emanuele.giaquinta@gmail.com>
2
3 * configure.in: Check fontconfig always.
4
12008-10-30 Dan Nicolaescu <dann@ics.uci.edu> 52008-10-30 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * configure (*-solaris2.[7-9]*): Fix typo. 7 * configure (*-solaris2.[7-9]*): Fix typo.
diff --git a/configure.in b/configure.in
index 3ec853bfba2..e40203bb38c 100644
--- a/configure.in
+++ b/configure.in
@@ -1825,6 +1825,8 @@ either XPointer or XPointer*.])dnl
1825fi 1825fi
1826 1826
1827### Start of font-backend section. 1827### Start of font-backend section.
1828PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= 2.2.0, HAVE_FC=yes, HAVE_FC=no)
1829test "${HAVE_FC}" = "no" && with_freetype=no
1828 1830
1829## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'. 1831## Use -lXft if available, unless `--with-freetype=no' nor `--with-xft=no'.
1830HAVE_XFT=maybe 1832HAVE_XFT=maybe
@@ -1868,16 +1870,11 @@ if test "${HAVE_XFT}" = "yes"; then
1868 dnl As we use Xft, we anyway use freetype. 1870 dnl As we use Xft, we anyway use freetype.
1869 dnl In this case, there's no need of additional CFLAGS and LIBS. 1871 dnl In this case, there's no need of additional CFLAGS and LIBS.
1870 HAVE_FREETYPE=yes 1872 HAVE_FREETYPE=yes
1873 FONTCONFIG_CFLAGS=
1874 FONTCONFIG_LIBS=
1871elif test "x${with_freetype}" != "xno" && test "x${with_x}" != "xno"; then 1875elif test "x${with_freetype}" != "xno" && test "x${with_x}" != "xno"; then
1872 1876
1873 PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no) 1877 PKG_CHECK_MODULES(FREETYPE, freetype2, HAVE_FREETYPE=yes, HAVE_FREETYPE=no)
1874 if test "${HAVE_FREETYPE}" = "yes"; then
1875 PKG_CHECK_MODULES(FONTCONFIG, fontconfig, HAVE_FC=yes, HAVE_FC=no)
1876 if test "${HAVE_FC}" = "no"; then
1877 dnl Without fontconfig, we can't use freetype at the moment.
1878 HAVE_FREETYPE=no
1879 fi
1880 fi
1881fi 1878fi
1882 1879
1883HAVE_LIBOTF=no 1880HAVE_LIBOTF=no