Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dynare
preprocessor
Commits
f4b95d3a
Verified
Commit
f4b95d3a
authored
Mar 25, 2019
by
Sébastien Villemot
Browse files
POSIX shell stylistic improvements
parent
fd6e700e
Pipeline
#1046
passed with stage
in 1 minute and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
f4b95d3a
...
...
@@ -56,10 +56,10 @@ AM_PROG_AR
AM_PROG_LEX
# Hack to get lex include dir, ticket #575
AC_PATH_PROG([LEXPATH], [$LEX])
AC_SUBST([LEXINC], [
`
eval "echo $LEXPATH | sed 's|\(.*\)$LEX$|\1../include|'"
`
])
AC_SUBST([LEXINC], [
$(
eval "echo $LEXPATH | sed 's|\(.*\)$LEX$|\1../include|'"
)
])
AC_CHECK_PROG([YACC], [bison], [bison])
if test "
x
$YACC"
= "x"
; then
if test
-z
"$YACC"; then
unset YACC # AM_MISSING_PROG needs an unset variable: an empty variable won't do
AM_MISSING_PROG([YACC], [bison])
fi
...
...
@@ -80,18 +80,18 @@ CPPFLAGS="$CPPFLAGS_SAVED"
AC_DEFINE([BOOST_NO_HASH], [], [Don't use deprecated STL hash structures])
AC_CHECK_PROG([DOXYGEN], [doxygen], [doxygen])
AM_CONDITIONAL([HAVE_DOXYGEN], [test "
x
$DOXYGEN"
!= "x"
])
AM_CONDITIONAL([HAVE_DOXYGEN], [test
-n
"$DOXYGEN"])
AC_CHECK_PROG([PDFLATEX], [pdflatex], [pdflatex])
AM_CONDITIONAL([HAVE_PDFLATEX], [test "
x
$PDFLATEX"
!= "x"
])
AM_CONDITIONAL([HAVE_PDFLATEX], [test
-n
"$PDFLATEX"])
AC_CHECK_PROG([BIBTEX], [bibtex], [bibtex])
AM_CONDITIONAL([HAVE_BIBTEX], [test "
x
$BIBTEX"
!= "x"
])
AM_CONDITIONAL([HAVE_BIBTEX], [test
-n
"$BIBTEX"])
if test "
x
$PDFLATEX"
!= "x"
-a "
x
$BIBTEX"
!= "x"
; then
if test
-n
"$PDFLATEX" -a
-n
"$BIBTEX"; then
AX_LATEX_CLASS([beamer], [ax_latex_have_beamer])
fi
AM_CONDITIONAL([HAVE_BEAMER], [test "
x
$ax_latex_have_beamer" =
"x
yes
"
])
AM_CONDITIONAL([HAVE_BEAMER], [test "$ax_latex_have_beamer" = yes])
AC_CONFIG_FILES([Makefile
src/Makefile
...
...
@@ -101,14 +101,14 @@ AC_CONFIG_FILES([Makefile
doc/macroprocessor/Makefile
])
if test "
x
$DOXYGEN"
!= "x"
; then
if test
-n
"$DOXYGEN"; then
BUILD_DYNARE_PREPROC_DOC="yes"
else
BUILD_DYNARE_PREPROC_DOC="no (missing doxygen)"
fi
if test "
x
$PDFLATEX"
!= "x"
-a "
x
$ax_latex_have_beamer" =
"x
yes
"
; then
if test
-n
"$PDFLATEX" -a "$ax_latex_have_beamer" = yes; then
BUILD_BEAMER_DOC="yes"
else
BUILD_BEAMER_DOC="no (missing one of: pdflatex, beamer)"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment