From 058a5c5dc4ad7334746805574b94608b9a8614e8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Wed, 29 May 2013 17:30:50 +0200
Subject: [PATCH] Remove more stuff related to economic bibtex styles

Ref 1d14ff8060855c5e51dccd0f8b9c0cd6ccb1ae4d
---
 configure.ac              | 22 ++--------------------
 doc/userguide/Makefile.am |  2 --
 2 files changed, 2 insertions(+), 22 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7a2f94e7f7..eaeb6f9159 100755
--- a/configure.ac
+++ b/configure.ac
@@ -121,26 +121,8 @@ AC_CHECK_PROG([LATEX2HTML], [latex2html], [latex2html])
 AM_CONDITIONAL([HAVE_LATEX2HTML], [test "x$LATEX2HTML" != "x"])
 
 if test "x$PDFLATEX" != "x" -a "x$BIBTEX" != "x"; then
-  AC_MSG_CHECKING([for econometrica BST])
-  AX_LATEX_BIBTEX_TEST([\documentclass{article}
-\begin{document}
-\cite{Juillard1996}
-\bibliography{conftest}
-\bibliographystyle{econometrica}
-\end{document}
-], [@techreport{Juillard1996,
-	Author = {Juillard, Michel},
-	Institution = {CEPREMAP},
-	Number = {9602},
-	Title = {Dynare : a program for the resolution and simulation of dynamic models with forward variables through the use of a relaxation algorithm},
-	Type = {CEPREMAP working papers},
-	Year = {1996}}
-], [ax_latex_have_econometrica])
-  AC_MSG_RESULT([$ax_latex_have_econometrica])
-
   AX_LATEX_CLASS([beamer], [ax_latex_have_beamer])
 fi
-AM_CONDITIONAL([HAVE_ECONOMETRICA], [test "x$ax_latex_have_econometrica" = "xyes"])
 AM_CONDITIONAL([HAVE_BEAMER], [test "x$ax_latex_have_beamer" = "xyes"])
 
 AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
@@ -258,10 +240,10 @@ else
   BUILD_DYNAREPLUSPLUS_SRCDOC="no (missing one of: cweave, pdftex, eplain)"
 fi
 
-if test "x$PDFLATEX" != "x" -a "x$BIBTEX" != "x" -a "x$ax_latex_have_econometrica" = "xyes"; then
+if test "x$PDFLATEX" != "x" -a "x$BIBTEX" != "x"; then
   BUILD_DYNARE_USERGUIDE="yes"
 else
-  BUILD_DYNARE_USERGUIDE="no (missing one of: pdflatex, bibtex, econometrica BST)"
+  BUILD_DYNARE_USERGUIDE="no (missing one of: pdflatex, bibtex)"
 fi
 
 if test "x$PDFLATEX" != "x" -a "x$ax_latex_have_beamer" = "xyes"; then
diff --git a/doc/userguide/Makefile.am b/doc/userguide/Makefile.am
index 330953a663..37e537776c 100644
--- a/doc/userguide/Makefile.am
+++ b/doc/userguide/Makefile.am
@@ -1,10 +1,8 @@
 if HAVE_PDFLATEX
 if HAVE_BIBTEX
-if HAVE_ECONOMETRICA
 pdf-local: UserGuide.pdf
 endif
 endif
-endif
 
 SRC = UserGuide.tex Graphics/DynareTitle.pdf DynareBib.bib \
 	ch-intro.tex ch-inst.tex ch-solbase.tex ch-soladv.tex ch-estbase.tex \
-- 
GitLab