]> code.delx.au - gnu-emacs/commitdiff
(HAVE_XAW3D): Disable Xaw3d check if --without-toolkit-scroll-bars
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2006 13:48:54 +0000 (13:48 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Apr 2006 13:48:54 +0000 (13:48 +0000)
was specified.

configure.in

index 6aacfd2bcd4fe83809d97430af3b23132fbde75d..31aebae1a1bf8b896393d292d82aca29e956c10c 100644 (file)
@@ -2180,7 +2180,7 @@ fi
 ### Is -lXaw3d available?
 HAVE_XAW3D=no
 if test "${HAVE_X11}" = "yes"; then
-  if test "${USE_X_TOOLKIT}" != "none"; then
+  if test "${USE_X_TOOLKIT}" != "none" && test "${with_toolkit_scroll_bars}" != "no"; then
     dnl Fixme: determine what Scrollbar.h needs to avoid compilation
     dnl errors from the test without the `-'.
     AC_CHECK_HEADER(X11/Xaw3d/Scrollbar.h,