summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..32e671a
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,15 @@
+dnl Process this file with autoconf to produce a configure script.
+
+AC_INIT(vbe-edid, 0.0.1)
+AM_INIT_AUTOMAKE()
+
+dnl Checks for programs
+
+CFLAGS="-g -O0 -Wall"
+
+AC_PROG_CC
+
+AC_CHECK_LIB([x86], [LRMI_init], [], [AC_MSG_ERROR([libx86 not found])])
+AC_CHECK_HEADER([libx86.h], [], [AC_MSG_ERROR([libx86.h not found])])
+
+AC_OUTPUT([Makefile])