1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

configure: fix some bsd issues

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).
This commit is contained in:
Jon Trulson 2020-01-02 19:14:16 -07:00
parent 3b1a54ca81
commit f246e25e55

View file

@ -245,12 +245,12 @@ AM_PROG_LIBTOOL
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
AC_MSG_ERROR([please install flex or lex])
MISSING_PROGS="[flex or lex] ${MISSING_PROGS}"
fi
AC_PROG_INSTALL
@ -332,7 +332,6 @@ fi
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)