* Road plan (HACKING)
[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
14 # Define odd RSL install location
15 #AC_SUBST(RSL_CFLAGS, "-I/usr/local/trmm/GVBOX/include/")
16 #AC_SUBST(RSL_LIBS,   "-L/usr/local/trmm/GVBOX/lib/ -lrsl")
17 AC_SUBST(RSL_CFLAGS, "")
18 AC_SUBST(RSL_LIBS,   "-lrsl")
19
20 # Output 
21 AC_CONFIG_FILES([
22         Makefile
23         src/Makefile
24         data/Makefile
25         docs/Makefile
26         docs/api/Makefile
27 ])
28 AC_OUTPUT