Code

plugin: Make sdb_plugin_info_t public.
[sysdb.git] / autogen.sh
index e4ffee05b9816c23a037b03e5a184d8ce375d237..87fd59fd3d8e53695f1ca522fd336feaea16d804 100755 (executable)
@@ -1,7 +1,11 @@
 #! /bin/sh
 
 #! /bin/sh
 
-libtoolize=libtoolize
+if ! which yacc > /dev/null 2>&1 || ! which lex > /dev/null 2>&1; then
+       echo "yacc and lex are required to build SysDB" >&2
+       exit 1
+fi
 
 
+libtoolize=libtoolize
 if which glibtoolize > /dev/null 2>&1; then
        libtoolize=glibtoolize
 fi
 if which glibtoolize > /dev/null 2>&1; then
        libtoolize=glibtoolize
 fi