AC_INIT(eagle, 0.1) AC_PROG_CC # FIXME: We should make the x11-dri2 backend optional PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES(EAGLE, [libdrm dri x11 xfixes xext libudev >= 136]) if test $CC = gcc; then GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden" fi AC_SUBST(GCC_CFLAGS) AC_CONFIG_FILES([Makefile eagle.pc test/Makefile]) AC_OUTPUT