summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-10-07 09:32:28 -0700
committerGravatar Matt Colyer2008-10-07 09:32:28 -0700
commit12b128bcdb67f7427c1e216ec6f42c45281bfccf (patch)
tree2cf4ddd9dac4a2fc87c728a93cbe34c34dc3040c /configure.ac
downloadifuse-12b128bcdb67f7427c1e216ec6f42c45281bfccf.tar.gz
ifuse-12b128bcdb67f7427c1e216ec6f42c45281bfccf.tar.bz2
Initial commit.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac39
1 files changed, 39 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..76fdea5
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,39 @@
+# -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ(2.61)
+AC_INIT(ifuse, 0.1.0, nospam@nowhere.com)
+AM_INIT_AUTOMAKE(ifuse, 0.1.0)
+AC_CONFIG_SRCDIR([src/])
+AC_CONFIG_HEADER([config.h])
+
+AC_PROG_LIBTOOL
+
+
+# Checks for programs.
+AC_PROG_CC
+AM_PROG_CC_C_O
+
+# Checks for libraries.
+PKG_CHECK_MODULES(libglib2, glib-2.0 >= 2.14.1)
+PKG_CHECK_MODULES(libgthread2, gthread-2.0 >= 2.14.1)
+PKG_CHECK_MODULES(libfuse, fuse >= 2.7.0)
+
+# Checks for header files.
+AC_HEADER_STDC
+AC_CHECK_HEADERS([arpa/inet.h stdint.h stdlib.h string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+AC_TYPE_SIZE_T
+AC_TYPE_SSIZE_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT8_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_FUNC_REALLOC
+AC_CHECK_FUNCS([strcasecmp strdup strerror strndup])
+
+AC_OUTPUT(Makefile src/Makefile)