From f246e25e5564d5ee53c441840d22cdfad7a355e2 Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 2 Jan 2020 19:14:16 -0700 Subject: [PATCH] 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). --- cde/configure.ac | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cde/configure.ac b/cde/configure.ac index 9f805160..bac15e08 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -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) -- 2.25.1