summaryrefslogtreecommitdiff
path: root/Build/source/utils/psutils
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-03 12:13:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-12-03 12:13:36 +0000
commit6c95206204a22fa0f39833b36c446fae569c2eb4 (patch)
tree4d3691c9ba9b979b7d04f022d92a20c3507f2791 /Build/source/utils/psutils
parentef888e5b75caca5afa1021d6eb57437019ea8481 (diff)
psutils: Use getopt() from kpathsea and move from utils/ to texk/
git-svn-id: svn://tug.org/texlive/trunk@32305 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/psutils')
-rw-r--r--Build/source/utils/psutils/ChangeLog140
-rw-r--r--Build/source/utils/psutils/Makefile.am86
-rw-r--r--Build/source/utils/psutils/Makefile.in1458
-rw-r--r--Build/source/utils/psutils/ac/withenable.ac7
-rw-r--r--Build/source/utils/psutils/aclocal.m41189
-rw-r--r--Build/source/utils/psutils/config.h.in87
-rwxr-xr-xBuild/source/utils/psutils/configure6839
-rw-r--r--Build/source/utils/psutils/configure.ac40
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/ChangeLog63
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/TL-Changes6
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/patch-01-backport12
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/patch-10-binary-mode164
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN3222
-rw-r--r--Build/source/utils/psutils/psutils-1.21-PATCHES/patch-12-getopt44
-rw-r--r--Build/source/utils/psutils/psutils-1.21/LICENSE27
-rw-r--r--Build/source/utils/psutils/psutils-1.21/Makefile.am42
-rw-r--r--Build/source/utils/psutils/psutils-1.21/README89
-rwxr-xr-xBuild/source/utils/psutils/psutils-1.21/bootstrap3107
-rw-r--r--Build/source/utils/psutils/psutils-1.21/bootstrap.conf104
-rw-r--r--Build/source/utils/psutils/psutils-1.21/configure.ac80
-rw-r--r--Build/source/utils/psutils/psutils-1.21/dummy.c30
-rw-r--r--Build/source/utils/psutils/psutils-1.21/epsffit.151
-rw-r--r--Build/source/utils/psutils/psutils-1.21/epsffit.c174
-rwxr-xr-xBuild/source/utils/psutils/psutils-1.21/extractres117
-rw-r--r--Build/source/utils/psutils/psutils-1.21/extractres.147
-rw-r--r--Build/source/utils/psutils/psutils-1.21/includeres.139
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psbook.142
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psbook.c106
-rwxr-xr-xBuild/source/utils/psutils/psutils-1.21/psjoin220
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psjoin.118
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psnup.1155
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psnup.c307
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psresize.178
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psresize.c162
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psselect.184
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psselect.c240
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psspec.c246
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psspec.h35
-rw-r--r--Build/source/utils/psutils/psutils-1.21/pstops.1166
-rw-r--r--Build/source/utils/psutils/psutils-1.21/pstops.c212
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psutil.c412
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psutil.h82
-rw-r--r--Build/source/utils/psutils/psutils-1.21/psutils.113
-rwxr-xr-xBuild/source/utils/psutils/psutils.test52
-rw-r--r--Build/source/utils/psutils/tests/play.ps305
-rw-r--r--Build/source/utils/psutils/tests/playbook.21
-rw-r--r--Build/source/utils/psutils/tests/playnup.21
-rw-r--r--Build/source/utils/psutils/tests/playps.21
-rw-r--r--Build/source/utils/psutils/tests/playres.ps422
-rw-r--r--Build/source/utils/psutils/tests/playsel.21
-rw-r--r--Build/source/utils/psutils/tests/plot.eps311
-rw-r--r--Build/source/utils/psutils/tests/ploth.eps318
-rw-r--r--Build/source/utils/psutils/tests/plotm.eps319
-rw-r--r--Build/source/utils/psutils/tests/plotv.eps318
-rw-r--r--Build/source/utils/psutils/version.ac11
55 files changed, 0 insertions, 18702 deletions
diff --git a/Build/source/utils/psutils/ChangeLog b/Build/source/utils/psutils/ChangeLog
deleted file mode 100644
index aa61498cd2b..00000000000
--- a/Build/source/utils/psutils/ChangeLog
+++ /dev/null
@@ -1,140 +0,0 @@
-2013-10-25 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Import psutils-1.21.
- * version.ac: New file.
- * Makefile.am, ac/withenable.ac, configure.ac: Adapt.
-
- * psutils.test: Add paper size (-pa4) for psnup and pstops.
- * tests/playnup.2, tests/playps.2, tests/playres.ps:
- Test results for Version 1.21.
-
-2013-07-05 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am: Moved Makefile fragments to ../../am/.
-
-2013-02-08 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (scriptsdir): Change texmf => texmf-dist.
-
-2013-01-30 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am, configure.ac: Allow subdir-objects.
-
-2012-12-17 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * configure.ac: Use KPSE_BASIC to enable silent rules.
- * Makefile.am: Enable silent rules.
-
-2012-08-31 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am: Install getafm and showchar as linked scripts.
-
-2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
-
-2011-11-08 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * psutils.test: Do not depend on floating point rounding.
- * Makefile.am (EXTRA_DIST): Adapt.
-
-2011-11-04 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * psutils.test: Perform all sub-tests and report failed ones.
-
-2011-09-25 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * psutils.test: New shell script for tests.
- * tests/play.ps tests/play{book,nup,ps,res,sel}.2
- tests/plot{,h,m,v}.eps: Test input and expected output.
- * Makefile.am: Add the test and its data.
-
-2011-04-20 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am: Handle sh scripts (without .sh) as bin_SCRIPTS.
-
-2011-03-31 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am: Use the ../../texk/am/script_links.am fragment.
-
-2011-01-09 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am, configure.ac: Install linked perl scripts.
-
-2010-12-14 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Remove the non-free files psutils-1.17/md{68,71}_0.ps.
- * Makefile.am (perl_scripts): Remove fixmacps.
- (nodist_man1_MANS): Derive from bin_PROGRAMS and perl_scripts.
-
- * Makefile.am, configure.ac: Ignore shell scripts for WIN32.
-
-2010-12-10 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Import original psutils-1.17, patches in psutils-1.17-PATCHES.
- * Makefile.am, configure.ac, ...: Adapted.
-
-2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * config.h: Do not #include <win32lib.h> for MinGW32.
-
-2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Avoid maximal compiler warnings.
- * pserror.[ch] (message): Constify string arg.
- * psspec.c (prologue): Constify global strings.
- (pstops): Drop inner local var 'buffer', not to shadow previous.
- Constify local var 'pro'.
- * psutil.[ch] (struct papersize): constify string member 'name'.
- (findpaper, writepageheader, writestring): Constify string args.
-
-2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * Makefile.am (AM_CFLAGS), configure.ac: enable compiler warnings.
- * epsffit.c (main): avoid uninitialized warnings.
- * psnup.c (main): avoid uninitialized warnings.
- * pstops.c (usage): declare as static.
-
-2009-05-06 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Adapt to TL2009 build system.
-
-2009-04-20 Karl Berry <karl@tug.org>
-
- * Makefile.am (EXTRA_DIST): avoid trailing \, to appease automake
- complaints and bugs.
-
-2009-04-18 Karl Berry <karl@tug.org>
-
- * Makefile.am: also make and install all the scripts and man pages.
-
-2008-02-29 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * configure.in: update (AC_SET_MAKE -> AC_PROG_MAKE_SET).
-
-2008-02-01 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Convert from autoconf-2.13 to autoconf-2.59+:
- * Makefile.in: Add @configure_input@ line.
- * configure: Regenerated (autoconf).
-
- * epsffit.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * psresize.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * psselect.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * psbook.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * psnup.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * pstops.c(main): Changed return type void into int, changed
- exit at end into return.
-
- * pserror.c(message): Explicit type int for column.
-
diff --git a/Build/source/utils/psutils/Makefile.am b/Build/source/utils/psutils/Makefile.am
deleted file mode 100644
index 47801d0bd0e..00000000000
--- a/Build/source/utils/psutils/Makefile.am
+++ /dev/null
@@ -1,86 +0,0 @@
-## Makefile.am for the TeX Live subdirectory utils/psutils/
-##
-## Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
-## You may freely use, modify and/or distribute this file.
-##
-## We want to re-distribute the whole original psutils source tree.
-EXTRA_DIST = $(PSUTILS_TREE)
-## Patches applied to the original source tree
-EXTRA_DIST += $(PSUTILS_TREE)-PATCHES
-
-# in case of an SVN repository
-dist-hook:
- rm -rf `find $(distdir) -name .svn -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'`
-
-AM_CPPFLAGS = $(PAPER_INCLUDES) -D_Noreturn= -D_GL_ATTRIBUTE_CONST=
-AM_CFLAGS = $(WARNING_CFLAGS)
-
-noinst_LIBRARIES = libpsutils.a
-
-libpsutils_a_SOURCES = \
- @PSUTILS_TREE@/psspec.c \
- @PSUTILS_TREE@/psspec.h \
- @PSUTILS_TREE@/psutil.c \
- @PSUTILS_TREE@/psutil.h
-
-$(libpsutils_a_OBJECTS): $(PAPER_DEPEND)
-
-bin_PROGRAMS = epsffit psbook psnup psresize psselect pstops
-
-epsffit_SOURCES = @PSUTILS_TREE@/epsffit.c
-
-psbook_SOURCES = @PSUTILS_TREE@/psbook.c
-
-psnup_SOURCES = @PSUTILS_TREE@/psnup.c
-
-psresize_SOURCES = @PSUTILS_TREE@/psresize.c
-
-psselect_SOURCES = @PSUTILS_TREE@/psselect.c
-
-pstops_SOURCES = @PSUTILS_TREE@/pstops.c
-
-LDADD = libpsutils.a $(PAPER_LIBS)
-
-perl_scripts = \
- extractres \
- includeres \
- psjoin
-
-scriptsdir = texmf-dist/scripts/psutils
-nodist_bin_SCRIPTS =
-
-include $(srcdir)/../../am/script_links.am
-
-texmfdir = $(datarootdir)/$(scriptsdir)
-texmf_SCRIPTS = $(perl_scripts:=.pl)
-
-install-data-hook: install-perl-links
-
-uninstall-hook: uninstall-links
-
-man1_MANS = \
- @PSUTILS_TREE@/epsffit.1 \
- @PSUTILS_TREE@/extractres.1 \
- @PSUTILS_TREE@/includeres.1 \
- @PSUTILS_TREE@/psbook.1 \
- @PSUTILS_TREE@/psjoin.1 \
- @PSUTILS_TREE@/psnup.1 \
- @PSUTILS_TREE@/psresize.1 \
- @PSUTILS_TREE@/psselect.1 \
- @PSUTILS_TREE@/pstops.1 \
- @PSUTILS_TREE@/psutils.1
-
-## Rebuild libpaper
-@PAPER_RULE@
-
-## Tests
-##
-TESTS = psutils.test
-EXTRA_DIST += $(TESTS)
-
-## psutils.test
-EXTRA_DIST += tests/play.ps tests/playbook.2 tests/playnup.2 tests/playps.2 \
- tests/playres.ps tests/playsel.2 \
- tests/plot.eps tests/ploth.eps tests/plotm.eps tests/plotv.eps
-DISTCLEANFILES = play*.2 play*.ps plot*.eps
-
diff --git a/Build/source/utils/psutils/Makefile.in b/Build/source/utils/psutils/Makefile.in
deleted file mode 100644
index 59baeb1aff9..00000000000
--- a/Build/source/utils/psutils/Makefile.in
+++ /dev/null
@@ -1,1458 +0,0 @@
-# Makefile.in generated by automake 1.14 from Makefile.am.
-# @configure_input@
-
-# Copyright (C) 1994-2013 Free Software Foundation, Inc.
-
-# This Makefile.in is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-@SET_MAKE@
-
-
-
-VPATH = @srcdir@
-am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
-am__make_running_with_option = \
- case $${target_option-} in \
- ?) ;; \
- *) echo "am__make_running_with_option: internal error: invalid" \
- "target option '$${target_option-}' specified" >&2; \
- exit 1;; \
- esac; \
- has_opt=no; \
- sane_makeflags=$$MAKEFLAGS; \
- if $(am__is_gnu_make); then \
- sane_makeflags=$$MFLAGS; \
- else \
- case $$MAKEFLAGS in \
- *\\[\ \ ]*) \
- bs=\\; \
- sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
- | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
- esac; \
- fi; \
- skip_next=no; \
- strip_trailopt () \
- { \
- flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
- }; \
- for flg in $$sane_makeflags; do \
- test $$skip_next = yes && { skip_next=no; continue; }; \
- case $$flg in \
- *=*|--*) continue;; \
- -*I) strip_trailopt 'I'; skip_next=yes;; \
- -*I?*) strip_trailopt 'I';; \
- -*O) strip_trailopt 'O'; skip_next=yes;; \
- -*O?*) strip_trailopt 'O';; \
- -*l) strip_trailopt 'l'; skip_next=yes;; \
- -*l?*) strip_trailopt 'l';; \
- -[dEDm]) skip_next=yes;; \
- -[JT]) skip_next=yes;; \
- esac; \
- case $$flg in \
- *$$target_option*) has_opt=yes; break;; \
- esac; \
- done; \
- test $$has_opt = yes
-am__make_dryrun = (target_option=n; $(am__make_running_with_option))
-am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
-pkgdatadir = $(datadir)/@PACKAGE@
-pkgincludedir = $(includedir)/@PACKAGE@
-pkglibdir = $(libdir)/@PACKAGE@
-pkglibexecdir = $(libexecdir)/@PACKAGE@
-am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
-INSTALL_HEADER = $(INSTALL_DATA)
-transform = $(program_transform_name)
-NORMAL_INSTALL = :
-PRE_INSTALL = :
-POST_INSTALL = :
-NORMAL_UNINSTALL = :
-PRE_UNINSTALL = :
-POST_UNINSTALL = :
-bin_PROGRAMS = epsffit$(EXEEXT) psbook$(EXEEXT) psnup$(EXEEXT) \
- psresize$(EXEEXT) psselect$(EXEEXT) pstops$(EXEEXT)
-DIST_COMMON = $(srcdir)/../../am/script_links.am $(srcdir)/Makefile.in \
- $(srcdir)/Makefile.am $(top_srcdir)/configure \
- $(am__configure_deps) $(srcdir)/config.h.in \
- $(top_srcdir)/psutils-1.21/extractres \
- $(top_srcdir)/psutils-1.21/psjoin \
- $(top_srcdir)/../../build-aux/depcomp \
- $(top_srcdir)/../../build-aux/test-driver ChangeLog \
- ../../build-aux/compile ../../build-aux/config.guess \
- ../../build-aux/config.sub ../../build-aux/depcomp \
- ../../build-aux/install-sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap \
- ../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/compile \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing
-@WIN32_TRUE@@WIN32_WRAP_TRUE@am__append_1 = $(wrappers)
-subdir = .
-ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
- $(top_srcdir)/../../m4/kpse-paper-flags.m4 \
- $(top_srcdir)/../../m4/kpse-warnings.m4 \
- $(top_srcdir)/../../m4/kpse-win32.m4 $(top_srcdir)/version.ac \
- $(top_srcdir)/configure.ac
-am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- $(ACLOCAL_M4)
-am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- configure.lineno config.status.lineno
-mkinstalldirs = $(install_sh) -d
-CONFIG_HEADER = config.h
-CONFIG_CLEAN_FILES = extractres.pl includeres.pl psjoin.pl
-CONFIG_CLEAN_VPATH_FILES =
-LIBRARIES = $(noinst_LIBRARIES)
-AR = ar
-ARFLAGS = cru
-AM_V_AR = $(am__v_AR_@AM_V@)
-am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@)
-am__v_AR_0 = @echo " AR " $@;
-am__v_AR_1 =
-libpsutils_a_AR = $(AR) $(ARFLAGS)
-libpsutils_a_LIBADD =
-am__dirstamp = $(am__leading_dot)dirstamp
-am_libpsutils_a_OBJECTS = @PSUTILS_TREE@/psspec.$(OBJEXT) \
- @PSUTILS_TREE@/psutil.$(OBJEXT)
-libpsutils_a_OBJECTS = $(am_libpsutils_a_OBJECTS)
-am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" \
- "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(man1dir)"
-PROGRAMS = $(bin_PROGRAMS)
-am_epsffit_OBJECTS = @PSUTILS_TREE@/epsffit.$(OBJEXT)
-epsffit_OBJECTS = $(am_epsffit_OBJECTS)
-epsffit_LDADD = $(LDADD)
-am__DEPENDENCIES_1 =
-epsffit_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am_psbook_OBJECTS = @PSUTILS_TREE@/psbook.$(OBJEXT)
-psbook_OBJECTS = $(am_psbook_OBJECTS)
-psbook_LDADD = $(LDADD)
-psbook_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am_psnup_OBJECTS = @PSUTILS_TREE@/psnup.$(OBJEXT)
-psnup_OBJECTS = $(am_psnup_OBJECTS)
-psnup_LDADD = $(LDADD)
-psnup_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am_psresize_OBJECTS = @PSUTILS_TREE@/psresize.$(OBJEXT)
-psresize_OBJECTS = $(am_psresize_OBJECTS)
-psresize_LDADD = $(LDADD)
-psresize_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am_psselect_OBJECTS = @PSUTILS_TREE@/psselect.$(OBJEXT)
-psselect_OBJECTS = $(am_psselect_OBJECTS)
-psselect_LDADD = $(LDADD)
-psselect_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am_pstops_OBJECTS = @PSUTILS_TREE@/pstops.$(OBJEXT)
-pstops_OBJECTS = $(am_pstops_OBJECTS)
-pstops_LDADD = $(LDADD)
-pstops_DEPENDENCIES = libpsutils.a $(am__DEPENDENCIES_1)
-am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
-am__vpath_adj = case $$p in \
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
- *) f=$$p;; \
- esac;
-am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
-am__install_max = 40
-am__nobase_strip_setup = \
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
-am__nobase_strip = \
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
-am__nobase_list = $(am__nobase_strip_setup); \
- for p in $$list; do echo "$$p $$p"; done | \
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
- if (++n[$$2] == $(am__install_max)) \
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
- END { for (dir in files) print dir, files[dir] }'
-am__base_list = \
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
-am__uninstall_files_from_dir = { \
- test -z "$$files" \
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
- $(am__cd) "$$dir" && rm -f $$files; }; \
- }
-SCRIPTS = $(nodist_bin_SCRIPTS) $(texmf_SCRIPTS)
-AM_V_P = $(am__v_P_@AM_V@)
-am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
-am__v_P_0 = false
-am__v_P_1 = :
-AM_V_GEN = $(am__v_GEN_@AM_V@)
-am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
-am__v_GEN_0 = @echo " GEN " $@;
-am__v_GEN_1 =
-AM_V_at = $(am__v_at_@AM_V@)
-am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
-am__v_at_0 = @
-am__v_at_1 =
-DEFAULT_INCLUDES = -I.@am__isrc@
-depcomp = $(SHELL) $(top_srcdir)/../../build-aux/depcomp
-am__depfiles_maybe = depfiles
-am__mv = mv -f
-COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
- $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
-AM_V_CC = $(am__v_CC_@AM_V@)
-am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
-am__v_CC_0 = @echo " CC " $@;
-am__v_CC_1 =
-CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-AM_V_CCLD = $(am__v_CCLD_@AM_V@)
-am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
-am__v_CCLD_0 = @echo " CCLD " $@;
-am__v_CCLD_1 =
-SOURCES = $(libpsutils_a_SOURCES) $(epsffit_SOURCES) $(psbook_SOURCES) \
- $(psnup_SOURCES) $(psresize_SOURCES) $(psselect_SOURCES) \
- $(pstops_SOURCES)
-DIST_SOURCES = $(libpsutils_a_SOURCES) $(epsffit_SOURCES) \
- $(psbook_SOURCES) $(psnup_SOURCES) $(psresize_SOURCES) \
- $(psselect_SOURCES) $(pstops_SOURCES)
-am__can_run_installinfo = \
- case $$AM_UPDATE_INFO_DIR in \
- n|no|NO) false;; \
- *) (install-info --version) >/dev/null 2>&1;; \
- esac
-man1dir = $(mandir)/man1
-NROFF = nroff
-MANS = $(man1_MANS)
-am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
- $(LISP)config.h.in
-# Read a list of newline-separated strings from the standard input,
-# and print each of them once, without duplicates. Input order is
-# *not* preserved.
-am__uniquify_input = $(AWK) '\
- BEGIN { nonempty = 0; } \
- { items[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in items) print i; }; } \
-'
-# Make sure the list of sources is unique. This is necessary because,
-# e.g., the same source file might be shared among _SOURCES variables
-# for different programs/libraries.
-am__define_uniq_tagged_files = \
- list='$(am__tagged_files)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | $(am__uniquify_input)`
-ETAGS = etags
-CTAGS = ctags
-CSCOPE = cscope
-AM_RECURSIVE_TARGETS = cscope check recheck
-am__tty_colors_dummy = \
- mgn= red= grn= lgn= blu= brg= std=; \
- am__color_tests=no
-am__tty_colors = { \
- $(am__tty_colors_dummy); \
- if test "X$(AM_COLOR_TESTS)" = Xno; then \
- am__color_tests=no; \
- elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
- am__color_tests=yes; \
- elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
- am__color_tests=yes; \
- fi; \
- if test $$am__color_tests = yes; then \
- red=''; \
- grn=''; \
- lgn=''; \
- blu=''; \
- mgn=''; \
- brg=''; \
- std=''; \
- fi; \
-}
-am__recheck_rx = ^[ ]*:recheck:[ ]*
-am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
-am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
-# A command that, given a newline-separated list of test names on the
-# standard input, print the name of the tests that are to be re-run
-# upon "make recheck".
-am__list_recheck_tests = $(AWK) '{ \
- recheck = 1; \
- while ((rc = (getline line < ($$0 ".trs"))) != 0) \
- { \
- if (rc < 0) \
- { \
- if ((getline line2 < ($$0 ".log")) < 0) \
- recheck = 0; \
- break; \
- } \
- else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
- { \
- recheck = 0; \
- break; \
- } \
- else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
- { \
- break; \
- } \
- }; \
- if (recheck) \
- print $$0; \
- close ($$0 ".trs"); \
- close ($$0 ".log"); \
-}'
-# A command that, given a newline-separated list of test names on the
-# standard input, create the global log from their .trs and .log files.
-am__create_global_log = $(AWK) ' \
-function fatal(msg) \
-{ \
- print "fatal: making $@: " msg | "cat >&2"; \
- exit 1; \
-} \
-function rst_section(header) \
-{ \
- print header; \
- len = length(header); \
- for (i = 1; i <= len; i = i + 1) \
- printf "="; \
- printf "\n\n"; \
-} \
-{ \
- copy_in_global_log = 1; \
- global_test_result = "RUN"; \
- while ((rc = (getline line < ($$0 ".trs"))) != 0) \
- { \
- if (rc < 0) \
- fatal("failed to read from " $$0 ".trs"); \
- if (line ~ /$(am__global_test_result_rx)/) \
- { \
- sub("$(am__global_test_result_rx)", "", line); \
- sub("[ ]*$$", "", line); \
- global_test_result = line; \
- } \
- else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
- copy_in_global_log = 0; \
- }; \
- if (copy_in_global_log) \
- { \
- rst_section(global_test_result ": " $$0); \
- while ((rc = (getline line < ($$0 ".log"))) != 0) \
- { \
- if (rc < 0) \
- fatal("failed to read from " $$0 ".log"); \
- print line; \
- }; \
- printf "\n"; \
- }; \
- close ($$0 ".trs"); \
- close ($$0 ".log"); \
-}'
-# Restructured Text title.
-am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
-# Solaris 10 'make', and several other traditional 'make' implementations,
-# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
-# by disabling -e (using the XSI extension "set +e") if it's set.
-am__sh_e_setup = case $$- in *e*) set +e;; esac
-# Default flags passed to test drivers.
-am__common_driver_flags = \
- --color-tests "$$am__color_tests" \
- --enable-hard-errors "$$am__enable_hard_errors" \
- --expect-failure "$$am__expect_failure"
-# To be inserted before the command running the test. Creates the
-# directory for the log if needed. Stores in $dir the directory
-# containing $f, in $tst the test, in $log the log. Executes the
-# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
-# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
-# will run the test scripts (or their associated LOG_COMPILER, if
-# thy have one).
-am__check_pre = \
-$(am__sh_e_setup); \
-$(am__vpath_adj_setup) $(am__vpath_adj) \
-$(am__tty_colors); \
-srcdir=$(srcdir); export srcdir; \
-case "$@" in \
- */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
- *) am__odir=.;; \
-esac; \
-test "x$$am__odir" = x"." || test -d "$$am__odir" \
- || $(MKDIR_P) "$$am__odir" || exit $$?; \
-if test -f "./$$f"; then dir=./; \
-elif test -f "$$f"; then dir=; \
-else dir="$(srcdir)/"; fi; \
-tst=$$dir$$f; log='$@'; \
-if test -n '$(DISABLE_HARD_ERRORS)'; then \
- am__enable_hard_errors=no; \
-else \
- am__enable_hard_errors=yes; \
-fi; \
-case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
- am__expect_failure=yes;; \
- *) \
- am__expect_failure=no;; \
-esac; \
-$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
-# A shell command to get the names of the tests scripts with any registered
-# extension removed (i.e., equivalently, the names of the test logs, with
-# the '.log' extension removed). The result is saved in the shell variable
-# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
-# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
-# since that might cause problem with VPATH rewrites for suffix-less tests.
-# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
-am__set_TESTS_bases = \
- bases='$(TEST_LOGS)'; \
- bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
- bases=`echo $$bases`
-RECHECK_LOGS = $(TEST_LOGS)
-TEST_SUITE_LOG = test-suite.log
-TEST_EXTENSIONS = @EXEEXT@ .test
-am__test_logs1 = $(TESTS:=.log)
-am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
-TEST_LOGS = $(am__test_logs2:.test.log=.log)
-TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
-TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
- $(TEST_LOG_FLAGS)
-am__set_b = \
- case '$@' in \
- */*) \
- case '$*' in \
- */*) b='$*';; \
- *) b=`echo '$@' | sed 's/\.log$$//'`; \
- esac;; \
- *) \
- b='$*';; \
- esac
-DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
-distdir = $(PACKAGE)-$(VERSION)
-top_distdir = $(distdir)
-am__remove_distdir = \
- if test -d "$(distdir)"; then \
- find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- && rm -rf "$(distdir)" \
- || { sleep 5 && rm -rf "$(distdir)"; }; \
- else :; fi
-am__post_remove_distdir = $(am__remove_distdir)
-DIST_ARCHIVES = $(distdir).tar.gz
-GZIP_ENV = --best
-DIST_TARGETS = dist-gzip
-distuninstallcheck_listfiles = find . -type f -print
-am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
- | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
-distcleancheck_listfiles = find . -type f -print
-ACLOCAL = @ACLOCAL@
-AMTAR = @AMTAR@
-AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
-AUTOCONF = @AUTOCONF@
-AUTOHEADER = @AUTOHEADER@
-AUTOMAKE = @AUTOMAKE@
-AWK = @AWK@
-CC = @CC@
-CCDEPMODE = @CCDEPMODE@
-CFLAGS = @CFLAGS@
-CPP = @CPP@
-CPPFLAGS = @CPPFLAGS@
-CYGPATH_W = @CYGPATH_W@
-DEFS = @DEFS@
-DEPDIR = @DEPDIR@
-ECHO_C = @ECHO_C@
-ECHO_N = @ECHO_N@
-ECHO_T = @ECHO_T@
-EGREP = @EGREP@
-EXEEXT = @EXEEXT@
-GREP = @GREP@
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
-LDFLAGS = @LDFLAGS@
-LIBOBJS = @LIBOBJS@
-LIBS = @LIBS@
-LN_S = @LN_S@
-LTLIBOBJS = @LTLIBOBJS@
-MAINT = @MAINT@
-MAKEINFO = @MAKEINFO@
-MKDIR_P = @MKDIR_P@
-OBJEXT = @OBJEXT@
-PACKAGE = @PACKAGE@
-PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
-PACKAGE_NAME = @PACKAGE_NAME@
-PACKAGE_STRING = @PACKAGE_STRING@
-PACKAGE_TARNAME = @PACKAGE_TARNAME@
-PACKAGE_URL = @PACKAGE_URL@
-PACKAGE_VERSION = @PACKAGE_VERSION@
-PAPER_DEPEND = @PAPER_DEPEND@
-PAPER_INCLUDES = @PAPER_INCLUDES@
-PAPER_LIBS = @PAPER_LIBS@
-PATH_SEPARATOR = @PATH_SEPARATOR@
-PSUTILS_TREE = @PSUTILS_TREE@
-RANLIB = @RANLIB@
-SET_MAKE = @SET_MAKE@
-SHELL = @SHELL@
-STRIP = @STRIP@
-VERSION = @VERSION@
-WARNING_CFLAGS = @WARNING_CFLAGS@
-abs_builddir = @abs_builddir@
-abs_srcdir = @abs_srcdir@
-abs_top_builddir = @abs_top_builddir@
-abs_top_srcdir = @abs_top_srcdir@
-ac_ct_CC = @ac_ct_CC@
-am__include = @am__include@
-am__leading_dot = @am__leading_dot@
-am__quote = @am__quote@
-am__tar = @am__tar@
-am__untar = @am__untar@
-bindir = @bindir@
-build_alias = @build_alias@
-builddir = @builddir@
-datadir = @datadir@
-datarootdir = @datarootdir@
-docdir = @docdir@
-dvidir = @dvidir@
-exec_prefix = @exec_prefix@
-host_alias = @host_alias@
-htmldir = @htmldir@
-includedir = @includedir@
-infodir = @infodir@
-install_sh = @install_sh@
-libdir = @libdir@
-libexecdir = @libexecdir@
-localedir = @localedir@
-localstatedir = @localstatedir@
-mandir = @mandir@
-mkdir_p = @mkdir_p@
-oldincludedir = @oldincludedir@
-pdfdir = @pdfdir@
-prefix = @prefix@
-program_transform_name = @program_transform_name@
-psdir = @psdir@
-sbindir = @sbindir@
-sharedstatedir = @sharedstatedir@
-srcdir = @srcdir@
-sysconfdir = @sysconfdir@
-target_alias = @target_alias@
-top_build_prefix = @top_build_prefix@
-top_builddir = @top_builddir@
-top_srcdir = @top_srcdir@
-EXTRA_DIST = $(PSUTILS_TREE) $(PSUTILS_TREE)-PATCHES \
- $(top_builddir)/../../build-aux/relpath $(TESTS) tests/play.ps \
- tests/playbook.2 tests/playnup.2 tests/playps.2 \
- tests/playres.ps tests/playsel.2 tests/plot.eps \
- tests/ploth.eps tests/plotm.eps tests/plotv.eps
-AM_CPPFLAGS = $(PAPER_INCLUDES) -D_Noreturn= -D_GL_ATTRIBUTE_CONST=
-AM_CFLAGS = $(WARNING_CFLAGS)
-noinst_LIBRARIES = libpsutils.a
-libpsutils_a_SOURCES = \
- @PSUTILS_TREE@/psspec.c \
- @PSUTILS_TREE@/psspec.h \
- @PSUTILS_TREE@/psutil.c \
- @PSUTILS_TREE@/psutil.h
-
-epsffit_SOURCES = @PSUTILS_TREE@/epsffit.c
-psbook_SOURCES = @PSUTILS_TREE@/psbook.c
-psnup_SOURCES = @PSUTILS_TREE@/psnup.c
-psresize_SOURCES = @PSUTILS_TREE@/psresize.c
-psselect_SOURCES = @PSUTILS_TREE@/psselect.c
-pstops_SOURCES = @PSUTILS_TREE@/pstops.c
-LDADD = libpsutils.a $(PAPER_LIBS)
-perl_scripts = \
- extractres \
- includeres \
- psjoin
-
-scriptsdir = texmf-dist/scripts/psutils
-nodist_bin_SCRIPTS = $(am__append_1)
-all_scripts = $(lua_scripts) $(perl_scripts) $(shell_scripts)
-@WIN32_TRUE@@WIN32_WRAP_TRUE@wrappers = $(all_scripts:=.exe)
-@WIN32_TRUE@@WIN32_WRAP_TRUE@runscript = $(top_srcdir)/../../texk/texlive/w32_wrapper/runscript.exe
-texmfdir = $(datarootdir)/$(scriptsdir)
-texmf_SCRIPTS = $(perl_scripts:=.pl)
-man1_MANS = \
- @PSUTILS_TREE@/epsffit.1 \
- @PSUTILS_TREE@/extractres.1 \
- @PSUTILS_TREE@/includeres.1 \
- @PSUTILS_TREE@/psbook.1 \
- @PSUTILS_TREE@/psjoin.1 \
- @PSUTILS_TREE@/psnup.1 \
- @PSUTILS_TREE@/psresize.1 \
- @PSUTILS_TREE@/psselect.1 \
- @PSUTILS_TREE@/pstops.1 \
- @PSUTILS_TREE@/psutils.1
-
-TESTS = psutils.test
-DISTCLEANFILES = play*.2 play*.ps plot*.eps
-all: config.h
- $(MAKE) $(AM_MAKEFLAGS) all-am
-
-.SUFFIXES:
-.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
-am--refresh: Makefile
- @:
-$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../../am/script_links.am $(am__configure_deps)
- @for dep in $?; do \
- case '$(am__configure_deps)' in \
- *$$dep*) \
- echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
- $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
- && exit 0; \
- exit 1;; \
- esac; \
- done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
- $(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign Makefile
-.PRECIOUS: Makefile
-Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- @case '$?' in \
- *config.status*) \
- echo ' $(SHELL) ./config.status'; \
- $(SHELL) ./config.status;; \
- *) \
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- esac;
-$(srcdir)/../../am/script_links.am:
-
-$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- $(SHELL) ./config.status --recheck
-
-$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- $(am__cd) $(srcdir) && $(AUTOCONF)
-$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
-$(am__aclocal_m4_deps):
-
-config.h: stamp-h1
- @test -f $@ || rm -f stamp-h1
- @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
-
-stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
- @rm -f stamp-h1
- cd $(top_builddir) && $(SHELL) ./config.status config.h
-$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
- rm -f stamp-h1
- touch $@
-
-distclean-hdr:
- -rm -f config.h stamp-h1
-
-clean-noinstLIBRARIES:
- -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-@PSUTILS_TREE@/$(am__dirstamp):
- @$(MKDIR_P) @PSUTILS_TREE@
- @: > @PSUTILS_TREE@/$(am__dirstamp)
-@PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp):
- @$(MKDIR_P) @PSUTILS_TREE@/$(DEPDIR)
- @: > @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-@PSUTILS_TREE@/psspec.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-@PSUTILS_TREE@/psutil.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-libpsutils.a: $(libpsutils_a_OBJECTS) $(libpsutils_a_DEPENDENCIES) $(EXTRA_libpsutils_a_DEPENDENCIES)
- $(AM_V_at)-rm -f libpsutils.a
- $(AM_V_AR)$(libpsutils_a_AR) libpsutils.a $(libpsutils_a_OBJECTS) $(libpsutils_a_LIBADD)
- $(AM_V_at)$(RANLIB) libpsutils.a
-install-binPROGRAMS: $(bin_PROGRAMS)
- @$(NORMAL_INSTALL)
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
- fi; \
- for p in $$list; do echo "$$p $$p"; done | \
- sed 's/$(EXEEXT)$$//' | \
- while read p p1; do if test -f $$p \
- ; then echo "$$p"; echo "$$p"; else :; fi; \
- done | \
- sed -e 'p;s,.*/,,;n;h' \
- -e 's|.*|.|' \
- -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
- sed 'N;N;N;s,\n, ,g' | \
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- if ($$2 == $$4) files[d] = files[d] " " $$1; \
- else { print "f", $$3 "/" $$4, $$1; } } \
- END { for (d in files) print "f", d, files[d] }' | \
- while read type dir files; do \
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- } \
- ; done
-
-uninstall-binPROGRAMS:
- @$(NORMAL_UNINSTALL)
- @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
- files=`for p in $$list; do echo "$$p"; done | \
- sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- -e 's/$$/$(EXEEXT)/' \
- `; \
- test -n "$$list" || exit 0; \
- echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
- cd "$(DESTDIR)$(bindir)" && rm -f $$files
-
-clean-binPROGRAMS:
- -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
-@PSUTILS_TREE@/epsffit.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-epsffit$(EXEEXT): $(epsffit_OBJECTS) $(epsffit_DEPENDENCIES) $(EXTRA_epsffit_DEPENDENCIES)
- @rm -f epsffit$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(epsffit_OBJECTS) $(epsffit_LDADD) $(LIBS)
-@PSUTILS_TREE@/psbook.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-psbook$(EXEEXT): $(psbook_OBJECTS) $(psbook_DEPENDENCIES) $(EXTRA_psbook_DEPENDENCIES)
- @rm -f psbook$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(psbook_OBJECTS) $(psbook_LDADD) $(LIBS)
-@PSUTILS_TREE@/psnup.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-psnup$(EXEEXT): $(psnup_OBJECTS) $(psnup_DEPENDENCIES) $(EXTRA_psnup_DEPENDENCIES)
- @rm -f psnup$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(psnup_OBJECTS) $(psnup_LDADD) $(LIBS)
-@PSUTILS_TREE@/psresize.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-psresize$(EXEEXT): $(psresize_OBJECTS) $(psresize_DEPENDENCIES) $(EXTRA_psresize_DEPENDENCIES)
- @rm -f psresize$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(psresize_OBJECTS) $(psresize_LDADD) $(LIBS)
-@PSUTILS_TREE@/psselect.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-psselect$(EXEEXT): $(psselect_OBJECTS) $(psselect_DEPENDENCIES) $(EXTRA_psselect_DEPENDENCIES)
- @rm -f psselect$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(psselect_OBJECTS) $(psselect_LDADD) $(LIBS)
-@PSUTILS_TREE@/pstops.$(OBJEXT): @PSUTILS_TREE@/$(am__dirstamp) \
- @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
-
-pstops$(EXEEXT): $(pstops_OBJECTS) $(pstops_DEPENDENCIES) $(EXTRA_pstops_DEPENDENCIES)
- @rm -f pstops$(EXEEXT)
- $(AM_V_CCLD)$(LINK) $(pstops_OBJECTS) $(pstops_LDADD) $(LIBS)
-install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS)
- @$(NORMAL_INSTALL)
- @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
- if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
- fi; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
- done | \
- sed -e 'p;s,.*/,,;n' \
- -e 'h;s|.*|.|' \
- -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- if ($$2 == $$4) { files[d] = files[d] " " $$1; \
- if (++n[d] == $(am__install_max)) { \
- print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
- else { print "f", d "/" $$4, $$1 } } \
- END { for (d in files) print "f", d, files[d] }' | \
- while read type dir files; do \
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
- $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
- } \
- ; done
-
-uninstall-nodist_binSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(nodist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
- files=`for p in $$list; do echo "$$p"; done | \
- sed -e 's,.*/,,;$(transform)'`; \
- dir='$(DESTDIR)$(bindir)'; $(am__uninstall_files_from_dir)
-install-texmfSCRIPTS: $(texmf_SCRIPTS)
- @$(NORMAL_INSTALL)
- @list='$(texmf_SCRIPTS)'; test -n "$(texmfdir)" || list=; \
- if test -n "$$list"; then \
- echo " $(MKDIR_P) '$(DESTDIR)$(texmfdir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(texmfdir)" || exit 1; \
- fi; \
- for p in $$list; do \
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
- if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
- done | \
- sed -e 'p;s,.*/,,;n' \
- -e 'h;s|.*|.|' \
- -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
- $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
- { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
- if ($$2 == $$4) { files[d] = files[d] " " $$1; \
- if (++n[d] == $(am__install_max)) { \
- print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
- else { print "f", d "/" $$4, $$1 } } \
- END { for (d in files) print "f", d, files[d] }' | \
- while read type dir files; do \
- if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
- test -z "$$files" || { \
- echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(texmfdir)$$dir'"; \
- $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(texmfdir)$$dir" || exit $$?; \
- } \
- ; done
-
-uninstall-texmfSCRIPTS:
- @$(NORMAL_UNINSTALL)
- @list='$(texmf_SCRIPTS)'; test -n "$(texmfdir)" || exit 0; \
- files=`for p in $$list; do echo "$$p"; done | \
- sed -e 's,.*/,,;$(transform)'`; \
- dir='$(DESTDIR)$(texmfdir)'; $(am__uninstall_files_from_dir)
-
-mostlyclean-compile:
- -rm -f *.$(OBJEXT)
- -rm -f @PSUTILS_TREE@/*.$(OBJEXT)
-
-distclean-compile:
- -rm -f *.tab.c
-
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/epsffit.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psbook.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psnup.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psresize.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psselect.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psspec.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/pstops.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@@PSUTILS_TREE@/$(DEPDIR)/psutil.Po@am__quote@
-
-.c.o:
-@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
-@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
-@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
-
-.c.obj:
-@am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
-@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
-@am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
-install-man1: $(man1_MANS)
- @$(NORMAL_INSTALL)
- @list1='$(man1_MANS)'; \
- list2=''; \
- test -n "$(man1dir)" \
- && test -n "`echo $$list1$$list2`" \
- || exit 0; \
- echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
- $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
- { for i in $$list1; do echo "$$i"; done; \
- if test -n "$$list2"; then \
- for i in $$list2; do echo "$$i"; done \
- | sed -n '/\.1[a-z]*$$/p'; \
- fi; \
- } | while read p; do \
- if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
- echo "$$d$$p"; echo "$$p"; \
- done | \
- sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
- sed 'N;N;s,\n, ,g' | { \
- list=; while read file base inst; do \
- if test "$$base" = "$$inst"; then list="$$list $$file"; else \
- echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
- $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
- fi; \
- done; \
- for i in $$list; do echo "$$i"; done | $(am__base_list) | \
- while read files; do \
- test -z "$$files" || { \
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
- $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
- done; }
-
-uninstall-man1:
- @$(NORMAL_UNINSTALL)
- @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \
- files=`{ for i in $$list; do echo "$$i"; done; \
- } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
- -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
- dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
-
-ID: $(am__tagged_files)
- $(am__define_uniq_tagged_files); mkid -fID $$unique
-tags: tags-am
-TAGS: tags
-
-tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
- set x; \
- here=`pwd`; \
- $(am__define_uniq_tagged_files); \
- shift; \
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
- test -n "$$unique" || unique=$$empty_fix; \
- if test $$# -gt 0; then \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- "$$@" $$unique; \
- else \
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
- $$unique; \
- fi; \
- fi
-ctags: ctags-am
-
-CTAGS: ctags
-ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
- $(am__define_uniq_tagged_files); \
- test -z "$(CTAGS_ARGS)$$unique" \
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
- $$unique
-
-GTAGS:
- here=`$(am__cd) $(top_builddir) && pwd` \
- && $(am__cd) $(top_srcdir) \
- && gtags -i $(GTAGS_ARGS) "$$here"
-cscope: cscope.files
- test ! -s cscope.files \
- || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-clean-cscope:
- -rm -f cscope.files
-cscope.files: clean-cscope cscopelist
-cscopelist: cscopelist-am
-
-cscopelist-am: $(am__tagged_files)
- list='$(am__tagged_files)'; \
- case "$(srcdir)" in \
- [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
- *) sdir=$(subdir)/$(srcdir) ;; \
- esac; \
- for i in $$list; do \
- if test -f "$$i"; then \
- echo "$(subdir)/$$i"; \
- else \
- echo "$$sdir/$$i"; \
- fi; \
- done >> $(top_builddir)/cscope.files
-
-distclean-tags:
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
- -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-
-# Recover from deleted '.trs' file; this should ensure that
-# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
-# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
-# to avoid problems with "make -n".
-.log.trs:
- rm -f $< $@
- $(MAKE) $(AM_MAKEFLAGS) $<
-
-# Leading 'am--fnord' is there to ensure the list of targets does not
-# expand to empty, as could happen e.g. with make check TESTS=''.
-am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
-am--force-recheck:
- @:
-
-$(TEST_SUITE_LOG): $(TEST_LOGS)
- @$(am__set_TESTS_bases); \
- am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
- redo_bases=`for i in $$bases; do \
- am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
- done`; \
- if test -n "$$redo_bases"; then \
- redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
- redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
- if $(am__make_dryrun); then :; else \
- rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
- fi; \
- fi; \
- if test -n "$$am__remaking_logs"; then \
- echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
- "recursion detected" >&2; \
- else \
- am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
- fi; \
- if $(am__make_dryrun); then :; else \
- st=0; \
- errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
- for i in $$redo_bases; do \
- test -f $$i.trs && test -r $$i.trs \
- || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
- test -f $$i.log && test -r $$i.log \
- || { echo "$$errmsg $$i.log" >&2; st=1; }; \
- done; \
- test $$st -eq 0 || exit 1; \
- fi
- @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
- ws='[ ]'; \
- results=`for b in $$bases; do echo $$b.trs; done`; \
- test -n "$$results" || results=/dev/null; \
- all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
- pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
- fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
- skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
- xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
- xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
- error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
- if test `expr $$fail + $$xpass + $$error` -eq 0; then \
- success=true; \
- else \
- success=false; \
- fi; \
- br='==================='; br=$$br$$br$$br$$br; \
- result_count () \
- { \
- if test x"$$1" = x"--maybe-color"; then \
- maybe_colorize=yes; \
- elif test x"$$1" = x"--no-color"; then \
- maybe_colorize=no; \
- else \
- echo "$@: invalid 'result_count' usage" >&2; exit 4; \
- fi; \
- shift; \
- desc=$$1 count=$$2; \
- if test $$maybe_colorize = yes && test $$count -gt 0; then \
- color_start=$$3 color_end=$$std; \
- else \
- color_start= color_end=; \
- fi; \
- echo "$${color_start}# $$desc $$count$${color_end}"; \
- }; \
- create_testsuite_report () \
- { \
- result_count $$1 "TOTAL:" $$all "$$brg"; \
- result_count $$1 "PASS: " $$pass "$$grn"; \
- result_count $$1 "SKIP: " $$skip "$$blu"; \
- result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
- result_count $$1 "FAIL: " $$fail "$$red"; \
- result_count $$1 "XPASS:" $$xpass "$$red"; \
- result_count $$1 "ERROR:" $$error "$$mgn"; \
- }; \
- { \
- echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
- $(am__rst_title); \
- create_testsuite_report --no-color; \
- echo; \
- echo ".. contents:: :depth: 2"; \
- echo; \
- for b in $$bases; do echo $$b; done \
- | $(am__create_global_log); \
- } >$(TEST_SUITE_LOG).tmp || exit 1; \
- mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
- if $$success; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
- fi; \
- echo "$${col}$$br$${std}"; \
- echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
- echo "$${col}$$br$${std}"; \
- create_testsuite_report --maybe-color; \
- echo "$$col$$br$$std"; \
- if $$success; then :; else \
- echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
- if test -n "$(PACKAGE_BUGREPORT)"; then \
- echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
- fi; \
- echo "$$col$$br$$std"; \
- fi; \
- $$success || exit 1
-
-check-TESTS:
- @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
- @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
- @set +e; $(am__set_TESTS_bases); \
- log_list=`for i in $$bases; do echo $$i.log; done`; \
- trs_list=`for i in $$bases; do echo $$i.trs; done`; \
- log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
- exit $$?;
-recheck: all
- @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
- @set +e; $(am__set_TESTS_bases); \
- bases=`for i in $$bases; do echo $$i; done \
- | $(am__list_recheck_tests)` || exit 1; \
- log_list=`for i in $$bases; do echo $$i.log; done`; \
- log_list=`echo $$log_list`; \
- $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
- am__force_recheck=am--force-recheck \
- TEST_LOGS="$$log_list"; \
- exit $$?
-.test.log:
- @p='$<'; \
- $(am__set_b); \
- $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
- --log-file $$b.log --trs-file $$b.trs \
- $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
- "$$tst" $(AM_TESTS_FD_REDIRECT)
-@am__EXEEXT_TRUE@.test$(EXEEXT).log:
-@am__EXEEXT_TRUE@ @p='$<'; \
-@am__EXEEXT_TRUE@ $(am__set_b); \
-@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
-@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
-@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
-@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
-
-distdir: $(DISTFILES)
- $(am__remove_distdir)
- test -d "$(distdir)" || mkdir "$(distdir)"
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- list='$(DISTFILES)'; \
- dist_files=`for file in $$list; do echo $$file; done | \
- sed -e "s|^$$srcdirstrip/||;t" \
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- case $$dist_files in \
- */*) $(MKDIR_P) `echo "$$dist_files" | \
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- sort -u` ;; \
- esac; \
- for file in $$dist_files; do \
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- if test -d $$d/$$file; then \
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- if test -d "$(distdir)/$$file"; then \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- fi; \
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- else \
- test -f "$(distdir)/$$file" \
- || cp -p $$d/$$file "$(distdir)/$$file" \
- || exit 1; \
- fi; \
- done
- $(MAKE) $(AM_MAKEFLAGS) \
- top_distdir="$(top_distdir)" distdir="$(distdir)" \
- dist-hook
- -test -n "$(am__skip_mode_fix)" \
- || find "$(distdir)" -type d ! -perm -755 \
- -exec chmod u+rwx,go+rx {} \; -o \
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- || chmod -R a+r "$(distdir)"
-dist-gzip: distdir
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- $(am__post_remove_distdir)
-
-dist-bzip2: distdir
- tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
- $(am__post_remove_distdir)
-
-dist-lzip: distdir
- tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
- $(am__post_remove_distdir)
-
-dist-xz: distdir
- tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
- $(am__post_remove_distdir)
-
-dist-tarZ: distdir
- @echo WARNING: "Support for shar distribution archives is" \
- "deprecated." >&2
- @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- $(am__post_remove_distdir)
-
-dist-shar: distdir
- @echo WARNING: "Support for distribution archives compressed with" \
- "legacy program 'compress' is deprecated." >&2
- @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- $(am__post_remove_distdir)
-
-dist-zip: distdir
- -rm -f $(distdir).zip
- zip -rq $(distdir).zip $(distdir)
- $(am__post_remove_distdir)
-
-dist dist-all:
- $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
- $(am__post_remove_distdir)
-
-# This target untars the dist file and tries a VPATH configuration. Then
-# it guarantees that the distribution is self-contained by making another
-# tarfile.
-distcheck: dist
- case '$(DIST_ARCHIVES)' in \
- *.tar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
- *.tar.bz2*) \
- bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
- *.tar.lz*) \
- lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
- *.tar.xz*) \
- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
- *.tar.Z*) \
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- *.shar.gz*) \
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
- *.zip*) \
- unzip $(distdir).zip ;;\
- esac
- chmod -R a-w $(distdir)
- chmod u+w $(distdir)
- mkdir $(distdir)/_build $(distdir)/_inst
- chmod a-w $(distdir)
- test -d $(distdir)/_build || exit 0; \
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- && am__cwd=`pwd` \
- && $(am__cd) $(distdir)/_build \
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- $(AM_DISTCHECK_CONFIGURE_FLAGS) \
- $(DISTCHECK_CONFIGURE_FLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) \
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
- && $(MAKE) $(AM_MAKEFLAGS) check \
- && $(MAKE) $(AM_MAKEFLAGS) install \
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- distuninstallcheck \
- && chmod -R a-w "$$dc_install_base" \
- && ({ \
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
- && rm -rf "$$dc_destdir" \
- && $(MAKE) $(AM_MAKEFLAGS) dist \
- && rm -rf $(DIST_ARCHIVES) \
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
- && cd "$$am__cwd" \
- || exit 1
- $(am__post_remove_distdir)
- @(echo "$(distdir) archives ready for distribution: "; \
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
-distuninstallcheck:
- @test -n '$(distuninstallcheck_dir)' || { \
- echo 'ERROR: trying to run $@ with an empty' \
- '$$(distuninstallcheck_dir)' >&2; \
- exit 1; \
- }; \
- $(am__cd) '$(distuninstallcheck_dir)' || { \
- echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
- exit 1; \
- }; \
- test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left after uninstall:" ; \
- if test -n "$(DESTDIR)"; then \
- echo " (check DESTDIR support)"; \
- fi ; \
- $(distuninstallcheck_listfiles) ; \
- exit 1; } >&2
-distcleancheck: distclean
- @if test '$(srcdir)' = . ; then \
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- exit 1 ; \
- fi
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- || { echo "ERROR: files left in build directory after distclean:" ; \
- $(distcleancheck_listfiles) ; \
- exit 1; } >&2
-check-am: all-am
- $(MAKE) $(AM_MAKEFLAGS) check-TESTS
-check: check-am
-all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(SCRIPTS) $(MANS) config.h
-installdirs:
- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(texmfdir)" "$(DESTDIR)$(man1dir)"; do \
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
- done
-install: install-am
-install-exec: install-exec-am
-install-data: install-data-am
-uninstall: uninstall-am
-
-install-am: all-am
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
-
-installcheck: installcheck-am
-install-strip:
- if test -z '$(STRIP)'; then \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- install; \
- else \
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- fi
-mostlyclean-generic:
- -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
- -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
- -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
-
-clean-generic:
-
-distclean-generic:
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- -rm -f @PSUTILS_TREE@/$(DEPDIR)/$(am__dirstamp)
- -rm -f @PSUTILS_TREE@/$(am__dirstamp)
- -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
-
-maintainer-clean-generic:
- @echo "This command is intended for maintainers to use"
- @echo "it deletes files that may require special tools to rebuild."
-clean: clean-am
-
-clean-am: clean-binPROGRAMS clean-generic clean-noinstLIBRARIES \
- mostlyclean-am
-
-distclean: distclean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf @PSUTILS_TREE@/$(DEPDIR)
- -rm -f Makefile
-distclean-am: clean-am distclean-compile distclean-generic \
- distclean-hdr distclean-tags
-
-dvi: dvi-am
-
-dvi-am:
-
-html: html-am
-
-html-am:
-
-info: info-am
-
-info-am:
-
-install-data-am: install-man install-texmfSCRIPTS
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) install-data-hook
-install-dvi: install-dvi-am
-
-install-dvi-am:
-
-install-exec-am: install-binPROGRAMS install-nodist_binSCRIPTS
-
-install-html: install-html-am
-
-install-html-am:
-
-install-info: install-info-am
-
-install-info-am:
-
-install-man: install-man1
-
-install-pdf: install-pdf-am
-
-install-pdf-am:
-
-install-ps: install-ps-am
-
-install-ps-am:
-
-installcheck-am:
-
-maintainer-clean: maintainer-clean-am
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf @PSUTILS_TREE@/$(DEPDIR)
- -rm -f Makefile
-maintainer-clean-am: distclean-am maintainer-clean-generic
-
-mostlyclean: mostlyclean-am
-
-mostlyclean-am: mostlyclean-compile mostlyclean-generic
-
-pdf: pdf-am
-
-pdf-am:
-
-ps: ps-am
-
-ps-am:
-
-uninstall-am: uninstall-binPROGRAMS uninstall-man \
- uninstall-nodist_binSCRIPTS uninstall-texmfSCRIPTS
- @$(NORMAL_INSTALL)
- $(MAKE) $(AM_MAKEFLAGS) uninstall-hook
-uninstall-man: uninstall-man1
-
-.MAKE: all check-am install-am install-data-am install-strip \
- uninstall-am
-
-.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
- check-am clean clean-binPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
- dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
- dist-tarZ dist-xz dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-hdr \
- distclean-tags distcleancheck distdir distuninstallcheck dvi \
- dvi-am html html-am info info-am install install-am \
- install-binPROGRAMS install-data install-data-am \
- install-data-hook install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-man1 \
- install-nodist_binSCRIPTS install-pdf install-pdf-am \
- install-ps install-ps-am install-strip install-texmfSCRIPTS \
- installcheck installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
- uninstall uninstall-am uninstall-binPROGRAMS uninstall-hook \
- uninstall-man uninstall-man1 uninstall-nodist_binSCRIPTS \
- uninstall-texmfSCRIPTS
-
-
-# in case of an SVN repository
-dist-hook:
- rm -rf `find $(distdir) -name .svn -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'`
-
-$(libpsutils_a_OBJECTS): $(PAPER_DEPEND)
-.PHONY: install-lua-links install-perl-links install-shell-links install-sh-links \
- install-links uninstall-links
-@WIN32_TRUE@@WIN32_WRAP_TRUE@$(wrappers): $(runscript)
-@WIN32_TRUE@@WIN32_WRAP_TRUE@ $(AM_V_GEN)$(LN_S) $(runscript) $@
-
-install-lua-links:
-@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=lua EXT=lua install-links
-
-install-perl-links:
-@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=perl EXT=pl install-links
-
-install-shell-links:
-@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=shell EXT=sh install-links
-
-install-sh-links:
-@WIN32_FALSE@ $(MAKE) $(AM_MAKEFLAGS) TYPE=sh EXT=sh install-links
-
-# We support native builds, multiplatform or not, as well as distro builds.
-install-links:
- @relpath="$(top_srcdir)/../../build-aux/relpath"; \
- test -r $$relpath || { \
- echo 'script_links.am:install-links: could not find relpath script'; \
- exit 1; \
- }; \
- REL=`$(SHELL) $$relpath '$(DESTDIR)' '$(bindir)' '$(datarootdir)'`; \
- if test -z "$$REL"; then \
- echo 'script_links.am:install_links: unable to compute relative path for linked $(TYPE) scripts' >&2; \
- exit 1; \
- fi; \
- cd $(DESTDIR)$(bindir) && \
- for f in $($(TYPE)_scripts); do \
- rm -f $$f; \
- if $(AM_V_P); then echo "creating link '$$f' -> '$$REL/$(scriptsdir)/$$f.$(EXT)'"; \
- else echo " LINK $$f"; fi; \
- $(LN_S) $$REL/$(scriptsdir)/$$f.$(EXT) $$f || exit 1; \
- done
-
-uninstall-links:
-@WIN32_FALSE@ @for f in $(all_scripts) $(sh_scripts); do \
-@WIN32_FALSE@ echo "rm -f '$(DESTDIR)$(bindir)/$$f'"; \
-@WIN32_FALSE@ rm -f "$(DESTDIR)$(bindir)/$$f"; \
-@WIN32_FALSE@ done
-
-install-data-hook: install-perl-links
-
-uninstall-hook: uninstall-links
-
-@PAPER_RULE@
-
-# Tell versions [3.59,3.63) of GNU make to not export all variables.
-# Otherwise a system limit (for SysV at least) may be exceeded.
-.NOEXPORT:
diff --git a/Build/source/utils/psutils/ac/withenable.ac b/Build/source/utils/psutils/ac/withenable.ac
deleted file mode 100644
index e8c78f874f2..00000000000
--- a/Build/source/utils/psutils/ac/withenable.ac
+++ /dev/null
@@ -1,7 +0,0 @@
-## utils/psutils/ac/withenable.ac: configure.ac fragment for the TeX Live subdirectory utils/psutils/
-dnl
-dnl Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
-dnl You may freely use, modify and/or distribute this file.
-dnl
-## configure options and TL libraries required for psutils
-KPSE_ENABLE_PROG([psutils], [paper])
diff --git a/Build/source/utils/psutils/aclocal.m4 b/Build/source/utils/psutils/aclocal.m4
deleted file mode 100644
index b9ce4cba813..00000000000
--- a/Build/source/utils/psutils/aclocal.m4
+++ /dev/null
@@ -1,1189 +0,0 @@
-# generated automatically by aclocal 1.14 -*- Autoconf -*-
-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
-
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
-[m4_warning([this file was generated for autoconf 2.69.
-You have another version of autoconf. It may work, but is not guaranteed to.
-If you have problems, you may need to regenerate the build system entirely.
-To do so, use the procedure documented by the package, typically 'autoreconf'.])])
-
-# Copyright (C) 2002-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_AUTOMAKE_VERSION(VERSION)
-# ----------------------------
-# Automake X.Y traces this macro to ensure aclocal.m4 has been
-# generated from the m4 files accompanying Automake X.Y.
-# (This private macro should not be called outside this file.)
-AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.14'
-dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
-dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.14], [],
- [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
-])
-
-# _AM_AUTOCONF_VERSION(VERSION)
-# -----------------------------
-# aclocal traces this macro to find the Autoconf version.
-# This is a private macro too. Using m4_define simplifies
-# the logic in aclocal, which can simply ignore this definition.
-m4_define([_AM_AUTOCONF_VERSION], [])
-
-# AM_SET_CURRENT_AUTOMAKE_VERSION
-# -------------------------------
-# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
-# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
-AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.14])dnl
-m4_ifndef([AC_AUTOCONF_VERSION],
- [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
-_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
-
-# AM_AUX_DIR_EXPAND -*- Autoconf -*-
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
-# $ac_aux_dir to '$srcdir/foo'. In other projects, it is set to
-# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
-#
-# Of course, Automake must honor this variable whenever it calls a
-# tool from the auxiliary directory. The problem is that $srcdir (and
-# therefore $ac_aux_dir as well) can be either absolute or relative,
-# depending on how configure is run. This is pretty annoying, since
-# it makes $ac_aux_dir quite unusable in subdirectories: in the top
-# source directory, any form will work fine, but in subdirectories a
-# relative path needs to be adjusted first.
-#
-# $ac_aux_dir/missing
-# fails when called from a subdirectory if $ac_aux_dir is relative
-# $top_srcdir/$ac_aux_dir/missing
-# fails if $ac_aux_dir is absolute,
-# fails when called from a subdirectory in a VPATH build with
-# a relative $ac_aux_dir
-#
-# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
-# are both prefixed by $srcdir. In an in-source build this is usually
-# harmless because $srcdir is '.', but things will broke when you
-# start a VPATH build or use an absolute $srcdir.
-#
-# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
-# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
-# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
-# and then we would define $MISSING as
-# MISSING="\${SHELL} $am_aux_dir/missing"
-# This will work as long as MISSING is not called from configure, because
-# unfortunately $(top_srcdir) has no meaning in configure.
-# However there are other variables, like CC, which are often used in
-# configure, and could therefore not use this "fixed" $ac_aux_dir.
-#
-# Another solution, used here, is to always expand $ac_aux_dir to an
-# absolute PATH. The drawback is that using absolute paths prevent a
-# configured tree to be moved without reconfiguration.
-
-AC_DEFUN([AM_AUX_DIR_EXPAND],
-[dnl Rely on autoconf to set up CDPATH properly.
-AC_PREREQ([2.50])dnl
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-])
-
-# AM_CONDITIONAL -*- Autoconf -*-
-
-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_CONDITIONAL(NAME, SHELL-CONDITION)
-# -------------------------------------
-# Define a conditional.
-AC_DEFUN([AM_CONDITIONAL],
-[AC_PREREQ([2.52])dnl
- m4_if([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
- [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
-AC_SUBST([$1_TRUE])dnl
-AC_SUBST([$1_FALSE])dnl
-_AM_SUBST_NOTMAKE([$1_TRUE])dnl
-_AM_SUBST_NOTMAKE([$1_FALSE])dnl
-m4_define([_AM_COND_VALUE_$1], [$2])dnl
-if $2; then
- $1_TRUE=
- $1_FALSE='#'
-else
- $1_TRUE='#'
- $1_FALSE=
-fi
-AC_CONFIG_COMMANDS_PRE(
-[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
- AC_MSG_ERROR([[conditional "$1" was never defined.
-Usually this means the macro was only invoked conditionally.]])
-fi])])
-
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-
-# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
-# written in clear, in which case automake, when reading aclocal.m4,
-# will think it sees a *use*, and therefore will trigger all it's
-# C support machinery. Also note that it means that autoscan, seeing
-# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
-
-
-# _AM_DEPENDENCIES(NAME)
-# ----------------------
-# See how the compiler implements dependency checking.
-# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
-# We try a few techniques and use that to set a single cache variable.
-#
-# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
-# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
-# dependency, and given that the user is not expected to run this macro,
-# just rely on AC_PROG_CC.
-AC_DEFUN([_AM_DEPENDENCIES],
-[AC_REQUIRE([AM_SET_DEPDIR])dnl
-AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
-AC_REQUIRE([AM_MAKE_INCLUDE])dnl
-AC_REQUIRE([AM_DEP_TRACK])dnl
-
-m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
- [$1], [CXX], [depcc="$CXX" am_compiler_list=],
- [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
- [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
- [$1], [UPC], [depcc="$UPC" am_compiler_list=],
- [$1], [GCJ], [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
- [depcc="$$1" am_compiler_list=])
-
-AC_CACHE_CHECK([dependency style of $depcc],
- [am_cv_$1_dependencies_compiler_type],
-[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_$1_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
- fi
- am__universal=false
- m4_case([$1], [CC],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac],
- [CXX],
- [case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac])
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_$1_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_$1_dependencies_compiler_type=none
-fi
-])
-AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
-AM_CONDITIONAL([am__fastdep$1], [
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
-])
-
-
-# AM_SET_DEPDIR
-# -------------
-# Choose a directory name for dependency files.
-# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
-AC_DEFUN([AM_SET_DEPDIR],
-[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
-])
-
-
-# AM_DEP_TRACK
-# ------------
-AC_DEFUN([AM_DEP_TRACK],
-[AC_ARG_ENABLE([dependency-tracking], [dnl
-AS_HELP_STRING(
- [--enable-dependency-tracking],
- [do not reject slow dependency extractors])
-AS_HELP_STRING(
- [--disable-dependency-tracking],
- [speeds up one-time build])])
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
-AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
-AC_SUBST([AMDEPBACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
-AC_SUBST([am__nodep])dnl
-_AM_SUBST_NOTMAKE([am__nodep])dnl
-])
-
-# Generate code to set up dependency tracking. -*- Autoconf -*-
-
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-
-# _AM_OUTPUT_DEPENDENCY_COMMANDS
-# ------------------------------
-AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
-[{
- # Older Autoconf quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`AS_DIRNAME("$mf")`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`AS_DIRNAME(["$file"])`
- AS_MKDIR_P([$dirpart/$fdir])
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
-])# _AM_OUTPUT_DEPENDENCY_COMMANDS
-
-
-# AM_OUTPUT_DEPENDENCY_COMMANDS
-# -----------------------------
-# This macro should only be invoked once -- use via AC_REQUIRE.
-#
-# This code is only required when automatic dependency tracking
-# is enabled. FIXME. This creates each '.P' file that we will
-# need in order to bootstrap the dependency handling code.
-AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
-[AC_CONFIG_COMMANDS([depfiles],
- [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
- [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
-])
-
-# Do all the work for Automake. -*- Autoconf -*-
-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This macro actually does too much. Some checks are only needed if
-# your package does certain things. But this isn't really a big deal.
-
-dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
-m4_define([AC_PROG_CC],
-m4_defn([AC_PROG_CC])
-[_AM_PROG_CC_C_O
-])
-
-# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
-# AM_INIT_AUTOMAKE([OPTIONS])
-# -----------------------------------------------
-# The call with PACKAGE and VERSION arguments is the old style
-# call (pre autoconf-2.50), which is being phased out. PACKAGE
-# and VERSION should now be passed to AC_INIT and removed from
-# the call to AM_INIT_AUTOMAKE.
-# We support both call styles for the transition. After
-# the next Automake release, Autoconf can make the AC_INIT
-# arguments mandatory, and then we can depend on a new Autoconf
-# release and drop the old call support.
-AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.65])dnl
-dnl Autoconf wants to disallow AM_ names. We explicitly allow
-dnl the ones we care about.
-m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
-AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
-AC_REQUIRE([AC_PROG_INSTALL])dnl
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-AC_SUBST([CYGPATH_W])
-
-# Define the identity of the package.
-dnl Distinguish between old-style and new-style calls.
-m4_ifval([$2],
-[AC_DIAGNOSE([obsolete],
- [$0: two- and three-arguments forms are deprecated.])
-m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
- AC_SUBST([PACKAGE], [$1])dnl
- AC_SUBST([VERSION], [$2])],
-[_AM_SET_OPTIONS([$1])dnl
-dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
-m4_if(
- m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
- [ok:ok],,
- [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
- AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
- AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
-
-_AM_IF_OPTION([no-define],,
-[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
- AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
-
-# Some tools Automake needs.
-AC_REQUIRE([AM_SANITY_CHECK])dnl
-AC_REQUIRE([AC_ARG_PROGRAM])dnl
-AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
-AM_MISSING_PROG([AUTOCONF], [autoconf])
-AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
-AM_MISSING_PROG([AUTOHEADER], [autoheader])
-AM_MISSING_PROG([MAKEINFO], [makeinfo])
-AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
-AC_REQUIRE([AC_PROG_MKDIR_P])dnl
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-AC_REQUIRE([AC_PROG_AWK])dnl
-AC_REQUIRE([AC_PROG_MAKE_SET])dnl
-AC_REQUIRE([AM_SET_LEADING_DOT])dnl
-_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
- [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
- [_AM_PROG_TAR([v7])])])
-_AM_IF_OPTION([no-dependencies],,
-[AC_PROVIDE_IFELSE([AC_PROG_CC],
- [_AM_DEPENDENCIES([CC])],
- [m4_define([AC_PROG_CC],
- m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [_AM_DEPENDENCIES([CXX])],
- [m4_define([AC_PROG_CXX],
- m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJC],
- [_AM_DEPENDENCIES([OBJC])],
- [m4_define([AC_PROG_OBJC],
- m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
- [_AM_DEPENDENCIES([OBJCXX])],
- [m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
-])
-AC_REQUIRE([AM_SILENT_RULES])dnl
-dnl The testsuite driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
-dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
-AC_CONFIG_COMMANDS_PRE(dnl
-[m4_provide_if([_AM_COMPILER_EXEEXT],
- [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
-
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: <http://www.gnu.org/software/coreutils/>.
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
- fi
-fi])
-
-dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
-dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
-dnl mangled by Autoconf and run in a shell conditional statement.
-m4_define([_AC_COMPILER_EXEEXT],
-m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
-
-# When config.status generates a header, we must update the stamp-h file.
-# This file resides in the same directory as the config header
-# that is generated. The stamp files are numbered to have different names.
-
-# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
-# loop where config.status creates the headers, so we can generate
-# our stamp files there.
-AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
-[# Compute $1's index in $config_headers.
-_am_arg=$1
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_SH
-# ------------------
-# Define $install_sh.
-AC_DEFUN([AM_PROG_INSTALL_SH],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-AC_SUBST([install_sh])])
-
-# Copyright (C) 2003-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# Check whether the underlying file-system supports filenames
-# with a leading dot. For instance MS-DOS doesn't.
-AC_DEFUN([AM_SET_LEADING_DOT],
-[rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-AC_SUBST([am__leading_dot])])
-
-# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
-# From Jim Meyering
-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_MAINTAINER_MODE([DEFAULT-MODE])
-# ----------------------------------
-# Control maintainer-specific portions of Makefiles.
-# Default is to disable them, unless 'enable' is passed literally.
-# For symmetry, 'disable' may be passed as well. Anyway, the user
-# can override the default with the --enable/--disable switch.
-AC_DEFUN([AM_MAINTAINER_MODE],
-[m4_case(m4_default([$1], [disable]),
- [enable], [m4_define([am_maintainer_other], [disable])],
- [disable], [m4_define([am_maintainer_other], [enable])],
- [m4_define([am_maintainer_other], [enable])
- m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
- dnl maintainer-mode's default is 'disable' unless 'enable' is passed
- AC_ARG_ENABLE([maintainer-mode],
- [AS_HELP_STRING([--]am_maintainer_other[-maintainer-mode],
- am_maintainer_other[ make rules and dependencies not useful
- (and sometimes confusing) to the casual installer])],
- [USE_MAINTAINER_MODE=$enableval],
- [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
- AC_MSG_RESULT([$USE_MAINTAINER_MODE])
- AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
- MAINT=$MAINTAINER_MODE_TRUE
- AC_SUBST([MAINT])dnl
-]
-)
-
-# Check to see how 'make' treats includes. -*- Autoconf -*-
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_MAKE_INCLUDE()
-# -----------------
-# Check to see how make treats includes.
-AC_DEFUN([AM_MAKE_INCLUDE],
-[am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-AC_MSG_CHECKING([for style of include used by $am_make])
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-AC_SUBST([am__include])
-AC_SUBST([am__quote])
-AC_MSG_RESULT([$_am_result])
-rm -f confinc confmf
-])
-
-# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
-
-# Copyright (C) 1997-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_MISSING_PROG(NAME, PROGRAM)
-# ------------------------------
-AC_DEFUN([AM_MISSING_PROG],
-[AC_REQUIRE([AM_MISSING_HAS_RUN])
-$1=${$1-"${am_missing_run}$2"}
-AC_SUBST($1)])
-
-# AM_MISSING_HAS_RUN
-# ------------------
-# Define MISSING if not defined so far and test if it is modern enough.
-# If it is, set am_missing_run to use it, otherwise, to nothing.
-AC_DEFUN([AM_MISSING_HAS_RUN],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([missing])dnl
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --is-lightweight"; then
- am_missing_run="$MISSING "
-else
- am_missing_run=
- AC_MSG_WARN(['missing' script is too old or missing])
-fi
-])
-
-# Helper functions for option handling. -*- Autoconf -*-
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# _AM_MANGLE_OPTION(NAME)
-# -----------------------
-AC_DEFUN([_AM_MANGLE_OPTION],
-[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
-
-# _AM_SET_OPTION(NAME)
-# --------------------
-# Set option NAME. Presently that only means defining a flag for this option.
-AC_DEFUN([_AM_SET_OPTION],
-[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
-
-# _AM_SET_OPTIONS(OPTIONS)
-# ------------------------
-# OPTIONS is a space-separated list of Automake options.
-AC_DEFUN([_AM_SET_OPTIONS],
-[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
-
-# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
-# -------------------------------------------
-# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
-AC_DEFUN([_AM_IF_OPTION],
-[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
-
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# _AM_PROG_CC_C_O
-# ---------------
-# Like AC_PROG_CC_C_O, but changed for automake. We rewrite AC_PROG_CC
-# to automatically call this.
-AC_DEFUN([_AM_PROG_CC_C_O],
-[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-AC_REQUIRE_AUX_FILE([compile])dnl
-AC_LANG_PUSH([C])dnl
-AC_CACHE_CHECK(
- [whether $CC understands -c and -o together],
- [am_cv_prog_cc_c_o],
- [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i])
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-AC_LANG_POP([C])])
-
-# For backward compatibility.
-AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_RUN_LOG(COMMAND)
-# -------------------
-# Run COMMAND, save the exit status in ac_status, and log it.
-# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
-AC_DEFUN([AM_RUN_LOG],
-[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
- ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
- (exit $ac_status); }])
-
-# Check to make sure that the build environment is sane. -*- Autoconf -*-
-
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_SANITY_CHECK
-# ---------------
-AC_DEFUN([AM_SANITY_CHECK],
-[AC_MSG_CHECKING([whether build environment is sane])
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[[\\\"\#\$\&\'\`$am_lf]]*)
- AC_MSG_ERROR([unsafe absolute working directory name]);;
-esac
-case $srcdir in
- *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
- AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$[*]" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$[*]" != "X $srcdir/configure conftest.file" \
- && test "$[*]" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
- alias in your environment])
- fi
- if test "$[2]" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$[2]" = conftest.file
- )
-then
- # Ok.
- :
-else
- AC_MSG_ERROR([newly created file is older than distributed files!
-Check your system clock])
-fi
-AC_MSG_RESULT([yes])
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-AC_CONFIG_COMMANDS_PRE(
- [AC_MSG_CHECKING([that generated files are newer than configure])
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- AC_MSG_RESULT([done])])
-rm -f conftest.file
-])
-
-# Copyright (C) 2009-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_SILENT_RULES([DEFAULT])
-# --------------------------
-# Enable less verbose build rules; with the default set to DEFAULT
-# ("yes" being less verbose, "no" or empty being verbose).
-AC_DEFUN([AM_SILENT_RULES],
-[AC_ARG_ENABLE([silent-rules], [dnl
-AS_HELP_STRING(
- [--enable-silent-rules],
- [less verbose build output (undo: "make V=1")])
-AS_HELP_STRING(
- [--disable-silent-rules],
- [verbose build output (undo: "make V=0")])dnl
-])
-case $enable_silent_rules in @%:@ (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
-esac
-dnl
-dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
-dnl do not support nested variable expansions.
-dnl See automake bug#9928 and bug#10237.
-am_make=${MAKE-make}
-AC_CACHE_CHECK([whether $am_make supports nested variables],
- [am_cv_make_support_nested_variables],
- [if AS_ECHO([['TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi])
-if test $am_cv_make_support_nested_variables = yes; then
- dnl Using '$V' instead of '$(V)' breaks IRIX make.
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AC_SUBST([AM_V])dnl
-AM_SUBST_NOTMAKE([AM_V])dnl
-AC_SUBST([AM_DEFAULT_V])dnl
-AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
-AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
-AM_BACKSLASH='\'
-AC_SUBST([AM_BACKSLASH])dnl
-_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
-])
-
-# Copyright (C) 2001-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# AM_PROG_INSTALL_STRIP
-# ---------------------
-# One issue with vendor 'install' (even GNU) is that you can't
-# specify the program used to strip binaries. This is especially
-# annoying in cross-compiling environments, where the build's strip
-# is unlikely to handle the host's binaries.
-# Fortunately install-sh will honor a STRIPPROG variable, so we
-# always use install-sh in "make install-strip", and initialize
-# STRIPPROG with the value of the STRIP variable (set by the user).
-AC_DEFUN([AM_PROG_INSTALL_STRIP],
-[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
-if test "$cross_compiling" != no; then
- AC_CHECK_TOOL([STRIP], [strip], :)
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-AC_SUBST([INSTALL_STRIP_PROGRAM])])
-
-# Copyright (C) 2006-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# _AM_SUBST_NOTMAKE(VARIABLE)
-# ---------------------------
-# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
-# This macro is traced by Automake.
-AC_DEFUN([_AM_SUBST_NOTMAKE])
-
-# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
-# Public sister of _AM_SUBST_NOTMAKE.
-AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
-
-# Check how to create a tarball. -*- Autoconf -*-
-
-# Copyright (C) 2004-2013 Free Software Foundation, Inc.
-#
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# _AM_PROG_TAR(FORMAT)
-# --------------------
-# Check how to create a tarball in format FORMAT.
-# FORMAT should be one of 'v7', 'ustar', or 'pax'.
-#
-# Substitute a variable $(am__tar) that is a command
-# writing to stdout a FORMAT-tarball containing the directory
-# $tardir.
-# tardir=directory && $(am__tar) > result.tar
-#
-# Substitute a variable $(am__untar) that extract such
-# a tarball read from stdin.
-# $(am__untar) < result.tar
-#
-AC_DEFUN([_AM_PROG_TAR],
-[# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AC_SUBST([AMTAR], ['$${TAR-tar}'])
-
-# We'll loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
-
-m4_if([$1], [v7],
- [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
-
- [m4_case([$1],
- [ustar],
- [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
- # There is notably a 21 bits limit for the UID and the GID. In fact,
- # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
- # and bug#13588).
- am_max_uid=2097151 # 2^21 - 1
- am_max_gid=$am_max_uid
- # The $UID and $GID variables are not portable, so we need to resort
- # to the POSIX-mandated id(1) utility. Errors in the 'id' calls
- # below are definitely unexpected, so allow the users to see them
- # (that is, avoid stderr redirection).
- am_uid=`id -u || echo unknown`
- am_gid=`id -g || echo unknown`
- AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
- if test $am_uid -le $am_max_uid; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- _am_tools=none
- fi
- AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
- if test $am_gid -le $am_max_gid; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- _am_tools=none
- fi],
-
- [pax],
- [],
-
- [m4_fatal([Unknown tar format])])
-
- AC_MSG_CHECKING([how to create a $1 tar archive])
-
- # Go ahead even if we have the value already cached. We do so because we
- # need to set the values for the 'am__tar' and 'am__untar' variables.
- _am_tools=${am_cv_prog_tar_$1-$_am_tools}
-
- for _am_tool in $_am_tools; do
- case $_am_tool in
- gnutar)
- for _am_tar in tar gnutar gtar; do
- AM_RUN_LOG([$_am_tar --version]) && break
- done
- am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
- am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
- am__untar="$_am_tar -xf -"
- ;;
- plaintar)
- # Must skip GNU tar: if it does not support --format= it doesn't create
- # ustar tarball either.
- (tar --version) >/dev/null 2>&1 && continue
- am__tar='tar chf - "$$tardir"'
- am__tar_='tar chf - "$tardir"'
- am__untar='tar xf -'
- ;;
- pax)
- am__tar='pax -L -x $1 -w "$$tardir"'
- am__tar_='pax -L -x $1 -w "$tardir"'
- am__untar='pax -r'
- ;;
- cpio)
- am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
- am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
- am__untar='cpio -i -H $1 -d'
- ;;
- none)
- am__tar=false
- am__tar_=false
- am__untar=false
- ;;
- esac
-
- # If the value was cached, stop now. We just wanted to have am__tar
- # and am__untar set.
- test -n "${am_cv_prog_tar_$1}" && break
-
- # tar/untar a dummy directory, and stop if the command works.
- rm -rf conftest.dir
- mkdir conftest.dir
- echo GrepMe > conftest.dir/file
- AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
- rm -rf conftest.dir
- if test -s conftest.tar; then
- AM_RUN_LOG([$am__untar <conftest.tar])
- AM_RUN_LOG([cat conftest.dir/file])
- grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
- fi
- done
- rm -rf conftest.dir
-
- AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
- AC_MSG_RESULT([$am_cv_prog_tar_$1])])
-
-AC_SUBST([am__tar])
-AC_SUBST([am__untar])
-]) # _AM_PROG_TAR
-
-m4_include([../../m4/kpse-common.m4])
-m4_include([../../m4/kpse-paper-flags.m4])
-m4_include([../../m4/kpse-warnings.m4])
-m4_include([../../m4/kpse-win32.m4])
diff --git a/Build/source/utils/psutils/config.h.in b/Build/source/utils/psutils/config.h.in
deleted file mode 100644
index 984d2f843a0..00000000000
--- a/Build/source/utils/psutils/config.h.in
+++ /dev/null
@@ -1,87 +0,0 @@
-/* config.h.in. Generated from configure.ac by autoheader. */
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Enable extensions on AIX 3, Interix. */
-#ifndef _ALL_SOURCE
-# undef _ALL_SOURCE
-#endif
-/* Enable GNU extensions on systems that have them. */
-#ifndef _GNU_SOURCE
-# undef _GNU_SOURCE
-#endif
-/* Enable threading extensions on Solaris. */
-#ifndef _POSIX_PTHREAD_SEMANTICS
-# undef _POSIX_PTHREAD_SEMANTICS
-#endif
-/* Enable extensions on HP NonStop. */
-#ifndef _TANDEM_SOURCE
-# undef _TANDEM_SOURCE
-#endif
-/* Enable general extensions on Solaris. */
-#ifndef __EXTENSIONS__
-# undef __EXTENSIONS__
-#endif
-
-
-/* Version number of package */
-#undef VERSION
-
-/* Define to 1 if on MINIX. */
-#undef _MINIX
-
-/* Define to 2 if the system does not provide POSIX.1 features except with
- this defined. */
-#undef _POSIX_1_SOURCE
-
-/* Define to 1 if you need to in order for `stat' and other things to work. */
-#undef _POSIX_SOURCE
diff --git a/Build/source/utils/psutils/configure b/Build/source/utils/psutils/configure
deleted file mode 100755
index 32cf09eeac5..00000000000
--- a/Build/source/utils/psutils/configure
+++ /dev/null
@@ -1,6839 +0,0 @@
-#! /bin/sh
-# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for psutils (TeX Live) 1.21.
-#
-# Report bugs to <tex-k@tug.org>.
-#
-#
-# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
-#
-#
-# This configure script is free software; the Free Software Foundation
-# gives unlimited permission to copy, distribute and modify it.
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-# Use a proper internal environment variable to ensure we don't fall
- # into an infinite loop, continuously re-executing ourselves.
- if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
- _as_can_reexec=no; export _as_can_reexec;
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-as_fn_exit 255
- fi
- # We don't want this to propagate to other subprocesses.
- { _as_can_reexec=; unset _as_can_reexec;}
-if test "x$CONFIG_SHELL" = x; then
- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '\${1+\"\$@\"}'='\"\$@\"'
- setopt NO_GLOB_SUBST
-else
- case \`(set -o) 2>/dev/null\` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-"
- as_required="as_fn_return () { (exit \$1); }
-as_fn_success () { as_fn_return 0; }
-as_fn_failure () { as_fn_return 1; }
-as_fn_ret_success () { return 0; }
-as_fn_ret_failure () { return 1; }
-
-exitcode=0
-as_fn_success || { exitcode=1; echo as_fn_success failed.; }
-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
-
-else
- exitcode=1; echo positional parameters were not saved.
-fi
-test x\$exitcode = x0 || exit 1
-test -x / || exit 1"
- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
-test \$(( 1 + 1 )) = 2 || exit 1"
- if (eval "$as_required") 2>/dev/null; then :
- as_have_required=yes
-else
- as_have_required=no
-fi
- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
-
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-as_found=false
-for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- as_found=:
- case $as_dir in #(
- /*)
- for as_base in sh bash ksh sh5; do
- # Try only shells that exist, to save several forks.
- as_shell=$as_dir/$as_base
- if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
- CONFIG_SHELL=$as_shell as_have_required=yes
- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
- break 2
-fi
-fi
- done;;
- esac
- as_found=false
-done
-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
- CONFIG_SHELL=$SHELL as_have_required=yes
-fi; }
-IFS=$as_save_IFS
-
-
- if test "x$CONFIG_SHELL" != x; then :
- export CONFIG_SHELL
- # We cannot yet assume a decent shell, so we have to provide a
-# neutralization value for shells without unset; and this also
-# works around shells that cannot unset nonexistent variables.
-# Preserve -v and -x to the replacement shell.
-BASH_ENV=/dev/null
-ENV=/dev/null
-(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
-esac
-exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
-# Admittedly, this is quite paranoid, since all the known shells bail
-# out after a failed `exec'.
-$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
-exit 255
-fi
-
- if test x$as_have_required = xno; then :
- $as_echo "$0: This script requires a shell more modern than all"
- $as_echo "$0: the shells that I found on your system."
- if test x${ZSH_VERSION+set} = xset ; then
- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
- $as_echo "$0: be upgraded to zsh 4.3.4 or later."
- else
- $as_echo "$0: Please tell bug-autoconf@gnu.org and tex-k@tug.org
-$0: about your system, including any error possibly output
-$0: before this message. Then install a modern shell, or
-$0: manually run the script under such a shell if you do
-$0: have one."
- fi
- exit 1
-fi
-fi
-fi
-SHELL=${CONFIG_SHELL-/bin/sh}
-export SHELL
-# Unset more variables known to interfere with behavior of common tools.
-CLICOLOR_FORCE= GREP_OPTIONS=
-unset CLICOLOR_FORCE GREP_OPTIONS
-
-## --------------------- ##
-## M4sh Shell Functions. ##
-## --------------------- ##
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-
- as_lineno_1=$LINENO as_lineno_1a=$LINENO
- as_lineno_2=$LINENO as_lineno_2a=$LINENO
- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
- sed -n '
- p
- /[$]LINENO/=
- ' <$as_myself |
- sed '
- s/[$]LINENO.*/&-/
- t lineno
- b
- :lineno
- N
- :loop
- s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
- t loop
- s/-\n.*//
- ' >$as_me.lineno &&
- chmod +x "$as_me.lineno" ||
- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
-
- # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
- # already done that, so ensure we don't try to do so again and fall
- # in an infinite loop. This has already happened in practice.
- _as_can_reexec=no; export _as_can_reexec
- # Don't try to exec as it changes $[0], causing all sort of problems
- # (the dirname of $[0] is not the place where we might find the
- # original and so on. Autoconf is especially sensitive to this).
- . "./$as_me.lineno"
- # Exit status is that of the last command.
- exit
-}
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-test -n "$DJDIR" || exec 7<&0 </dev/null
-exec 6>&1
-
-# Name of the host.
-# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
-# so uname gets run too.
-ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
-
-#
-# Initializations.
-#
-ac_default_prefix=/usr/local
-ac_clean_files=
-ac_config_libobj_dir=.
-LIBOBJS=
-cross_compiling=no
-subdirs=
-MFLAGS=
-MAKEFLAGS=
-
-# Identity of this package.
-PACKAGE_NAME='psutils (TeX Live)'
-PACKAGE_TARNAME='psutils--tex-live-'
-PACKAGE_VERSION='1.21'
-PACKAGE_STRING='psutils (TeX Live) 1.21'
-PACKAGE_BUGREPORT='tex-k@tug.org'
-PACKAGE_URL=''
-
-ac_unique_file="psutils-1.21/psutil.c"
-# Factoring default headers for most tests.
-ac_includes_default="\
-#include <stdio.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-# include <sys/stat.h>
-#endif
-#ifdef STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# ifdef HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-#ifdef HAVE_STRING_H
-# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
-# include <memory.h>
-# endif
-# include <string.h>
-#endif
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-#ifdef HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-#ifdef HAVE_STDINT_H
-# include <stdint.h>
-#endif
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif"
-
-ac_subst_vars='am__EXEEXT_FALSE
-am__EXEEXT_TRUE
-LTLIBOBJS
-LIBOBJS
-PSUTILS_TREE
-WIN32_WRAP_FALSE
-WIN32_WRAP_TRUE
-WIN32_FALSE
-WIN32_TRUE
-PAPER_RULE
-PAPER_DEPEND
-PAPER_LIBS
-PAPER_INCLUDES
-EGREP
-GREP
-CPP
-RANLIB
-LN_S
-WARNING_CFLAGS
-am__fastdepCC_FALSE
-am__fastdepCC_TRUE
-CCDEPMODE
-am__nodep
-AMDEPBACKSLASH
-AMDEP_FALSE
-AMDEP_TRUE
-am__quote
-am__include
-DEPDIR
-OBJEXT
-EXEEXT
-ac_ct_CC
-CPPFLAGS
-LDFLAGS
-CFLAGS
-CC
-MAINT
-MAINTAINER_MODE_FALSE
-MAINTAINER_MODE_TRUE
-AM_BACKSLASH
-AM_DEFAULT_VERBOSITY
-AM_DEFAULT_V
-AM_V
-am__untar
-am__tar
-AMTAR
-am__leading_dot
-SET_MAKE
-AWK
-mkdir_p
-MKDIR_P
-INSTALL_STRIP_PROGRAM
-STRIP
-install_sh
-MAKEINFO
-AUTOHEADER
-AUTOMAKE
-AUTOCONF
-ACLOCAL
-VERSION
-PACKAGE
-CYGPATH_W
-am__isrc
-INSTALL_DATA
-INSTALL_SCRIPT
-INSTALL_PROGRAM
-target_alias
-host_alias
-build_alias
-LIBS
-ECHO_T
-ECHO_N
-ECHO_C
-DEFS
-mandir
-localedir
-libdir
-psdir
-pdfdir
-dvidir
-htmldir
-infodir
-docdir
-oldincludedir
-includedir
-localstatedir
-sharedstatedir
-sysconfdir
-datadir
-datarootdir
-libexecdir
-sbindir
-bindir
-program_transform_name
-prefix
-exec_prefix
-PACKAGE_URL
-PACKAGE_BUGREPORT
-PACKAGE_STRING
-PACKAGE_VERSION
-PACKAGE_TARNAME
-PACKAGE_NAME
-PATH_SEPARATOR
-SHELL'
-ac_subst_files=''
-ac_user_opts='
-enable_option_checking
-enable_silent_rules
-enable_maintainer_mode
-enable_dependency_tracking
-enable_compiler_warnings
-with_system_paper
-with_paper_includes
-with_paper_libdir
-'
- ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-LIBS
-CPPFLAGS
-CPP'
-
-
-# Initialize some variables set by options.
-ac_init_help=
-ac_init_version=false
-ac_unrecognized_opts=
-ac_unrecognized_sep=
-# The variables have the same names as the options, with
-# dashes changed to underlines.
-cache_file=/dev/null
-exec_prefix=NONE
-no_create=
-no_recursion=
-prefix=NONE
-program_prefix=NONE
-program_suffix=NONE
-program_transform_name=s,x,x,
-silent=
-site=
-srcdir=
-verbose=
-x_includes=NONE
-x_libraries=NONE
-
-# Installation directory options.
-# These are left unexpanded so users can "make install exec_prefix=/foo"
-# and all the variables that are supposed to be based on exec_prefix
-# by default will actually change.
-# Use braces instead of parens because sh, perl, etc. also accept them.
-# (The list follows the same order as the GNU Coding Standards.)
-bindir='${exec_prefix}/bin'
-sbindir='${exec_prefix}/sbin'
-libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
-sysconfdir='${prefix}/etc'
-sharedstatedir='${prefix}/com'
-localstatedir='${prefix}/var'
-includedir='${prefix}/include'
-oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
-
-ac_prev=
-ac_dashdash=
-for ac_option
-do
- # If the previous option needs an argument, assign it.
- if test -n "$ac_prev"; then
- eval $ac_prev=\$ac_option
- ac_prev=
- continue
- fi
-
- case $ac_option in
- *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
- *=) ac_optarg= ;;
- *) ac_optarg=yes ;;
- esac
-
- # Accept the important Cygnus configure options, so we can diagnose typos.
-
- case $ac_dashdash$ac_option in
- --)
- ac_dashdash=yes ;;
-
- -bindir | --bindir | --bindi | --bind | --bin | --bi)
- ac_prev=bindir ;;
- -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
- bindir=$ac_optarg ;;
-
- -build | --build | --buil | --bui | --bu)
- ac_prev=build_alias ;;
- -build=* | --build=* | --buil=* | --bui=* | --bu=*)
- build_alias=$ac_optarg ;;
-
- -cache-file | --cache-file | --cache-fil | --cache-fi \
- | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
- ac_prev=cache_file ;;
- -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
- | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
- cache_file=$ac_optarg ;;
-
- --config-cache | -C)
- cache_file=config.cache ;;
-
- -datadir | --datadir | --datadi | --datad)
- ac_prev=datadir ;;
- -datadir=* | --datadir=* | --datadi=* | --datad=*)
- datadir=$ac_optarg ;;
-
- -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
- | --dataroo | --dataro | --datar)
- ac_prev=datarootdir ;;
- -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
- | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
- datarootdir=$ac_optarg ;;
-
- -disable-* | --disable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=no ;;
-
- -docdir | --docdir | --docdi | --doc | --do)
- ac_prev=docdir ;;
- -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
- docdir=$ac_optarg ;;
-
- -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
- ac_prev=dvidir ;;
- -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
- dvidir=$ac_optarg ;;
-
- -enable-* | --enable-*)
- ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid feature name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"enable_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval enable_$ac_useropt=\$ac_optarg ;;
-
- -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
- | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
- | --exec | --exe | --ex)
- ac_prev=exec_prefix ;;
- -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
- | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
- | --exec=* | --exe=* | --ex=*)
- exec_prefix=$ac_optarg ;;
-
- -gas | --gas | --ga | --g)
- # Obsolete; use --with-gas.
- with_gas=yes ;;
-
- -help | --help | --hel | --he | -h)
- ac_init_help=long ;;
- -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
- ac_init_help=recursive ;;
- -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
- ac_init_help=short ;;
-
- -host | --host | --hos | --ho)
- ac_prev=host_alias ;;
- -host=* | --host=* | --hos=* | --ho=*)
- host_alias=$ac_optarg ;;
-
- -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
- ac_prev=htmldir ;;
- -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
- | --ht=*)
- htmldir=$ac_optarg ;;
-
- -includedir | --includedir | --includedi | --included | --include \
- | --includ | --inclu | --incl | --inc)
- ac_prev=includedir ;;
- -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
- | --includ=* | --inclu=* | --incl=* | --inc=*)
- includedir=$ac_optarg ;;
-
- -infodir | --infodir | --infodi | --infod | --info | --inf)
- ac_prev=infodir ;;
- -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
- infodir=$ac_optarg ;;
-
- -libdir | --libdir | --libdi | --libd)
- ac_prev=libdir ;;
- -libdir=* | --libdir=* | --libdi=* | --libd=*)
- libdir=$ac_optarg ;;
-
- -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
- | --libexe | --libex | --libe)
- ac_prev=libexecdir ;;
- -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
- | --libexe=* | --libex=* | --libe=*)
- libexecdir=$ac_optarg ;;
-
- -localedir | --localedir | --localedi | --localed | --locale)
- ac_prev=localedir ;;
- -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
- localedir=$ac_optarg ;;
-
- -localstatedir | --localstatedir | --localstatedi | --localstated \
- | --localstate | --localstat | --localsta | --localst | --locals)
- ac_prev=localstatedir ;;
- -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
- | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
- localstatedir=$ac_optarg ;;
-
- -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
- ac_prev=mandir ;;
- -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
- mandir=$ac_optarg ;;
-
- -nfp | --nfp | --nf)
- # Obsolete; use --without-fp.
- with_fp=no ;;
-
- -no-create | --no-create | --no-creat | --no-crea | --no-cre \
- | --no-cr | --no-c | -n)
- no_create=yes ;;
-
- -no-recursion | --no-recursion | --no-recursio | --no-recursi \
- | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
- no_recursion=yes ;;
-
- -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
- | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
- | --oldin | --oldi | --old | --ol | --o)
- ac_prev=oldincludedir ;;
- -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
- | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
- | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
- oldincludedir=$ac_optarg ;;
-
- -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
- ac_prev=prefix ;;
- -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
- prefix=$ac_optarg ;;
-
- -program-prefix | --program-prefix | --program-prefi | --program-pref \
- | --program-pre | --program-pr | --program-p)
- ac_prev=program_prefix ;;
- -program-prefix=* | --program-prefix=* | --program-prefi=* \
- | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
- program_prefix=$ac_optarg ;;
-
- -program-suffix | --program-suffix | --program-suffi | --program-suff \
- | --program-suf | --program-su | --program-s)
- ac_prev=program_suffix ;;
- -program-suffix=* | --program-suffix=* | --program-suffi=* \
- | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
- program_suffix=$ac_optarg ;;
-
- -program-transform-name | --program-transform-name \
- | --program-transform-nam | --program-transform-na \
- | --program-transform-n | --program-transform- \
- | --program-transform | --program-transfor \
- | --program-transfo | --program-transf \
- | --program-trans | --program-tran \
- | --progr-tra | --program-tr | --program-t)
- ac_prev=program_transform_name ;;
- -program-transform-name=* | --program-transform-name=* \
- | --program-transform-nam=* | --program-transform-na=* \
- | --program-transform-n=* | --program-transform-=* \
- | --program-transform=* | --program-transfor=* \
- | --program-transfo=* | --program-transf=* \
- | --program-trans=* | --program-tran=* \
- | --progr-tra=* | --program-tr=* | --program-t=*)
- program_transform_name=$ac_optarg ;;
-
- -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
- ac_prev=pdfdir ;;
- -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
- pdfdir=$ac_optarg ;;
-
- -psdir | --psdir | --psdi | --psd | --ps)
- ac_prev=psdir ;;
- -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
- psdir=$ac_optarg ;;
-
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- silent=yes ;;
-
- -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
- ac_prev=sbindir ;;
- -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
- | --sbi=* | --sb=*)
- sbindir=$ac_optarg ;;
-
- -sharedstatedir | --sharedstatedir | --sharedstatedi \
- | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
- | --sharedst | --shareds | --shared | --share | --shar \
- | --sha | --sh)
- ac_prev=sharedstatedir ;;
- -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
- | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
- | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
- | --sha=* | --sh=*)
- sharedstatedir=$ac_optarg ;;
-
- -site | --site | --sit)
- ac_prev=site ;;
- -site=* | --site=* | --sit=*)
- site=$ac_optarg ;;
-
- -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
- ac_prev=srcdir ;;
- -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
- srcdir=$ac_optarg ;;
-
- -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
- | --syscon | --sysco | --sysc | --sys | --sy)
- ac_prev=sysconfdir ;;
- -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
- | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
- sysconfdir=$ac_optarg ;;
-
- -target | --target | --targe | --targ | --tar | --ta | --t)
- ac_prev=target_alias ;;
- -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
- target_alias=$ac_optarg ;;
-
- -v | -verbose | --verbose | --verbos | --verbo | --verb)
- verbose=yes ;;
-
- -version | --version | --versio | --versi | --vers | -V)
- ac_init_version=: ;;
-
- -with-* | --with-*)
- ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=\$ac_optarg ;;
-
- -without-* | --without-*)
- ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
- # Reject names that are not valid shell variable names.
- expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
- as_fn_error $? "invalid package name: $ac_useropt"
- ac_useropt_orig=$ac_useropt
- ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
- case $ac_user_opts in
- *"
-"with_$ac_useropt"
-"*) ;;
- *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
- ac_unrecognized_sep=', ';;
- esac
- eval with_$ac_useropt=no ;;
-
- --x)
- # Obsolete; use --with-x.
- with_x=yes ;;
-
- -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
- | --x-incl | --x-inc | --x-in | --x-i)
- ac_prev=x_includes ;;
- -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
- | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
- x_includes=$ac_optarg ;;
-
- -x-libraries | --x-libraries | --x-librarie | --x-librari \
- | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
- ac_prev=x_libraries ;;
- -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
- | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
- x_libraries=$ac_optarg ;;
-
- -*) as_fn_error $? "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information"
- ;;
-
- *=*)
- ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
- # Reject names that are not valid shell variable names.
- case $ac_envvar in #(
- '' | [0-9]* | *[!_$as_cr_alnum]* )
- as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
- esac
- eval $ac_envvar=\$ac_optarg
- export $ac_envvar ;;
-
- *)
- # FIXME: should be removed in autoconf 3.0.
- $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
- expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
- $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
- : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
- ;;
-
- esac
-done
-
-if test -n "$ac_prev"; then
- ac_option=--`echo $ac_prev | sed 's/_/-/g'`
- as_fn_error $? "missing argument to $ac_option"
-fi
-
-if test -n "$ac_unrecognized_opts"; then
- case $enable_option_checking in
- no) ;;
- fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
- *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
- esac
-fi
-
-# Check all directory arguments for consistency.
-for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
- datadir sysconfdir sharedstatedir localstatedir includedir \
- oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
- libdir localedir mandir
-do
- eval ac_val=\$$ac_var
- # Remove trailing slashes.
- case $ac_val in
- */ )
- ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
- eval $ac_var=\$ac_val;;
- esac
- # Be sure to have absolute directory names.
- case $ac_val in
- [\\/$]* | ?:[\\/]* ) continue;;
- NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
- esac
- as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
-done
-
-# There might be people who depend on the old broken behavior: `$host'
-# used to hold the argument of --host etc.
-# FIXME: To remove some day.
-build=$build_alias
-host=$host_alias
-target=$target_alias
-
-# FIXME: To remove some day.
-if test "x$host_alias" != x; then
- if test "x$build_alias" = x; then
- cross_compiling=maybe
- elif test "x$build_alias" != "x$host_alias"; then
- cross_compiling=yes
- fi
-fi
-
-ac_tool_prefix=
-test -n "$host_alias" && ac_tool_prefix=$host_alias-
-
-test "$silent" = yes && exec 6>/dev/null
-
-
-ac_pwd=`pwd` && test -n "$ac_pwd" &&
-ac_ls_di=`ls -di .` &&
-ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
- as_fn_error $? "working directory cannot be determined"
-test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
- as_fn_error $? "pwd does not report name of working directory"
-
-
-# Find the source files, if location was not specified.
-if test -z "$srcdir"; then
- ac_srcdir_defaulted=yes
- # Try the directory containing this script, then the parent directory.
- ac_confdir=`$as_dirname -- "$as_myself" ||
-$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_myself" : 'X\(//\)[^/]' \| \
- X"$as_myself" : 'X\(//\)$' \| \
- X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_myself" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- srcdir=$ac_confdir
- if test ! -r "$srcdir/$ac_unique_file"; then
- srcdir=..
- fi
-else
- ac_srcdir_defaulted=no
-fi
-if test ! -r "$srcdir/$ac_unique_file"; then
- test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
- as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
-fi
-ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
-ac_abs_confdir=`(
- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
- pwd)`
-# When building in place, set srcdir=.
-if test "$ac_abs_confdir" = "$ac_pwd"; then
- srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
- eval ac_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_env_${ac_var}_value=\$${ac_var}
- eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
- eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
-
-#
-# Report the --help message.
-#
-if test "$ac_init_help" = "long"; then
- # Omit some internal or obsolete options to make the list less imposing.
- # This message is too long to be a string in the A/UX 3.1 sh.
- cat <<_ACEOF
-\`configure' configures psutils (TeX Live) 1.21 to adapt to many kinds of systems.
-
-Usage: $0 [OPTION]... [VAR=VALUE]...
-
-To assign environment variables (e.g., CC, CFLAGS...), specify them as
-VAR=VALUE. See below for descriptions of some of the useful variables.
-
-Defaults for the options are specified in brackets.
-
-Configuration:
- -h, --help display this help and exit
- --help=short display options specific to this package
- --help=recursive display the short help of all the included packages
- -V, --version display version information and exit
- -q, --quiet, --silent do not print \`checking ...' messages
- --cache-file=FILE cache test results in FILE [disabled]
- -C, --config-cache alias for \`--cache-file=config.cache'
- -n, --no-create do not create output files
- --srcdir=DIR find the sources in DIR [configure dir or \`..']
-
-Installation directories:
- --prefix=PREFIX install architecture-independent files in PREFIX
- [$ac_default_prefix]
- --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
- [PREFIX]
-
-By default, \`make install' will install all the files in
-\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
-an installation prefix other than \`$ac_default_prefix' using \`--prefix',
-for instance \`--prefix=\$HOME'.
-
-For better control, use the options below.
-
-Fine tuning of the installation directories:
- --bindir=DIR user executables [EPREFIX/bin]
- --sbindir=DIR system admin executables [EPREFIX/sbin]
- --libexecdir=DIR program executables [EPREFIX/libexec]
- --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
- --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
- --localstatedir=DIR modifiable single-machine data [PREFIX/var]
- --libdir=DIR object code libraries [EPREFIX/lib]
- --includedir=DIR C header files [PREFIX/include]
- --oldincludedir=DIR C header files for non-gcc [/usr/include]
- --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
- --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
- --infodir=DIR info documentation [DATAROOTDIR/info]
- --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
- --mandir=DIR man documentation [DATAROOTDIR/man]
- --docdir=DIR documentation root
- [DATAROOTDIR/doc/psutils--tex-live-]
- --htmldir=DIR html documentation [DOCDIR]
- --dvidir=DIR dvi documentation [DOCDIR]
- --pdfdir=DIR pdf documentation [DOCDIR]
- --psdir=DIR ps documentation [DOCDIR]
-_ACEOF
-
- cat <<\_ACEOF
-
-Program names:
- --program-prefix=PREFIX prepend PREFIX to installed program names
- --program-suffix=SUFFIX append SUFFIX to installed program names
- --program-transform-name=PROGRAM run sed PROGRAM on installed program names
-_ACEOF
-fi
-
-if test -n "$ac_init_help"; then
- case $ac_init_help in
- short | recursive ) echo "Configuration of psutils (TeX Live) 1.21:";;
- esac
- cat <<\_ACEOF
-
-Optional Features:
- --disable-option-checking ignore unrecognized --enable/--with options
- --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
- --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
- --enable-silent-rules less verbose build output (undo: "make V=1")
- --disable-silent-rules verbose build output (undo: "make V=0")
- --enable-maintainer-mode
- enable make rules and dependencies not useful (and
- sometimes confusing) to the casual installer
- --enable-dependency-tracking
- do not reject slow dependency extractors
- --disable-dependency-tracking
- speeds up one-time build
- --enable-compiler-warnings=[no|min|yes|max|all]
- Turn on compiler warnings [default: yes if
- maintainer-mode, min otherwise]
-
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-system-paper use installed paper headers and library
- --with-paper-includes=DIR
- paper headers installed in DIR
- --with-paper-libdir=DIR paper library installed in DIR
-
-Some influential environment variables:
- CC C compiler command
- CFLAGS C compiler flags
- LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
- nonstandard directory <lib dir>
- LIBS libraries to pass to the linker, e.g. -l<library>
- CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
- you have headers in a nonstandard directory <include dir>
- CPP C preprocessor
-
-Use these variables to override the choices made by `configure' or to help
-it to find libraries and programs with nonstandard names/locations.
-
-Report bugs to <tex-k@tug.org>.
-_ACEOF
-ac_status=$?
-fi
-
-if test "$ac_init_help" = "recursive"; then
- # If there are subdirs, report their specific --help.
- for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
- test -d "$ac_dir" ||
- { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
- continue
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
- cd "$ac_dir" || { ac_status=$?; continue; }
- # Check for guested configure.
- if test -f "$ac_srcdir/configure.gnu"; then
- echo &&
- $SHELL "$ac_srcdir/configure.gnu" --help=recursive
- elif test -f "$ac_srcdir/configure"; then
- echo &&
- $SHELL "$ac_srcdir/configure" --help=recursive
- else
- $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
- fi || ac_status=$?
- cd "$ac_pwd" || { ac_status=$?; break; }
- done
-fi
-
-test -n "$ac_init_help" && exit $ac_status
-if $ac_init_version; then
- cat <<\_ACEOF
-psutils (TeX Live) configure 1.21
-generated by GNU Autoconf 2.69
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This configure script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it.
-_ACEOF
- exit
-fi
-
-## ------------------------ ##
-## Autoconf initialization. ##
-## ------------------------ ##
-
-# ac_fn_c_try_compile LINENO
-# --------------------------
-# Try to compile conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext
- if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest.$ac_objext; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_compile
-
-# ac_fn_c_try_link LINENO
-# -----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_link ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- rm -f conftest.$ac_objext conftest$ac_exeext
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && {
- test -z "$ac_c_werror_flag" ||
- test ! -s conftest.err
- } && test -s conftest$ac_exeext && {
- test "$cross_compiling" = yes ||
- test -x conftest$ac_exeext
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
- # interfere with the next link command; also delete a directory that is
- # left behind by Apple's compiler. We do this before executing the actions.
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_link
-
-# ac_fn_c_try_cpp LINENO
-# ----------------------
-# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
-ac_fn_c_try_cpp ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_cpp conftest.$ac_ext"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- grep -v '^ *+' conftest.err >conftest.er1
- cat conftest.er1 >&5
- mv -f conftest.er1 conftest.err
- fi
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } > conftest.i && {
- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
- test ! -s conftest.err
- }; then :
- ac_retval=0
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=1
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_cpp
-
-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists, giving a warning if it cannot be compiled using
-# the include files in INCLUDES and setting the cache variable VAR
-# accordingly.
-ac_fn_c_check_header_mongrel ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if eval \${$3+:} false; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-else
- # Is the header compilable?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
-$as_echo_n "checking $2 usability... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_header_compiler=yes
-else
- ac_header_compiler=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
-$as_echo "$ac_header_compiler" >&6; }
-
-# Is the header present?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
-$as_echo_n "checking $2 presence... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <$2>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- ac_header_preproc=yes
-else
- ac_header_preproc=no
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
-$as_echo "$ac_header_preproc" >&6; }
-
-# So? What about this header?
-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
- yes:no: )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
- ;;
- no:yes:* )
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
-( $as_echo "## ---------------------------- ##
-## Report this to tex-k@tug.org ##
-## ---------------------------- ##"
- ) | sed "s/^/$as_me: WARNING: /" >&2
- ;;
-esac
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- eval "$3=\$ac_header_compiler"
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
-fi
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_mongrel
-
-# ac_fn_c_try_run LINENO
-# ----------------------
-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
-# that executables *can* be run.
-ac_fn_c_try_run ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then :
- ac_retval=0
-else
- $as_echo "$as_me: program exited with status $ac_status" >&5
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
- ac_retval=$ac_status
-fi
- rm -rf conftest.dSYM conftest_ipa8_conftest.oo
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
- as_fn_set_status $ac_retval
-
-} # ac_fn_c_try_run
-
-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
-# -------------------------------------------------------
-# Tests whether HEADER exists and can be compiled using the include files in
-# INCLUDES, setting the cache variable VAR accordingly.
-ac_fn_c_check_header_compile ()
-{
- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
-$as_echo_n "checking for $2... " >&6; }
-if eval \${$3+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-$4
-#include <$2>
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- eval "$3=yes"
-else
- eval "$3=no"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-eval ac_res=\$$3
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
-$as_echo "$ac_res" >&6; }
- eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
-
-} # ac_fn_c_check_header_compile
-cat >config.log <<_ACEOF
-This file contains any messages produced by compilers while
-running configure, to aid debugging if configure makes a mistake.
-
-It was created by psutils (TeX Live) $as_me 1.21, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- $ $0 $@
-
-_ACEOF
-exec 5>>config.log
-{
-cat <<_ASUNAME
-## --------- ##
-## Platform. ##
-## --------- ##
-
-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
-uname -m = `(uname -m) 2>/dev/null || echo unknown`
-uname -r = `(uname -r) 2>/dev/null || echo unknown`
-uname -s = `(uname -s) 2>/dev/null || echo unknown`
-uname -v = `(uname -v) 2>/dev/null || echo unknown`
-
-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
-
-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
-
-_ASUNAME
-
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- $as_echo "PATH: $as_dir"
- done
-IFS=$as_save_IFS
-
-} >&5
-
-cat >&5 <<_ACEOF
-
-
-## ----------- ##
-## Core tests. ##
-## ----------- ##
-
-_ACEOF
-
-
-# Keep a trace of the command line.
-# Strip out --no-create and --no-recursion so they do not pile up.
-# Strip out --silent because we don't want to record it for future runs.
-# Also quote any args containing shell meta-characters.
-# Make two passes to allow for proper duplicate-argument suppression.
-ac_configure_args=
-ac_configure_args0=
-ac_configure_args1=
-ac_must_keep_next=false
-for ac_pass in 1 2
-do
- for ac_arg
- do
- case $ac_arg in
- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil)
- continue ;;
- *\'*)
- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- case $ac_pass in
- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
- 2)
- as_fn_append ac_configure_args1 " '$ac_arg'"
- if test $ac_must_keep_next = true; then
- ac_must_keep_next=false # Got value, back to normal.
- else
- case $ac_arg in
- *=* | --config-cache | -C | -disable-* | --disable-* \
- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
- | -with-* | --with-* | -without-* | --without-* | --x)
- case "$ac_configure_args0 " in
- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
- esac
- ;;
- -* ) ac_must_keep_next=true ;;
- esac
- fi
- as_fn_append ac_configure_args " '$ac_arg'"
- ;;
- esac
- done
-done
-{ ac_configure_args0=; unset ac_configure_args0;}
-{ ac_configure_args1=; unset ac_configure_args1;}
-
-# When interrupted or exit'd, cleanup temporary files, and complete
-# config.log. We remove comments because anyway the quotes in there
-# would cause problems or look ugly.
-# WARNING: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
-trap 'exit_status=$?
- # Save into config.log some information that might help in debugging.
- {
- echo
-
- $as_echo "## ---------------- ##
-## Cache variables. ##
-## ---------------- ##"
- echo
- # The following way of writing the cache mishandles newlines in values,
-(
- for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
- (set) 2>&1 |
- case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- sed -n \
- "s/'\''/'\''\\\\'\'''\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
- ;; #(
- *)
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-)
- echo
-
- $as_echo "## ----------------- ##
-## Output variables. ##
-## ----------------- ##"
- echo
- for ac_var in $ac_subst_vars
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
-
- if test -n "$ac_subst_files"; then
- $as_echo "## ------------------- ##
-## File substitutions. ##
-## ------------------- ##"
- echo
- for ac_var in $ac_subst_files
- do
- eval ac_val=\$$ac_var
- case $ac_val in
- *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
- esac
- $as_echo "$ac_var='\''$ac_val'\''"
- done | sort
- echo
- fi
-
- if test -s confdefs.h; then
- $as_echo "## ----------- ##
-## confdefs.h. ##
-## ----------- ##"
- echo
- cat confdefs.h
- echo
- fi
- test "$ac_signal" != 0 &&
- $as_echo "$as_me: caught signal $ac_signal"
- $as_echo "$as_me: exit $exit_status"
- } >&5
- rm -f core *.core core.conftest.* &&
- rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
- exit $exit_status
-' 0
-for ac_signal in 1 2 13 15; do
- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
-done
-ac_signal=0
-
-# confdefs.h avoids OS command line length limits that DEFS can exceed.
-rm -f -r conftest* confdefs.h
-
-$as_echo "/* confdefs.h */" > confdefs.h
-
-# Predefined preprocessor variables.
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_NAME "$PACKAGE_NAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_VERSION "$PACKAGE_VERSION"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_STRING "$PACKAGE_STRING"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
-_ACEOF
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE_URL "$PACKAGE_URL"
-_ACEOF
-
-
-# Let the site file select an alternate cache file if it wants to.
-# Prefer an explicitly selected file to automatically selected ones.
-ac_site_file1=NONE
-ac_site_file2=NONE
-if test -n "$CONFIG_SITE"; then
- # We do not want a PATH search for config.site.
- case $CONFIG_SITE in #((
- -*) ac_site_file1=./$CONFIG_SITE;;
- */*) ac_site_file1=$CONFIG_SITE;;
- *) ac_site_file1=./$CONFIG_SITE;;
- esac
-elif test "x$prefix" != xNONE; then
- ac_site_file1=$prefix/share/config.site
- ac_site_file2=$prefix/etc/config.site
-else
- ac_site_file1=$ac_default_prefix/share/config.site
- ac_site_file2=$ac_default_prefix/etc/config.site
-fi
-for ac_site_file in "$ac_site_file1" "$ac_site_file2"
-do
- test "x$ac_site_file" = xNONE && continue
- if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
-$as_echo "$as_me: loading site script $ac_site_file" >&6;}
- sed 's/^/| /' "$ac_site_file" >&5
- . "$ac_site_file" \
- || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "failed to load site script $ac_site_file
-See \`config.log' for more details" "$LINENO" 5; }
- fi
-done
-
-if test -r "$cache_file"; then
- # Some versions of bash will fail to source /dev/null (special files
- # actually), so we avoid doing that. DJGPP emulates it as a regular file.
- if test /dev/null != "$cache_file" && test -f "$cache_file"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
-$as_echo "$as_me: loading cache $cache_file" >&6;}
- case $cache_file in
- [\\/]* | ?:[\\/]* ) . "$cache_file";;
- *) . "./$cache_file";;
- esac
- fi
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
-$as_echo "$as_me: creating cache $cache_file" >&6;}
- >$cache_file
-fi
-
-# Check that the precious variables saved in the cache have kept the same
-# value.
-ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
- eval ac_old_set=\$ac_cv_env_${ac_var}_set
- eval ac_new_set=\$ac_env_${ac_var}_set
- eval ac_old_val=\$ac_cv_env_${ac_var}_value
- eval ac_new_val=\$ac_env_${ac_var}_value
- case $ac_old_set,$ac_new_set in
- set,)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,set)
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
-$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
- ac_cache_corrupted=: ;;
- ,);;
- *)
- if test "x$ac_old_val" != "x$ac_new_val"; then
- # differences in whitespace do not lead to failure.
- ac_old_val_w=`echo x $ac_old_val`
- ac_new_val_w=`echo x $ac_new_val`
- if test "$ac_old_val_w" != "$ac_new_val_w"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
-$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
- ac_cache_corrupted=:
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
-$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
- eval $ac_var=\$ac_old_val
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
-$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
-$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
- fi;;
- esac
- # Pass precious variables to config.status.
- if test "$ac_new_set" = set; then
- case $ac_new_val in
- *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
- *) ac_arg=$ac_var=$ac_new_val ;;
- esac
- case " $ac_configure_args " in
- *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
- *) as_fn_append ac_configure_args " '$ac_arg'" ;;
- esac
- fi
-done
-if $ac_cache_corrupted; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
-$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
- as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
-fi
-## -------------------- ##
-## Main body of script. ##
-## -------------------- ##
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
-ac_aux_dir=
-for ac_dir in ../../build-aux "$srcdir"/../../build-aux; do
- if test -f "$ac_dir/install-sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install-sh -c"
- break
- elif test -f "$ac_dir/install.sh"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/install.sh -c"
- break
- elif test -f "$ac_dir/shtool"; then
- ac_aux_dir=$ac_dir
- ac_install_sh="$ac_aux_dir/shtool install -c"
- break
- fi
-done
-if test -z "$ac_aux_dir"; then
- as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../../build-aux \"$srcdir\"/../../build-aux" "$LINENO" 5
-fi
-
-# These three variables are undocumented and unsupported,
-# and are intended to be withdrawn in a future Autoconf release.
-# They can cause serious problems if a builder's source tree is in a directory
-# whose full name contains unusual characters.
-ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
-ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
-ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-
-
-
-
-am__api_version='1.14'
-
-# Find a good install program. We prefer a C program (faster),
-# so one script is as good as another. But avoid the broken or
-# incompatible versions:
-# SysV /etc/install, /usr/sbin/install
-# SunOS /usr/etc/install
-# IRIX /sbin/install
-# AIX /bin/install
-# AmigaOS /C/install, which installs bootblocks on floppy discs
-# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
-# AFS /usr/afsws/bin/install, which mishandles nonexistent args
-# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
-# OS/2's system install, which has a completely different semantic
-# ./install, which can be erroneously created by make from ./install.sh.
-# Reject install programs that cannot install multiple files.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
-$as_echo_n "checking for a BSD-compatible install... " >&6; }
-if test -z "$INSTALL"; then
-if ${ac_cv_path_install+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- # Account for people who put trailing slashes in PATH elements.
-case $as_dir/ in #((
- ./ | .// | /[cC]/* | \
- /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
- /usr/ucb/* ) ;;
- *)
- # OSF1 and SCO ODT 3.0 have their own names for install.
- # Don't use installbsd from OSF since it installs stuff as root
- # by default.
- for ac_prog in ginstall scoinst install; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
- if test $ac_prog = install &&
- grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # AIX install. It has an incompatible calling convention.
- :
- elif test $ac_prog = install &&
- grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
- # program-specific install script used by HP pwplus--don't use.
- :
- else
- rm -rf conftest.one conftest.two conftest.dir
- echo one > conftest.one
- echo two > conftest.two
- mkdir conftest.dir
- if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
- test -s conftest.one && test -s conftest.two &&
- test -s conftest.dir/conftest.one &&
- test -s conftest.dir/conftest.two
- then
- ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
- break 3
- fi
- fi
- fi
- done
- done
- ;;
-esac
-
- done
-IFS=$as_save_IFS
-
-rm -rf conftest.one conftest.two conftest.dir
-
-fi
- if test "${ac_cv_path_install+set}" = set; then
- INSTALL=$ac_cv_path_install
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for INSTALL within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- INSTALL=$ac_install_sh
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
-$as_echo "$INSTALL" >&6; }
-
-# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
-# It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
-
-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
-
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
-$as_echo_n "checking whether build environment is sane... " >&6; }
-# Reject unsafe characters in $srcdir or the absolute working directory
-# name. Accept space and tab only in the latter.
-am_lf='
-'
-case `pwd` in
- *[\\\"\#\$\&\'\`$am_lf]*)
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
-esac
-case $srcdir in
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
- as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
-esac
-
-# Do 'set' in a subshell so we don't clobber the current shell's
-# arguments. Must try -L first in case configure is actually a
-# symlink; some systems play weird games with the mod time of symlinks
-# (eg FreeBSD returns the mod time of the symlink's containing
-# directory).
-if (
- am_has_slept=no
- for am_try in 1 2; do
- echo "timestamp, slept: $am_has_slept" > conftest.file
- set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
- if test "$*" = "X"; then
- # -L didn't work.
- set X `ls -t "$srcdir/configure" conftest.file`
- fi
- if test "$*" != "X $srcdir/configure conftest.file" \
- && test "$*" != "X conftest.file $srcdir/configure"; then
-
- # If neither matched, then we have a broken ls. This can happen
- # if, for instance, CONFIG_SHELL is bash and it inherits a
- # broken ls alias from the environment. This has actually
- # happened. Such a system could not be considered "sane".
- as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
- alias in your environment" "$LINENO" 5
- fi
- if test "$2" = conftest.file || test $am_try -eq 2; then
- break
- fi
- # Just in case.
- sleep 1
- am_has_slept=yes
- done
- test "$2" = conftest.file
- )
-then
- # Ok.
- :
-else
- as_fn_error $? "newly created file is older than distributed files!
-Check your system clock" "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-# If we didn't sleep, we still need to ensure time stamps of config.status and
-# generated files are strictly newer.
-am_sleep_pid=
-if grep 'slept: no' conftest.file >/dev/null 2>&1; then
- ( sleep 1 ) &
- am_sleep_pid=$!
-fi
-
-rm -f conftest.file
-
-test "$program_prefix" != NONE &&
- program_transform_name="s&^&$program_prefix&;$program_transform_name"
-# Use a double $ so make ignores it.
-test "$program_suffix" != NONE &&
- program_transform_name="s&\$&$program_suffix&;$program_transform_name"
-# Double any \ or $.
-# By default was `s,x,x', remove it if useless.
-ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
-program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
-
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
-
-if test x"${MISSING+set}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
- *)
- MISSING="\${SHELL} $am_aux_dir/missing" ;;
- esac
-fi
-# Use eval to expand $SHELL
-if eval "$MISSING --is-lightweight"; then
- am_missing_run="$MISSING "
-else
- am_missing_run=
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
-fi
-
-if test x"${install_sh}" != xset; then
- case $am_aux_dir in
- *\ * | *\ *)
- install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
- *)
- install_sh="\${SHELL} $am_aux_dir/install-sh"
- esac
-fi
-
-# Installed binaries are usually stripped using 'strip' when the user
-# run "make install-strip". However 'strip' might not be the right
-# tool to use in cross-compilation environments, therefore Automake
-# will honor the 'STRIP' environment variable to overrule this program.
-if test "$cross_compiling" != no; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
-set dummy ${ac_tool_prefix}strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$STRIP"; then
- ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_STRIP="${ac_tool_prefix}strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-STRIP=$ac_cv_prog_STRIP
-if test -n "$STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
-$as_echo "$STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_STRIP"; then
- ac_ct_STRIP=$STRIP
- # Extract the first word of "strip", so it can be a program name with args.
-set dummy strip; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_STRIP"; then
- ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_STRIP="strip"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
-if test -n "$ac_ct_STRIP"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
-$as_echo "$ac_ct_STRIP" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_STRIP" = x; then
- STRIP=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- STRIP=$ac_ct_STRIP
- fi
-else
- STRIP="$ac_cv_prog_STRIP"
-fi
-
-fi
-INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
-$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
-if test -z "$MKDIR_P"; then
- if ${ac_cv_path_mkdir+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in mkdir gmkdir; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
- case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
- 'mkdir (GNU coreutils) '* | \
- 'mkdir (coreutils) '* | \
- 'mkdir (fileutils) '4.1*)
- ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
- break 3;;
- esac
- done
- done
- done
-IFS=$as_save_IFS
-
-fi
-
- test -d ./--version && rmdir ./--version
- if test "${ac_cv_path_mkdir+set}" = set; then
- MKDIR_P="$ac_cv_path_mkdir -p"
- else
- # As a last resort, use the slow shell script. Don't cache a
- # value for MKDIR_P within a source directory, because that will
- # break other packages using the cache if that directory is
- # removed, or if the value is a relative name.
- MKDIR_P="$ac_install_sh -d"
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
-$as_echo "$MKDIR_P" >&6; }
-
-for ac_prog in gawk mawk nawk awk
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_AWK+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$AWK"; then
- ac_cv_prog_AWK="$AWK" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_AWK="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-AWK=$ac_cv_prog_AWK
-if test -n "$AWK"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
-$as_echo "$AWK" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$AWK" && break
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-rm -rf .tst 2>/dev/null
-mkdir .tst 2>/dev/null
-if test -d .tst; then
- am__leading_dot=.
-else
- am__leading_dot=_
-fi
-rmdir .tst 2>/dev/null
-
-# Check whether --enable-silent-rules was given.
-if test "${enable_silent_rules+set}" = set; then :
- enableval=$enable_silent_rules;
-fi
-
-case $enable_silent_rules in # (((
- yes) AM_DEFAULT_VERBOSITY=0;;
- no) AM_DEFAULT_VERBOSITY=1;;
- *) AM_DEFAULT_VERBOSITY=1;;
-esac
-am_make=${MAKE-make}
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
-$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
-if ${am_cv_make_support_nested_variables+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if $as_echo 'TRUE=$(BAR$(V))
-BAR0=false
-BAR1=true
-V=1
-am__doit:
- @$(TRUE)
-.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
- am_cv_make_support_nested_variables=yes
-else
- am_cv_make_support_nested_variables=no
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
-$as_echo "$am_cv_make_support_nested_variables" >&6; }
-if test $am_cv_make_support_nested_variables = yes; then
- AM_V='$(V)'
- AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
-else
- AM_V=$AM_DEFAULT_VERBOSITY
- AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
-fi
-AM_BACKSLASH='\'
-
-DEPDIR="${am__leading_dot}deps"
-
-ac_config_commands="$ac_config_commands depfiles"
-
-
-am_make=${MAKE-make}
-cat > confinc << 'END'
-am__doit:
- @echo this is the am__doit target
-.PHONY: am__doit
-END
-# If we don't find an include directive, just comment out the code.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
-$as_echo_n "checking for style of include used by $am_make... " >&6; }
-am__include="#"
-am__quote=
-_am_result=none
-# First try GNU make style include.
-echo "include confinc" > confmf
-# Ignore all kinds of additional output from 'make'.
-case `$am_make -s -f confmf 2> /dev/null` in #(
-*the\ am__doit\ target*)
- am__include=include
- am__quote=
- _am_result=GNU
- ;;
-esac
-# Now try BSD make style include.
-if test "$am__include" = "#"; then
- echo '.include "confinc"' > confmf
- case `$am_make -s -f confmf 2> /dev/null` in #(
- *the\ am__doit\ target*)
- am__include=.include
- am__quote="\""
- _am_result=BSD
- ;;
- esac
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
-$as_echo "$_am_result" >&6; }
-rm -f confinc confmf
-
-# Check whether --enable-dependency-tracking was given.
-if test "${enable_dependency_tracking+set}" = set; then :
- enableval=$enable_dependency_tracking;
-fi
-
-if test "x$enable_dependency_tracking" != xno; then
- am_depcomp="$ac_aux_dir/depcomp"
- AMDEPBACKSLASH='\'
- am__nodep='_no'
-fi
- if test "x$enable_dependency_tracking" != xno; then
- AMDEP_TRUE=
- AMDEP_FALSE='#'
-else
- AMDEP_TRUE='#'
- AMDEP_FALSE=
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
-# Try to create an executable without -o first, disregard a.out.
-# It will help us diagnose broken compilers, and finding out an intuition
-# of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
-
-# The possible output files:
-ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
-
-ac_rmfiles=
-for ac_file in $ac_files
-do
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- * ) ac_rmfiles="$ac_rmfiles $ac_file";;
- esac
-done
-rm -f $ac_rmfiles
-
-if { { ac_try="$ac_link_default"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link_default") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
-# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
-# in a Makefile. We should not override ac_cv_exeext if it was cached,
-# so that the user can short-circuit this test for compilers unknown to
-# Autoconf.
-for ac_file in $ac_files ''
-do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
- ;;
- [ab].out )
- # We found the default executable, but exeext='' is most
- # certainly right.
- break;;
- *.* )
- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
- then :; else
- ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- fi
- # We set ac_cv_exeext here because the later test for it is not
- # safe: cross compilers may not add the suffix if given an `-o'
- # argument, so we may need to know it at that point already.
- # Even if this section looks crufty: it has the advantage of
- # actually working.
- break;;
- * )
- break;;
- esac
-done
-test "$ac_cv_exeext" = no && ac_cv_exeext=
-
-else
- ac_file=''
-fi
-if test -z "$ac_file"; then :
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-$as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error 77 "C compiler cannot create executables
-See \`config.log' for more details" "$LINENO" 5; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
-ac_exeext=$ac_cv_exeext
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
-$as_echo_n "checking for suffix of executables... " >&6; }
-if { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- # If both `conftest.exe' and `conftest' are `present' (well, observable)
-# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
-# work properly (i.e., refer to `conftest.exe'), while it won't with
-# `rm'.
-for ac_file in conftest.exe conftest conftest.*; do
- test -f "$ac_file" || continue
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
- *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
- break;;
- * ) break;;
- esac
-done
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest conftest$ac_cv_exeext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
-$as_echo "$ac_cv_exeext" >&6; }
-
-rm -f conftest.$ac_ext
-EXEEXT=$ac_cv_exeext
-ac_exeext=$EXEEXT
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdio.h>
-int
-main ()
-{
-FILE *f = fopen ("conftest.out", "w");
- return ferror (f) || fclose (f) != 0;
-
- ;
- return 0;
-}
-_ACEOF
-ac_clean_files="$ac_clean_files conftest.out"
-# Check that the compiler produces executables we can run. If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-if test "$cross_compiling" != yes; then
- { { ac_try="$ac_link"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_link") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
- if { ac_try='./conftest$ac_cv_exeext'
- { { case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_try") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; }; then
- cross_compiling=no
- else
- if test "$cross_compiling" = maybe; then
- cross_compiling=yes
- else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details" "$LINENO" 5; }
- fi
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
-rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
-ac_clean_files=$ac_clean_files_save
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
-$as_echo_n "checking for suffix of object files... " >&6; }
-if ${ac_cv_objext+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-rm -f conftest.o conftest.obj
-if { { ac_try="$ac_compile"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compile") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then :
- for ac_file in conftest.o conftest.obj conftest.*; do
- test -f "$ac_file" || continue;
- case $ac_file in
- *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
- *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
- break;;
- esac
-done
-else
- $as_echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-rm -f conftest.$ac_cv_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
-$as_echo "$ac_cv_objext" >&6; }
-OBJEXT=$ac_cv_objext
-ac_objext=$OBJEXT
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GCC=yes
-else
- GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdarg.h>
-#include <stdio.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
- xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
-$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
-if ${am_cv_prog_cc_c_o+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
- ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
-$as_echo "$am_cv_prog_cc_c_o" >&6; }
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-
-# Check whether --enable-compiler-warnings was given.
-if test "${enable_compiler_warnings+set}" = set; then :
- enableval=$enable_compiler_warnings;
-fi
-case $enable_compiler_warnings in #(
- no | min | yes | max | all) :
- ;; #(
- *) :
- if test "x$enable_maintainer_mode" = xyes; then :
- enable_compiler_warnings=yes
-else
- enable_compiler_warnings=min
-fi ;;
-esac
-
-
-if test "`cd $srcdir && pwd`" != "`pwd`"; then
- # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
- # is not polluted with repeated "-I."
- am__isrc=' -I$(srcdir)'
- # test to see if srcdir already configured
- if test -f $srcdir/config.status; then
- as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
- fi
-fi
-
-# test whether we have cygpath
-if test -z "$CYGPATH_W"; then
- if (cygpath --version) >/dev/null 2>/dev/null; then
- CYGPATH_W='cygpath -w'
- else
- CYGPATH_W=echo
- fi
-fi
-
-
-# Define the identity of the package.
- PACKAGE='psutils--tex-live-'
- VERSION='1.21'
-
-
-cat >>confdefs.h <<_ACEOF
-#define PACKAGE "$PACKAGE"
-_ACEOF
-
-
-cat >>confdefs.h <<_ACEOF
-#define VERSION "$VERSION"
-_ACEOF
-
-# Some tools Automake needs.
-
-ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
-
-
-AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
-
-
-AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
-
-
-AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
-
-
-MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
-
-# For better backward compatibility. To be removed once Automake 1.9.x
-# dies out for good. For more background, see:
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
-# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
-mkdir_p='$(MKDIR_P)'
-
-# We need awk for the "check" target. The system "awk" is bad on
-# some platforms.
-# Always define AMTAR for backward compatibility. Yes, it's still used
-# in the wild :-( We should find a proper way to deprecate it ...
-AMTAR='$${TAR-tar}'
-
-
-# We'll loop over all known methods to create a tar archive until one works.
-_am_tools='gnutar pax cpio none'
-
-am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
-
-
-
-
-
-
-# POSIX will say in a future version that running "rm -f" with no argument
-# is OK; and we want to be able to make that assumption in our Makefile
-# recipes. So use an aggressive probe to check that the usage we want is
-# actually supported "in the wild" to an acceptable degree.
-# See automake bug#10828.
-# To make any issue more visible, cause the running configure to be aborted
-# by default if the 'rm' program in use doesn't match our expectations; the
-# user can still override this though.
-if rm -f && rm -fr && rm -rf; then : OK; else
- cat >&2 <<'END'
-Oops!
-
-Your 'rm' program seems unable to run without file operands specified
-on the command line, even when the '-f' option is present. This is contrary
-to the behaviour of most rm programs out there, and not conforming with
-the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
-
-Please tell bug-automake@gnu.org about your system, including the value
-of your $PATH and any error possibly output before this message. This
-can help us improve future automake versions.
-
-END
- if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
- echo 'Configuration will proceed anyway, since you have set the' >&2
- echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
- echo >&2
- else
- cat >&2 <<'END'
-Aborting the configuration process, to ensure you take notice of the issue.
-
-You can download and install GNU coreutils to get an 'rm' implementation
-that behaves properly: <http://www.gnu.org/software/coreutils/>.
-
-If you want to complete the configuration process using your problematic
-'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
-to "yes", and re-run configure.
-
-END
- as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
- fi
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
-$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
- # Check whether --enable-maintainer-mode was given.
-if test "${enable_maintainer_mode+set}" = set; then :
- enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
-else
- USE_MAINTAINER_MODE=no
-fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
-$as_echo "$USE_MAINTAINER_MODE" >&6; }
- if test $USE_MAINTAINER_MODE = yes; then
- MAINTAINER_MODE_TRUE=
- MAINTAINER_MODE_FALSE='#'
-else
- MAINTAINER_MODE_TRUE='#'
- MAINTAINER_MODE_FALSE=
-fi
-
- MAINT=$MAINTAINER_MODE_TRUE
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler accepts prototypes" >&5
-$as_echo_n "checking whether the compiler accepts prototypes... " >&6; }
-if ${kb_cv_c_prototypes+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdarg.h>
-int
-main ()
-{
-extern void foo(int i,...);
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- kb_cv_c_prototypes=yes
-else
- kb_cv_c_prototypes=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kb_cv_c_prototypes" >&5
-$as_echo "$kb_cv_c_prototypes" >&6; }
-if test "x$kb_cv_c_prototypes" = xno; then
- as_fn_error $? "Sorry, your compiler does not understand prototypes." "$LINENO" 5
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
-$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
-if ${kpse_cv_warning_cflags+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test "x$GCC" = xyes; then
- kpse_cv_warning_cflags=
-if test "x$enable_compiler_warnings" != xno; then
- kpse_cv_warning_cflags="-Wimplicit -Wreturn-type"
- case `$CC -dumpversion` in #(
- 3.4.* | 4.*) :
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wdeclaration-after-statement" ;; #(
- *) :
- ;;
-esac
- case `$CC -dumpversion` in #(
- 3.[234].* | 4.*) :
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wno-unknown-pragmas" ;; #(
- *) :
- ;;
-esac
- if test "x$enable_compiler_warnings" != xmin; then
- kpse_cv_warning_cflags="-Wall -Wunused $kpse_cv_warning_cflags"
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wmissing-prototypes -Wmissing-declarations"
- if test "x$enable_compiler_warnings" != xyes; then
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wparentheses -Wswitch -Wtrigraphs -Wpointer-arith"
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wcast-qual -Wcast-align -Wwrite-strings"
- case `$CC -dumpversion` in #(
- 3.4.* | 4.*) :
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wold-style-definition" ;; #(
- *) :
- ;;
-esac
- if test "x$enable_compiler_warnings" != xmax; then
- kpse_cv_warning_cflags="$kpse_cv_warning_cflags -Wshadow"
- fi
- fi
- fi
-fi
-elif test "x$enable_compiler_warnings" = xno; then
- kpse_cv_warning_cflags=
-else
- kpse_cv_warning_cflags= # FIXME: warning flags for non-GNU C compilers
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_warning_cflags" >&5
-$as_echo "$kpse_cv_warning_cflags" >&6; }
-WARNING_CFLAGS=$kpse_cv_warning_cflags
-
-
-
-
-
-
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_CC"; then
- ac_ct_CC=$CC
- # Extract the first word of "gcc", so it can be a program name with args.
-set dummy gcc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="gcc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-else
- CC="$ac_cv_prog_CC"
-fi
-
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
-set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="${ac_tool_prefix}cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- fi
-fi
-if test -z "$CC"; then
- # Extract the first word of "cc", so it can be a program name with args.
-set dummy cc; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
- ac_prog_rejected=no
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
- ac_prog_rejected=yes
- continue
- fi
- ac_cv_prog_CC="cc"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-if test $ac_prog_rejected = yes; then
- # We found a bogon in the path, so make sure we never use it.
- set dummy $ac_cv_prog_CC
- shift
- if test $# != 0; then
- # We chose a different compiler from the bogus one.
- # However, it has the same basename, so the bogon will be chosen
- # first if we set CC to just the basename; use the full file name.
- shift
- ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
- fi
-fi
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$CC"; then
- if test -n "$ac_tool_prefix"; then
- for ac_prog in cl.exe
- do
- # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
-set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$CC"; then
- ac_cv_prog_CC="$CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-CC=$ac_cv_prog_CC
-if test -n "$CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
-$as_echo "$CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$CC" && break
- done
-fi
-if test -z "$CC"; then
- ac_ct_CC=$CC
- for ac_prog in cl.exe
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_CC+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_CC"; then
- ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_CC="$ac_prog"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_CC=$ac_cv_prog_ac_ct_CC
-if test -n "$ac_ct_CC"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
-$as_echo "$ac_ct_CC" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
- test -n "$ac_ct_CC" && break
-done
-
- if test "x$ac_ct_CC" = x; then
- CC=""
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- CC=$ac_ct_CC
- fi
-fi
-
-fi
-
-
-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "no acceptable C compiler found in \$PATH
-See \`config.log' for more details" "$LINENO" 5; }
-
-# Provide some information about the compiler.
-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
-set X $ac_compile
-ac_compiler=$2
-for ac_option in --version -v -V -qversion; do
- { { ac_try="$ac_compiler $ac_option >&5"
-case "(($ac_try" in
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
- *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
- (eval "$ac_compiler $ac_option >&5") 2>conftest.err
- ac_status=$?
- if test -s conftest.err; then
- sed '10a\
-... rest of stderr output deleted ...
- 10q' conftest.err >conftest.er1
- cat conftest.er1 >&5
- fi
- rm -f conftest.er1 conftest.err
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }
-done
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
-$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if ${ac_cv_c_compiler_gnu+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-#ifndef __GNUC__
- choke me
-#endif
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_compiler_gnu=yes
-else
- ac_compiler_gnu=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-ac_cv_c_compiler_gnu=$ac_compiler_gnu
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
-$as_echo "$ac_cv_c_compiler_gnu" >&6; }
-if test $ac_compiler_gnu = yes; then
- GCC=yes
-else
- GCC=
-fi
-ac_test_CFLAGS=${CFLAGS+set}
-ac_save_CFLAGS=$CFLAGS
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
-$as_echo_n "checking whether $CC accepts -g... " >&6; }
-if ${ac_cv_prog_cc_g+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_save_c_werror_flag=$ac_c_werror_flag
- ac_c_werror_flag=yes
- ac_cv_prog_cc_g=no
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-else
- CFLAGS=""
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-
-else
- ac_c_werror_flag=$ac_save_c_werror_flag
- CFLAGS="-g"
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_g=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
- ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
-$as_echo "$ac_cv_prog_cc_g" >&6; }
-if test "$ac_test_CFLAGS" = set; then
- CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
- if test "$GCC" = yes; then
- CFLAGS="-g -O2"
- else
- CFLAGS="-g"
- fi
-else
- if test "$GCC" = yes; then
- CFLAGS="-O2"
- else
- CFLAGS=
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
-$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if ${ac_cv_prog_cc_c89+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdarg.h>
-#include <stdio.h>
-struct stat;
-/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
-struct buf { int x; };
-FILE * (*rcsopen) (struct buf *, struct stat *, int);
-static char *e (p, i)
- char **p;
- int i;
-{
- return p[i];
-}
-static char *f (char * (*g) (char **, int), char **p, ...)
-{
- char *s;
- va_list v;
- va_start (v,p);
- s = g (p, va_arg (v,int));
- va_end (v);
- return s;
-}
-
-/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
- function prototypes and stuff, but not '\xHH' hex character constants.
- These don't provoke an error unfortunately, instead are silently treated
- as 'x'. The following induces an error, until -std is added to get
- proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
- array size at least. It's necessary to write '\x00'==0 to get something
- that's true only with -std. */
-int osf4_cc_array ['\x00' == 0 ? 1 : -1];
-
-/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
- inside strings and character constants. */
-#define FOO(x) 'x'
-int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
-
-int test (int i, double x);
-struct s1 {int (*f) (int a);};
-struct s2 {int (*f) (double a);};
-int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
-int argc;
-char **argv;
-int
-main ()
-{
-return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
- ;
- return 0;
-}
-_ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
- -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
-do
- CC="$ac_save_CC $ac_arg"
- if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_prog_cc_c89=$ac_arg
-fi
-rm -f core conftest.err conftest.$ac_objext
- test "x$ac_cv_prog_cc_c89" != "xno" && break
-done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
-fi
-# AC_CACHE_VAL
-case "x$ac_cv_prog_cc_c89" in
- x)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
-$as_echo "none needed" >&6; } ;;
- xno)
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
-$as_echo "unsupported" >&6; } ;;
- *)
- CC="$CC $ac_cv_prog_cc_c89"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
-$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
-esac
-if test "x$ac_cv_prog_cc_c89" != xno; then :
-
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
-$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
-if ${am_cv_prog_cc_c_o+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
- # Make sure it works both with $CC and with simple cc.
- # Following AC_PROG_CC_C_O, we do the test twice because some
- # compilers refuse to overwrite an existing .o file with -o,
- # though they will create one.
- am_cv_prog_cc_c_o=yes
- for am_i in 1 2; do
- if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
- ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
- ac_status=$?
- echo "$as_me:$LINENO: \$? = $ac_status" >&5
- (exit $ac_status); } \
- && test -f conftest2.$ac_objext; then
- : OK
- else
- am_cv_prog_cc_c_o=no
- break
- fi
- done
- rm -f core conftest*
- unset am_i
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
-$as_echo "$am_cv_prog_cc_c_o" >&6; }
-if test "$am_cv_prog_cc_c_o" != yes; then
- # Losing compiler, so override with the script.
- # FIXME: It is wrong to rewrite CC.
- # But if we don't then we get into trouble of one sort or another.
- # A longer-term fix would be to have automake use am__CC in this case,
- # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
- CC="$am_aux_dir/compile $CC"
-fi
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-depcc="$CC" am_compiler_list=
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
-$as_echo_n "checking dependency style of $depcc... " >&6; }
-if ${am_cv_CC_dependencies_compiler_type+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
- # We make a subdir and do the tests there. Otherwise we can end up
- # making bogus files that we don't know about and never remove. For
- # instance it was reported that on HP-UX the gcc test will end up
- # making a dummy file named 'D' -- because '-MD' means "put the output
- # in D".
- rm -rf conftest.dir
- mkdir conftest.dir
- # Copy depcomp to subdir because otherwise we won't find it if we're
- # using a relative directory.
- cp "$am_depcomp" conftest.dir
- cd conftest.dir
- # We will build objects and dependencies in a subdirectory because
- # it helps to detect inapplicable dependency modes. For instance
- # both Tru64's cc and ICC support -MD to output dependencies as a
- # side effect of compilation, but ICC will put the dependencies in
- # the current directory while Tru64 will put them in the object
- # directory.
- mkdir sub
-
- am_cv_CC_dependencies_compiler_type=none
- if test "$am_compiler_list" = ""; then
- am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
- fi
- am__universal=false
- case " $depcc " in #(
- *\ -arch\ *\ -arch\ *) am__universal=true ;;
- esac
-
- for depmode in $am_compiler_list; do
- # Setup a source with many dependencies, because some compilers
- # like to wrap large dependency lists on column 80 (with \), and
- # we should not choose a depcomp mode which is confused by this.
- #
- # We need to recreate these files for each test, as the compiler may
- # overwrite some of them when testing with obscure command lines.
- # This happens at least with the AIX C compiler.
- : > sub/conftest.c
- for i in 1 2 3 4 5 6; do
- echo '#include "conftst'$i'.h"' >> sub/conftest.c
- # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
- # Solaris 10 /bin/sh.
- echo '/* dummy */' > sub/conftst$i.h
- done
- echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
-
- # We check with '-c' and '-o' for the sake of the "dashmstdout"
- # mode. It turns out that the SunPro C++ compiler does not properly
- # handle '-M -o', and we need to detect this. Also, some Intel
- # versions had trouble with output in subdirs.
- am__obj=sub/conftest.${OBJEXT-o}
- am__minus_obj="-o $am__obj"
- case $depmode in
- gcc)
- # This depmode causes a compiler race in universal mode.
- test "$am__universal" = false || continue
- ;;
- nosideeffect)
- # After this tag, mechanisms are not by side-effect, so they'll
- # only be used when explicitly requested.
- if test "x$enable_dependency_tracking" = xyes; then
- continue
- else
- break
- fi
- ;;
- msvc7 | msvc7msys | msvisualcpp | msvcmsys)
- # This compiler won't grok '-c -o', but also, the minuso test has
- # not run yet. These depmodes are late enough in the game, and
- # so weak that their functioning should not be impacted.
- am__obj=conftest.${OBJEXT-o}
- am__minus_obj=
- ;;
- none) break ;;
- esac
- if depmode=$depmode \
- source=sub/conftest.c object=$am__obj \
- depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
- $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
- >/dev/null 2>conftest.err &&
- grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
- grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
- grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
- ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
- # icc doesn't choke on unknown options, it will just issue warnings
- # or remarks (even with -Werror). So we grep stderr for any message
- # that says an option was ignored or not supported.
- # When given -MP, icc 7.0 and 7.1 complain thusly:
- # icc: Command line warning: ignoring option '-M'; no argument required
- # The diagnosis changed in icc 8.0:
- # icc: Command line remark: option '-MP' not supported
- if (grep 'ignoring option' conftest.err ||
- grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
- am_cv_CC_dependencies_compiler_type=$depmode
- break
- fi
- fi
- done
-
- cd ..
- rm -rf conftest.dir
-else
- am_cv_CC_dependencies_compiler_type=none
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
-$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
-CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
-
- if
- test "x$enable_dependency_tracking" != xno \
- && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
- am__fastdepCC_TRUE=
- am__fastdepCC_FALSE='#'
-else
- am__fastdepCC_TRUE='#'
- am__fastdepCC_FALSE=
-fi
-
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
-$as_echo_n "checking whether ln -s works... " >&6; }
-LN_S=$as_ln_s
-if test "$LN_S" = "ln -s"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
-$as_echo "no, using $LN_S" >&6; }
-fi
-
-if test -n "$ac_tool_prefix"; then
- # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
-set dummy ${ac_tool_prefix}ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$RANLIB"; then
- ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-RANLIB=$ac_cv_prog_RANLIB
-if test -n "$RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
-$as_echo "$RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
-
-fi
-if test -z "$ac_cv_prog_RANLIB"; then
- ac_ct_RANLIB=$RANLIB
- # Extract the first word of "ranlib", so it can be a program name with args.
-set dummy ranlib; ac_word=$2
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-$as_echo_n "checking for $ac_word... " >&6; }
-if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -n "$ac_ct_RANLIB"; then
- ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
-else
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_exec_ext in '' $ac_executable_extensions; do
- if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
- ac_cv_prog_ac_ct_RANLIB="ranlib"
- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
- break 2
- fi
-done
- done
-IFS=$as_save_IFS
-
-fi
-fi
-ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
-if test -n "$ac_ct_RANLIB"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
-$as_echo "$ac_ct_RANLIB" >&6; }
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-fi
-
- if test "x$ac_ct_RANLIB" = x; then
- RANLIB=":"
- else
- case $cross_compiling:$ac_tool_warned in
-yes:)
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
-ac_tool_warned=yes ;;
-esac
- RANLIB=$ac_ct_RANLIB
- fi
-else
- RANLIB="$ac_cv_prog_RANLIB"
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
-$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
-set x ${MAKE-make}
-ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat >conftest.make <<\_ACEOF
-SHELL = /bin/sh
-all:
- @echo '@@@%%%=$(MAKE)=@@@%%%'
-_ACEOF
-# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
-case `${MAKE-make} -f conftest.make 2>/dev/null` in
- *@@@%%%=?*=@@@%%%*)
- eval ac_cv_prog_make_${ac_make}_set=yes;;
- *)
- eval ac_cv_prog_make_${ac_make}_set=no;;
-esac
-rm -f conftest.make
-fi
-if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
- SET_MAKE=
-else
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- SET_MAKE="MAKE=${MAKE-make}"
-fi
-
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
-$as_echo_n "checking how to run the C preprocessor... " >&6; }
-# On Suns, sometimes $CPP names a directory.
-if test -n "$CPP" && test -d "$CPP"; then
- CPP=
-fi
-if test -z "$CPP"; then
- if ${ac_cv_prog_CPP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- # Double quotes because CPP needs to be expanded
- for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
- do
- ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
- break
-fi
-
- done
- ac_cv_prog_CPP=$CPP
-
-fi
- CPP=$ac_cv_prog_CPP
-else
- ac_cv_prog_CPP=$CPP
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
-$as_echo "$CPP" >&6; }
-ac_preproc_ok=false
-for ac_c_preproc_warn_flag in '' yes
-do
- # Use a header file that comes with gcc, so configuring glibc
- # with a fresh cross-compiler works.
- # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
- # <limits.h> exists even on freestanding compilers.
- # On the NeXT, cc -E runs the code through the compiler's parser,
- # not just through cpp. "Syntax error" is here to catch this case.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifdef __STDC__
-# include <limits.h>
-#else
-# include <assert.h>
-#endif
- Syntax error
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
-
-else
- # Broken: fails on valid input.
-continue
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
- # OK, works on sane cases. Now check whether nonexistent headers
- # can be detected and how.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <ac_nonexistent.h>
-_ACEOF
-if ac_fn_c_try_cpp "$LINENO"; then :
- # Broken: success on invalid input.
-continue
-else
- # Passes both tests.
-ac_preproc_ok=:
-break
-fi
-rm -f conftest.err conftest.i conftest.$ac_ext
-
-done
-# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.i conftest.err conftest.$ac_ext
-if $ac_preproc_ok; then :
-
-else
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details" "$LINENO" 5; }
-fi
-
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
-$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if ${ac_cv_path_GREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if test -z "$GREP"; then
- ac_path_GREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in grep ggrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_GREP" || continue
-# Check for GNU ac_path_GREP and select it if it is found.
- # Check for GNU $ac_path_GREP
-case `"$ac_path_GREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'GREP' >> "conftest.nl"
- "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_GREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_GREP="$ac_path_GREP"
- ac_path_GREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_GREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_GREP"; then
- as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_GREP=$GREP
-fi
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
-$as_echo "$ac_cv_path_GREP" >&6; }
- GREP="$ac_cv_path_GREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
-$as_echo_n "checking for egrep... " >&6; }
-if ${ac_cv_path_EGREP+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
- then ac_cv_path_EGREP="$GREP -E"
- else
- if test -z "$EGREP"; then
- ac_path_EGREP_found=false
- # Loop through the user's path and test for each of PROGNAME-LIST
- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- for ac_prog in egrep; do
- for ac_exec_ext in '' $ac_executable_extensions; do
- ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- as_fn_executable_p "$ac_path_EGREP" || continue
-# Check for GNU ac_path_EGREP and select it if it is found.
- # Check for GNU $ac_path_EGREP
-case `"$ac_path_EGREP" --version 2>&1` in
-*GNU*)
- ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
-*)
- ac_count=0
- $as_echo_n 0123456789 >"conftest.in"
- while :
- do
- cat "conftest.in" "conftest.in" >"conftest.tmp"
- mv "conftest.tmp" "conftest.in"
- cp "conftest.in" "conftest.nl"
- $as_echo 'EGREP' >> "conftest.nl"
- "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
- diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
- as_fn_arith $ac_count + 1 && ac_count=$as_val
- if test $ac_count -gt ${ac_path_EGREP_max-0}; then
- # Best one so far, save it but keep looking for a better one
- ac_cv_path_EGREP="$ac_path_EGREP"
- ac_path_EGREP_max=$ac_count
- fi
- # 10*(2^10) chars as input seems more than enough
- test $ac_count -gt 10 && break
- done
- rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
- $ac_path_EGREP_found && break 3
- done
- done
- done
-IFS=$as_save_IFS
- if test -z "$ac_cv_path_EGREP"; then
- as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
- fi
-else
- ac_cv_path_EGREP=$EGREP
-fi
-
- fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
-$as_echo "$ac_cv_path_EGREP" >&6; }
- EGREP="$ac_cv_path_EGREP"
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
-$as_echo_n "checking for ANSI C header files... " >&6; }
-if ${ac_cv_header_stdc+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdlib.h>
-#include <stdarg.h>
-#include <string.h>
-#include <float.h>
-
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_header_stdc=yes
-else
- ac_cv_header_stdc=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-
-if test $ac_cv_header_stdc = yes; then
- # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <string.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "memchr" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <stdlib.h>
-
-_ACEOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- $EGREP "free" >/dev/null 2>&1; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f conftest*
-
-fi
-
-if test $ac_cv_header_stdc = yes; then
- # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
- if test "$cross_compiling" = yes; then :
- :
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <ctype.h>
-#include <stdlib.h>
-#if ((' ' & 0x0FF) == 0x020)
-# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
-# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
-#else
-# define ISLOWER(c) \
- (('a' <= (c) && (c) <= 'i') \
- || ('j' <= (c) && (c) <= 'r') \
- || ('s' <= (c) && (c) <= 'z'))
-# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
-#endif
-
-#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
-int
-main ()
-{
- int i;
- for (i = 0; i < 256; i++)
- if (XOR (islower (i), ISLOWER (i))
- || toupper (i) != TOUPPER (i))
- return 2;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-
-else
- ac_cv_header_stdc=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
- conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
-$as_echo "$ac_cv_header_stdc" >&6; }
-if test $ac_cv_header_stdc = yes; then
-
-$as_echo "#define STDC_HEADERS 1" >>confdefs.h
-
-fi
-
-# On IRIX 5.3, sys/types and inttypes.h are conflicting.
-for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
- inttypes.h stdint.h unistd.h
-do :
- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
-"
-if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
- cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-
-done
-
-
-
- ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
-if test "x$ac_cv_header_minix_config_h" = xyes; then :
- MINIX=yes
-else
- MINIX=
-fi
-
-
- if test "$MINIX" = yes; then
-
-$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
-
-
-$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
-
-
-$as_echo "#define _MINIX 1" >>confdefs.h
-
- fi
-
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
-$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
-if ${ac_cv_safe_to_define___extensions__+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-# define __EXTENSIONS__ 1
- $ac_includes_default
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_safe_to_define___extensions__=yes
-else
- ac_cv_safe_to_define___extensions__=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
-$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
- test $ac_cv_safe_to_define___extensions__ = yes &&
- $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
-
- $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
-
- $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
-
- $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
-
- $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
-
-
-
-ac_config_headers="$ac_config_headers config.h"
-
-
-kpse_save_CPPFLAGS=$CPPFLAGS
-kpse_save_LIBS=$LIBS
-
-## _KPSE_INIT: Initialize TL infrastructure
-kpse_BLD=`(cd "./../../." && pwd)`
-kpse_SRC=`(cd "$srcdir/../../." && pwd)`
-
-## _KPSE_LIB_FLAGS: Setup paper (-lpaper) flags
-
-# Check whether --with-system-paper was given.
-if test "${with_system_paper+set}" = set; then :
- withval=$with_system_paper;
-fi
-
-# Check whether --with-paper-includes was given.
-if test "${with_paper_includes+set}" = set; then :
- withval=$with_paper_includes;
-fi
-
-# Check whether --with-paper-libdir was given.
-if test "${with_paper_libdir+set}" = set; then :
- withval=$with_paper_libdir;
-fi
-if test "x$with_system_paper" = xyes; then
- if test "x$with_paper_includes" != x && test "x$with_paper_includes" != xyes; then
- PAPER_INCLUDES="-I$with_paper_includes"
-fi
-PAPER_LIBS="-lpaper"
-if test "x$with_paper_libdir" != x && test "x$with_paper_libdir" != xyes; then
- PAPER_LIBS="-L$with_paper_libdir $PAPER_LIBS"
-fi
-else
- PAPER_INCLUDES="-I$kpse_BLD/libs/paper/include"
- PAPER_LIBS="$kpse_BLD/libs/paper/libpaper.a"
- PAPER_DEPEND='${top_builddir}/../../libs/paper/libpaper.a'
- PAPER_RULE='# Rebuild libpaper
-$(PAPER_DEPEND): ${top_builddir}/../../libs/paper/include/paper.h
- cd ${top_builddir}/../../libs/paper && $(MAKE) $(AM_MAKEFLAGS) rebuild
-${top_builddir}/../../libs/paper/include/paper.h:
- cd ${top_builddir}/../../libs/paper && $(MAKE) $(AM_MAKEFLAGS) rebuild'
-fi
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native WIN32 or MINGW32" >&5
-$as_echo_n "checking for native WIN32 or MINGW32... " >&6; }
-if ${kpse_cv_have_win32+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifndef WIN32
- choke me
-#endif
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#ifndef __MINGW32__
- choke me
-#endif
-int
-main ()
-{
-
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- kpse_cv_have_win32=mingw32
-else
- kpse_cv_have_win32=native
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-else
- kpse_cv_have_win32=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $kpse_cv_have_win32" >&5
-$as_echo "$kpse_cv_have_win32" >&6; }
-
- if test "x$kpse_cv_have_win32" != xno; then
- WIN32_TRUE=
- WIN32_FALSE='#'
-else
- WIN32_TRUE='#'
- WIN32_FALSE=
-fi
-
-
- if test -r "$srcdir/../../texk/texlive/w32_wrapper/runscript.exe"; then
- WIN32_WRAP_TRUE=
- WIN32_WRAP_FALSE='#'
-else
- WIN32_WRAP_TRUE='#'
- WIN32_WRAP_FALSE=
-fi
-
-
-
-PSUTILS_TREE=psutils-1.21
-
-
-ac_config_files="$ac_config_files Makefile"
-
-
-ac_config_links="$ac_config_links extractres.pl:psutils-1.21/extractres"
-
-ac_config_links="$ac_config_links includeres.pl:psutils-1.21/extractres"
-
-ac_config_links="$ac_config_links psjoin.pl:psutils-1.21/psjoin"
-
-
-cat >confcache <<\_ACEOF
-# This file is a shell script that caches the results of configure
-# tests run on this system so they can be shared between configure
-# scripts and configure runs, see configure's option --config-cache.
-# It is not useful on other systems. If it contains results you don't
-# want to keep, you may remove or edit it.
-#
-# config.status only pays attention to the cache file if you give it
-# the --recheck option to rerun configure.
-#
-# `ac_cv_env_foo' variables (set or unset) will be overridden when
-# loading this file, other *unset* `ac_cv_foo' will be assigned the
-# following values.
-
-_ACEOF
-
-# The following way of writing the cache mishandles newlines in values,
-# but we know of no workaround that is simple, portable, and efficient.
-# So, we kill variables containing newlines.
-# Ultrix sh set writes to stderr and can't be redirected directly,
-# and sets the high bit in the cache file unless we assign to the vars.
-(
- for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
- eval ac_val=\$$ac_var
- case $ac_val in #(
- *${as_nl}*)
- case $ac_var in #(
- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
-$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
- esac
- case $ac_var in #(
- _ | IFS | as_nl) ;; #(
- BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
- *) { eval $ac_var=; unset $ac_var;} ;;
- esac ;;
- esac
- done
-
- (set) 2>&1 |
- case $as_nl`(ac_space=' '; set) 2>&1` in #(
- *${as_nl}ac_space=\ *)
- # `set' does not quote correctly, so add quotes: double-quote
- # substitution turns \\\\ into \\, and sed turns \\ into \.
- sed -n \
- "s/'/'\\\\''/g;
- s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
- ;; #(
- *)
- # `set' quotes correctly as required by POSIX, so do not add quotes.
- sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
- ;;
- esac |
- sort
-) |
- sed '
- /^ac_cv_env_/b end
- t clear
- :clear
- s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
- t end
- s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
- :end' >>confcache
-if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
- if test -w "$cache_file"; then
- if test "x$cache_file" != "x/dev/null"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
-$as_echo "$as_me: updating cache $cache_file" >&6;}
- if test ! -f "$cache_file" || test -h "$cache_file"; then
- cat confcache >"$cache_file"
- else
- case $cache_file in #(
- */* | ?:*)
- mv -f confcache "$cache_file"$$ &&
- mv -f "$cache_file"$$ "$cache_file" ;; #(
- *)
- mv -f confcache "$cache_file" ;;
- esac
- fi
- fi
- else
- { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
-$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
- fi
-fi
-rm -f confcache
-
-test "x$prefix" = xNONE && prefix=$ac_default_prefix
-# Let make expand exec_prefix.
-test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
-
-DEFS=-DHAVE_CONFIG_H
-
-ac_libobjs=
-ac_ltlibobjs=
-U=
-for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
- # 1. Remove the extension, and $U if already installed.
- ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
- ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
- # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
- # will be set to the directory where LIBOBJS objects are built.
- as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
- as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
-done
-LIBOBJS=$ac_libobjs
-
-LTLIBOBJS=$ac_ltlibobjs
-
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
-$as_echo_n "checking that generated files are newer than configure... " >&6; }
- if test -n "$am_sleep_pid"; then
- # Hide warnings about reused PIDs.
- wait $am_sleep_pid 2>/dev/null
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
-$as_echo "done" >&6; }
- if test -n "$EXEEXT"; then
- am__EXEEXT_TRUE=
- am__EXEEXT_FALSE='#'
-else
- am__EXEEXT_TRUE='#'
- am__EXEEXT_FALSE=
-fi
-
-if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
- as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
- as_fn_error $? "conditional \"AMDEP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
- as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
- as_fn_error $? "conditional \"WIN32\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-if test -z "${WIN32_WRAP_TRUE}" && test -z "${WIN32_WRAP_FALSE}"; then
- as_fn_error $? "conditional \"WIN32_WRAP\" was never defined.
-Usually this means the macro was only invoked conditionally." "$LINENO" 5
-fi
-
-: "${CONFIG_STATUS=./config.status}"
-ac_write_fail=0
-ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files $CONFIG_STATUS"
-{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
-$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
-as_write_fail=0
-cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
-#! $SHELL
-# Generated by $as_me.
-# Run this file to recreate the current configuration.
-# Compiler output produced by configure, useful for debugging
-# configure, is in config.log if it exists.
-
-debug=false
-ac_cs_recheck=false
-ac_cs_silent=false
-
-SHELL=\${CONFIG_SHELL-$SHELL}
-export SHELL
-_ASEOF
-cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
-## -------------------- ##
-## M4sh Initialization. ##
-## -------------------- ##
-
-# Be more Bourne compatible
-DUALCASE=1; export DUALCASE # for MKS sh
-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
- emulate sh
- NULLCMD=:
- # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
- # is contrary to our usage. Disable this feature.
- alias -g '${1+"$@"}'='"$@"'
- setopt NO_GLOB_SUBST
-else
- case `(set -o) 2>/dev/null` in #(
- *posix*) :
- set -o posix ;; #(
- *) :
- ;;
-esac
-fi
-
-
-as_nl='
-'
-export as_nl
-# Printing a long string crashes Solaris 7 /usr/bin/printf.
-as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
-as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
-# Prefer a ksh shell builtin over an external printf program on Solaris,
-# but without wasting forks for bash or zsh.
-if test -z "$BASH_VERSION$ZSH_VERSION" \
- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='print -r --'
- as_echo_n='print -rn --'
-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
- as_echo='printf %s\n'
- as_echo_n='printf %s'
-else
- if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
- as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
- as_echo_n='/usr/ucb/echo -n'
- else
- as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
- as_echo_n_body='eval
- arg=$1;
- case $arg in #(
- *"$as_nl"*)
- expr "X$arg" : "X\\(.*\\)$as_nl";
- arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
- esac;
- expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
- '
- export as_echo_n_body
- as_echo_n='sh -c $as_echo_n_body as_echo'
- fi
- export as_echo_body
- as_echo='sh -c $as_echo_body as_echo'
-fi
-
-# The user is always right.
-if test "${PATH_SEPARATOR+set}" != set; then
- PATH_SEPARATOR=:
- (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
- (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
- PATH_SEPARATOR=';'
- }
-fi
-
-
-# IFS
-# We need space, tab and new line, in precisely that order. Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-IFS=" "" $as_nl"
-
-# Find who we are. Look in the path if we contain no directory separator.
-as_myself=
-case $0 in #((
- *[\\/]* ) as_myself=$0 ;;
- *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH
-do
- IFS=$as_save_IFS
- test -z "$as_dir" && as_dir=.
- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
- done
-IFS=$as_save_IFS
-
- ;;
-esac
-# We did not find ourselves, most probably we were run as `sh COMMAND'
-# in which case we are not to be found in the path.
-if test "x$as_myself" = x; then
- as_myself=$0
-fi
-if test ! -f "$as_myself"; then
- $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
- exit 1
-fi
-
-# Unset variables that we do not need and which cause bugs (e.g. in
-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
-# suppresses any "Segmentation fault" message there. '((' could
-# trigger a bug in pdksh 5.2.14.
-for as_var in BASH_ENV ENV MAIL MAILPATH
-do eval test x\${$as_var+set} = xset \
- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
-done
-PS1='$ '
-PS2='> '
-PS4='+ '
-
-# NLS nuisances.
-LC_ALL=C
-export LC_ALL
-LANGUAGE=C
-export LANGUAGE
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-# as_fn_error STATUS ERROR [LINENO LOG_FD]
-# ----------------------------------------
-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with STATUS, using 1 if that was 0.
-as_fn_error ()
-{
- as_status=$1; test $as_status -eq 0 && as_status=1
- if test "$4"; then
- as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
- $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
- fi
- $as_echo "$as_me: error: $2" >&2
- as_fn_exit $as_status
-} # as_fn_error
-
-
-# as_fn_set_status STATUS
-# -----------------------
-# Set $? to STATUS, without forking.
-as_fn_set_status ()
-{
- return $1
-} # as_fn_set_status
-
-# as_fn_exit STATUS
-# -----------------
-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
-as_fn_exit ()
-{
- set +e
- as_fn_set_status $1
- exit $1
-} # as_fn_exit
-
-# as_fn_unset VAR
-# ---------------
-# Portably unset VAR.
-as_fn_unset ()
-{
- { eval $1=; unset $1;}
-}
-as_unset=as_fn_unset
-# as_fn_append VAR VALUE
-# ----------------------
-# Append the text in VALUE to the end of the definition contained in VAR. Take
-# advantage of any shell optimizations that allow amortized linear growth over
-# repeated appends, instead of the typical quadratic growth present in naive
-# implementations.
-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
- eval 'as_fn_append ()
- {
- eval $1+=\$2
- }'
-else
- as_fn_append ()
- {
- eval $1=\$$1\$2
- }
-fi # as_fn_append
-
-# as_fn_arith ARG...
-# ------------------
-# Perform arithmetic evaluation on the ARGs, and store the result in the
-# global $as_val. Take advantage of shells that can avoid forks. The arguments
-# must be portable across $(()) and expr.
-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
- eval 'as_fn_arith ()
- {
- as_val=$(( $* ))
- }'
-else
- as_fn_arith ()
- {
- as_val=`expr "$@" || test $? -eq 1`
- }
-fi # as_fn_arith
-
-
-if expr a : '\(a\)' >/dev/null 2>&1 &&
- test "X`expr 00001 : '.*\(...\)'`" = X001; then
- as_expr=expr
-else
- as_expr=false
-fi
-
-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
- as_basename=basename
-else
- as_basename=false
-fi
-
-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
- as_dirname=dirname
-else
- as_dirname=false
-fi
-
-as_me=`$as_basename -- "$0" ||
-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
- X"$0" : 'X\(//\)$' \| \
- X"$0" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X/"$0" |
- sed '/^.*\/\([^/][^/]*\)\/*$/{
- s//\1/
- q
- }
- /^X\/\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\/\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
-
-# Avoid depending upon Character Ranges.
-as_cr_letters='abcdefghijklmnopqrstuvwxyz'
-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
-as_cr_Letters=$as_cr_letters$as_cr_LETTERS
-as_cr_digits='0123456789'
-as_cr_alnum=$as_cr_Letters$as_cr_digits
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in #(((((
--n*)
- case `echo 'xy\c'` in
- *c*) ECHO_T=' ';; # ECHO_T is single tab character.
- xy) ECHO_C='\c';;
- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
- ECHO_T=' ';;
- esac;;
-*)
- ECHO_N='-n';;
-esac
-
-rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
- rm -f conf$$.dir/conf$$.file
-else
- rm -f conf$$.dir
- mkdir conf$$.dir 2>/dev/null
-fi
-if (echo >conf$$.file) 2>/dev/null; then
- if ln -s conf$$.file conf$$ 2>/dev/null; then
- as_ln_s='ln -s'
- # ... but there are two gotchas:
- # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
- # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -pR'.
- ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -pR'
- elif ln conf$$.file conf$$ 2>/dev/null; then
- as_ln_s=ln
- else
- as_ln_s='cp -pR'
- fi
-else
- as_ln_s='cp -pR'
-fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2>/dev/null
-
-
-# as_fn_mkdir_p
-# -------------
-# Create "$as_dir" as a directory, including parents if necessary.
-as_fn_mkdir_p ()
-{
-
- case $as_dir in #(
- -*) as_dir=./$as_dir;;
- esac
- test -d "$as_dir" || eval $as_mkdir_p || {
- as_dirs=
- while :; do
- case $as_dir in #(
- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
- *) as_qdir=$as_dir;;
- esac
- as_dirs="'$as_qdir' $as_dirs"
- as_dir=`$as_dirname -- "$as_dir" ||
-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$as_dir" : 'X\(//\)[^/]' \| \
- X"$as_dir" : 'X\(//\)$' \| \
- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$as_dir" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- test -d "$as_dir" && break
- done
- test -z "$as_dirs" || eval "mkdir $as_dirs"
- } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
-
-
-} # as_fn_mkdir_p
-if mkdir -p . 2>/dev/null; then
- as_mkdir_p='mkdir -p "$as_dir"'
-else
- test -d ./-p && rmdir ./-p
- as_mkdir_p=false
-fi
-
-
-# as_fn_executable_p FILE
-# -----------------------
-# Test if FILE is an executable regular file.
-as_fn_executable_p ()
-{
- test -f "$1" && test -x "$1"
-} # as_fn_executable_p
-as_test_x='test -x'
-as_executable_p=as_fn_executable_p
-
-# Sed expression to map a string onto a valid CPP name.
-as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
-
-# Sed expression to map a string onto a valid variable name.
-as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
-
-
-exec 6>&1
-## ----------------------------------- ##
-## Main body of $CONFIG_STATUS script. ##
-## ----------------------------------- ##
-_ASEOF
-test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# Save the log message, to keep $0 and so on meaningful, and to
-# report actual input values of CONFIG_FILES etc. instead of their
-# values after options handling.
-ac_log="
-This file was extended by psutils (TeX Live) $as_me 1.21, which was
-generated by GNU Autoconf 2.69. Invocation command line was
-
- CONFIG_FILES = $CONFIG_FILES
- CONFIG_HEADERS = $CONFIG_HEADERS
- CONFIG_LINKS = $CONFIG_LINKS
- CONFIG_COMMANDS = $CONFIG_COMMANDS
- $ $0 $@
-
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-"
-
-_ACEOF
-
-case $ac_config_files in *"
-"*) set x $ac_config_files; shift; ac_config_files=$*;;
-esac
-
-case $ac_config_headers in *"
-"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
-esac
-
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-# Files that config.status was made for.
-config_files="$ac_config_files"
-config_headers="$ac_config_headers"
-config_links="$ac_config_links"
-config_commands="$ac_config_commands"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-ac_cs_usage="\
-\`$as_me' instantiates files and other configuration actions
-from templates according to the current configuration. Unless the files
-and actions are specified as TAGs, all are instantiated by default.
-
-Usage: $0 [OPTION]... [TAG]...
-
- -h, --help print this help, then exit
- -V, --version print version number and configuration settings, then exit
- --config print configuration, then exit
- -q, --quiet, --silent
- do not print progress messages
- -d, --debug don't remove temporary files
- --recheck update $as_me by reconfiguring in the same conditions
- --file=FILE[:TEMPLATE]
- instantiate the configuration file FILE
- --header=FILE[:TEMPLATE]
- instantiate the configuration header FILE
-
-Configuration files:
-$config_files
-
-Configuration headers:
-$config_headers
-
-Configuration links:
-$config_links
-
-Configuration commands:
-$config_commands
-
-Report bugs to <tex-k@tug.org>."
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
-ac_cs_version="\\
-psutils (TeX Live) config.status 1.21
-configured by $0, generated by GNU Autoconf 2.69,
- with options \\"\$ac_cs_config\\"
-
-Copyright (C) 2012 Free Software Foundation, Inc.
-This config.status script is free software; the Free Software Foundation
-gives unlimited permission to copy, distribute and modify it."
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
-INSTALL='$INSTALL'
-MKDIR_P='$MKDIR_P'
-AWK='$AWK'
-test -n "\$AWK" || AWK=awk
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# The default lists apply if the user does not specify any file.
-ac_need_defaults=:
-while test $# != 0
-do
- case $1 in
- --*=?*)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
- ac_shift=:
- ;;
- --*=)
- ac_option=`expr "X$1" : 'X\([^=]*\)='`
- ac_optarg=
- ac_shift=:
- ;;
- *)
- ac_option=$1
- ac_optarg=$2
- ac_shift=shift
- ;;
- esac
-
- case $ac_option in
- # Handling of the options.
- -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
- ac_cs_recheck=: ;;
- --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
- $as_echo "$ac_cs_version"; exit ;;
- --config | --confi | --conf | --con | --co | --c )
- $as_echo "$ac_cs_config"; exit ;;
- --debug | --debu | --deb | --de | --d | -d )
- debug=: ;;
- --file | --fil | --fi | --f )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- '') as_fn_error $? "missing file argument" ;;
- esac
- as_fn_append CONFIG_FILES " '$ac_optarg'"
- ac_need_defaults=false;;
- --header | --heade | --head | --hea )
- $ac_shift
- case $ac_optarg in
- *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
- esac
- as_fn_append CONFIG_HEADERS " '$ac_optarg'"
- ac_need_defaults=false;;
- --he | --h)
- # Conflict between --help and --header
- as_fn_error $? "ambiguous option: \`$1'
-Try \`$0 --help' for more information.";;
- --help | --hel | -h )
- $as_echo "$ac_cs_usage"; exit ;;
- -q | -quiet | --quiet | --quie | --qui | --qu | --q \
- | -silent | --silent | --silen | --sile | --sil | --si | --s)
- ac_cs_silent=: ;;
-
- # This is an error.
- -*) as_fn_error $? "unrecognized option: \`$1'
-Try \`$0 --help' for more information." ;;
-
- *) as_fn_append ac_config_targets " $1"
- ac_need_defaults=false ;;
-
- esac
- shift
-done
-
-ac_configure_extra_args=
-
-if $ac_cs_silent; then
- exec 6>/dev/null
- ac_configure_extra_args="$ac_configure_extra_args --silent"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-if \$ac_cs_recheck; then
- set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
- shift
- \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
- CONFIG_SHELL='$SHELL'
- export CONFIG_SHELL
- exec "\$@"
-fi
-
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-exec 5>>config.log
-{
- echo
- sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
-## Running $as_me. ##
-_ASBOX
- $as_echo "$ac_log"
-} >&5
-
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-#
-# INIT-COMMANDS
-#
-AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
-
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-
-# Handling of arguments.
-for ac_config_target in $ac_config_targets
-do
- case $ac_config_target in
- "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
- "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "extractres.pl") CONFIG_LINKS="$CONFIG_LINKS extractres.pl:psutils-1.21/extractres" ;;
- "includeres.pl") CONFIG_LINKS="$CONFIG_LINKS includeres.pl:psutils-1.21/extractres" ;;
- "psjoin.pl") CONFIG_LINKS="$CONFIG_LINKS psjoin.pl:psutils-1.21/psjoin" ;;
-
- *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
- esac
-done
-
-
-# If the user did not use the arguments to specify the items to instantiate,
-# then the envvar interface is used. Set only those that are not.
-# We use the long form for the default assignment because of an extremely
-# bizarre bug on SunOS 4.1.3.
-if $ac_need_defaults; then
- test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
- test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
- test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
- test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
-fi
-
-# Have a temporary directory for convenience. Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
-# creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
-$debug ||
-{
- tmp= ac_tmp=
- trap 'exit_status=$?
- : "${ac_tmp:=$tmp}"
- { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
-' 0
- trap 'as_fn_exit 1' 1 2 13 15
-}
-# Create a (secure) tmp directory for tmp files.
-
-{
- tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
- test -d "$tmp"
-} ||
-{
- tmp=./conf$$-$RANDOM
- (umask 077 && mkdir "$tmp")
-} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
-ac_tmp=$tmp
-
-# Set up the scripts for CONFIG_FILES section.
-# No need to generate them if there are no CONFIG_FILES.
-# This happens for instance with `./config.status config.h'.
-if test -n "$CONFIG_FILES"; then
-
-
-ac_cr=`echo X | tr X '\015'`
-# On cygwin, bash can eat \r inside `` if the user requested igncr.
-# But we know of no other shell where ac_cr would be empty at this
-# point, so we can use a bashism as a fallback.
-if test "x$ac_cr" = x; then
- eval ac_cr=\$\'\\r\'
-fi
-ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
-if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
- ac_cs_awk_cr='\\r'
-else
- ac_cs_awk_cr=$ac_cr
-fi
-
-echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
-_ACEOF
-
-
-{
- echo "cat >conf$$subs.awk <<_ACEOF" &&
- echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
- echo "_ACEOF"
-} >conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
- . ./conf$$subs.sh ||
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
-
- ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
- if test $ac_delim_n = $ac_delim_num; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-rm -f conf$$subs.sh
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
-_ACEOF
-sed -n '
-h
-s/^/S["/; s/!.*/"]=/
-p
-g
-s/^[^!]*!//
-:repl
-t repl
-s/'"$ac_delim"'$//
-t delim
-:nl
-h
-s/\(.\{148\}\)..*/\1/
-t more1
-s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
-p
-n
-b repl
-:more1
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t nl
-:delim
-h
-s/\(.\{148\}\)..*/\1/
-t more2
-s/["\\]/\\&/g; s/^/"/; s/$/"/
-p
-b
-:more2
-s/["\\]/\\&/g; s/^/"/; s/$/"\\/
-p
-g
-s/.\{148\}//
-t delim
-' <conf$$subs.awk | sed '
-/^[^""]/{
- N
- s/\n//
-}
-' >>$CONFIG_STATUS || ac_write_fail=1
-rm -f conf$$subs.awk
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-_ACAWK
-cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
- for (key in S) S_is_set[key] = 1
- FS = ""
-
-}
-{
- line = $ 0
- nfields = split(line, field, "@")
- substed = 0
- len = length(field[1])
- for (i = 2; i < nfields; i++) {
- key = field[i]
- keylen = length(key)
- if (S_is_set[key]) {
- value = S[key]
- line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
- len += length(value) + length(field[++i])
- substed = 1
- } else
- len += 1 + keylen
- }
-
- print line
-}
-
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
- sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
-else
- cat
-fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
- || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
-_ACEOF
-
-# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
-# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
-# trailing colons and then remove the whole line if VPATH becomes empty
-# (actually we leave an empty line to preserve line numbers).
-if test "x$srcdir" = x.; then
- ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
-h
-s///
-s/^/:/
-s/[ ]*$/:/
-s/:\$(srcdir):/:/g
-s/:\${srcdir}:/:/g
-s/:@srcdir@:/:/g
-s/^:*//
-s/:*$//
-x
-s/\(=[ ]*\).*/\1/
-G
-s/\n//
-s/^[^=]*=[ ]*$//
-}'
-fi
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-fi # test -n "$CONFIG_FILES"
-
-# Set up the scripts for CONFIG_HEADERS section.
-# No need to generate them if there are no CONFIG_HEADERS.
-# This happens for instance with `./config.status Makefile'.
-if test -n "$CONFIG_HEADERS"; then
-cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
-BEGIN {
-_ACEOF
-
-# Transform confdefs.h into an awk script `defines.awk', embedded as
-# here-document in config.status, that substitutes the proper values into
-# config.h.in to produce config.h.
-
-# Create a delimiter string that does not exist in confdefs.h, to ease
-# handling of long lines.
-ac_delim='%!_!# '
-for ac_last_try in false false :; do
- ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
- if test -z "$ac_tt"; then
- break
- elif $ac_last_try; then
- as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
- else
- ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
- fi
-done
-
-# For the awk script, D is an array of macro values keyed by name,
-# likewise P contains macro parameters if any. Preserve backslash
-# newline sequences.
-
-ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
-sed -n '
-s/.\{148\}/&'"$ac_delim"'/g
-t rset
-:rset
-s/^[ ]*#[ ]*define[ ][ ]*/ /
-t def
-d
-:def
-s/\\$//
-t bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3"/p
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
-d
-:bsnl
-s/["\\]/\\&/g
-s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
-D["\1"]=" \3\\\\\\n"\\/p
-t cont
-s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
-t cont
-d
-:cont
-n
-s/.\{148\}/&'"$ac_delim"'/g
-t clear
-:clear
-s/\\$//
-t bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/"/p
-d
-:bsnlc
-s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
-b cont
-' <confdefs.h | sed '
-s/'"$ac_delim"'/"\\\
-"/g' >>$CONFIG_STATUS || ac_write_fail=1
-
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- for (key in D) D_is_set[key] = 1
- FS = ""
-}
-/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
- line = \$ 0
- split(line, arg, " ")
- if (arg[1] == "#") {
- defundef = arg[2]
- mac1 = arg[3]
- } else {
- defundef = substr(arg[1], 2)
- mac1 = arg[2]
- }
- split(mac1, mac2, "(") #)
- macro = mac2[1]
- prefix = substr(line, 1, index(line, defundef) - 1)
- if (D_is_set[macro]) {
- # Preserve the white space surrounding the "#".
- print prefix "define", macro P[macro] D[macro]
- next
- } else {
- # Replace #undef with comments. This is necessary, for example,
- # in the case of _POSIX_SOURCE, which is predefined and required
- # on some systems where configure will not decide to define it.
- if (defundef == "undef") {
- print "/*", prefix defundef, macro, "*/"
- next
- }
- }
-}
-{ print }
-_ACAWK
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
- as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
-fi # test -n "$CONFIG_HEADERS"
-
-
-eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
-shift
-for ac_tag
-do
- case $ac_tag in
- :[FHLC]) ac_mode=$ac_tag; continue;;
- esac
- case $ac_mode$ac_tag in
- :[FHL]*:*);;
- :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
- :[FH]-) ac_tag=-:-;;
- :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
- esac
- ac_save_IFS=$IFS
- IFS=:
- set x $ac_tag
- IFS=$ac_save_IFS
- shift
- ac_file=$1
- shift
-
- case $ac_mode in
- :L) ac_source=$1;;
- :[FH])
- ac_file_inputs=
- for ac_f
- do
- case $ac_f in
- -) ac_f="$ac_tmp/stdin";;
- *) # Look for the file first in the build tree, then in the source tree
- # (if the path is not absolute). The absolute path cannot be DOS-style,
- # because $ac_f cannot contain `:'.
- test -f "$ac_f" ||
- case $ac_f in
- [\\/$]*) false;;
- *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
- esac ||
- as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
- esac
- case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
- as_fn_append ac_file_inputs " '$ac_f'"
- done
-
- # Let's still pretend it is `configure' which instantiates (i.e., don't
- # use $as_me), people would be surprised to read:
- # /* config.h. Generated by config.status. */
- configure_input='Generated from '`
- $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
- `' by configure.'
- if test x"$ac_file" != x-; then
- configure_input="$ac_file. $configure_input"
- { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
-$as_echo "$as_me: creating $ac_file" >&6;}
- fi
- # Neutralize special characters interpreted by sed in replacement strings.
- case $configure_input in #(
- *\&* | *\|* | *\\* )
- ac_sed_conf_input=`$as_echo "$configure_input" |
- sed 's/[\\\\&|]/\\\\&/g'`;; #(
- *) ac_sed_conf_input=$configure_input;;
- esac
-
- case $ac_tag in
- *:-:* | *:-) cat >"$ac_tmp/stdin" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
- esac
- ;;
- esac
-
- ac_dir=`$as_dirname -- "$ac_file" ||
-$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$ac_file" : 'X\(//\)[^/]' \| \
- X"$ac_file" : 'X\(//\)$' \| \
- X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$ac_file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir="$ac_dir"; as_fn_mkdir_p
- ac_builddir=.
-
-case "$ac_dir" in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
- ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
- # A ".." for each directory in $ac_dir_suffix.
- ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
- case $ac_top_builddir_sub in
- "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
- *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
- esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
-
-case $srcdir in
- .) # We are building in place.
- ac_srcdir=.
- ac_top_srcdir=$ac_top_builddir_sub
- ac_abs_top_srcdir=$ac_pwd ;;
- [\\/]* | ?:[\\/]* ) # Absolute name.
- ac_srcdir=$srcdir$ac_dir_suffix;
- ac_top_srcdir=$srcdir
- ac_abs_top_srcdir=$srcdir ;;
- *) # Relative name.
- ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
- ac_top_srcdir=$ac_top_build_prefix$srcdir
- ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
-esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-
- case $ac_mode in
- :F)
- #
- # CONFIG_FILE
- #
-
- case $INSTALL in
- [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
- *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
- esac
- ac_MKDIR_P=$MKDIR_P
- case $MKDIR_P in
- [\\/$]* | ?:[\\/]* ) ;;
- */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
- esac
-_ACEOF
-
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=; ac_datarootdir_seen=
-ac_sed_dataroot='
-/datarootdir/ {
- p
- q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p'
-case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
-*datarootdir*) ac_datarootdir_seen=yes;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
-$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
-_ACEOF
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
- ac_datarootdir_hack='
- s&@datadir@&$datadir&g
- s&@docdir@&$docdir&g
- s&@infodir@&$infodir&g
- s&@localedir@&$localedir&g
- s&@mandir@&$mandir&g
- s&\\\${datarootdir}&$datarootdir&g' ;;
-esac
-_ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
-cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-ac_sed_extra="$ac_vpsub
-$extrasub
-_ACEOF
-cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-:t
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s|@configure_input@|$ac_sed_conf_input|;t t
-s&@top_builddir@&$ac_top_builddir_sub&;t t
-s&@top_build_prefix@&$ac_top_build_prefix&;t t
-s&@srcdir@&$ac_srcdir&;t t
-s&@abs_srcdir@&$ac_abs_srcdir&;t t
-s&@top_srcdir@&$ac_top_srcdir&;t t
-s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
-s&@builddir@&$ac_builddir&;t t
-s&@abs_builddir@&$ac_abs_builddir&;t t
-s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
-s&@INSTALL@&$ac_INSTALL&;t t
-s&@MKDIR_P@&$ac_MKDIR_P&;t t
-$ac_datarootdir_hack
-"
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
- >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
-
-test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
- { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
- { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
- "$ac_tmp/out"`; test -z "$ac_out"; } &&
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&5
-$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined. Please make sure it is defined" >&2;}
-
- rm -f "$ac_tmp/stdin"
- case $ac_file in
- -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
- *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
- esac \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- ;;
- :H)
- #
- # CONFIG_HEADER
- #
- if test x"$ac_file" != x-; then
- {
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
- } >"$ac_tmp/config.h" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
-$as_echo "$as_me: $ac_file is unchanged" >&6;}
- else
- rm -f "$ac_file"
- mv "$ac_tmp/config.h" "$ac_file" \
- || as_fn_error $? "could not create $ac_file" "$LINENO" 5
- fi
- else
- $as_echo "/* $configure_input */" \
- && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
- || as_fn_error $? "could not create -" "$LINENO" 5
- fi
-# Compute "$ac_file"'s index in $config_headers.
-_am_arg="$ac_file"
-_am_stamp_count=1
-for _am_header in $config_headers :; do
- case $_am_header in
- $_am_arg | $_am_arg:* )
- break ;;
- * )
- _am_stamp_count=`expr $_am_stamp_count + 1` ;;
- esac
-done
-echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
-$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$_am_arg" : 'X\(//\)[^/]' \| \
- X"$_am_arg" : 'X\(//\)$' \| \
- X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$_am_arg" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`/stamp-h$_am_stamp_count
- ;;
- :L)
- #
- # CONFIG_LINK
- #
-
- if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
- :
- else
- # Prefer the file from the source tree if names are identical.
- if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
- ac_source=$srcdir/$ac_source
- fi
-
- { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
-$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
-
- if test ! -r "$ac_source"; then
- as_fn_error $? "$ac_source: file not found" "$LINENO" 5
- fi
- rm -f "$ac_file"
-
- # Try a relative symlink, then a hard link, then a copy.
- case $ac_source in
- [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
- *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
- esac
- ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
- ln "$ac_source" "$ac_file" 2>/dev/null ||
- cp -p "$ac_source" "$ac_file" ||
- as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
- fi
- ;;
- :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
-$as_echo "$as_me: executing $ac_file commands" >&6;}
- ;;
- esac
-
-
- case $ac_file$ac_mode in
- "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Older Autoconf quotes --file arguments for eval, but not when files
- # are listed without --file. Let's play safe and only enable the eval
- # if we detect the quoting.
- case $CONFIG_FILES in
- *\'*) eval set x "$CONFIG_FILES" ;;
- *) set x $CONFIG_FILES ;;
- esac
- shift
- for mf
- do
- # Strip MF so we end up with the name of the file.
- mf=`echo "$mf" | sed -e 's/:.*$//'`
- # Check whether this is an Automake generated Makefile or not.
- # We used to match only the files named 'Makefile.in', but
- # some people rename them; so instead we look at the file content.
- # Grep'ing the first line is not enough: some people post-process
- # each Makefile.in and add a new line on top of each file to say so.
- # Grep'ing the whole file is not good either: AIX grep has a line
- # limit of 2048, but all sed's we know have understand at least 4000.
- if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
- dirpart=`$as_dirname -- "$mf" ||
-$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$mf" : 'X\(//\)[^/]' \| \
- X"$mf" : 'X\(//\)$' \| \
- X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$mf" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- else
- continue
- fi
- # Extract the definition of DEPDIR, am__include, and am__quote
- # from the Makefile without running 'make'.
- DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
- test -z "$DEPDIR" && continue
- am__include=`sed -n 's/^am__include = //p' < "$mf"`
- test -z "$am__include" && continue
- am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
- # Find all dependency output files, they are included files with
- # $(DEPDIR) in their names. We invoke sed twice because it is the
- # simplest approach to changing $(DEPDIR) to its actual value in the
- # expansion.
- for file in `sed -n "
- s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
- sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
- # Make sure the directory exists.
- test -f "$dirpart/$file" && continue
- fdir=`$as_dirname -- "$file" ||
-$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
- X"$file" : 'X\(//\)[^/]' \| \
- X"$file" : 'X\(//\)$' \| \
- X"$file" : 'X\(/\)' \| . 2>/dev/null ||
-$as_echo X"$file" |
- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
- s//\1/
- q
- }
- /^X\(\/\/\)[^/].*/{
- s//\1/
- q
- }
- /^X\(\/\/\)$/{
- s//\1/
- q
- }
- /^X\(\/\).*/{
- s//\1/
- q
- }
- s/.*/./; q'`
- as_dir=$dirpart/$fdir; as_fn_mkdir_p
- # echo "creating $dirpart/$file"
- echo '# dummy' > "$dirpart/$file"
- done
- done
-}
- ;;
-
- esac
-done # for ac_tag
-
-
-as_fn_exit 0
-_ACEOF
-ac_clean_files=$ac_clean_files_save
-
-test $ac_write_fail = 0 ||
- as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
-
-
-# configure is writing to config.log, and then calls config.status.
-# config.status does its own redirection, appending to config.log.
-# Unfortunately, on DOS this fails, as config.log is still kept open
-# by configure, so config.status won't be able to write to it; its
-# output is simply discarded. So we exec the FD to /dev/null,
-# effectively closing config.log, so it can be properly (re)opened and
-# appended to by config.status. When coming back to configure, we
-# need to make the FD available again.
-if test "$no_create" != yes; then
- ac_cs_success=:
- ac_config_status_args=
- test "$silent" = yes &&
- ac_config_status_args="$ac_config_status_args --quiet"
- exec 5>/dev/null
- $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
- exec 5>>config.log
- # Use ||, not &&, to avoid exiting from the if with $? = 1, which
- # would make configure fail if this is the last instruction.
- $ac_cs_success || as_fn_exit 1
-fi
-if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
-$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
-fi
-
diff --git a/Build/source/utils/psutils/configure.ac b/Build/source/utils/psutils/configure.ac
deleted file mode 100644
index 5ff1b0b155f..00000000000
--- a/Build/source/utils/psutils/configure.ac
+++ /dev/null
@@ -1,40 +0,0 @@
-dnl Process this file with autoconf to produce a configure script.
-dnl
-dnl Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
-dnl
-dnl This file is free software; the copyright holder
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-dnl
-m4_include([version.ac])[] dnl define psutils_version
-AC_INIT([psutils (TeX Live)], psutils_version, [tex-k@tug.org])
-AC_PREREQ([2.65])
-AC_CONFIG_SRCDIR([psutils-]psutils_version[/psutil.c])
-AC_CONFIG_AUX_DIR([../../build-aux])
-AC_CONFIG_MACRO_DIR([../../m4])
-
-KPSE_BASIC([psutils])
-
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_LN_S
-AC_PROG_RANLIB
-AC_PROG_MAKE_SET
-
-AC_USE_SYSTEM_EXTENSIONS
-
-AC_CONFIG_HEADERS([config.h])
-
-KPSE_PAPER_FLAGS
-
-KPSE_COND_WIN32_WRAP
-
-AC_SUBST([PSUTILS_TREE], [psutils-]psutils_version)
-
-AC_CONFIG_FILES([Makefile])
-
-AC_CONFIG_LINKS([extractres.pl:psutils-]psutils_version[/extractres])
-AC_CONFIG_LINKS([includeres.pl:psutils-]psutils_version[/extractres])
-AC_CONFIG_LINKS([psjoin.pl:psutils-]psutils_version[/psjoin])
-
-AC_OUTPUT
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/ChangeLog b/Build/source/utils/psutils/psutils-1.21-PATCHES/ChangeLog
deleted file mode 100644
index 804637a3dc4..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/ChangeLog
+++ /dev/null
@@ -1,63 +0,0 @@
-2013-11-21 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-12-getopt (new): Adapt psnup.[1c] to non-GNU getopt.
-
-2013-10-28 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-11-WIN32: Adapt to Visual Studio 2010 (from Akira).
-
-2013-10-25 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Import psutils-1.21.
-
- * patch-01-WIN32, patch-02-PERL, patch-03-main-is-int,
- patch-04-warnings, patch-05-const, patch-07-TEMPDIR,
- patch-08-non-free, patch-09-PERL, patch-11-extern: All removed
- because either obsolete or included upstream.
-
- * patch-01-backport (new): Backport from git repository.
- * patch-10-binary-mode: Adapted (from Akira).
- * patch-11-WIN32 (new): LFS defines for native WIN32 and MinGW.
-
-2012-08-26 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-01-WIN32: Adapt to W32TeX (from Akira Kakuto).
- * patch-06-MINGW (removed): Obsolete.
-
-2012-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-11-extern (new): Remove extern decls from *.c files.
-
-2011-09-22 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-10-binary-mode (new): Fix error messages when setting
- binary mode fails.
-
-2011-01-09 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-07-TEMPDIR: Fix broken perl syntax.
- * patch-09-PERL (new): Avoid problems with Akira's perl.
-
- Mail from Akira Sat, 08 Jan 2011 14:43:53.
-
-2010-12-20 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-07-TEMPDIR (new): Honor $TMPDIR, $TEMP, and $TMP.
- * patch-08-non-free (new): Adapt to removal of non-free files.
-
-2010-12-16 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- * patch-02-PERL: Adapt to new kpsewhich semantics and
- texmf layout.
- Change basename => dirname and add 'use File::Basename'.
-
-2010-12-10 Peter Breitenlohner <peb@mppmu.mpg.de>
-
- Patches applied to psutils-1.17 as obtained from CTAN.
- * patch-01-WIN32: Added various #ifdef WIN32.
- * patch-02-PERL: Handling of perl scripts.
- * patch-03-main-is-int: Changed return type of main() from void
- to int; changed exit at end into return.
- * patch-04-warnings: Avoid various compiler warnings.
- * patch-05-const: Constify strings.
- * patch-06-MINGW: Do not #include <win32lib.h> for MinGW32.
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/TL-Changes b/Build/source/utils/psutils/psutils-1.21-PATCHES/TL-Changes
deleted file mode 100644
index 96528b891a5..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/TL-Changes
+++ /dev/null
@@ -1,6 +0,0 @@
-Changes applied to the psutils-1.21 tree as obtained from:
- https://github.com/rrthomas/psutils/archive/v1.21.tar.gz
-
-Remove:
- .gitignore
-
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-01-backport b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-01-backport
deleted file mode 100644
index 1eca478234d..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-01-backport
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur psutils-1.21/psspec.c ../../psutils-git/psspec.c
---- psutils-1.21/psspec.c 2013-10-21 23:28:08.000000000 +0200
-+++ ../../psutils-git/psspec.c 2013-10-24 09:54:36.000000000 +0200
-@@ -6,6 +6,8 @@
- * See file LICENSE for details.
- */
-
-+#include "config.h"
-+
- #include "psutil.h"
- #include "psspec.h"
-
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-10-binary-mode b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-10-binary-mode
deleted file mode 100644
index ddb38186dc2..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-10-binary-mode
+++ /dev/null
@@ -1,164 +0,0 @@
-diff -ur psutils-1.21.orig/epsffit.c psutils-1.21/epsffit.c
---- psutils-1.21.orig/epsffit.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/epsffit.c 2013-10-25 13:06:05.000000000 +0200
-@@ -17,7 +17,9 @@
- #include <stdlib.h>
- #include <string.h>
- #include <ctype.h>
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
-+#endif
-
- #include "psutil.h"
-
-@@ -37,6 +39,9 @@
- FILE *output = stdout;
- int opt;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- program = *argv;
-
- while((opt = getopt(argc, argv, "csramv")) != EOF) {
-diff -ur psutils-1.21.orig/psbook.c psutils-1.21/psbook.c
---- psutils-1.21.orig/psbook.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psbook.c 2013-10-25 13:06:05.000000000 +0200
-@@ -7,9 +7,9 @@
- */
-
- #include "config.h"
--
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
--
-+#endif
- #include "psutil.h"
-
- const char *syntax = "[-q] [-sSIGNATURE] [INFILE [OUTFILE]]\n SIGNATURE must be positive and divisible by 4\n";
-@@ -23,6 +23,9 @@
- int currentpg, maxpage;
- int opt;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- verbose = 1;
- program = *argv;
-
-diff -ur psutils-1.21.orig/psnup.c psutils-1.21/psnup.c
---- psutils-1.21.orig/psnup.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psnup.c 2013-10-25 13:06:05.000000000 +0200
-@@ -7,8 +7,9 @@
- */
-
- #include "config.h"
--
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
-+#endif
- #include <string.h>
- #include <paper.h>
-
-@@ -49,6 +50,9 @@
- int opt;
- const struct paper *paper = NULL;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- set_paper_size(NULL);
-
- margin = border = vshift = hshift = column = flip = 0;
-diff -ur psutils-1.21.orig/psresize.c psutils-1.21/psresize.c
---- psutils-1.21.orig/psresize.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psresize.c 2013-10-25 13:06:05.000000000 +0200
-@@ -7,8 +7,9 @@
- */
-
- #include "config.h"
--
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
-+#endif
- #include <paper.h>
-
- #include "psutil.h"
-@@ -32,6 +33,9 @@
- int opt;
- const struct paper *paper = NULL;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- set_paper_size(NULL);
-
- vshift = hshift = 0;
-diff -ur psutils-1.21.orig/psselect.c psutils-1.21/psselect.c
---- psutils-1.21.orig/psselect.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psselect.c 2013-10-25 13:06:05.000000000 +0200
-@@ -7,9 +7,9 @@
- */
-
- #include "config.h"
--
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
--
-+#endif
- #include "psutil.h"
-
- const char *syntax = "[-q] [-e] [-o] [-r] [-pPAGES] [INFILE [OUTFILE]]\n";
-@@ -88,6 +88,9 @@
- int pass, all;
- PageRange *pagerange = NULL;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- verbose = 1;
- program = *argv;
-
-diff -ur psutils-1.21.orig/pstops.c psutils-1.21/pstops.c
---- psutils-1.21.orig/pstops.c 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/pstops.c 2013-10-25 13:06:05.000000000 +0200
-@@ -7,8 +7,9 @@
- */
-
- #include "config.h"
--
-+#ifdef HAVE_UNISTD_H
- #include <unistd.h>
-+#endif
- #include <string.h>
- #include <paper.h>
-
-@@ -107,6 +108,9 @@
- const struct paper *paper = NULL;
- int opt;
-
-+ SET_BINARY(stdin);
-+ SET_BINARY(stdout);
-+
- set_paper_size(NULL);
-
- verbose = 1;
-diff -ur psutils-1.21.orig/psutil.h psutils-1.21/psutil.h
---- psutils-1.21.orig/psutil.h 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psutil.h 2013-10-25 13:06:05.000000000 +0200
-@@ -21,6 +21,15 @@
- #define WARN (MESSAGE_NL|MESSAGE_PROGRAM)
- #define LOG 0
-
-+/* change mode of a file pointer on Windows */
-+#if defined(WIN32)
-+#include <io.h>
-+#include <fcntl.h>
-+#define SET_BINARY(fp) (void)_setmode(fileno(fp), _O_BINARY)
-+#else /* !WIN32 */
-+#define SET_BINARY(fp) (void)0
-+#endif
-+
- /* Definitions for functions found in psutil.c */
- extern void usage(void);
- extern void message(int flags, const char *format, ...);
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32 b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
deleted file mode 100644
index 2490a1b0642..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-11-WIN32
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -ur psutils-1.21.orig/psutil.h psutils-1.21/psutil.h
---- psutils-1.21.orig/psutil.h 2013-10-25 13:06:05.000000000 +0200
-+++ psutils-1.21/psutil.h 2013-10-28 10:39:53.000000000 +0100
-@@ -26,6 +26,18 @@
- #include <io.h>
- #include <fcntl.h>
- #define SET_BINARY(fp) (void)_setmode(fileno(fp), _O_BINARY)
-+#undef off_t
-+#undef ftello
-+#undef fseeko
-+#if defined(__MINGW32__)
-+#define off_t off64_t
-+#define ftello ftello64
-+#define fseeko fseeko64
-+#else
-+#define off_t __int64
-+#define ftello _ftelli64
-+#define fseeko _fseeki64
-+#endif
- #else /* !WIN32 */
- #define SET_BINARY(fp) (void)0
- #endif
diff --git a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-12-getopt b/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-12-getopt
deleted file mode 100644
index bfe0e286b39..00000000000
--- a/Build/source/utils/psutils/psutils-1.21-PATCHES/patch-12-getopt
+++ /dev/null
@@ -1,44 +0,0 @@
-diff -ur psutils-1.21.orig/psnup.1 psutils-1.21/psnup.1
---- psutils-1.21.orig/psnup.1 2013-10-21 23:28:08.000000000 +0200
-+++ psutils-1.21/psnup.1 2013-11-21 08:17:17.000000000 +0100
-@@ -32,7 +32,7 @@
- ] [
- .B \-s\fIscale\fR
- ] [
--.B \-n\fIup\fR
-+.B \-\fInup\fR
- ] [
- .B \-q
- ] [
-diff -ur psutils-1.21.orig/psnup.c psutils-1.21/psnup.c
---- psutils-1.21.orig/psnup.c 2013-10-25 13:06:05.000000000 +0200
-+++ psutils-1.21/psnup.c 2013-11-21 08:17:17.000000000 +0100
-@@ -64,7 +64,7 @@
-
- while((opt =
- getopt(argc, argv,
-- "qd::lrfcw:W:h:H:m:b:t:s:p:P:n:1::2::3::4::5::6::7::8::9::"))
-+ "qd::lrfcw:W:h:H:m:b:t:s:p:P:n:123456789"))
- != EOF) {
- switch(opt) {
- case 'q': /* quiet */
-@@ -141,18 +141,7 @@
- case '7':
- case '8':
- case '9':
-- if(optarg) {
-- char *valuestr = (char *) malloc(strlen(optarg) + 2);
-- valuestr[0] = opt;
-- strcpy(&(valuestr[1]), optarg);
--
-- /* really should check that valuestr is only digits here...*/
-- if ((nup = atoi(valuestr)) < 1)
-- message(FATAL, "-n %d too small\n", nup);
-- free(valuestr);
-- } else {
-- nup = (opt - '0');
-- }
-+ nup = (opt - '0');
- break;
- case 'v': /* version */
- default:
diff --git a/Build/source/utils/psutils/psutils-1.21/LICENSE b/Build/source/utils/psutils/psutils-1.21/LICENSE
deleted file mode 100644
index cf532202464..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/LICENSE
+++ /dev/null
@@ -1,27 +0,0 @@
- PS Utilities Package
-
-PSUtils is copyright (C) 1991-1997 Angus J. C. Duggan, and (c) 2012-2013
-Reuben Thomas <rrt@sc3d.org>
-
-It may be copied and used for any purpose (including distribution as part of
-a for-profit product), provided:
-
-1) The original attribution of the programs is clearly displayed in the product
- and/or documentation, even if the programs are modified and/or renamed as
- part of the product.
-
-2) The original source code of the programs is provided free of charge (except
- for reasonable distribution costs). For a definition of reasonable
- distribution costs, see the Gnu General Public License or Larry Wall's
- Artistic License (provided with the Perl 4 kit). The GPL and Artistic
- License in NO WAY affect this license; they are merely used as examples of
- the spirit in which it is intended.
-
-3) These programs are provided "as-is". No warranty or guarantee of their
- fitness for any particular task is provided. Use of these programs is
- completely at your own risk.
-
-Basically, I don't mind how you use the programs so long as you acknowledge
-the author, and give people the originals if they want them.
-
- AJCD 4/4/95
diff --git a/Build/source/utils/psutils/psutils-1.21/Makefile.am b/Build/source/utils/psutils/psutils-1.21/Makefile.am
deleted file mode 100644
index a3d6f727979..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/Makefile.am
+++ /dev/null
@@ -1,42 +0,0 @@
-# Makefile for PS utilities
-#
-# Copyright (C) Reuben Thomas 2012
-# See LICENSE for license
-
-SUBDIRS = lib
-
-ACLOCAL_AMFLAGS = -I m4
-
-AM_CFLAGS = $(WERROR_CFLAGS) $(WARN_CFLAGS)
-
-noinst_LIBRARIES = libpsutils.a
-libpsutils_a_SOURCES = psutil.c psspec.c
-libpsutils_a_LIBADD = $(LIBPAPER)
-LDADD = libpsutils.a
-
-bin_PROGRAMS = psbook psselect pstops epsffit psnup psresize
-
-bin_SCRIPTS = psjoin extractres
-
-man_MANS = psutils.1 \
- psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
- psjoin.1 extractres.1 includeres.1
-
-EXTRA_DIST = m4/gnulib-cache.m4 \
- psutil.h psspec.h \
- $(bin_SCRIPTS) \
- $(man_MANS)
-
-all: includeres
-
-includeres: extractres
- $(RM) $@ && $(LN_S) extractres $@
-
-install-exec-hook:
- cd $(DESTDIR)$(bindir); $(RM) includeres; $(LN_S) extractres includeres
-
-uninstall-hook:
- $(RM) $(DESTDIR)$(bindir)/includeres
-
-clean-local:
- $(RM) includeres
diff --git a/Build/source/utils/psutils/psutils-1.21/README b/Build/source/utils/psutils/psutils-1.21/README
deleted file mode 100644
index 81b72f8b859..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/README
+++ /dev/null
@@ -1,89 +0,0 @@
-PostScript Utilities
-
-Web site: https://github.com/rrthomas/psutils
-Maintainer: Reuben Thomas <rrt@sc3d.org>
-
-PSUtils is a suite of utilities for manipulating PostScript documents
-produced according to the Document Structuring Conventions (some older
-software may need to be configured to produce DSC-conformant
-PostScript; if PSUtils doesn't work, check your documentation). It is
-possible to select and rearrange pages, including arrangement into
-signatures for booklet printing, and page merging for n-up printing.
-
-PSUtils should work in any POSIX environment with libpaper (support on
-non-POSIX systems may be provided by gnulib).
-
-libpaper: http://packages.qa.debian.org/libp/libpaper.html
-Ghostscript: http://www.ghostscript.com/
-
-
-PROGRAMS
-
-psbook rearrange pages into signatures
-psselect select pages and page ranges
-pstops perform general page rearrangement and selection
-psnup put multiple pages on to one page
-psresize alter document paper size
-epsffit fit an EPSF file to a given bounding box
-extractres filter to extract resources from PostScript files
-includeres filter to include resources into PostScript files
-psjoin concatenate multiple PostScript files
-
-psselect in modeled on Chris Torek's dviselect, as is psbook, via
-Angus Duggan's dvibook; pstops is modeled on Tom Rokicki's dvidvi.
-
-
-INSTALLATION
-
-./configure && make && make install
-
-Run ./configure --help for options.
-
-
-BUGS
-
-The utilities don't check for PS-Adobe-?.? conformance; they assume documents
-conform.
-
-Please send bug reports, patches and suggestions to the bug tracker or
-maintainer (see the top of this file).
-
-
-ACKNOWLEDGEMENTS
-
-PSUtils was written by Angus Duggan, who maintained it up to release 1
-patchlevel 17.
-
-Bug fixes and suggestions for improvements to PSUtils have come from many
-people, including:
-
- Brian Colfer brianc@labmed.ucsf.edu
- Charles A. Finnell finnell@org.mitre.lear
- Conrad Kimball cek@com.boeing.sdc
- J. W. Hawtin
- Jochen Schwarze schwarze@de.isa
- Ken Carpenter khc@edu.ksu.eece
- Kristian Jorg etxkrjg@se.ericsson.solsta
- Larry Weissman larryw@nsr.bioeng.washington.edu
- Michael L. Brown brown@wi.extrel.com
- Hunter Goatley goathunter@wkuvx1.bitnet
- John Interrante interran@uluru.Stanford.edu
- Maurizio Cremonesi MAUCREM@imiclvx.earn
- Matthew Stier Matthew.Stier@East.Sun.com
- Gerry Pratt cca13@seq1.kl.ac.uk
- Robert Joop rj@rainbow.in-berlin.de
- Johan Vromans jv@mh.nl
- Bryan Faubion bryanf@tc.fluke.com
- Chris Ritson C.R.Ritson@ncl.ac.uk
- Michele Marziani MARZIANI@VAXFE.INFN.IT
- Michael I. Schwartz mschwart@diana.cair.du.edu
- Chris Ritson C.R.Ritson@newcastle.ac.uk
- Joerg Eisenreich
- Andreas Borchert borchert@mathematik.uni-ulm.de
- Mike Coleman
- Dale Scheetz dwarf@polaris.net
- Yves Arrouye arrouye@marin.fdn.fr
- Stanislav Brabec utx@penguin.cz
- Reuben Thomas rrt@sc3d.org
-
-(Apologies to anyone left out; it was not intentional.)
diff --git a/Build/source/utils/psutils/psutils-1.21/bootstrap b/Build/source/utils/psutils/psutils-1.21/bootstrap
deleted file mode 100755
index 92f6bc212ea..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/bootstrap
+++ /dev/null
@@ -1,3107 +0,0 @@
-#! /bin/sh
-# Print a version string.
-scriptversion=2011-08-19.18; # UTC
-
-# Bootstrap this package from checked-out sources.
-# Written by Gary V. Vaughan, 2010
-
-# Copyright (C) 2010 Free Software Foundation, Inc.
-# This is free software; see the source for copying conditions. There is NO
-# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
-# Originally written by Paul Eggert. The canonical version of this
-# script is maintained as build-aux/bootstrap in gnulib, however, to
-# be useful to your project, you should place a copy of it under
-# version control in the top-level directory of your project. The
-# intent is that all customization can be done with a bootstrap.conf
-# file also maintained in your version control; gnulib comes with a
-# template build-aux/bootstrap.conf to get you started.
-
-# Please report bugs or propose patches to bug-gnulib@gnu.org.
-
-
-## ================================================================== ##
-## ##
-## DO NOT EDIT THIS FILE, CUSTOMIZE IT USING A BOOTSTRAP.CONF ##
-## ##
-## ================================================================== ##
-
-## ------------------------------- ##
-## User overridable command paths. ##
-## ------------------------------- ##
-
-# All uppercase denotes values stored in the environment. These
-# variables should generally be overridden by the user - however, we do
-# set them to `true' in some parts of this script to prevent them being
-# called at the wrong time by other tools that we call (`autoreconf',
-# for example).
-#
-# We also allow `LIBTOOLIZE' and `M4' to be overridden, and export the
-# result for child processes, but they are handled by the function
-# `func_find_tool' and not defaulted in this section.
-
-: "${ACLOCAL=aclocal}"
-: "${AUTOCONF=autoconf}"
-: "${AUTOHEADER=autoheader}"
-: "${AUTOM4TE=autom4te}"
-: "${AUTOHEADER=autoheader}"
-: "${AUTOMAKE=automake}"
-: "${AUTOPOINT=autopoint}"
-: "${AUTORECONF=autoreconf}"
-: "${CMP=cmp}"
-: "${CONFIG_SHELL=/bin/sh}"
-: "${DIFF=diff}"
-: "${EGREP=egrep}"
-: "${FGREP=fgrep}"
-: "${GIT=git}"
-: "${GREP=grep}"
-: "${LN_S=ln -s}"
-: "${RM=rm}"
-: "${SED=sed}"
-
-export ACLOCAL
-export AUTOCONF
-export AUTOHEADER
-export AUTOM4TE
-export AUTOHEADER
-export AUTOMAKE
-export AUTOPOINT
-export AUTORECONF
-
-
-## -------------- ##
-## Configuration. ##
-## -------------- ##
-
-# Short help message in response to `-h'. Add to this in `bootstrap.conf'
-# if you accept any additional options.
-usage_message="Bootstrap this package from the checked-out sources.
-
-Common Bootstrap Options:
- -c, --copy copy files instead of creating symbolic links.
- --debug enable verbose shell tracing
- -n, --dry-run print commands rather than running them
- -f, --force attempt to bootstrap even if the sources seem not to have
- been checked out.
- --gnulib-srcdir=DIRNAME
- specify a local directory where gnulib sources reside.
- Use this if you already have the gnulib sources on your
- machine, and don't want to waste your bandwidth
- downloading them again. Defaults to \$GNULIB_SRCDIR.
- --skip-git do not fetch files from remote repositories
- --skip-po do not download po files.
- -v, --verbose verbosely report processing
- --version print version information and exit
- -W, --warnings=CATEGORY
- report the warnings falling in CATEGORY [all]
- -h, --help print short or long help message and exit
-"
-
-# Warning categories used by `bootstrap', append others if you use them
-# in your `bootstrap.conf'.
-warning_categories="recommend settings upgrade"
-
-# Additional text appended to `usage_message' in response to `--help'.
-long_help_message="
-Warning categories include:
- \`all' show all warnings
- \`none' turn off all the warnings
- \`error' warnings are treated as fatal errors
- \`recommend' show warnings about missing recommended packages
- \`settings' show warnings about missing \`bootstrap.conf' settings
- \`upgrade' show warnings about out-dated files
-
-If the file $progpath.conf exists in the same directory as this script, its
-contents are read as shell variables to configure the bootstrap.
-
-For build prerequisites, environment variables like \$AUTOCONF and \$AMTAR
-are honored.
-
-Running without arguments will suffice in most cases.
-"
-
-# A newline delimited list of triples of programs (that respond to
-# --version), the minimum version numbers required (or just `-' in the
-# version field if any version will be sufficient) and homepage URLs
-# to help locate missing packages.
-buildreq=
-
-# Name of a file containing instructions on installing missing packages
-# required in `buildreq'.
-buildreq_readme=README-hacking
-
-# These are extracted from AC_INIT in configure.ac, though you can
-# override those values in `bootstrap.conf' if you prefer.
-build_aux=
-macro_dir=
-package=
-package_name=
-package_version=
-package_bugreport=
-
-# These are extracted from `gnulib-cache.m4', or else fall-back
-# automatically on the gnulib defaults; unless you set the values
-# manually in `bootstrap.conf'.
-doc_base=
-gnulib_mk=
-gnulib_name=
-local_gl_dir=
-source_base=
-tests_base=
-
-# The list of gnulib modules required at `gnulib-tool' time. If you
-# check `gnulib-cache.m4' into your repository, then this list will be
-# extracted automatically.
-gnulib_modules=
-
-# Extra gnulib files that are not in modules, which override files of
-# the same name installed by other bootstrap tools.
-gnulib_non_module_files="
- build-aux/compile
- build-aux/install-sh
- build-aux/missing
- build-aux/mdate-sh
- build-aux/texinfo.tex
- build-aux/depcomp
- build-aux/config.guess
- build-aux/config.sub
- doc/INSTALL
-"
-
-# Relative path to the local gnulib submodule, and url to the upstream
-# git repository. If you have a gnulib entry in your .gitmodules file,
-# these values are ignored.
-gnulib_path=
-gnulib_url=
-
-# Additional gnulib-tool options to use.
-gnulib_tool_options="
- --no-changelog
-"
-
-# bootstrap removes any macro-files that are not included by aclocal.m4,
-# except for files listed in this variable which are always kept.
-gnulib_precious="
- gnulib-tool.m4
-"
-
-# When truncating long commands for display, always allow at least this
-# many characters before truncating.
-min_cmd_len=160
-
-# The command to download all .po files for a specified domain into
-# a specified directory. Fill in the first %s is the domain name, and
-# the second with the destination directory. Use rsync's -L and -r
-# options because the latest/%s directory and the .po files within are
-# all symlinks.
-po_download_command_format=\
-"rsync --delete --exclude '*.s1' -Lrtvz \
-'translationproject.org::tp/latest/%s/' '%s'"
-
-# Other locale categories that need message catalogs.
-extra_locale_categories=
-
-# Additional xgettext options to use. Gnulib might provide you with an
-# extensive list of additional options to append to this, but gettext
-# 0.16.1 and newer appends them automaticaly, so you can safely ignore
-# the complaints from `gnulib-tool' if your $configure_ac states:
-#
-# AM_GNU_GETTEXT_VERSION([0.16.1])
-xgettext_options="
- --flag=_:1:pass-c-format
- --flag=N_:1:pass-c-format
-"
-
-# Package copyright holder for gettext files. Defaults to FSF if unset.
-copyright_holder=
-
-# File that should exist in the top directory of a checked out hierarchy,
-# but not in a distribution tarball.
-checkout_only_file=
-
-# Whether to use copies instead of symlinks by default (if set to true,
-# the --copy option has no effect).
-copy=false
-
-# Set this to ".cvsignore .gitignore" in `bootstrap.conf' if you want
-# those files to be generated in directories like `lib/', `m4/', and `po/',
-# or set it to "auto" to make this script select which to use based
-# on which version control system (if any) is used in the source directory.
-# Or set it to "none" to ignore VCS ignore files entirely. Default is
-# "auto".
-vc_ignore=
-
-
-## -------------------- ##
-## Shell normalisation. ##
-## -------------------- ##
-
-# NLS nuisances.
-LANGUAGE=C
-export LANGUAGE
-
-# Ensure file names are sorted consistently across platforms.
-LC_ALL=C
-export LC_ALL
-
-# CDPATH.
-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
-
-
-## ------------------------- ##
-## Hook function management. ##
-## ------------------------- ##
-
-# This section contains functions for adding, removing, and running hooks
-# to the main code. A hook is just a named list of of function, that can
-# be run in order later on.
-
-
-# func_append VAR VALUE
-# ---------------------
-# Append VALUE onto the existing contents of VAR.
-if (eval 'x=a; x+=" b"; test "x$x" = "xa b"') 2>/dev/null
-then
- # This is an XSI compatible shell, allowing a faster implementation...
- eval 'func_append ()
- {
- $debug_cmd
-
- eval "$1+=\$2"
- }'
-else
- # ...otherwise fall back to using expr, which is often a shell builtin.
- func_append ()
- {
- $debug_cmd
-
- eval "$1=\$$1\$2"
- }
-fi
-
-
-# func_hookable FUNC_NAME
-# -----------------------
-# Declare that FUNC_NAME will run hooks added with
-# `func_add_hook FUNC_NAME ...'.
-func_hookable ()
-{
- $debug_cmd
-
- func_append hookable_funcs " $1"
-}
-
-
-# func_add_hook FUNC_NAME HOOK_FUNC
-# ---------------------------------
-# Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must
-# first have been declared "hookable" by a coll to `func_hookable'.
-func_add_hook ()
-{
- $debug_cmd
-
- case " $hookable_funcs " in
- *" $1 "*) ;;
- *) func_fatal_error "Error: \`$1' does not accept hook functions." ;;
- esac
-
- eval func_append ${1}_hooks '" $2"'
-}
-
-
-# func_remove_hook FUNC_NAME HOOK_FUNC
-# ------------------------------------
-# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
-func_remove_hook ()
-{
- $debug_cmd
-
- eval ${1}_hooks='`echo "\$'$1'_hooks" |$SED "s| '$2'||"`'
-}
-
-
-# func_run_hooks FUNC_NAME [ARG]...
-# ---------------------------------
-# Run all hook functions registered to FUNC_NAME.
-func_run_hooks ()
-{
- $debug_cmd
-
- case " $hookable_funcs " in
- *" $1 "*) ;;
- *) func_fatal_error "Error: \`$1' does not support hook funcions.n" ;;
- esac
-
- eval hook_funcs="\$$1_hooks"
-
- # shift away the first argument (FUNC_NAME)
- shift
- func_run_hooks_result=${1+"$@"}
-
- for hook_func in $hook_funcs; do
- eval $hook_func '"$@"'
-
- # store returned options list back into positional
- # parameters for next `cmd' execution.
- eval set dummy "$func_run_hooks_result"; shift
- done
-}
-
-
-## ------------------- ##
-## Hookable functions. ##
-## ------------------- ##
-
-# After `bootstrap.conf' has been sourced, execution proceeds by calling
-# `func_bootstrap'. Where a function is decorated with `func_hookable
-# func_name', you will find a matching `func_run_hooks func_name' which
-# executes all functions added with `func_add_hook func_name my_func'.
-#
-# You might notice that many of these functions begin with a series of
-# `$require_foo' lines. See the docu-comments at the start of the
-# `Resource management' section for a description of what these are.
-
-
-# func_bootstrap [ARG]...
-# -----------------------
-# All the functions called inside func_bootstrap are hookable. See the
-# the individual implementations for details.
-func_bootstrap ()
-{
- $debug_cmd
-
- # Save the current positional parameters to prevent them being
- # corrupted by calls to `set' in `func_init'.
- func_quote_for_eval ${1+"$@"}
- my_saved_positional_parameters="$func_quote_for_eval_result"
-
- # initialisation
- func_init
-
- # option processing
- eval func_options "$my_saved_positional_parameters"
-
- # post-option preparation
- func_prep
-
- # reconfigure the package
- func_reconfigure
-
- # finalisation
- func_fini
-}
-
-
-# func_init
-# ---------
-# Any early initialisations can be hooked to this function. Consider
-# whether you can hook onto `func_prep' instead, because if you hook
-# any slow to execute code in here, it will also add to the time before
-# `./bootstrap --version' can respond.
-func_hookable func_init
-func_init ()
-{
- $debug_cmd
-
- func_run_hooks func_init
-}
-
-
-# func_options [ARG]...
-# ---------------------
-# All the functions called inside func_options are hookable. See the
-# individual implementations for details.
-func_hookable func_options
-func_options ()
-{
- $debug_cmd
-
- func_options_prep ${1+"$@"}
- eval func_parse_options \
- ${func_options_prep_result+"$func_options_prep_result"}
- eval func_validate_options \
- ${func_parse_options+"$func_parse_options_result"}
-
- eval func_run_hooks func_options \
- ${func_validate_options_result+"$func_validate_options_result"}
-
- # save modified positional parameters for caller
- func_options_result="$func_run_hooks_result"
-}
-
-
-# func_options_prep [ARG]...
-# --------------------------
-# All initialisations required before starting the option parse loop.
-# Note that when calling hook functions, we pass through the list of
-# positional parameters. If a hook function modifies that list, and
-# needs to propogate that back to rest of this script, then the complete
-# modified list must be put in `func_run_hooks_result' before
-# returning.
-func_hookable func_options_prep
-func_options_prep ()
-{
- $debug_cmd
-
- warning_func=func_error
-
- # Option defaults:
- opt_copy=${copy-false}
- opt_dry_run=false
- opt_force=false
- opt_gnulib_srcdir="$GNULIB_SRCDIR"
- opt_skip_git=false
- opt_skip_po=false
- opt_warning=
- opt_verbose=false
-
- func_run_hooks func_options_prep ${1+"$@"}
-
- # save modified positional parameters for caller
- func_options_prep_result="$func_run_hooks_result"
-}
-
-
-# func_parse_options [ARG]...
-# ---------------------------
-# The main option parsing loop.
-#
-# In order to add your own option parsing hooks, you must accept the
-# full positional parameter list in your hook function, remove any
-# options that you action, and then pass back the remaining unprocessed
-# options in `func_run_hooks_result', escaped suitably for `eval'. Like
-# this:
-#
-# my_silent_option ()
-# {
-# $debug_cmd
-#
-# case $1 in
-# --silent|-s) opt_silent=:; shift ;;
-# esac
-#
-# func_quote_for_eval ${1+"$@"}
-# func_run_hooks_result="$func_quote_for_eval_result"
-# }
-# func_add_hook func_parse_options my_silent_option
-#
-func_hookable func_parse_options
-func_parse_options ()
-{
- $debug_cmd
-
- func_parse_options_result=
-
- # this just eases exit handling
- while test $# -gt 0; do
-
- # Defer to hook functions for initial option parsing, so they
- # get priority in the event of reusing an option name.
- func_run_hooks func_parse_options ${1+"$@"}
-
- # Adjust func_parse_options positional parameters to match
- eval set dummy "$func_run_hooks_result"; shift
-
- opt="$1"
- shift
- case $opt in
- --debug|-x) debug_cmd='set -x'
- func_echo "enabling shell trace mode"
- $debug_cmd
- ;;
- --dry-run|--dryrun|-n)
- opt_dry_run=: ;;
- --copy|-c) opt_copy=: ;;
- --force|-f) opt_force=: ;;
-
- --gnulib-srcdir)
- test $# = 0 && func_missing_arg $opt && break
- opt_gnulib_srcdir="$1"
- shift
- ;;
-
- --skip-git) opt_skip_git=: ;;
- --skip-po) opt_skip_po=: ;;
- --verbose|-v) opt_verbose=: ;;
-
- --warnings|--warning|-W)
- test $# = 0 && func_missing_arg $opt && break
- case " $1 " in
- " all ")
- opt_warning=" $warning_categories"
- ;;
- " none ")
- opt_warning=" none"
- warning_func=:
- ;;
- " error ")
- warning_func=func_fatal_error
- ;;
- *" $warning_categories "*)
- func_append_u opt_warning " $1"
- ;;
- *)
- func_fatal_error \
- "Error: unsupported warning category: \`$1'"
- ;;
- esac
- shift
- ;;
-
- --version) func_version ;;
- -\?|-h) func_usage ;;
- --help) func_help ;;
-
- # Separate optargs to long options:
- --*=*)
- func_split_equals "$opt"
- set dummy "$func_split_equals_lhs" \
- "$func_split_equals_rhs" ${1+"$@"}
- shift
- ;;
-
- # Separate optargs to short options:
- -W*)
- func_split_short_opt "$opt"
- set dummy "$func_split_short_opt_name" \
- "$func_split_short_opt_arg" ${1+"$@"}
- shift
- ;;
-
- # Separate non-argument short options:
- -\?*|-h*|-c*|-f*|-n*|-v*|-x*)
- func_split_short_opt "$opt"
- set dummy "$func_split_short_opt_name" \
- "-$func_split_short_opt_arg" ${1+"$@"}
- shift
- ;;
-
- --) set dummy "$opt"; shift; break ;;
- -*) func_fatal_help "unrecognised option: \`$opt'" ;;
- *) set dummy "$opt"; shift; break ;;
- esac
- done
-
- # save modified positional parameters for caller
- func_quote_for_eval ${1+"$@"}
- func_parse_options_result="$func_quote_for_eval_result"
-}
-
-
-# func_validate_options [ARG]...
-# ------------------------------
-# Perform any sanity checks on option settings and/or unconsumed
-# arguments.
-func_hookable func_validate_options
-func_validate_options ()
-{
- $debug_cmd
-
- # display all warnings if -W was not given
- test -n "$opt_warning" || opt_warning="$warning_categories"
-
- func_run_hooks func_validate_options ${1+"$@"}
-
- # Validate options.
- test $# -gt 0 \
- && func_fatal_help "too many arguments"
-
- # Bail if the options were screwed!
- $exit_cmd $EXIT_FAILURE
-
- # save modified positional parameters for caller
- func_quote_for_eval ${1+"$@"}
- func_validate_options_result="$func_quote_for_eval_result"
-}
-
-
-# func_prep
-# ---------
-# Function to perform preparation for remaining bootstrap process. If
-# your hooked code relies on the outcome of `func_options' hook it here
-# rather than to `func_init'.
-#
-# All the functions called inside func_prep are hookable. See the
-# individual implementations for details.
-func_hookable func_prep
-func_prep ()
-{
- $debug_cmd
-
- $require_bootstrap_uptodate
- $require_buildtools_uptodate
- $require_checkout_only_file
-
- $require_gnulib_merge_changelog
-
- # fetch update files from the translation project
- func_update_translations
-
- func_run_hooks func_prep
-}
-
-
-# func_update_translations
-# ------------------------
-# Update package po files and translations.
-func_hookable func_update_translations
-func_update_translations ()
-{
- $debug_cmd
-
- $opt_skip_po || {
- test -d po && {
- $require_package
-
- func_update_po_files po $package || exit $?
- }
-
- func_run_hooks func_update_translations
- }
-}
-
-
-# func_reconfigure
-# ----------------
-# Reconfigure the current package by running the appropriate autotools in a
-# suitable order.
-func_hookable func_reconfigure
-func_reconfigure ()
-{
- $debug_cmd
-
- # Released `autopoint' has the tendency to install macros that have
- # been obsoleted in current `gnulib., so run this before `gnulib-tool'.
- func_autopoint
-
- # Autoreconf runs `aclocal' before `libtoolize', which causes spurious
- # warnings if the initial `aclocal' is confused by the libtoolized
- # (or worse: out-of-date) macro directory.
- func_libtoolize
-
- # If you need to do anything after `gnulib-tool' is done, but before
- # `autoreconf' runs, you don't need to override this whole function,
- # because `func_gnulib_tool' is hookable.
- func_gnulib_tool
-
- func_autoreconf
-
- func_run_hooks func_reconfigure
-}
-
-
-# func_gnulib_tool
-# ----------------
-# Run `gnulib-tool' to fetch gnulib modules into the current package.
-#
-# It's assumed that since you are using gnulib's `bootstrap' script,
-# you're also using gnulib elsewhere in your package. If not, then
-# you can replace this function in `bootstrap.conf' with:
-#
-# func_gnulib_tool () { :; }
-#
-# (although the function returns immediately if $gnulib_tool is set to
-# true in any case).
-func_hookable func_gnulib_tool
-func_gnulib_tool ()
-{
- $debug_cmd
-
- $require_gnulib_tool
- $require_libtoolize
-
- test true = "$gnulib_tool" || {
- if test -n "$gnulib_modules"; then
- $require_gnulib_cache
- $require_build_aux
- $require_macro_dir
-
- # Try not to pick up any stale values from `gnulib-cache.m4'.
- rm -f "$gnulib_cache"
-
- gnulib_mode="--import"
-
- # `gnulib_modules' and others are maintained in `bootstrap.conf`:
- # Use `gnulib --import` to fetch gnulib modules.
- test -n "$build_aux" \
- && func_append_u gnulib_tool_options " --aux-dir=$build_aux"
- test -n "$macro_dir" \
- && func_append_u gnulib_tool_options " --m4-base=$macro_dir"
- test -n "$doc_base" \
- && func_append_u gnulib_tool_options " --doc-base=$doc_base"
- test -n "$gnulib_name" \
- && func_append_u gnulib_tool_options " --lib=$gnulib_name"
- test -n "$local_gl_dir" \
- && func_append_u gnulib_tool_options " --local-dir=$local_gl_dir"
- test -n "$source_base" \
- && func_append_u gnulib_tool_options " --source-base=$source_base"
- test -n "$gnulib_mk" \
- && func_append_u gnulib_tool_options " --makefile-name=$gnulib_mk"
- test -n "$tests_base" && {
- func_append_u gnulib_tool_options " --tests-base=$tests_base"
- func_append_u gnulib_tool_options " --with-tests"
- }
- else
-
- # `gnulib_modules' and others are cached in `gnulib-cache.m4':
- # Use `gnulib --update' to fetch gnulib modules.
- gnulib_mode="--update"
- fi
-
- # Add a sensible default libtool option to gnulib_tool_options.
- case " $gnulib_tool_options " in
- *" --no-libtool "*|*" --libtool "*) ;;
- *) if test true = "$LIBTOOLIZE"; then
- func_append_u gnulib_tool_options " --no-libtool"
- else
- func_append_u gnulib_tool_options " --libtool"
- fi
- ;;
- esac
-
- $opt_copy || func_append_u gnulib_tool_options " --symbolic"
-
- func_append_u gnulib_tool_options " $gnulib_mode"
- func_append gnulib_tool_options " $gnulib_modules"
-
- # The embedded echo is to squash whitespace before display.
- gnulib_cmd=`echo $gnulib_tool $gnulib_tool_options`
-
- func_show_eval "$gnulib_cmd" 'exit $?'
- }
-
- func_run_hooks func_gnulib_tool
-}
-
-
-# func_fini
-# ---------
-# Function to perform all finalisation for the bootstrap process.
-func_hookable func_fini
-func_fini ()
-{
- $debug_cmd
-
- func_install_gnulib_non_module_files
- func_gettext_configuration
- func_clean_dangling_symlinks
- func_clean_unused_macros
- func_skip_po_recommendation
-
- func_run_hooks func_fini
-
- func_echo "Done. Now you can run './configure'."
-}
-
-
-# func_gettext_configuration
-# --------------------------
-# Edit configuration values into po/Makevars.
-func_hookable func_gettext_configuration
-func_gettext_configuration ()
-{
- $debug_cmd
-
- $require_autopoint
-
- test true = "$AUTOPOINT" || {
- $require_copyright_holder
- $require_extra_locale_categories
- $require_package_bugreport
-
- # Escape xgettext options for sed Makevars generation below.
- # We have to delete blank lines in a separate script so that we don't
- # append \\\ to the penultimate line, and then delete the last empty
- # line, which messes up the variable substitution later in this
- # function. Note that adding a literal \\\ requires double escaping
- # here, once for the execution subshell, and again for the assignment,
- # which is why there are actually 12 (!!) backslashes in the script.
- my_xgettext_options=`echo "$xgettext_options$nl" |$SED '/^$/d' |$SED '
- $b
- s|$| \\\\\\\\\\\\|'`
-
- # Create gettext configuration.
- func_echo "Creating po/Makevars from po/Makevars.template ..."
- $RM -f po/Makevars
- $SED '
- /^EXTRA_LOCALE_CATEGORIES *=/s|=.*|= '"$extra_locale_categories"'|
- /^COPYRIGHT_HOLDER *=/s|=.*|= '"$copyright_holder"'|
- /^MSGID_BUGS_ADDRESS *=/s|=.*|= '"$package_bugreport"'|
- /^XGETTEXT_OPTIONS *=/{
- s|$| \\|
- a\
- '"$my_xgettext_options"' \\\
- $${end_of_xgettext_options+}
- }
- ' po/Makevars.template >po/Makevars || exit 1
- }
-
- func_run_hooks func_gettext_configuration
-}
-
-
-
-## --------------- ##
-## Core functions. ##
-## --------------- ##
-
-# This section contains the main functions called from the `Hookable
-# functions' (shown above), and are the ones you're most likely
-# to want to replace with your own implementations in `bootstrap.conf'.
-
-
-# func_autopoint
-# --------------
-# If this package uses gettext, then run `autopoint'.
-func_autopoint ()
-{
- $debug_cmd
-
- $require_autopoint
-
- test true = "$AUTOPOINT" \
- || func_show_eval "$AUTOPOINT --force" 'exit $?'
-}
-
-
-# func_libtoolize
-# ---------------
-# If this package uses libtool, then run `libtoolize'.
-func_libtoolize ()
-{
- $debug_cmd
-
- $require_libtoolize
-
- test true = "$LIBTOOLIZE" || {
- my_libtoolize_options=
- $opt_copy && func_append my_libtoolize_options " --copy"
- $opt_force && func_append my_libtoolize_options " --force"
- $opt_verbose || func_append my_libtoolize_options " --quiet"
- func_show_eval "$LIBTOOLIZE$my_libtoolize_options" 'exit $?'
- }
-}
-
-
-# func_autoreconf
-# ---------------
-# Being careful not to re-run `autopoint' or `libtoolize', and not to
-# try to run `autopoint', `libtoolize' or `autoheader' on packages that
-# don't use them, defer to `autoreconf' for execution of the remaining
-# autotools to bootstrap this package.
-func_autoreconf ()
-{
- $debug_cmd
-
- $require_autoheader
- $require_build_aux # automake and others put files in here
- $require_macro_dir # aclocal and others put files in here
-
- # We ran these manually already, and autoreconf won't exec `:'
- save_AUTOPOINT="$AUTOPOINT"; AUTOPOINT=true
- save_LIBTOOLIZE="$LIBTOOLIZE"; LIBTOOLIZE=true
-
- my_autoreconf_options=
- $opt_copy || func_append my_autoreconf_options " --symlink"
- $opt_force && func_append my_autoreconf_options " --force"
- $opt_verbose && func_append my_autoreconf_options " --verbose"
- func_show_eval "$AUTORECONF$my_autoreconf_options --install" 'exit $?'
-
- AUTOPOINT="$save_AUTOPOINT"
- LIBTOOLIZE="$save_LIBTOOLIZE"
-}
-
-
-# func_install_gnulib_non_module_files
-# ------------------------------------
-# Get additional non-module files from gnulib, overriding existing files.
-func_install_gnulib_non_module_files ()
-{
- $debug_cmd
-
- $require_build_aux
- $require_gnulib_path
-
- test -n "$gnulib_non_module_files" && {
- if test -n "$gnulib_path"; then
- maybe_exit_cmd=:
-
- for file in $gnulib_non_module_files; do
- case $file in
- */COPYING*) dest=COPYING;;
- */INSTALL) dest=INSTALL;;
- build-aux/*) dest=$build_aux/`expr "$file" : 'build-aux/\(.*\)'`;;
- *) dest=$file;;
- esac
-
- # Be sure to show all copying errors before bailing out
- if test -f "$gnulib_path/$file"; then
- func_symlink_to_dir "$gnulib_path" $file $dest
- else
- func_error "Error: \`$gnulib_path/$file' does not exist"
- maybe_exit_cmd="exit $EXIT_FAILURE"
- fi
- done
-
- $maybe_exit_cmd
- else
- func_warning recommend "\
-Unable to link \`\$gnulib_non_module_files', please provide the
-location of a complete \`gnulib' tree by setting \`gnulib_path' in
-your \`bootstrap.conf' or with the \`--gnulib-srcdir' option - or
-else specify the location of your \`git' binary by setting \`GIT'
-in the environment so that a fresh \`gnulib' submodule can be cloned."
- fi
- }
-}
-
-
-# func_check_configuration VARNAME [CONFIGURE_MACRO]
-# --------------------------------------------------
-func_check_configuration ()
-{
- $debug_cmd
-
- $require_configure_ac
-
- eval 'test -n "$'$1'"' || {
- my_error_msg="Error: please set \`$1' in \`bootstrap.conf'"
- test -n "$2" \
- && func_append my_error_msg "
- or add the following (or similar) to your \`$configure_ac':
- $2"
-
- func_fatal_error "$my_error_msg"
- }
-}
-
-
-# func_clean_dangling_symlinks
-# ----------------------------
-# Remove any dangling symlink matching "*.m4" or "*.[ch]" in some
-# gnulib-populated directories. Such .m4 files would cause aclocal to
-# fail. The following requires GNU find 4.2.3 or newer. Considering
-# the usual portability constraints of this script, that may seem a very
-# demanding requirement, but it should be ok. Ignore any failure,
-# which is fine, since this is only a convenience to help developers
-# avoid the relatively unusual case in which a symlinked-to .m4 file is
-# git-removed from gnulib between successive runs of this script.
-func_clean_dangling_symlinks ()
-{
- $debug_cmd
-
- $require_macro_dir
- $require_source_base
-
- func_verbose "cleaning dangling symlinks"
-
- find "$macro_dir" "$source_base" \
- -depth \( -name '*.m4' -o -name '*.[ch]' \) \
- -type l -xtype l -delete > /dev/null 2>&1
-}
-
-
-# func_clean_unused_macros
-# ------------------------
-# Autopoint can result in over-zealously adding macros into $macro_dir
-# even though they are not actually used, for example tests to help
-# build the `intl' directory even though you have specified
-# `AM_GNU_GETTEXT([external])' in your configure.ac. This function
-# looks removes any macro files that can be found in gnulib, but
-# are not `m4_include'd by `aclocal.m4'.
-func_clean_unused_macros ()
-{
- $debug_cmd
-
- $require_gnulib_path
- $require_macro_dir
-
- test -n "$gnulib_path" && test -f aclocal.m4 && {
- aclocal_m4s=`find . -name aclocal.m4 -print`
-
- # We use `ls|grep' instead of `ls *.m4' to avoid exceeding
- # command line length limits in some shells.
- for file in `cd $macro_dir && ls -1 |grep '\.m4$'`; do
-
- # Remove a macro file when aclocal.m4 does not m4_include it...
- func_grep_q 'm4_include([[]'$macro_dir/$file'])' $aclocal_m4s \
- || test ! -f $gnulib_path/m4/$file || {
-
- # ...and there is an identical file in gnulib...
- if func_cmp_s $gnulib_path/m4/$file $macro_dir/$file; then
-
- # ...and it's not in the precious list (`echo' is needed
- # here to squash whitespace for the match expression).
- case " "`echo $gnulib_precious`" " in
- *" $file "*) ;;
- *) rm -f $macro_dir/$file
- func_verbose \
- "removing unused gnulib file \`$macro_dir/$file'"
- esac
- fi
- }
- done
- }
-}
-
-
-# func_skip_po_recommendation
-# ---------------------------
-# If there is a po directory, and `--skip-po' wasn't passed, let the
-# user know that they can use `--skip-po' on subsequent invocations.
-func_skip_po_recommendation ()
-{
- test ! -d po \
- || $opt_skip_po \
- || func_warning recommend "\
-If your pofiles are up-to-date, you can rerun bootstrap
-as \`$progname --skip-po' to avoid redownloading."
-}
-
-
-## -------------------- ##
-## Resource management. ##
-## -------------------- ##
-
-# This section contains definitions for functions that each ensure a
-# particular resource (a file, or a non-empty configuration variable for
-# example) is available, and if appropriate to extract default values
-# from pertinent package files. Where a variable already has a non-
-# empty value (as set by the package's `bootstrap.conf'), that value is
-# used in preference to deriving the default. Call them using their
-# associated `require_*' variable to ensure that they are executed, at
-# most, once.
-
-
-# require_checkout_only_file
-# --------------------------
-# Bail out if this package only bootstraps properly from a repository
-# checkout.
-require_checkout_only_file=func_require_checkout_only_file
-func_require_checkout_only_file ()
-{
- $debug_cmd
-
- test -n "$checkout_only_file" && test ! -f "$checkout_only_file" \
- && func_fatal_error "\
-Error: Bootstrapping from a non-checked-out distribution is risky."
-
- require_checkout_only_file=:
-}
-
-
-# require_aclocal_amflags
-# -----------------------
-# Ensure `$aclocal_amflags' has a sensible default, extracted from
-# `Makefile.am' if necessary.
-require_aclocal_amflags=func_require_aclocal_amflags
-func_require_aclocal_amflags ()
-{
- $debug_cmd
-
- $require_makefile_am
-
- my_sed_extract_aclocal_amflags='s|#.*$||
- /^[ ]*ACLOCAL_AMFLAGS[ ]*=/ {
- s|^.*=[ ]*\(.*\)|aclocal_amflags="\1"|
- p
- }'
-
- my_aclocal_flags_cmd=`$SED -n "$my_sed_extract_aclocal_amflags" \
- "$makefile_am"`
- eval "$my_aclocal_flags_cmd"
-
- func_verbose "ACLOCAL_AMFLAGS='$aclocal_amflags'"
-
- require_aclocal_amflags=:
-}
-
-
-# require_autobuild_buildreq
-# --------------------------
-# Try to find whether the bootstrap requires autobuild.
-require_autobuild_buildreq=func_require_autobuild_buildreq
-func_require_autobuild_buildreq ()
-{
- $debug_cmd
-
- printf "$buildreq"| func_grep_q '^[ ]*autobuild' || {
- $require_configure_ac
-
- func_extract_trace AB_INIT
- test -n "$func_extract_trace_result" && {
- func_append buildreq 'autobuild - http://josefsson.org/autobuild/
-'
- func_verbose "auto-adding \`autobuild' to build requirements"
- }
- }
-
- require_autobuild_buildreq=:
-}
-
-
-# require_autoconf_buildreq
-# require_gettext_buildreq
-# require_libtoolize_buildreq
-# ---------------------------
-# Try to find the minimum compatible version of autoconf/libtool
-# required to bootstrap successfully, and add it to `$buildreq'.
-for tool in autoconf libtoolize gettext; do
- b=$tool
- v=require_${tool}_buildreq
- f=func_$v
- case $tool in
- autoconf) m=AC_PREREQ ;;
- libtoolize) m=LT_PREREQ; b=libtool ;;
- gettext) m=AM_GNU_GETTEXT_VERSION ;;
- esac
-
- eval $v'='$f'
- '$f' ()
- {
- $debug_cmd
-
- # The following is ignored if undefined, but might be necessary
- # in order for `func_find_tool` to run.
- ${require_'$tool'-:}
-
- printf "$buildreq" | func_grep_q '\''^[ ]*'$tool\'' || {
- $require_configure_ac
-
- func_extract_trace '$m'
- my_version="$func_extract_trace_result"
- test -n "$my_version" && {
- func_append buildreq "\
- '$tool' $my_version http://www.gnu.org/s/'$b'
-"
- func_verbose \
- "auto-adding \`'$tool'-$my_version'\'' to build requirements"
- }
- }
-
- '$v'=:
- }
-'
-done
-
-
-# require_autoheader
-# ------------------
-# Skip autoheader if it's not needed.
-require_autoheader=func_require_autoheader
-func_require_autoheader ()
-{
- $debug_cmd
-
- test true = "$AUTOHEADER" || {
- func_extract_trace AC_CONFIG_HEADERS
- test -n "$func_extract_trace_result" \
- || func_extract_trace AC_CONFIG_HEADER
-
- test -n "$func_extract_trace_result" || {
- AUTOHEADER=true
-
- func_verbose "export AUTOHEADER='$AUTOHEADER'"
-
- # Make sure the search result is visible to subshells
- export AUTOHEADER
- }
- }
-
- require_autoheader=:
-}
-
-
-# require_automake_buildreq
-# -------------------------
-# Try to find the minimum compatible version of automake required to
-# bootstrap successfully, and add it to `$buildreq'.
-require_automake_buildreq=func_require_automake_buildreq
-func_require_automake_buildreq ()
-{
- $debug_cmd
-
- # if automake is not already listed in $buildreq...
- printf "$buildreq"| func_grep_q automake || {
- func_extract_trace AM_INIT_AUTOMAKE
-
- # ...and AM_INIT_AUTOMAKE is declared...
- test -n "$func_extract_trace_result" && {
- automake_version=`echo "$func_extract_trace_result" \
- |$SED 's|[^0-9]*||; s| .*$||'`
- test -n "$automake_version" || automake_version="-"
-
- func_append buildreq "\
- automake $automake_version http://www.gnu.org/s/automake
-"
- func_verbose \
- "auto-adding \`automake-$automake_version' to build requirements"
- }
- }
-
- require_automake_buildreq=:
-}
-
-
-# require_autopoint
-# -----------------
-# Skip autopoint if it's not needed.
-require_autopoint=func_require_autopoint
-func_require_autopoint ()
-{
- $debug_cmd
-
- test true = "$AUTOPOINT" || {
- func_extract_trace AM_GNU_GETTEXT_VERSION
-
- test -n "$func_extract_trace_result" || {
- AUTOPOINT=true
-
- func_verbose "export AUTOPOINT='$AUTOPOINT'"
-
- # Make sure the search result is visible to subshells
- export AUTOPOINT
- }
- }
-
- require_autopoint=:
-}
-
-
-# func_require_bootstrap_uptodate
-# -------------------------------
-# Complain if the version of bootstrap in the gnulib directory differs
-# from the one we are running.
-require_bootstrap_uptodate=func_require_bootstrap_uptodate
-func_require_bootstrap_uptodate ()
-{
- $debug_cmd
-
- $require_gnulib_path
-
- test x = x"$gnulib_path" \
- || func_cmp_s $progpath $gnulib_path/build-aux/bootstrap \
- || func_warning upgrade "\
-\`$progpath' differs from \`./$gnulib_path/build-aux/bootstrap',
-please consider adopting the canonical version from gnulib."
-
- require_bootstrap_uptodate=:
-}
-
-
-# require_build_aux
-# -----------------
-# Ensure that `$build_aux' is set, and if it doesn't already point to an
-# existing directory, create one.
-require_build_aux=func_require_build_aux
-func_require_build_aux ()
-{
- $debug_cmd
-
- test -n "$build_aux" || {
- $require_configure_ac
-
- func_extract_trace AC_CONFIG_AUX_DIR
- build_aux="$func_extract_trace_result"
- func_check_configuration build_aux \
- "AC_CONFIG_AUX_DIR([name of a directory for build scripts])"
-
- func_verbose "build_aux='$build_aux'"
- }
-
- $require_vc_ignore_files
-
- # If the build_aux directory doesn't exist, create it now, and mark it
- # as ignored for the VCS.
- if test ! -d "$build_aux"; then
- func_show_eval "mkdir '$build_aux'"
-
- test -n "$vc_ignore_files" \
- || func_insert_sorted_if_absent "$build_aux" $vc_ignore_files
- fi
-
- require_build_aux=:
-}
-
-
-# func_require_buildtools_uptodate
-# --------------------------------
-# Ensure all the packages listed in BUILDREQS are available on the build
-# machine at the minimum versions or better.
-require_buildtools_uptodate=func_require_buildtools_uptodate
-func_require_buildtools_uptodate ()
-{
- $debug_cmd
-
- $require_autobuild_buildreq
- $require_autoconf_buildreq
- $require_automake_buildreq
- $require_libtoolize_buildreq
- $require_gettext_buildreq
-
- test -n "$buildreq" && {
- func_check_versions $buildreq
- $func_check_versions_result || {
- test -n "$buildreq_readme" \
- && test -f "$buildreq_readme" \
- && func_error "\
-Error: $buildreq_readme explains how to obtain these prerequisite programs:
-"
- func_strtable 7 11 12 36 \
- "Program" "Min_version" "Homepage" $buildreq
- func_fatal_error "$func_strtable_result"
- }
- }
-
- require_buildtools_uptodate=:
-}
-
-
-# require_configure_ac
-# --------------------
-# Ensure that there is a `configure.ac' or `configure.in' file in the
-# current directory, and that `$configure_ac' contains its name.
-require_configure_ac=func_require_configure_ac
-func_require_configure_ac ()
-{
- $debug_cmd
-
- test -n "$configure_ac" || {
- for configure_ac in configure.ac configure.in; do
- test -f $configure_ac && break
- done
-
- <$configure_ac
- }
-
- func_verbose "found \`$configure_ac'"
-
- require_configure_ac=:
-}
-
-
-# require_copyright_holder
-# ------------------------
-# Ensure there is a sensible non-empty default value in `$copyright_holder'.
-require_copyright_holder=func_require_copyright_holder
-func_require_copyright_holder ()
-{
- $debug_cmd
-
- test -n "$copyright_holder" || {
- copyright_holder='Free Software Foundation, Inc.'
- func_warning settings "\
-Please set copyright_holder explicitly in \`bootstrap.conf';
-defaulting to \`$copyright_holder'."
- }
-
- require_copyright_holder=:
-}
-
-
-# require_dotgitmodules
-# ---------------------
-# Ensure we have a `.gitmodules' file, with appropriate `gnulib' settings.
-require_dotgitmodules=func_require_dotgitmodules
-func_require_dotgitmodules ()
-{
- $debug_cmd
-
- $require_git
-
- test true = "$GIT" || {
- # A gnulib entry in .gitmodules always takes precedence.
- my_path="`$GIT config --file .gitmodules submodule.gnulib.path 2>/dev/null`"
-
- test -n "$my_path" || {
- $require_vc_ignore_files
-
- func_verbose "creating \`.gitmodules'"
-
- # If the .gitmodules file doesn't exist, create it now, and mark
- # it as ignored for the VCS.
- test -n "$gnulib_path" || gnulib_path=gnulib
- test -n "$gnulib_url" || gnulib_url=git://git.sv.gnu.org/gnulib
-
- {
- echo '[submodule "gnulib"]'
- echo " path = $gnulib_path"
- echo " url = $gnulib_url"
- } >> .gitmodules
-
- test -n "$vc_ignore_files" \
- || func_insert_sorted_if_absent ".gitmodules" $vc_ignore_files
- }
- }
-
- require_dotgitmodules=:
-}
-
-
-# require_extra_locale_categories
-# -------------------------------
-# Ensure there is a default value in `$extra_locale_categories'
-require_extra_locale_categories=func_require_extra_locale_categories
-func_require_extra_locale_categories ()
-{
- $debug_cmd
-
- # Defaults to empty, so run with whatever value may have been set in
- # `bootstrap.conf'.
- require_extra_locale_categories=:
-}
-
-
-# require_git
-# -----------
-# Ignore git if it's not available, or we're not in a git checkout tree.
-require_git=func_require_git
-func_require_git ()
-{
- $debug_cmd
-
- $opt_skip_git && GIT=true
-
- test true = "$GIT" || {
- if test -f .gitignore && ($GIT --version) >/dev/null 2>&1; then :; else
- GIT=true
- fi
- }
-
- func_verbose "GIT='$GIT'"
-
- require_git=:
-}
-
-
-# require_gnu_m4
-# --------------
-# Search for GNU M4, and export it in $M4.
-require_gnu_m4=func_require_gnu_m4
-func_require_gnu_m4 ()
-{
- $debug_cmd
-
- test -n "$M4" || {
- # Find the first m4 binary that responds to --version.
- func_find_tool M4 gm4 gnum4 m4
- }
-
- test -n "$M4" || func_fatal_error "\
-Error: Please install GNU M4, or \`export M4=/path/to/gnu/m4'."
-
- func_verbose "export M4='$M4'"
-
- # Make sure the search result is visible to subshells
- export M4
-
- require_gnu_m4=:
-}
-
-
-# require_gnulib_cache
-# --------------------
-# Ensure there is a non-empty default for `$gnulib_cache', and that it
-# names an existing file.
-require_gnulib_cache=func_require_gnulib_cache
-func_require_gnulib_cache ()
-{
- $debug_cmd
-
- $require_macro_dir
-
- test -n "$gnulib_cache" \
- || gnulib_cache="$macro_dir/gnulib-cache.m4"
-
- func_verbose "found \`$gnulib_cache'"
-
- require_gnulib_cache=:
-}
-
-
-# require_gnulib_files_already_present
-# ------------------------------------
-# If we have no means to update imported gnulib files, then try to
-# ensure at least that this tree already has files from a previous
-# `gnulib-tool' run.
-require_gnulib_files_already_present=func_require_gnulib_files_already_present
-func_require_gnulib_files_already_present ()
-{
- $debug_cmd
-
- $require_build_aux
- $require_macro_dir
- $require_gnulib_mk
- $require_source_base
-
- # As a heuristic, only bail out if any of the following
- # are missing.
- my_gnulib_files_already_present="
- $build_aux/install-sh
- $macro_dir/00gnulib.m4
- $source_base/${gnulib_mk:-Makefile.am}
- "
-
- $opt_dry_run || {
- for my_file in $my_gnulib_files_already_present; do
- test -f "$my_file" || func_fatal_error "\
-Error: Can't find, copy or download required gnulib files,
- please provide the location of a complete \`gnulib' tree
- by setting \`gnulib_path' in your \`bootstrap.conf' or
- with the \`--gnulib-srcdir' option - or else specify the
- location of your \`git' binary by setting \`GIT' in the
- environment so that a fresh \`gnulib' submodule can be
- cloned."
- done
- }
-
- require_gnulib_files_already_present=:
-}
-
-
-# require_gnulib_merge_changelog
-# ------------------------------
-# See if we can use gnulib's git-merge-changelog merge driver.
-require_gnulib_merge_changelog=func_require_gnulib_merge_changelog
-func_require_gnulib_merge_changelog ()
-{
- $debug_cmd
-
- test -f ChangeLog && {
- $require_git
-
- test true = "$GIT" || {
- if $GIT config merge.merge-changelog.driver >/dev/null ; then
- :
- elif (git-merge-changelog --version) >/dev/null 2>&1 ; then
- func_echo "initializing git-merge-changelog driver"
- $GIT config merge.merge-changelog.name 'GNU-style ChangeLog merge driver'
- $GIT config merge.merge-changelog.driver 'git-merge-changelog %O %A %B'
- else
- func_warning recommend \
- "Consider installing git-merge-changelog from gnulib."
- fi
- }
- }
-
- require_gnulib_merge_changelog=:
-}
-
-
-# require_gnulib_mk
-# -----------------
-# Ensure gnulib_mk has a sensible value, extracted from `gnulib-cache.m4'
-# if possible, otherwise letting `gnulib-tool' pick a default.
-require_gnulib_mk=func_require_gnulib_mk
-func_require_gnulib_mk ()
-{
- $debug_cmd
-
- test -n "$gnulib_mk" || {
- $require_gnulib_cache
- $require_macro_dir
-
- func_extract_trace "gl_MAKEFILE_NAME" "$gnulib_cache"
- gnulib_mk="$func_extract_trace_result"
-
- test -n "$gnulib_mk" && func_verbose "gnulib_mk='$gnulib_mk'"
- }
-
- require_gnulib_mk=:
-}
-
-
-# require_gnulib_path
-# require_gnulib_url
-# -------------------
-# Ensure `gnulib_path' and `gnulib_url' are set.
-require_gnulib_path=func_require_dotgitmodules_parameters
-require_gnulib_url=func_require_dotgitmodules_parameters
-func_require_dotgitmodules_parameters ()
-{
- $debug_cmd
-
- $require_git
-
- if test true = "$GIT"; then
- # If we can't find git (or if the user specified `--skip-git'),
- # then use an existing gnulib directory specified with
- # `--gnulib-srcdir' if possible.
- test -n "$gnulib_path" \
- || test ! -x "$opt_gnulib_srcdir/gnulib-tool" \
- || gnulib_path="$opt_gnulib_srcdir"
- fi
-
- $require_dotgitmodules
-
- # Extract the parameters with sed, since git may be missing
- test -n "$gnulib_path" \
- || gnulib_path=`sed -e '/^.submodule "gnulib".$/,${
- /[ ]*path *= */{
- s,[ ]*,,g;s,^[^=]*=,,;p
- }
- };d' .gitmodules | sed 1q`
- test -n "$gnulib_url" \
- || gnulib_url=`sed -e '/^.submodule "gnulib".$/,${
- /[ ]*url *= */{
- s,[ ]*,,g;s,^[^=]*=,,;p
- }
- };d' .gitmodules | sed 1q`
-
- func_verbose "gnulib_path='$gnulib_path'"
- func_verbose "gnulib_url='$gnulib_url'"
-
- require_gnulib_path=:
- require_gnulib_url=:
-}
-
-
-# require_gnulib_submodule
-# ------------------------
-# Ensure that there is a current gnulib submodule at `$gnulib_path'.
-require_gnulib_submodule=func_require_gnulib_submodule
-func_require_gnulib_submodule ()
-{
- $debug_cmd
-
- $require_git
-
- if test true = "$GIT"; then
- func_warning recommend \
- "No \`git' found; imported gnulib modules may be outdated."
- else
- $require_gnulib_path
- $require_gnulib_url
-
- if test -f .gitmodules && test -f "$gnulib_path/gnulib-tool"; then
- func_show_eval "$GIT submodule update" \
- 'func_fatal_error "Error: Unable to update gnulib submodule."'
-
- elif test -n "$opt_gnulib_srcdir"; then
- # Older git can't clone into an empty directory.
- rmdir "$gnulib_path" 2>/dev/null
- func_show_eval "$GIT clone --reference '$opt_gnulib_srcdir' \
- '$gnulib_url' '$gnulib_path'" \
- && func_show_eval "$GIT submodule init" \
- && func_show_eval "$GIT submodule update" \
- || func_fatal_error "Error: Unable to fetch gnulib submodule."
-
- # Without --gnulib-srcdir, and no existing checked out submodule, we
- # create a new shallow clone of the remote gnulib repository.
- else
- trap func_cleanup_gnulib 1 2 13 15
-
- shallow=
- $GIT clone -h 2>&1 |func_grep_q -- --depth \
- && shallow='--depth 2'
-
- func_show_eval "$GIT clone $shallow '$gnulib_url' '$gnulib_path'" \
- func_cleanup_gnulib
-
- trap - 1 2 13 15
- fi
- fi
-
- require_gnulib_submodule=:
-}
-
-
-# require_gnulib_tool
-# -------------------
-# Ensure that `$gnulib_tool' is set, and points to an executable file,
-# or else fall back to using the binary `true' if the main gnulib
-# files appear to have been imported already.
-require_gnulib_tool=func_require_gnulib_tool
-func_require_gnulib_tool ()
-{
- $debug_cmd
-
- $require_gnulib_submodule
-
- test true = "$gnulib_tool" || {
- $require_gnulib_path
-
- test -n "$gnulib_tool" \
- || gnulib_tool="$gnulib_path/gnulib-tool"
-
- test -x "$gnulib_tool" || {
- $require_gnulib_files_already_present
-
- gnulib_tool=true
- func_warning recommend \
- "No \`gnulib-tool' found; gnulib modules may be missing."
- }
-
- test true = "$gnulib_tool" \
- || func_verbose "found \`$gnulib_tool'"
- }
-
- require_gnulib_tool=:
-}
-
-
-# require_libtoolize
-# ------------------
-# Skip libtoolize if it's not needed.
-require_libtoolize=func_require_libtoolize
-func_require_libtoolize ()
-{
- $debug_cmd
-
- # Unless we're not searching for libtool use by this package, set
- # LIBTOOLIZE to true if none of `LT_INIT', `AC_PROG_LIBTOOL' and
- # `AM_PROG_LIBTOOL' are used in configure.
- test true = "$LIBTOOLIZE" || {
- func_extract_trace LT_INIT
- test -n "$func_extract_trace_result"||func_extract_trace AC_PROG_LIBTOOL
- test -n "$func_extract_trace_result"||func_extract_trace AM_PROG_LIBTOOL
- test -n "$func_extract_trace_result"||LIBTOOLIZE=true
- }
-
- test -n "$LIBTOOLIZE" || {
- # Find libtoolize, named glibtoolize in Mac Ports, but prefer
- # user-installed libtoolize to ancient glibtoolize shipped by
- # Apple with Mac OS X when Mac Ports is not installed.
- func_find_tool LIBTOOLIZE libtoolize glibtoolize
- }
-
- func_verbose "export LIBTOOLIZE='$LIBTOOLIZE'"
-
- # Make sure the search result is visible to subshells
- export LIBTOOLIZE
-
- require_libtoolize=:
-}
-
-
-# require_macro_dir
-# -----------------
-# Ensure that `$macro_dir' is set, and if it doesn't already point to an
-# existing directory, create one.
-require_macro_dir=func_require_macro_dir
-func_require_macro_dir ()
-{
- $debug_cmd
-
- # Sometimes this is stored in `configure.ac'.
- test -n "$macro_dir" || {
- func_extract_trace AC_CONFIG_MACRO_DIR
- macro_dir="$func_extract_trace_result"
- }
-
- # Otherwise we might find it in `Makefile.am'.
- test -n "$macro_dir" || {
- $require_aclocal_amflags
-
- my_sed_scan='s|^.*-I[ ]*\([^ ]*\) .*|\1|'
-
- # Trailing space in echo is required by the sed script.
- macro_dir=`echo "$aclocal_amflags " |$SED "$my_sed_scan"`
- }
-
- func_verbose "macro_dir='$macro_dir'"
-
- func_check_configuration macro_dir \
- "AC_CONFIG_MACRO_DIR([name of a directory for configure m4 files])"
-
- $require_vc_ignore_files
-
- # If the macro_dir directory doesn't exist, create it now, and mark it
- # as ignored for the VCS.
- if test ! -d "$macro_dir"; then
- mkdir "$macro_dir" || func_permissions_error "$macro_dir"
-
- test -n "$vc_ignore_files" \
- || func_insert_sorted_if_absent "$macro_dir" $vc_ignore_files
- fi
-
- require_macro_dir=:
-}
-
-
-# require_makefile_am
-# -------------------
-# Ensure there is a `Makefile.am' in the current directory.
-# names an existing file.
-require_makefile_am=func_require_makefile_am
-func_require_makefile_am ()
-{
- $debug_cmd
-
- test -n "$makefile_am" \
- || makefile_am="Makefile.am"
-
- <"$makefile_am"
-
- func_verbose "found \`$makefile_am'"
-
- require_makefile_am=:
-}
-
-
-# require_package
-# ---------------
-# Ensure that `$package' contains a sensible default value.
-require_package=func_require_package
-func_require_package ()
-{
- $debug_cmd
-
- test -n "$package" || {
- $require_package_name
-
- package=`echo "$package_name" \
- |$SED 's/GNU //;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
- }
-
- func_verbose "package='$package'"
-
- require_package=:
-}
-
-
-# require_package_bugreport
-# -------------------------
-# Ensure that this has a sensible value, extracted from `configure.ac'
-# if appropriate (and possible!).
-require_package_bugreport=func_require_package_bugreport
-func_require_package_bugreport ()
-{
- $debug_cmd
-
- func_extract_trace AC_INIT
-
- save_ifs="$IFS"
- IFS=:
- set dummy $func_extract_trace_result
- IFS="$save_ifs"
- shift
-
- test -n "$package_bugreport" || package_bugreport="$3"
- func_check_configuration package_bugreport \
- "AC_INIT([$package_name], [$package_version], [bug-$package@gnu.org])"
- func_verbose "package_bugreport='$package_bugreport'"
-
- require_package_bugreport=:
-}
-
-
-# require_package_name
-# --------------------
-# Ensure that this has a sensible value, extracted from `configure.ac'
-# if appropriate (and possible!).
-require_package_name=func_require_package_name
-func_require_package_name ()
-{
- $debug_cmd
-
- func_extract_trace AC_INIT
-
- save_ifs="$IFS"
- IFS=:
- set dummy $func_extract_trace_result
- IFS="$save_ifs"
- shift
-
- test -n "$package_name" || package_name="$1"
- func_check_configuration package_name \
- "AC_INIT([name of your package], [package version number])"
- func_verbose "package_name='$package_name'"
-
- require_package_name=:
-}
-
-
-# require_package_version
-# -----------------------
-# Ensure that this has a sensible value, extracted from `configure.ac'
-# if appropriate (and possible!). While we might have set all the
-# parameters extracted from AC_INIT at once, `package_version' in
-# particular is not necessarily available as early as the others, since
-# `git-version-gen' is often involved, and until then we can't rely on
-# getting a correct version number from an AC_INIT extraction.
-require_package_version=func_require_package_version
-func_require_package_version ()
-{
- $debug_cmd
-
- func_extract_trace AC_INIT
-
- save_ifs="$IFS"
- IFS=:
- set dummy $func_extract_trace_result
- IFS="$save_ifs"
- shift
-
- test -n "$package_version" || package_version="$2"
- func_check_configuration package_version \
- "AC_INIT([$package_name], [package version number])"
- func_verbose "package_version='$package_version'"
-
- require_package_version=:
-}
-
-
-# require_source_base
-# -------------------
-# Ensure that source_base has a sensible value, extracted from
-# `gnulib-cache.m4' if possible.
-require_source_base=func_require_source_base
-func_require_source_base ()
- {
- $debug_cmd
-
- $require_gnulib_cache
-
- test -f "$gnulib_cache" && test x = "x$source_base" && {
- $require_macro_dir
-
- func_extract_trace "gl_SOURCE_BASE" "$gnulib_cache"
-
- source_base="$func_extract_trace_result"
-
- func_verbose "source_base='$source_base'"
- }
-
- # Only prevent repeated calls if we found something...
- # gnulib-cache.m4 might arrive before the next call.
- test -n "$source_base" && require_source_base=:
-}
-
-
-# require_vc_ignore_files
-# -----------------------
-# Ensure that `$vc_ignore' has been processed to list VCS ignore files
-# in `$vc_ignore_files'
-require_vc_ignore_files=func_require_vc_ignore_files
-func_require_vc_ignore_files ()
-{
- $debug_cmd
-
- test -n "$vc_ignore" || vc_ignore=auto
-
- if test auto = "$vc_ignore" && test x = x"$vc_ignore_files"; then
- vc_ignore_files=
- test -d .git && vc_ignore_files=.gitignore
- test -d CVS && vc_ignore_files="$vc_ignore_files .cvsignore"
- else
- vc_ignore_files="$vc_ignore"
- fi
-
- func_verbose "vc_ignore_files='$vc_ignore_files'"
-
- require_vc_ignore_files=:
-}
-
-
-## ------------------##
-## Helper functions. ##
-## ------------------##
-
-# This section contains the helper functions used by the rest of `bootstrap'.
-
-# func_len STRING
-# ---------------
-# STRING may not start with a hyphen.
-if (eval 'x=123; test x${#x} = "x3"') 2>/dev/null
-then
- # This is an XSI compatible shell, allowing a faster implementation...
- eval 'func_len ()
- {
- $debug_cmd
-
- func_len_result=${#1}
- }'
-else
- # ...otherwise fall back to using expr, which is often a shell builtin.
- func_len ()
- {
- $debug_cmd
-
- func_len_result=`expr "$1" : ".*" 2>/dev/null || echo 0`
- }
-fi
-
-
-# func_unset VAR
-# --------------
-# Portably unset VAR.
-func_unset ()
-{
- { eval $1=; unset $1; }
-}
-unset=func_unset
-
-
-# func_cmp_s FILE1 FILE2
-# ----------------------
-# Return non-zero exit status unless FILE1 and FILE2 are identical, without
-# output.
-func_cmp_s ()
-{
- $debug_cmd
-
- # This function relies on non-zero exit status, which will cause the
- # program to exit when running in `set -e' mode.
- $CMP "$@" >/dev/null 2>&1
-}
-
-
-# func_grep_q EXPRESSION [FILENAME..].
-# ------------------------------------
-# Check whether EXPRESSION matches any line of any listed FILENAME,
-# without output.
-func_grep_q ()
-{
- $debug_cmd
-
- # This function relies on non-zero exit status, which will cause the
- # program to exit when running in `set -e' mode.
- $GREP "$@" >/dev/null 2>&1
-}
-
-
-# func_append_u VAR VALUE
-# -----------------------
-# Append unique VALUE onto the existing contents of VAR, assuming
-# entries are delimited by the first character of VALUE. For example:
-#
-# func_append_u options " --another-option option-argument"
-#
-# will only append to $options if " --another-option option-argument "
-# is not already present somewhere in $options already (note spaces at
-# each end implied by leading space in second argument).
-func_append_u ()
-{
- $debug_cmd
-
- eval my_current_value='`echo $'$1'`'
- my_delim=`expr "$2" : '\(.\)'`
-
- case $my_delim$my_current_value$my_delim in
- *"$2$my_delim"*) ;;
- *) func_append "$@" ;;
- esac
-}
-
-
-# func_strpad STR WIDTH CHAR
-# --------------------------
-# Trim STR, or pad with CHAR to force a total length of WIDTH.
-func_strpad ()
-{
- $debug_cmd
-
- my_width=`expr "$2" - 1`
- func_strpad_result=`echo "$1" |$SED '
- :a
- s|^.\{0,'"$my_width"'\}$|&'"$3"'|
- ta
- '`
-}
-
-
-# func_strrpad STR WIDTH CHAR
-# ---------------------------
-# Trim STR, or right-justify-pad with CHAR to force a total length of
-# WIDTH.
-func_strrpad ()
-{
- $debug_cmd
-
- my_width=`expr "$2" - 1`
- func_strrpad_result=`echo "$1" |$SED '
- :a
- s|^.\{0,'"$my_width"'\}$|'"$3"'&|
- ta
- '`
-}
-
-
-# func_strrow INDENT FIELD WIDTH [FIELDn WIDTHn]...
-# -------------------------------------------------
-# Return a string containing each FIELD left justified to WIDTH, with
-# the whole thing indented by INDENT spaces. This function is used to
-# render one row of aligned columns for a table by func_strtable().
-func_strrow ()
-{
- $debug_cmd
-
- func_strrow_linelen="$1"; shift
-
- my_row=
- while test $# -gt 0; do
- func_strrow_linelen=`expr $func_strrow_linelen + $2`
- func_strpad "$1" $2 " "
- func_append my_row "$func_strpad_result"
- shift; shift
- done
-
- func_strrpad "$my_row" $func_strrow_linelen " "
- func_strrow_result="$func_strrpad_result"
-}
-
-
-# func_strtable INDENT WIDTH1...WIDTHn HEADER1...HEADERn FIELD1...FIELDn
-# ----------------------------------------------------------------------
-# Generate a string of newline-separated rows arranged in lined-up
-# columns of the given WIDTHs, with the entire table indented by INDENT
-# spaces. The number of columns is determined by the number of integer
-# valued WIDTH arguments following INDENT. The next set (i.e. a number
-# of arguments equal to the number of WIDTH arguments) of fields are
-# treated as the table's column HEADERs, and are separated from the
-# remainder of the table by an indented row of `-' characters. Remaining
-# arguments are each aligned below the next available header, wrapping
-# to a new row as necessary. Finally another row of `-' characters is
-# added to mark the end of the table.
-#
-# For example an unindented 3 column table with 2 rows of data would be
-# generated by this call:
-#
-# func_strtable 3 20 10 25 \
-# Header1 Header2 Header3 \
-# Row1Col1 Row1Col2 Row1Col3 \
-# Row2Col1 Row2Col2 Row2Col3
-#
-# returning the following string:
-#
-# " Header1 Header2 Header3
-# -------------------------------------------------------
-# Row1Col1 Row1Col2 Row1Col3
-# Row2Col1 Row2Col2 Row2Col3
-# -------------------------------------------------------"
-func_strtable ()
-{
- $debug_cmd
-
- # Save the indent value, we'll need it for each row we render.
- my_indent="$1"; shift
-
- # Collect remaining numeric args into a list for reuse between
- # members of each row when we call func_strrow later.
- my_widths="$1"; shift
- while test 0 -lt `expr "$1" : '[1-9][0-9]*$'`; do
- func_append my_widths " $1"; shift
- done
-
- # Extract the same number of positional parameters as there are
- # width elements - we'll do the header rows separately so that
- # we can insert a divider line.
- my_header="$my_indent"
- for my_width in $my_widths; do
- func_append my_header " $1 $my_width"; shift
- done
- func_strrow $my_header
-
- # Strip off the indent, and make a divider with `-' chars, then
- # reindent.
- my_divider=`echo "$func_strrow_result" \
- |$SED 's|[^ ]|-|g
- :a
- s|- |--|g
- ta
- '`
-
- # Append the header and divider to the running result.
- func_append func_strtable_result "\
-$func_strrow_result
-$my_divider
-"
-
- # The remaining rows are zipped between the width values we
- # unwound earlier just like the header row above.
- while test $# -gt 0; do
- my_row="$my_indent"
- for my_width in $my_widths; do
- func_append my_row " $1 $my_width"; shift
- done
- func_strrow $my_row
- func_append func_strtable_result "\
-$func_strrow_result
-"
- done
-
- # Mark the end of the table with a final divider line.
- func_append func_strtable_result "$my_divider"
-}
-
-
-# func_echo ARG...
-# ----------------
-# Echo program name prefixed message, taking newlines into account.
-func_echo ()
-{
- my_message="$*"
-
- save_IFS="$IFS"
- IFS="$nl"
- for my_line in $my_message; do
- IFS="$save_IFS"
- echo "$progname: $my_line"
- done
- IFS="$save_IFS"
-}
-
-
-# func_verbose ARG...
-# -------------------
-# Echo program name prefixed message in verbose mode only.
-func_verbose ()
-{
- $opt_verbose && func_echo ${1+"$@"}
-}
-
-
-# func_error ARG...
-# -----------------
-# Echo program name prefixed message to standard error.
-func_error ()
-{
- my_message="$*"
-
- save_IFS="$IFS"
- IFS="$nl"
- for my_line in $my_message; do
- IFS="$save_IFS"
- echo "$progname: $bold_on$my_line$bold_off" 1>&2
- done
- IFS="$save_IFS"
-}
-
-# Allow display of bold text on terminals that support it
-bold_on=
-bold_off=
-if test -t 1; then
- if test -n "`tput bold 2>/dev/null`" \
- && test -n "`tput sgr0 2>/dev/null`"
- then
- bold_on=`tput bold`
- bold_off=`tput sgr0`
- fi
-fi
-
-
-# func_fatal_error ARG...
-# -----------------------
-# Echo program name prefixed message to standard error, and exit.
-func_fatal_error ()
-{
- func_error ${1+"$@"}
- exit $EXIT_FAILURE
-}
-
-
-# func_internal_error ARG...
-# --------------------------
-# Echo program name prefixed message to standard error, and exit.
-func_internal_error ()
-{
- func_fatal_error "INTERNAL ERROR: " ${1+"$@"} "
- Please report this bug to \`bug-gnulib@gnu.org'
- in as much detail as possible."
-}
-
-
-# func_permissions_error FILE-OR-DIRECTORY
-# ----------------------------------------
-# Echo program name prefixed permissions error message to standard
-# error, and exit.
-func_permissions_error ()
-{
- $debug_cmd
-
- func_fatal_error "Error: Failed to create \`$1', check permissions."
-}
-
-
-# func_warning CATEGORY ARG...
-# ----------------------------
-# Echo program name prefixed warning message to standard error. Warning
-# messages can be filtered according to CATEGORY.
-func_warning ()
-{
- $debug_cmd
-
- case " $warning_categories " in
- *" $1 "*) ;;
- *) func_internal_error "invalid warning category \`$1'" ;;
- esac
-
- my_category="$1"
- shift
-
- case " $opt_warning " in
- *" $my_category "*) $warning_func ${1+"$@"} ;;
- esac
-}
-
-
-# func_fatal_help ARG...
-# ----------------------
-# Echo program name prefixed message to standard error, followed by
-# a help hint, and exit.
-func_fatal_help ()
-{
- $debug_cmd
-
- func_error ${1+"$@"}
- func_fatal_error "$fatal_help"
-}
-fatal_help="Try \`$progname --help' for more information." ## default
-
-
-# func_version
-# ------------
-# Echo version message to standard output and exit.
-func_version ()
-{
- $debug_cmd
-
- cat <<EOF
-$progname $scriptversion
-EOF
- $SED -n '/(C)/!b go
- :more
- /\./!{
- N
- s|\n# | |
- b more
- }
- :go
- /^# Written by /,/# warranty; / {
- s|^# ||
- s|^# *$||
- s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
- p
- }
- /^# Written by / {
- s|^# ||
- p
- }' < "$progpath"
-
- exit $?
-}
-
-
-# func_usage [NOEXIT]
-# -------------------
-# Echo short help message to standard output and exit.
-func_usage ()
-{
- $debug_cmd
-
- echo "$progpath [OPTION]..."
- echo ""
- echo "$usage_message"
-
- my_ret=$?
- test -n "$1" || {
- echo "Run \`$progname --help | more' for full usage"
- exit $my_ret
- }
-}
-
-
-# func_help [NOEXIT]
-# ------------------
-# Echo long help message to standard output and exit,
-# unless 'noexit' is passed as argument.
-func_help ()
-{
- $debug_cmd
-
- func_usage noexit
- echo "$long_help_message"
-
- my_ret=$?
- test -n "$1" || exit $my_ret
-}
-
-
-# func_missing_arg ARGNAME
-# ------------------------
-# Echo program name prefixed message to standard error and set global
-# exit_cmd.
-func_missing_arg ()
-{
- $debug_cmd
-
- func_error "Error: Missing argument for \`$1'."
- exit_cmd=exit
-}
-
-
-# func_split_short_opt SHORTOPT
-# -----------------------------
-# Set func_split_short_opt_name and func_split_short_opt_arg shell
-# variables after splitting SHORTOPT after the 2nd character.
-if (eval 'x=-abc; y=${x#??}; z=${x%$y}; test x$y$z = xbc-a') 2>/dev/null
-then
- # This is an XSI compatible shell, allowing a faster implementation...
- eval 'func_split_short_opt ()
- {
- $debug_cmd
-
- func_split_short_opt_arg=${1#??}
- func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
- }'
-else
- # ...otherwise fall back to using expr, which is often a shell builtin.
- func_split_short_opt ()
- {
- $debug_cmd
-
- func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
- func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
- }
-fi #func_split_short_opt
-
-
-# func_split_equals STRING
-# ------------------------
-# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
-# splitting STRING at the `=' sign.
-if (eval 'x='--ab=cd'; y=${x#*=}; z=${x%%=*}; test x$y$z = xcd--ab') 2>/dev/null
-then
- # This is an XSI compatible shell, allowing a faster implementation...
- eval 'func_split_equals ()
- {
- $debug_cmd
-
- func_split_equals_lhs=${1%%=*}
- func_split_equals_rhs=${1#*=}
- test "x$func_split_equals_lhs" = "x$1" \
- && func_split_equals_rhs=""
- }'
-else
- # ...otherwise fall back to using expr, which is often a shell builtin.
- func_split_equals ()
- {
- $debug_cmd
-
- func_split_equals_lhs=`expr "x$1" : 'x\([^=]*)'`
- func_split_equals_rhs=""
- test "x$func_split_equals_lhs" = "x$1" \
- || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
- }
-fi #func_split_equals
-
-
-# func_quote_for_eval ARG...
-# --------------------------
-# Aesthetically quote ARGs to be evaled later.
-# This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
-# is double-quoted, suitable for a subsequent eval, whereas
-# FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
-# which are still active within double quotes backslashified.
-sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
-func_quote_for_eval ()
-{
- $debug_cmd
-
- func_quote_for_eval_result=
-
- while test $# -gt 0; do
- case $1 in
- *[\\\`\"\$]*)
- my_unquoted_arg=`printf "$1" | $SED "$sed_quote_subst"` ;;
- *)
- my_unquoted_arg="$1" ;;
- esac
-
- case $my_unquoted_arg in
- # Double-quote args containing shell metacharacters to delay
- # word splitting, command substitution and variable expansion
- # for a subsequent eval.
- # Many Bourne shells cannot handle close brackets correctly
- # in scan sets, so we specify it separately.
- *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
- my_quoted_arg="\"$my_unquoted_arg\""
- ;;
- *)
- my_quoted_arg="$my_unquoted_arg" ;;
- esac
- test -n "$func_quote_for_eval_result" \
- && func_append func_quote_for_eval_result " "
- func_append func_quote_for_eval_result "$my_quoted_arg"
- shift
- done
-}
-
-
-# func_show_eval CMD [FAIL_EXP]
-# -----------------------------
-# Unless opt_silent is true, then output CMD. Then, if opt_dryrun is
-# not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP
-# is given, then evaluate it.
-func_show_eval ()
-{
- $debug_cmd
-
- my_cmd="$1"
- my_fail_exp="${2-:}"
-
- ${opt_silent-false} || {
- func_quote_for_eval $my_cmd
- eval func_truncate_cmd $func_quote_for_eval_result
- func_echo "running: $func_truncate_cmd_result"
- }
-
- if ${opt_dry_run-false}; then :; else
- eval "$my_cmd"
- my_status=$?
- if test "$my_status" -eq 0; then :; else
- eval "(exit $my_status); $my_fail_exp"
- fi
- fi
-}
-
-
-# func_truncate_cmd CMD [ARG]...
-# ------------------------------
-# For unreasonably long commands (such as a gnulib-tool invocation with
-# the full module list for import), truncate CMD after the second non-
-# option ARG.
-func_truncate_cmd ()
-{
- $debug_cmd
-
- my_last_arg_opt_p=false
- func_truncate_cmd_result=
-
- set dummy "$@"; shift
-
- while test $# -gt 0; do
- my_opt="$1"; shift
-
- test -n "$func_truncate_cmd_result" \
- && func_append func_truncate_cmd_result ' '
- func_append func_truncate_cmd_result "$my_opt"
-
- func_len "x$func_truncate_cmd_result"
-
- case $my_opt in
- -*) my_last_arg_opt_p=: ;;
- *) $my_last_arg_opt_p \
- || test $min_cmd_len -gt $func_len_result \
- || break
- my_last_arg_opt_p=false
- ;;
- esac
- done
-
- test $# -gt 0 && func_append func_truncate_cmd_result "..."
-}
-
-
-# func_extract_trace MACRO_NAME [FILENAME]...
-# -------------------------------------------
-# set `$func_extract_trace_result' to a colon delimited list of
-# arguments to MACRO_NAME in FILENAME. If no FILENAME is not given,
-# then `configure.ac' is assumed.
-func_extract_trace ()
-{
- $debug_cmd
-
- $require_configure_ac
- $require_gnu_m4
-
- my_macro="$1"; shift
- test $# -gt 0 || {
- set dummy $configure_ac
- shift
- }
-
- # Generate an error if the first file is missing
- <"$1"
-
- # Sadly, we can't use `autom4te' tracing to extract macro
- # arguments, because it complains about things we want to
- # ignore at bootstrap time - like missing m4_include files;
- # AC_PREREQ being newer than the installed autoconf; and
- # returns nothing when tracing `AM_INIT_AUTOMAKE' when
- # aclocal hasn't been generated yet.
- #
- # The following tries to emulate a less persnickety version
- # of (and due to not having to wait for Perl startup on
- # every invocation, it's probably faster too):
- #
- # autom4te --language=Autoconf --trace=$my_macro:\$% "$@"
- #
- # First we give a minimal set of macro declarations to M4
- # to prime it for reading Autoconf macros, while still
- # providing some of the functionality generally used at
- # m4-time to supply dynamic arguments to Autocof functions,
- # but without following `m4_s?include' files.
- #
- # We discard M4's stdout, but the M4 trace output from reading
- # our "autoconf.mini" followed by any other files passed to
- # this function is then scanned by sed to transform it into
- # a colon delimited argument list assigned to a shell variable.
- #
- # Finally, we `eval' the sed generated assignment to get
- # the result back into this script for further use by callers
- # of this function.
-
- func_extract_trace_result=
- eval `echo '
- # Initialisation.
- m4_changequote([,])
- m4_define([m4_copy], [m4_define([$2], m4_defn([$1]))])
- m4_define([m4_rename], [m4_copy([$1], [$2])m4_undefine([$1])])
-
- # Disable these macros.
- m4_undefine([m4_dnl])
- m4_undefine([m4_include])
- m4_undefine([m4_m4exit])
- m4_undefine([m4_m4wrap])
- m4_undefine([m4_maketemp])
-
- # Copy and rename macros not handled by "m4 --prefix".
- m4_define([dnl], [m4_builtin([dnl])])
- m4_copy([m4_define], [m4_defun])
- m4_rename([m4_ifelse], [m4_if])
- m4_ifdef([m4_mkstemp], [m4_undefine([m4_mkstemp])])
- m4_rename([m4_patsubst], [m4_bpatsubst])
- m4_rename([m4_regexp], [m4_bregexp])
-
- # "m4sugar.mini" - useful m4-time macros for dynamic arguments.
- # If we discover packages that need more m4 macros defined in
- # order to bootstrap correctly, add them here:
- m4_define([m4_bmatch],
- [m4_if([$#], 0, [], [$#], 1, [], [$#], 2, [$2],
- [m4_if(m4_bregexp([$1], [$2]), -1,
- [$0([$1], m4_shift3($@))], [$3])])])
- m4_define([m4_ifndef], [m4_ifdef([$1], [$3], [$2])])
- m4_define([m4_ifset],
- [m4_ifdef([$1], [m4_ifval(m4_defn([$1]), [$2], [$3])], [$3])])
- m4_define([m4_require], [$1])
- m4_define([m4_shift3], [m4_shift(m4shift(m4shift($@)))])
-
- # "autoconf.mini" - things from autoconf macros we care about.
- m4_copy([m4_defun], [AC_DEFUN])
-
- # Dummy definition for the macro we want to trace.
- # AM_INIT_AUTOMAKE at least produces no trace without this.
- AC_DEFUN(['"$my_macro"'])' \
- |$M4 -daq --prefix --trace="$my_macro" - "$@" 2>&1 1>/dev/null \
- |$SED -n 's|#.*$||
- /^m4trace: -1- '"$my_macro"'/ {
- s|^m4trace: -1- '"$my_macro"'[([]*|func_extract_trace_result='\''|
- s|], [[]|:|g
- s|[])]*$|:'\''|
- s|[^'\'']$|\&'\''|
- p
- }'`
-
- # Leave the ':' sentinel in place for successfully traced macros
- # without arguments, otherwise remove it so that the results of
- # single-argument macros can be used without additional parsing.
- test : = "$func_extract_trace_result" \
- || func_extract_trace_result=`echo "$func_extract_trace_result" |$SED 's|:$||'`
-}
-
-
-# func_insert_sorted_if_absent STR FILE...
-# ----------------------------------------
-# If $STR is not already on a line by itself in $FILE, insert it,
-# sorting the new contents of the file and replacing $FILE with the result.
-func_insert_sorted_if_absent ()
-{
- $debug_cmd
-
- str=$1
- shift
-
- for file
- do
- test -f $file || touch $file
-
- func_grep_q "$str" "$file" \
- && func_verbose "inserting \`$str' into \`$file'"
-
- echo "$str" | sort -u - $file | func_cmp_s - $file \
- || echo "$str" | sort -u - $file -o $file \
- || func_permissions_error "$file"
- done
-}
-
-
-# func_sort_ver VER1 VER2
-# -----------------------
-# Note this deviates from the version comparison in automake
-# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
-# but this should suffice as we won't be specifying old
-# version formats or redundant trailing .0 in bootstrap.conf.
-# If we did want full compatibility then we should probably
-# use m4_version_compare from autoconf.
-func_sort_ver () # sort -V is not generally available
-{
- $debug_cmd
-
- ver1="$1"
- ver2="$2"
-
- # split on '.' and compare each component
- i=1
- while : ; do
- p1=`echo "$ver1" | cut -d. -f$i`
- p2=`echo "$ver2" | cut -d. -f$i`
- if test ! "$p1"; then
- echo "$1 $2"
- break
- elif test ! "$p2"; then
- echo "$2 $1"
- break
- elif test ! "$p1" = "$p2"; then
- if test "$p1" -gt "$p2" 2>/dev/null; then # numeric comparison
- echo "$2 $1"
- elif test "$p2" -gt "$p1" 2>/dev/null; then # numeric comparison
- echo "$1 $2"
- else # numeric, then lexicographic comparison
- lp=`printf "$p1\n$p2\n" | sort -n | tail -n1`
- if test "$lp" = "$p2"; then
- echo "$1 $2"
- else
- echo "$2 $1"
- fi
- fi
- break
- fi
- i=`expr $i + 1`
- done
-}
-
-
-# func_get_version APP
-# --------------------
-# echo the version number (if any) of APP, which is looked up along your
-# PATH.
-func_get_version ()
-{
- $debug_cmd
-
- app=$1
-
- { $app --version || $app --version </dev/null; } >/dev/null 2>&1 \
- || return 1
-
- $app --version 2>&1 |
- $SED -n '# extract version within line
- s|.*[v ]\{1,\}\([0-9]\{1,\}\.[.a-z0-9-]*\).*|\1|
- t done
-
- # extract version at start of line
- s|^\([0-9]\{1,\}\.[.a-z0-9-]*\).*|\1|
- t done
-
- d
-
- :done
- #the following essentially does s|5.005|5.5|
- s|\.0*\([1-9]\)|.\1|g
- p
- q'
-}
-
-
-# func_check_versions APP1 VER1 URL1 ...[APPN VERN URLN]
-# ------------------------------------------------------
-func_check_versions ()
-{
- $debug_cmd
-
- func_check_versions_result=:
-
- while test $# -gt 0; do
- my_app="$1"; shift
- my_reqver="$1"; shift
- my_url="$1"; shift
-
- # Honor $APP variables ($TAR, $AUTOCONF, etc.)
- my_appvar=`echo $my_app | tr '[a-z]' '[A-Z]'`
- test "$my_appvar" = TAR && my_appvar=AMTAR
- eval "my_app=\${$my_appvar-$my_app}"
- my_instver=`func_get_version $my_app`
-
- test ! "$my_instver" \
- || func_verbose "found \`$my_app' version $my_instver"
-
- # Fail if --version didn't work.
- if test ! "$my_instver"; then
- func_error "Error: \`$my_app' not found"
- func_check_versions_result=false
-
- # Fail if a new version than what we have is required.
- elif test ! "$my_reqver" = "-"; then
- my_newer=`func_sort_ver $my_reqver $my_instver | cut -d' ' -f2`
- test ! "$my_newer" = "$my_instver" && {
- func_error "\
-Error: \`$my_app' version == $my_instver is too old
- \`$my_app' version >= $my_reqver is required"
- func_check_versions_result=false
- }
- fi
- done
-}
-
-
-# func_cleanup_gnulib
-# -------------------
-# Recursively delete everything below the path in the global variable
-# GNULIB_PATH.
-func_cleanup_gnulib ()
-{
- $debug_cmd
-
- status=$?
- $RM -fr "$gnulib_path"
- exit $status
-}
-
-
-# func_symlink_to_dir SRCDIR FILENAME [DEST_FILENAME]
-# ---------------------------------------------------
-# Make a symlink from FILENAME in SRCDIR to the current directory,
-# optionally calling the symlink DEST_FILENAME.
-func_symlink_to_dir ()
-{
- $debug_cmd
-
- $require_vc_ignore_files
-
- src=$1/$2
- dst=${3-$2}
-
- test -f "$src" && {
-
- # If the destination directory doesn't exist, create it.
- # This is required at least for "lib/uniwidth/cjk.h".
- dst_dir=`dirname "$dst"`
- if ! test -d "$dst_dir"; then
- mkdir -p "$dst_dir"
-
- # If we've just created a directory like lib/uniwidth,
- # tell version control system(s) it's ignorable.
- # FIXME: for now, this does only one level
- parent=`dirname "$dst_dir"`
- for dot_ig in x $vc_ignore_files; do
- test $dot_ig = x && continue
- ig=$parent/$dot_ig
- func_insert_sorted_if_absent `echo "$dst_dir" |$SED 's|.*/||'` $ig
- done
- fi
-
- if $opt_copy; then
- {
- test ! -h "$dst" \
- || func_show_eval "$RM -f '$dst'"
- } \
- && test -f "$dst" \
- && func_cmp_s "$src" "$dst" \
- && func_echo "copying file \`$src'" \
- && cp -fp "$src" "$dst"
- else
- test -h "$dst" \
- && src_ls=`ls -diL "$src" 2>/dev/null` \
- && set $src_ls && src_i=$1 \
- && dst_ls=`ls -diL "$dst" 2>/dev/null` \
- && set $dst_ls && dst_i=$1 \
- && test "$src_i" = "$dst_i" \
- || {
- dot_dots=
- case $src in
- /*) ;;
- *)
- case /$dst/ in
- *//* | */../* | */./* | /*/*/*/*/*/)
- func_fatal_error "\
-Error: Invalid symlink calculation: $src -> $dst"
- ;;
- /*/*/*/*/) dot_dots=../../../;;
- /*/*/*/) dot_dots=../../;;
- /*/*/) dot_dots=../;;
- esac
- ;;
- esac
-
- func_echo "linking file \`$src'"
- ln -fs "$dot_dots$src" "$dst"
- }
- fi
- }
-}
-
-
-# func_download_po_files SUBDIR DOMAIN
-# ------------------------------------
-func_download_po_files ()
-{
- $debug_cmd
-
- func_echo "getting translations into $1 for $2..."
- cmd=`printf "$po_download_command_format" "$2" "$1"`
- eval "$cmd"
-}
-
-
-# func_find_tool ENVVAR NAMES...
-# ------------------------------
-# Search for a required program. Use the value of ENVVAR, if set,
-# otherwise find the first of the NAMES that can be run (i.e.,
-# supports --version). If found, set ENVVAR to the program name,
-# die otherwise.
-func_find_tool ()
-{
- $debug_cmd
-
- find_tool_envvar=$1
- shift
- find_tool_names=$@
- eval "find_tool_res=\$$find_tool_envvar"
- if test x"$find_tool_res" = x; then
- for i
- do
- if ($i --version </dev/null) >/dev/null 2>&1; then
- find_tool_res=$i
- break
- fi
- done
- else
- find_tool_error_prefix="\$$find_tool_envvar: "
- fi
- test x"$find_tool_res" = x && func_fatal_error "\
-Error: One of these is required:
- $find_tool_names"
-
- ($find_tool_res --version </dev/null) >/dev/null 2>&1 \
- || func_fatal_error "\
-Error: ${find_tool_error_prefix}Cannot run \`$find_tool_res --version'"
-
- eval "$find_tool_envvar=\$find_tool_res"
- eval "export $find_tool_envvar"
-}
-
-
-# func_update_po_files PO_DIR DOMAIN
-# ----------------------------------
-# Mirror .po files to $po_dir/.reference and copy only the new
-# or modified ones into $po_dir. Also update $po_dir/LINGUAS.
-# Note po files that exist locally only are left in $po_dir but will
-# not be included in LINGUAS and hence will not be distributed.
-func_update_po_files ()
-{
- $debug_cmd
-
- # Directory containing primary .po files.
- # Overwrite them only when we're sure a .po file is new.
- po_dir=$1
- domain=$2
-
- # Mirror *.po files into this dir.
- # Usually contains *.s1 checksum files.
- ref_po_dir="$po_dir/.reference"
-
- test -d $ref_po_dir || mkdir $ref_po_dir || return
- func_download_po_files $ref_po_dir $domain \
- && ls "$ref_po_dir"/*.po 2>/dev/null |
- $SED 's|.*/||; s|\.po$||' > "$po_dir/LINGUAS" || return
-
- # Find sha1sum, named gsha1sum on MacPorts, and shasum on MacOS 10.6.
- func_find_tool SHA1SUM sha1sum gsha1sum shasum
-
- langs=`cd $ref_po_dir && echo *.po|$SED 's|\.po||g'`
- test "$langs" = '*' && langs=x
- for po in $langs; do
- case $po in x) continue;; esac
- new_po="$ref_po_dir/$po.po"
- cksum_file="$ref_po_dir/$po.s1"
- if ! test -f "$cksum_file" ||
- ! test -f "$po_dir/$po.po" ||
- ! $SHA1SUM -c --status "$cksum_file" \
- < "$new_po" > /dev/null; then
- echo "updated $po_dir/$po.po..."
- cp "$new_po" "$po_dir/$po.po" \
- && $SHA1SUM < "$new_po" > "$cksum_file"
- fi
- done
-}
-
-
-
-## ----------------- ##
-## Global variables. ##
-## ----------------- ##
-
-EXIT_SUCCESS=0
-EXIT_FAILURE=1
-EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing.
-EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake.
-
-exit_status=$EXIT_SUCCESS
-
-# Allow overriding, eg to get a function call trace:
-# debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash bootstrap
-debug_cmd="${debug_cmd-:}"
-exit_cmd=:
-
-dirname='s|/[^/]*$||'
-basename='s|^.*/||'
-
-nl='
-'
-
-# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
-# is ksh but when the shell is invoked as "sh" and the current value of
-# the _XPG environment variable is not equal to 1 (one), the special
-# positional parameter $0, within a function call, is the name of the
-# function.
-progpath="$0"
-
-# The name of this program:
-progname=`echo "$progpath" |$SED "$basename"`
-
-## -------------------------------------------------- ##
-## Source package customisations in `bootstrap.conf'. ##
-## -------------------------------------------------- ##
-
-# Override the default configuration, if necessary.
-# Make sure that bootstrap.conf is sourced from the current directory
-# if we were invoked as "sh bootstrap".
-case "$0" in
- */*) test -r "$0.conf" && . "$0.conf" ;;
- *) test -r "$0.conf" && . ./"$0.conf" ;;
-esac
-
-
-## ------------------------------- ##
-## Actually perform the bootstrap. ##
-## ------------------------------- ##
-
-func_bootstrap ${1+"$@"}
-
-# The End.
-exit $exit_status
-
-# Local variables:
-# mode: shell-script
-# sh-indentation: 2
-# eval: (add-hook 'write-file-hooks 'time-stamp)
-# time-stamp-start: "scriptversion="
-# time-stamp-format: "%:y-%02m-%02d.%02H"
-# time-stamp-time-zone: "UTC"
-# time-stamp-end: "; # UTC"
-# End:
diff --git a/Build/source/utils/psutils/psutils-1.21/bootstrap.conf b/Build/source/utils/psutils/psutils-1.21/bootstrap.conf
deleted file mode 100644
index 2925724bad0..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/bootstrap.conf
+++ /dev/null
@@ -1,104 +0,0 @@
-# bootstrap.conf (psutils)
-# Written by Gary V. Vaughan, 2010
-
-# Copyright (C) 2010 Gary V. Vaughan.
-
-# This file is part of psutils.
-# See LICENSE for license.
-
-## -------------- ##
-## Configuration. ##
-## -------------- ##
-
-# Additional gnulib-tool options to use.
-gnulib_tool_options='
- --no-changelog
-'
-
-# gnulib modules used by this package.
-gnulib_modules='
- warnings
- manywarnings
- fstat
-'
-
-# Extra gnulib files that are not in modules, which override files of
-# the same name installed by other bootstrap tools.
-gnulib_non_module_files='
- build-aux/config.guess
- build-aux/config.sub
- build-aux/install-sh
-'
-
-# The not-synced with gnulib warning is bogus until upstream adopts
-# the saner bootstrap script.
-require_bootstrap_uptodate=:
-
-## --------------- ##
-## Hook functions. ##
-## --------------- ##
-
-# psutils_ignore_gnulib_ignore
-# ----------------------------
-# gnulib-tool updates m4/.gitignore and lib/.gitignore, and keeping
-# generated files under version control does not make sense. Since
-# lib is entirely ignored, we only need to prepopulate the m4 ignore
-# files with generated files not tracked by gnulib-tool.
-psutils_ignore_gnulib_ignore ()
-{
- $debug_cmd
-
- $require_macro_dir
-
- if test -f "$macro_dir/.gitignore" ; then
- :
- else
- func_verbose "creating initial \`$macro_dir/.gitignore'"
- cat > $macro_dir/.gitignore <<\EOF
-# files created by bootstrap, but that gnulib doesn't track
-*~
-/.gitignore
-/gnulib-cache.m4
-/gnulib-comp.m4
-/libtool.m4
-/ltoptions.m4
-/ltsugar.m4
-/ltversion.m4
-/lt~obsolete.m4
-EOF
- fi
-}
-func_add_hook func_prep psutils_ignore_gnulib_ignore
-
-
-# psutils_force_changelog
-# -----------------------
-# Automake requires that ChangeLog exist.
-psutils_force_changelog ()
-{
- $debug_cmd
-
- touch ChangeLog || exit 1
-}
-func_add_hook func_gnulib_tool psutils_force_changelog
-
-
-# psutils_finish
-# ----------------------
-# Configure script does not require ChangeLog.
-# Copy dummy.c with correct license.
-psutils_finish ()
-{
- $debug_cmd
-
- cp -fp ./dummy.c $source_base/
- rm ChangeLog || exit 1
-}
-func_add_hook func_fini psutils_finish
-
-
-
-# Local variables:
-# mode: shell-script
-# sh-indentation: 2
-# End:
diff --git a/Build/source/utils/psutils/psutils-1.21/configure.ac b/Build/source/utils/psutils/psutils-1.21/configure.ac
deleted file mode 100644
index 40f2ab20683..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/configure.ac
+++ /dev/null
@@ -1,80 +0,0 @@
-dnl Process this file with autoconf to produce a configure script
-
-AC_INIT(psutils, 1.21, rrt@sc3d.org)
-AC_CONFIG_AUX_DIR([build-aux])
-
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
-
-m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
-
-dnl Check for programs
-AC_PROG_CC
-gl_EARLY
-AC_PROG_LN_S
-AM_PROG_AR
-
-AC_USE_SYSTEM_EXTENSIONS
-AC_ARG_ENABLE([gcc-warnings],
- [AS_HELP_STRING([--enable-gcc-warnings],
- [turn on lots of GCC warnings (for developers)])],
- [case $enableval in
- yes|no) ;;
- *) AC_MSG_ERROR([bad value $enableval for gcc-warnings option]) ;;
- esac
- gl_gcc_warnings=$enableval],
- [gl_gcc_warnings=no]
-)
-
-if test "$gl_gcc_warnings" = yes; then
- gl_WARN_ADD([-Werror], [WERROR_CFLAGS])
-
- # Set up the list of undesired warnings.
- nw=
- nw="$nw -Wundef" # All compiler preprocessors support #if UNDEF
- nw="$nw -Wtraditional" # All compilers nowadays support ANSI C
- nw="$nw -Wstrict-overflow" # Use a lower level (see below).
- nw="$nw -Wconversion" # These warnings usually don’t point to mistakes.
- nw="$nw -Wsign-conversion" # Likewise.
- nw="$nw -Waggregate-return" # We do this on purpose.
- nw="$nw -Wtraditional-conversion" # Don't care.
- nw="$nw -Wpadded" # Don't care.
- nw="$nw -Wc++-compat" # Don't care.
- nw="$nw -Woverlength-strings" # Don't care.
- nw="$nw -Wmissing-format-attribute" # Don't care.
- nw="$nw -Wshadow" # Don't care.
- nw="$nw -Wunreachable-code" # Seems buggy.
- nw="$nw -Wsystem-headers" # glibc headers fail as of glibc 2.15, gcc 4.7
- nw="$nw -Wall"
- nw="$nw -Wunused-macros" # those macros might come in handy later
-
- gl_MANYWARN_ALL_GCC([warnings])
-
- # Enable all GCC warnings not in this list.
- gl_MANYWARN_COMPLEMENT([warnings], [$warnings], [$nw])
- for w in $warnings; do
- gl_WARN_ADD([$w])
- done
-
- # Add an extra warning
- gl_WARN_ADD([-Wstrict-overflow=1])
- # Add some more safety measures
- gl_WARN_ADD([-D_FORTIFY_SOURCE=2])
- gl_WARN_ADD([-fmudflap])
-fi
-
-gl_INIT
-
-dnl Check for header files
-AC_HEADER_STDC
-AC_CHECK_HEADER([paper.h], [], [AC_MSG_FAILURE([cannot find libpaper header])])
-
-dnl Check for libraries
-AC_PROG_RANLIB
-AC_CHECK_LIB([paper], [paperinfo], [],
- [AC_MSG_FAILURE([cannot find libpaper library])])
-
-dnl Generate output files
-AC_CONFIG_MACRO_DIR(m4)
-AC_CONFIG_HEADER(config.h)
-AC_CONFIG_FILES(Makefile lib/Makefile)
-AC_OUTPUT
diff --git a/Build/source/utils/psutils/psutils-1.21/dummy.c b/Build/source/utils/psutils/psutils-1.21/dummy.c
deleted file mode 100644
index 061a78c34b2..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/dummy.c
+++ /dev/null
@@ -1,30 +0,0 @@
-/* A dummy file, to prevent empty libraries from breaking builds.
-
- This file is in the public domain. -- Bruno Haible */
-
-/* Some systems, reportedly OpenBSD and Mac OS X, refuse to create
- libraries without any object files. You might get an error like:
-
- > ar cru .libs/libgl.a
- > ar: no archive members specified
-
- Compiling this file, and adding its object file to the library, will
- prevent the library from being empty. */
-
-/* Some systems, such as Solaris with cc 5.0, refuse to work with libraries
- that don't export any symbol. You might get an error like:
-
- > cc ... libgnu.a
- > ild: (bad file) garbled symbol table in archive ../gllib/libgnu.a
-
- Compiling this file, and adding its object file to the library, will
- prevent the library from exporting no symbols. */
-
-#ifdef __sun
-/* This declaration ensures that the library will export at least 1 symbol. */
-int gl_dummy_symbol;
-#else
-/* This declaration is solely to ensure that after preprocessing
- this file is never empty. */
-typedef int dummy;
-#endif
diff --git a/Build/source/utils/psutils/psutils-1.21/epsffit.1 b/Build/source/utils/psutils/psutils-1.21/epsffit.1
deleted file mode 100644
index 3519cd3576d..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/epsffit.1
+++ /dev/null
@@ -1,51 +0,0 @@
-.TH EPSFFIT 1 "PSUtils"
-.SH NAME
-epsffit \- fit encapsulated PostScript file (EPSF) into constrained size
-.SH SYNOPSIS
-.B epsffit
-[
-.B \-c
-] [
-.B \-r
-] [
-.B \-a
-] [
-.B \-m
-] [
-.B \-s
-]
-.I "llx lly urx ury"
-[
-.B infile
-[
-.B outfile
-] ]
-.SH DESCRIPTION
-.I Epsffit
-fits an EPSF file (encapsulated PostScript) to a given bounding box.
-The coordinates of the box are given by \fB(llx,lly)\fR for the lower
-left, and \fB(urx,ury)\fR for the upper right, in PostScript units (points).
-.PP
-If no input or output files are specified,
-.I epsffit
-read from the standard input and writes to the standard output.
-.SH OPTIONS
-.IP \fB\-c\fP 1i
-Center the image in the given bounding box.
-.IP \fB\-r\fP 1i
-Rotate the image by 90 degrees counter-clockwise.
-.IP \fB\-a\fP 1i
-Adjust the aspect ratio to fit the bounding box. The default is to preserve
-the aspect ratio.
-.IP \fB\-m\fP 1i
-Rotates the image to maximise the size if it would fit the specified bounding
-box better.
-.IP \fB\-s\fP 1i
-Add a \fIshowpage\fP at the end of the file to force the image to print.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
diff --git a/Build/source/utils/psutils/psutils-1.21/epsffit.c b/Build/source/utils/psutils/psutils-1.21/epsffit.c
deleted file mode 100644
index 8ff3f7ec3ee..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/epsffit.c
+++ /dev/null
@@ -1,174 +0,0 @@
-/* epsffit.c
- * Fit EPSF file into constrained size
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- *
- * Added filename spec (from Larry Weissman) 5 Feb 93
- * Accepts double %%BoundingBox input, outputs proper BB, 4 Jun 93. (I don't
- * like this; developers should read the Big Red Book before writing code which
- * outputs PostScript.
- */
-
-#include "config.h"
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-
-#include "psutil.h"
-
-const char *syntax = "[-c] [-r] [-a] [-m] [-s] LLX LLY URX URY [INFILE [OUTFILE]]\n";
-
-const char *argerr_message = "";
-
-int
-main(int argc, char **argv)
-{
- int bbfound = 0; /* %%BoundingBox: found */
- int urx = 0, ury = 0, llx = 0, lly = 0;
- int furx, fury, fllx, flly;
- int showpage = 0, centre = 0, rotate = 0, aspect = 0, maximise = 0;
- char buf[BUFSIZ];
- FILE *input = stdin;
- FILE *output = stdout;
- int opt;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- program = *argv;
-
- while((opt = getopt(argc, argv, "csramv")) != EOF) {
- switch(opt) {
- case 'c': centre = 1; break;
- case 's': showpage = 1; break;
- case 'r': rotate = 1; break;
- case 'a': aspect = 1; break;
- case 'm': maximise = 1; break;
- case 'v':
- default:
- usage();
- break;
- }
- }
-
- if ((argc - optind) < 4 || (argc - optind) > 6) usage();
-
- fllx = atoi(argv[optind++]);
- flly = atoi(argv[optind++]);
- furx = atoi(argv[optind++]);
- fury = atoi(argv[optind++]);
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if ((argc - optind) > 0) {
- if(!(input = fopen(argv[optind], "rb")))
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if ((argc - optind) > 0) {
- if(!(output = fopen(argv[optind], "wb")))
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- while (fgets(buf, BUFSIZ, input)) {
- if (buf[0] == '%' && (buf[1] == '%' || buf[1] == '!')) {
- /* still in comment section */
- if (!strncmp(buf, "%%BoundingBox:", 14)) {
- double illx, illy, iurx, iury; /* input bbox parameters */
- if (sscanf(buf, "%%%%BoundingBox:%lf %lf %lf %lf\n",
- &illx, &illy, &iurx, &iury) == 4) {
- bbfound = 1;
- llx = (int)illx; /* accept doubles, but convert to int */
- lly = (int)illy;
- urx = (int)(iurx+0.5);
- ury = (int)(iury+0.5);
- }
- } else if (!strncmp(buf, "%%EndComments", 13)) {
- strcpy(buf, "\n"); /* don't repeat %%EndComments */
- break;
- } else fputs(buf, output);
- } else break;
- }
-
- if (bbfound) { /* put BB, followed by scale&translate */
- int fwidth, fheight;
- double xscale, yscale;
- double xoffset = fllx, yoffset = flly;
- double width = urx-llx, height = ury-lly;
-
- if (maximise)
- if ((width > height && fury-flly > furx-fllx) ||
- (width < height && fury-flly < furx-fllx))
- rotate = 1;
-
- if (rotate) {
- fwidth = fury - flly;
- fheight = furx - fllx;
- } else {
- fwidth = furx - fllx;
- fheight = fury - flly;
- }
-
- xscale = fwidth/width;
- yscale = fheight/height;
-
- if (!aspect) { /* preserve aspect ratio ? */
- xscale = yscale = MIN(xscale,yscale);
- }
- width *= xscale; /* actual width and height after scaling */
- height *= yscale;
- if (centre) {
- if (rotate) {
- xoffset += (fheight - height)/2;
- yoffset += (fwidth - width)/2;
- } else {
- xoffset += (fwidth - width)/2;
- yoffset += (fheight - height)/2;
- }
- }
- fprintf(output,
- "%%%%BoundingBox: %d %d %d %d\n", (int)xoffset, (int)yoffset,
- (int)(xoffset+(rotate ? height : width)),
- (int)(yoffset+(rotate ? width : height)));
- if (rotate) { /* compensate for original image shift */
- xoffset += height + lly * yscale; /* displacement for rotation */
- yoffset -= llx * xscale;
- } else {
- xoffset -= llx * xscale;
- yoffset -= lly * yscale;
- }
- fputs("%%EndComments\n", output);
- if (showpage)
- fputs("save /showpage{}def /copypage{}def /erasepage{}def\n", output);
- else
- fputs("%%BeginProcSet: epsffit 1 0\n", output);
- fputs("gsave\n", output);
- fprintf(output, "%.3f %.3f translate\n", xoffset, yoffset);
- if (rotate)
- fputs("90 rotate\n", output);
- fprintf(output, "%.3f %.3f scale\n", xscale, yscale);
- if (!showpage)
- fputs("%%EndProcSet\n", output);
- }
- do {
- fputs(buf, output);
- } while (fgets(buf, BUFSIZ, input));
- if (bbfound) {
- fputs("grestore\n", output);
- if (showpage)
- fputs("restore showpage\n", output); /* just in case */
- } else
- message(FATAL, "no %%%%BoundingBox:\n");
-
- return 0;
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/extractres b/Build/source/utils/psutils/psutils-1.21/extractres
deleted file mode 100755
index 87f8377b34d..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/extractres
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/usr/bin/env perl
-# extractres: extract resources from PostScript file
-# includeres: add resources to a PostScript file
-#
-# (c) Reuben Thomas 2012
-# (c) Angus J. C. Duggan 1991-1997
-# See file LICENSE for details.
-
-use strict;
-use warnings;
-
-use File::Basename;
-use Getopt::Long;
-
-my $prog = basename($0);
-
-# Resource extensions
-my %extn = ("font" => ".pfa", "file" => ".ps", "procset" => ".ps",
- "pattern" => ".pat", "form" => ".frm", "encoding" => ".enc");
-# Resource types
-my %type = ("%%BeginFile:" => "file", "%%BeginProcSet:" => "procset",
- "%%BeginFont:" => "font");
-
-sub filename { # make filename for resource in @_
- my $name;
- foreach (@_) { # sanitise name
- s/[!()\$\#*&\\\|\`\'\"\~\{\}\[\]\<\>\?]//g;
- $name .= $_;
- }
- $name =~ s@.*/@@; # drop directories
- die "$prog: filename not found for resource ", join(" ", @_), "\n"
- if $name =~ /^$/;
- return $name;
-}
-
-sub extract {
- my %resources = (); # list of resources included
- my %merge = (); # list of resources extracted this time
-
- my $merge;
- unless (GetOptions('merge' => \$merge)) {
- print STDERR "Usage: $prog [-merge] [FILE]\n";
- exit 1;
- }
-
- my $prolog = "";
- my $body = "";
- my $resource = "";
- my $output = \$prolog;
- my $saveout;
- while (<>) {
- if (/^%%BeginResource:/ || /^%%BeginFont:/ || /^%%BeginProcSet:/) {
- my ($comment, @res) = split(/\s+/); # look at resource type
- my $type = defined($type{$comment}) ? $type{$comment} : shift(@res);
- my $name = filename(@res, $extn{$type}); # make file name
- $saveout = $output;
- if (!defined($resources{$name})) {
- $prolog .= "%%IncludeResource: $type " . join(" ", @res) . "\n";
- if (!-e $name) {
- open RES, ">$name" || die "$prog: can't write file `$name'\n";
- $resources{$name} = "";
- $merge{$name} = $merge;
- $output = \$resources{$name};
- } else { # resource already exists
- close(RES);
- undef $output;
- }
- } elsif ($merge{$name}) {
- open RES, ">>$name" || die "$prog: can't append to file `$name'\n";
- $resources{$name} = "";
- $output = \$resources{$name};
- } else { # resource already included
- undef $output;
- }
- } elsif (/^%%EndResource/ || /^%%EndFont/ || /^%%EndProcSet/) {
- if (defined $output) {
- $$output .= $_;
- print RES $$output;
- }
- $output = $saveout;
- next;
- } elsif ((/^%%EndProlog/ || /^%%BeginSetup/ || /^%%Page:/)) {
- $output = \$body;
- }
- $$output .= $_ if defined $output;
- }
-
- print $prolog . $body;
-}
-
-sub include {
- while (<>) {
- if (/^%%IncludeResource:/ || /^%%IncludeFont:/ || /^%%IncludeProcSet:/) {
- my ($comment, @res) = split(/\s+/);
- my $type = defined($type{$comment}) ? $type{$comment} : shift(@res);
- my $name = filename(@res);
- if (open(RES, $name) || open(RES, "$name$extn{$type}")) {
- print do { local $/; <RES> };
- close(RES);
- } else {
- print "%%IncludeResource: ", join(" ", $type, @res), "\n";
- print STDERR "$prog: resource `$name' not found\n";
- }
- } else {
- print $_;
- }
- }
-}
-
-# Perform function according to name
-if ($prog eq "extractres") {
- extract();
-} elsif ($prog eq "includeres") {
- include();
-} else {
- die "$prog: I need to be called `extractres' or `includeres'\n";
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/extractres.1 b/Build/source/utils/psutils/psutils-1.21/extractres.1
deleted file mode 100644
index 33d96f7cb0e..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/extractres.1
+++ /dev/null
@@ -1,47 +0,0 @@
-.TH EXTRACTRES 1 "PSUtils"
-.SH NAME
-extractres \- filter to extract resources from a PostScript document
-.SH SYNOPSIS
-.B extractres
-[
-.B \-m
-] <
-.I document.ps
->
-.I output.ps
-.SH DESCRIPTION
-.I Extractres
-extracts resources (fonts, procsets, patterns, files, etc) appearing in a
-PostScript document, and puts appropriate
-.I %%IncludeResource
-comments in the document prologue. The extracted resources are written to
-files with the same name as the resource, and an appropriate extension. The
-pipeline
-.sp
-.ce
-extractres file.ps | includeres >out.ps
-.sp
-will move all resources appearing in a document to the document prologue,
-removing redundant copies. The output file can then be put through page
-re-arrangement filters such as
-.I psnup
-or
-.I pstops
-safely.
-.PP
-The
-.B \-m
-option combines the resources of the same name into one file; this must be
-used for some programs which download fonts a bit at a time.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I extractres
-does not alter the
-.I %%DocumentSuppliedResources
-comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/includeres.1 b/Build/source/utils/psutils/psutils-1.21/includeres.1
deleted file mode 100644
index 281dc187146..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/includeres.1
+++ /dev/null
@@ -1,39 +0,0 @@
-.TH INCLUDERES 1 "PSUtils"
-.SH NAME
-includeres \- filter to include resources in a PostScript document
-.SH SYNOPSIS
-.B includeres
-<
-.I document.ps
->
-.I output.ps
-.SH DESCRIPTION
-.I Includeres
-includes resources (fonts, procsets, patterns, files, etc.) in place of
-.I %%IncludeResource
-comments in a PostScript document. The resources are searched for
-under the resource name, and with an appropriate extension.
-The pipeline
-.sp
-.ce
-extractres file.ps | includeres >out.ps
-.sp
-will move all resources appearing in a document to the document prologue,
-removing redundant copies. The output file can then be put through page
-re-arrangement filters such as
-.I psnup
-or
-.I pstops
-safely.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I includeres
-does not alter the
-.I %%DocumentNeededResources
-comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/psbook.1 b/Build/source/utils/psutils/psutils-1.21/psbook.1
deleted file mode 100644
index 53fd770a5e4..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psbook.1
+++ /dev/null
@@ -1,42 +0,0 @@
-.TH PSBOOK 1 "PSUtils"
-.SH NAME
-psbook \- rearrange pages in PostScript file into signatures
-.SH SYNOPSIS
-.B psbook
-[
-.B \-q
-] [
-.B \-s\fIsignature\fR
-] [
-.I infile
-[
-.I outfile
-] ]
-.SH DESCRIPTION
-.I Psbook
-rearranges pages from a PostScript document into ``signatures'' for
-printing books or booklets, creating a new PostScript file. The
-input PostScript file should follow the Adobe Document Structuring
-Conventions.
-.PP
-The
-.I \-s
-option selects the size of signature which will be used. The signature size is
-the number of sides which will be folded and bound together; the number given
-should be a multiple of four. The default is to use one signature for the
-whole file. Extra blank sides will be added if the file does not contain a
-multiple of four pages.
-.PP
-Psbook normally prints the page numbers of the pages rearranged; the
-.I \-q
-option suppresses this.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I Psbook
-does not accept all DSC comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/psbook.c b/Build/source/utils/psutils/psutils-1.21/psbook.c
deleted file mode 100644
index b77c223d229..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psbook.c
+++ /dev/null
@@ -1,106 +0,0 @@
-/* psbook.c
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- *
- * rearrange pages in conforming PS file for printing in signatures
- */
-
-#include "config.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include "psutil.h"
-
-const char *syntax = "[-q] [-sSIGNATURE] [INFILE [OUTFILE]]\n SIGNATURE must be positive and divisible by 4\n";
-
-const char *argerr_message = "";
-
-int
-main(int argc, char *argv[])
-{
- int signature = 0;
- int currentpg, maxpage;
- int opt;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- verbose = 1;
- program = *argv;
-
- while((opt = getopt(argc, argv, "vqs:")) != EOF) {
- switch(opt) {
- case 's': /* signature size */
- signature = atoi(optarg);
- if (signature < 1 || signature % 4) usage();
- break;
- case 'q': /* quiet */
- verbose = 0;
- break;
- case 'v': /* version */
- default:
- usage();
- break;
- }
- }
-
- infile = stdin;
- outfile = stdout;
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if (optind != argc) {
- /* User specified an input file */
- if ((infile = fopen(argv[optind], "rb")) == NULL)
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) {
- /* User specified an output file */
- if ((outfile = fopen(argv[optind], "wb")) == NULL)
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- if(optind != argc) usage();
-
- if ((infile=seekable(infile))==NULL)
- message(FATAL, "can't seek input\n");
-
- scanpages(NULL);
-
- if (!signature)
- signature = maxpage = pages+(4-pages%4)%4;
- else
- maxpage = pages+(signature-pages%signature)%signature;
-
- /* rearrange pages */
- writeheader(maxpage, NULL);
- writeprolog();
- writesetup();
- for (currentpg = 0; currentpg < maxpage; currentpg++) {
- int actualpg = currentpg - currentpg%signature;
- switch(currentpg%4) {
- case 0:
- case 3:
- actualpg += signature-1-(currentpg%signature)/2;
- break;
- case 1:
- case 2:
- actualpg += (currentpg%signature)/2;
- break;
- default: /* Avoid a compiler warning */
- break;
- }
- if (actualpg < pages)
- writepage(actualpg);
- else
- writeemptypage();
- }
- writetrailer();
-
- return 0;
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/psjoin b/Build/source/utils/psutils/psutils-1.21/psjoin
deleted file mode 100755
index 21dfaffeef3..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psjoin
+++ /dev/null
@@ -1,220 +0,0 @@
-#!/usr/bin/env perl
-#
-# psjoin - concatenate PostScript files
-#
-# version 0.2, 2002-07-18
-# version 0.3, 2003-11-30
-# version 0.31, 2013-10-20
-#
-# versions up to 0.3 by Tom Sato <VEF00200@nifty.ne.jp>, http://homepage3.nifty.com/tsato/
-# versions from 0.31 by Reuben Thomas <rrt@sc3d.org>
-
-use strict;
-use warnings;
-
-use Getopt::Long;
-
-my $version = 0.31;
-
-sub usage {
- my ($exit_code) = @_;
- print STDERR <<END;
-Usage: psjoin [OPTION...] FILENAME...
-Concatenate PostScript files
-
- --even, -a force each file to take an even number of pages
- --save, -s try to close unclosed save operators
- --strip, -p do not strip prolog or trailer from input files
- --help, -h print this help, then exit
- --version,-V print version information and exit
-END
- exit $exit_code;
-}
-
-my $force_even = 0;
-my $force_save = 0;
-my $dont_strip = 0;
-my $save = "save %psjoin\n";
-my $restore = "restore %psjoin\n";
-my ($help_flag, $version_flag);
-
-GetOptions(
- "even|a" => \$force_even,
- "save|s" => \$force_save,
- "strip|p" => \$dont_strip,
- "help|h" => \$help_flag,
- "version|V" => \$version_flag,
- ) or usage(1);
-
-if ($help_flag) {
- usage(0);
-} elsif ($version_flag) {
- print "psjoin (version $version)\n";
- print "(c) Tom Sato <VEF00200\@nifty.ne.jp> and Reuben Thomas <rrt\@sc3d.org>\n";
- exit 0;
-}
-
-if ($force_save) {
- $save = "/#psjoin-save# save def %psjoin\n";
- $restore = "#psjoin-save# restore %psjoin\n";
-}
-my (@prolog, $prolog_inx, @trailer, @comments, @pages);
-if ($dont_strip) {
- $prolog_inx = 9999;
- $prolog[$prolog_inx] = "% [ psjoin: don't strip ]\n";
- $trailer[$prolog_inx] = "% [ psjoin: don't strip ]\n";
-} else {
- for (my $i = 0; $i <= $#ARGV; $i++) {
- open(IN, $ARGV[$i]) || die "$0: can't open \"$ARGV[$i]\" ($!)";
-
- my $in_comment = 1;
- my $in_prolog = 1;
- my $in_trailer = 0;
- $comments[$i] = "";
- $prolog[$i] = "";
- $trailer[$i] = "";
- $pages[$i] = 0;
- while (<IN>) {
- next if /^%%BeginDocument/ .. /^%%EndDocument/;
-
- if ($in_comment) {
- next if /^%!PS-Adobe-/;
- next if /^%%Title/;
- next if /^%%Pages/;
- next if /^%%Creator/;
- $in_comment = 0 if /^%%EndComments/;
- $comments[$i] .= $_;
- next;
- } elsif ($in_prolog) {
- if (/^%%Page:/) {
- $in_prolog = 0;
- } else {
- $prolog[$i] .= $_;
- next;
- }
- }
-
- $in_trailer = 1 if /^%%Trailer/;
- if ($in_trailer) {
- $trailer[$i] .= $_;
- next;
- }
-
- $pages[$i]++ if /^%%Page:/;
- }
- close(IN);
-
- if ($prolog[$i]) {
- for (my $j = 0; $j < $i; $j++) {
- if ($prolog[$j] eq $prolog[$i]) {
- $pages[$j] += $pages[$i];
- last;
- }
- }
- }
- }
-
- my $largest = 0;
- $prolog_inx = 0;
- for (my $i = 0; $i <= $#ARGV; $i++) {
- my $size = length($prolog[$i]) * $pages[$i];
- if ($largest < $size) {
- $largest = $size;
- $prolog_inx = $i;
- }
- }
-}
-
-print <<END;
-%!PS-Adobe-3.0
-%%Title: @ARGV
-%%Creator: psjoin $version
-%%Pages: (atend)
-END
-print $comments[$prolog_inx];
-
-print "\n$prolog[$prolog_inx]";
-for (my $i = 0; $i <= $#ARGV; $i++) {
- $prolog[$i] =~ s/^%%/% %%/;
- $prolog[$i] =~ s/\n%%/\n% %%/g;
- $trailer[$i] =~ s/^%%/% %%/;
- $trailer[$i] =~ s/\n%%/\n% %%/g;
-}
-
-my $total_pages = 0;
-for (my $i = 0; $i <= $#ARGV; $i++) {
- print "\n% [ psjoin: file = $ARGV[$i] ]\n";
- if ($prolog[$i] ne $prolog[$prolog_inx]) {
- print "% [ psjoin: Prolog/Trailer will be inserted in each page ]\n";
- } else {
- print "% [ psjoin: common Prolog/Trailer will be used ]\n";
- }
-
- my $in_comment = 1 if !$dont_strip;
- my $in_prolog = 1 if !$dont_strip;
- my $in_trailer = 0;
- my $saved = 0;
- my $pages = 0;
-
- open(IN, $ARGV[$i]) || die "$0: can't open \"$ARGV[$i]\" ($!)";
- while (<IN>) {
- if (/^%%BeginDocument/ .. /^%%EndDocument/) {
- # s/^(%[%!])/% \1/;
- print $_;
- } else {
- if ($in_comment) {
- $in_comment = 0 if /^%%EndComments/;
- } elsif ($in_prolog) {
- if (/^%%Page:/) {
- $in_prolog = 0;
- } else {
- next;
- }
- }
- $in_trailer = 1 if !$dont_strip && /^%%Trailer/;
- next if $in_trailer;
-
- if (/^%%Page:/) {
- if ($saved) {
- print $trailer[$i];
- print $restore;
- $saved = 0;
- }
-
- $pages++;
- $total_pages++;
- print "\n";
- print "%%Page: ($i-$pages) $total_pages\n";
- if ($prolog[$i] ne $prolog[$prolog_inx]) {
- print $save;
- print $prolog[$i];
- $saved = 1;
- } elsif ($force_save) {
- print $save;
- }
- } else {
- s/^(%[%!])/% $1/;
- print $_;
- }
- }
- }
- close(IN);
-
- if ($force_even && $pages % 2 != 0) {
- $pages++;
- $total_pages++;
- print <<END;
-
-%%Page: ($i-E) $total_pages
-% [ psjoin: empty page inserted to force even pages ]
-showpage
-END
- }
-
- print $trailer[$i] if $saved;
- print $restore if $saved || $force_save;
-}
-
-print "\n%%Trailer\n";
-print $trailer[$prolog_inx];
-print "\n%%Pages: $total_pages\n%%EOF";
diff --git a/Build/source/utils/psutils/psutils-1.21/psjoin.1 b/Build/source/utils/psutils/psutils-1.21/psjoin.1
deleted file mode 100644
index c048d4708e8..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psjoin.1
+++ /dev/null
@@ -1,18 +0,0 @@
-.TH PSJOIN "1" "November 2003" "psjoin 0.3" "User Commands"
-.SH NAME
-psjoin \- psjoin
-.SH SYNOPSIS
-.B psjoin
-[ \fIoptions\fR... ] \fIfilenames\fR...
-.SH DESCRIPTION
-psjoin \- concatenate PostScript files (version 0.3)
-by Tom Sato <VEF00200@nifty.ne.jp>, http://member.nifty.ne.jp/tsato/
-.SS "Option:"
-.HP
-\fB\-a\fR: align first page of each documents to odd page
-.HP
-\fB\-s\fR: try to close unclosed save operators
-.HP
-\fB\-p\fR: not strip prolog/trailer of the input files
-.HP
-\fB\-h\fR: display help
diff --git a/Build/source/utils/psutils/psutils-1.21/psnup.1 b/Build/source/utils/psutils/psutils-1.21/psnup.1
deleted file mode 100644
index 80fb98e7543..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psnup.1
+++ /dev/null
@@ -1,155 +0,0 @@
-.TH PSNUP 1 "PSUtils"
-.SH NAME
-psnup \- multiple pages per sheet
-.SH SYNOPSIS
-.B psnup
-[
-.B \-w\fIwidth\fR
-] [
-.B \-h\fIheight\fR
-] [
-.B \-p\fIpaper\fR
-] [
-.B \-W\fIwidth\fR
-] [
-.B \-H\fIheight\fR
-] [
-.B \-P\fIpaper\fR
-] [
-.B \-l
-] [
-.B \-r
-] [
-.B \-f
-] [
-.B \-c
-] [
-.B \-m\fImargin\fR
-] [
-.B \-b\fIborder\fR
-] [
-.B \-d\fIlwidth\fR
-] [
-.B \-s\fIscale\fR
-] [
-.B \-\fInup\fR
-] [
-.B \-q
-] [
-.I infile
-[
-.I outfile
-] ]
-.SH DESCRIPTION
-.I Psnup
-puts multiple logical pages onto each physical sheet of paper.
-The input PostScript file should follow the Adobe Document Structuring
-Conventions.
-.PP
-The
-.I \-w
-option gives the paper width, and the
-.I \-h
-option gives the paper height, specified in
-.BR pt ,
-.BR mm ,
-.BR cm ,
-or
-.BR in .
-The
-.I \-p
-option can be used instead, to set the paper size; otherwise a default value is used.
-See
-.BR papersize (5).
-The
-.I \-W, \-H,
-and
-.I \-P
-options set the input paper size, if it is different from the output
-size. This makes it easy to impose pages of one size on a different size of
-paper.
-.PP
-The
-.I \-l
-option should be used for pages which are in landscape orientation (rotated 90
-degrees anticlockwise). The
-.I \-r
-option should be used for pages which are in seascape orientation (rotated 90
-degrees clockwise), and the
-.I \-f
-option should be used for pages which have the width and height interchanged,
-but are not rotated.
-.PP
-.I Psnup
-normally uses `row-major' layout, where adjacent pages are placed in rows
-across the paper.
-The
-.I \-c
-option changes the order to `column-major', where successive pages are placed
-in columns down the paper.
-.PP
-A margin to leave around the whole page can be specified with the
-.I \-m
-option. This is useful for sheets of `thumbnail' pages, because the normal
-page margins are reduced by putting multiple pages on a single sheet.
-.PP
-The
-.I \-b
-option is used to specify an additional margin around each page on a sheet.
-.PP
-The
-.I \-d
-option draws a line around the border of each page, of the specified width.
-If the \fIlwidth\fR parameter is omitted, a default linewidth of 1 point is
-assumed. The linewidth is relative to the original page dimensions,
-\fIi.e.\fR it is scaled down with the rest of the page.
-.PP
-The scale chosen by
-.I psnup
-can be overridden with the
-.I \-s
-option. This is useful to merge pages which are already reduced.
-.PP
-The
-.I \-\fInup\fR
-option selects the number of logical pages to put on each sheet of paper. This
-can be any whole number;
-.I psnup
-tries to optimise the layout so that the minimum amount of space is wasted. If
-.I psnup
-cannot find a layout within its tolerance limit, it will abort with an error
-message. The alternative form
-.I \i \fInup\fR
-can also be used, for compatibility with other n-up programs.
-.PP
-.I Psnup
-normally prints the page numbers of the pages re-arranged; the
-.I \-q
-option suppresses this.
-.SH EXAMPLES
-The potential use of this utility is varied but one particular
-use is in conjunction with
-.I psbook(1).
-For example, using groff to create a PostScript document and lpr as
-the
-.SM UNIX
-print spooler a typical command line might look like this:
-.sp
-groff -Tps -ms \fIfile\fP | psbook | psnup -2 | lpr
-.sp
-Where file is a 4 page document this command will result in a
-two page document printing two pages of \fIfile\fP per page and
-rearranges the page order to match the input pages 4 and 1
-on the first output page and
-pages 2 then 3 of the input document
-on the second output page.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I Psnup
-does not accept all DSC comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/psnup.c b/Build/source/utils/psutils/psutils-1.21/psnup.c
deleted file mode 100644
index f796c341174..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psnup.c
+++ /dev/null
@@ -1,307 +0,0 @@
-/* psnup.c
- * Put multiple pages on to one page
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <string.h>
-#include <paper.h>
-
-#include "psutil.h"
-#include "psspec.h"
-
-const char *syntax = "[-q] [-wWIDTH] [-hHEIGHT] [-pPAPER] [-WWIDTH] [-HHEIGHT] [-PPAPER] [-l] [-r] [-c] [-f] [-mMARGIN] [-bBORDER] [-dLWIDTH] [-sSCALE] [-NUP] [INFILE [OUTFILE]]\n";
-
-const char *argerr_message = "bad dimension\n";
-
-/* return next larger exact divisor of number, or 0 if none. There is probably
- * a much more efficient method of doing this, but the numbers involved are
- * small, so it's not a big loss. */
-_GL_ATTRIBUTE_CONST static int nextdiv(int n, int m)
-{
- while (++n <= m) {
- if (m%n == 0)
- return (n);
- }
- return (0);
-}
-
-int
-main(int argc, char *argv[])
-{
- int horiz = 0, vert = 0, rotate = 0, column = 0;
- int flip = 0, leftright = 0, topbottom = 0;
- int nup = 1;
- double draw = 0; /* draw page borders */
- double scale = 1.0; /* page scale */
- double uscale = 0; /* user supplied scale */
- double ppwid, pphgt; /* paper dimensions */
- double margin, border; /* paper & page margins */
- double vshift, hshift; /* page centring shifts */
- double iwidth, iheight ; /* input paper size */
- double tolerance = 100000; /* layout tolerance */
- off_t sizeheaders[20]; /* headers to remove */
- int opt;
- const struct paper *paper = NULL;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- set_paper_size(NULL);
-
- margin = border = vshift = hshift = column = flip = 0;
- leftright = topbottom = 1;
- iwidth = iheight = -1 ;
-
- verbose = 1;
- program = *argv;
-
- while((opt =
- getopt(argc, argv,
- "qd::lrfcw:W:h:H:m:b:t:s:p:P:n:123456789"))
- != EOF) {
- switch(opt) {
- case 'q': /* quiet */
- verbose = 0;
- break;
- case 'd': /* draw borders */
- if (optarg)
- draw = singledimen(optarg);
- else
- draw = 1;
- break;
- case 'l': /* landscape (rotated left) */
- column = !column;
- topbottom = !topbottom;
- break;
- case 'r': /* seascape (rotated right) */
- column = !column;
- leftright = !leftright;
- break;
- case 'f': /* flipped */
- flip = 1;
- break;
- case 'c': /* column major layout */
- column = !column;
- break;
- case 'w': /* page width */
- width = singledimen(optarg);
- break;
- case 'W': /* input page width */
- iwidth = singledimen(optarg);
- break;
- case 'h': /* page height */
- height = singledimen(optarg);
- break;
- case 'H': /* input page height */
- iheight = singledimen(optarg);
- break;
- case 'm': /* margins around whole page */
- margin = singledimen(optarg);
- break;
- case 'b': /* border around individual pages */
- border = singledimen(optarg);
- break;
- case 't': /* layout tolerance */
- tolerance = atof(optarg);
- break;
- case 's': /* override scale */
- uscale = atof(optarg);
- break;
- case 'p': /* output (and by default input) paper type */
- if ( (paper = paperinfo(optarg)) != NULL ) {
- width = paperpswidth(paper);
- height = paperpsheight(paper);
- } else
- message(FATAL, "paper size '%s' not recognised\n", optarg);
- break;
- case 'P': /* paper type */
- if ( (paper = paperinfo(optarg)) != NULL ) {
- iwidth = paperpswidth(paper);
- iheight = paperpsheight(paper);
- } else
- message(FATAL, "paper size '%s' not recognised\n", optarg);
- break;
- case 'n': /* n-up, for compatibility with other psnups */
- if ((nup = atoi(optarg)) < 1)
- message(FATAL, "-n %d too small\n", nup);
- break;
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '8':
- case '9':
- nup = (opt - '0');
- break;
- case 'v': /* version */
- default:
- usage();
- }
- }
-
- infile = stdin;
- outfile = stdout;
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if (optind != argc) {
- /* User specified an input file */
- if ((infile = fopen(argv[optind], "rb")) == NULL)
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) {
- /* User specified an output file */
- if ((outfile = fopen(argv[optind], "wb")) == NULL)
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) usage();
-
- if ((infile=seekable(infile))==NULL)
- message(FATAL, "can't seek input\n");
-
- if (width <= 0 || height <= 0)
- message(FATAL, "page width and height must be set\n");
-
- /* subtract paper margins from height & width */
- ppwid = width - margin*2;
- pphgt = height - margin*2;
-
- if (ppwid <= 0 || pphgt <= 0)
- message(FATAL, "paper margins are too large\n");
-
- scanpages(sizeheaders);
-
- /* set default values of input height & width */
- if ( iwidth > 0 && width == -1 )
- width = iwidth ;
- if ( iheight > 0 && height == -1 )
- height = iheight ;
-
- /* Finding the best layout is an optimisation problem. We try all of the
- * combinations of width*height in both normal and rotated form, and
- * minimise the wasted space. */
- {
- double best = tolerance;
- int hor;
- for (hor = 1; hor; hor = nextdiv(hor, nup)) {
- int ver = nup/hor;
- /* try normal orientation first */
- double scl = MIN(pphgt/(height*ver), ppwid/(width*hor));
- double optim = (ppwid-scl*width*hor)*(ppwid-scl*width*hor) +
- (pphgt-scl*height*ver)*(pphgt-scl*height*ver);
- if (optim < best) {
- best = optim;
- /* recalculate scale to allow for internal borders */
- scale = MIN((pphgt-2*border*ver)/(height*ver),
- (ppwid-2*border*hor)/(width*hor));
- hshift = (ppwid/hor - width*scale)/2;
- vshift = (pphgt/ver - height*scale)/2;
- horiz = hor; vert = ver;
- rotate = flip;
- }
- /* try rotated orientation */
- scl = MIN(pphgt/(width*hor), ppwid/(height*ver));
- optim = (pphgt-scl*width*hor)*(pphgt-scl*width*hor) +
- (ppwid-scl*height*ver)*(ppwid-scl*height*ver);
- if (optim < best) {
- best = optim;
- /* recalculate scale to allow for internal borders */
- scale = MIN((pphgt-2*border*hor)/(width*hor),
- (ppwid-2*border*ver)/(height*ver));
- hshift = (ppwid/ver - height*scale)/2;
- vshift = (pphgt/hor - width*scale)/2;
- horiz = ver; vert = hor;
- rotate = !flip;
- }
- }
-
- /* fail if nothing better than worst tolerance was found */
- if (best == tolerance)
- message(FATAL, "can't find acceptable layout for %d-up\n", nup);
- }
-
- if (flip) { /* swap width & height for clipping */
- double tmp = width;
- width = height;
- height = tmp;
- }
-
- if (rotate) { /* rotate leftright and topbottom orders */
- int tmp = topbottom;
- topbottom = !leftright;
- leftright = tmp;
- column = !column;
- }
-
- /* now construct specification list and run page rearrangement procedure */
- {
- int page = 0;
- PageSpec *specs, *tail;
-
- tail = specs = newspec();
-
- while (page < nup) {
- int up, across; /* page index */
-
- if (column) {
- if (leftright) /* left to right */
- across = page/vert;
- else /* right to left */
- across = horiz-1-page/vert;
- if (topbottom) /* top to bottom */
- up = vert-1-page%vert;
- else /* bottom to top */
- up = page%vert;
- } else {
- if (leftright) /* left to right */
- across = page%horiz;
- else /* right to left */
- across = horiz-1-page%horiz;
- if (topbottom) /* top to bottom */
- up = vert-1-page/horiz;
- else /* bottom to top */
- up = page/horiz;
- }
- if (rotate) {
- tail->xoff = margin + (across+1)*ppwid/horiz - hshift;
- tail->rotate = 90;
- tail->flags |= ROTATE;
- } else {
- tail->xoff = margin + across*ppwid/horiz + hshift;
- }
- tail->pageno = page;
- if (uscale > 0)
- tail->scale = uscale;
- else
- tail->scale = scale;
- tail->flags |= SCALE;
- tail->yoff = margin + up*pphgt/vert + vshift;
- tail->flags |= OFFSET;
- if (++page < nup) {
- tail->flags |= ADD_NEXT;
- tail->next = newspec();
- tail = tail->next;
- }
- }
-
- pstops_write(nup, 1, 0, specs, draw, sizeheaders); /* do page rearrangement */
- }
-
- return 0;
-}
-
diff --git a/Build/source/utils/psutils/psutils-1.21/psresize.1 b/Build/source/utils/psutils/psutils-1.21/psresize.1
deleted file mode 100644
index 3e5e751b194..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psresize.1
+++ /dev/null
@@ -1,78 +0,0 @@
-.TH PSRESIZE 1 "PSUtils"
-.SH NAME
-psresize \- rescales and centers a document for new output paper size
-.SH SYNOPSIS
-.B psresize
-[
-.B \-w\fIwidth\fR
-] [
-.B \-h\fIheight\fR
-] [
-.B \-p\fIpaper\fR
-] [
-.B \-W\fIwidth\fR
-] [
-.B \-H\fIheight\fR
-] [
-.B \-P\fIpaper\fR
-] [
-.B \-q
-] [
-.I infile
-[
-.I outfile
-] ]
-.SH DESCRIPTION
-.I Psresize
-rescales and centres a document on a different size of paper.
-The input PostScript file should follow the Adobe Document Structuring
-Conventions.
-.PP
-The
-.I \-w
-option gives the output paper width, and the
-.I \-h
-option gives the output paper height, normally specified in
-.B "cm"
-or
-.B "in"
-to convert
-PostScript's points (1/72 of an inch)
-to centimeters or inches.
-The
-.I \-p
-option can be used instead, to set the paper size; otherwise a default value is used.
-See
-.BR papersize (5).
-.PP
-The
-.I \-W
-option gives the input paper width, and the
-.I \-H
-option gives the input paper height.
-The
-.I \-P
-option can be used instead, to set the paper size; otherwise a default value is used.
-See
-.BR papersize (5).
-.PP
-.I Psresize
-normally prints the page numbers of the pages output; the
-.I \-q
-option suppresses this.
-.SH EXAMPLES
-The following command can be used to convert a document on A4 size paper to
-letter size paper:
-.sp
-psresize -PA4 -pletter in.ps out.ps
-.sp
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I Psresize
-does not accept all DSC comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/psresize.c b/Build/source/utils/psutils/psutils-1.21/psresize.c
deleted file mode 100644
index bd1f961488b..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psresize.c
+++ /dev/null
@@ -1,162 +0,0 @@
-/* psresize.c
- * Alter page size of document
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <paper.h>
-
-#include "psutil.h"
-#include "psspec.h"
-
-const char *syntax = "[-q] [-wWIDTH] [-hHEIGHT] [-pPAPER] [-WWIDTH] [-HHEIGHT] [-PPAPER] [INFILE [OUTFILE]]\n";
-
-const char *argerr_message = "bad dimension\n";
-
-int
-main(int argc, char *argv[])
-{
- double scale, rscale; /* page scale */
- double waste, rwaste; /* amount wasted */
- double vshift, hshift; /* page centring shifts */
- int rotate;
- double inwidth = -1;
- double inheight = -1;
- off_t sizeheaders[20]; /* headers to remove */
- PageSpec *specs;
- int opt;
- const struct paper *paper = NULL;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- set_paper_size(NULL);
-
- vshift = hshift = 0;
- rotate = 0;
-
- verbose = 1;
-
- program = *argv;
-
- while((opt = getopt(argc, argv,
- "qw:h:p:W:H:P:")) != EOF) {
- switch(opt) {
-
- case 'q': /* quiet */
- verbose = 0;
- break;
- case 'w': /* page width */
- width = singledimen(optarg);
- break;
- case 'h': /* page height */
- height = singledimen(optarg);
- break;
- case 'p': /* paper type */
- if ( (paper = paperinfo(optarg)) != NULL ) {
- width = paperpswidth(paper);
- height = paperpsheight(paper);
- } else
- message(FATAL, "paper size '%s' not recognised\n", optarg);
- break;
- case 'W': /* input page width */
- inwidth = singledimen(optarg);
- break;
- case 'H': /* input page height */
- inheight = singledimen(optarg);
- break;
- case 'P': /* input paper type */
- if ( (paper = paperinfo(optarg)) != NULL ) {
- inwidth = paperpswidth(paper);
- inheight = paperpsheight(paper);
- } else
- message(FATAL, "paper size '%s' not recognised\n", optarg);
- break;
- case 'v': /* version */
- default:
- usage();
- }
- }
-
- infile = stdin;
- outfile = stdout;
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if (optind != argc) {
- /* User specified an input file */
- if ((infile = fopen(argv[optind], "rb")) == NULL)
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) {
- /* User specified an output file */
- if ((outfile = fopen(argv[optind], "wb")) == NULL)
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) usage();
-
- if ((infile=seekable(infile))==NULL)
- message(FATAL, "can't seek input\n");
-
- if (width <= 0 || height <= 0)
- message(FATAL, "output page width and height must be set\n");
-
- scanpages(sizeheaders);
-
- if (inwidth <= 0 || inheight <= 0)
- message(FATAL, "input page width and height must be set\n");
-
- /* try normal orientation first */
- scale = MIN(width/inwidth, height/inheight);
- waste = (width-scale*inwidth)*(width-scale*inwidth) +
- (height-scale*inheight)*(height-scale*inheight);
- hshift = (width - inwidth*scale)/2;
- vshift = (height - inheight*scale)/2;
-
- /* try rotated orientation */
- rscale = MIN(height/inwidth, width/inheight);
- rwaste = (height-scale*inwidth)*(height-scale*inwidth) +
- (width-scale*inheight)*(width-scale*inheight);
- if (rwaste < waste) {
- double tmp = width;
- scale = rscale;
- hshift = (width + inheight*scale)/2;
- vshift = (height - inwidth*scale)/2;
- rotate = 1;
- width = height;
- height = tmp;
- }
-
- width /= scale;
- height /= scale;
-
- /* now construct specification list and run page rearrangement procedure */
- specs = newspec();
-
- if (rotate) {
- specs->rotate = 90;
- specs->flags |= ROTATE;
- }
- specs->pageno = 0;
- specs->scale = scale;
- specs->flags |= SCALE;
- specs->xoff = hshift;
- specs->yoff = vshift;
- specs->flags |= OFFSET;
-
- pstops_write(1, 1, 0, specs, 0.0, sizeheaders); /* do page rearrangement */
-
- return 0;
-}
-
diff --git a/Build/source/utils/psutils/psutils-1.21/psselect.1 b/Build/source/utils/psutils/psutils-1.21/psselect.1
deleted file mode 100644
index be1260a7a51..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psselect.1
+++ /dev/null
@@ -1,84 +0,0 @@
-.TH PSSELECT 1 "PSUtils"
-.SH NAME
-psselect \- select pages from a PostScript file
-.SH SYNOPSIS
-.B psselect
-[
-.B \-q
-] [
-.B \-e
-] [
-.B \-o
-] [
-.B \-r
-] [
-.B \-p\fIpages\fR
-] [
-.I pages
-] [
-.I infile
-[
-.I outfile
-] ]
-.SH DESCRIPTION
-.I Psselect
-selects pages from a PostScript document, creating a new PostScript file. The
-input PostScript file should follow the Adobe Document Structuring
-Conventions.
-.PP
-The
-.I \-e
-option selects all of the even pages; it may be used in conjunction with the
-other page selection options to select the even pages from a range of pages.
-.PP
-The
-.I \-o
-option selects all of the odd pages; it may be used in conjunction with the
-other page selection options.
-.PP
-The
-.I \-p\fIpages\fR
-option specifies the pages which are to be selected.
-.I Pages
-is a comma separated list of page ranges, each of which may be a page number,
-or a page range of the form \fIfirst\fR-\fIlast\fR. If \fIfirst\fR is omitted,
-the
-first page is assumed, and if \fIlast\fR is omitted, the last page is assumed.
-
-The prefix character `_' indicates that the page number is relative to the end
-of the document, counting backwards. If just this character with no page
-number is used, a blank page will be inserted.
-.PP
-The
-.I \-r
-option causes
-.I psselect
-to output the selected pages in reverse order.
-.PP
-Psselect normally prints the page numbers of the pages rearranged; the
-.I \-q
-option suppresses this.
-.PP
-If any of the
-.I \-r, \-e,
-or
-.I \-o
-options are specified, the page range must be given with the
-.I \-p
-option. This is for backwards compatibility with previous versions.
-
-.SH NOTES
-The page number given to
-.I psselect
-is the number of the page counting from the start or end of the file, starting
-at one. The actual page number in the document may be different.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I Psselect
-does not accept all DSC comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/psselect.c b/Build/source/utils/psutils/psutils-1.21/psselect.c
deleted file mode 100644
index 8166f5942f9..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psselect.c
+++ /dev/null
@@ -1,240 +0,0 @@
-/* psselect.c
- * Rearrange pages in conforming PS file for printing in signatures
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include "psutil.h"
-
-const char *syntax = "[-q] [-e] [-o] [-r] [-pPAGES] [INFILE [OUTFILE]]\n";
-
-const char *argerr_message = "";
-
-typedef struct pgrange {
- int first, last;
- struct pgrange *next;
-} PageRange ;
-
-static PageRange *makerange(int beg, int end, PageRange *next)
-{
- PageRange *new;
- if ((new = (PageRange *)malloc(sizeof(PageRange))) == NULL)
- message(FATAL, "out of memory\n");
- new->first = beg;
- new->last = end;
- new->next = next;
- return (new);
-}
-
-
-static PageRange *addrange(char *str, PageRange *rp)
-{
- int first=0;
- int sign;
-
- if(!str) return NULL;
-
- sign = (*str == '_' && ++str) ? -1 : 1;
- if (isdigit(*str)) {
- first = sign*atoi(str);
- while (isdigit(*str)) str++;
- }
- switch (*str) {
- case '\0':
- if (first || sign < 0)
- return (makerange(first, first, rp));
- break;
- case ',':
- if (first || sign < 0)
- return (addrange(str+1, makerange(first, first, rp)));
- break;
- case '-':
- case ':':
- str++;
- sign = (*str == '_' && ++str) ? -1 : 1;
- if (!first)
- first = 1;
- if (isdigit(*str)) {
- int last = sign*atoi(str);
- while (isdigit(*str)) str++;
- if (*str == '\0')
- return (makerange(first, last, rp));
- if (*str == ',')
- return (addrange(str+1, makerange(first, last, rp)));
- } else if (*str == '\0')
- return (makerange(first, -1, rp));
- else if (*str == ',')
- return (addrange(str+1, makerange(first, -1, rp)));
- default: /* Avoid a compiler warning */
- break;
- }
- message(FATAL, "invalid page range\n");
- return (PageRange *)0 ;
-}
-
-
-int
-main(int argc, char *argv[])
-{
- int opt;
- int currentpg, maxpage = 0;
- int even = 0, odd = 0, reverse = 0;
- int pass, all;
- PageRange *pagerange = NULL;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- verbose = 1;
- program = *argv;
-
- while((opt = getopt(argc, argv, "eorqvp:")) != EOF) {
- switch(opt) {
- case 'e': /* even pages */
- even = 1;
- break;
- case 'o': /* odd pages */
- odd = 1;
- break;
- case 'r': /* reverse */
- reverse = 1;
- break;
- case 'p': /* page spec */
- pagerange = addrange(optarg, pagerange);
- break;
- case 'q': /* quiet */
- verbose = 0;
- break;
- case 'v': /* version */
- default:
- usage();
- break;
- }
- }
-
- infile = stdin;
- outfile = stdout;
-
- /* If we haven't gotten a page range yet, we better get one now */
- if (pagerange == NULL && !reverse && !even && !odd) {
- pagerange = addrange(argv[optind], NULL);
- optind++;
- }
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if (optind != argc) {
- /* User specified an input file */
- if ((infile = fopen(argv[optind], "rb")) == NULL)
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) {
- /* User specified an output file */
- if ((outfile = fopen(argv[optind], "wb")) == NULL)
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- if(optind != argc) usage();
-
- if ((infile=seekable(infile))==NULL)
- message(FATAL, "can't seek input\n");
-
- scanpages(NULL);
-
- /* select all pages or all in range if odd or even not set */
- all = !(odd || even);
-
- /* add default page range */
- if (!pagerange)
- pagerange = makerange(1, -1, NULL);
-
- /* reverse page list if not reversing pages (list constructed bottom up) */
- if (!reverse) {
- PageRange *revlist = NULL;
- PageRange *next = NULL;
- while (pagerange) {
- next = pagerange->next;
- pagerange->next = revlist;
- revlist = pagerange;
- pagerange = next;
- }
- pagerange = revlist;
- } else { /* swap start & end if reversing */
- PageRange *r;
- for (r = pagerange; r; r = r->next) {
- int temp = r->last;
- r->last = r->first;
- r->first = temp;
- }
- }
-
- { /* adjust for end-relative pageranges */
- PageRange *r;
- for (r = pagerange; r; r = r->next) {
- if (r->first < 0) {
- r->first += pages + 1;
- if (r->first < 1)
- r->first = 1;
- }
- if (r->last < 0) {
- r->last += pages + 1;
- if (r->last < 1)
- r->last = 1;
- }
- }
- }
-
- /* count pages on first pass, select pages on second pass */
- for (pass = 0; pass < 2; pass++) {
- PageRange *r;
- if (pass) { /* write header on second pass */
- writeheader(maxpage, NULL);
- writeprolog();
- writesetup();
- }
- for (r = pagerange; r; r = r->next) {
- if (r->last < r->first) {
- for (currentpg = r->first; currentpg >= r->last; currentpg--) {
- if (currentpg == 0 ||
- (currentpg <= pages &&
- ((currentpg&1) ? (odd || all) : (even || all)))) {
- if (pass) {
- if (currentpg)
- writepage(currentpg-1);
- else
- writeemptypage() ;
- } else
- maxpage++;
- }
- }
- } else {
- for (currentpg = r->first; currentpg <= r->last; currentpg++) {
- if (currentpg == 0 ||
- (currentpg <= pages &&
- ((currentpg&1) ? (odd || all) : (even || all)))) {
- if (pass) {
- if (currentpg)
- writepage(currentpg-1);
- else
- writeemptypage() ;
- } else
- maxpage++;
- }
- }
- }
- }
- }
- writetrailer();
-
- return 0;
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/psspec.c b/Build/source/utils/psutils/psutils-1.21/psspec.c
deleted file mode 100644
index 9ec2e2e3a18..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psspec.c
+++ /dev/null
@@ -1,246 +0,0 @@
-/* psspec.c
- * Page spec routines for page rearrangement
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-
-#include "psutil.h"
-#include "psspec.h"
-
-#include <string.h>
-
-double width = -1;
-double height = -1;
-
-/* create a new page spec */
-PageSpec *newspec(void)
-{
- PageSpec *temp = (PageSpec *)malloc(sizeof(PageSpec));
- if (temp == NULL)
- message(FATAL, "out of memory\n");
- temp->pageno = temp->flags = temp->rotate = 0;
- temp->scale = 1;
- temp->xoff = temp->yoff = 0;
- temp->next = NULL;
- return (temp);
-}
-
-/* dimension parsing routines */
-int parseint(char **sp)
-{
- char *s = *sp;
- int num = atoi(s);
-
- while (isdigit(*s))
- s++;
- if (*sp == s) argerror();
- *sp = s;
- return (num);
-}
-
-double parsedouble(char **sp)
-{
- char *s = *sp;
- double num = atof(s);
-
- while (isdigit(*s) || *s == '-' || *s == '.')
- s++;
- if (*sp == s) argerror();
- *sp = s;
- return (num);
-}
-
-double parsedimen(char **sp)
-{
- double num = parsedouble(sp);
- char *s = *sp;
-
- if (strncmp(s, "pt", 2) == 0) {
- s += 2;
- } else if (strncmp(s, "in", 2) == 0) {
- num *= 72;
- s += 2;
- } else if (strncmp(s, "cm", 2) == 0) {
- num *= 28.346456692913385211;
- s += 2;
- } else if (strncmp(s, "mm", 2) == 0) {
- num *= 2.8346456692913385211;
- s += 2;
- } else if (*s == 'w') {
- if (width < 0)
- message(FATAL, "width not initialised\n");
- num *= width;
- s++;
- } else if (*s == 'h') {
- if (height < 0)
- message(FATAL, "height not initialised\n");
- num *= height;
- s++;
- }
- *sp = s;
- return (num);
-}
-
-double singledimen(char *str)
-{
- double num = parsedimen(&str);
- if (*str) usage();
- return (num);
-}
-
-static const char *prologue[] = { /* PStoPS procset */
- /* Wrap these up with our own versions. We have to */
- "userdict begin",
- "[/showpage/erasepage/copypage]{dup where{pop dup load",
- " type/operatortype eq{ /PStoPSenablepage cvx 1 index"
- " load 1 array astore cvx {} bind /ifelse cvx 4 array"
- " astore cvx def}{pop}ifelse}{pop}ifelse}forall"
- " /PStoPSenablepage true def",
- "[/letter/legal/executivepage/a4/a4small/b5/com10envelope", /* nullify */
- " /monarchenvelope/c5envelope/dlenvelope/lettersmall/note", /* paper */
- " /folio/quarto/a5]{dup where{dup wcheck{exch{}put}", /* operators */
- " {pop{}def}ifelse}{pop}ifelse}forall",
- "/setpagedevice {pop}bind 1 index where{dup wcheck{3 1 roll put}",
- " {pop def}ifelse}{def}ifelse",
- "/PStoPSmatrix matrix currentmatrix def",
- "/PStoPSxform matrix def/PStoPSclip{clippath}def",
- "/defaultmatrix{PStoPSmatrix exch PStoPSxform exch concatmatrix}bind def",
- "/initmatrix{matrix defaultmatrix setmatrix}bind def",
- "/initclip[{matrix currentmatrix PStoPSmatrix setmatrix",
- " [{currentpoint}stopped{$error/newerror false put{newpath}}",
- " {/newpath cvx 3 1 roll/moveto cvx 4 array astore cvx}ifelse]",
- " {[/newpath cvx{/moveto cvx}{/lineto cvx}",
- " {/curveto cvx}{/closepath cvx}pathforall]cvx exch pop}",
- " stopped{$error/errorname get/invalidaccess eq{cleartomark",
- " $error/newerror false put cvx exec}{stop}ifelse}if}bind aload pop",
- " /initclip dup load dup type dup/operatortype eq{pop exch pop}",
- " {dup/arraytype eq exch/packedarraytype eq or",
- " {dup xcheck{exch pop aload pop}{pop cvx}ifelse}",
- " {pop cvx}ifelse}ifelse",
- " {newpath PStoPSclip clip newpath exec setmatrix} bind aload pop]cvx def",
- "/initgraphics{initmatrix newpath initclip 1 setlinewidth",
- " 0 setlinecap 0 setlinejoin []0 setdash 0 setgray",
- " 10 setmiterlimit}bind def",
- "end",
- NULL
- };
-
-void pstops(int modulo, int pps, int nobind, PageSpec *specs, double draw) {
-
- scanpages(NULL);
- pstops_write(modulo, pps, nobind, specs, draw, NULL);
-}
-
-void pstops_write(int modulo, int pps, int nobind, PageSpec *specs, double draw, off_t *ignorelist)
-{
- int thispg, maxpage;
- int pageindex = 0;
- const char **pro;
-
- maxpage = ((pages+modulo-1)/modulo)*modulo;
-
- /* rearrange pages: doesn't cope properly with loaded definitions */
- writeheadermedia((maxpage/modulo)*pps, ignorelist, width, height);
- writestring("%%BeginProcSet: PStoPS");
- if (nobind)
- writestring("-nobind");
- writestring(" 1 15\n");
- for (pro = prologue; *pro; pro++) {
- writestring(*pro);
- writestring("\n");
- }
- if (nobind) /* desperation measures */
- writestring("/bind{}def\n");
- writestring("%%EndProcSet\n");
- /* save transformation from original to current matrix */
- if (writepartprolog()) {
- writestring("userdict/PStoPSxform PStoPSmatrix matrix currentmatrix\n");
- writestring(" matrix invertmatrix matrix concatmatrix\n");
- writestring(" matrix invertmatrix put\n");
- }
- writesetup();
- for (thispg = 0; thispg < maxpage; thispg += modulo) {
- int add_last = 0;
- PageSpec *ps;
- for (ps = specs; ps != NULL; ps = ps->next) {
- int actualpg;
- int add_next = ((ps->flags & ADD_NEXT) != 0);
- if (ps->flags & REVERSED)
- actualpg = maxpage-thispg-modulo+ps->pageno;
- else
- actualpg = thispg+ps->pageno;
- if (actualpg < pages)
- seekpage(actualpg);
- if (!add_last) { /* page label contains original pages */
- PageSpec *np = ps;
- char *eob = pagelabel;
- char sep = '(';
- do {
- *eob++ = sep;
- if (np->flags & REVERSED)
- sprintf(eob, "%d", maxpage-thispg-modulo+np->pageno);
- else
- sprintf(eob, "%d", thispg+np->pageno);
- eob = eob + strlen(eob);
- sep = ',';
- } while ((np->flags & ADD_NEXT) && (np = np->next));
- strcpy(eob, ")");
- writepageheader(pagelabel, ++pageindex);
- }
- writestring("userdict/PStoPSsaved save put\n");
- if (ps->flags & GSAVE) {
- char buffer[BUFSIZ];
- writestring("PStoPSmatrix setmatrix\n");
- if (ps->flags & OFFSET) {
- sprintf(buffer, "%f %f translate\n", ps->xoff, ps->yoff);
- writestring(buffer);
- }
- if (ps->flags & ROTATE) {
- sprintf(buffer, "%d rotate\n", ps->rotate);
- writestring(buffer);
- }
- if (ps->flags & HFLIP) {
- sprintf(buffer, "[ -1 0 0 1 %f 0 ] concat\n", width*ps->scale);
- writestring(buffer);
- }
- if (ps->flags & VFLIP) {
- sprintf(buffer, "[ 1 0 0 -1 0 %f ] concat\n", height*ps->scale);
- writestring(buffer);
- }
- if (ps->flags & SCALE) {
- sprintf(buffer, "%f dup scale\n", ps->scale);
- writestring(buffer);
- }
- writestring("userdict/PStoPSmatrix matrix currentmatrix put\n");
- if (width > 0 && height > 0) {
- writestring("userdict/PStoPSclip{0 0 moveto\n");
- sprintf(buffer, " %f 0 rlineto 0 %f rlineto -%f 0 rlineto\n",
- width, height, width);
- writestring(buffer);
- writestring(" closepath}put initclip\n");
- if (draw > 0) {
- sprintf(buffer, "gsave clippath 0 setgray %f setlinewidth stroke grestore\n", draw);
- writestring(buffer);
- }
- }
- }
- if (add_next)
- writestring("/PStoPSenablepage false def\n");
- if (actualpg < pages) {
- writepagesetup();
- writestring("PStoPSxform concat\n");
- writepagebody(actualpg);
- } else {
- writestring("PStoPSxform concat\n");
- writestring("showpage\n");
- }
- writestring("PStoPSsaved restore\n");
- add_last = add_next;
- }
- }
- writetrailer();
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/psspec.h b/Build/source/utils/psutils/psutils-1.21/psspec.h
deleted file mode 100644
index e62d1cfd3f2..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psspec.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* psspec.h
- * Page spec routines for page rearrangement
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-/* pagespec flags */
-#define ADD_NEXT (0x01)
-#define ROTATE (0x02)
-#define HFLIP (0x04)
-#define VFLIP (0x08)
-#define SCALE (0x10)
-#define OFFSET (0x20)
-#define REVERSED (0x40)
-#define GSAVE (ROTATE|HFLIP|VFLIP|SCALE|OFFSET)
-
-typedef struct pagespec {
- int pageno, flags, rotate;
- double xoff, yoff, scale;
- struct pagespec *next;
-} PageSpec ;
-
-extern double width, height;
-
-extern PageSpec *newspec(void);
-extern int parseint(char **sp);
-extern double parsedouble(char **sp);
-extern double parsedimen(char **sp);
-extern double singledimen(char *str);
-extern void pstops(int modulo, int pps, int nobind, PageSpec *specs,
- double draw);
-extern void pstops_write(int modulo, int pps, int nobind, PageSpec *specs,
- double draw, off_t *ignorelist);
diff --git a/Build/source/utils/psutils/psutils-1.21/pstops.1 b/Build/source/utils/psutils/psutils-1.21/pstops.1
deleted file mode 100644
index 1a65d1e92ee..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/pstops.1
+++ /dev/null
@@ -1,166 +0,0 @@
-.TH PSTOPS 1 "PSUtils"
-.SH NAME
-pstops \- shuffle pages in a PostScript file
-.SH SYNOPSIS
-.B pstops
-[
-.B \-q
-] [
-.B \-b
-] [
-.B \-w\fIwidth\fR
-] [
-.B \-h\fIheight\fR
-] [
-.B \-p\fIpaper\fR
-] [
-.B \-d\fIlwidth\fR
-]
-.I pagespecs
-[
-.I infile
-[
-.I outfile
-] ]
-.SH DESCRIPTION
-.I Pstops
-rearranges pages from a PostScript document, creating a new PostScript file.
-The input PostScript file should follow the Adobe Document Structuring
-Conventions.
-.I Pstops
-can be used to perform a large number of arbitrary re-arrangements of
-Documents, including arranging for printing 2-up, 4-up, booklets, reversing,
-selecting front or back sides of documents, scaling, etc.
-.PP
-.I pagespecs
-follow the syntax:
-.RS
-.TP 12
-.I pagespecs
-.I = [modulo:]specs
-.TP
-.I specs
-.I = spec[+specs][,specs]
-.TP
-.I spec
-.I = [-]pageno[L][R][U][H][V][@scale][(xoff,yoff)]
-.RE
-.sp
-.I modulo
-is the number of pages in each block. The value of
-.I modulo
-should be greater than 0; the default value is 1.
-.I specs
-are the page specifications for the pages in each block. The value of the
-.I pageno
-in each
-.I spec
-should be between 0 (for the first page in the block) and \fImodulo\fR-1
-(for the last page in each block) inclusive.
-The optional dimensions
-.I xoff
-and
-.I yoff
-shift the page by the specified amount.
-.I xoff
-and
-.I yoff
-are in PostScript's points, but may be followed by the units
-.B "cm"
-or
-.B "in"
-to convert to centimetres or inches, or the flag
-.B "w"
-or
-.B "h"
-to specify as a multiple of the width or height.
-The optional parameters \fIL\fR, \fIR\fR, \fIU\fR, \fIH\fR and \fIV\fR
-rotate the page left, right, or upside-down, and flip (mirror) page
-horizontally or vertically.
-The optional
-.I scale
-parameter scales the page by the fraction specified.
-If the optional minus sign is specified, the page is relative to the end of
-the document, instead of the start.
-
-If page \fIspec\fRs are separated by
-.B \+
-the pages will be merged into one page; if they are separated by
-.B ,
-they will be on separate pages.
-If there is only one page specification, with
-.I pageno
-zero, the \fIpageno\fR may be omitted.
-
-The shift, rotation, and scaling are applied
-to the PostScript transformation matrix
-in that order regardless of which order
-they appear on the command line.
-The matrix accumulates the individual transformations.
-The effect on the image is to first scale with respect to an origin
-at the lower left corner, then rotate about the same origin, and
-finally shift.
-.PP
-The
-.I \-w
-option gives the width which is used by the
-.B "w"
-dimension specifier, and the
-.I \-h
-option gives the height which is used by the
-.B "h"
-dimension specifier. These dimensions are also used (after scaling) to set the
-clipping path for each page.
-The
-.I \-p
-.PP
-The
-.I \-b
-option prevents any
-.B bind
-operators in the PostScript prolog from binding. This may be needed in cases
-where complex multi-page re-arrangements are being done.
-.PP
-The
-.I \-d
-option draws a line around the border of each page, of the specified width.
-If the \fIlwidth\fR parameter is omitted, a default linewidth of 1 point is
-assumed. The linewidth is relative to the original page dimensions,
-\fIi.e.\fR it is scaled up or down with the rest of the page.
-.PP
-Pstops normally prints the page numbers of the pages re-arranged; the
-.I \-q
-option suppresses this.
-.SH EXAMPLES
-This section contains some sample re-arrangements. To put two pages on one
-sheet (of A4 paper), the pagespec to use is:
-.sp
-.ce
-"2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)"
-.sp
-To select all of the odd pages in reverse order, use:
-.sp
-.ce
-2:-0
-.sp
-To re-arrange pages for printing 2-up booklets, use
-.sp
-.ce
-"4:-3L@.7(21cm,0)+0L@.7(21cm,14.85cm)"
-.sp
-for the front sides, and
-.sp
-.ce
-"4:1L@.7(21cm,0)+-2L@.7(21cm,14.85cm)"
-.sp
-for the reverse sides (or join them with a comma for duplex printing).
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psutils(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
-.SH BUGS
-.I Pstops
-does not accept all DSC comments.
diff --git a/Build/source/utils/psutils/psutils-1.21/pstops.c b/Build/source/utils/psutils/psutils-1.21/pstops.c
deleted file mode 100644
index cb1f658c80a..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/pstops.c
+++ /dev/null
@@ -1,212 +0,0 @@
-/* pstops.c
- * Rearrange pages in conforming PS file
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#include <string.h>
-#include <paper.h>
-
-#include "psutil.h"
-#include "psspec.h"
-
-const char *syntax = "[-q] [-b] [-wWIDTH] [-hHEIGHT] [-dLWIDTH] [-pPAPER] PAGESPECS [INFILE [OUTFILE]]\n";
-
-const char *argerr_message = "%page specification error:\n"
- " pagespecs = [modulo:]spec\n"
- " spec = [-]pageno[@scale][L|R|U|H|V][(xoff,yoff)][,spec|+spec]\n"
- " modulo >= 1, 0 <= pageno < modulo\n";
-
-static int modulo = 1;
-static int pagesperspec = 1;
-
-static PageSpec *parsespecs(char *str)
-{
- PageSpec *head, *tail;
- unsigned long spec_count = 0;
- long num = -1;
-
- head = tail = newspec();
- while (*str) {
- if (isdigit(*str)) {
- num = parseint(&str);
- } else {
- switch (*str++) {
- case ':':
- if (spec_count || head != tail || num < 1) argerror();
- modulo = num;
- num = -1;
- break;
- case '-':
- tail->flags ^= REVERSED;
- break;
- case '@':
- tail->scale *= parsedouble(&str);
- tail->flags |= SCALE;
- break;
- case 'l': case 'L':
- tail->rotate += 90;
- tail->flags |= ROTATE;
- break;
- case 'r': case 'R':
- tail->rotate -= 90;
- tail->flags |= ROTATE;
- break;
- case 'u': case 'U':
- tail->rotate += 180;
- tail->flags |= ROTATE;
- break;
- case 'h': case 'H':
- tail->flags ^= HFLIP;
- break;
- case 'v': case 'V':
- tail->flags ^= VFLIP;
- break;
- case '(':
- tail->xoff += parsedimen(&str);
- if (*str++ != ',') argerror();
- tail->yoff += parsedimen(&str);
- if (*str++ != ')') argerror();
- tail->flags |= OFFSET;
- break;
- case '+':
- tail->flags |= ADD_NEXT;
- case ',':
- if (num < 0 || num >= modulo) argerror();
- if ((tail->flags & ADD_NEXT) == 0)
- pagesperspec++;
- tail->pageno = num;
- tail->next = newspec();
- tail = tail->next;
- num = -1;
- break;
- default:
- argerror();
- }
- spec_count++;
- }
- }
- if (num >= modulo)
- argerror();
- else if (num >= 0)
- tail->pageno = num;
- return (head);
-}
-
-int
-main(int argc, char *argv[])
-{
- PageSpec *specs = NULL;
- int nobinding = 0;
- double draw = 0;
- const struct paper *paper = NULL;
- int opt;
-
- SET_BINARY(stdin);
- SET_BINARY(stdout);
-
- set_paper_size(NULL);
-
- verbose = 1;
-
- program = *argv;
-
- while((opt = getopt(argc, argv, "qd::bw:h:p:v0123456789")) != EOF) {
- switch(opt) {
- case 'q': /* quiet */
- verbose = 0;
- break;
- case 'd': /* draw borders */
- if(optarg)
- draw = singledimen(optarg);
- else
- draw = 1;
- break;
- case 'b': /* no bind operator */
- nobinding = 1;
- break;
- case 'w': /* page width */
- width = singledimen(optarg);
- break;
- case 'h': /* page height */
- height = singledimen(optarg);
- break;
- case 'p': /* paper type */
- if ( (paper = paperinfo(optarg)) != NULL ) {
- width = paperpswidth(paper);
- height = paperpsheight(paper);
- } else
- message(FATAL, "paper size '%s' not recognised\n", optarg);
- break;
- case 'v': /* version */
- usage();
- case '0':
- case '1':
- case '2':
- case '3':
- case '4':
- case '5':
- case '6':
- case '7':
- case '8':
- case '9':
- if (specs == NULL) {
- char *spec_txt = malloc((optarg ? strlen(optarg) : 0) + 3);
- if(!spec_txt) message(FATAL, "no memory for spec allocation\n");
- spec_txt[0] = '-';
- spec_txt[1] = opt;
- spec_txt[2] = 0;
- if (optarg) strcat(spec_txt, optarg);
- specs = parsespecs(spec_txt);
- free(spec_txt);
- } else {
- usage();
- }
- break;
- default:
- usage();
- break;
- }
- }
-
- if (specs == NULL) {
- if(optind == argc) usage();
- specs = parsespecs(argv[optind]);
- optind++;
- }
-
- infile = stdin;
- outfile = stdout;
-
- /* Be defensive */
- if((argc - optind) < 0 || (argc - optind) > 2) usage();
-
- if (optind != argc) {
- /* User specified an input file */
- if ((infile = fopen(argv[optind], "rb")) == NULL)
- message(FATAL, "can't open input file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc) {
- /* User specified an output file */
- if ((outfile = fopen(argv[optind], "wb")) == NULL)
- message(FATAL, "can't open output file %s\n", argv[optind]);
- optind++;
- }
-
- if (optind != argc || specs == NULL) usage();
-
- if ((infile=seekable(infile))==NULL)
- message(FATAL, "can't seek input\n");
-
- pstops(modulo, pagesperspec, nobinding, specs, draw);
-
- return 0;
-}
diff --git a/Build/source/utils/psutils/psutils-1.21/psutil.c b/Build/source/utils/psutils/psutils-1.21/psutil.c
deleted file mode 100644
index a6ef8456b6f..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psutil.c
+++ /dev/null
@@ -1,412 +0,0 @@
-/* psutil.c
- * PSUtils utility functions
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-
-#include "config.h"
-
-#define _FILE_OFFSET_BITS 64
-
-#include "psutil.h"
-#include "psspec.h"
-
-#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <stdio.h>
-#include <paper.h>
-
-#define iscomment(x,y) (strncmp(x,y,strlen(y)) == 0)
-
-char *program;
-int pages;
-int verbose;
-FILE *infile;
-FILE *outfile;
-char pagelabel[BUFSIZ];
-int pageno;
-
-static char buffer[BUFSIZ];
-static long bytes = 0;
-static off_t pagescmt = 0;
-static off_t headerpos = 0;
-static off_t endsetup = 0;
-static off_t beginprocset = 0; /* start of pstops procset */
-static off_t endprocset = 0;
-static int outputpage = 0;
-static int maxpages = 100;
-static off_t *pageptr;
-
-_Noreturn void usage(void)
-{
- fprintf(stderr, "%s %s\n", program, PACKAGE_VERSION);
- fprintf(stderr, COPYRIGHT_STRING);
- fprintf(stderr, "Usage: %s %s", program, syntax);
- fflush(stderr);
- exit(1);
-}
-
-void argerror(void)
-{
- message(FATAL, argerr_message);
-}
-
-/* Message function: for messages, warnings, and errors sent to stderr.
- If called with the flag MESSAGE_EXIT set, the routine does not return. */
-void message(int flags, const char *format, ...)
-{
- va_list args ;
-
- if ( flags & MESSAGE_PROGRAM )
- fprintf(stderr, "%s: ", program) ;
-
- if ( (flags & MESSAGE_NL) )
- putc('\n', stderr) ;
-
- va_start(args, format) ;
- vfprintf(stderr, format, args);
- va_end(args) ;
-
- if ( flags & MESSAGE_EXIT ) /* don't return to program */
- exit(1) ;
-}
-
-static void maybe_init_libpaper(void)
-{
- static int libpaper_initted = 0;
- if (!libpaper_initted) {
- paperinit();
- libpaper_initted = 1;
- }
-}
-
-void set_paper_size(const char *paper_name)
-{
- const struct paper *paper = get_paper(paper_name);
- if (paper) {
- width = paperpswidth(paper);
- height = paperpsheight(paper);
- }
-}
-
-const struct paper *get_paper(const char *paper_name)
-{
- maybe_init_libpaper();
- if (paper_name == NULL)
- paper_name = systempapername();
- if (paper_name)
- return paperinfo(paper_name);
- return NULL;
-}
-
-/* Make a file seekable, using temporary files if necessary */
-FILE *seekable(FILE *fp)
-{
- FILE *ft;
- long r, w ;
- char *p;
- char buffer[BUFSIZ] ;
- off_t fpos;
-
- if ((fpos = ftello(fp)) >= 0)
- if (!fseeko(fp, (off_t) 0, SEEK_END) && !fseeko(fp, fpos, SEEK_SET))
- return (fp);
-
- if ((ft = tmpfile()) == NULL)
- return (NULL);
-
- while ((r = fread(p = buffer, sizeof(char), BUFSIZ, fp)) > 0) {
- do {
- if ((w = fwrite(p, sizeof(char), r, ft)) == 0)
- return (NULL) ;
- p += w ;
- r -= w ;
- } while (r > 0) ;
- }
-
- if (!feof(fp))
- return (NULL) ;
-
- /* discard the input file, and rewind the temporary */
- (void) fclose(fp);
- if (fseeko(ft, (off_t) 0, SEEK_SET) != 0)
- return (NULL) ;
-
- return (ft);
-}
-
-
-/* copy input file from current position upto new position to output file,
- * ignoring the lines starting at something ignorelist points to */
-static int fcopy(off_t upto, off_t *ignorelist)
-{
- off_t here = ftello(infile);
- off_t bytes_left;
-
- if (ignorelist != NULL) {
- while (*ignorelist > 0 && *ignorelist < here)
- ignorelist++;
-
- while (*ignorelist > 0 && *ignorelist < upto) {
- int r = fcopy(*ignorelist, NULL);
- if (!r || fgets(buffer, BUFSIZ, infile) == NULL)
- return 0;
- ignorelist++;
- here = ftello(infile);
- while (*ignorelist > 0 && *ignorelist < here)
- ignorelist++;
- }
- }
- bytes_left = upto - here;
-
- while (bytes_left > 0) {
- size_t rw_result;
- const size_t numtocopy = (bytes_left > BUFSIZ) ? BUFSIZ : bytes_left;
- rw_result = fread(buffer, 1, numtocopy, infile);
- if (rw_result < numtocopy) return (0);
- rw_result = fwrite(buffer, 1, numtocopy, outfile);
- if (rw_result < numtocopy) return (0);
- bytes_left -= numtocopy;
- bytes += numtocopy;
- }
- return (1);
-}
-
-/* build array of pointers to start/end of pages */
-void scanpages(off_t *sizeheaders)
-{
- register char *comment = buffer+2;
- register int nesting = 0;
- register off_t record;
-
- if (sizeheaders)
- *sizeheaders = 0;
-
- if ((pageptr = (off_t *)malloc(sizeof(off_t)*maxpages)) == NULL)
- message(FATAL, "out of memory\n");
- pages = 0;
- fseeko(infile, (off_t) 0, SEEK_SET);
- while (record = ftello(infile), fgets(buffer, BUFSIZ, infile) != NULL)
- if (*buffer == '%') {
- if (buffer[1] == '%') {
- if (nesting == 0 && iscomment(comment, "Page:")) {
- if (pages >= maxpages-1) {
- maxpages *= 2;
- if ((pageptr = (off_t *)realloc((char *)pageptr,
- sizeof(off_t)*maxpages)) == NULL)
- message(FATAL, "out of memory\n");
- }
- pageptr[pages++] = record;
- } else if (headerpos == 0 && iscomment(comment, "BoundingBox:")) {
- if (sizeheaders) {
- *(sizeheaders++) = record;
- *sizeheaders = 0;
- }
- } else if (headerpos == 0 && iscomment(comment, "HiResBoundingBox:")) {
- if (sizeheaders) {
- *(sizeheaders++) = record;
- *sizeheaders = 0;
- }
- } else if (headerpos == 0 && iscomment(comment,"DocumentPaperSizes:")) {
- if (sizeheaders) {
- *(sizeheaders++) = record;
- *sizeheaders = 0;
- }
- } else if (headerpos == 0 && iscomment(comment,"DocumentMedia:")) {
- if (sizeheaders) {
- *(sizeheaders++) = record;
- *sizeheaders = 0;
- }
- } else if (headerpos == 0 && iscomment(comment, "Pages:"))
- pagescmt = record;
- else if (headerpos == 0 && iscomment(comment, "EndComments"))
- headerpos = ftello(infile);
- else if (iscomment(comment, "BeginDocument") ||
- iscomment(comment, "BeginBinary") ||
- iscomment(comment, "BeginFile"))
- nesting++;
- else if (iscomment(comment, "EndDocument") ||
- iscomment(comment, "EndBinary") ||
- iscomment(comment, "EndFile"))
- nesting--;
- else if (nesting == 0 && iscomment(comment, "EndSetup"))
- endsetup = record;
- else if (nesting == 0 && iscomment(comment, "BeginProlog"))
- headerpos = ftello(infile);
- else if (nesting == 0 &&
- iscomment(comment, "BeginProcSet: PStoPS"))
- beginprocset = record;
- else if (beginprocset && !endprocset &&
- iscomment(comment, "EndProcSet"))
- endprocset = ftello(infile);
- else if (nesting == 0 && (iscomment(comment, "Trailer") ||
- iscomment(comment, "EOF"))) {
- fseeko(infile, record, SEEK_SET);
- break;
- }
- } else if (headerpos == 0 && buffer[1] != '!')
- headerpos = record;
- } else if (headerpos == 0)
- headerpos = record;
- pageptr[pages] = ftello(infile);
- if (endsetup == 0 || endsetup > pageptr[0])
- endsetup = pageptr[0];
-}
-
-/* seek a particular page */
-void seekpage(int p)
-{
- fseeko(infile, pageptr[p], SEEK_SET);
- if (fgets(buffer, BUFSIZ, infile) != NULL &&
- iscomment(buffer, "%%Page:")) {
- char *start, *end;
- for (start = buffer+7; isspace(*start); start++);
- if (*start == '(') {
- int paren = 1;
- for (end = start+1; paren > 0; end++)
- switch (*end) {
- case '\0':
- message(FATAL, "Bad page label while seeking page %d\n", p);
- case '(':
- paren++;
- break;
- case ')':
- paren--;
- break;
- default:
- break;
- }
- } else
- for (end = start; !isspace(*end); end++);
- strncpy(pagelabel, start, end-start);
- pagelabel[end-start] = '\0';
- pageno = atoi(end);
- } else
- message(FATAL, "I/O error seeking page %d\n", p);
-}
-
-/* Output routines. These all update the global variable bytes with the number
- * of bytes written */
-void writestring(const char *s)
-{
- fputs(s, outfile);
- bytes += strlen(s);
-}
-
-/* write page comment */
-void writepageheader(const char *label, int page)
-{
- if (verbose)
- message(LOG, "[%d] ", page);
- sprintf(buffer, "%%%%Page: %s %d\n", label, ++outputpage);
- writestring(buffer);
-}
-
-/* search for page setup */
-void writepagesetup(void)
-{
- char buffer[BUFSIZ];
- if (beginprocset) {
- for (;;) {
- if (fgets(buffer, BUFSIZ, infile) == NULL)
- message(FATAL, "I/O error reading page setup %d\n", outputpage);
- if (!strncmp(buffer, "PStoPSxform", 11))
- break;
- if (fputs(buffer, outfile) == EOF)
- message(FATAL, "I/O error writing page setup %d\n", outputpage);
- bytes += strlen(buffer);
- }
- }
-}
-
-/* write the body of a page */
-void writepagebody(int p)
-{
- if (!fcopy(pageptr[p+1], NULL))
- message(FATAL, "I/O error writing page %d\n", outputpage);
-}
-
-/* write a whole page */
-void writepage(int p)
-{
- seekpage(p);
- writepageheader(pagelabel, p+1);
- writepagebody(p);
-}
-
-/* write from start of file to end of header comments */
-void writeheader(int p, off_t *ignore)
-{
- writeheadermedia(p, ignore, -1, -1);
-}
-
-void writeheadermedia(int p, off_t *ignore, double width, double height)
-{
- fseeko(infile, (off_t) 0, SEEK_SET);
- if (pagescmt) {
- if (!fcopy(pagescmt, ignore) || fgets(buffer, BUFSIZ, infile) == NULL)
- message(FATAL, "I/O error in header\n");
- if (width > -1 && height > -1) {
- sprintf(buffer, "%%%%DocumentMedia: plain %d %d 0 () ()\n", (int) width, (int) height);
- writestring(buffer);
- sprintf(buffer, "%%%%BoundingBox: 0 0 %d %d\n", (int) width, (int) height);
- writestring(buffer);
- }
- sprintf(buffer, "%%%%Pages: %d 0\n", p);
- writestring(buffer);
- }
- if (!fcopy(headerpos, ignore))
- message(FATAL, "I/O error in header\n");
-}
-
-/* write prologue to end of setup section excluding PStoPS procset */
-int writepartprolog(void)
-{
- if (beginprocset && !fcopy(beginprocset, NULL))
- message(FATAL, "I/O error in prologue\n");
- if (endprocset)
- fseeko(infile, endprocset, SEEK_SET);
- writeprolog();
- return !beginprocset;
-}
-
-/* write prologue up to end of setup section */
-void writeprolog(void)
-{
- if (!fcopy(endsetup, NULL))
- message(FATAL, "I/O error in prologue\n");
-}
-
-/* write from end of setup to start of pages */
-void writesetup(void)
-{
- if (!fcopy(pageptr[0], NULL))
- message(FATAL, "I/O error in prologue\n");
-}
-
-/* write trailer */
-void writetrailer(void)
-{
- fseeko(infile, pageptr[pages], SEEK_SET);
- while (fgets(buffer, BUFSIZ, infile) != NULL) {
- writestring(buffer);
- }
- if (verbose)
- message(LOG, "Wrote %d pages, %ld bytes\n", outputpage, bytes);
-}
-
-/* write a page with nothing on it */
-void writeemptypage(void)
-{
- if (verbose)
- message(LOG, "[*] ");
- sprintf(buffer, "%%%%Page: * %d\n", ++outputpage);
- writestring(buffer);
- if (beginprocset)
- writestring("PStoPSxform concat\n");
- writestring("showpage\n");
-}
-
diff --git a/Build/source/utils/psutils/psutils-1.21/psutil.h b/Build/source/utils/psutils/psutils-1.21/psutil.h
deleted file mode 100644
index abddc0bb7c1..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psutil.h
+++ /dev/null
@@ -1,82 +0,0 @@
-/* psutil.h
- * PSUtils utility functions
- *
- * (c) Reuben Thomas 2012
- * (c) Angus J. C. Duggan 1991-1997
- * See file LICENSE for details.
- */
-#define _FILE_OFFSET_BITS 64
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <stdarg.h>
-
-/* message flags */
-#define MESSAGE_NL 1 /* Newline before message if necessary */
-#define MESSAGE_PROGRAM 2 /* announce program name */
-#define MESSAGE_EXIT 4 /* do not return */
-
-/* message types */
-#define FATAL (MESSAGE_EXIT|MESSAGE_PROGRAM|MESSAGE_NL)
-#define WARN (MESSAGE_NL|MESSAGE_PROGRAM)
-#define LOG 0
-
-/* change mode of a file pointer on Windows */
-#if defined(WIN32)
-#include <io.h>
-#include <fcntl.h>
-#define SET_BINARY(fp) (void)_setmode(fileno(fp), _O_BINARY)
-#undef off_t
-#undef ftello
-#undef fseeko
-#if defined(__MINGW32__)
-#define off_t off64_t
-#define ftello ftello64
-#define fseeko fseeko64
-#else
-#define off_t __int64
-#define ftello _ftelli64
-#define fseeko _fseeki64
-#endif
-#else /* !WIN32 */
-#define SET_BINARY(fp) (void)0
-#endif
-
-/* Definitions for functions found in psutil.c */
-extern void usage(void);
-extern void message(int flags, const char *format, ...);
-extern void argerror(void);
-extern void set_paper_size(const char *paper_name);
-const struct paper *get_paper(const char *paper_name);
-extern FILE *seekable(FILE *fp);
-extern void writepage(int p);
-extern void seekpage(int p);
-extern void writepageheader(const char *label, int p);
-extern void writepagesetup(void);
-extern void writepagebody(int p);
-extern void writeheader(int p, off_t *ignorelist);
-extern void writeheadermedia(int p, off_t *ignorelist, double width, double height);
-extern int writepartprolog(void);
-extern void writeprolog(void);
-extern void writesetup(void);
-extern void writetrailer(void);
-extern void writeemptypage(void);
-extern void scanpages(off_t *sizeheaders);
-extern void writestring(const char *s);
-
-/* These variables are exported to the client program */
-extern char *program ;
-extern int pages;
-extern int verbose;
-extern FILE *infile;
-extern FILE *outfile;
-extern char pagelabel[BUFSIZ];
-extern int pageno;
-
-/* Variables imported from the client program */
-extern const char *syntax;
-extern const char *argerr_message;
-
-/* Useful macros */
-#define MIN(x,y) ((x) > (y) ? (y) : (x))
-#define COPYRIGHT_STRING "(c) Reuben Thomas <rrt@sc3d.org> 2012\n(c) Angus J. C. Duggan 1991-1997\nSee file LICENSE for details.\n"
diff --git a/Build/source/utils/psutils/psutils-1.21/psutils.1 b/Build/source/utils/psutils/psutils-1.21/psutils.1
deleted file mode 100644
index 5ddc7b94925..00000000000
--- a/Build/source/utils/psutils/psutils-1.21/psutils.1
+++ /dev/null
@@ -1,13 +0,0 @@
-.TH PSUTILS 1 "PSUtils"
-.SH NAME
-PSUtils \- utilities
-.SH DESCRIPTION
-PSUtils is a set of utilities for manipulating PostScript
-documents which follow the Adobe Document Structuring Conventions.
-.SH AUTHOR
-Written by Angus J. C. Duggan.
-.SH "SEE ALSO"
-psbook(1), psselect(1), pstops(1), epsffit(1), psnup(1), psresize(1), psjoin(1), extractres(1), includeres(1)
-.SH TRADEMARKS
-.B PostScript
-is a trademark of Adobe Systems Incorporated.
diff --git a/Build/source/utils/psutils/psutils.test b/Build/source/utils/psutils/psutils.test
deleted file mode 100755
index fdcfdb8c9cf..00000000000
--- a/Build/source/utils/psutils/psutils.test
+++ /dev/null
@@ -1,52 +0,0 @@
-#! /bin/sh
-
-# Copyright (C) 2011-2013 Peter Breitenlohner <tex-live@tug.org>
-# You may freely use, modify and/or distribute this file.
-
-failed=
-
-rm -rf play*
-./psselect 5:15 $srcdir/tests/play.ps playsel.ps \
- 2>playsel.2 \
- && diff playsel.2 $srcdir/tests/playsel.2 \
- && echo "psselect tests OK" \
- || failed="$failed psselect"
-
-./psbook -s4 playsel.ps playbook.ps \
- 2>playbook.2 \
- && diff playbook.2 $srcdir/tests/playbook.2 \
- && echo "psbook tests OK" \
- || failed="$failed psbook"
-
-./psresize -Pa4 -pa5 playsel.ps \
- | sed -e 's/ -0\.000000 / 0.000000 /' >playres.ps \
- && diff playres.ps $srcdir/tests/playres.ps \
- && echo "psresize tests OK" \
- || failed="$failed psresize"
-
-./psnup -pa4 -2 playsel.ps playnup.ps \
- 2>playnup.2 \
- && diff playnup.2 $srcdir/tests/playnup.2 \
- && echo "psnup tests OK" \
- || failed="$failed psnup"
-
-./pstops -pa4 '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' playsel.ps playps.ps \
- 2>playps.2 \
- && diff playps.2 $srcdir/tests/playps.2 \
- && echo "pstops tests OK" \
- || failed="$failed pstops"
-
-rm -rf plot*
-./epsffit -c 0 0 600 368 $srcdir/tests/plot.eps ploth.eps \
- && diff ploth.eps $srcdir/tests/ploth.eps \
- && ./epsffit -c 0 0 500 400 $srcdir/tests/plot.eps plotv.eps \
- && diff plotv.eps $srcdir/tests/plotv.eps \
- && ./epsffit -m 0 0 368 500 $srcdir/tests/plot.eps plotm.eps \
- && diff plotm.eps $srcdir/tests/plotm.eps \
- && echo "epsffit tests OK" \
- || failed="$failed epsffit"
-
-test -z "$failed" && exit 0
-echo "failed tests:$failed"
-exit 1
-
diff --git a/Build/source/utils/psutils/tests/play.ps b/Build/source/utils/psutils/tests/play.ps
deleted file mode 100644
index c51a844b092..00000000000
--- a/Build/source/utils/psutils/tests/play.ps
+++ /dev/null
@@ -1,305 +0,0 @@
-%!PS-Adobe-2.0
-%%Creator: dvips(k) 5.98 Copyright 2009 Radical Eye Software
-%%Title: play.dvi
-%%CreationDate: Fri Sep 23 19:01:22 2011
-%%Pages: 20
-%%PageOrder: Ascend
-%%BoundingBox: 0 0 596 842
-%%DocumentFonts: Times-Roman
-%%DocumentPaperSizes: a4
-%%EndComments
-%DVIPSWebPage: (www.radicaleye.com)
-%DVIPSCommandLine: dvips play.dvi
-%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2011.09.23:1901
-%%BeginProcSet: tex.pro 0 0
-%!
-/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
-N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72
-mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0
-0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{
-landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize
-mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[
-matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round
-exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{
-statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0]
-N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin
-/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array
-/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2
-array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N
-df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A
-definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get
-}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub}
-B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr
-1 add N}if}B/CharBuilder{save 3 1 roll S A/base get 2 index get S
-/BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy
-setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]{Ci}imagemask
-restore}B/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn
-/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put
-}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{
-bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A
-mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{
-SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{
-userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X
-1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4
-index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N
-/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{
-/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)
-(LaserWriter 16/600)]{A length product length le{A length product exch 0
-exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse
-end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask
-grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot}
-imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round
-exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto
-fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p
-delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M}
-B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{
-p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S
-rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end
-
-%%EndProcSet
-%%BeginProcSet: 8r.enc 0 0
-% File 8r.enc TeX Base 1 Encoding Revision 2.0 2002-10-30
-%
-% @@psencodingfile@{
-% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry,
-% W. Schmidt, P. Lehman",
-% version = "2.0",
-% date = "27nov06",
-% filename = "8r.enc",
-% email = "tex-fonts@@tug.org",
-% docstring = "This is the encoding vector for Type1 and TrueType
-% fonts to be used with TeX. This file is part of the
-% PSNFSS bundle, version 9"
-% @}
-%
-% The idea is to have all the characters normally included in Type 1 fonts
-% available for typesetting. This is effectively the characters in Adobe
-% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol,
-% MacRoman, and some extra characters from Lucida.
-%
-% Character code assignments were made as follows:
-%
-% (1) the Windows ANSI characters are almost all in their Windows ANSI
-% positions, because some Windows users cannot easily reencode the
-% fonts, and it makes no difference on other systems. The only Windows
-% ANSI characters not available are those that make no sense for
-% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen
-% (173). quotesingle and grave are moved just because it's such an
-% irritation not having them in TeX positions.
-%
-% (2) Remaining characters are assigned arbitrarily to the lower part
-% of the range, avoiding 0, 10 and 13 in case we meet dumb software.
-%
-% (3) Y&Y Lucida Bright includes some extra text characters; in the
-% hopes that other PostScript fonts, perhaps created for public
-% consumption, will include them, they are included starting at 0x12.
-% These are /dotlessj /ff /ffi /ffl.
-%
-% (4) hyphen appears twice for compatibility with both ASCII and Windows.
-%
-% (5) /Euro was assigned to 128, as in Windows ANSI
-%
-% (6) Missing characters from MacRoman encoding incorporated as follows:
-%
-% PostScript MacRoman TeXBase1
-% -------------- -------------- --------------
-% /notequal 173 0x16
-% /infinity 176 0x17
-% /lessequal 178 0x18
-% /greaterequal 179 0x19
-% /partialdiff 182 0x1A
-% /summation 183 0x1B
-% /product 184 0x1C
-% /pi 185 0x1D
-% /integral 186 0x81
-% /Omega 189 0x8D
-% /radical 195 0x8E
-% /approxequal 197 0x8F
-% /Delta 198 0x9D
-% /lozenge 215 0x9E
-%
-/TeXBase1Encoding [
-% 0x00
- /.notdef /dotaccent /fi /fl
- /fraction /hungarumlaut /Lslash /lslash
- /ogonek /ring /.notdef /breve
- /minus /.notdef /Zcaron /zcaron
-% 0x10
- /caron /dotlessi /dotlessj /ff
- /ffi /ffl /notequal /infinity
- /lessequal /greaterequal /partialdiff /summation
- /product /pi /grave /quotesingle
-% 0x20
- /space /exclam /quotedbl /numbersign
- /dollar /percent /ampersand /quoteright
- /parenleft /parenright /asterisk /plus
- /comma /hyphen /period /slash
-% 0x30
- /zero /one /two /three
- /four /five /six /seven
- /eight /nine /colon /semicolon
- /less /equal /greater /question
-% 0x40
- /at /A /B /C
- /D /E /F /G
- /H /I /J /K
- /L /M /N /O
-% 0x50
- /P /Q /R /S
- /T /U /V /W
- /X /Y /Z /bracketleft
- /backslash /bracketright /asciicircum /underscore
-% 0x60
- /quoteleft /a /b /c
- /d /e /f /g
- /h /i /j /k
- /l /m /n /o
-% 0x70
- /p /q /r /s
- /t /u /v /w
- /x /y /z /braceleft
- /bar /braceright /asciitilde /.notdef
-% 0x80
- /Euro /integral /quotesinglbase /florin
- /quotedblbase /ellipsis /dagger /daggerdbl
- /circumflex /perthousand /Scaron /guilsinglleft
- /OE /Omega /radical /approxequal
-% 0x90
- /.notdef /.notdef /.notdef /quotedblleft
- /quotedblright /bullet /endash /emdash
- /tilde /trademark /scaron /guilsinglright
- /oe /Delta /lozenge /Ydieresis
-% 0xA0
- /.notdef /exclamdown /cent /sterling
- /currency /yen /brokenbar /section
- /dieresis /copyright /ordfeminine /guillemotleft
- /logicalnot /hyphen /registered /macron
-% 0xB0
- /degree /plusminus /twosuperior /threesuperior
- /acute /mu /paragraph /periodcentered
- /cedilla /onesuperior /ordmasculine /guillemotright
- /onequarter /onehalf /threequarters /questiondown
-% 0xC0
- /Agrave /Aacute /Acircumflex /Atilde
- /Adieresis /Aring /AE /Ccedilla
- /Egrave /Eacute /Ecircumflex /Edieresis
- /Igrave /Iacute /Icircumflex /Idieresis
-% 0xD0
- /Eth /Ntilde /Ograve /Oacute
- /Ocircumflex /Otilde /Odieresis /multiply
- /Oslash /Ugrave /Uacute /Ucircumflex
- /Udieresis /Yacute /Thorn /germandbls
-% 0xE0
- /agrave /aacute /acircumflex /atilde
- /adieresis /aring /ae /ccedilla
- /egrave /eacute /ecircumflex /edieresis
- /igrave /iacute /icircumflex /idieresis
-% 0xF0
- /eth /ntilde /ograve /oacute
- /ocircumflex /otilde /odieresis /divide
- /oslash /ugrave /uacute /ucircumflex
- /udieresis /yacute /thorn /ydieresis
-] def
-
-
-%%EndProcSet
-%%BeginProcSet: texps.pro 0 0
-%!
-TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2
-index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll
-exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0
-ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{
-pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get
-div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type
-/nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end
-definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup
-sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll
-mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[
-exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if}
-forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def
-end
-
-%%EndProcSet
-TeXDict begin 39158280 55380996 1000 600 600 (play.dvi)
-@start /Fa 198[415 415 415 415 415 415 415 415 415 415
-48[{TeXBase1Encoding ReEncodeFont}10 830.22 /Times-Roman
-rf /Fb 198[83 83 83 83 83 83 83 83 83 83 48[{
-TeXBase1Encoding ReEncodeFont}10 166.044 /Times-Roman
-rf end
-%%EndProlog
-%%BeginSetup
-%%Feature: *Resolution 600dpi
-TeXDict begin
-%%BeginPaperSize: a4
-/setpagedevice where
-{ pop << /PageSize [595 842] >> setpagedevice }
-{ /a4 where { pop a4 } if }
-ifelse
-%%EndPaperSize
- end
-%%EndSetup
-%%Page: 11 1
-TeXDict begin 11 0 bop 330 419 a Fb(1)2834 b(1)1622 3268
-y Fa(1)330 5670 y Fb(1)g(1)p eop end
-%%Page: 12 2
-TeXDict begin 12 1 bop 330 419 a Fb(2)2834 b(2)1622 3268
-y Fa(2)330 5670 y Fb(2)g(2)p eop end
-%%Page: 13 3
-TeXDict begin 13 2 bop 330 419 a Fb(3)2834 b(3)1622 3264
-y Fa(3)330 5670 y Fb(3)g(3)p eop end
-%%Page: 14 4
-TeXDict begin 14 3 bop 330 419 a Fb(4)2834 b(4)1622 3268
-y Fa(4)330 5670 y Fb(4)g(4)p eop end
-%%Page: 15 5
-TeXDict begin 15 4 bop 330 423 a Fb(5)2834 b(5)1622 3275
-y Fa(5)330 5670 y Fb(5)g(5)p eop end
-%%Page: 16 6
-TeXDict begin 16 5 bop 330 419 a Fb(6)2834 b(6)1622 3264
-y Fa(6)330 5670 y Fb(6)g(6)p eop end
-%%Page: 17 7
-TeXDict begin 17 6 bop 330 419 a Fb(7)2834 b(7)1622 3266
-y Fa(7)330 5670 y Fb(7)g(7)p eop end
-%%Page: 18 8
-TeXDict begin 18 7 bop 330 419 a Fb(8)2834 b(8)1622 3264
-y Fa(8)330 5670 y Fb(8)g(8)p eop end
-%%Page: 19 9
-TeXDict begin 19 8 bop 330 419 a Fb(9)2834 b(9)1622 3261
-y Fa(9)330 5670 y Fb(9)g(9)p eop end
-%%Page: 20 10
-TeXDict begin 20 9 bop 330 419 a Fb(10)2668 b(10)1415
-3264 y Fa(10)330 5670 y Fb(10)g(10)p eop end
-%%Page: 21 11
-TeXDict begin 21 10 bop 330 419 a Fb(11)2668 b(11)1415
-3268 y Fa(11)330 5670 y Fb(11)g(11)p eop end
-%%Page: 22 12
-TeXDict begin 22 11 bop 330 419 a Fb(12)2668 b(12)1415
-3268 y Fa(12)330 5670 y Fb(12)g(12)p eop end
-%%Page: 23 13
-TeXDict begin 23 12 bop 330 419 a Fb(13)2668 b(13)1415
-3264 y Fa(13)330 5670 y Fb(13)g(13)p eop end
-%%Page: 24 14
-TeXDict begin 24 13 bop 330 419 a Fb(14)2668 b(14)1415
-3268 y Fa(14)330 5670 y Fb(14)g(14)p eop end
-%%Page: 25 15
-TeXDict begin 25 14 bop 330 423 a Fb(15)2668 b(15)1415
-3275 y Fa(15)330 5670 y Fb(15)g(15)p eop end
-%%Page: 26 16
-TeXDict begin 26 15 bop 330 419 a Fb(16)2668 b(16)1415
-3264 y Fa(16)330 5670 y Fb(16)g(16)p eop end
-%%Page: 27 17
-TeXDict begin 27 16 bop 330 419 a Fb(17)2668 b(17)1415
-3266 y Fa(17)330 5670 y Fb(17)g(17)p eop end
-%%Page: 28 18
-TeXDict begin 28 17 bop 330 419 a Fb(18)2668 b(18)1415
-3264 y Fa(18)330 5670 y Fb(18)g(18)p eop end
-%%Page: 29 19
-TeXDict begin 29 18 bop 330 419 a Fb(19)2668 b(19)1415
-3261 y Fa(19)330 5670 y Fb(19)g(19)p eop end
-%%Page: 30 20
-TeXDict begin 30 19 bop 330 419 a Fb(20)2668 b(20)1415
-3264 y Fa(20)330 5670 y Fb(20)g(20)p eop end
-%%Trailer
-
-userdict /end-hook known{end-hook}if
-%%EOF
diff --git a/Build/source/utils/psutils/tests/playbook.2 b/Build/source/utils/psutils/tests/playbook.2
deleted file mode 100644
index 353bc098e86..00000000000
--- a/Build/source/utils/psutils/tests/playbook.2
+++ /dev/null
@@ -1 +0,0 @@
-[4] [1] [2] [3] [8] [5] [6] [7] [*] [9] [10] [11] Wrote 12 pages, 10984 bytes
diff --git a/Build/source/utils/psutils/tests/playnup.2 b/Build/source/utils/psutils/tests/playnup.2
deleted file mode 100644
index 0c486cfccc1..00000000000
--- a/Build/source/utils/psutils/tests/playnup.2
+++ /dev/null
@@ -1 +0,0 @@
-[1] [2] [3] [4] [5] [6] Wrote 6 pages, 16644 bytes
diff --git a/Build/source/utils/psutils/tests/playps.2 b/Build/source/utils/psutils/tests/playps.2
deleted file mode 100644
index 548507ce9e0..00000000000
--- a/Build/source/utils/psutils/tests/playps.2
+++ /dev/null
@@ -1 +0,0 @@
-[1] [2] [3] [4] [5] [6] Wrote 6 pages, 16696 bytes
diff --git a/Build/source/utils/psutils/tests/playres.ps b/Build/source/utils/psutils/tests/playres.ps
deleted file mode 100644
index c64265ad217..00000000000
--- a/Build/source/utils/psutils/tests/playres.ps
+++ /dev/null
@@ -1,422 +0,0 @@
-%!PS-Adobe-2.0
-%%Creator: dvips(k) 5.98 Copyright 2009 Radical Eye Software
-%%Title: play.dvi
-%%CreationDate: Fri Sep 23 19:01:22 2011
-%%DocumentMedia: plain 595 844 0 () ()
-%%BoundingBox: 0 0 595 844
-%%Pages: 11 0
-%%PageOrder: Ascend
-%%DocumentFonts: Times-Roman
-%%EndComments
-%%BeginProcSet: PStoPS 1 15
-userdict begin
-[/showpage/erasepage/copypage]{dup where{pop dup load
- type/operatortype eq{ /PStoPSenablepage cvx 1 index load 1 array astore cvx {} bind /ifelse cvx 4 array astore cvx def}{pop}ifelse}{pop}ifelse}forall /PStoPSenablepage true def
-[/letter/legal/executivepage/a4/a4small/b5/com10envelope
- /monarchenvelope/c5envelope/dlenvelope/lettersmall/note
- /folio/quarto/a5]{dup where{dup wcheck{exch{}put}
- {pop{}def}ifelse}{pop}ifelse}forall
-/setpagedevice {pop}bind 1 index where{dup wcheck{3 1 roll put}
- {pop def}ifelse}{def}ifelse
-/PStoPSmatrix matrix currentmatrix def
-/PStoPSxform matrix def/PStoPSclip{clippath}def
-/defaultmatrix{PStoPSmatrix exch PStoPSxform exch concatmatrix}bind def
-/initmatrix{matrix defaultmatrix setmatrix}bind def
-/initclip[{matrix currentmatrix PStoPSmatrix setmatrix
- [{currentpoint}stopped{$error/newerror false put{newpath}}
- {/newpath cvx 3 1 roll/moveto cvx 4 array astore cvx}ifelse]
- {[/newpath cvx{/moveto cvx}{/lineto cvx}
- {/curveto cvx}{/closepath cvx}pathforall]cvx exch pop}
- stopped{$error/errorname get/invalidaccess eq{cleartomark
- $error/newerror false put cvx exec}{stop}ifelse}if}bind aload pop
- /initclip dup load dup type dup/operatortype eq{pop exch pop}
- {dup/arraytype eq exch/packedarraytype eq or
- {dup xcheck{exch pop aload pop}{pop cvx}ifelse}
- {pop cvx}ifelse}ifelse
- {newpath PStoPSclip clip newpath exec setmatrix} bind aload pop]cvx def
-/initgraphics{initmatrix newpath initclip 1 setlinewidth
- 0 setlinecap 0 setlinejoin []0 setdash 0 setgray
- 10 setmiterlimit}bind def
-end
-%%EndProcSet
-%DVIPSWebPage: (www.radicaleye.com)
-%DVIPSCommandLine: dvips play.dvi
-%DVIPSParameters: dpi=600
-%DVIPSSource: TeX output 2011.09.23:1901
-%%BeginProcSet: tex.pro 0 0
-%!
-/TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
-N}B/A{dup}B/TR{translate}N/isls false N/vsize 11 72 mul N/hsize 8.5 72
-mul N/landplus90{false}def/@rigin{isls{[0 landplus90{1 -1}{-1 1}ifelse 0
-0 0]concat}if 72 Resolution div 72 VResolution div neg scale isls{
-landplus90{VResolution 72 div vsize mul 0 exch}{Resolution -72 div hsize
-mul 0}ifelse TR}if Resolution VResolution vsize -72 div 1 add mul TR[
-matrix currentmatrix{A A round sub abs 0.00001 lt{round}if}forall round
-exch round exch]setmatrix}N/@landscape{/isls true N}B/@manualfeed{
-statusdict/manualfeed true put}B/@copies{/#copies X}B/FMat[1 0 0 -1 0 0]
-N/FBB[0 0 0 0]N/nn 0 N/IEn 0 N/ctr 0 N/df-tail{/nn 8 dict N nn begin
-/FontType 3 N/FontMatrix fntrx N/FontBBox FBB N string/base X array
-/BitMaps X/BuildChar{CharBuilder}N/Encoding IEn N end A{/foo setfont}2
-array copy cvx N load 0 nn put/ctr 0 N[}B/sf 0 N/df{/sf 1 N/fntrx FMat N
-df-tail}B/dfs{div/sf X/fntrx[sf 0 0 sf neg 0 0]N df-tail}B/E{pop nn A
-definefont setfont}B/Cw{Cd A length 5 sub get}B/Ch{Cd A length 4 sub get
-}B/Cx{128 Cd A length 3 sub get sub}B/Cy{Cd A length 2 sub get 127 sub}
-B/Cdx{Cd A length 1 sub get}B/Ci{Cd A type/stringtype ne{ctr get/ctr ctr
-1 add N}if}B/CharBuilder{save 3 1 roll S A/base get 2 index get S
-/BitMaps get S get/Cd X pop/ctr 0 N Cdx 0 Cx Cy Ch sub Cx Cw add Cy
-setcachedevice Cw Ch true[1 0 0 -1 -.1 Cx sub Cy .1 sub]{Ci}imagemask
-restore}B/D{/cc X A type/stringtype ne{]}if nn/base get cc ctr put nn
-/BitMaps get S ctr S sf 1 ne{A A length 1 sub A 2 index S get sf div put
-}if put/ctr ctr 1 add N}B/I{cc 1 add D}B/bop{userdict/bop-hook known{
-bop-hook}if/SI save N @rigin 0 0 moveto/V matrix currentmatrix A 1 get A
-mul exch 0 get A mul add .99 lt{/QV}{/RV}ifelse load def pop pop}N/eop{
-SI restore userdict/eop-hook known{eop-hook}if showpage}N/@start{
-userdict/start-hook known{start-hook}if pop/VResolution X/Resolution X
-1000 div/DVImag X/IEn 256 array N 2 string 0 1 255{IEn S A 360 add 36 4
-index cvrs cvn put}for pop 65781.76 div/vsize X 65781.76 div/hsize X}N
-/p{show}N/RMat[1 0 0 -1 0 0]N/BDot 260 string N/Rx 0 N/Ry 0 N/V{}B/RV/v{
-/Ry X/Rx X V}B statusdict begin/product where{pop false[(Display)(NeXT)
-(LaserWriter 16/600)]{A length product length le{A length product exch 0
-exch getinterval eq{pop true exit}if}{pop}ifelse}forall}{false}ifelse
-end{{gsave TR -.1 .1 TR 1 1 scale Rx Ry false RMat{BDot}imagemask
-grestore}}{{gsave TR -.1 .1 TR Rx Ry scale 1 1 false RMat{BDot}
-imagemask grestore}}ifelse B/QV{gsave newpath transform round exch round
-exch itransform moveto Rx 0 rlineto 0 Ry neg rlineto Rx neg 0 rlineto
-fill grestore}B/a{moveto}B/delta 0 N/tail{A/delta X 0 rmoveto}B/M{S p
-delta add tail}B/b{S p tail}B/c{-4 M}B/d{-3 M}B/e{-2 M}B/f{-1 M}B/g{0 M}
-B/h{1 M}B/i{2 M}B/j{3 M}B/k{4 M}B/w{0 rmoveto}B/l{p -4 w}B/m{p -3 w}B/n{
-p -2 w}B/o{p -1 w}B/q{p 1 w}B/r{p 2 w}B/s{p 3 w}B/t{p 4 w}B/x{0 S
-rmoveto}B/y{3 2 roll p a}B/bos{/SS save N}B/eos{SS restore}B end
-
-%%EndProcSet
-%%BeginProcSet: 8r.enc 0 0
-% File 8r.enc TeX Base 1 Encoding Revision 2.0 2002-10-30
-%
-% @@psencodingfile@{
-% author = "S. Rahtz, P. MacKay, Alan Jeffrey, B. Horn, K. Berry,
-% W. Schmidt, P. Lehman",
-% version = "2.0",
-% date = "27nov06",
-% filename = "8r.enc",
-% email = "tex-fonts@@tug.org",
-% docstring = "This is the encoding vector for Type1 and TrueType
-% fonts to be used with TeX. This file is part of the
-% PSNFSS bundle, version 9"
-% @}
-%
-% The idea is to have all the characters normally included in Type 1 fonts
-% available for typesetting. This is effectively the characters in Adobe
-% Standard encoding, ISO Latin 1, Windows ANSI including the euro symbol,
-% MacRoman, and some extra characters from Lucida.
-%
-% Character code assignments were made as follows:
-%
-% (1) the Windows ANSI characters are almost all in their Windows ANSI
-% positions, because some Windows users cannot easily reencode the
-% fonts, and it makes no difference on other systems. The only Windows
-% ANSI characters not available are those that make no sense for
-% typesetting -- rubout (127 decimal), nobreakspace (160), softhyphen
-% (173). quotesingle and grave are moved just because it's such an
-% irritation not having them in TeX positions.
-%
-% (2) Remaining characters are assigned arbitrarily to the lower part
-% of the range, avoiding 0, 10 and 13 in case we meet dumb software.
-%
-% (3) Y&Y Lucida Bright includes some extra text characters; in the
-% hopes that other PostScript fonts, perhaps created for public
-% consumption, will include them, they are included starting at 0x12.
-% These are /dotlessj /ff /ffi /ffl.
-%
-% (4) hyphen appears twice for compatibility with both ASCII and Windows.
-%
-% (5) /Euro was assigned to 128, as in Windows ANSI
-%
-% (6) Missing characters from MacRoman encoding incorporated as follows:
-%
-% PostScript MacRoman TeXBase1
-% -------------- -------------- --------------
-% /notequal 173 0x16
-% /infinity 176 0x17
-% /lessequal 178 0x18
-% /greaterequal 179 0x19
-% /partialdiff 182 0x1A
-% /summation 183 0x1B
-% /product 184 0x1C
-% /pi 185 0x1D
-% /integral 186 0x81
-% /Omega 189 0x8D
-% /radical 195 0x8E
-% /approxequal 197 0x8F
-% /Delta 198 0x9D
-% /lozenge 215 0x9E
-%
-/TeXBase1Encoding [
-% 0x00
- /.notdef /dotaccent /fi /fl
- /fraction /hungarumlaut /Lslash /lslash
- /ogonek /ring /.notdef /breve
- /minus /.notdef /Zcaron /zcaron
-% 0x10
- /caron /dotlessi /dotlessj /ff
- /ffi /ffl /notequal /infinity
- /lessequal /greaterequal /partialdiff /summation
- /product /pi /grave /quotesingle
-% 0x20
- /space /exclam /quotedbl /numbersign
- /dollar /percent /ampersand /quoteright
- /parenleft /parenright /asterisk /plus
- /comma /hyphen /period /slash
-% 0x30
- /zero /one /two /three
- /four /five /six /seven
- /eight /nine /colon /semicolon
- /less /equal /greater /question
-% 0x40
- /at /A /B /C
- /D /E /F /G
- /H /I /J /K
- /L /M /N /O
-% 0x50
- /P /Q /R /S
- /T /U /V /W
- /X /Y /Z /bracketleft
- /backslash /bracketright /asciicircum /underscore
-% 0x60
- /quoteleft /a /b /c
- /d /e /f /g
- /h /i /j /k
- /l /m /n /o
-% 0x70
- /p /q /r /s
- /t /u /v /w
- /x /y /z /braceleft
- /bar /braceright /asciitilde /.notdef
-% 0x80
- /Euro /integral /quotesinglbase /florin
- /quotedblbase /ellipsis /dagger /daggerdbl
- /circumflex /perthousand /Scaron /guilsinglleft
- /OE /Omega /radical /approxequal
-% 0x90
- /.notdef /.notdef /.notdef /quotedblleft
- /quotedblright /bullet /endash /emdash
- /tilde /trademark /scaron /guilsinglright
- /oe /Delta /lozenge /Ydieresis
-% 0xA0
- /.notdef /exclamdown /cent /sterling
- /currency /yen /brokenbar /section
- /dieresis /copyright /ordfeminine /guillemotleft
- /logicalnot /hyphen /registered /macron
-% 0xB0
- /degree /plusminus /twosuperior /threesuperior
- /acute /mu /paragraph /periodcentered
- /cedilla /onesuperior /ordmasculine /guillemotright
- /onequarter /onehalf /threequarters /questiondown
-% 0xC0
- /Agrave /Aacute /Acircumflex /Atilde
- /Adieresis /Aring /AE /Ccedilla
- /Egrave /Eacute /Ecircumflex /Edieresis
- /Igrave /Iacute /Icircumflex /Idieresis
-% 0xD0
- /Eth /Ntilde /Ograve /Oacute
- /Ocircumflex /Otilde /Odieresis /multiply
- /Oslash /Ugrave /Uacute /Ucircumflex
- /Udieresis /Yacute /Thorn /germandbls
-% 0xE0
- /agrave /aacute /acircumflex /atilde
- /adieresis /aring /ae /ccedilla
- /egrave /eacute /ecircumflex /edieresis
- /igrave /iacute /icircumflex /idieresis
-% 0xF0
- /eth /ntilde /ograve /oacute
- /ocircumflex /otilde /odieresis /divide
- /oslash /ugrave /uacute /ucircumflex
- /udieresis /yacute /thorn /ydieresis
-] def
-
-
-%%EndProcSet
-%%BeginProcSet: texps.pro 0 0
-%!
-TeXDict begin/rf{findfont dup length 1 add dict begin{1 index/FID ne 2
-index/UniqueID ne and{def}{pop pop}ifelse}forall[1 index 0 6 -1 roll
-exec 0 exch 5 -1 roll VResolution Resolution div mul neg 0 0]FontType 0
-ne{/Metrics exch def dict begin Encoding{exch dup type/integertype ne{
-pop pop 1 sub dup 0 le{pop}{[}ifelse}{FontMatrix 0 get div Metrics 0 get
-div def}ifelse}forall Metrics/Metrics currentdict end def}{{1 index type
-/nametype eq{exit}if exch pop}loop}ifelse[2 index currentdict end
-definefont 3 -1 roll makefont/setfont cvx]cvx def}def/ObliqueSlant{dup
-sin S cos div neg}B/SlantFont{4 index mul add}def/ExtendFont{3 -1 roll
-mul exch}def/ReEncodeFont{CharStrings rcheck{/Encoding false def dup[
-exch{dup CharStrings exch known not{pop/.notdef/Encoding true def}if}
-forall Encoding{]exch pop}{cleartomark}ifelse}if/Encoding exch def}def
-end
-
-%%EndProcSet
-TeXDict begin 39158280 55380996 1000 600 600 (play.dvi)
-@start /Fa 198[415 415 415 415 415 415 415 415 415 415
-48[{TeXBase1Encoding ReEncodeFont}10 830.22 /Times-Roman
-rf /Fb 198[83 83 83 83 83 83 83 83 83 83 48[{
-TeXBase1Encoding ReEncodeFont}10 166.044 /Times-Roman
-rf end
-%%EndProlog
-%%BeginSetup
-%%Feature: *Resolution 600dpi
-TeXDict begin
-%%BeginPaperSize: a4
-/setpagedevice where
-{ pop << /PageSize [595 842] >> setpagedevice }
-{ /a4 where { pop a4 } if }
-ifelse
-%%EndPaperSize
- end
-userdict/PStoPSxform PStoPSmatrix matrix currentmatrix
- matrix invertmatrix matrix concatmatrix
- matrix invertmatrix put
-%%EndSetup
-%%Page: (0) 1
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 15 4 bop 330 423 a Fb(5)2834 b(5)1622 3275
-y Fa(5)330 5670 y Fb(5)g(5)p eop end
-PStoPSsaved restore
-%%Page: (1) 2
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 16 5 bop 330 419 a Fb(6)2834 b(6)1622 3264
-y Fa(6)330 5670 y Fb(6)g(6)p eop end
-PStoPSsaved restore
-%%Page: (2) 3
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 17 6 bop 330 419 a Fb(7)2834 b(7)1622 3266
-y Fa(7)330 5670 y Fb(7)g(7)p eop end
-PStoPSsaved restore
-%%Page: (3) 4
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 18 7 bop 330 419 a Fb(8)2834 b(8)1622 3264
-y Fa(8)330 5670 y Fb(8)g(8)p eop end
-PStoPSsaved restore
-%%Page: (4) 5
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 19 8 bop 330 419 a Fb(9)2834 b(9)1622 3261
-y Fa(9)330 5670 y Fb(9)g(9)p eop end
-PStoPSsaved restore
-%%Page: (5) 6
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 20 9 bop 330 419 a Fb(10)2668 b(10)1415
-3264 y Fa(10)330 5670 y Fb(10)g(10)p eop end
-PStoPSsaved restore
-%%Page: (6) 7
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 21 10 bop 330 419 a Fb(11)2668 b(11)1415
-3268 y Fa(11)330 5670 y Fb(11)g(11)p eop end
-PStoPSsaved restore
-%%Page: (7) 8
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 22 11 bop 330 419 a Fb(12)2668 b(12)1415
-3268 y Fa(12)330 5670 y Fb(12)g(12)p eop end
-PStoPSsaved restore
-%%Page: (8) 9
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 23 12 bop 330 419 a Fb(13)2668 b(13)1415
-3264 y Fa(13)330 5670 y Fb(13)g(13)p eop end
-PStoPSsaved restore
-%%Page: (9) 10
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 24 13 bop 330 419 a Fb(14)2668 b(14)1415
-3268 y Fa(14)330 5670 y Fb(14)g(14)p eop end
-PStoPSsaved restore
-%%Page: (10) 11
-userdict/PStoPSsaved save put
-PStoPSmatrix setmatrix
-0.000000 0.971879 translate
-0.704762 dup scale
-userdict/PStoPSmatrix matrix currentmatrix put
-userdict/PStoPSclip{0 0 moveto
- 595.275591 0 rlineto 0 844.647799 rlineto -595.275591 0 rlineto
- closepath}put initclip
-PStoPSxform concat
-TeXDict begin 25 14 bop 330 423 a Fb(15)2668 b(15)1415
-3275 y Fa(15)330 5670 y Fb(15)g(15)p eop end
-PStoPSsaved restore
-%%Trailer
-
-userdict /end-hook known{end-hook}if
-%%EOF
diff --git a/Build/source/utils/psutils/tests/playsel.2 b/Build/source/utils/psutils/tests/playsel.2
deleted file mode 100644
index 0d1dd700805..00000000000
--- a/Build/source/utils/psutils/tests/playsel.2
+++ /dev/null
@@ -1 +0,0 @@
-[5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] Wrote 11 pages, 10962 bytes
diff --git a/Build/source/utils/psutils/tests/plot.eps b/Build/source/utils/psutils/tests/plot.eps
deleted file mode 100644
index 11bc5843d63..00000000000
--- a/Build/source/utils/psutils/tests/plot.eps
+++ /dev/null
@@ -1,311 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: SM
-%%BoundingBox: 34 176 564 568
-%%DocumentNeededResources: font Helvetica
-%%LanguageLevel: 1
-%%Pages: 1
-%%EndComments
-%%Page: 1 1
- 20 dict begin
-72 300 div dup scale
-1 setlinejoin 0 setlinecap
-/Helvetica findfont 55 scalefont setfont
-/B {CS newpath moveto} def
-/F {moveto 0 setlinecap} def
-/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def
-/CS {currentpoint stroke} def
-/CF {currentpoint eofill} def
-/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def
-/P {gsave 0 1 rlineto stroke grestore} def
-/T {currentlinecap exch 1 setlinecap show setlinecap} def
-errordict /nocurrentpoint {pop 0 0 M currentpoint} put
-/SET_COLOUR statusdict begin /processcolors where
- {pop processcolors 1 gt} {false} ifelse
- {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def
- 80 600 translate
-gsave
-CS [] 0 setdash M
-CS M 1 100 mul 72 div dup setlinewidth
-/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def
- 0 0 0 C
- 0 0 0 C
-CS [] 0 setdash M
-321 295 M CS [] 0 setdash M
-321 295 M 321 295 F (p=2 d=8) T
-CS [] 0 setdash M
-CS [] 0 setdash M
- 0 0 0 C
-1957 148 M 10 27 m 0 -27 l
-1 27 m 0 -27 l
-0 15 m 2 6 l
-4 4 l
-4 2 l
-6 0 l
-2 -2 l
-0 -2 l
--2 -2 l
--2 2 l
-2 2 l
--23 2 m 7 0 l
--7 -27 m 13 0 l
-41 34 m 0 -34 l
--18 17 m 35 0 l
-19 15 m 4 2 l
-6 6 l
-0 -40 l
--2 38 m 0 -38 l
--8 0 m 17 0 l
- 0 0 0 C
-CS [] 0 setdash M
-CS [] 0 setdash M
-219 219 M 2042 0 l
-0 1531 l
-219 1750 L
-219 219 L
-2042 0 l
-219 219 M 2042 0 l
-219 219 M 0 36 l
--16 -120 m 203 135 F (1) T
-635 219 M 0 18 l
-243 -18 m 0 18 l
-173 -18 m 0 18 l
-134 -18 m 0 18 l
-110 -18 m 0 18 l
-92 -18 m 0 18 l
-80 -18 m 0 18 l
-71 -18 m 0 18 l
-63 -18 m 0 36 l
--31 -120 m 1570 135 F (10) T
-2018 219 M 0 18 l
-243 -18 m 0 18 l
-219 1750 M 2042 0 l
-219 1750 M 0 -36 l
-416 36 m 0 -18 l
-243 18 m 0 -18 l
-173 18 m 0 -18 l
-134 18 m 0 -18 l
-110 18 m 0 -18 l
-92 18 m 0 -18 l
-80 18 m 0 -18 l
-71 18 m 0 -18 l
-63 18 m 0 -36 l
-417 36 m 0 -18 l
-243 18 m 0 -18 l
-219 219 M 0 1531 l
-219 219 M 34 0 l
--125 -28 m 128 191 F (-1) T
-219 295 M 17 0 l
--17 77 m 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 34 0 l
-66 574 M 66 574 F (-0.5) T
-219 678 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
--94 -28 m 159 957 F (0) T
-219 1061 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
-97 1340 M 97 1340 F (0.5) T
-219 1444 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 76 m 34 0 l
--94 -27 m 159 1723 F (1) T
-2261 219 M 0 1531 l
-2261 219 M -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -34 0 l
-CS [] 0 setdash M
-219 1750 M 30 -2 l
-29 -6 l
-28 -12 l
-28 -17 l
-25 -21 l
-24 -25 l
-22 -30 l
-20 -32 l
-18 -34 l
-16 -36 l
-15 -36 l
-13 -37 l
-12 -37 l
-11 -36 l
-10 -36 l
-11 -35 l
-10 -34 l
-12 -33 l
-14 -33 l
-15 -32 l
-18 -33 l
-20 -33 l
-23 -33 l
-24 -33 l
-25 -34 l
-27 -35 l
-28 -34 l
-28 -35 l
-29 -35 l
-29 -34 l
-29 -34 l
-30 -33 l
-29 -33 l
-30 -31 l
-30 -30 l
-30 -29 l
-29 -28 l
-30 -26 l
-30 -25 l
-30 -24 l
-30 -23 l
-30 -21 l
-30 -20 l
-30 -19 l
-30 -18 l
-30 -16 l
-30 -16 l
-30 -14 l
-30 -14 l
-29 -12 l
-30 -12 l
-30 -11 l
-30 -10 l
-30 -9 l
-30 -9 l
-30 -8 l
-30 -8 l
-30 -7 l
-30 -6 l
-30 -6 l
-30 -6 l
-30 -5 l
-30 -5 l
-30 -4 l
-30 -4 l
-30 -4 l
-30 -4 l
-29 -3 l
-30 -3 l
-30 -3 l
-30 -3 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -1 l
-23 -2 l
-219 1750 M 30 -5 l
-29 -16 l
-28 -28 l
-28 -37 l
-25 -44 l
-24 -49 l
-22 -51 l
-20 -51 l
-18 -48 l
-16 -45 l
-15 -41 l
-13 -34 l
-12 -27 l
-11 -18 l
-10 -7 l
-11 6 l
-10 19 l
-12 33 l
-14 47 l
-15 55 l
-18 59 l
-20 58 l
-23 51 l
-24 43 l
-25 34 l
-27 26 l
-28 20 l
-28 14 l
-29 10 l
-29 8 l
-29 5 l
-30 4 l
-29 3 l
-30 2 l
-30 1 l
-30 1 l
-29 1 l
-30 0 l
-30 0 l
-30 1 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-23 0 l
-442 1368 M CS [] 0 setdash M
-411 1313 M 411 1313 F (N) T
-CS [] 0 setdash M
-1122 602 M CS [] 0 setdash M
-1122 602 M 1122 602 F (W) T
-CS [] 0 setdash M
-stroke
-grestore
-showpage
-end
-%%Trailer
-%%EOF
diff --git a/Build/source/utils/psutils/tests/ploth.eps b/Build/source/utils/psutils/tests/ploth.eps
deleted file mode 100644
index 0e5ed6cdaf1..00000000000
--- a/Build/source/utils/psutils/tests/ploth.eps
+++ /dev/null
@@ -1,318 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: SM
-%%DocumentNeededResources: font Helvetica
-%%LanguageLevel: 1
-%%Pages: 1
-%%BoundingBox: 51 0 548 368
-%%EndComments
-%%BeginProcSet: epsffit 1 0
-gsave
-19.306 -165.224 translate
-0.939 0.939 scale
-%%EndProcSet
-
-%%Page: 1 1
- 20 dict begin
-72 300 div dup scale
-1 setlinejoin 0 setlinecap
-/Helvetica findfont 55 scalefont setfont
-/B {CS newpath moveto} def
-/F {moveto 0 setlinecap} def
-/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def
-/CS {currentpoint stroke} def
-/CF {currentpoint eofill} def
-/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def
-/P {gsave 0 1 rlineto stroke grestore} def
-/T {currentlinecap exch 1 setlinecap show setlinecap} def
-errordict /nocurrentpoint {pop 0 0 M currentpoint} put
-/SET_COLOUR statusdict begin /processcolors where
- {pop processcolors 1 gt} {false} ifelse
- {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def
- 80 600 translate
-gsave
-CS [] 0 setdash M
-CS M 1 100 mul 72 div dup setlinewidth
-/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def
- 0 0 0 C
- 0 0 0 C
-CS [] 0 setdash M
-321 295 M CS [] 0 setdash M
-321 295 M 321 295 F (p=2 d=8) T
-CS [] 0 setdash M
-CS [] 0 setdash M
- 0 0 0 C
-1957 148 M 10 27 m 0 -27 l
-1 27 m 0 -27 l
-0 15 m 2 6 l
-4 4 l
-4 2 l
-6 0 l
-2 -2 l
-0 -2 l
--2 -2 l
--2 2 l
-2 2 l
--23 2 m 7 0 l
--7 -27 m 13 0 l
-41 34 m 0 -34 l
--18 17 m 35 0 l
-19 15 m 4 2 l
-6 6 l
-0 -40 l
--2 38 m 0 -38 l
--8 0 m 17 0 l
- 0 0 0 C
-CS [] 0 setdash M
-CS [] 0 setdash M
-219 219 M 2042 0 l
-0 1531 l
-219 1750 L
-219 219 L
-2042 0 l
-219 219 M 2042 0 l
-219 219 M 0 36 l
--16 -120 m 203 135 F (1) T
-635 219 M 0 18 l
-243 -18 m 0 18 l
-173 -18 m 0 18 l
-134 -18 m 0 18 l
-110 -18 m 0 18 l
-92 -18 m 0 18 l
-80 -18 m 0 18 l
-71 -18 m 0 18 l
-63 -18 m 0 36 l
--31 -120 m 1570 135 F (10) T
-2018 219 M 0 18 l
-243 -18 m 0 18 l
-219 1750 M 2042 0 l
-219 1750 M 0 -36 l
-416 36 m 0 -18 l
-243 18 m 0 -18 l
-173 18 m 0 -18 l
-134 18 m 0 -18 l
-110 18 m 0 -18 l
-92 18 m 0 -18 l
-80 18 m 0 -18 l
-71 18 m 0 -18 l
-63 18 m 0 -36 l
-417 36 m 0 -18 l
-243 18 m 0 -18 l
-219 219 M 0 1531 l
-219 219 M 34 0 l
--125 -28 m 128 191 F (-1) T
-219 295 M 17 0 l
--17 77 m 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 34 0 l
-66 574 M 66 574 F (-0.5) T
-219 678 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
--94 -28 m 159 957 F (0) T
-219 1061 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
-97 1340 M 97 1340 F (0.5) T
-219 1444 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 76 m 34 0 l
--94 -27 m 159 1723 F (1) T
-2261 219 M 0 1531 l
-2261 219 M -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -34 0 l
-CS [] 0 setdash M
-219 1750 M 30 -2 l
-29 -6 l
-28 -12 l
-28 -17 l
-25 -21 l
-24 -25 l
-22 -30 l
-20 -32 l
-18 -34 l
-16 -36 l
-15 -36 l
-13 -37 l
-12 -37 l
-11 -36 l
-10 -36 l
-11 -35 l
-10 -34 l
-12 -33 l
-14 -33 l
-15 -32 l
-18 -33 l
-20 -33 l
-23 -33 l
-24 -33 l
-25 -34 l
-27 -35 l
-28 -34 l
-28 -35 l
-29 -35 l
-29 -34 l
-29 -34 l
-30 -33 l
-29 -33 l
-30 -31 l
-30 -30 l
-30 -29 l
-29 -28 l
-30 -26 l
-30 -25 l
-30 -24 l
-30 -23 l
-30 -21 l
-30 -20 l
-30 -19 l
-30 -18 l
-30 -16 l
-30 -16 l
-30 -14 l
-30 -14 l
-29 -12 l
-30 -12 l
-30 -11 l
-30 -10 l
-30 -9 l
-30 -9 l
-30 -8 l
-30 -8 l
-30 -7 l
-30 -6 l
-30 -6 l
-30 -6 l
-30 -5 l
-30 -5 l
-30 -4 l
-30 -4 l
-30 -4 l
-30 -4 l
-29 -3 l
-30 -3 l
-30 -3 l
-30 -3 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -1 l
-23 -2 l
-219 1750 M 30 -5 l
-29 -16 l
-28 -28 l
-28 -37 l
-25 -44 l
-24 -49 l
-22 -51 l
-20 -51 l
-18 -48 l
-16 -45 l
-15 -41 l
-13 -34 l
-12 -27 l
-11 -18 l
-10 -7 l
-11 6 l
-10 19 l
-12 33 l
-14 47 l
-15 55 l
-18 59 l
-20 58 l
-23 51 l
-24 43 l
-25 34 l
-27 26 l
-28 20 l
-28 14 l
-29 10 l
-29 8 l
-29 5 l
-30 4 l
-29 3 l
-30 2 l
-30 1 l
-30 1 l
-29 1 l
-30 0 l
-30 0 l
-30 1 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-23 0 l
-442 1368 M CS [] 0 setdash M
-411 1313 M 411 1313 F (N) T
-CS [] 0 setdash M
-1122 602 M CS [] 0 setdash M
-1122 602 M 1122 602 F (W) T
-CS [] 0 setdash M
-stroke
-grestore
-showpage
-end
-%%Trailer
-%%EOF
-grestore
diff --git a/Build/source/utils/psutils/tests/plotm.eps b/Build/source/utils/psutils/tests/plotm.eps
deleted file mode 100644
index adbceb05c67..00000000000
--- a/Build/source/utils/psutils/tests/plotm.eps
+++ /dev/null
@@ -1,319 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: SM
-%%DocumentNeededResources: font Helvetica
-%%LanguageLevel: 1
-%%Pages: 1
-%%BoundingBox: 0 0 368 497
-%%EndComments
-%%BeginProcSet: epsffit 1 0
-gsave
-533.224 -31.918 translate
-90 rotate
-0.939 0.939 scale
-%%EndProcSet
-
-%%Page: 1 1
- 20 dict begin
-72 300 div dup scale
-1 setlinejoin 0 setlinecap
-/Helvetica findfont 55 scalefont setfont
-/B {CS newpath moveto} def
-/F {moveto 0 setlinecap} def
-/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def
-/CS {currentpoint stroke} def
-/CF {currentpoint eofill} def
-/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def
-/P {gsave 0 1 rlineto stroke grestore} def
-/T {currentlinecap exch 1 setlinecap show setlinecap} def
-errordict /nocurrentpoint {pop 0 0 M currentpoint} put
-/SET_COLOUR statusdict begin /processcolors where
- {pop processcolors 1 gt} {false} ifelse
- {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def
- 80 600 translate
-gsave
-CS [] 0 setdash M
-CS M 1 100 mul 72 div dup setlinewidth
-/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def
- 0 0 0 C
- 0 0 0 C
-CS [] 0 setdash M
-321 295 M CS [] 0 setdash M
-321 295 M 321 295 F (p=2 d=8) T
-CS [] 0 setdash M
-CS [] 0 setdash M
- 0 0 0 C
-1957 148 M 10 27 m 0 -27 l
-1 27 m 0 -27 l
-0 15 m 2 6 l
-4 4 l
-4 2 l
-6 0 l
-2 -2 l
-0 -2 l
--2 -2 l
--2 2 l
-2 2 l
--23 2 m 7 0 l
--7 -27 m 13 0 l
-41 34 m 0 -34 l
--18 17 m 35 0 l
-19 15 m 4 2 l
-6 6 l
-0 -40 l
--2 38 m 0 -38 l
--8 0 m 17 0 l
- 0 0 0 C
-CS [] 0 setdash M
-CS [] 0 setdash M
-219 219 M 2042 0 l
-0 1531 l
-219 1750 L
-219 219 L
-2042 0 l
-219 219 M 2042 0 l
-219 219 M 0 36 l
--16 -120 m 203 135 F (1) T
-635 219 M 0 18 l
-243 -18 m 0 18 l
-173 -18 m 0 18 l
-134 -18 m 0 18 l
-110 -18 m 0 18 l
-92 -18 m 0 18 l
-80 -18 m 0 18 l
-71 -18 m 0 18 l
-63 -18 m 0 36 l
--31 -120 m 1570 135 F (10) T
-2018 219 M 0 18 l
-243 -18 m 0 18 l
-219 1750 M 2042 0 l
-219 1750 M 0 -36 l
-416 36 m 0 -18 l
-243 18 m 0 -18 l
-173 18 m 0 -18 l
-134 18 m 0 -18 l
-110 18 m 0 -18 l
-92 18 m 0 -18 l
-80 18 m 0 -18 l
-71 18 m 0 -18 l
-63 18 m 0 -36 l
-417 36 m 0 -18 l
-243 18 m 0 -18 l
-219 219 M 0 1531 l
-219 219 M 34 0 l
--125 -28 m 128 191 F (-1) T
-219 295 M 17 0 l
--17 77 m 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 34 0 l
-66 574 M 66 574 F (-0.5) T
-219 678 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
--94 -28 m 159 957 F (0) T
-219 1061 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
-97 1340 M 97 1340 F (0.5) T
-219 1444 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 76 m 34 0 l
--94 -27 m 159 1723 F (1) T
-2261 219 M 0 1531 l
-2261 219 M -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -34 0 l
-CS [] 0 setdash M
-219 1750 M 30 -2 l
-29 -6 l
-28 -12 l
-28 -17 l
-25 -21 l
-24 -25 l
-22 -30 l
-20 -32 l
-18 -34 l
-16 -36 l
-15 -36 l
-13 -37 l
-12 -37 l
-11 -36 l
-10 -36 l
-11 -35 l
-10 -34 l
-12 -33 l
-14 -33 l
-15 -32 l
-18 -33 l
-20 -33 l
-23 -33 l
-24 -33 l
-25 -34 l
-27 -35 l
-28 -34 l
-28 -35 l
-29 -35 l
-29 -34 l
-29 -34 l
-30 -33 l
-29 -33 l
-30 -31 l
-30 -30 l
-30 -29 l
-29 -28 l
-30 -26 l
-30 -25 l
-30 -24 l
-30 -23 l
-30 -21 l
-30 -20 l
-30 -19 l
-30 -18 l
-30 -16 l
-30 -16 l
-30 -14 l
-30 -14 l
-29 -12 l
-30 -12 l
-30 -11 l
-30 -10 l
-30 -9 l
-30 -9 l
-30 -8 l
-30 -8 l
-30 -7 l
-30 -6 l
-30 -6 l
-30 -6 l
-30 -5 l
-30 -5 l
-30 -4 l
-30 -4 l
-30 -4 l
-30 -4 l
-29 -3 l
-30 -3 l
-30 -3 l
-30 -3 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -1 l
-23 -2 l
-219 1750 M 30 -5 l
-29 -16 l
-28 -28 l
-28 -37 l
-25 -44 l
-24 -49 l
-22 -51 l
-20 -51 l
-18 -48 l
-16 -45 l
-15 -41 l
-13 -34 l
-12 -27 l
-11 -18 l
-10 -7 l
-11 6 l
-10 19 l
-12 33 l
-14 47 l
-15 55 l
-18 59 l
-20 58 l
-23 51 l
-24 43 l
-25 34 l
-27 26 l
-28 20 l
-28 14 l
-29 10 l
-29 8 l
-29 5 l
-30 4 l
-29 3 l
-30 2 l
-30 1 l
-30 1 l
-29 1 l
-30 0 l
-30 0 l
-30 1 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-23 0 l
-442 1368 M CS [] 0 setdash M
-411 1313 M 411 1313 F (N) T
-CS [] 0 setdash M
-1122 602 M CS [] 0 setdash M
-1122 602 M 1122 602 F (W) T
-CS [] 0 setdash M
-stroke
-grestore
-showpage
-end
-%%Trailer
-%%EOF
-grestore
diff --git a/Build/source/utils/psutils/tests/plotv.eps b/Build/source/utils/psutils/tests/plotv.eps
deleted file mode 100644
index ddaa33f824b..00000000000
--- a/Build/source/utils/psutils/tests/plotv.eps
+++ /dev/null
@@ -1,318 +0,0 @@
-%!PS-Adobe-3.0 EPSF-3.0
-%%Creator: SM
-%%DocumentNeededResources: font Helvetica
-%%LanguageLevel: 1
-%%Pages: 1
-%%BoundingBox: 0 15 500 384
-%%EndComments
-%%BeginProcSet: epsffit 1 0
-gsave
--32.075 -150.943 translate
-0.943 0.943 scale
-%%EndProcSet
-
-%%Page: 1 1
- 20 dict begin
-72 300 div dup scale
-1 setlinejoin 0 setlinecap
-/Helvetica findfont 55 scalefont setfont
-/B {CS newpath moveto} def
-/F {moveto 0 setlinecap} def
-/C {CS M 1 1 3 {pop 3 1 roll 255 div} for SET_COLOUR} def
-/CS {currentpoint stroke} def
-/CF {currentpoint eofill} def
-/L {lineto} def /l {rlineto} def /M {moveto} def /m {rmoveto} def
-/P {gsave 0 1 rlineto stroke grestore} def
-/T {currentlinecap exch 1 setlinecap show setlinecap} def
-errordict /nocurrentpoint {pop 0 0 M currentpoint} put
-/SET_COLOUR statusdict begin /processcolors where
- {pop processcolors 1 gt} {false} ifelse
- {(setrgbcolor)} {(pop pop pop)} ifelse cvx end def
- 80 600 translate
-gsave
-CS [] 0 setdash M
-CS M 1 100 mul 72 div dup setlinewidth
-/P [ /gsave cvx 0 5 -1 roll .05 add dup -2 div 0 exch /rmoveto cvx /rlineto cvx /stroke cvx /grestore cvx ] cvx def
- 0 0 0 C
- 0 0 0 C
-CS [] 0 setdash M
-321 295 M CS [] 0 setdash M
-321 295 M 321 295 F (p=2 d=8) T
-CS [] 0 setdash M
-CS [] 0 setdash M
- 0 0 0 C
-1957 148 M 10 27 m 0 -27 l
-1 27 m 0 -27 l
-0 15 m 2 6 l
-4 4 l
-4 2 l
-6 0 l
-2 -2 l
-0 -2 l
--2 -2 l
--2 2 l
-2 2 l
--23 2 m 7 0 l
--7 -27 m 13 0 l
-41 34 m 0 -34 l
--18 17 m 35 0 l
-19 15 m 4 2 l
-6 6 l
-0 -40 l
--2 38 m 0 -38 l
--8 0 m 17 0 l
- 0 0 0 C
-CS [] 0 setdash M
-CS [] 0 setdash M
-219 219 M 2042 0 l
-0 1531 l
-219 1750 L
-219 219 L
-2042 0 l
-219 219 M 2042 0 l
-219 219 M 0 36 l
--16 -120 m 203 135 F (1) T
-635 219 M 0 18 l
-243 -18 m 0 18 l
-173 -18 m 0 18 l
-134 -18 m 0 18 l
-110 -18 m 0 18 l
-92 -18 m 0 18 l
-80 -18 m 0 18 l
-71 -18 m 0 18 l
-63 -18 m 0 36 l
--31 -120 m 1570 135 F (10) T
-2018 219 M 0 18 l
-243 -18 m 0 18 l
-219 1750 M 2042 0 l
-219 1750 M 0 -36 l
-416 36 m 0 -18 l
-243 18 m 0 -18 l
-173 18 m 0 -18 l
-134 18 m 0 -18 l
-110 18 m 0 -18 l
-92 18 m 0 -18 l
-80 18 m 0 -18 l
-71 18 m 0 -18 l
-63 18 m 0 -36 l
-417 36 m 0 -18 l
-243 18 m 0 -18 l
-219 219 M 0 1531 l
-219 219 M 34 0 l
--125 -28 m 128 191 F (-1) T
-219 295 M 17 0 l
--17 77 m 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 34 0 l
-66 574 M 66 574 F (-0.5) T
-219 678 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
--94 -28 m 159 957 F (0) T
-219 1061 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 77 m 34 0 l
-97 1340 M 97 1340 F (0.5) T
-219 1444 M 17 0 l
--17 77 m 17 0 l
--17 76 m 17 0 l
--17 77 m 17 0 l
--17 76 m 34 0 l
--94 -27 m 159 1723 F (1) T
-2261 219 M 0 1531 l
-2261 219 M -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 77 m -34 0 l
-34 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -17 0 l
-17 77 m -17 0 l
-17 76 m -34 0 l
-CS [] 0 setdash M
-219 1750 M 30 -2 l
-29 -6 l
-28 -12 l
-28 -17 l
-25 -21 l
-24 -25 l
-22 -30 l
-20 -32 l
-18 -34 l
-16 -36 l
-15 -36 l
-13 -37 l
-12 -37 l
-11 -36 l
-10 -36 l
-11 -35 l
-10 -34 l
-12 -33 l
-14 -33 l
-15 -32 l
-18 -33 l
-20 -33 l
-23 -33 l
-24 -33 l
-25 -34 l
-27 -35 l
-28 -34 l
-28 -35 l
-29 -35 l
-29 -34 l
-29 -34 l
-30 -33 l
-29 -33 l
-30 -31 l
-30 -30 l
-30 -29 l
-29 -28 l
-30 -26 l
-30 -25 l
-30 -24 l
-30 -23 l
-30 -21 l
-30 -20 l
-30 -19 l
-30 -18 l
-30 -16 l
-30 -16 l
-30 -14 l
-30 -14 l
-29 -12 l
-30 -12 l
-30 -11 l
-30 -10 l
-30 -9 l
-30 -9 l
-30 -8 l
-30 -8 l
-30 -7 l
-30 -6 l
-30 -6 l
-30 -6 l
-30 -5 l
-30 -5 l
-30 -4 l
-30 -4 l
-30 -4 l
-30 -4 l
-29 -3 l
-30 -3 l
-30 -3 l
-30 -3 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -2 l
-30 -1 l
-23 -2 l
-219 1750 M 30 -5 l
-29 -16 l
-28 -28 l
-28 -37 l
-25 -44 l
-24 -49 l
-22 -51 l
-20 -51 l
-18 -48 l
-16 -45 l
-15 -41 l
-13 -34 l
-12 -27 l
-11 -18 l
-10 -7 l
-11 6 l
-10 19 l
-12 33 l
-14 47 l
-15 55 l
-18 59 l
-20 58 l
-23 51 l
-24 43 l
-25 34 l
-27 26 l
-28 20 l
-28 14 l
-29 10 l
-29 8 l
-29 5 l
-30 4 l
-29 3 l
-30 2 l
-30 1 l
-30 1 l
-29 1 l
-30 0 l
-30 0 l
-30 1 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-29 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-30 0 l
-23 0 l
-442 1368 M CS [] 0 setdash M
-411 1313 M 411 1313 F (N) T
-CS [] 0 setdash M
-1122 602 M CS [] 0 setdash M
-1122 602 M 1122 602 F (W) T
-CS [] 0 setdash M
-stroke
-grestore
-showpage
-end
-%%Trailer
-%%EOF
-grestore
diff --git a/Build/source/utils/psutils/version.ac b/Build/source/utils/psutils/version.ac
deleted file mode 100644
index 43e11b6bf7d..00000000000
--- a/Build/source/utils/psutils/version.ac
+++ /dev/null
@@ -1,11 +0,0 @@
-dnl
-dnl Copyright (C) 2013 Peter Breitenlohner <tex-live@tug.org>
-dnl
-dnl This file is free software; the copyright holder
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-dnl
-dnl --------------------------------------------------------
-dnl
-dnl m4-include this file to define the current psutils version
-m4_define([psutils_version], [1.21])