Configure and test modification for better Freebsd port
This commit is contained in:
parent
fe1aeda4f2
commit
8c18f2a86d
12 changed files with 31 additions and 29 deletions
|
|
@ -127,11 +127,11 @@ if test "$LEX" = ":"; then
|
|||
fi
|
||||
|
||||
# Get "bison" from bison -y or other string
|
||||
bisonstr=$(expr substr "$YACC" 1 5)
|
||||
if test "$bisonstr" != "bison"; then
|
||||
if test "$YACC" = "${YACC##bison}" ; then
|
||||
AC_MSG_ERROR(CLIXON does not find bison. There are several problems with yacc and byacc. Please install bison. YACC="$YACC")
|
||||
fi
|
||||
|
||||
# Hardcoded to bison -y, seems to work in all bisons?
|
||||
YACC="bison -y"
|
||||
|
||||
if test "$prefix" = "NONE"; then
|
||||
prefix=${ac_default_prefix}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue