add Xft-build-support and Xinerama-build-support to the -help output add --enable-xinerama to configure
jump to
@@ -82,6 +82,36 @@ LIBS="$LIBS -lXext"
AC_DEFINE(SHAPE,1,Enable support of the XShape extension) fi +dnl Check for Xinerama extension support and proper library files. +XINERAMA="" +AC_MSG_CHECKING([whether to build support for the Xinerama extension]) +AC_ARG_ENABLE( + xinerama, [ --enable-xinerama enable support of the Xinerama extension [default=no]], + if test x$enableval = "xyes"; 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" + LIBS="$LIBS -lXinerama", + AC_MSG_RESULT([no]) + ) + ) + + else + AC_MSG_RESULT([no]) + fi, + AC_MSG_RESULT([no]) +) +if test x$XINERAMA = "xyes"; then + AC_DEFINE(XINERAMA,1,Enable support of the Xinerama extension) +fi + dnl Check for Xft extension support and proper library files. XFT="" AC_MSG_CHECKING([whether to build support for the Xft extension])
@@ -21,4 +21,6 @@ $ #CompileOptions
# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Kompileret med:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Optionen zum Kompilationszeitpunkt:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Opciones durante la compilación:\n\ Información extra para depuración: %s\n\ Forma: %s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp simulación ordenada de colores en imágenes: %s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Kompileerimisoptsioonid:\n\ Debuggimine\t\t\t%s\n\ Kuju:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp määratud teravustamine:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Options de compilation:\n\ Debugage\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Lissage ordonné:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Fordításnál állítható lehetõségek:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Opzioni in fase di compilazione:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# ¥³¥ó¥Ñ¥¤¥ë»þ¥ª¥×¥·¥ç¥ó:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -20,4 +20,6 @@ $ #CompileOptions
# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Gecompileerd met instellingen:\n\ Debugging: %s\n\ Shape: %s\n\ + Xft: %s\n\ + Xinerama: %s\n\ 8bpp Ordered Dithering: %s\n\n
@@ -20,4 +20,6 @@ $ #CompileOptions
# Kompileret med:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Opções em tempo de compilação:\n\ Informações extras para problemas:\t\t\t%s\n\ Forma:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Simulação ordenada de cores em imagens:\t%s\n\n
@@ -20,4 +20,6 @@ $ #CompileOptions
# Optiuni stabilite la compilare:\n\ Depanare\t\t\t%s\n\ Forma:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ Intretesere ordonata pentru 8bpp:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Izbire pri prevajanju:\n\ Razhro¹èevanje\t\t\t%s\n\ Oblika:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ Osembitno stresanje barv:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Kompilerad med:\n\ Avlusning\t\t\t%s\n\ Form:\t\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp ordnad dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Denetleme seçenekleri :\n\ Bilgilendirme\t\t\t%s\n\ Gölgeleme:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ R8b'e göre týzla:\t%s\n\n
@@ -22,4 +22,6 @@ # Compile time options:\n\
Debugging\t\t\t%s\n\ Interlacing:\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# ±àÒëÑ¡Ïî:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -21,4 +21,6 @@ $ #CompileOptions
# Compile time options:\n\ Debugging\t\t\t%s\n\ Shape:\t\t\t%s\n\ + Xft:\t\t\t\t%s\n\ + Xinerama:\t\t\t%s\n\ 8bpp Ordered Dithering:\t%s\n\n
@@ -77,6 +77,8 @@ printf(i18n(mainSet, mainCompileOptions,
"Compile time options:\n" " Debugging:\t\t\t%s\n" " Shape:\t\t\t%s\n" + " Xft:\t\t\t\t%s\n" + " Xinerama:\t\t\t%s\n" " 8bpp Ordered Dithering:\t%s\n\n"), #ifdef DEBUG i18n(CommonSet, CommonYes, "yes"),@@ -89,6 +91,18 @@ i18n(CommonSet, CommonYes, "yes"),
#else // !SHAPE i18n(CommonSet, CommonNo, "no"), #endif // SHAPE + +#ifdef XFT + i18n(CommonSet, CommonYes, "yes"), +#else // !XFT + i18n(CommonSet, CommonNo, "no"), +#endif // XFT + +#ifdef XINERAMA + i18n(CommonSet, CommonYes, "yes"), +#else // !XINERAMA + i18n(CommonSet, CommonNo, "no"), +#endif // XINERAMA #ifdef ORDEREDPSEUDO i18n(CommonSet, CommonYes, "yes")