Check that flex is installed during ./configure
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Mon, 23 Jan 2017 12:50:07 +0000
changeset 1027 675ee2eeb3ff
parent 1026 fe580c0c1911
child 1028 7c8709ce6b8f
Check that flex is installed during ./configure
configure.ac
--- a/configure.ac	Tue Jan 17 15:50:55 2017 +0000
+++ b/configure.ac	Mon Jan 23 12:50:07 2017 +0000
@@ -42,6 +42,10 @@
   (exit 1); exit 1;
 fi
 
+if test "x$LEX" == "x:"; then
+   AC_MSG_ERROR("flex/lex is missing")
+fi
+
 # Checks for header files.
 AC_CHECK_HEADERS([float.h limits.h stdint.h stdlib.h string.h strings.h sys/timeb.h unistd.h])