(HAVE_XAW3D): Disable Xaw3d check if --without-toolkit-scroll-bars

was specified.
This commit is contained in:
Eli Zaretskii 2006-04-01 13:48:54 +00:00
parent 9022d850a3
commit 5f17041ce2

View 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,