packaging fixes
[grits] / configure.ac
1 # Init and options
2 AC_INIT([aweather], [0.2.1], [spenceal@rose-hulman.edu])
3 AM_INIT_AUTOMAKE([-Wall -Werror -Wno-portability foreign])
4 AC_CONFIG_HEADERS([config.h])
5 AC_CONFIG_MACRO_DIR([m4])
6
7 # Check for required programs
8 AC_PROG_CC
9 AC_PROG_LIBTOOL
10 PKG_PROG_PKG_CONFIG
11 GTK_DOC_CHECK(1.9)
12
13 # Check for required packages
14 PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.14 gobject-2.0 gthread-2.0 gmodule-export-2.0)
15 PKG_CHECK_MODULES(GTK,  gtk+-2.0 >= 2.16 gtkglext-1.0)
16 PKG_CHECK_MODULES(SOUP, libsoup-2.4 >= 2.26)
17
18 # Define odd RSL install location
19 #AC_SUBST(RSL_CFLAGS, "-I/usr/local/trmm/GVBOX/include/")
20 #AC_SUBST(RSL_LIBS,   "-L/usr/local/trmm/GVBOX/lib/ -lrsl")
21 AC_SUBST(RSL_CFLAGS, "")
22 AC_SUBST(RSL_LIBS,   "-lrsl")
23
24 # Output 
25 AC_CONFIG_FILES([
26         Makefile
27         src/Makefile
28         src/gis/Makefile
29         src/gis/libgis.pc
30         src/plugins/Makefile
31         data/Makefile
32         docs/Makefile
33         docs/api/Makefile
34 ])
35 AC_OUTPUT