Codebase list icon-slicer / HEAD configure.ac
HEAD

Tree @HEAD (Download .tar.gz)

configure.ac @HEADraw · history · blame

AC_PREREQ(2.54)

AC_INIT([icon-slicer], [0.3])

AC_CONFIG_SRCDIR([src/themefile.h])
AM_INIT_AUTOMAKE(no-define)
AM_CONFIG_HEADER(config.h)

AC_PROG_CC

changequote(,)dnl
if test "x$GCC" = "xyes"; then
  case " $CFLAGS " in
  *[\ \	]-Wall[\ \	]*) ;;
  *) CFLAGS="$CFLAGS -Wall" ;;
  esac
fi
changequote([,])dnl

PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= 2.0.0,,
	          AC_MSG_ERROR([GTK+-2.0 is required to compile icon-slicer]))

AC_CHECK_LIB(popt, poptGetContext,
  [POPT_LIBS="-lpopt"
   AC_SUBST(POPT_LIBS)],
  [AC_MSG_ERROR([popt library is needed to build icon-slicer])])

AC_CONFIG_FILES([
Makefile
src/Makefile
examples/Makefile
])

AC_OUTPUT