diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-20 10:06:18 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-03-20 10:06:18 +0000 |
commit | cfda34b0f42ecfdb81d20323747c36392154f7dc (patch) | |
tree | 09502ff6ae7a6a19d250207c7c30045ae6ac7ed7 /Build/source/texk | |
parent | ab6390c41ba59dbdb0ebae4d25c72aa6dd9958de (diff) |
LuaTeX: Drop unused files
git-svn-id: svn://tug.org/texlive/trunk@29441 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
12 files changed, 42 insertions, 1145 deletions
diff --git a/Build/source/texk/web2c/Makefile.in b/Build/source/texk/web2c/Makefile.in index 154e74e4eb3..7cebfbbf9cc 100644 --- a/Build/source/texk/web2c/Makefile.in +++ b/Build/source/texk/web2c/Makefile.in @@ -1920,53 +1920,43 @@ EXTRA_DIST = PROJECTS cftests cpascal.h help.h w2c/config.h \ luatexdir/luafontloader/fontforge/AUTHORS \ luatexdir/luafontloader/fontforge/INSTALL \ luatexdir/luafontloader/fontforge/LICENSE \ - luatexdir/luafontloader/fontforge/VERSION \ - luatexdir/luafontloader/fontforge/Makefile.in \ - luatexdir/luafontloader/fontforge/Unicode/Makefile.in \ - luatexdir/luafontloader/fontforge/configure-options \ - luatexdir/luafontloader/fontforge/configure.in \ - luatexdir/luafontloader/fontforge/fontforge/Makefile.in \ - luatexdir/luafontloader/fontforge/gdraw/Makefile.in \ - luatexdir/luafontloader/fontforge/gutils/Makefile.in \ - luatexdir/luafontloader/fontforge/inc/config.h.in \ - luatexdir/luafontloader/fontforge/plugins/Makefile.in \ - $(libluatex_web) luatexdir/ChangeLog luatexdir/NEWS \ - luatexdir/font/subfont.txt $(xetex_web_srcs) $(xetex_ch_srcs) \ - xetexdir/xetex.defines xetexdir/unicode-char-prep.pl \ - xetexdir/ChangeLog $(xetex_tests) xetexdir/COPYING \ - xetexdir/xewebmac.tex omegaware/README omegaware/ChangeLog \ - $(odvicopy_sources) $(odvitype_sources) $(ofm2opl_sources) \ - $(opl2ofm_sources) $(otangle_sources) omegaware/ovf2ovp.web \ - omegaware/ovf2ovp.up omegaware/ovf2ovp.ch \ - omegaware/ovp2ovf.web omegaware/ovp2ovf.up \ - omegaware/ovp2ovf.ch $(OTANGLE_tests) $(OMFONTS_tests) \ - omegaware/tests/level1.opl omegaware/tests/ofontd1.dvi \ - omegaware/tests/ofontd1.typ omegaware/tests/ofontd2.dvi \ - omegaware/tests/ofontd2.typ omegaware/tests/ofontd3.dvi \ - omegaware/tests/ofontd3.typ omegaware/tests/ofontr1.vf \ - omegaware/tests/ofontr2.ovf omegaware/tests/ofontr3.ovf \ - omegaware/tests/ofontv4.vf omegaware/tests/ofontv5.ovf \ - omegaware/tests/ofontv6.ovf omegaware/tests/ofontd0.dtl \ - omegaware/tests/ofontd0.dvi omegaware/tests/ofontd0.typ \ - omegaware/tests/ofontr0.tfm omegaware/tests/ofontr1.tfm \ - omegaware/tests/ofontr2.ofm omegaware/tests/ofontr3.ofm \ - omegaware/tests/ofontv4.tfm omegaware/tests/ofontv5.ofm \ - omegaware/tests/ofontv6.ofm omegaware/tests/ofontr0.pl \ - omegaware/tests/ofontr1.pl omegaware/tests/ofontr1.vpl \ - omegaware/tests/ofontr2.opl omegaware/tests/ofontr2.ovp \ - omegaware/tests/ofontr3.opl omegaware/tests/ofontr3.ovp \ - omegaware/tests/ofontv4.pl omegaware/tests/ofontv4.vpl \ - omegaware/tests/ofontv5.opl omegaware/tests/ofontv5.ovp \ - omegaware/tests/ofontv6.opl omegaware/tests/ofontv6.ovp \ - omegaware/tests/Cherokee.pl omegaware/tests/OCherokee.ovp \ - omegaware/tests/realnum.opl omegaware/tests/realnum.out \ - omegaware/tests/repeat.opl omegaware/tests/repeated.opl \ - omegaware/tests/sample.out omegaware/tests/sample.ovp \ - omegaware/tests/sample0-h.opl omegaware/tests/specialhex.ovp \ - $(aleph_web_srcs) $(aleph_ch_srcs) alephdir/ChangeLog \ - alephdir/aleph.defines alephdir/aleph.version $(aleph_tests) \ - synctexdir/ChangeLog synctexdir/README.txt \ - synctexdir/synctex_parser_readme.txt \ + luatexdir/luafontloader/fontforge/VERSION $(libluatex_web) \ + luatexdir/ChangeLog luatexdir/NEWS luatexdir/font/subfont.txt \ + $(xetex_web_srcs) $(xetex_ch_srcs) xetexdir/xetex.defines \ + xetexdir/unicode-char-prep.pl xetexdir/ChangeLog \ + $(xetex_tests) xetexdir/COPYING xetexdir/xewebmac.tex \ + omegaware/README omegaware/ChangeLog $(odvicopy_sources) \ + $(odvitype_sources) $(ofm2opl_sources) $(opl2ofm_sources) \ + $(otangle_sources) omegaware/ovf2ovp.web omegaware/ovf2ovp.up \ + omegaware/ovf2ovp.ch omegaware/ovp2ovf.web \ + omegaware/ovp2ovf.up omegaware/ovp2ovf.ch $(OTANGLE_tests) \ + $(OMFONTS_tests) omegaware/tests/level1.opl \ + omegaware/tests/ofontd1.dvi omegaware/tests/ofontd1.typ \ + omegaware/tests/ofontd2.dvi omegaware/tests/ofontd2.typ \ + omegaware/tests/ofontd3.dvi omegaware/tests/ofontd3.typ \ + omegaware/tests/ofontr1.vf omegaware/tests/ofontr2.ovf \ + omegaware/tests/ofontr3.ovf omegaware/tests/ofontv4.vf \ + omegaware/tests/ofontv5.ovf omegaware/tests/ofontv6.ovf \ + omegaware/tests/ofontd0.dtl omegaware/tests/ofontd0.dvi \ + omegaware/tests/ofontd0.typ omegaware/tests/ofontr0.tfm \ + omegaware/tests/ofontr1.tfm omegaware/tests/ofontr2.ofm \ + omegaware/tests/ofontr3.ofm omegaware/tests/ofontv4.tfm \ + omegaware/tests/ofontv5.ofm omegaware/tests/ofontv6.ofm \ + omegaware/tests/ofontr0.pl omegaware/tests/ofontr1.pl \ + omegaware/tests/ofontr1.vpl omegaware/tests/ofontr2.opl \ + omegaware/tests/ofontr2.ovp omegaware/tests/ofontr3.opl \ + omegaware/tests/ofontr3.ovp omegaware/tests/ofontv4.pl \ + omegaware/tests/ofontv4.vpl omegaware/tests/ofontv5.opl \ + omegaware/tests/ofontv5.ovp omegaware/tests/ofontv6.opl \ + omegaware/tests/ofontv6.ovp omegaware/tests/Cherokee.pl \ + omegaware/tests/OCherokee.ovp omegaware/tests/realnum.opl \ + omegaware/tests/realnum.out omegaware/tests/repeat.opl \ + omegaware/tests/repeated.opl omegaware/tests/sample.out \ + omegaware/tests/sample.ovp omegaware/tests/sample0-h.opl \ + omegaware/tests/specialhex.ovp $(aleph_web_srcs) \ + $(aleph_ch_srcs) alephdir/ChangeLog alephdir/aleph.defines \ + alephdir/aleph.version $(aleph_tests) synctexdir/ChangeLog \ + synctexdir/README.txt synctexdir/synctex_parser_readme.txt \ synctexdir/synctex_parser_version.txt synctexdir/tests \ synctexdir/synctex-common.h synctexdir/synctex.c \ synctexdir/synctex.defines synctexdir/synctex.h \ diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog index ab149bdc235..6023f9afd01 100644 --- a/Build/source/texk/web2c/luatexdir/ChangeLog +++ b/Build/source/texk/web2c/luatexdir/ChangeLog @@ -1,3 +1,7 @@ +2013-03-20 Peter Breitenlohner <peb@mppmu.mpg.de> + + * am/luafontforge.am (EXTRA_DIST): Drop unused files. + 2013-03-12 Peter Breitenlohner <peb@mppmu.mpg.de> * lua52/*, am/liblua52.am (new): Add lua-5.2.1 for 0.75.0. diff --git a/Build/source/texk/web2c/luatexdir/am/luafontforge.am b/Build/source/texk/web2c/luatexdir/am/luafontforge.am index 3b9847586eb..123e043533d 100644 --- a/Build/source/texk/web2c/luatexdir/am/luafontforge.am +++ b/Build/source/texk/web2c/luatexdir/am/luafontforge.am @@ -1,6 +1,6 @@ ## texk/web2c/luatexdir/am/luafontforge.am: Makefile fragment for libff. ## -## Copyright (C) 2009 - 2011 Peter Breitenlohner <tex-live@tug.org> +## Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org> ## You may freely use, modify and/or distribute this file. ## luafontforge @@ -127,16 +127,3 @@ EXTRA_DIST += \ luatexdir/luafontloader/fontforge/LICENSE \ luatexdir/luafontloader/fontforge/VERSION -## Not used -## -EXTRA_DIST += \ - luatexdir/luafontloader/fontforge/Makefile.in \ - luatexdir/luafontloader/fontforge/Unicode/Makefile.in \ - luatexdir/luafontloader/fontforge/configure-options \ - luatexdir/luafontloader/fontforge/configure.in \ - luatexdir/luafontloader/fontforge/fontforge/Makefile.in \ - luatexdir/luafontloader/fontforge/gdraw/Makefile.in \ - luatexdir/luafontloader/fontforge/gutils/Makefile.in \ - luatexdir/luafontloader/fontforge/inc/config.h.in \ - luatexdir/luafontloader/fontforge/plugins/Makefile.in - diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Makefile.in deleted file mode 100644 index 2264a813c90..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Makefile.in +++ /dev/null @@ -1,160 +0,0 @@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -bindir = @bindir@ -libdir = @libdir@ -mandir = @mandir@ -includedir = @includedir@ -sharedir = $(prefix)/share/fontforge -pixmapsdir = $(sharedir)/pixmaps -docdir = $(prefix)/share/doc/fontforge -localedir = $(prefix)/share/locale -pythondir = $(sharedir)/python - -srcdir = @srcdir@ -top_builddir = . - -LIBTOOL = @LIBTOOL@ -INSTALL = @INSTALL@ -INSTALL_DATA = @INSTALL_DATA@ - -all: fontforge - -libs: libgunicode libgutils @GDRAW_LIB@ - -fontforge: libgunicode libgutils @GDRAW_LIB@ - ( cd fontforge ; $(MAKE) ) - -libgunicode: - ( cd Unicode ; $(MAKE) ) - -libgutils: libgunicode - ( cd gutils ; $(MAKE) ) - -libgdraw: libgutils libgunicode - ( cd gdraw ; $(MAKE) ) - -fontforgegtk: fontforge - ( cd gtkui ; $(MAKE) ) - -clean: - ( cd fontforge ; $(MAKE) clean ) - ( cd Unicode ; $(MAKE) clean ) - ( cd gutils ; $(MAKE) clean ) - ( cd gdraw ; $(MAKE) clean ) - ( cd plugins ; $(MAKE) clean ) - if test -d gtkui; then cd gtkui ; $(MAKE) clean ; fi - -( cd pyhook ; for dir in * ; do if test -d $$dir -a "$$dir" != "CVS" ; then rm -rf $$dir ; fi; done ) - -rm -rf .libs - -distclean cleaner: - ( cd fontforge ; $(MAKE) distclean ) - ( cd Unicode ; $(MAKE) distclean ) - ( cd gutils ; $(MAKE) distclean ) - ( cd gdraw ; $(MAKE) distclean ) - ( cd plugins ; $(MAKE) distclean ) - if test -d gtkui; then cd gtkui ; $(MAKE) distclean ; fi - -( cd pyhook ; rm setup.py ; for dir in * ; do if test -d $$dir -a "$$dir" != "CVS" ; then rm -rf $$dir ; fi; done) - -rm -rf .libs - -rm Makefile config.cache config.log config.status libtool fontforge.pc systemspecific inc/config.h - -install_libs: libs -# You may need to be root to do the install - mkdir -p $(DESTDIR)$(libdir) - #-rm $(DESTDIR)$(libdir)/libgdraw.so* $(DESTDIR)$(libdir)/libgunicode.so.* - $(LIBTOOL) --mode=install $(INSTALL) -c libgunicode.la $(DESTDIR)$(libdir)/libgunicode.la - $(LIBTOOL) --mode=install $(INSTALL) -c libgutils.la $(DESTDIR)$(libdir)/libgutils.la - $(LIBTOOL) --mode=install $(INSTALL) -c libgioftp.la $(DESTDIR)$(libdir)/libgioftp.la -#We don't build gdraw if no X - if test -r libgdraw.la ; then $(LIBTOOL) --mode=install $(INSTALL) -c libgdraw.la $(DESTDIR)$(libdir)/libgdraw.la ; fi -#We don't always build libfontforge - if test -r libfontforge.la ; then $(LIBTOOL) --mode=install $(INSTALL) -c libfontforge.la $(DESTDIR)$(libdir)/libfontforge.la ; fi - $(LIBTOOL) --mode=finish $(DESTDIR)$(libdir) - mkdir -p $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL_DATA) fontforge.pc $(DESTDIR)$(libdir)/pkgconfig - -install_incs: - mkdir -p $(DESTDIR)$(includedir)/fontforge - $(INSTALL_DATA) $(srcdir)/inc/*.h $(DESTDIR)$(includedir)/fontforge -# $(INSTALL_DATA) `grep -L GGadget $(srcdir)/fontforge/*.h` $(DESTDIR)$(includedir)/fontforge - ( for file in $(srcdir)/fontforge/*.h ; do if grep GGadget $$file >/dev/null 2>&1 ; then echo pointless >/dev/null ; else $(INSTALL_DATA) $$file $(DESTDIR)$(includedir)/fontforge ; fi ; done ) - -install_docs: - mkdir -p $(DESTDIR)$(docdir) - mkdir -p $(DESTDIR)$(docdir)/flags $(DESTDIR)$(docdir)/ja -#explicit use of sh to make sure we don't invoke csh with different "if" syntax - -sh -c "if test -d $(srcdir)/htdocs/ja >/dev/null ; then mkdir -p $(DESTDIR)$(docdir)/ja ; fi" - -$(INSTALL_DATA) $(srcdir)/htdocs/*.{html,png,gif,pdf} $(DESTDIR)$(docdir) - -$(INSTALL_DATA) $(srcdir)/htdocs/flags/* $(DESTDIR)$(docdir)/flags - -$(INSTALL_DATA) $(srcdir)/htdocs/ja/* $(DESTDIR)$(docdir)/ja - -install_pycontrib: - mkdir -p $(DESTDIR)$(pythondir) - ( cd pycontrib ; $(INSTALL_DATA) *.py $(DESTDIR)$(pythondir) ) - -install_prog: - mkdir -p $(DESTDIR)$(bindir) - mkdir -p $(DESTDIR)$(mandir)/man1 - mkdir -p $(DESTDIR)$(sharedir) - mkdir -p $(DESTDIR)$(pixmapsdir) - $(LIBTOOL) --mode=install $(INSTALL) -c fontforge/fontforge $(DESTDIR)$(bindir) - $(LIBTOOL) --mode=install $(INSTALL) -c fontforge/sfddiff $(DESTDIR)$(bindir) - $(LIBTOOL) --mode=install $(INSTALL) -c fontforge/fontimage $(DESTDIR)$(bindir) - $(LIBTOOL) --mode=install $(INSTALL) -c fontforge/fontlint $(DESTDIR)$(bindir) -# -rm -f $(DESTDIR)$(bindir)/pfaedit -# (cd $(DESTDIR)$(bindir) ; ln -s fontforge pfaedit) -# $(INSTALL_DATA) fontforge/pfaedit-*.ui $(DESTDIR)$(sharedir) -#The next line will fail for most installs. If you have downloaded the cidmaps -# this will install them. If you haven't it won't. You only need the cidmaps -# if you are editing CID keyed files (and even then you can live without them - -$(INSTALL_DATA) $(srcdir)/cidmap/*.cidmap $(DESTDIR)$(sharedir) >/dev/null 2>&1 - -$(INSTALL_DATA) $(srcdir)/fontforge/pixmaps/*.png $(DESTDIR)$(pixmapsdir) - $(INSTALL_DATA) $(srcdir)/fontforge/fontforge.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL_DATA) $(srcdir)/fontforge/sfddiff.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL_DATA) $(srcdir)/fontforge/fontimage.1 $(DESTDIR)$(mandir)/man1 - $(INSTALL_DATA) $(srcdir)/fontforge/fontlint.1 $(DESTDIR)$(mandir)/man1 - -install: $(DESTDIR)$(sharedir) all install_libs install_incs install_prog install_pycontrib -# You may need to be root to do the install -#explicit use of sh to make sure we don't invoke csh with different "if" syntax - sh -c "if test -d $(srcdir)/htdocs >/dev/null ; then $(MAKE) install_docs ; fi" - sh -c "if test -d fontforge/FontForge.app >/dev/null ; then rm -rf /Applications/FontForge.app ; mv fontforge/FontForge.app /Applications ; ln -s /usr/local/bin/fontforge /Applications/FontForge.app/Contents/MacOS/FontForge ; fi" - sh < systemspecific -#we don't always create a setup.py - -(cd pyhook ; if test -r setup.py ; then python setup.py install --prefix=$(prefix) --root=$(DESTDIR); for dir in * ; do if test -d $$dir -a "$$dir" != "CVS" ; then rm -rf $$dir ; fi; done ; fi ) - -install_py: $(DESTDIR)$(sharedir) all install_libs install_incs install_prog install_pycontrib -# You may need to be root to do the install -#explicit use of sh to make sure we don't invoke csh with different "if" syntax - sh -c "if test -d $(srcdir)/htdocs >/dev/null ; then $(MAKE) install_docs ; for dir in * ; do if test -d $$dir ; then rm -rf $$dir ; fi; done ; fi" - sh -c "if test -d fontforge/FontForge.app >/dev/null ; then rm -rf /Applications/FontForge.app ; mv fontforge/FontForge.app /Applications ; ln -s /usr/local/bin/fontforge /Applications/FontForge.app/Contents/MacOS/FontForge ; fi" - sh < systemspecific - -(cd pyhook ; python setup.py bdist --formats=gztar ; cp dist/fontforge-*.tar.gz $(DESTDIR)/tmp; for dir in * ; do if test -d $$dir -a "$$dir" != "CVS" ; then rm -rf $$dir ; fi; done ) - -install_gtk: fontforgegtk - (cd gtkui ; $(MAKE) install ) - -uninstall: - -rm $(DESTDIR)$(bindir)/fontforge - -rm $(DESTDIR)$(bindir)/sfddiff - -rm $(DESTDIR)$(bindir)/fontimage - -rm $(DESTDIR)$(bindir)/fontlint - -rm $(DESTDIR)$(sharedir)/pfaedit-*.ui - -rm $(DESTDIR)$(localedir)/*/LC_MESSAGES/FontForge.mo - -rm $(DESTDIR)$(mandir)/man1/fontimage.1 - -rm $(DESTDIR)$(mandir)/man1/fontforge.1 - -rm $(DESTDIR)$(mandir)/man1/sfddiff.1 - -rm $(DESTDIR)$(mandir)/man1/fontlint.1 - -rm $(DESTDIR)$(libdir)/libgdraw.* - -rm $(DESTDIR)$(libdir)/libgutils.* - -rm $(DESTDIR)$(libdir)/libgioftp.* - -rm $(DESTDIR)$(libdir)/libgunicode.* - -rm $(DESTDIR)$(libdir)/libfontforge.* - -rm $(DESTDIR)$(sharedir)/*.cidmap - -rm $(DESTDIR)$(includedir)/fontforge/*.h - -rm -rf $(DESTDIR)$(docdir)/* - -rm $(DESTDIR)$(libdir)/pkgconfig/fontforge.pc - -rm $(DESTDIR)$(pythondir)/* - -$(DESTDIR)$(sharedir): - mkdir -p $(DESTDIR)$(sharedir) diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Unicode/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Unicode/Makefile.in deleted file mode 100644 index 7cb2bc9acfe..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/Unicode/Makefile.in +++ /dev/null @@ -1,36 +0,0 @@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -top_srcdir = @top_srcdir@ -top_builddir = .. -libdir = @libdir@ -VPATH = @srcdir@ -bindir = @bindir@ - -GU_VERSION=3 -GU_REVISION=1 -GU_AGE=0 - -LIBTOOL = @LIBTOOL@ -CC = @CC@ - -libgunicode_OBJECTS = ArabicForms.lo alphabet.lo char.lo \ - cjk.lo memory.lo ucharmap.lo unialt.lo ustring.lo utype.lo \ - gwwiconv.lo - -Incs = -I$(top_builddir)/inc -I$(top_srcdir)/inc -I/usr/pkg/include -I/usr/pkg/include/giflib -CFLAGS = @CFLAGS@ @CPPFLAGS@ $(Incs) @WFLAGS@ @DEFS@ - -../libgunicode.la: $(libgunicode_OBJECTS) - $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -no-undefined @LDFLAGS@ -o ../libgunicode.la $(libgunicode_OBJECTS) \ - @LIBS@ \ - -rpath $(libdir) -version-info $(GU_VERSION):$(GU_REVISION):$(GU_AGE) - -%.lo: %.c - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< - -clean: - -rm -f *.o *.lo ../libgunicode.la .libs/* - -distclean cleaner: - -rm -f *.o *.lo ../libgunicode.la .libs/* Makefile diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure-options b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure-options deleted file mode 100644 index 594a842e66f..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure-options +++ /dev/null @@ -1 +0,0 @@ ---enable-static --disable-shared --disable-freetype --without-freetype-src --without-cairo --without-python --without-pango --without-iconv --without-native-script --without-x diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure.in deleted file mode 100644 index acbf44f2112..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/configure.in +++ /dev/null @@ -1,704 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. - -orig_args="$*" - -AC_INIT(fontforge/pfaedit.h) -AC_CONFIG_HEADERS([inc/config.h]) -AC_PROG_CC -AC_PROG_INSTALL -AC_DISABLE_STATIC -AC_ENABLE_SHARED -AC_CANONICAL_HOST -AC_SUBST(HOST) -AC_SUBST(MACAPP) -HOST="$host" - -AC_C_CONST -AC_PATH_XTRA -AC_SUBST(X_11LIB) -AC_SUBST(GDRAW_LIB) -AC_SUBST(exeOBJECTS) -AC_SUBST(LINK_WITH_GDRAW) -X_11LIB=-lX11 -GDRAW_LIB=libgdraw -exeOBJECTS=fontforge_UIOBJECTS -LINK_WITH_GDRAW=../libgdraw.la -if test "$no_x" = "yes"; then - X_11LIB= - GDRAW_LIB= - exeOBJECTS=fontforge_SCRIPTOBJ - LINK_WITH_GDRAW= - MACAPP= - -else - dnl AC_CHECK_HEADER("X11/extensions/XInput.h", : ,AC_DEFINE(_NO_XINPUT),) - dnl AC_CHECK_HEADER("X11/extensions/XI.h", : ,AC_DEFINE(_NO_XINPUT),) - dnl /usr/share/doc/XFree86-doc-4.2.0/Xi/lib.PS - - AC_CHECK_LIB(Xi, XOpenDevice, X_11LIB="-lXi -lX11" ,AC_DEFINE(_NO_XINPUT), $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11 ) - AC_CHECK_LIB(xkbui, XkbQueryExtension, X_11LIB="$X_11LIB -lxkbui" ,AC_DEFINE(_NO_XKB), $X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS -lX11 -lm ) -fi - -gww_define_caps_for_alt="dontknow" -gww_nodynamic="no" -gww_needsstatic="no" -gww_ismac="no" -gww_iscygwin="no" -gww_needsstaticimages="no" -gww_rpath="" -AC_ARG_WITH(static-imagelibs, - [ --with-static-imagelibs Control whether to try using static image libaries], - [ - if test "$withval" \!= "no" ; then - gww_needsstaticimages="yes" - fi - dnl Mac doesn't ship with image libraries, so my builds should include - dnl static versions, else users won't have them. - - ]) - -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -L/usr/local/lib" - -case "$host" in -*-apple-darwin*) - gww_ismac="yes" - AC_DEFINE(_CursorsMustBe16x16) - AC_DEFINE(_Keyboard,1) - AC_DEFINE(__Mac,1) - MACAPP=FontForge.app/Contents/Info.plist - gww_define_caps_for_alt="1" - -dnl fink puts stuff under /sw -dnl macports puts stuff under /opt/local - - if test "$CPPFLAGS" \!= "" >/dev/null ; then - TrustUser="yes" - elif test -d /sw/include >/dev/null ; then - CPPFLAGS="$CPPFLAGS -I/sw/include" - elif test -d /opt/local/include >/dev/null ; then - CPPFLAGS="$CPPFLAGS -I/opt/local/include" - fi - if test "$oldLDFLAGS" \!= "" >/dev/null ; then - TrustUser="yes" - elif test -d /sw/lib >/dev/null ; then - LDFLAGS="$LDFLAGS -L/sw/lib" - gww_rpath="-rpath /sw/lib" - elif test -d /opt/local/lib >/dev/null ; then - LDFLAGS="$LDFLAGS -L/opt/local/lib" - gww_rpath="-rpath /opt/local/lib" - fi - LIBS="-Wl,/System/Library/Frameworks/Carbon.framework/Carbon $LIBS" - LIBS="-Wl,/System/Library/Frameworks/CoreServices.framework/CoreServices $LIBS" - dnl I would like to be able to just leave the framework as a filename. But - dnl if I do that, libtool eats it and gcc doesn't get it and ld doesn't get - dnl it and we get undefined symbols. - - ;; -powerpc-*-*linux*) - AC_DEFINE(_Keyboard,3) - ;; -*sparc*) - AC_DEFINE(_Keyboard,2) - ;; -*-pc-cygwin*) - - AC_DEFINE(_BrokenBitmapImages) - AC_DEFINE(_ModKeysAutoRepeat) - AC_DEFINE(__CygWin,1) - gww_iscygwin="yes" - -dnl Although present on my cygwin system the Xi library does not load -dnl and crashes gdb if we attempt to use it. - - AC_DEFINE(_NO_XINPUT) - -dnl on cygwin the file we dlopen is not the expected filename. We must -dnl search for a libtool .la file (libpng.la for example) to tell us -dnl what name we should dlopen. Sadly cygwin doesn't always provide -dnl these => we must link statically, or load at start up. - -dnl so provide a simplistic function to check for the .la file -dnl AC_CHECK_LIB_LA(lib-name, action-if-found, action-if-missing) - -AC_DEFUN([AC_CHECK_LIB_LA], - [ - AC_CHECK_FILE(/lib/lib$1.la,[$2],[ - AC_CHECK_FILE(/usr/lib/lib$1.la,[$2],[ - AC_CHECK_FILE(/usr/local/lib/lib$1.la,[$2],[ - AC_CHECK_FILE(/usr/X11R6/lib/lib$1.la,[$2],[$3])])])]) - ]) - - ;; -esac - -AC_C_BIGENDIAN() - -AC_PROG_LIBTOOL - -AC_ARG_WITH(capslock-for-alt, - [ --with-capslock-for-alt Control whether to use capslock rather than alt/meta to alter behavior of tools in outline/bitmap windows], - [ - if test "$withval" \!= "2" ; then - gww_define_caps_for_alt="2" - elif test "$withval" \!= "no" ; then - gww_define_caps_for_alt="1" - else - gww_define_caps_for_alt="0" - fi - ]) -if test "$gww_define_caps_for_alt" \!= "dontknow" ; then - AC_DEFINE_UNQUOTED(FONTFORGE_CONFIG_CAPSLOCK_FOR_ALT,$gww_define_caps_for_alt) -fi - -AC_ARG_ENABLE(debug-raw-points, - [ --enable-debug-raw-points Add a raw mode to the points window of the debugger], - [ - if test "$enableval" \!= "no" ; then - AC_DEFINE(FONTFORGE_CONFIG_SHOW_RAW_POINTS) - fi - - ]) - -dnl One user seems to have messed up iconv on his system and can't get it -dnl to work. - -gww_uselessiconv="no" -AC_ARG_WITH(iconv, - [ --without-iconv Don't use the system's iconv(3) routines, use fontforge's instead], - [ - if test "$withval" = "no" ; then - gww_uselessiconv="yes" - fi - ]) - -AC_SUBST(FF_EXTRA_FILES) - -AC_SEARCH_LIBS(dlopen, dl) dnl some systems have this in libc (Darwin uses dyld) -AC_SEARCH_LIBS(inet_aton, resolv) dnl some systems have this in libc -if test "$gww_uselessiconv" = "no" ; then - AC_SEARCH_LIBS(libiconv, iconv) dnl linux has iconv in libc, mac,solaris have libiconv in libiconv, and a define to map iconv() to libiconv(), so we can't do the obvious check -fi - -python="yes" -python_prog="python" -AC_ARG_WITH(python, - [ --without-python Don't include a python interpreter], - [ - if test "$withval" = "no" >/dev/null 2>&1 ; then - python="no" - elif test "$withval" != "yes" >/dev/null 2>&1 ; then - python_prog="$withval" - fi - ], : ) -if test "$python" = "yes" ; then - # python thinks it knows where to find its headers and library. - # unfortunately on all my build systems that idea is incorrect. - # So we allow the user to specify the location manually. We - # ask python where it thinks things are, and we check some standard - # places. - py_headers="" - py_lib="" - AC_ARG_WITH(python-headers, - [ --with-python-headers Specify the directory containing the python headers], - [ - if test "$withval" != "no" >/dev/null 2>&1 ; then - py_headers="$withval" - if test "$py_headers" != "" -a \! -e "$py_headers" ; then - py_headers="" - fi - fi - ], : ) - AC_ARG_WITH(python-lib, - [ --with-python-lib Specify the python shared libary], - [ - if test "$withval" != "no" -a "$withval" != "yes" -a "$withval" != "" >/dev/null 2>&1 ; then - py_lib="$withval" - fi - ], : ) - echo -n "Checking for python..." - if $python_prog -c "import distutils.sysconfig ; print '%s' % distutils.sysconfig.get_config_var('VERSION')" ; then - PyVersion=`$python_prog -c "import distutils.sysconfig ; print '%s' % distutils.sysconfig.get_config_var('VERSION')"` - PySubVersion=`echo $PyVersion |sed -e 's/2.//'` - PyName="python$PyVersion" - if test "$PySubVersion" = "" ; then - python="no" - elif test "$PySubVersion" -le 2 ; then - python="no" - echo $ECHO_N "(need at least python 2.3) $ECHO_C" >&6 - else - PyInc=`$python_prog -c "import distutils.sysconfig ; print '%s' % distutils.sysconfig.get_config_var('INCLUDEPY')"` - if test "$py_headers" != "" -a -e "$py_headers" ; then - CPPFLAGS="$CPPFLAGS -I$py_headers" - elif test "$PyInc" != "" -a -e "$PyInc" ; then - CPPFLAGS="$CPPFLAGS -I$PyInc" - elif test -d /usr/include/$PyName ; then - CPPFLAGS="$CPPFLAGS -I/usr/include/$PyName" - elif test -d /usr/include/python ; then - CPPFLAGS="$CPPFLAGS -I/usr/include/python" - else - python="no" - fi - PyLib=`$python_prog -c "import distutils.sysconfig ; print '%s/%s' % (distutils.sysconfig.get_config_var('LIBPL'),distutils.sysconfig.get_config_var('LDLIBRARY'))"` - if test "$py_lib" != "" ; then - LIBS="$LIBS $py_lib" - elif test "$PyLib" != "" -a -e "$PyLib" ; then - LIBS="$LIBS $PyLib" - else - AC_SEARCH_LIBS(Py_Main, $PyName python, : , python="no") - fi - fi - else - python="no" - fi - echo $python -fi - -gww_dopy=no -gww_fflib=yes -AC_ARG_ENABLE(libff, - AC_HELP_STRING(--enable-libff, disable/enable building shared fontforge library), -[ - case $enableval in - no) - gww_fflib=no - ;; - esac -]) -if test "$python" = "no" ; then - AC_DEFINE(_NO_PYTHON) -fi -AC_DEFINE_UNQUOTED(PYTHON_LIB_NAME,"python$PyVersion") - -AC_ARG_ENABLE(pyextension, - AC_HELP_STRING(--enable-pyextension, disable/enable installing libfontforge as a python extension plugin), -[ - case $enableval in - yes) - if test "$gww_fflib" != "yes" -o "$python" = "no" ; then - echo FAILED --enable-pyextension requires that python be available and - echo " " that libfontforge be built "(--enable-libff)" - else - gww_dopy=yes - fi - ;; - esac -]) - -AC_SUBST(FINAL_TARGET) -AC_SUBST(O_EXTENSION) -if test "$gww_fflib" = "no" ; then - FINAL_TARGET=fontforge - O_EXTENSION=o -else - FINAL_TARGET=../libfontforge.la - O_EXTENSION=lo -fi - -ffscript="yes" -AC_ARG_WITH(native-script, - [ --without-native-script Don't include a legacy fontforge scripting interpreter], - [ - if test "$withval" = "no" >/dev/null 2>&1 ; then - ffscript="no" - fi - ], : ) -if test "$ffscript" = "no" ; then - AC_DEFINE(_NO_FFSCRIPT) -fi - -AC_CHECK_FUNC(tzset,:,AC_DEFINE(_NO_TZSET)) - -dnl Some old versions of lib(un)gif don't work for us, they've got the -dnl Function argument in the wrong place. So check the header files. -dnl check for both libgif and libungif, I think they use the same args. - -AC_CHECK_LIB(gif, DGifOpenFileName, [ -echo -n checking for ExtensionBlock.Function in gif_lib.h... -AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ], echo " " yes , [echo " " no - ac_cv_lib_ungif_DGifOpenFileName=no - AC_DEFINE(_NO_LIBUNGIF)]) -] , [ - AC_CHECK_LIB(ungif, DGifOpenFileName, [ - echo -n checking for ExtensionBlock.Function in gif_lib.h... - AC_TRY_COMPILE([#include <gif_lib.h>], [ ExtensionBlock foo; foo.Function=3; ], echo " " yes , [echo " " no - ac_cv_lib_ungif_DGifOpenFileName=no - AC_DEFINE(_NO_LIBUNGIF)]) - ] , AC_DEFINE(_NO_LIBUNGIF))]) - -dnl some people have installed libraries without include files. -dnl bloody useless thing to do, but check for both (don't need to check for -dnl zlib.h because we never use it directly, only used inside libpng) - -AC_CHECK_LIB(z, deflateEnd, : ,AC_DEFINE(_NO_LIBPNG), -lm) -AC_CHECK_LIB(png, png_create_read_struct, : ,[ - AC_CHECK_LIB(png12, png_create_read_struct, AC_DEFINE(_LIBPNG12), AC_DEFINE(_NO_LIBPNG), -lz -lm)], -lz -lm) -AC_CHECK_HEADER(png.h, : , AC_DEFINE(_NO_LIBPNG)) -AC_CHECK_LIB(jpeg, jpeg_CreateDecompress, : ,AC_DEFINE(_NO_LIBJPEG)) -AC_CHECK_HEADER(jpeglib.h, : , AC_DEFINE(_NO_LIBJPEG)) -AC_CHECK_LIB(tiff, TIFFOpen, : , AC_DEFINE(_NO_LIBTIFF), -lm ) -AC_CHECK_HEADER(tiffio.h, : , AC_DEFINE(_NO_LIBTIFF)) -AC_CHECK_LIB(spiro, TaggedSpiroCPsToBezier, : ,AC_DEFINE(_NO_LIBSPIRO)) -AC_CHECK_HEADER(spiroentrypoints.h, : , AC_DEFINE(_NO_LIBSPIRO)) -case "$host" in -*-pc-cygwin*) - AC_CHECK_LIB(xml2, xmlParseFile, : , AC_DEFINE(_NO_LIBXML), [-liconv -lz]) - ;; -*) - AC_CHECK_LIB(xml2, xmlParseFile, : , AC_DEFINE(_NO_LIBXML)) - ;; -esac - -if test "$gww_uselessiconv" = "no" ; then - AC_CHECK_HEADERS([iconv.h]) -fi -AC_CHECK_HEADERS([langinfo.h]) - -dnl linux has isnan in math.h, solaris puts it in ieeeefp.h - -AC_CHECK_HEADERS([ieeefp.h]) - -dnl linux has integer types in stdint.h, solaris, vms in inttypes.h - -AC_CHECK_HEADERS([stdint.h]) - -dnl Do we have libcairo - -AC_DEFINE(_NO_LIBCAIRO) - -dnl Do we have libpango - -AC_DEFINE(_NO_LIBPANGO) - -dnl many systems have freetype on /usr/X11R6/lib which isn't in the standard search path - -AC_DEFINE(_NO_FREETYPE) - -dnl older libc's don't have snprintf - -AC_CHECK_FUNC(snprintf, : , AC_DEFINE(_NO_SNPRINTF)) - -AC_C_LONG_DOUBLE -echo -n checking for long long ... -AC_TRY_COMPILE(,[long long foo=0x400000000000;],[ AC_DEFINE(_HAS_LONGLONG) - echo " " yes] , echo " " no ) - -dnl mac's don't have gettext, people have to use fink to install it -dnl used to check for gettext here, but we require a version with b_t_c -dnl and not all libintls have that. So check for it instead. -dnl sometimes it lives in libc so we can't dlopen it - -gww_has_gettext="yes" -AC_LINK_IFELSE([AC_LANG_CALL([],[bind_textdomain_codeset])], AC_DEFINE(_STATIC_LIBINTL) , [ - AC_CHECK_LIB(intl, bind_textdomain_codeset,: ,gww_has_gettext="no" )]) -if test $gww_has_gettext = yes >/dev/null ; then - AC_CHECK_HEADERS([libintl.h], : , gww_has_gettext="no") -fi - -gww_regular_link="no" -AC_ARG_WITH(regular-link, - [ --with-regular-link Don't try to dlopen libraries], - [ - if test "$withval" != "no" >/dev/null 2>&1 ; then - gww_regular_link="yes" - AC_DEFINE(NODYNAMIC) - gww_rpath="" - fi - ], : ) - -dnl If we can't/don't want to use dynamic libraries then we must link with -dnl the static libraries we've found - -AC_SUBST(STATIC_LIBS) -STATIC_LIBS= -if test "$gww_nodynamic" = "yes" -o "$gww_regular_link" = "yes"; then - if test "$gww_needsstatic" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -static" - fi - if test "$ac_cv_lib_ungif_DGifOpenFileName" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lungif" - fi - if test "$ac_cv_lib_gif_DGifOpenFileName" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lgif" - fi - if test "$ac_cv_lib_png_png_create_read_struct" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lpng -lz" - fi - if test "$ac_cv_lib_png12_png_create_read_struct" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lpng12 -lz" - fi - if test "$ac_cv_lib_tiff_TIFFOpen" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -ltiff" - fi - if test "$ac_cv_lib_jpeg_jpeg_CreateDecompress" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -ljpeg" - fi - if test "$ac_cv_lib_xml2_xmlParseFile" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lxml2" - fi - if test "$ac_cv_lib_intl_bind_textdomain_codeset" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lintl" - fi - if test "$ac_cv_lib_spiro_TaggedSpiroCPsToBezier" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lspiro" - fi - AC_CHECK_LIB(uninameslist, UnicodeNameAnnot, [ - STATIC_LIBS="$STATIC_LIBS -luninameslist" - AC_DEFINE(_STATIC_LIBUNINAMESLIST) ] , AC_DEFINE(_NO_LIBUNINAMESLIST)) -fi - -if test "$gww_needsstaticimages" = "yes" -a "$gww_regular_link" = "no"; then - if test "$gww_needsstatic" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -static" - fi - if test "$ac_cv_lib_gif_DGifOpenFileName" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lgif" - AC_DEFINE(_STATIC_LIBUNGIF) - fi - if test "$ac_cv_lib_ungif_DGifOpenFileName" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lungif" - AC_DEFINE(_STATIC_LIBUNGIF) - fi - if test "$ac_cv_lib_png_png_create_read_struct" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lpng -lz" - AC_DEFINE(_STATIC_LIBPNG) - fi - if test "$ac_cv_lib_png12_png_create_read_struct" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lpng12 -lz" - AC_DEFINE(_STATIC_LIBPNG) - fi - if test "$ac_cv_lib_tiff_TIFFOpen" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -ltiff" - AC_DEFINE(_STATIC_LIBTIFF) - fi - if test "$ac_cv_lib_jpeg_jpeg_CreateDecompress" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -ljpeg" - AC_DEFINE(_STATIC_LIBJPEG) - fi - if test "$ac_cv_lib_spiro_TaggedSpiroCPsToBezier" = "yes"; then - STATIC_LIBS="$STATIC_LIBS -lspiro" - AC_DEFINE(_STATIC_LIBSPIRO) - fi -fi -if test "$gww_nodynamic" != "yes" -a "$gww_regular_link" != "yes" -a \ - "$gww_needsstaticimages" != "yes" ; then -case "$host" in -*-pc-cygwin*) - if test "$ac_cv_lib_ungif_DGifOpenFileName" = "yes"; then - AC_CHECK_LIB_LA(ungif, :, [ STATIC_LIBS="$STATIC_LIBS -lungif" ; AC_DEFINE(_STATIC_LIBUNGIF)]) - fi - if test "$ac_cv_lib_png_png_create_read_struct" = "yes"; then - AC_CHECK_LIB_LA(png, :, [ STATIC_LIBS="$STATIC_LIBS -lpng -lz" ; AC_DEFINE(_STATIC_LIBPNG)]) - fi - if test "$ac_cv_lib_png12_png_create_read_struct" = "yes"; then - AC_CHECK_LIB_LA(png12, :, [ STATIC_LIBS="$STATIC_LIBS -lpng12 -lz" ; AC_DEFINE(_STATIC_LIBPNG12)]) - fi - if test "$ac_cv_lib_tiff_TIFFOpen" = "yes"; then - AC_CHECK_LIB_LA(tiff, :, [ STATIC_LIBS="$STATIC_LIBS -ltiff" ; AC_DEFINE(_STATIC_LIBTIFF)]) - fi - if test "$ac_cv_lib_spiro_TaggedSpiroCPsToBezier" = "yes"; then - AC_CHECK_LIB_LA(spiro, :, [ STATIC_LIBS="$STATIC_LIBS -lspiro" ; AC_DEFINE(_STATIC_LIBSPIRO)]) - fi - if test "$ac_cv_lib_jpeg_jpeg_CreateDecompress" = "yes"; then - AC_CHECK_LIB_LA(jpeg, :, [ STATIC_LIBS="$STATIC_LIBS -ljpeg" ; AC_DEFINE(_STATIC_LIBJPEG)]) - fi - if test "$ac_cv_lib_xml2_xmlParseFile" = "yes"; then - AC_CHECK_LIB_LA(xml2, :, [ STATIC_LIBS="$STATIC_LIBS -lxml2" ; AC_DEFINE(_STATIC_LIBXML2)]) - fi - ;; -esac -fi - -AC_ARG_ENABLE(type3, - [ --enable-type3 Control whether we build with support for type3/svg fonts containing multilayered drawing with strokes, fills, images, etc.], - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_TYPE3) - fi - ], : ) -AC_ARG_ENABLE(multilayer, - [ --enable-multilayer Control whether we build with support for type3/svg fonts containing multilayered drawing with strokes, fills, images, etc. (deprecated. Use --enable-type3 instead)], - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_TYPE3) - fi - ], : ) - -AC_ARG_ENABLE(devicetables, - AS_HELP_STRING([--enable-devicetables], [Control whether we build with support for device tables which allow fine control of kerning (etc.) at small point sizes]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_DEVICETABLES) - fi - ], AC_DEFINE(FONTFORGE_CONFIG_DEVICETABLES) ) - -AC_ARG_ENABLE(double, - AS_HELP_STRING([--enable-double], [Control whether fontforge uses doubles internally (normally it uses floats)]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_USE_DOUBLE) - fi - ], : ) -AC_ARG_ENABLE(longdouble, - AS_HELP_STRING([--enable-longdouble], [Control whether fontforge uses long doubles internally (normally it uses floats)]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_USE_LONGDOUBLE) - fi - ], : ) -AC_ARG_ENABLE(pasteafter, - AS_HELP_STRING([--enable-pasteafter], [Control whether fontforge has a paste after command (Useful for making words?)]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_PASTEAFTER) - fi - ], : ) -AC_ARG_ENABLE(gb12345, - AS_HELP_STRING([--enable-gb12345], [Control whether fontforge understands the gb12345 encoding]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_GB12345) - fi - ], : ) -AC_ARG_ENABLE(tilepath, - AS_HELP_STRING([--enable-tilepath], [Control whether fontforge has a tile path command (a variant of expand stroke)]), - [ - if test "$enableval" != "no" >/dev/null 2>&1 ; then - AC_DEFINE(FONTFORGE_CONFIG_TILEPATH) - fi - ], : ) - -test -d libs || mkdir libs - -AC_SUBST(WFLAGS) -if test "$GCC" = yes; then - WFLAGS="-Wmissing-prototypes -Wunused -Wimplicit -Wreturn-type -Wparentheses -Wformat -Wchar-subscripts" -else - WFLAGS="" -fi - -dnl LIBS="$LIBS $gww_rpath" -dnl The above causes problems when creating shared libraries. The rpath option -dnl is overloaded. When creating an executable it means directories to search -dnl for shared libraries (at load time). When creating a shared library it means -dnl the ultimate location of the library. There doesn't seem to be a way of -dnl saying where to look for other libraries linked into this one. Which is -dnl a pity. - - -AC_SUBST(VERSION) -VERSION=`cat $ac_confdir/VERSION` - -if test "x$prefix" != xNONE; then - real_prefix="$prefix" -else - real_prefix="$ac_default_prefix" -fi - -PY= -if test "$gww_dopy" = "yes" >/dev/null 2>&1 ; then - AC_SUBST(PYINCLUDE) - AC_SUBST(PYDEFINES) - AC_SUBST(PYLIBS) - PYINCLUDE= - PYDEFINES="('PREFIX','\"$real_prefix\"')" - if test "$gww_ismac" = "yes" >/dev/null 2>&1 ; then - PYDEFINES="$PYDEFINES, ('__Mac','1')" - elif test "$gww_iscygwin" = "yes" >/dev/null 2>&1 ; then - PYDEFINES="$PYDEFINES, ('__CygWin','1')" - fi - if test "$ac_cv_lib_dl_dlopen" = "yes" >/dev/null 2>&1 ; then - PYLIBS="'dl'" - else - PYLIBS="" - fi - PY=pyhook/setup.py -fi - -GTFF= -if test -e gtkui/Makefile.in -a \( -e /usr/include/gtk-2.0/gtk/gtk.h -o -e /sw/include/gtk-2.0/gtk/gtk.h \) ; then - GTFF=gtkui/Makefile -fi - - -cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in -cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in -cp $ac_confdir/gutils/Makefile.dynamic.in $ac_confdir/gutils/Makefile.in -cp $ac_confdir/gdraw/Makefile.dynamic.in $ac_confdir/gdraw/Makefile.in -cp $ac_confdir/fontforge/Makefile.dynamic.in $ac_confdir/fontforge/Makefile.in -UMAP= -if test -e umap >/dev/null 2>&1 ; then - cp $ac_confdir/umap/Makefile.dynamic.in $ac_confdir/umap/Makefile.in - UMAP=umap/Makefile -fi -AC_OUTPUT( Makefile Unicode/Makefile gutils/Makefile gdraw/Makefile fontforge/Makefile plugins/Makefile systemspecific fontforge.pc $PY $GTFF $MACKEYS $UMAP ) - -echo Configuration defines: $DEFS -echo CFLAGS: $CFLAGS -if test "$STATIC_LIBS" != ""; then - echo Non DlOpenable or Static Libraries: $STATIC_LIBS -fi - -if ! echo $PATH | tr : \\n | grep -x $real_prefix/bin >/dev/null ; then - echo " *******************************************************************" - echo " * You do not have $real_prefix/bin in your PATH environment variable *" - echo " *******************************************************************" - echo -fi - -if test "$no_x" = "yes"; then - echo " *******************************************************************" - echo " * This version of fontforge will only run scripts. No X libraries *" - echo " * (or X include files or some such) were found so there is NO user*" - echo " * interface!!!!! If you want a UI try installing X11 on your *" - echo " * system. *" - echo " * Caveat: You will probably need to install two packages, the *" - echo " * base X11 package and the developer SDK package *" - echo " *******************************************************************" - case "$host" in - *-apple-darwin*) - echo "" - echo "X11 is optional software on the mac, it does not install automatically" - echo " but X11User it is on CD 3 of the OS/X install disks, and X11SDK is on" - echo " the Xcode CD. You must install both packages for fontforge to build" - echo " with a user interface" - ;; - esac - echo -fi -if test "$gww_has_gettext" = "no"; then - echo " *******************************************************************" - echo " * Your system does not have the gettext package installed. This *" - echo " * means that fontforge cannot localize its user interface and all *" - echo " * messages will be in English. You might want to install libintl. *" - if test "$gww_ismac" = "yes"; then - echo " * Unfortunately Mac OS/X does not ship with gettext. You can find *" - echo " * it as part of the standard fink download at: *" - echo " * http://fink.sourceforge.net/ *" - echo " * of from macports: *" - echo " * http://www.macports.org/ *" - fi - echo " *******************************************************************" -fi -if test "$gww_has_pkg_config" = "no"; then - echo "*** Your system does not have pkg-config installed, so I can't figure out" - echo "*** if you have pango on your machine. If you do, set --with-pango-headers" - echo "*** and --with-pango-lib to specify the options needed to build with pango" - if test "$gww_ismac" = "yes"; then - echo " *** Unfortunately Mac OS/X does not ship with pango. You can find" - echo " *** it as part of the standard fink download at:" - echo " *** http://fink.sourceforge.net/" - echo " *** of from macports:" - echo " *** http://www.macports.org/" - fi -elif test "$gww_haspango" = "no"; then - if test "$gww_ismac" = "yes"; then - echo " *** Unfortunately Mac OS/X does not ship with pango. You can find" - echo " *** it as part of the standard fink download at:" - echo " *** http://fink.sourceforge.net/" - echo " *** of from macports:" - echo " *** http://www.macports.org/" - fi -fi - -dnl EOF diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/Makefile.in deleted file mode 100644 index 03eb261b484..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/fontforge/Makefile.in +++ /dev/null @@ -1,71 +0,0 @@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -sharedir = @prefix@/share/fontforge -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -VPATH = @srcdir@ -bindir = @bindir@ -libdir = @libdir@ -plugindir = $(sharedir)/plugins - -LIBTOOL = @LIBTOOL@ -CC = @CC@ -O = @O_EXTENSION@ - -STATIC_LIBS = @STATIC_LIBS@ - -FF_VERSION=1 -FF_REVISION=0 -FF_AGE=0 - -fontforge_LIBOBJECTS = autohint.$O \ - clipnoui.$O cvundoes.$O dumppfa.$O \ - encoding.$O \ - featurefile.$O fontviewbase.$O fvcomposit.$O fvfonts.$O \ - lookups.$O macbinary.$O \ - macenc.$O mathconstants.$O mm.$O namelist.$O noprefs.$O nouiutil.$O \ - parsepfa.$O \ - parsettfatt.$O parsettf.$O parsettfvar.$O \ - psread.$O pua.$O python.$O \ - sfd1.$O splinechar.$O splinefill.$O \ - splinefont.$O splineorder2.$O splineoverlap.$O splinerefigure.$O \ - splinesave.$O splinesaveafm.$O splinestroke.$O splineutil2.$O splineutil.$O \ - start.$O stemdb.$O tottfaat.$O tottfgpos.$O tottf.$O \ - ttfspecial.$O - -_CFLAGS = -I$(top_builddir)/inc -I$(top_srcdir)/inc -I$(srcdir) -I. @WFLAGS@ $(XCFLAGS)\ - @DEFS@ '-DSHAREDIR="$(sharedir)"' -DLIBDIR='"$(libdir)"' \ - @CPPFLAGS@ '-DPREFIX="@prefix@"' -CFLAGS = @CFLAGS@ @CPPFLAGS@ $(_CFLAGS) - -LDFLAGS = @LDFLAGS@ -LIBLIBS = -rpath $(libdir) ../libgutils.la ../libgunicode.la @LIBS@ $(STATIC_LIBS) -lm - -../libfontforge.la: $(fontforge_LIBOBJECTS) libstamp.pre - sed -e '1,$$ s/REPLACE_ME_WITH_MAJOR_VERSION/$(FF_VERSION)/' -e '1,$$ s/REPLACE_ME_WITH_MINOR_VERSION/$(FF_REVISION)/' < $(srcdir)/libstamp.pre > libstamp.c - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c libstamp.c - $(LIBTOOL) --mode=link $(CC) -no-undefined $(CFLAGS) @LDFLAGS@ \ - -o ../libfontforge.la $(fontforge_LIBOBJECTS) libstamp.lo \ - -rpath $(libdir) -version-info $(FF_VERSION):$(FF_REVISION):$(FF_AGE) - -%.o: %.c - -%.o: %.c $(srcdir)/splinefont.h $(srcdir)/views.h $(srcdir)/stemdb.h $(srcdir)/ttf.h $(srcdir)/unicoderange.h $(srcdir)/psfont.h $(srcdir)/edgelist.h $(srcdir)/edgelist2.h $(srcdir)/uiinterface.h $(srcdir)/fontforgevw.h - $(CC) $(CFLAGS) -c $< - -%.lo: %.c - -%.lo: %.c $(srcdir)/splinefont.h $(srcdir)/views.h $(srcdir)/stemdb.h $(srcdir)/ttf.h $(srcdir)/unicoderange.h $(srcdir)/psfont.h $(srcdir)/edgelist.h $(srcdir)/edgelist2.h $(srcdir)/uiinterface.h $(srcdir)/fontforgevw.h - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< - -clean: - -rm -f ../libfontforge.la libstamp.c - -rm -f *.o - -rm -f *.lo - -rm -rf .libs - -distclean cleaner: clean - -rm -f Makefile - diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gdraw/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gdraw/Makefile.in deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gdraw/Makefile.in +++ /dev/null diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gutils/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gutils/Makefile.in deleted file mode 100644 index f03229b8806..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/gutils/Makefile.in +++ /dev/null @@ -1,45 +0,0 @@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -top_builddir = .. -VPATH = @srcdir@ -bindir = @bindir@ -libdir = @libdir@ - -GU_VERSION=1 -GU_REVISION=3 -GU_AGE=0 - -LIBTOOL = @LIBTOOL@ -CC = @CC@ - -X_CFLAGS = @X_CFLAGS@ -X_LIBS = @X_LIBS@ -X_11LIB = @X_11LIB@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -STATIC_LIBS = @STATIC_LIBS@ - -libgutils_OBJECTS = fsys.lo gwwintl.lo - -Incs = -I$(top_builddir)/inc -I$(top_srcdir)/inc -I/usr/pkg/include -I/usr/pkg/include/giflib -CFLAGS = @CFLAGS@ @CPPFLAGS@ $(Incs) @WFLAGS@ $(X_CFLAGS) -DNOTHREADS @DEFS@ -DLIBDIR='"$(libdir)"' - -both: ../libgutils.la - -../libgutils.la: $(libgutils_OBJECTS) - $(LIBTOOL) --mode=link $(CC) -no-undefined $(CFLAGS) @LDFLAGS@ -o ../libgutils.la $(libgutils_OBJECTS) \ - ../libgunicode.la @LIBS@ \ - $(STATIC_LIBS) \ - -rpath $(libdir) -version-info $(GU_VERSION):$(GU_REVISION):$(GU_AGE) - -%.lo: %.c - $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) -c $< - -clean: - -rm -f *.lo *.o .libs/* ../libgutils.la - -distclean cleaner: - -rm -f *.lo *.o ../libgutils.la Makefile .libs/* diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/inc/config.h.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/inc/config.h.in deleted file mode 100644 index a27baff5fda..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/inc/config.h.in +++ /dev/null @@ -1,67 +0,0 @@ -#ifndef _FF_CONFIG_H -# define _FF_CONFIG_H 1 -#define LUA_FF_LIB 1 -#undef HAVE_DLFCN_H -#define _NO_PYTHON 1 -#undef HAVE_ICONV_H -#undef HAVE_STDINT_H -#undef HAVE_LANGINFO_H -#undef HAVE_PTHREAD_H -/* #undef HAVE_LIBINTL_H */ -#undef HAVE_IEEEFP_H -#undef FREETYPE_HAS_DEBUGGER -/* #undef HAVE_LONG_DOUBLE */ /* don't do this */ -/* #undef _HAS_LONGLONG */ /* don't do this */ -#undef _STATIC_LIBINTL -#undef _STATIC_LIBUNGIF -#undef _STATIC_LIBPNG -#undef _STATIC_LIBPNG12 -#undef _STATIC_LIBTIFF -#undef _STATIC_LIBJPEG -#undef _STATIC_LIBSPIRO -#undef _STATIC_LIBXML2 -#undef _STATIC_LIBFREETYPE -#undef _STATIC_LIBUNINAMESLIST -#undef _STATIC_LIBCAIRO -#define _NO_LIBUNINAMESLIST 1 -#undef SHAREDIR -#undef LIBDIR -#undef PREFIX -#undef _CursorsMustBe16x16 -#undef _Keyboard -#undef __Mac -#undef _BrokenBitmapImages -#undef _ModKeysAutoRepeat -#undef __CygWin -#define _NO_XINPUT 1 -/* #undef FONTFORGE_CONFIG_CAPSLOCK_FOR_ALT */ -/* #undef FONTFORGE_CONFIG_SHOW_RAW_POINTS */ -/* #undef FONTFORGE_CONFIG_TYPE3 */ -/* #undef FONTFORGE_CONFIG_DEVICETABLES */ -/* #undef FONTFORGE_CONFIG_USE_DOUBLE */ -/* #undef FONTFORGE_CONFIG_USE_LONGDOUBLE */ -/* #undef FONTFORGE_CONFIG_PASTEAFTER */ -/* #undef FONTFORGE_CONFIG_GB12345 */ -/* #undef FONTFORGE_CONFIG_TILEPATH */ -#define _NO_FFSCRIPT 1 -#undef _NO_TZSET -#define _NO_FREETYPE 1 -#define _NO_LIBXML 1 -#define _NO_LIBUNGIF 1 -#define _NO_LIBPNG 1 -#undef _LIBPNG12 -#define _NO_LIBJPEG 1 -#define _NO_LIBTIFF 1 -#define _NO_LIBSPIRO 1 -#define NODYNAMIC 1 -#define NOPLUGIN 1 -#undef FREETYPE_HAS_DEBUGGER -#undef _NO_SNPRINTF -#define _NO_XKB 1 -#define X_DISPLAY_MISSING 1 -#undef PYTHON_LIB_NAME -#define _NO_LIBCAIRO 1 -#define _NO_LIBPANGO 1 -#undef WORDS_BIGENDIAN - -#endif diff --git a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/plugins/Makefile.in b/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/plugins/Makefile.in deleted file mode 100644 index e69de29bb2d..00000000000 --- a/Build/source/texk/web2c/luatexdir/luafontloader/fontforge/plugins/Makefile.in +++ /dev/null |