autoconf

diff --git a/configure.in b/configure.in
new file mode 100644
index 0000000..1c4070c
--- /dev/null
+++ b/configure.in
@@ -0,0 +1,19 @@
+dnl Process this file with autoconf to produce a configure script
+AC_INIT
+
+AM_INIT_AUTOMAKE(openbsc, 0.0alpha1)
+
+dnl checks for programs
+AC_PROG_MAKE_SET
+AC_PROG_CC
+AC_PROG_INSTALL
+
+dnl checks for libraries
+
+dnl checks for header files
+AC_HEADER_STDC
+AC_CHECK_HEADERS(mISDNif.h)
+
+dnl Checks for typedefs, structures and compiler characteristics
+
+AC_OUTPUT(include/openbsc/Makefile include/Makefile src/Makefile Makefile)