Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make building work again when flex is not installed #189

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_PROG_LEX([noyywrap])
AS_IF([test $LEX = ":"], [AC_MSG_ERROR([no lex or flex found])])
AS_IF([test $LEX = ":"], [
AM_MISSING_PROG(MISSINGLEX, [flex])
LEX=$MISSINGLEX]
)
PKG_PROG_PKG_CONFIG
AM_PROG_CC_C_O
AM_PROG_AR
Expand Down Expand Up @@ -281,7 +284,7 @@ AS_IF([test "$use_polkit" != "no"],
PCSCLITE_FEATURES="${PCSCLITE_FEATURES} polkit"],
[use_polkit=no
AC_MSG_ERROR([[
***
***
*** polkit >= $POLKIT_MINIMUM was not found. Access control will be disabled.
*** You may get it from http://www.freedesktop.org/software/polkit/
*** ]])
Expand Down Expand Up @@ -440,4 +443,3 @@ src/PCSC/pcsclite.h
src/spy/Makefile
])
AC_OUTPUT