AC_INIT(qroverlay.cpp) AM_CONFIG_HEADER(config.h) AM_INIT_AUTOMAKE(qroverlay, 0.1.0) AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL GTK_REQUIRED_VERSION=2.0.0 GLIB_REQUIRED_VERSION=$GTK_REQUIRED_VERSION AM_PATH_GLIB_2_0($GLIB_REQUIRED_VERSION,, [AC_MSG_ERROR(Test for GLib failed.)], gobject) AM_PATH_GTK_2_0($GTK_REQUIRED_VERSION,, [AC_MSG_ERROR(Test for GTK failed.)]) AC_SUBST(INTI_CFLAGS) AC_SUBST(INTI_LIBS) AC_CHECK_LIB(zbar, zbar_version) AC_CHECK_LIB(X11, XOpenDisplay) AC_CHECK_LIB(Xext, XShapeCombineMask) AC_CHECK_LIB(Xinerama, XineramaQueryExtension) #AC_CHECK_LIB(gtkmm, gtk_init) PKG_CHECK_MODULES(DEPS, gtkmm-2.4 >= 2.4.0) AC_HEADER_STDC AC_CHECK_HEADERS(stdlib.h stdio.h unistd.h locale.h string.h gtk/gtk.h) #include #include #include #include #include #//For System Tray #include #//For OSD #include #include #include #include #//For ZBAR #include #include #include AC_PROG_CXX AC_OUTPUT(Makefile)