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
Johannes Pfeifer
dynare
Commits
88651489
Commit
88651489
authored
Jan 07, 2014
by
Houtan Bastani
Browse files
build system: replace hard-coded flex include dir with that found by autoconf, #575
parent
dd2aa846
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
88651489
dnl Process this file with autoconf to produce a configure script.
dnl Copyright (C) 2009-201
3
Dynare Team
dnl Copyright (C) 2009-201
4
Dynare Team
dnl
dnl This file is part of Dynare.
dnl
...
...
@@ -62,6 +62,9 @@ AX_PROG_LN_S
AC_PROG_MKDIR_P
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$|../include|'"`])
AC_CHECK_PROG([YACC], [bison], [bison])
if test "x$YACC" = "x"; then
...
...
preprocessor/Makefile.am
View file @
88651489
...
...
@@ -61,7 +61,7 @@ dynare_m_LDADD = macro/libmacro.a
DynareFlex.cc FlexLexer.h
:
DynareFlex.ll
$(LEX)
-oDynareFlex
.cc DynareFlex.ll
cp
/usr/include
/FlexLexer.h .
cp
$(LEXINC)
/FlexLexer.h .
DynareBison.cc DynareBison.hh location.hh stack.hh position.hh
:
DynareBison.yy
$(YACC)
-o
DynareBison.cc DynareBison.yy
...
...
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