comparison configure.in @ 581:5c09e1d634a3

[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.
author ben
date Sat, 26 May 2001 12:27:47 +0000
parents 4a2749e56f92
children 5ce8d1ac7bde
comparison
equal deleted inserted replaced
580:55e998c311f5 581:5c09e1d634a3
3054 fi 3054 fi
3055 3055
3056 dnl Autodetect CDE 3056 dnl Autodetect CDE
3057 test -z "$with_cde" && { AC_CHECK_HEADER(Dt/Dt.h, , with_cde=no) } 3057 test -z "$with_cde" && { AC_CHECK_HEADER(Dt/Dt.h, , with_cde=no) }
3058 test -z "$with_cde" && { AC_CHECK_LIB(DtSvc, DtDndDragStart, [:], with_cde=no) } 3058 test -z "$with_cde" && { AC_CHECK_LIB(DtSvc, DtDndDragStart, [:], with_cde=no) }
3059 if test "$with_dragndrop" = "no" ; then
3060 if test "$with_cde" = "yes" ; then
3061 AC_MSG_WARN([--with-cde forced to \`no'; no generic Drag'n'Drop support])
3062 fi
3063 with_cde=no
3064 fi
3059 test -z "$with_cde" && with_cde=yes 3065 test -z "$with_cde" && with_cde=yes
3060 if test "$with_dragndrop" = no; then
3061 AC_MSG_WARN([No CDE without generic Drag'n'Drop support])
3062 with_cde=no
3063 fi
3064 if test "$with_cde" = "yes" ; then 3066 if test "$with_cde" = "yes" ; then
3065 AC_DEFINE(HAVE_CDE) 3067 AC_DEFINE(HAVE_CDE)
3066 XE_PREPEND(-lDtSvc, libs_x) 3068 XE_PREPEND(-lDtSvc, libs_x)
3067 XE_APPEND(CDE, dragndrop_proto) 3069 XE_APPEND(CDE, dragndrop_proto)
3068 with_tooltalk=yes # CDE requires Tooltalk 3070 with_tooltalk=yes # CDE requires Tooltalk
3074 dnl or dragndrop support is disabled 3076 dnl or dragndrop support is disabled
3075 dnl Because OffiX support currently loses when more than one display 3077 dnl Because OffiX support currently loses when more than one display
3076 dnl is in use, we now disable it by default -slb 07/10/1998. 3078 dnl is in use, we now disable it by default -slb 07/10/1998.
3077 test "$window_system" != "x11" && with_offix=no 3079 test "$window_system" != "x11" && with_offix=no
3078 if test "$with_xmu" != yes -a "$with_x11" = yes; then 3080 if test "$with_xmu" != yes -a "$with_x11" = yes; then
3079 AC_MSG_WARN([No OffiX without real Xmu support]) 3081 if test "$with_offix" = "yes" ; then
3082 AC_MSG_WARN([--with-offix forced to \`no'; no real Xmu support])
3083 fi
3080 with_offix=no 3084 with_offix=no
3081 fi 3085 fi
3082 if test "$with_dragndrop" = no; then 3086 if test "$with_dragndrop" = no; then
3083 AC_MSG_WARN([No OffiX without generic Drag'n'Drop support]) 3087 if test "$with_offix" = "yes" ; then
3088 AC_MSG_WARN([--with-offix forced to \`no'; no generic Drag'n'Drop support])
3089 fi
3084 with_offix=no 3090 with_offix=no
3085 fi 3091 fi
3086 if test "$with_cde" = yes; then 3092 if test "$with_cde" = yes; then
3087 AC_MSG_WARN([CDE already found, disabling OffiX support]) 3093 if test "$with_offix" = "yes" ; then
3094 AC_MSG_WARN([--with-offix forced to \`no'; CDE already found])
3095 fi
3088 with_offix=no 3096 with_offix=no
3089 fi 3097 fi
3090 test -z "$with_offix" && with_offix=no 3098 test -z "$with_offix" && with_offix=no
3091 if test "$with_offix" = "yes"; then 3099 if test "$with_offix" = "yes"; then
3092 AC_DEFINE(HAVE_OFFIX_DND) 3100 AC_DEFINE(HAVE_OFFIX_DND)
4389 with_modules=yes 4397 with_modules=yes
4390 else 4398 else
4391 if test "$with_modules" = "yes"; then 4399 if test "$with_modules" = "yes"; then
4392 XE_DIE("Required module support cannot be provided.") 4400 XE_DIE("Required module support cannot be provided.")
4393 else 4401 else
4394 AC_MSG_WARN([Module support cannot be provided.]) 4402 echo " No module support."
4395 fi 4403 fi
4396 with_modules=no 4404 with_modules=no
4397 fi 4405 fi
4398 fi 4406 fi
4399 4407