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:
parent
3b1a54ca81
commit
f246e25e55
1 changed files with 2 additions and 3 deletions
|
@ -245,12 +245,12 @@ AM_PROG_LIBTOOL
|
||||||
dnl make sure it's installed
|
dnl make sure it's installed
|
||||||
AC_PROG_YACC
|
AC_PROG_YACC
|
||||||
if test -z "$ac_cv_prog_YACC"; then
|
if test -z "$ac_cv_prog_YACC"; then
|
||||||
AC_MSG_ERROR([please install bison or yacc])
|
MISSING_PROGS="[bison or byacc] ${MISSING_PROGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_PROG_LEX
|
AM_PROG_LEX
|
||||||
if test -z "$ac_cv_prog_LEX"; then
|
if test -z "$ac_cv_prog_LEX"; then
|
||||||
AC_MSG_ERROR([please install flex or lex])
|
MISSING_PROGS="[flex or lex] ${MISSING_PROGS}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
@ -332,7 +332,6 @@ fi
|
||||||
dnl headers
|
dnl headers
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS([locale.h])
|
AC_CHECK_HEADERS([locale.h])
|
||||||
AC_CHECK_HEADERS([jpeglib.h], ,[AC_MSG_ERROR([libjpeg headers not found])])
|
|
||||||
|
|
||||||
dnl libraries
|
dnl libraries
|
||||||
AC_CHECK_LIB(m, cosf)
|
AC_CHECK_LIB(m, cosf)
|
||||||
|
|
Loading…
Reference in a new issue