X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=configure.ac;h=5057920a9d723397abe6b80770dca2d9707bf5ec;hb=c06595af2aec45b33ad8b731ea5775ac72b42d1d;hp=311ae15339e907e5f3295adb298dd25659d8d15a;hpb=9149f18ce0f0f2910ab79e4ce75ff08e1de48790;p=ctsim.git diff --git a/configure.ac b/configure.ac index 311ae15..5057920 100644 --- a/configure.ac +++ b/configure.ac @@ -312,19 +312,6 @@ LDFLAGS="$X_LIBS $LDFLAGS" AC_CHECK_LIB(Xt, XtToolkitThreadInitialize, AC_DEFINE(X_THREAD_SUPPORT,1,[x thread supported]), , $X_PRE_LIBS $X_BASIC_LIBS $X_EXTRA_LIBS) LDFLAGS="$our_saved_LDFLAGS" -dnl Check in -lXext for double buffering extensions to X11, and check -dnl whether appropriate header files are present. (Some systems have one -dnl but not the other.) -our_saved_LDFLAGS="$LDFLAGS" -LDFLAGS="$X_LIBS $LDFLAGS" -AC_CHECK_LIB(Xext, XdbeQueryExtension, AC_DEFINE(HAVE_DBE_SUPPORT,1,[x dbe support]), , -lX11 "$X_EXTRA_LIBS") -AC_CHECK_LIB(Xext, XmbufQueryExtension, AC_DEFINE(HAVE_MBX_SUPPORT,1,[x mbx support]), , -lX11 "$X_EXTRA_LIBS") -LDFLAGS="$our_saved_LDFLAGS" -our_saved_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$X_CFLAGS $CPPFLAGS" -AC_CHECK_HEADERS(X11/extensions/Xdbe.h X11/extensions/multibuf.h) -CPPFLAGS="$our_saved_CPPFLAGS" - dnl Our Makefile.am files test the automake variable NO_X to determine dnl whether X should be supported. AM_CONDITIONAL(NO_X, test "x$no_x" = "xyes")