]> Pileus Git - grits/blob - configure.ac
* Fixing some memory leaks. A few minor ones in AWeather and a major one in RSL
[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 AC_SUBST(RSL_CFLAGS, "")
19 AC_SUBST(RSL_LIBS,   "-lrsl")
20
21 # Output 
22 AC_CONFIG_FILES([
23         Makefile
24         src/Makefile
25         data/Makefile
26         docs/Makefile
27         docs/api/Makefile
28 ])
29 AC_OUTPUT