Replacing GFile/GIO with libsoup
[grits] / configure.ac
1 # Init and options
2 AC_INIT([aweather], [0.1], [spenceal@rose-hulman.edu])
3 AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability foreign])
4 AC_CONFIG_HEADERS([config.h])
5
6 # Check for required programs
7 AC_PROG_CC
8 PKG_PROG_PKG_CONFIG
9 GTK_DOC_CHECK(1.9)
10
11 # Check for required packages
12 PKG_CHECK_MODULES(SOUP, libsoup-2.4)
13 PKG_CHECK_MODULES(GLIB, gio-2.0 gmodule-export-2.0 gobject-2.0 gthread-2.0)
14 PKG_CHECK_MODULES(GTK,  gtk+-2.0 gtkglext-1.0)
15
16 # Define odd RSL install location
17 #AC_SUBST(RSL_CFLAGS, "-I/usr/local/trmm/GVBOX/include/")
18 #AC_SUBST(RSL_LIBS,   "-L/usr/local/trmm/GVBOX/lib/ -lrsl")
19 AC_SUBST(RSL_CFLAGS, "")
20 AC_SUBST(RSL_LIBS,   "-lrsl")
21
22 # Output 
23 AC_CONFIG_FILES([
24         Makefile
25         src/Makefile
26         data/Makefile
27         docs/Makefile
28         docs/api/Makefile
29 ])
30 AC_OUTPUT