Modify it to adjust Tizen IVI enviroment
[platform/upstream/kmscon.git] / configure.ac
index 2d94c22..eb3020f 100644 (file)
@@ -755,6 +755,7 @@ if test x$have_gbm = xyes ; then
 fi
 
 # check for xsltproc
+AC_ARG_VAR([XSLTPROC], [xsltproc program])
 AC_PATH_PROG(XSLTPROC, xsltproc)
 AM_CONDITIONAL([BUILD_HAVE_XSLTPROC], [test "x$XSLTPROC" != "x"])
 
@@ -773,6 +774,17 @@ else
         AC_MSG_RESULT([no])
 fi
 
+# gles2 helpers
+AM_CONDITIONAL([BUILD_HAVE_GLES2], [test "x$have_gles2" = "xyes"])
+
+# check for mandatory objcopy program
+AC_ARG_VAR([OBJCOPY], [objcopy program])
+AC_CHECK_TOOL([OBJCOPY], [objcopy], "")
+
+if test "x$OBJCOPY" = "x" ; then
+        AC_ERROR([Cannot find "objcopy" program])
+fi
+
 #
 # Makefile vars
 # After everything is configured, we correctly substitute the values for the