1. On OpenBSD, and check is made for only bison or byacc. yacc is
present, but not usable apparently. So - need to install bison on the
BSD's.
2. the libjpeg.h check fails as it is located in a non-standard
location (/usr/local) on BSD systems. Just remove the check for now
until we have a better way to check that stuff (like X11 and Xm
headers too).
dnl make sure it's installed
AC_PROG_YACC
if test -z "$ac_cv_prog_YACC"; then
dnl make sure it's installed
AC_PROG_YACC
if test -z "$ac_cv_prog_YACC"; then
- AC_MSG_ERROR([please install bison or yacc])
+ MISSING_PROGS="[bison or byacc] ${MISSING_PROGS}"
fi
AM_PROG_LEX
if test -z "$ac_cv_prog_LEX"; then
fi
AM_PROG_LEX
if test -z "$ac_cv_prog_LEX"; then
- AC_MSG_ERROR([please install flex or lex])
+ MISSING_PROGS="[flex or lex] ${MISSING_PROGS}"
dnl headers
AC_HEADER_STDC
AC_CHECK_HEADERS([locale.h])
dnl headers
AC_HEADER_STDC
AC_CHECK_HEADERS([locale.h])
-AC_CHECK_HEADERS([jpeglib.h], ,[AC_MSG_ERROR([libjpeg headers not found])])
dnl libraries
AC_CHECK_LIB(m, cosf)
dnl libraries
AC_CHECK_LIB(m, cosf)