AC_INIT
AC_CONFIG_HEADERS([include/config.h])
AC_PATH_XTRA
# If there's some oddball X11 include path, we need it to check there for
# Xinerama headers.
if test -n "$x_includes"; then
CPPFLAGS="$CPPFLAGS -I $x_includes"
fi
AC_CHECK_HEADERS([X11/extensions/Xinerama.h], [have_xinerama=yes])
if test "$have_xinerama" = yes; then
EXTRA_LIBRARIES="extra-libraries: Xinerama"
else
EXTRA_LIBRARIES=""
echo "WARNING: Xinerama headers not found. Building without Xinerama support"
fi
AC_SUBST([EXTRA_LIBRARIES])
AC_CONFIG_FILES([X11-extras.buildinfo])
AC_OUTPUT