Adding a prefs dialog (which needs a lot more work)
[grits] / configure.ac
1 # Init and options
2 AC_INIT([aweather], [0.1.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 AC_PROG_LIBTOOL
9 PKG_PROG_PKG_CONFIG
10 GTK_DOC_CHECK(1.9)
11
12 # Check for required packages
13 PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14 gobject-2.0 gthread-2.0 gmodule-export-2.0)
14 PKG_CHECK_MODULES(GTK,  gtk+-2.0 >= 2.16 gtkglext-1.0)
15 PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.26)
16
17 # Define odd RSL install location
18 #AC_SUBST(RSL_CFLAGS, "-I/usr/local/trmm/GVBOX/include/")
19 #AC_SUBST(RSL_LIBS,   "-L/usr/local/trmm/GVBOX/lib/ -lrsl")
20 AC_SUBST(RSL_CFLAGS, "")
21 AC_SUBST(RSL_LIBS,   "-lrsl")
22
23 # Output 
24 AC_CONFIG_FILES([
25         Makefile
26         src/Makefile
27         src/plugins/Makefile
28         data/Makefile
29         docs/Makefile
30         docs/api/Makefile
31 ])
32 AC_OUTPUT