diff options
72 files changed, 162 insertions, 3383 deletions
@@ -16,6 +16,7 @@ /Makefile.in /aclocal.m4 /autoconf-archive-*.*.*.tar.* +/autoconf-archive-*.*.*/* /autoconf-archive.info /autoconf-archive.info-? /autom4te.cache/* diff --git a/.mailmap b/.mailmap new file mode 100644 index 0000000..e24333e --- /dev/null +++ b/.mailmap @@ -0,0 +1,11 @@ +Bogdan Drozdowski <bogdandr@op.pl> +Bogdan Drozdowski <bogdandr # op . pl> +Dustin J. Mitchell <dustin@cs.uchicago.edu> +Dustin J. Mitchell <dustin@zmanda.com> +Fabien Coelho <fabien@coelho.net> +Fabien Coelho <autoconf.archive@coelho.net> +Fabien Coelho <fabien.coelho@ensmp.fr> +Francesco Salvestrini <salvestrini@gmail.com> +Francesco Salvestrini <salvestrini@users.sourceforge.net> +Peter Johansson <peterandrejohansson@gmail.com> +Peter Johansson <trojkan@gmail.com> diff --git a/Makefile.am b/Makefile.am index 92d0c4e..a29c5e2 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,18 +4,14 @@ # Licensed under the terms of the GNU General Public License. dist_pkgdata_DATA = AUTHORS COPYING README - aclocaldir = $(datadir)/aclocal dist_aclocal_DATA = $(M4SOURCE) +info_TEXINFOS = autoconf-archive.texi +MAKEINFOFLAGS = -I $(srcdir)/doc +am__TEXINFO_TEX_DIR = $(srcdir)/build-aux$(PATH_SEPARATOR)$(srcdir)/doc +EXTRA_DIST = build-aux/git-version-gen build-aux/gitlog-to-changelog $(TEXIFILE) -htmldir = $(pkgdatadir)/html -dist_html_DATA = $(HTMLFILE) - -info_TEXINFOS = autoconf-archive.texi - -EXTRA_DIST = build-aux/git-version-gen build-aux/gitlog-to-changelog $(TEXIFILE) - -autoconf-archive.info: $(TEXIFILE) +autoconf-archive.info: $(TEXIFILE) # maintainer rules @@ -25,9 +21,10 @@ clean-local: maintainer-clean-local: @rm -rf $(srcdir)/build-aux + @rm -rf doc @rm -f configure Makefile.in aclocal.m4 AUTHORS ChangeLog @rm -f INSTALL config.log config.status configure maint.mk - @rm -f autoconf-archive-*.*.*.tar.* GNUmakefile COPYING + @rm -f autoconf-archive-*.*.*.tar.* GNUmakefile dist-hook: echo $(VERSION) > $(distdir)/.tarball-version @@ -36,4 +33,7 @@ dist-hook: >$(distdir)/cl-t -- master $(top_srcdir)/m4; \ rm -f $(distdir)/ChangeLog; \ mv $(distdir)/cl-t $(distdir)/ChangeLog; \ + $(top_srcdir)/git-authors-gen.pl >$(distdir)/au-t; \ + rm -f $(distdir)/AUTHORS; \ + mv $(distdir)/au-t $(distdir)/AUTHORS; \ fi @@ -1,56 +1,30 @@ #+TITLE: Autoconf Archive NEWS -*- mode:org;fill-column:79; -*- #+STARTUP: showall +* Noteworthy changes in release 2009.09.22 (2009-09-22) [alpha] + + All macros that used a prefix other than AX_ -- or no prefix at all -- have + been renamed to use AX_ consistently. The new version forward old calls under + their old names to the new ones via Autoconf's AU_ALIAS mechanism. + + The HTML documentation is obsolete. Instead, the archive now ships its + documentation in Texinfo format. + + All macros distributed by the archive are now licensed under terms that do + *not* limit the choice of license for the generated configure script. + Previous releases didn't meet this requirement because they contained macros + that were licensed under GPL or Lesser GPL without an Autoconf Exception. + + Please refer to the [[ChangeLog]] file for a complete list of changes. + * Noteworthy changes in release 2009.07.31 (2009-07-31) [alpha] The archive has moved to Savannah: http://www.nongnu.org/autoconf-archive/ Version 2009-04-26 was the last to be released at autoconf-archive.cryp.to. - The following macros have been added to the distribution: - - AX_GCC_LIBRARIES_DIR - AX_CHECK_OPENSSL - AX_LIB_CURL - AX_LIB_NOKALVA - AX_LIB_ORBIT2 - AX_LIB_TAGLIB - AX_LIB_XALAN - AX_PATH_GENERIC - - The following macros have been updated: - - AX_GCC_INSTALL_DIR - AX_GCC_LIBSUPCXX - _AC_C_IFDEF - AC_CXX_COMPILER_VENDOR - AC_CXX_CPPFLAGS_STD_LANG - AC_CXX_CXXFLAGS_STD_LANG - AC_CXX_HAVE_STD - AC_CXX_LDFLAGS_STD_LANG - AC_FUNC_MEMMOVE - AC_FUNC_SNPRINTF - AC_LIBTOOLIZE_CFLAGS - AC_PATH_GENERIC - AC_PYTHON_DEVEL - AX_CFLAGS_NO_WRITABLE_STRINGS - AX_COMPARE_VERSION - AX_CREATE_PKGCONFIG_INFO - AX_DIST_RPM - AX_HAVE_EPOLL - AX_RUBY_DEVEL - AX_SPLIT_VERSION - AX_WITH_PROG - MP_WITH_CURSES - VL_LIB_READLINE - - The following macros have been obsoleted: - - AC_CHECK_CURL - AC_CHECK_TAGLIB - AC_COMPILE_WARNINGS - AC_PATH_GENERIC: marked obsolete - AC_PROMPT_USER - AC_PROMPT_USER_NO_DEFINE - AX_CFLAGS_WARN_ALL_ANSI - CHECK_SSL - VL_PROG_CC_WARNINGS + The version identifier has been changed to a "year.month.day" spelling, + rather than the ISO format, because the dot-separated spelling works better + for most distributions and for the gnulib infrastructure. + + The 2009.07.31 release was an internal test release that has never been + publicly available. @@ -4,7 +4,7 @@ Autoconf Archive ------------------------------------------------------------------------------- :Macro Index By: Category_ ; Author_ ; License_ -:Latest Release: autoconf-archive-2009-04-26.tar.bz2_ +:Latest Release: autoconf-archive-2009.09.22.tar.bz2_ :Change History: `ATOM Log`_ ; `RSS Feed`_ :GIT Repository: git clone git://git.sv.gnu.org/autoconf-archive.git @@ -85,7 +85,7 @@ individual files for details. .. _Autoconf: http://www.gnu.org/software/autoconf/ -.. _autoconf-archive-2009-04-26.tar.bz2: http://autoconf-archive.cryp.to/autoconf-archive-2009-04-26.tar.bz2 +.. _autoconf-archive-2009.09.22.tar.bz2: http://download.savannah.nongnu.org/releases/autoconf-archive/autoconf-archive-2009.09.22.tar.bz2 .. _GPL-compatible free software license: http://www.gnu.org/licenses/license-list.html @@ -1,5 +1,6 @@ #+TITLE: Autoconf Archive TODO -*- mode:org;fill-column:79; -*- +* TODO Update the README file * TODO Document our new mailing lists. * http://lists.nongnu.org/mailman/listinfo/autoconf-archive-announce diff --git a/autoconf-archive.texi b/autoconf-archive.texi index 1a7167c..d5ca8e4 100644 --- a/autoconf-archive.texi +++ b/autoconf-archive.texi @@ -103,6 +103,7 @@ General Public License for more details. * ax_cc_maxopt:: * ax_cf_ebcdic:: * ax_cflags_aix_option:: +* ax_cflags_force_c89:: * ax_cflags_gcc_option:: * ax_cflags_hpux_option:: * ax_cflags_irix_option:: @@ -336,6 +337,7 @@ General Public License for more details. * ax_gcc_install_dir:: * ax_gcc_lib:: * ax_gcc_libgcc_eh:: +* ax_gcc_libraries_dir:: * ax_gcc_libsupcxx:: * ax_gcc_malloc_call:: * ax_gcc_option:: @@ -355,65 +357,6 @@ General Public License for more details. * ax_jni_include_dir:: * ax_lang_compiler_ms:: * ax_lapack:: -* ax_latex_class:: -* ax_latex_class_article:: -* ax_latex_class_book:: -* ax_latex_class_cweb:: -* ax_latex_class_report:: -* ax_latex_classes:: -* ax_latex_compress_eps:: -* ax_latex_converting_fig:: -* ax_latex_converting_jpg_eps:: -* ax_latex_converting_png_eps:: -* ax_latex_default_class:: -* ax_latex_dvips_o_stdout:: -* ax_latex_dvips_t:: -* ax_latex_dvips_t_a4:: -* ax_latex_dvips_t_a4_landscape:: -* ax_latex_dvips_t_letter:: -* ax_latex_dvips_t_letter_landscape:: -* ax_latex_package:: -* ax_latex_package_amsmath:: -* ax_latex_package_babel:: -* ax_latex_package_babel_language:: -* ax_latex_package_fontenc:: -* ax_latex_package_input:: -* ax_latex_package_listings:: -* ax_latex_package_listings_language:: -* ax_latex_package_location:: -* ax_latex_package_opt:: -* ax_latex_packages:: -* ax_latex_prog_bibtex:: -* ax_latex_prog_dvibook:: -* ax_latex_prog_dvipdf:: -* ax_latex_prog_dvips:: -* ax_latex_prog_fig2dev:: -* ax_latex_prog_gnuplot:: -* ax_latex_prog_gunzip:: -* ax_latex_prog_gzip:: -* ax_latex_prog_jpeg2ps:: -* ax_latex_prog_jpegtopnm:: -* ax_latex_prog_kpsewhich:: -* ax_latex_prog_latex:: -* ax_latex_prog_latex2html:: -* ax_latex_prog_latex2man:: -* ax_latex_prog_latex2png:: -* ax_latex_prog_latex2rtf:: -* ax_latex_prog_makeindex:: -* ax_latex_prog_mf:: -* ax_latex_prog_mktexpk:: -* ax_latex_prog_pdflatex:: -* ax_latex_prog_pngtopnm:: -* ax_latex_prog_pnmtops:: -* ax_latex_prog_ps2pdf:: -* ax_latex_prog_psbook:: -* ax_latex_prog_psnup:: -* ax_latex_prog_psresize:: -* ax_latex_prog_psselect:: -* ax_latex_prog_pstops:: -* ax_latex_prog_texhash:: -* ax_latex_test:: -* ax_latex_texmf_path:: * ax_ld_check_flag:: * ax_lib_beecrypt:: * ax_lib_crypto:: @@ -581,6 +524,6 @@ General Public License for more details. * ax_xtra_classpath:: @end menu -@include doc/all-macros.texi +@include all-macros.texi @bye diff --git a/bootstrap.sh b/bootstrap.sh index 0b3d025..c1cdd48 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -17,8 +17,7 @@ sed -i -e 's/^sc_file_system:/disabled_sc_file_system:/' \ -e 's/^sc_useless_cpp_parens:/disabled_sc_useless_cpp_parens:/' \ maint.mk -echo TODO >AUTHORS - +./git-authors-gen.pl >AUTHORS build-aux/gitlog-to-changelog >ChangeLog -- master m4/ autoreconf --install -Wall @@ -23,7 +23,7 @@ TEXI_FILES := $(patsubst %,$(DOCDIR)/%.texi,$(MACROS)) .PHONY: generate ALL_RECURSIVE_TARGETS += generate -generate: $(HTML_FILES) $(TEXI_FILES) $(STAGEDIR)/autoconf-archive.info +generate: $(HTML_FILES) $(TEXI_FILES) autoconf-archive.info $(STAGEDIR)/manifest: @$(MKDIR_P) $(STAGEDIR) @@ -46,7 +46,7 @@ $(DOCDIR)/%.texi : $(STAGEDIR)/%.m4 $(srcdir)/macro2texi.py $(DOCDIR)/all-macros $(DOCDIR)/all-macros.texi: @$(MKDIR_P) $(DOCDIR) @rm -f "$@" - @for n in $(TEXI_FILES); do echo "@include $$n" >>"$@"; done + @for n in $(MACROS); do echo "@include $$n.texi" >>"$@"; done $(HTMLDIR)/%.html : $(STAGEDIR)/%.html @echo pretty-printing $@ diff --git a/configure.ac b/configure.ac index 9112d95..6cce46b 100644 --- a/configure.ac +++ b/configure.ac @@ -27,14 +27,6 @@ done AC_SUBST([M4SOURCE]) AC_MSG_RESULT([done]) -AC_MSG_CHECKING([for available HTML documentation]) -HTMLFILE="" -for n in ${srcdir}/html/*.html ${srcdir}/html/*.css ; do - HTMLFILE="${HTMLFILE} ${n}" -done -AC_SUBST([HTMLFILE]) -AC_MSG_RESULT([done]) - AC_MSG_CHECKING([for available Texinfo documentation]) TEXIFILE="" for n in ${srcdir}/doc/*.texi ; do diff --git a/git-authors-gen.pl b/git-authors-gen.pl new file mode 100755 index 0000000..aae7a65 --- /dev/null +++ b/git-authors-gen.pl @@ -0,0 +1,105 @@ +#! /usr/bin/env perl +# -*- perl -*- + +# +# git-authors-gen +# +# This program is based on gitlog-to-changelog by Jim Meyering +# + +use strict; +use warnings; +use Getopt::Long; + +(my $ME = $0) =~ s|.*/||; + +my $BUGREPORT = 'autoconf-archive-maintainers@nongnu.org'; + +sub usage ($) { + my ($exit_code) = @_; + my $STREAM = ($exit_code == 0 ? *STDOUT : *STDERR); + if ($exit_code != 0) { + print $STREAM "Try `$ME --help' for more information.\n"; + } else { + print $STREAM <<EOF; +Usage: $ME [OPTIONS] + +Output git committers. + +OPTIONS: + + --since=DATE convert only the logs since DATE; + the default is to convert all log entries. + -h, --help display this help and exit + +EXAMPLE: + + $ME --since=2008-01-02 > AUTHORS + +Report bugs to <${BUGREPORT}> +EOF + } + exit($exit_code); +} + +# If the string $S is a well-behaved file name, simply return it. +# If it contains white space, quotes, etc., quote it, and return the new string. +sub shell_quote($) { + my ($s) = @_; + if ($s =~ m![^\w+/.,-]!) { + # Convert each single quote to '\'' + $s =~ s/\'/\'\\\'\'/g; + # Then single quote the string. + $s = "'$s'"; + } + return $s; +} + +sub quoted_cmd(@) { + return join (' ', map {shell_quote $_} @_); +} + +# Main +{ + my $since_date = '1970-01-01 UTC'; + GetOptions( + 'h|help' => sub { usage 0 }, + 'since=s' => \$since_date, + ) or usage 1; + + @ARGV + and (warn "$ME: too many arguments\n"), usage 1; + + my @cmd = (qw (git shortlog --summary), "--since=$since_date"); + open PIPE, '-|', @cmd + or die ("$ME: failed to run `". quoted_cmd (@cmd) ."': $!\n" . + "(Is your Git too old? Version 1.5.1 or later required.)\n"); + + my %committers; + + while (<PIPE>) { + my $line = $_; + + defined($line) or last; + chomp($line); + + if ($line =~ /^\s*\d+\s+(.*)\s*$/) { + my $name = $1; + + if (defined($committers{$name})) { + die "$ME: Duplicated name found, fix your .mailmap"; + } + $committers{$name} = 1; + } else { + die "$ME: Unhandled line found ('$line')"; + } + } + + close PIPE + or die "$ME: error closing pipe from " . quoted_cmd (@cmd) . "\n"; + + my @keys = sort(keys(%committers)); + foreach my $name (@keys) { + print "$name\n"; + } +} diff --git a/m4/ax_cflags_force_c89.m4 b/m4/ax_cflags_force_c89.m4 index c64ae88..c5b9495 100644 --- a/m4/ax_cflags_force_c89.m4 +++ b/m4/ax_cflags_force_c89.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_cflags_force_c89.html +# http://www.nongnu.org/autoconf-archive/ax_cflags_force_c89.html # =========================================================================== # # SYNOPSIS @@ -10,8 +10,8 @@ # # Try to find a compiler option that enables strict C89 mode. # -# For the GNU CC compiler it will be -ansi -pedantic. The -# result is added to the shellvar being CFLAGS by default. +# For the GNU CC compiler it will be -ansi -pedantic. The result is added +# to the shellvar being CFLAGS by default. # # Currently this macro knows about GCC, Solaris C compiler, Digital Unix C # compiler, C for AIX Compiler, HP-UX C compiler, IRIX C compiler, NEC diff --git a/m4/ax_gcc_libraries_dir.m4 b/m4/ax_gcc_libraries_dir.m4 index 4e2579c..6d24030 100644 --- a/m4/ax_gcc_libraries_dir.m4 +++ b/m4/ax_gcc_libraries_dir.m4 @@ -1,5 +1,5 @@ # =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_gcc_libraries_dir.html +# http://www.nongnu.org/autoconf-archive/ax_gcc_libraries_dir.html # =========================================================================== # # SYNOPSIS diff --git a/m4/ax_latex_class.m4 b/m4/ax_latex_class.m4 deleted file mode 100644 index 9202a59..0000000 --- a/m4/ax_latex_class.m4 +++ /dev/null @@ -1,73 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_class.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASS(CLASSNAME,VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macros test is class CLASSNAME exists and work and set -# VARIABLETOSET to yes or no If ACTION-IF-FOUND (and ACTION-IF-NOT-FOUND) -# are set, do the correct action -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CLASS],[ -AX_LATEX_PACKAGE_LOCATION($1.cls,$2_location) -if test "[$]$2_location" = "no" ; then - AC_MSG_WARN([Unable to locate the $1.cls file]) - [ac_cv_latex_class_]translit($1,[-],[_])="no"; -else -AC_CACHE_CHECK([for usability of class $1],[ac_cv_latex_class_]translit($1,[-],[_]),[ -AX_LATEX_TEST([\documentclass{$1} -\begin{document} -\end{document}],[ac_cv_latex_class_]translit($1,[-],[_])) -]) -fi -$2=$[ac_cv_latex_class_]translit($1,[-],[_]) ; export $2; -AC_SUBST($2) -ifelse($#,2,[],$#,3,[ - if test "[$]$2" = "yes" ; - then - $3 - fi -],$#,4,[ - ifelse($3,[],[ - if test "[$]$2" = "no" ; - then - $4 - fi - ],[ - if test "[$]$2" = "yes" ; - then - $3 - else - $4 - fi - ]) -]) - -]) diff --git a/m4/ax_latex_class_article.m4 b/m4/ax_latex_class_article.m4 deleted file mode 100644 index f2708b5..0000000 --- a/m4/ax_latex_class_article.m4 +++ /dev/null @@ -1,39 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_class_article.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASS_ARTICLE([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro test if class article is installed and fail (default) with a -# error message if not -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CLASS_ARTICLE],[ -AX_LATEX_CLASS(article,article,[],[m4_ifval([$1],[$1],AC_MSG_ERROR([Unable to find the article class]))])]) -]) diff --git a/m4/ax_latex_class_book.m4 b/m4/ax_latex_class_book.m4 deleted file mode 100644 index a90f9c5..0000000 --- a/m4/ax_latex_class_book.m4 +++ /dev/null @@ -1,39 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_class_book.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASS_BOOK([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro test if class book is installed and fail (default) with a -# error message if not -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CLASS_BOOK],[ -AX_LATEX_CLASS(book,book,[],[m4_ifval([$1],[$1],AC_MSG_ERROR([Unable to find the book class]))]) -]) diff --git a/m4/ax_latex_class_cweb.m4 b/m4/ax_latex_class_cweb.m4 deleted file mode 100644 index 4353e37..0000000 --- a/m4/ax_latex_class_cweb.m4 +++ /dev/null @@ -1,99 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_class_cweb.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASS_CWEB(VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macros test if the class cweb exists and works. It sets -# VARIABLETOSET to yes or no If ACTION-IF-FOUND (and ACTION-IF-NOT-FOUND) -# are set, do the correct action. -# -# The cweb package is used to provide LaTeX support atop Knuth's CWEB -# literate programming environment. The test LaTeX document requires some -# additional logic beyond AX_LATEX_CLASS because the cweb package expects -# cweave to insert some boilerplate. Both macros for the original CWEB and -# the compatible offshoot CWEBx are tested here. See -# http://www.ctan.org/tex-archive/help/Catalogue/entries/cweb-latex.html. -# -# LICENSE -# -# Copyright (c) 2008 Rhys Ulerich <rhys.ulerich@gmail.com> -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CLASS_CWEB],[ -AX_LATEX_PACKAGE_LOCATION(cweb.cls,ac_cv_latex_class_cweb_location) -if test "[$]ac_cv_latex_class_cweb_location" = "no" ; then - AC_MSG_WARN([Unable to locate the cweb.cls file]) - ac_cv_latex_class_cweb="no"; -else - AC_CACHE_CHECK( - [for usability of class cweb with Levy/Knuth CWEB], - [ac_cv_latex_class_cweb_CWEB],[ - AX_LATEX_TEST([ - \input cwebmac - \documentclass{cweb} - \begin{document} - \M{1} - \end{document} - \fi - \fin - ], [ac_cv_latex_class_cweb_CWEB]) - ]) - AC_CACHE_CHECK( - [for usability of class cweb with van Leeuwen CWEBx], - [ac_cv_latex_class_cweb_CWEBx],[ - AX_LATEX_TEST([ - \input cwebcmac - \documentclass{cweb} - \begin{document} - \M{1} - \end{document} - \fi - \fin - ],[ac_cv_latex_class_cweb_CWEBx]) - ]) - ac_cv_latex_class_cweb=no - if test "$ac_cv_latex_class_cweb_CWEB" = yes; then - ac_cv_latex_class_cweb=yes - fi - if test "$ac_cv_latex_class_cweb_CWEBx" = yes; then - ac_cv_latex_class_cweb=yes - fi -fi - -$1=$[ac_cv_latex_class_cweb] ; export $1 -AC_SUBST($1) - -if test "$[ac_cv_latex_class_cweb]" = yes ; then - dnl NOP required - : - ifelse([$2], , ,[$2]) -else - dnl NOP required - : - ifelse([$3], , ,[$3]) -fi -]) diff --git a/m4/ax_latex_class_report.m4 b/m4/ax_latex_class_report.m4 deleted file mode 100644 index 4fd68c3..0000000 --- a/m4/ax_latex_class_report.m4 +++ /dev/null @@ -1,39 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_class_report.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASS_REPORT([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro test if class report is installed and fail (default) with a -# error message if not -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CLASS_REPORT],[ -AX_LATEX_CLASS(report,report,[],[m4_ifval([$1],[$1],AC_MSG_ERROR([Unable to find the report class]))]) -]) diff --git a/m4/ax_latex_classes.m4 b/m4/ax_latex_classes.m4 deleted file mode 100644 index 6d9f753..0000000 --- a/m4/ax_latex_classes.m4 +++ /dev/null @@ -1,74 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_classes.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CLASSES(CLASSESNAMES,VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This class search for the first suitable package in CLASSESNAMES (comma -# separated list) and set VARIABLETOSET to the class found or to no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -define(_AX_LATEX_CLASSES_INTERNE,[ - ifelse($#,1,[],$#,2,[ - AX_LATEX_CLASS($2,$1) - ],[ - AX_LATEX_CLASS($2,$1) - if test "$$1" = "yes"; - then - $1=$2 ; export $1 ; - else - _AX_LATEX_CLASSES_INTERNE($1,m4_shift(m4_shift($@))) - fi; - ]) -]) - -AC_DEFUN([AX_LATEX_CLASSES],[ - _AX_LATEX_CLASSES_INTERNE($2,$1) - AC_SUBST($2) -ifelse($#,2,[],$#,3,[ - if test "[$]$2" != "no" ; - then - $3 - fi -],$#,4,[ - ifelse($3,[],[ - if test "[$]$2" = "no" ; - then - $4 - fi - ],[ - if test "[$]$2" != "no" ; - then - $3 - else - $4 - fi - ]) -]) -]) diff --git a/m4/ax_latex_compress_eps.m4 b/m4/ax_latex_compress_eps.m4 deleted file mode 100644 index 557dd98..0000000 --- a/m4/ax_latex_compress_eps.m4 +++ /dev/null @@ -1,75 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_compress_eps.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_COMPRESS_EPS([ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# this macro find a way to compress eps file, using Makefile target. If -# the way is found, set compress_eps to this way else set compress_eps to -# no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_COMPRESS_EPS],[ -AX_LATEX_PROG_GZIP([AC_MSG_WARN([Unable to locate a gzip application to compress eps file])]) -compress_eps=''; export compress_eps; -if test "$gzip" = "no" ; then - AC_MSG_CHECKING(for a way to compress eps) - AC_MSG_RESULT(no) -else - AC_CHECK_PROGS(grep,grep,no) - AC_MSG_CHECKING(for a way to compress eps) - if test "$grep" = "no" ; then - AC_MSG_RESULT(no) - else - compress_eps="%.eps.gz %.eps.bb : %.eps ; cat \[$]*.eps | grep \"%%BoundingBox\" > \[$]*.eps.bb ; rm -f \[$]*.eps.gz ; gzip \[$]*.eps"; export compress_eps - AC_MSG_RESULT($compress_eps) - fi; -fi; -AC_SUBST(compress_eps) -ifelse($#,0,[],$#,1,[ - if test "$compress_eps" != "no" ; - then - $1 - fi -],$#,2,[ - ifelse($1,[],[ - if test "$compress_eps" = "no" ; - then - $2 - fi - ],[ - if test "$compress_eps" != "no" ; - then - $1 - else - $2 - fi - ]) -]) -]) diff --git a/m4/ax_latex_converting_fig.m4 b/m4/ax_latex_converting_fig.m4 deleted file mode 100644 index 8105544..0000000 --- a/m4/ax_latex_converting_fig.m4 +++ /dev/null @@ -1,99 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_converting_fig.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CONVERTING_FIG([ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# this macro find a way to convert .fig file to file that can be included -# by latex and set convert_fig -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([_AX_LATEX_FIG2DEV_FCT],[ -AC_MSG_CHECKING([for $fig2dev -L $1 $2]) -$3='no'; -rm -rf conftest.dir/.acltx -AS_MKDIR_P([conftest.dir/.acltx]) -cd conftest.dir/.acltx -cat > conftest.fig << \ACLEOF -#FIG 3.2 -Landscape -Center -Inches -Letter -100.00 -Single --2 -1200 2 -4 0 0 50 -1 0 12 0.0000 6 135 435 150 450 TEST\001 -ACLEOF -$fig2dev -L $1 $2 $4 conftest.fig conftest.eps 2>/dev/null 1>/dev/null && $3='yes'; -cd .. -cd .. -sed 's/^/| /' conftest.dir/.acltx/conftest.fig >&5 -echo "$as_me:$LINENO: executing $fig2dev -L $1 $2 $4 conftest.fig conftest.eps" >&5 -rm -rf conftest.dir/.acltx -AC_MSG_RESULT([$]$3) -]) - - -AC_DEFUN([AX_LATEX_CONVERTING_FIG],[ -convert_fig="no"; -AX_LATEX_PROG_FIG2DEV([AC_MSG_WARN([Unable to locate a fig2dev application to convert fig file])]) -if test "$fig2dev" != "no" ; then - _AX_LATEX_FIG2DEV_FCT(pstex,[],pstex) - _AX_LATEX_FIG2DEV_FCT(pstex_t,[-p],pstex_t,conftest) - - AC_MSG_CHECKING(for a way to convert .fig file to .eps and _t file) - if test "$pstex" = "yes" -a "$pstex_t" = "yes" ; then - convert_fig="%.eps %_t : %.fig ; $fig2dev -L pstex \[$]< \[$]*.eps ; $fig2dev -L pstex_t -p \[$]* \[$]< \[$]*_t" - fi - AC_MSG_RESULT($convert_fig) -fi -AC_SUBST(convert_fig) -ifelse($#,0,[],$#,1,[ - if test "$convert_fig" != "no" ; - then - $1 - fi -],$#,2,[ - ifelse($1,[],[ - if test "$convert_fig" = "no" ; - then - $2 - fi - ],[ - if test "$convert_fig" != "no" ; - then - $1 - else - $2 - fi - ]) -]) -]) diff --git a/m4/ax_latex_converting_jpg_eps.m4 b/m4/ax_latex_converting_jpg_eps.m4 deleted file mode 100644 index 35e12e5..0000000 --- a/m4/ax_latex_converting_jpg_eps.m4 +++ /dev/null @@ -1,67 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_converting_jpg_eps.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CONVERTING_JPG_EPS([ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macro find a way to convert jpg to eps file. If the way is found, -# set jpg_to_eps to this way else set jpg_to_eps to no. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CONVERTING_JPG_EPS],[ -AX_LATEX_PROG_JPEGTOPNM([AC_MSG_WARN([Unable to locate a jpegtopnm application to convert jpg file])]) -AX_LATEX_PROG_PNMTOPS([AC_MSG_WARN([Unable to locate a pnmtops application to convert jpg file])]) -AC_MSG_CHECKING(for a way to convert jpg file to eps file) -jpg_to_eps='no'; export jpg_to_eps; -if test "$jpegtopnm" != "no" -a "$pnmtops" != "no" ; then - jpg_to_eps="%.eps : %.jpg ; $jpegtopnm \[$]*.jpg | pnmtops -noturn -nocenter -scale 1.00 - >\[$]*.eps" -fi; -AC_MSG_RESULT($jpg_to_eps) -AC_SUBST(jpg_to_eps) -ifelse($#,0,[],$#,1,[ - if test "$jpg_to_eps" = "yes" ; - then - $1 - fi -],$#,2,[ - ifelse($1,[],[ - if test "$jpg_to_eps" = "no" ; - then - $2 - fi - ],[ - if test "$jpg_to_eps" = "yes" ; - then - $1 - else - $2 - fi - ]) -]) -]) diff --git a/m4/ax_latex_converting_png_eps.m4 b/m4/ax_latex_converting_png_eps.m4 deleted file mode 100644 index cfd041c..0000000 --- a/m4/ax_latex_converting_png_eps.m4 +++ /dev/null @@ -1,67 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_converting_png_eps.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_CONVERTING_PNG_EPS([ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macro find a way to convert png to eps file. If the way is found, -# set png_to_eps to this way else set png_to_eps to no. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_CONVERTING_PNG_EPS],[ -AX_LATEX_PROG_PNGTOPNM([AC_MSG_WARN([Unable to locate a pngtopnm application to convert png file])]) -AX_LATEX_PROG_PNMTOPS([AC_MSG_WARN([Unable to locate a pnmtops application to convert png file])]) -AC_MSG_CHECKING(for a way to convert png file to eps file) -png_to_eps='no'; export png_to_eps; -if test "$pngtopnm" != "no" -a "$pnmtops" != "no" ; then - png_to_eps="%.eps : %.png ; $pngtopnm \[$]*.png | pnmtops -noturn -nocenter -scale 1.00 - >\[$]*.eps" -fi; -AC_MSG_RESULT($png_to_eps) -AC_SUBST(png_to_eps) -ifelse($#,0,[],$#,1,[ - if test "$png_to_eps" = "yes" ; - then - $1 - fi -],$#,2,[ - ifelse($1,[],[ - if test "$png_to_eps" = "no" ; - then - $2 - fi - ],[ - if test "$png_to_eps" = "yes" ; - then - $1 - else - $2 - fi - ]) -]) -]) diff --git a/m4/ax_latex_default_class.m4 b/m4/ax_latex_default_class.m4 deleted file mode 100644 index 5148724..0000000 --- a/m4/ax_latex_default_class.m4 +++ /dev/null @@ -1,51 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_default_class.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DEFAULT_CLASS([OTHER-DEFAULT-CLASS]) -# -# DESCRIPTION -# -# This class search for the first suitable class in book report article -# and set defaultclass to this value If no one of this classes are found, -# fail -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DEFAULT_CLASS],[ - if test "$ax_latex_cv_latex_class_default" = "" ; then - AX_LATEX_CLASSES([m4_ifval([$1],[$1,])book,report,article],defaultclass) - fi - AC_MSG_CHECKING([for a default class in m4_ifval([$1],[$1,])book,report,article]) - AC_CACHE_VAL(ax_latex_cv_latex_class_default,[ - ax_latex_cv_latex_class_default=$defaultclass; - ]) - AC_MSG_RESULT($defaultclass) - AC_SUBST(defaultclass) - if test "$defaultclass" = "no" ; then - AC_MSG_ERROR([Unable to locate a default class]) - fi -]) diff --git a/m4/ax_latex_dvips_o_stdout.m4 b/m4/ax_latex_dvips_o_stdout.m4 deleted file mode 100644 index a150112..0000000 --- a/m4/ax_latex_dvips_o_stdout.m4 +++ /dev/null @@ -1,58 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_o_stdout.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_O_STDOUT -# -# DESCRIPTION -# -# Check if dvips accept "-o-". -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DVIPS_O_STDOUT],[ -AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) -AC_REQUIRE([AX_LATEX_PROG_DVIPS]) -AC_CACHE_CHECK([for option -o- in dvips],ac_cv_dvips_o_stdout,[ -AX_LATEX_TEST([\documentclass{$defaultclass} -\begin{document} -Test -\end{document}],[],no) -cd conftest.dir/.acltx -ac_cv_dvips_o_stdout="no"; export ac_cv_dvips_o_stdout; -$dvips -o- texput.dvi 1>/dev/null 2>&1 && ac_cv_dvips_o_stdout="yes"; export ac_cv_dvips_o_stdout -cd .. -cd .. -echo "$as_me:$LINENO: executing $dvips -o- texput.dvi" >&5 -rm -rf conftest.dir/.acltx -]) -DVIPS_O_STDOUT=$ac_cv_dvips_o_stdout; export DVIPS_O_STDOUT; -if test $DVIPS_O_STDOUT = "no" ; -then - AC_MSG_ERROR(Unable to find the option -o- in dvips) -fi -AC_SUBST(DVIPS_O_STDOUT) -]) diff --git a/m4/ax_latex_dvips_t.m4 b/m4/ax_latex_dvips_t.m4 deleted file mode 100644 index 9612f09..0000000 --- a/m4/ax_latex_dvips_t.m4 +++ /dev/null @@ -1,63 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_t.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_T(PAPERSIZE,VARIABLETOSET,[LANDSCAPE]) -# -# DESCRIPTION -# -# Check if dvips accept the PAPERSIZE option with optional LANDSCAPE and -# set VARIABLETOSET to yes or no. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DVIPS_T],[ -AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) -AC_REQUIRE([AX_LATEX_PROG_DVIPS]) -if test "$3" = "on" ; -then -_ac_latex_dvips_local=" -t landscape" ; export _ac_latex_dvips_local ; -else -_ac_latex_dvips_local=" " ; export _ac_latex_dvips_local ; -fi -AC_CACHE_CHECK([for option $dvips -t $1 $_ac_latex_dvips_local],[ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_]),[ -AX_LATEX_TEST([\documentclass{$defaultclass} -\begin{document} -Test -\end{document}],[],no) -cd conftest.dir/.acltx -[ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_])="no"; export [ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_]); -$dvips -o conftest.ps texput.dvi -t $1 $_ac_latex_dvips_local 2>error 1>/dev/null -cat error | grep "dvips: no match for papersize" 1>/dev/null 2>&1 || [ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_])="yes"; export [ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_]) -cd .. -cd .. -echo "$as_me:$LINENO: executing $dvips -o conftest.ps texput.dvi -t $1 $_ac_latex_dvips_local" >&5 -sed 's/^/| /' conftest.dir/.acltx/error >&5 -rm -rf conftest.dir/.acltx -]) -$2=$[ac_cv_dvips_t_]translit($1,[-],[_])[_]translit($3,[-],[_]); export $2; -AC_SUBST($2) -]) diff --git a/m4/ax_latex_dvips_t_a4.m4 b/m4/ax_latex_dvips_t_a4.m4 deleted file mode 100644 index d162dd9..0000000 --- a/m4/ax_latex_dvips_t_a4.m4 +++ /dev/null @@ -1,42 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_t_a4.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_T_A4 -# -# DESCRIPTION -# -# Check if dvips accepts "-t a4". -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DVIPS_T_A4],[ -AX_LATEX_DVIPS_T(a4,dvips_t_a4) -if test $dvips_t_a4 = "no"; -then - AC_MSG_ERROR([Unable to find the -t a4 option in dvips]) -fi -]) diff --git a/m4/ax_latex_dvips_t_a4_landscape.m4 b/m4/ax_latex_dvips_t_a4_landscape.m4 deleted file mode 100644 index e52a25f..0000000 --- a/m4/ax_latex_dvips_t_a4_landscape.m4 +++ /dev/null @@ -1,43 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_t_a4_landscape.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_T_A4_LANDSCAPE -# -# DESCRIPTION -# -# Check whether dvips accepts "-t a4 -t landscape". -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DVIPS_T_A4_LANDSCAPE],[ -AC_REQUIRE([AX_LATEX_DVIPS_T_A4]) -AX_LATEX_DVIPS_T(a4,dvips_t_a4_landscape,on) -if test $dvips_t_a4_landscape = "no"; -then - AC_MSG_ERROR([Unable to find the -t a4 -t landscape option in dvips]) -fi -]) diff --git a/m4/ax_latex_dvips_t_letter.m4 b/m4/ax_latex_dvips_t_letter.m4 deleted file mode 100644 index 8c0725a..0000000 --- a/m4/ax_latex_dvips_t_letter.m4 +++ /dev/null @@ -1,42 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_t_letter.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_T_LETTER -# -# DESCRIPTION -# -# Check if dvips accept "-t letter". -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AC_LATEX_DVIPS_T_LETTER],[ -AX_LATEX_DVIPS_T(letter,dvips_t_letter) -if test $dvips_t_letter = "no"; -then - AC_MSG_ERROR([Unable to find the -t letter option in dvips]) -fi -]) diff --git a/m4/ax_latex_dvips_t_letter_landscape.m4 b/m4/ax_latex_dvips_t_letter_landscape.m4 deleted file mode 100644 index 5057c37..0000000 --- a/m4/ax_latex_dvips_t_letter_landscape.m4 +++ /dev/null @@ -1,43 +0,0 @@ -# =============================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_dvips_t_letter_landscape.html -# =============================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_DVIPS_T_LETTER_LANDSCAPE -# -# DESCRIPTION -# -# Check if dvips accepts "-t letter -t landscape". -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_DVIPS_T_LETTER_LANDSCAPE],[ -AC_REQUIRE([AX_LATEX_DVIPS_T_LETTER]) -AX_LATEX_DVIPS_T(letter,dvips_t_letter_landscape,on) -if test $dvips_t_letter_landscape = "no"; -then - AC_MSG_ERROR([Unable to find the -t letter -t landscape option in dvips]) -fi -]) diff --git a/m4/ax_latex_package.m4 b/m4/ax_latex_package.m4 deleted file mode 100644 index f3b519d..0000000 --- a/m4/ax_latex_package.m4 +++ /dev/null @@ -1,85 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE(PACKAGENAME,CLASSNAME,VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This macro try to compile a latex document using class CLASSNAME and -# including package PACKAGENAME and set VARIABLETOSET to yes or no If -# ACTION-IF-FOUND (and ACTION-IF-NOT-FOUND) are set to the right action -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE],[ -AX_LATEX_PACKAGE_LOCATION($1.sty,$3_location) -if test "[$]$3_location" = "no" ; then - AC_MSG_WARN([Unable to locate the $1.sty file]) - [ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])="no"; -else -if test "$[ac_cv_latex_class_]translit($2,[-],[_])" = "" ; -then - AX_LATEX_CLASS($2,boretti_classesansparametre) - export boretti_classesansparametre; -else - boretti_classesansparametre=$[ac_cv_latex_class_]translit($2,[-],[_]) ; - export boretti_classesansparemetre; -fi; -if test $boretti_classesansparametre = "no" ; -then - AC_MSG_ERROR([Unable to find $2 class]) -fi -AC_CACHE_CHECK([for usability of package $1 in class $2],[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_]),[ -AX_LATEX_TEST([\documentclass{$2} -\usepackage{$1} -\begin{document} -\end{document}],[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])) -]) -fi -$3=$[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_]); export $3; -AC_SUBST($3) -ifelse($#,3,[],$#,4,[ - if test "[$]$3" = "yes" ; - then - $4 - fi -],$#,5,[ - ifelse($4,[],[ - if test "[$]$3" = "no" ; - then - $5 - fi - ],[ - if test "[$]$3" = "yes" ; - then - $4 - else - $5 - fi - ]) -]) -]) diff --git a/m4/ax_latex_package_amsmath.m4 b/m4/ax_latex_package_amsmath.m4 deleted file mode 100644 index d4f435c..0000000 --- a/m4/ax_latex_package_amsmath.m4 +++ /dev/null @@ -1,64 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_amsmath.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_AMSMATH -# -# DESCRIPTION -# -# This macro check for a way to include amsmath and set amsmath to this -# way -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_AMSMATH],[ -AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) -AC_CACHE_CHECK([for amsmath],[ac_cv_latex_package_f_amsmath],[ -AX_LATEX_TEST([\documentclass{$defaultclass} -\usepackage{amsmath,amsfonts} -\begin{document} -\end{document}],[ac_cv_latex_package_f_amsmath]) -if test $ac_cv_latex_package_f_amsmath = "yes" ; -then - [ac_cv_latex_package_f_amsmath]="\\usepackage{amsmath,amsfonts}" ; export [ac_cv_latex_package_f_amsmath] ; -else - AX_LATEX_TEST([ - \documentclass{$defaultclass} - \usepackage{amstex} - \begin{document} - \end{document} - ],[ac_cv_latex_package_f_amsmath]) - if test $ac_cv_latex_package_f_amsmath = "yes" ; - then - [ac_cv_latex_package_f_amsmath]="\\usepackage{amstex}" ; export [ac_cv_latex_package_f_amsmath] ; - else - AC_MSG_ERROR([Unable to find amsmath]) - fi -fi -]) -amsmath=$[ac_cv_latex_package_f_amsmath]; export amsmath; -AC_SUBST(amsmath) -]) diff --git a/m4/ax_latex_package_babel.m4 b/m4/ax_latex_package_babel.m4 deleted file mode 100644 index 85c8038..0000000 --- a/m4/ax_latex_package_babel.m4 +++ /dev/null @@ -1,68 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_babel.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_BABEL([ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# Check if the package babel exists and set babel to yes or no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_BABEL],[ -AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) -AC_CACHE_CHECK([for babel with class $defaultclass],[ac_cv_latex_package_f_babel],[ -AX_LATEX_TEST([changequote(*, !)dnl -\documentclass{$defaultclass} -\usepackage[english]{babel} -\begin{document} -\end{document}dnl -changequote([, ])],[ac_cv_latex_package_f_babel]) -]) -babel=$[ac_cv_latex_package_f_babel]; export babel; -AC_SUBST(babel) -ifelse($#,0,[],$#,1,[ - if test "$babel" != "no" ; - then - $1 - fi -],$#,2,[ - ifelse($1,[],[ - if test "babel" = "no" ; - then - $2 - fi - ],[ - if test "babel" != "no" ; - then - $1 - else - $2 - fi - ]) -]) -]) diff --git a/m4/ax_latex_package_babel_language.m4 b/m4/ax_latex_package_babel_language.m4 deleted file mode 100644 index d391d12..0000000 --- a/m4/ax_latex_package_babel_language.m4 +++ /dev/null @@ -1,69 +0,0 @@ -# ============================================================================= -# http://www.nongnu.org/autoconf-archive/ax_latex_package_babel_language.html -# ============================================================================= -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_BABEL_LANGUAGE(LANGUAGES,VARIABLETOSET[ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# Check if the package babel exists and support language and set -# VARIABLETOSET to yes or no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_BABEL_LANGUAGE],[ -AX_LATEX_PACKAGE_BABEL([],[AC_MSG_WARN([Unable to locate babel with $defaultclass])]) -AC_CACHE_CHECK([for babel with class $defaultclass and language $1],[ac_cv_latex_babel_langugage_]translit([$1],[-,{}()= ],[________]),[ -AX_LATEX_TEST([changequote(*, !)dnl -\documentclass{$defaultclass} -\usepackage[$1]{babel} -\begin{document} -\end{document}dnl -changequote([, ])],[ac_cv_latex_babel_langugage_]translit([$1],[-,{}()= ],[________])) -]) -$2=$[ac_cv_latex_babel_langugage_]translit([$1],[-,{}()= ],[________]); export $2; -AC_SUBST($2) -ifelse($#,2,[],$#,3,[ - if test "[$]$2" != "no" ; - then - $3 - fi -],$#,4,[ - ifelse($3,[],[ - if test "[$]$2" = "no" ; - then - $4 - fi - ],[ - if test "[$]$2" != "no" ; - then - $3 - else - $4 - fi - ]) -]) -]) diff --git a/m4/ax_latex_package_fontenc.m4 b/m4/ax_latex_package_fontenc.m4 deleted file mode 100644 index 042ef3d..0000000 --- a/m4/ax_latex_package_fontenc.m4 +++ /dev/null @@ -1,67 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_fontenc.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_FONTENC([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# Check if the package fontenc exists and try to use T1 or OT1 and set -# fontenc to T1, OT1 or no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -define(_AX_LATEX_PACKAGE_FONTENC_INTERNE,[changequote(*, !)dnl -\documentclass{$defaultclass} -\usepackage[$1]{fontenc} -\begin{document} -\end{document}dnl -changequote([, ])]) - -AC_DEFUN([AX_LATEX_PACKAGE_FONTENC],[ - AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) - AX_LATEX_PACKAGE_LOCATION(fontenc.sty,fontenc_location) - AC_CACHE_CHECK([for fontenc],[ac_cv_latex_package_fontenc_opt],[ - AX_LATEX_TEST([_AX_LATEX_PACKAGE_FONTENC_INTERNE(T1)],[ac_cv_latex_package_fontenc_opt]) - if test $ac_cv_latex_package_fontenc_opt = "yes" ; - then - ac_cv_latex_package_fontenc_opt="T1"; export ac_cv_latex_package_fontenc_opt; - else - AX_LATEX_TEST([_AX_LATEX_PACKAGE_FONTENC_INTERNE(OT1)],[ac_cv_latex_package_fontenc_opt]) - if test $ac_cv_latex_package_fontenc_opt = "yes" ; - then - ac_cv_latex_package_fontenc_opt="OT1"; export ac_cv_latex_package_fontenc_opt; - fi - fi - - ]) - if test $ac_cv_latex_package_fontenc_opt = "no" ; - then - m4_ifval([$1],$1,[AC_MSG_ERROR([Unable to use fontenc with T1 nor OT1])]) - fi - fontenc=$ac_cv_latex_package_fontenc_opt ; export fontenc ; - AC_SUBST(fontenc) -]) diff --git a/m4/ax_latex_package_input.m4 b/m4/ax_latex_package_input.m4 deleted file mode 100644 index 564ccec..0000000 --- a/m4/ax_latex_package_input.m4 +++ /dev/null @@ -1,66 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_input.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_INPUT(PACKAGENAME,CLASSNAME,VARIABLETOSET) -# -# DESCRIPTION -# -# This macro test if package in <class> exists and set <variable> to the -# right value (yes or no). Use \input instance of \usepackage. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_INPUT],[ -AX_LATEX_PACKAGE_LOCATION($1,$3_location) -if test "[$]$3_location" = "no" ; then - AC_MSG_WARN([Unable to locate the $1.sty file]) - [ac_cv_latex_i_]translit($1,[-.],[__])[_]translit($2,[-],[_])="no"; -else -if test "$[ac_cv_latex_class_]translit($2,[-],[_])" = "" ; -then - AX_LATEX_CLASS($2,boretti_classesansparametre) - export boretti_classesansparametre; -else - boretti_classesansparametre=$[ac_cv_latex_class_]translit($2,[-],[_]) ; - export boretti_classesansparemetre; -fi; -if test $boretti_classesansparametre = "no" ; -then - AC_MSG_ERROR([Unable to find $2 class]) -fi -AC_CACHE_CHECK([for usability of package $1 in class $2, using \\input instance of \\usepackage],[ac_cv_latex_i_]translit($1,[-.],[__])[_]translit($2,[-],[_]),[ -AX_LATEX_TEST([ -\documentclass{$2} -\input $1 -\begin{document} -\end{document} -],[ac_cv_latex_i_]translit($1,[-.],[__])[_]translit($2,[-],[_])) -]) -fi -$3=$[ac_cv_latex_i_]translit($1,[-.],[__])[_]translit($2,[-],[_]); export $3; -AC_SUBST($3) -]) diff --git a/m4/ax_latex_package_listings.m4 b/m4/ax_latex_package_listings.m4 deleted file mode 100644 index 976b52f..0000000 --- a/m4/ax_latex_package_listings.m4 +++ /dev/null @@ -1,49 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_listings.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_LISTINGS -# -# DESCRIPTION -# -# Check if the package listings exists and set listings to yes or no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_LISTINGS],[ - AC_REQUIRE([AX_LATEX_DEFAULT_CLASS]) -AC_CACHE_CHECK([for listings with class $defaultclass],[ac_cv_latex_package_f_listings],[ -AX_LATEX_TEST([changequote(*, !)dnl -\documentclass{$defaultclass} -\usepackage{listings} -\begin{document} -\end{document}dnl -changequote([, ])],[ac_cv_latex_package_f_listings]) -]) -listings=$[ac_cv_latex_package_f_listings]; export listings; -AC_SUBST(listings) - -]) diff --git a/m4/ax_latex_package_listings_language.m4 b/m4/ax_latex_package_listings_language.m4 deleted file mode 100644 index b233839..0000000 --- a/m4/ax_latex_package_listings_language.m4 +++ /dev/null @@ -1,56 +0,0 @@ -# ================================================================================ -# http://www.nongnu.org/autoconf-archive/ax_latex_package_listings_language.html -# ================================================================================ -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_LISTINGS_LANGUAGE(LANGUAGE,VARIABLETOSET) -# -# DESCRIPTION -# -# Test if the package listings accept the language LANGUAGE and set -# VARIABLETOSET to yes or no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -define(_AX_LATEX_PACKAGE_LANGUAGE_INTERNE,[ -changequote(*, !)dnl -\documentclass{$defaultclass} -\usepackage{listings} -\lstset{language={$1}} -\begin{document} -\end{document} -changequote([, ])dnl -]) - -AC_DEFUN([AX_LATEX_PACKAGE_LISTINGS_LANGUAGE],[ -AC_REQUIRE([AX_LATEX_PACKAGE_LISTINGS]) -AC_CACHE_CHECK([for $1 language in package listings with class book],[ac_cv_latex_listings_langugae_]translit($1,[-],[_]),[ -AX_LATEX_TEST([ -_AX_LATEX_PACKAGE_LANGUAGE_INTERNE($1) -],[ac_cv_latex_listings_langugae_]translit($1,[-],[_])) -]) -$2=$[ac_cv_latex_listings_langugae_]translit($1,[-],[_]); export $2; -AC_SUBST($2) -]) diff --git a/m4/ax_latex_package_location.m4 b/m4/ax_latex_package_location.m4 deleted file mode 100644 index 7e76ce8..0000000 --- a/m4/ax_latex_package_location.m4 +++ /dev/null @@ -1,49 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_location.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_LOCATION(FILENAME,VARIABLETOSET) -# -# DESCRIPTION -# -# Find the file FILENAME in the acces path of texmf and set VARIABLETOSET -# to the location or no if not found -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PACKAGE_LOCATION],[ -AC_REQUIRE([AX_LATEX_PROG_KPSEWHICH]) -AC_CACHE_CHECK([for location of $1],[ac_cv_latex_location_]translit($1,[-.],[__]),[ -[ac_cv_latex_location_]translit($1,[-.],[__])=`$kpsewhich $1`; export [ac_cv_latex_location_]translit($1,[-.],[__]); -if test "[ac_cv_latex_location_]translit($1,[-.],[__])" = ""; -then - [ac_cv_latex_location_]translit($1,[-.],[__])="no"; export [ac_cv_latex_location_]translit($1,[-.],[__]); -fi -echo "$as_me:$LINENO: executing $kpsewhich $1" >&5 -]) -$2=$[ac_cv_latex_location_]translit($1,[-.],[__]); export $2; -AC_SUBST($2) -]) diff --git a/m4/ax_latex_package_opt.m4 b/m4/ax_latex_package_opt.m4 deleted file mode 100644 index ce3d289..0000000 --- a/m4/ax_latex_package_opt.m4 +++ /dev/null @@ -1,93 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_package_opt.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGE_OPT(PACKAGENAME,CLASSNAME,VARIABLETOSET,PARAMETER[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This package do the same thing as AX_LATEX_PACKAGE, except, that -# PARAMETER is optional parameter for the package -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -define(_AX_LATEX_PACKAGE_OPT_INTERNE,[ -changequote(*, !)dnl -\documentclass{$2} -\usepackage[$3]{$1} -\begin{document} -\end{document} -changequote([, ])dnl - -]) - -AC_DEFUN([AX_LATEX_PACKAGE_OPT],[ -AX_LATEX_PACKAGE_LOCATION($1.sty,$3_location) -if test "[$]$3_location" = "no" ; then - AC_MSG_WARN([Unable to locate the $1.sty file]) - [ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])[_]translit([$4],[-,{}()= ],[________])="no"; -else -if test "$[ac_cv_latex_class_]translit($2,[-],[_])" = "" ; -then - AX_LATEX_CLASS($2,boretti_classesansparametre) - export boretti_classesansparametre; -else - boretti_classesansparametre=$[ac_cv_latex_class_]translit($2,[-],[_]) ; - export boretti_classesansparemetre; -fi; -if test $boretti_classesansparametre = "no" ; -then - AC_MSG_ERROR([Unable to find $1 class]) -fi -AC_CACHE_CHECK([for usability of package $1 in class $2 with $4 as option],[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])[_]translit([$4],[-,{}()= ],[________]),[ -AX_LATEX_TEST([ -_AX_LATEX_PACKAGE_OPT_INTERNE($1,$2,[$4]) -],[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])[_]translit([$4],[-,{}()= ],[________])) -]) -fi -$3=$[ac_cv_latex_]translit($1,[-],[_])[_]translit($2,[-],[_])[_]translit([$4],[-,{}()= ],[________]); export $3; -AC_SUBST($3) -ifelse($#,4,[],$#,5,[ - if test "[$]$3" = "yes" ; - then - $5 - fi -],$#,6,[ - ifelse($5,[],[ - if test "[$]$3" = "no" ; - then - $6 - fi - ],[ - if test "[$]$3" = "yes" ; - then - $5 - else - $6 - fi - ]) -]) -]) diff --git a/m4/ax_latex_packages.m4 b/m4/ax_latex_packages.m4 deleted file mode 100644 index 72d195c..0000000 --- a/m4/ax_latex_packages.m4 +++ /dev/null @@ -1,75 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_packages.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PACKAGES(PACKAGESNAMES,CLASSNAME,VARIABLETOSET[,ACTION-IF-FOUND[,ACTION-IF-NOT-FOUND]]) -# -# DESCRIPTION -# -# This package search for the first suitable package in PACKAGESNAMES -# (comma separated list) with class CLASSNAME and set VARIABLETOSET the -# package found or to no -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -define(_AX_LATEX_PACKAGE_INTERNE,[ - ifelse($#,0,[],$#,1,[],$#,2,[],$#,3,[ - AX_LATEX_PACKAGE($3,$2,$1) - ],[ - AX_LATEX_PACKAGE($3,$2,$1) - if test "$$1" = "yes"; - then - $1=$3 ; export $1 ; - else - _AX_LATEX_PACKAGE_INTERNE($1,$2,m4_shift(m4_shift(m4_shift($@)))) - fi; - ]) -]) - -AC_DEFUN([AX_LATEX_PACKAGES],[ - _AX_LATEX_PACKAGE_INTERNE($3,$2,$1) - AC_SUBST($3) -ifelse($#,3,[],$#,4,[ - if test "[$]$3" != "no" ; - then - $4 - fi -],$#,5,[ - ifelse($4,[],[ - if test "[$]$3" = "no" ; - then - $5 - fi - ],[ - if test "[$]$3" != "no" ; - then - $4 - else - $5 - fi - ]) -]) -]) diff --git a/m4/ax_latex_prog_bibtex.m4 b/m4/ax_latex_prog_bibtex.m4 deleted file mode 100644 index c4c61b0..0000000 --- a/m4/ax_latex_prog_bibtex.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_bibtex.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_BIBTEX([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a bibtex application and set the variable bibtex to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_BIBTEX],[ -AC_CHECK_PROGS(bibtex,bibtex,no) -if test $bibtex = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the bibtex application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_dvibook.m4 b/m4/ax_latex_prog_dvibook.m4 deleted file mode 100644 index ba13912..0000000 --- a/m4/ax_latex_prog_dvibook.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_dvibook.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_DVIBOOK([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a dvibook application and set the variable dvibook to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_DVIBOOK],[ -AC_CHECK_PROGS(dvibook,dvibook,no) -if test $dvibook = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the dvibook application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_dvipdf.m4 b/m4/ax_latex_prog_dvipdf.m4 deleted file mode 100644 index 1e54584..0000000 --- a/m4/ax_latex_prog_dvipdf.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_dvipdf.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_DVIPDF([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a dvipdf application and set the variable dvipdf to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using dvipdf=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_DVIPDF],[ -AC_ARG_VAR(dvipdf,[specify default dvipdf application]) -if test "$ac_cv_env_dvipdf_set" = "set" ; then - AC_MSG_CHECKING([Checking for dvipdf]) - dvipdf="$ac_cv_env_dvipdf_value"; - AC_MSG_RESULT([$dvipdf (from parameter)]) -else - -AC_CHECK_PROGS(dvipdf,[dvipdf dvipdfm dvipdft],no) -if test $dvipdf = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the dvipdf application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_dvips.m4 b/m4/ax_latex_prog_dvips.m4 deleted file mode 100644 index 0d6c66c..0000000 --- a/m4/ax_latex_prog_dvips.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_dvips.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_DVIPS([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a dvips application and set the variable dvips to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using dvips=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_DVIPS],[ -AC_ARG_VAR(dvips,[specify default dvips application]) -if test "$ac_cv_env_dvips_set" = "set" ; then - AC_MSG_CHECKING([Checking for dvips]) - dvips="$ac_cv_env_dvips_value"; - AC_MSG_RESULT([$dvips (from parameter)]) -else - AC_CHECK_PROGS(dvips,dvips,no) -fi -if test $dvips = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the dvips application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_fig2dev.m4 b/m4/ax_latex_prog_fig2dev.m4 deleted file mode 100644 index 6657900..0000000 --- a/m4/ax_latex_prog_fig2dev.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_fig2dev.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_FIG2DEV([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a fig2dev application and set the variable fig2dev to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_FIG2DEV],[ -AC_CHECK_PROGS(fig2dev,[fig2dev],no) -if test $fig2dev = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the fig2dev application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_gnuplot.m4 b/m4/ax_latex_prog_gnuplot.m4 deleted file mode 100644 index c568aed..0000000 --- a/m4/ax_latex_prog_gnuplot.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_gnuplot.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_GNUPLOT([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a gnuplot application and set the variable gnuplot to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_GNUPLOT],[ -AC_CHECK_PROGS(gnuplot,[gnuplot],no) -if test $gnuplot = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the gnuplot application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_gunzip.m4 b/m4/ax_latex_prog_gunzip.m4 deleted file mode 100644 index fab88a9..0000000 --- a/m4/ax_latex_prog_gunzip.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_gunzip.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_GUNZIP([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a gunzip application and set the variable gunzip to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_GUNZIP],[ -AC_CHECK_PROGS(gunzip,[gunzip],no) -if test $gunzip = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the gunzip application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_gzip.m4 b/m4/ax_latex_prog_gzip.m4 deleted file mode 100644 index 5654670..0000000 --- a/m4/ax_latex_prog_gzip.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_gzip.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_GZIP([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a gzip application and set the variable gzip to the name -# of the application or to no if not found if ACTION-IF-NOT-FOUND is not -# specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_GZIP],[ -AC_CHECK_PROGS(gzip,[gzip],no) -if test $gzip = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the gzip application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_jpeg2ps.m4 b/m4/ax_latex_prog_jpeg2ps.m4 deleted file mode 100644 index 03e5ccb..0000000 --- a/m4/ax_latex_prog_jpeg2ps.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_jpeg2ps.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_JPEG2PS([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a jpeg2ps application and set the variable jpeg2ps to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_JPEG2PS],[ -AC_CHECK_PROGS(jpeg2ps,[jpeg2ps],no) -if test $jpeg2ps = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the jpeg2ps application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_jpegtopnm.m4 b/m4/ax_latex_prog_jpegtopnm.m4 deleted file mode 100644 index d77a5ca..0000000 --- a/m4/ax_latex_prog_jpegtopnm.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_jpegtopnm.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_JPGEDTOPNM([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a jpegtopnm application and set the variable jpegtopnm -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_JPEGTOPNM],[ -AC_CHECK_PROGS(jpegtopnm,[jpegtopnm],no) -if test $jpegtopnm = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the jpegtopnm application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_kpsewhich.m4 b/m4/ax_latex_prog_kpsewhich.m4 deleted file mode 100644 index d3ba6c7..0000000 --- a/m4/ax_latex_prog_kpsewhich.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_kpsewhich.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_KPSEWHICH([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a kpsewhich application and set the variable kpsewhich -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_KPSEWHICH],[ -AC_CHECK_PROGS(kpsewhich,[kpsewhich],no) -if test $kpsewhich = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the kpsewhich application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_latex.m4 b/m4/ax_latex_prog_latex.m4 deleted file mode 100644 index 20d0c1f..0000000 --- a/m4/ax_latex_prog_latex.m4 +++ /dev/null @@ -1,53 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_latex.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_LATEX([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a latex application and set the variable latex to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using latex=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_LATEX],[ -AC_ARG_VAR(latex,[specify default latex application]) -if test "$ac_cv_env_latex_set" = "set" ; then - AC_MSG_CHECKING([Checking for latex]) - latex="$ac_cv_env_latex_value"; - AC_MSG_RESULT([$latex (from parameter)]) -else - AC_CHECK_PROGS(latex,[latex elatex lambda],no) -fi -if test $latex = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex application])], - $1) -fi]) diff --git a/m4/ax_latex_prog_latex2html.m4 b/m4/ax_latex_prog_latex2html.m4 deleted file mode 100644 index 359f90c..0000000 --- a/m4/ax_latex_prog_latex2html.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_latex2html.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_LATEX2HTML([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a latex2html application and set the variable latex2html -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_LATEX2HTML],[ -AC_CHECK_PROGS(latex2html,[latex2html],no) -if test $latex2html = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex2html application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_latex2man.m4 b/m4/ax_latex_prog_latex2man.m4 deleted file mode 100644 index 7291a22..0000000 --- a/m4/ax_latex_prog_latex2man.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_latex2man.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_LATEX2MAN([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a latex2man application and set the variable latex2man -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_LATEX2MAN],[ -AC_CHECK_PROGS(latex2man,[latex2man],no) -if test $latex2man = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex2man application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_latex2png.m4 b/m4/ax_latex_prog_latex2png.m4 deleted file mode 100644 index 5d00479..0000000 --- a/m4/ax_latex_prog_latex2png.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_latex2png.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_LATEX2PNG([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a latex2png application and set the variable latex2png -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_LATEX2PNG],[ -AC_CHECK_PROGS(latex2png,[latex2png],no) -if test $latex2png = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex2png application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_latex2rtf.m4 b/m4/ax_latex_prog_latex2rtf.m4 deleted file mode 100644 index 51a6170..0000000 --- a/m4/ax_latex_prog_latex2rtf.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_latex2rtf.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_LATEX2RTF([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a latex2rtf application and set the variable latex2rtf -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_LATEX2RTF],[ -AC_CHECK_PROGS(latex2rtf,[latex2rtf],no) -if test $latex2rtf = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the latex2rtf application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_makeindex.m4 b/m4/ax_latex_prog_makeindex.m4 deleted file mode 100644 index ca819c5..0000000 --- a/m4/ax_latex_prog_makeindex.m4 +++ /dev/null @@ -1,46 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_makeindex.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_MAKEINDEX([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a makeindex application and set the variable makeindex -# to the name of the application or to no if not found if -# ACTION-IF-NOT-FOUND is not specified, configure fail when then -# application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_MAKEINDEX],[ -AC_CHECK_PROGS(makeindex,makeindex,no) -if test $makeindex = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the makeindex application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_mf.m4 b/m4/ax_latex_prog_mf.m4 deleted file mode 100644 index d63ffd4..0000000 --- a/m4/ax_latex_prog_mf.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_mf.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_MF([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a mf application and set the variable mf to the name of -# the application or to no if not found if ACTION-IF-NOT-FOUND is not -# specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using mf=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_MF],[ -AC_ARG_VAR(mf,[specify default mf application]) -if test "$ac_cv_env_mf_set" = "set" ; then - AC_MSG_CHECKING([Checking for mf]) - mf="$ac_cv_env_mf_value"; - AC_MSG_RESULT([$mf (from parameter)]) -else - AC_CHECK_PROGS(mf,[mf mfw mf-nowin],no) -fi -if test $mf = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the mf application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_mktexpk.m4 b/m4/ax_latex_prog_mktexpk.m4 deleted file mode 100644 index cbe243e..0000000 --- a/m4/ax_latex_prog_mktexpk.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_mktexpk.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_MKTEXPK -# -# DESCRIPTION -# -# This macro find a mktexpk application and set the variable mktexpk to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_MKTEXPK],[ -AC_CHECK_PROGS(mktexpk,mktexpk,no) -if test $mktexpk = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the mktexpk application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_pdflatex.m4 b/m4/ax_latex_prog_pdflatex.m4 deleted file mode 100644 index ac5eaed..0000000 --- a/m4/ax_latex_prog_pdflatex.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_pdflatex.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AC_PROG_PDFLATEX -# -# DESCRIPTION -# -# This macro find a pdflatex application and set the variable pdflatex to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PDFLATEX],[ -AC_CHECK_PROGS(pdflatex,[pdflatex],no) -if test $pdflatex = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the pdflatex application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_pngtopnm.m4 b/m4/ax_latex_prog_pngtopnm.m4 deleted file mode 100644 index b04ab24..0000000 --- a/m4/ax_latex_prog_pngtopnm.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_pngtopnm.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PNGTOPNM([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a pngtopnm application and set the variable pngtopnm to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PNGTOPNM],[ -AC_CHECK_PROGS(pngtopnm,[pngtopnm],no) -if test $pngtopnm = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the pngtopnm application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_pnmtops.m4 b/m4/ax_latex_prog_pnmtops.m4 deleted file mode 100644 index 348c62d..0000000 --- a/m4/ax_latex_prog_pnmtops.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_pnmtops.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PNMTOPS([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a pnmtops application and set the variable pnmtops to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PNMTOPS],[ -AC_CHECK_PROGS(pnmtops,[pnmtops],no) -if test $pnmtops = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the pnmtops application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_ps2pdf.m4 b/m4/ax_latex_prog_ps2pdf.m4 deleted file mode 100644 index f08467b..0000000 --- a/m4/ax_latex_prog_ps2pdf.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_ps2pdf.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PS2PDF([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a ps2pdf application and set the variable ps2pdf to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using ps2pdf=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PS2PDF],[ -AC_ARG_VAR(ps2pdf,[specify default ps2pdf application]) -if test "$ac_cv_env_ps2pdf_set" = "set" ; then - AC_MSG_CHECKING([Checking for ps2pdf]) - ps2pdf="$ac_cv_env_ps2pdf_value"; - AC_MSG_RESULT([$ps2pdf (from parameter)]) -else - AC_CHECK_PROGS(ps2pdf,[ps2pdf14 ps2pdf13 ps2pdf12 ps2pdf pstopdf],no) -fi -if test $ps2pdf = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the ps2pdf application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_psbook.m4 b/m4/ax_latex_prog_psbook.m4 deleted file mode 100644 index a2ab21c..0000000 --- a/m4/ax_latex_prog_psbook.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_psbook.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PSBOOK([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a psbook application and set the variable psbook to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PSBOOK],[ -AC_CHECK_PROGS(psbook,[psbook],no) -if test $psbook = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the psbook application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_psnup.m4 b/m4/ax_latex_prog_psnup.m4 deleted file mode 100644 index 8aa3a97..0000000 --- a/m4/ax_latex_prog_psnup.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_psnup.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PSNUP([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a psnup application and set the variable psnup to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PSNUP],[ -AC_CHECK_PROGS(psnup,[psnup],no) -if test $psnup = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the psnup application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_psresize.m4 b/m4/ax_latex_prog_psresize.m4 deleted file mode 100644 index c1309b7..0000000 --- a/m4/ax_latex_prog_psresize.m4 +++ /dev/null @@ -1,44 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_psresize.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PSRESIZE([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a psresize application and set the variable psresize to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PSRESIZE],[ -AC_CHECK_PROGS(psresize,[psresize],no) -if test $psresize = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the psresize application])], - $1) -fi]) diff --git a/m4/ax_latex_prog_psselect.m4 b/m4/ax_latex_prog_psselect.m4 deleted file mode 100644 index 4c0cffa..0000000 --- a/m4/ax_latex_prog_psselect.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_psselect.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PSSELECT([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a psselect application and set the variable psselect to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PSSELECT],[ -AC_CHECK_PROGS(psselect,[psselect],no) -if test $psselect = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the psselect application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_pstops.m4 b/m4/ax_latex_prog_pstops.m4 deleted file mode 100644 index 819f1dc..0000000 --- a/m4/ax_latex_prog_pstops.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_pstops.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_PSTOPS([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a pstops application and set the variable pstops to the -# name of the application or to no if not found if ACTION-IF-NOT-FOUND is -# not specified, configure fail when then application is not found. -# -# It is possible to set manually the program to use using pstops=... -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_PSTOPS],[ -AC_ARG_VAR(pstops,[specify default pstops application]) -if test "$ac_cv_env_pstops_set" = "set" ; then - AC_MSG_CHECKING([Checking for pstops]) - pstops="$ac_cv_env_pstops_value"; - AC_MSG_RESULT([$pstops (from parameter)]) -else - AC_CHECK_PROGS(pstops,[pstops],no) -fi -if test $pstops = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the pstops application])], - $1) -fi -]) diff --git a/m4/ax_latex_prog_texhash.m4 b/m4/ax_latex_prog_texhash.m4 deleted file mode 100644 index ae93dae..0000000 --- a/m4/ax_latex_prog_texhash.m4 +++ /dev/null @@ -1,45 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_prog_texhash.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_PROG_TEXHASH([ACTION-IF-NOT-FOUND]) -# -# DESCRIPTION -# -# This macro find a texhash application and set the variable texhash to -# the name of the application or to no if not found if ACTION-IF-NOT-FOUND -# is not specified, configure fail when then application is not found. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_PROG_TEXHASH],[ -AC_CHECK_PROGS(texhash,[texhash],no) -if test $texhash = "no" ; -then - ifelse($#,0,[AC_MSG_ERROR([Unable to find the texhash application])], - $1) -fi -]) diff --git a/m4/ax_latex_test.m4 b/m4/ax_latex_test.m4 deleted file mode 100644 index 0807881..0000000 --- a/m4/ax_latex_test.m4 +++ /dev/null @@ -1,54 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_test.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_TEST(FILEDATA,VARIABLETOSET,[NOCLEAN]) -# -# DESCRIPTION -# -# This macros execute the latex application with FILEDATA as input and set -# VARIABLETOSET the yes or no depending of the result if NOCLEAN is set, -# the folder used for the test is not delete after testing. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_TEST],[ -AC_REQUIRE([AX_LATEX_PROG_LATEX]) -rm -rf conftest.dir/.acltx -AS_MKDIR_P([conftest.dir/.acltx]) -cd conftest.dir/.acltx -m4_ifval([$2],[$2="no"; export $2;]) -cat > conftest.tex << ACLEOF -$1 -ACLEOF -cat conftest.tex | $latex 2>&1 1>output m4_ifval([$2],[&& $2=yes]) -cd .. -cd .. -sed 's/^/| /' conftest.dir/.acltx/conftest.tex >&5 -echo "$as_me:$LINENO: executing cat conftest.tex | $latex" >&5 -sed 's/^/| /' conftest.dir/.acltx/output >&5 -m4_ifval([$3],,[rm -rf conftest.dir/.acltx]) -]) diff --git a/m4/ax_latex_texmf_path.m4 b/m4/ax_latex_texmf_path.m4 deleted file mode 100644 index 8de6be7..0000000 --- a/m4/ax_latex_texmf_path.m4 +++ /dev/null @@ -1,75 +0,0 @@ -# =========================================================================== -# http://www.nongnu.org/autoconf-archive/ax_latex_texmf_path.html -# =========================================================================== -# -# OBSOLETE MACRO -# -# Deprecated because of licensing issues. The Lesser GPL imposes licensing -# restrictions on the generated configure script unless it is augmented -# with an Autoconf Exception clause. -# -# SYNOPSIS -# -# AX_LATEX_TEXMF_PATH -# -# DESCRIPTION -# -# This macros find a suitable path for the local texmf folder. It this -# possible to set manually this path using texmfpath=... The variable -# texmfpath contains the path found or. If configure is unable to locate -# the path, configure exit with a error message. -# -# LICENSE -# -# Copyright (c) 2008 Boretti Mathieu <boretti@eig.unige.ch> -# -# This library is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or (at -# your option) any later version. -# -# This library 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 Lesser -# General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with this library. If not, see <http://www.gnu.org/licenses/>. - -AC_DEFUN([AX_LATEX_TEXMF_PATH],[ -AC_ARG_VAR(texmfpath,[specify default local texmf path (for example /usr/TeX/texmf-local/)]) -AC_REQUIRE([AX_LATEX_PROG_LATEX]) -AC_REQUIRE([AC_PROG_AWK]) -AC_REQUIRE([AX_LATEX_CLASS_REPORT]) -AC_CACHE_CHECK([for texmf local path],[ac_cv_texmfpath_value],[ -if test "$ac_cv_env_texmfpath_set" = "set" ; then - ac_cv_texmfpath_value="$ac_cv_env_texmfpath_value" ; export ac_cv_texmfpath_value; -else - Base=`$kpsewhich report.cls` ; export Base ; - Base=`echo $Base | $AWK -F / '{for(i=1;i<NF;i++) {if ($i=="texmf" || $i=="texmf-dist") break; OUT=OUT$i"/";} print OUT}'` ; export Base ; - if test -x "$Base/texmf.local" ; - then - Base="$Base/texmf.local" ; export Base; - else - if test -x "$Base/texmf-local" ; - then - Base="$Base/texmf-local" ; export Base; - else - if test -x "$Base/texmf" ; - then - Base="$Base/texmf" ; export Base; - else - Base="no"; export Base; - fi; - fi; - fi; - ac_cv_texmfpath_value="$Base" ; export ac_cv_texmfpath_value; -fi -]) -texmfpath=$ac_cv_texmfpath_value ; export texmfpath_value; -if test "$texmfpath" = "no" ; -then - AC_MSG_ERROR([Unable to find a suitable local texmf folder. Use texmfpath=... to specify it]) -fi -AC_SUBST(texmfpath) -]) |