perspective + ridge
[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
10 # Check for required packages
11 PKG_CHECK_MODULES(GTK,  gtk+-2.0 gtkglext-1.0)
12 PKG_CHECK_MODULES(CURL, libcurl)
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
18 # Output 
19 AC_CONFIG_FILES([
20         Makefile
21         src/Makefile
22 ])
23 AC_OUTPUT