-
-dnl Check for Xinerama extension support
-AC_MSG_CHECKING([whether to build support for the Xinerama extension])
-XINERAMA="no"
-AC_ARG_ENABLE(xinerama,
-[ --enable-xinerama enable support of the Xinerama extension [default=no]],
- if test "$enableval" = "yes"; then
- AC_MSG_RESULT([yes])
-
- AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
- AC_MSG_CHECKING([for X11/extensions/Xinerama.h])
- AC_TRY_LINK(
- [#include <X11/Xlib.h>
- #include <X11/extensions/Xinerama.h>],
- XineramaScreenInfo foo,
-
- AC_MSG_RESULT([yes])
- XINERAMA="yes"
- AC_DEFINE(XINERAMA,1,Enable support of the Xinerama extension)
- LIBS="$LIBS -lXinerama",
-
- AC_MSG_RESULT([no])
- )
- )
-
- AC_MSG_CHECKING([for the Xinerama extension])
- if test "$XINRERAMA" = "yes"; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_RESULT([no])
- fi
- else
- AC_MSG_RESULT([no])
- fi,
- AC_MSG_RESULT([no])
-)
-
-dnl Print results
-AC_MSG_RESULT([])
-AC_MSG_RESULT([ $PACKAGE version $VERSION configured successfully.])
-AC_MSG_RESULT([])
-AC_MSG_RESULT([Using '$prefix' for installation.])
-AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
-AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
-AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
-AC_MSG_RESULT([])
-
-
-dnl Output files
-AM_CONFIG_HEADER(config.h)
-AC_OUTPUT(
- version.h
- Makefile
- src/Makefile
- util/Makefile
- util/epist/Makefile
- doc/Makefile
- data/Makefile
- data/styles/Makefile
-)