# HG changeset patch # User ben # Date 990880067 0 # Node ID 5c09e1d634a3f24a889f0ba09828f07f4fff6673 # Parent 55e998c311f54c509d7d4434c80978af4ca9017c [xemacs-hg @ 2001-05-26 12:27:47 by ben] rewrite warning output so that it doesn't happen by default -- you should only get warnings when something is actively wrong, not just because a feature is not present. diff -r 55e998c311f5 -r 5c09e1d634a3 configure.in --- a/configure.in Sat May 26 12:24:55 2001 +0000 +++ b/configure.in Sat May 26 12:27:47 2001 +0000 @@ -3056,11 +3056,13 @@ dnl Autodetect CDE test -z "$with_cde" && { AC_CHECK_HEADER(Dt/Dt.h, , with_cde=no) } test -z "$with_cde" && { AC_CHECK_LIB(DtSvc, DtDndDragStart, [:], with_cde=no) } -test -z "$with_cde" && with_cde=yes -if test "$with_dragndrop" = no; then - AC_MSG_WARN([No CDE without generic Drag'n'Drop support]) +if test "$with_dragndrop" = "no" ; then + if test "$with_cde" = "yes" ; then + AC_MSG_WARN([--with-cde forced to \`no'; no generic Drag'n'Drop support]) + fi with_cde=no fi +test -z "$with_cde" && with_cde=yes if test "$with_cde" = "yes" ; then AC_DEFINE(HAVE_CDE) XE_PREPEND(-lDtSvc, libs_x) @@ -3076,15 +3078,21 @@ dnl is in use, we now disable it by default -slb 07/10/1998. test "$window_system" != "x11" && with_offix=no if test "$with_xmu" != yes -a "$with_x11" = yes; then - AC_MSG_WARN([No OffiX without real Xmu support]) + if test "$with_offix" = "yes" ; then + AC_MSG_WARN([--with-offix forced to \`no'; no real Xmu support]) + fi with_offix=no fi if test "$with_dragndrop" = no; then - AC_MSG_WARN([No OffiX without generic Drag'n'Drop support]) + if test "$with_offix" = "yes" ; then + AC_MSG_WARN([--with-offix forced to \`no'; no generic Drag'n'Drop support]) + fi with_offix=no fi if test "$with_cde" = yes; then - AC_MSG_WARN([CDE already found, disabling OffiX support]) + if test "$with_offix" = "yes" ; then + AC_MSG_WARN([--with-offix forced to \`no'; CDE already found]) + fi with_offix=no fi test -z "$with_offix" && with_offix=no @@ -4391,7 +4399,7 @@ if test "$with_modules" = "yes"; then XE_DIE("Required module support cannot be provided.") else - AC_MSG_WARN([Module support cannot be provided.]) + echo " No module support." fi with_modules=no fi