comparison configure.in @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 27bc7f280385
comparison
equal deleted inserted replaced
1:c0c6a60d29db 2:ac2d302a0011
113 internal_makefile_list='Makefile lib-src/Makefile.in man/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' 113 internal_makefile_list='Makefile lib-src/Makefile.in man/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in'
114 energize_version='no' 114 energize_version='no'
115 native_sound_lib='' 115 native_sound_lib=''
116 # make normal error-checking be the default in alpha and beta versions, so 116 # make normal error-checking be the default in alpha and beta versions, so
117 # that bugs get noticed. Change this for released versions. 117 # that bugs get noticed. Change this for released versions.
118 error_check_default='no' 118 error_check_default='yes'
119 error_check_extents=$error_check_default 119 error_check_extents=$error_check_default
120 error_check_typecheck=$error_check_default 120 error_check_typecheck=$error_check_default
121 error_check_bufpos=$error_check_default 121 error_check_bufpos=$error_check_default
122 error_check_gc=$error_check_default 122 error_check_gc=$error_check_default
123 error_check_malloc=$error_check_default 123 error_check_malloc=$error_check_default
224 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). 224 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no).
225 (Lucid menubars and scrollbars are the default. 225 (Lucid menubars and scrollbars are the default.
226 Motif dialog boxes will be used if Motif can be 226 Motif dialog boxes will be used if Motif can be
227 found.) 227 found.)
228 --with-cde (*) Compile in support for CDE drag and drop. 228 --with-cde (*) Compile in support for CDE drag and drop.
229 --with-offix (*) Compile in support for OffiX drag and drop.
229 --with-xpm (*) Compile with support for XPM files. 230 --with-xpm (*) Compile with support for XPM files.
230 It is highly recommended that you obtain XPM 231 It is highly recommended that you obtain XPM
231 (version 3.4g or better) if you don't already 232 (version 3.4g or better) if you don't already
232 have it. Get it from the XEmacs FTP site. 233 have it. Get it from the XEmacs FTP site.
233 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu. 234 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu.
638 ;; 639 ;;
639 esac 640 esac
640 eval "${opt}=\"${val}\"" 641 eval "${opt}=\"${val}\""
641 ;; 642 ;;
642 643
644 ## Has the user requested OffiX support?
645 "with_offix" )
646 ## Make sure the value given was either "yes" or "no".
647 case "${val}" in
648 y | ye | yes ) val=yes ;;
649 n | no ) val=no ;;
650 * )
651 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value.
652 Set it to either \`yes' or \`no'."
653 echo "${short_usage}") >&2
654 exit 1
655 ;;
656 esac
657 eval "${opt}=\"${val}\""
658 ;;
659
643 ## Has the user requested XPM support? 660 ## Has the user requested XPM support?
644 "with_xpm" ) 661 "with_xpm" )
645 ## Make sure the value given was either "yes" or "no". 662 ## Make sure the value given was either "yes" or "no".
646 case "${val}" in 663 case "${val}" in
647 y | ye | yes ) val=yes ;; 664 y | ye | yes ) val=yes ;;
2138 # FSF 19.31 has NON_GNU_CPP=/usr/lib/cpp for SunOS 4.x. 2155 # FSF 19.31 has NON_GNU_CPP=/usr/lib/cpp for SunOS 4.x.
2139 2156
2140 case "${canonical}" in 2157 case "${canonical}" in
2141 ## The Sun386 didn't get past 4.0. 2158 ## The Sun386 didn't get past 4.0.
2142 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;; 2159 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;;
2143 *-sunos4.0* ) opsys=sunos4-0 ;;
2144 *-sunos4.1.2* ) opsys=sunos4-1-2 ;;
2145 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;;
2146 *-sunos4shr* ) opsys=sunos4-0shr ;; 2160 *-sunos4shr* ) opsys=sunos4-0shr ;;
2147 *-sunos4-0shr* ) opsys=sunos4-0shr ;; 2161 *-sunos4-0shr* ) opsys=sunos4-0shr ;;
2148 *-sunos4-1shr* ) opsys=sunos4-1shr ;; 2162 *-sunos4-1shr* ) opsys=sunos4-1shr ;;
2149 *-sunos4-1-2shr* ) opsys=sunos4-1-2shr ;; 2163 *-sunos4-1-2shr* ) opsys=sunos4-1-2shr ;;
2150 *-sunos4-1-[3-9]shr* ) opsys=sunos4-1-3shr ;; 2164 *-sunos4-1-[3-9]shr* ) opsys=sunos4-1-3shr ;;
2165 *-sunos4.0* ) opsys=sunos4-0 ;;
2166 *-sunos4.1.2* ) opsys=sunos4-1-2 ;;
2167 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;;
2151 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; 2168 *-sunos4* | *-sunos ) opsys=sunos4-1 ;;
2152 2169
2153 *-solaris2.3* ) opsys=sol2-3 ;; 2170 *-solaris2.3* ) opsys=sol2-3 ;;
2154 *-solaris2.4* ) opsys=sol2-4 ;; 2171 *-solaris2.4* ) opsys=sol2-4 ;;
2155 *-solaris2.5* ) opsys=sol2-5 ;; 2172 *-solaris2.5* ) opsys=sol2-5 ;;
2728 fi 2745 fi
2729 if [ "x${with_cde}" != x ]; then 2746 if [ "x${with_cde}" != x ]; then
2730 ] AC_WARN(--with-cde ignored: Not valid without X support) [ 2747 ] AC_WARN(--with-cde ignored: Not valid without X support) [
2731 with_menubars='no' 2748 with_menubars='no'
2732 fi 2749 fi
2750 if [ "x${with_offix}" != x ]; then
2751 ] AC_WARN(--with-offix ignored: Not valid without X support) [
2752 with_offix='no'
2753 fi
2733 if [ "x${with_menubars}" != x ]; then 2754 if [ "x${with_menubars}" != x ]; then
2734 ] AC_WARN(--with-menubars ignored: Not valid without X support) [ 2755 ] AC_WARN(--with-menubars ignored: Not valid without X support) [
2735 with_menubars='no' 2756 with_menubars='no'
2736 fi 2757 fi
2737 if [ "x${with_scrollbars}" != x ]; then 2758 if [ "x${with_scrollbars}" != x ]; then
2745 if [ "x${with_toolbars}" != x ]; then 2766 if [ "x${with_toolbars}" != x ]; then
2746 ] AC_WARN(--with-toolbars ignored: Not valid without X support) [ 2767 ] AC_WARN(--with-toolbars ignored: Not valid without X support) [
2747 with_toolbars='no' 2768 with_toolbars='no'
2748 fi 2769 fi
2749 with_cde='no' 2770 with_cde='no'
2771 with_offix='no'
2750 with_menubars='no' 2772 with_menubars='no'
2751 with_scrollbars='no' 2773 with_scrollbars='no'
2752 with_dialogs='no' 2774 with_dialogs='no'
2753 with_toolbars='no' 2775 with_toolbars='no'
2754 elif [ -z "${with_toolbars}" ] ; then 2776 elif [ -z "${with_toolbars}" ] ; then
3192 fi 3214 fi
3193 fi 3215 fi
3194 fi 3216 fi
3195 if test "${with_cde}" = "yes" ; then 3217 if test "${with_cde}" = "yes" ; then
3196 AC_DEFINE(HAVE_CDE) 3218 AC_DEFINE(HAVE_CDE)
3219 fi
3220
3221 #
3222 # See if we can find OffiX.
3223 #
3224 if test "${window_system}" != "none" ; then
3225 if test "${with_offix}" != "no" ; then
3226 if test "${with_offix}" != "yes" ; then
3227 internal_offix_lib_found='no'
3228 AC_HAVE_LIBRARY(-lDnd, internal_offix_lib_found='yes')
3229 if test "${internal_offix_lib_found}" = "yes" ; then
3230 internal_offix_includes_found='no'
3231 for arg in ${DEFS} /usr/include
3232 do
3233 if test -f `echo "${arg}/OffiX/DragAndDrop.h" | sed 's/^\-I//'` ; then
3234 internal_offix_includes_found='yes'
3235 fi
3236 done
3237 if test "${internal_offix_includes_found}" = "yes" ; then
3238 with_offix='yes'
3239 fi
3240 fi
3241 fi
3242 fi
3243 fi
3244 if test "${with_offix}" = "yes" ; then
3245 AC_DEFINE(HAVE_OFFIX_DND)
3197 fi 3246 fi
3198 3247
3199 # 3248 #
3200 # See if we can find Xlocale.h. 3249 # See if we can find Xlocale.h.
3201 # 3250 #
4312 if [ "$with_tooltalk" = "yes" ]; then 4361 if [ "$with_tooltalk" = "yes" ]; then
4313 echo " Compiling in support for ToolTalk." 4362 echo " Compiling in support for ToolTalk."
4314 fi 4363 fi
4315 if [ "$with_cde" = "yes" ]; then 4364 if [ "$with_cde" = "yes" ]; then
4316 echo " Compiling in support for CDE." 4365 echo " Compiling in support for CDE."
4366 fi
4367 if [ "$with_offix" = "yes" ]; then
4368 echo " Compiling in support for OffiX."
4317 fi 4369 fi
4318 if [ "$with_mocklisp" = "yes" ]; then 4370 if [ "$with_mocklisp" = "yes" ]; then
4319 echo " Compiling in support for Mocklisp." 4371 echo " Compiling in support for Mocklisp."
4320 fi 4372 fi
4321 if [ "$with_sparcworks" = "yes" ]; then 4373 if [ "$with_sparcworks" = "yes" ]; then