test env bash; freebsd config

This commit is contained in:
Olof hagsand 2019-09-17 22:44:01 +02:00
parent 0129fe285e
commit fe1aeda4f2
67 changed files with 79 additions and 69 deletions

View file

@ -125,10 +125,14 @@ AC_PROG_LEX
if test "$LEX" = ":"; then
AC_MSG_ERROR(CLIXON does not find lex or flex.)
fi
if test "$YACC" != "bison -y"; then
AC_MSG_ERROR(CLIXON does not find bison. There are several problems with yacc and byacc. Please install bison.)
# Get "bison" from bison -y or other string
bisonstr=$(expr substr "$YACC" 1 5)
if test "$bisonstr" != "bison"; then
AC_MSG_ERROR(CLIXON does not find bison. There are several problems with yacc and byacc. Please install bison. YACC="$YACC")
fi
if test "$prefix" = "NONE"; then
prefix=${ac_default_prefix}
fi