check for pre-generated src/svf/svf_flex.c -> second part of [ 1895353 ]

git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1042 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent 9f7e50eabb
commit c893f06f04

@ -1,5 +1,7 @@
2008-02-17 Arnim Laeuger <arniml@users.sourceforge.net>
* configure.ac: check for pre-generated src/svf/svf_flex.c
-> second part of [ 1895353 ]
* src/bsdl/Makefile.am (noinst_HEADERS): bsdl_sysdep.h added for proper
release packing -> first part of [ 1895353 ]

@ -314,9 +314,17 @@ AS_IF([test "$LEX" == flex], [
AM_CONDITIONAL([BISON_LOCATIONS], true)
bison_locations=yes
], [
AC_MSG_RESULT([no - flex $flex_version])
AM_CONDITIONAL([BISON_LOCATIONS], false)
bison_locations=no
AS_IF([test -r src/svf/svf_flex.c], [
# If the transformed svf_flex.c is already existing, it shouldn't matter
# that flex is too old for building a lexer with bison locations
AC_MSG_RESULT([using pre-generated src/svf/svf_flex.c])
AM_CONDITIONAL([BISON_LOCATIONS], false)
bison_locations="as is"
], [
AC_MSG_RESULT([no - flex $flex_version])
AM_CONDITIONAL([BISON_LOCATIONS], false)
bison_locations=no
])
])
# bsdl lexer requires flex >= 2.5.33

Loading…
Cancel
Save