Converting a lot of stuff to GObject and adding gtk-doc support
[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(GTK,  gtk+-2.0 gtkglext-1.0 gmodule-export-2.0 gobject-2.0)
13 PKG_CHECK_MODULES(CURL, libcurl)
14
15 # Define odd RSL install location
16 AC_SUBST(RSL_CFLAGS, "-I/usr/local/trmm/GVBOX/include/")
17 AC_SUBST(RSL_LIBS,   "-L/usr/local/trmm/GVBOX/lib/ -lrsl")
18
19 # Output 
20 AC_CONFIG_FILES([
21         Makefile
22         src/Makefile
23         data/Makefile
24         docs/Makefile
25         docs/api/Makefile
26 ])
27 AC_OUTPUT