diff options
author | Rob Bradford <rob@o-hand.com> | 2008-08-18 17:34:25 +0100 |
---|---|---|
committer | Rob Bradford <rob@o-hand.com> | 2008-08-18 17:34:25 +0100 |
commit | daacff4204496756124af8492a85a3a36ce591cc (patch) | |
tree | a42fbb708d50d4ec4241254cc7273e73a3a19653 /configure.ac |
Initial commit
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..62c3d4d --- /dev/null +++ b/configure.ac @@ -0,0 +1,36 @@ +AC_PREREQ(2.53) +AC_INIT(rest, 0.1) +AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) +AM_CONFIG_HEADER(config.h) + +AC_CANONICAL_HOST + +AC_PROG_CC +AC_PROG_CC_STDC +AC_PROG_INSTALL +AC_PROG_LIBTOOL +AC_ISC_POSIX +AC_HEADER_STDC +AM_PROG_CC_C_O + +PKG_CHECK_MODULES(GLIB, glib-2.0) +PKG_CHECK_MODULES(SOUP, libsoup-2.4) + +AC_SUBST(GLIB_CFLAGS) +AC_SUBST(GLIB_LIBS) + +AC_SUBST(SOUP_CFLAGS) +AC_SUBST(SOUP_LIBS) + +GTK_DOC_CHECK(1.4) + +localedir=${datadir}/locale +AC_SUBST(localedir) + +AC_OUTPUT([ + Makefile + rest/Makefile + examples/Makefile + rest.pc +]) + |