From 3562e78743202e43aec8727005182a2558117eca Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 28 Jun 2009 22:07:26 +0000 Subject: Checked in the following released items: xkeyboard-config-1.4.tar.gz ttf-bitstream-vera-1.10.tar.gz font-alias-1.0.1.tar.gz font-sun-misc-1.0.0.tar.gz font-sun-misc-1.0.0.tar.gz font-sony-misc-1.0.0.tar.gz font-schumacher-misc-1.0.0.tar.gz font-mutt-misc-1.0.0.tar.gz font-misc-misc-1.0.0.tar.gz font-misc-meltho-1.0.0.tar.gz font-micro-misc-1.0.0.tar.gz font-jis-misc-1.0.0.tar.gz font-isas-misc-1.0.0.tar.gz font-dec-misc-1.0.0.tar.gz font-daewoo-misc-1.0.0.tar.gz font-cursor-misc-1.0.0.tar.gz font-arabic-misc-1.0.0.tar.gz font-winitzki-cyrillic-1.0.0.tar.gz font-misc-cyrillic-1.0.0.tar.gz font-cronyx-cyrillic-1.0.0.tar.gz font-screen-cyrillic-1.0.1.tar.gz font-xfree86-type1-1.0.1.tar.gz font-adobe-utopia-type1-1.0.1.tar.gz font-ibm-type1-1.0.0.tar.gz font-bitstream-type1-1.0.0.tar.gz font-bitstream-speedo-1.0.0.tar.gz font-bh-ttf-1.0.0.tar.gz font-bh-type1-1.0.0.tar.gz font-bitstream-100dpi-1.0.0.tar.gz font-bh-lucidatypewriter-100dpi-1.0.0.tar.gz font-bh-100dpi-1.0.0.tar.gz font-adobe-utopia-100dpi-1.0.1.tar.gz font-adobe-100dpi-1.0.0.tar.gz font-util-1.0.1.tar.gz font-bitstream-75dpi-1.0.0.tar.gz font-bh-lucidatypewriter-75dpi-1.0.0.tar.gz font-adobe-utopia-75dpi-1.0.1.tar.gz font-bh-75dpi-1.0.0.tar.gz bdftopcf-1.0.1.tar.gz font-adobe-75dpi-1.0.0.tar.gz mkfontscale-1.0.6.tar.gz openssl-0.9.8k.tar.gz bigreqsproto-1.0.2.tar.gz xtrans-1.2.2.tar.gz resourceproto-1.0.2.tar.gz inputproto-1.4.4.tar.gz compositeproto-0.4.tar.gz damageproto-1.1.0.tar.gz zlib-1.2.3.tar.gz xkbcomp-1.0.5.tar.gz freetype-2.3.9.tar.gz pthreads-w32-2-8-0-release.tar.gz pixman-0.12.0.tar.gz kbproto-1.0.3.tar.gz evieext-1.0.2.tar.gz fixesproto-4.0.tar.gz recordproto-1.13.2.tar.gz randrproto-1.2.2.tar.gz scrnsaverproto-1.1.0.tar.gz renderproto-0.9.3.tar.gz xcmiscproto-1.1.2.tar.gz fontsproto-2.0.2.tar.gz xextproto-7.0.3.tar.gz xproto-7.0.14.tar.gz libXdmcp-1.0.2.tar.gz libxkbfile-1.0.5.tar.gz libfontenc-1.0.4.tar.gz libXfont-1.3.4.tar.gz libX11-1.1.5.tar.gz libXau-1.0.4.tar.gz libxcb-1.1.tar.gz xorg-server-1.5.3.tar.gz --- xorg-server/fonts.src/font-util/fontutil.m4 | 227 ++++++++++++++++++++++++++++ 1 file changed, 227 insertions(+) create mode 100644 xorg-server/fonts.src/font-util/fontutil.m4 (limited to 'xorg-server/fonts.src/font-util/fontutil.m4') diff --git a/xorg-server/fonts.src/font-util/fontutil.m4 b/xorg-server/fonts.src/font-util/fontutil.m4 new file mode 100644 index 000000000..3d22990d9 --- /dev/null +++ b/xorg-server/fonts.src/font-util/fontutil.m4 @@ -0,0 +1,227 @@ +dnl Copyright 2005 Red Hat, Inc +dnl +dnl Permission to use, copy, modify, distribute, and sell this software and its +dnl documentation for any purpose is hereby granted without fee, provided that +dnl the above copyright notice appear in all copies and that both that +dnl copyright notice and this permission notice appear in supporting +dnl documentation. +dnl +dnl The above copyright notice and this permission notice shall be included +dnl in all copies or substantial portions of the Software. +dnl +dnl THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +dnl OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +dnl MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +dnl IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR +dnl OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +dnl ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +dnl OTHER DEALINGS IN THE SOFTWARE. +dnl +dnl Except as contained in this notice, the name of the copyright holders shall +dnl not be used in advertising or otherwise to promote the sale, use or +dnl other dealings in this Software without prior written authorization +dnl from the copyright holders. +dnl + +# XORG_FONT_CHECK_{maps}() +# ------------------------ +# These macros add --enable/disable-{maps} where {maps} are ISO8859-*, +# JISX0201 or KOI8_R. By default, they are all enabled. + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_1],[ + AC_ARG_ENABLE(iso8859-1, + AS_HELP_STRING([--disable-iso8859-1], + [Build ISO8859-1 fonts (default: yes)]), + [ISO8859_1=$enableval], + [ISO8859_1=yes]) + AC_MSG_CHECKING([whether to build ISO8859-1 fonts]) + AC_MSG_RESULT([$ISO8859_1]) + AM_CONDITIONAL(ISO8859_1, [test "x$ISO8859_1" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_2],[ + AC_ARG_ENABLE(iso8859-2, + AS_HELP_STRING([--disable-iso8859-2], + [Build ISO8859-2 fonts (default: yes)]), + [ISO8859_2=$enableval], + [ISO8859_2=yes]) + AC_MSG_CHECKING([whether to build ISO8859-2 fonts]) + AC_MSG_RESULT([$ISO8859_2]) + AM_CONDITIONAL(ISO8859_2, [test "x$ISO8859_2" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_3],[ + AC_ARG_ENABLE(iso8859-3, + AS_HELP_STRING([--disable-iso8859-3], + [Build ISO8859-3 fonts (default: yes)]), + [ISO8859_3=$enableval], + [ISO8859_3=yes]) + AC_MSG_CHECKING([whether to build ISO8859-3 fonts]) + AC_MSG_RESULT([$ISO8859_3]) + AM_CONDITIONAL(ISO8859_3, [test "x$ISO8859_3" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_4],[ + AC_ARG_ENABLE(iso8859-4, + AS_HELP_STRING([--disable-iso8859-4], + [Build ISO8859-4 fonts (default: yes)]), + [ISO8859_4=$enableval], + [ISO8859_4=yes]) + AC_MSG_CHECKING([whether to build ISO8859-4 fonts]) + AC_MSG_RESULT([$ISO8859_4]) + AM_CONDITIONAL(ISO8859_4, [test "x$ISO8859_4" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_5],[ + AC_ARG_ENABLE(iso8859-5, + AS_HELP_STRING([--disable-iso8859-5], + [Build ISO8859-5 fonts (default: yes)]), + [ISO8859_5=$enableval], + [ISO8859_5=yes]) + AC_MSG_CHECKING([whether to build ISO8859-5 fonts]) + AC_MSG_RESULT([$ISO8859_5]) + AM_CONDITIONAL(ISO8859_5, [test "x$ISO8859_5" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_6],[ + AC_ARG_ENABLE(iso8859-6, + AS_HELP_STRING([--disable-iso8859-6], + [Build ISO8859-6 fonts (default: yes)]), + [ISO8859_6=$enableval], + [ISO8859_6=yes]) + AC_MSG_CHECKING([whether to build ISO8859-6 fonts]) + AC_MSG_RESULT([$ISO8859_6]) + AM_CONDITIONAL(ISO8859_6, [test "x$ISO8859_6" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_7],[ + AC_ARG_ENABLE(iso8859-7, + AS_HELP_STRING([--disable-iso8859-7], + [Build ISO8859-7 fonts (default: yes)]), + [ISO8859_7=$enableval], + [ISO8859_7=yes]) + AC_MSG_CHECKING([whether to build ISO8859-7 fonts]) + AC_MSG_RESULT([$ISO8859_7]) + AM_CONDITIONAL(ISO8859_7, [test "x$ISO8859_7" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_8],[ + AC_ARG_ENABLE(iso8859-8, + AS_HELP_STRING([--disable-iso8859-8], + [Build ISO8859-8 fonts (default: yes)]), + [ISO8859_8=$enableval], + [ISO8859_8=yes]) + AC_MSG_CHECKING([whether to build ISO8859-8 fonts]) + AC_MSG_RESULT([$ISO8859_8]) + AM_CONDITIONAL(ISO8859_8, [test "x$ISO8859_8" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_9],[ + AC_ARG_ENABLE(iso8859-9, + AS_HELP_STRING([--disable-iso8859-9], + [Build ISO8859-9 fonts (default: yes)]), + [ISO8859_9=$enableval], + [ISO8859_9=yes]) + AC_MSG_CHECKING([whether to build ISO8859-9 fonts]) + AC_MSG_RESULT([$ISO8859_9]) + AM_CONDITIONAL(ISO8859_9, [test "x$ISO8859_9" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_10],[ + AC_ARG_ENABLE(iso8859-10, + AS_HELP_STRING([--disable-iso8859-10], + [Build ISO8859-10 fonts (default: yes)]), + [ISO8859_10=$enableval], + [ISO8859_10=yes]) + AC_MSG_CHECKING([whether to build ISO8859-10 fonts]) + AC_MSG_RESULT([$ISO8859_10]) + AM_CONDITIONAL(ISO8859_10, [test "x$ISO8859_10" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_11],[ + AC_ARG_ENABLE(iso8859-11, + AS_HELP_STRING([--disable-iso8859-11], + [Build ISO8859-11 fonts (default: yes)]), + [ISO8859_11=$enableval], + [ISO8859_11=yes]) + AC_MSG_CHECKING([whether to build ISO8859-11 fonts]) + AC_MSG_RESULT([$ISO8859_11]) + AM_CONDITIONAL(ISO8859_11, [test "x$ISO8859_11" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_12],[ + AC_ARG_ENABLE(iso8859-12, + AS_HELP_STRING([--disable-iso8859-12], + [Build ISO8859-12 fonts (default: yes)]), + [ISO8859_12=$enableval], + [ISO8859_12=yes]) + AC_MSG_CHECKING([whether to build ISO8859-12 fonts]) + AC_MSG_RESULT([$ISO8859_12]) + AM_CONDITIONAL(ISO8859_12, [test "x$ISO8859_12" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_13],[ + AC_ARG_ENABLE(iso8859-13, + AS_HELP_STRING([--disable-iso8859-13], + [Build ISO8859-13 fonts (default: yes)]), + [ISO8859_13=$enableval], + [ISO8859_13=yes]) + AC_MSG_CHECKING([whether to build ISO8859-13 fonts]) + AC_MSG_RESULT([$ISO8859_13]) + AM_CONDITIONAL(ISO8859_13, [test "x$ISO8859_13" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_14],[ + AC_ARG_ENABLE(iso8859-14, + AS_HELP_STRING([--disable-iso8859-14], + [Build ISO8859-14 fonts (default: yes)]), + [ISO8859_14=$enableval], + [ISO8859_14=yes]) + AC_MSG_CHECKING([whether to build ISO8859-14 fonts]) + AC_MSG_RESULT([$ISO8859_14]) + AM_CONDITIONAL(ISO8859_14, [test "x$ISO8859_14" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_15],[ + AC_ARG_ENABLE(iso8859-15, + AS_HELP_STRING([--disable-iso8859-15], + [Build ISO8859-15 fonts (default: yes)]), + [ISO8859_15=$enableval], + [ISO8859_15=yes]) + AC_MSG_CHECKING([whether to build ISO8859-15 fonts]) + AC_MSG_RESULT([$ISO8859_15]) + AM_CONDITIONAL(ISO8859_15, [test "x$ISO8859_15" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_ISO8859_16],[ + AC_ARG_ENABLE(iso8859-16, + AS_HELP_STRING([--disable-iso8859-16], + [Build ISO8859-16 fonts (default: yes)]), + [ISO8859_16=$enableval], + [ISO8859_16=yes]) + AC_MSG_CHECKING([whether to build ISO8859-16 fonts]) + AC_MSG_RESULT([$ISO8859_16]) + AM_CONDITIONAL(ISO8859_16, [test "x$ISO8859_16" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_JISX0201],[ + AC_ARG_ENABLE(jisx0201, + AS_HELP_STRING([--disable-jisx0201], + [Build JISX0201 fonts (default: yes)]), + [JISX0201=$enableval], + [JISX0201=yes]) + AC_MSG_CHECKING([whether to build JISX0201 fonts]) + AC_MSG_RESULT([$JISX0201]) + AM_CONDITIONAL(JISX0201, [test "x$JISX0201" = xyes]) +]) + +AC_DEFUN([XORG_FONT_CHECK_KOI8_R],[ + AC_ARG_ENABLE(koi8-r, + AS_HELP_STRING([--disable-koi8-r], + [Build KOI8-R fonts (default: yes)]), + [KOI8_R=$enableval], + [KOI8_R=yes]) + AC_MSG_CHECKING([whether to build KOI8-R fonts]) + AC_MSG_RESULT([$KOI8_R]) + AM_CONDITIONAL(KOI8_R, [test "x$KOI8_R" = xyes]) +]) -- cgit v1.2.3