--- /dev/null
+AC_PREREQ([2.69])
+AC_INIT([cold], [0.0.0])
+
+# Store build files not in main directory
+AC_CONFIG_AUX_DIR([build-aux])
+
+AM_INIT_AUTOMAKE([foreign subdir-objects -Wall -Werror])
+
+AC_CONFIG_SRCDIR([src/main.c])
+AC_CONFIG_HEADERS([inc/config.h])
+
+# Checks for programs.
+AC_PROG_CC
+
+# Checks for libraries.
+AC_CHECK_LIB([udev],[udev_new])
+
+# Checks for header files.
+AC_CHECK_HEADERS([stdlib.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+
+# Checks for library functions.
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
--- /dev/null
+#include<main.h>
+
+int main(int argc, char **argv) {
+ struct udev *monitor;
+
+ monitor = udev_new();
+ if(NULL==monitor) { return EXIT_FAILURE; }
+
+ udev_unref(monitor);
+
+ return EXIT_SUCCESS;
+}