diff options
author | Reuben Thomas <rrt@sc3d.org> | 2009-10-04 17:54:12 +0100 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2009-10-04 17:54:12 +0100 |
commit | a07c630d7cd6495a8b188c68c44d0dcb725c83b8 (patch) | |
tree | af3cbb8a5efdc45af54becbe8ab9830c01e26352 /m4 | |
parent | 3ab17306da251c90881bcc12a6fd3b9046b45db1 (diff) | |
parent | 24c0b5b37d554c2ba8a63e124293562164b94948 (diff) | |
download | autoconf-archive-a07c630d7cd6495a8b188c68c44d0dcb725c83b8.tar.gz |
Merge branch 'master' of git://git.sv.gnu.org/autoconf-archive
Diffstat (limited to 'm4')
61 files changed, 4 insertions, 3251 deletions
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) -]) |