1 dnl Process this file with autoconf to produce a configure script.
5 AC_INIT([geanyprj], [0.2], [yurand2@gmail.com])
7 AM_INIT_AUTOMAKE([1.9 foreign])
12 PKG_CHECK_MODULES(GTK, [gtk+-2.0])
16 dnl check for geany source location
18 AC_ARG_WITH(geany-src, [ --with-geany-src=ARG Geany source code location (default ../geany)],[
23 AC_CHECK_FILE(${GEANY_SRC}/src/geany.h,[],[
24 echo "FATAL ERROR: Geany source code not found"
25 echo "make sure you install Geany source code"
26 echo "Use --with-geany-src=ARG option to"
27 echo "specify it's location"
33 PKG_CHECK_MODULES([CHECK], [check >= 0.9.4], [
34 AC_SUBST(CHECK_CFLAGS)
36 AM_CONDITIONAL(UNITTESTS, true)
38 AM_CONDITIONAL(UNITTESTS, false)
42 AC_CONFIG_FILES([Makefile])