From 0b7b2c69ec83497d9accab064da0f4ad07662d42 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 19 Mar 2009 13:59:30 +0000 Subject: prepare for new build system git-svn-id: svn://tug.org/texlive/trunk@12429 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/gsftopk/Makefile.in.orig | 64 +++++++++++++++++++++++++++++ Build/source/texk/gsftopk/ac/withenable.ac | 3 ++ Build/source/texk/gsftopk/configure.in.orig | 28 +++++++++++++ 3 files changed, 95 insertions(+) create mode 100644 Build/source/texk/gsftopk/Makefile.in.orig create mode 100644 Build/source/texk/gsftopk/ac/withenable.ac create mode 100644 Build/source/texk/gsftopk/configure.in.orig (limited to 'Build/source/texk/gsftopk') diff --git a/Build/source/texk/gsftopk/Makefile.in.orig b/Build/source/texk/gsftopk/Makefile.in.orig new file mode 100644 index 00000000000..ca7916ed1dd --- /dev/null +++ b/Build/source/texk/gsftopk/Makefile.in.orig @@ -0,0 +1,64 @@ +# @configure_input@ +# Makefile for gsftopkk --kb@cs.umb.edu. Modified Yves.Arrouye@imag.fr +version = 1.19 + +program = gsftopk +default all: $(program) gsftopk.1 + +kpse_include ../make/paths.mk +kpse_include ../make/common.mk +kpse_include ../make/programs.mk + +gsftopkpsheaderdir = $(psheaderdir)/gsftopk + +# (Optional) The fully-qualified path of Ghostscript. +# GSPATH=-DGS=\"/usr/local/gnu/bin/gs\" + +# See INSTALL for compilation options. +DEFS = @DEFS@ $(XDEFS) $(GSPATH) -DKPATHSEA + +objects = gsftopk.o + + +$(program): $(kpathsea) $(objects) + $(kpathsea_link) $(objects) $(LOADLIBES) + +kpse_include ../make/tkpathsea.mk + +gsftopk.1: gsftopk1.sed sedscript + sed -f sedscript <$(srcdir)/gsftopk1.sed >$@ + +sedscript: mksedscript Makefile + $(SHELL) $(srcdir)/mksedscript $(DEFS) >$@ + +install: install-exec install-data +uninstall: uninstall-exec uninstall-data + +install-exec: $(program) + $(SHELL) $(top_srcdir)/../mkinstalldirs $(bindir) + $(INSTALL_LIBTOOL_PROG) $(program) $(bindir) +uninstall-exec: + rm -f $(bindir)/$(program) + +install-data: gsftopk.1 + $(SHELL) $(top_srcdir)/../mkinstalldirs $(man1dir) $(gsftopkpsheaderdir) + $(INSTALL_DATA) gsftopk.1 $(man1dir)/gsftopk.$(manext) + $(INSTALL_DATA) $(srcdir)/render.ps $(gsftopkpsheaderdir)/render.ps +uninstall-data: + rm -f $(man1dir)/gsftopk.$(manext) + rm -f $(gsftopkpsheaderdir)/render.ps + +kpse_include ../make/clean.mk + +clean:: + rm -f sedscript + +distclean:: + rm -f gsftopk.1 + +kpse_include ../make/config.mk + +info dvi check: + +kpse_include ../make/rdepend.mk +kpse_include depend.mk diff --git a/Build/source/texk/gsftopk/ac/withenable.ac b/Build/source/texk/gsftopk/ac/withenable.ac new file mode 100644 index 00000000000..94468941099 --- /dev/null +++ b/Build/source/texk/gsftopk/ac/withenable.ac @@ -0,0 +1,3 @@ +## texk/gsftopk/ac/withenable.ac +## configure options and TL libraries required for gsftopk +KPSE_WITH_PROG([gsftopk], [kpathsea]) diff --git a/Build/source/texk/gsftopk/configure.in.orig b/Build/source/texk/gsftopk/configure.in.orig new file mode 100644 index 00000000000..e81367859fa --- /dev/null +++ b/Build/source/texk/gsftopk/configure.in.orig @@ -0,0 +1,28 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT(gsftopk.c) + +AC_CONFIG_HEADERS([c-auto.h:c-auto.in], [date >stamp-auto]) + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_MAKE_SET +AC_PROG_LN_S + +sinclude(../kpathsea/withenable.ac) + +dnl Checks for header files. +AC_HEADER_SYS_WAIT +AC_HEADER_TIME +AC_CHECK_HEADERS([poll.h sys/time.h]) + +dnl Checks for library functions. +AC_FUNC_VFORK +AC_TYPE_SIGNAL +AC_CHECK_FUNCS([poll sigaction]) + +if test "$ac_cv_header_poll_h" = no || test "$ac_cv_func_poll" = no; then + AC_CHECK_HEADERS([sys/select.h select.h]) +fi + +KPSE_CONFIG_FILES([Makefile]) +AC_OUTPUT -- cgit v1.2.3