X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=configure.ac;h=28461849e441d4e9acb1d0441cdb83daf61c1b2e;hb=aedfa1fe1d91a10ccfe3ee6ac6b7a25885623dc6;hp=467de30b428eeb3a31d7957796a68b06a21fcdd1;hpb=32cd2d20477ab17704f0a2696c2b3bc2ff8f42de;p=free-sw%2Fxcb%2Flibxcb diff --git a/configure.ac b/configure.ac index 467de30..2846184 100644 --- a/configure.ac +++ b/configure.ac @@ -8,11 +8,7 @@ AC_INIT([libxcb], AC_CONFIG_SRCDIR([xcb.pc.in]) AM_INIT_AUTOMAKE([foreign dist-bzip2]) -dnl This ifdef has no useful effect prior to automake 1.9, but in 1.9 -dnl it allows the user to not have check.m4 installed. -m4_ifdef([AM_PATH_CHECK],[ -AM_PATH_CHECK(0.8.2, [HAVE_CHECK=true], [HAVE_CHECK=false]) -]) +PKG_CHECK_MODULES(CHECK, [check >= 0.9.4], [HAVE_CHECK=true], [HAVE_CHECK=false]) AM_CONDITIONAL(HAVE_CHECK, test x$HAVE_CHECK = xtrue) AC_CONFIG_HEADERS([src/config.h]) @@ -118,7 +114,9 @@ AC_SUBST(CWARNFLAGS) GCC_CHECK_VISIBILITY() -AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile]) +AM_CHECK_DOXYGEN() + +AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile doc/Makefile]) AC_CONFIG_FILES([xcb.pc xcb-xlib.pc xcb-composite.pc xcb-damage.pc xcb-dpms.pc xcb-glx.pc xcb-randr.pc xcb-record.pc xcb-render.pc xcb-res.pc xcb-screensaver.pc xcb-shape.pc xcb-shm.pc xcb-sync.pc xcb-xevie.pc xcb-xf86dri.pc xcb-xfixes.pc xcb-xinerama.pc xcb-xprint.pc xcb-xtest.pc xcb-xv.pc xcb-xvmc.pc]) AC_OUTPUT