Mercurial > hg > xemacs-beta
comparison configure @ 2:ac2d302a0011 r19-15b2
Import from CVS: tag r19-15b2
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 08:46:35 +0200 |
| parents | 376386a54a3c |
| children | 4b173ad71786 |
comparison
equal
deleted
inserted
replaced
| 1:c0c6a60d29db | 2:ac2d302a0011 |
|---|---|
| 98 internal_makefile_list='Makefile lib-src/Makefile.in man/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' | 98 internal_makefile_list='Makefile lib-src/Makefile.in man/Makefile.in src/Makefile.in lwlib/Makefile.in dynodump/Makefile.in' |
| 99 energize_version='no' | 99 energize_version='no' |
| 100 native_sound_lib='' | 100 native_sound_lib='' |
| 101 # make normal error-checking be the default in alpha and beta versions, so | 101 # make normal error-checking be the default in alpha and beta versions, so |
| 102 # that bugs get noticed. Change this for released versions. | 102 # that bugs get noticed. Change this for released versions. |
| 103 error_check_default='no' | 103 error_check_default='yes' |
| 104 error_check_extents=$error_check_default | 104 error_check_extents=$error_check_default |
| 105 error_check_typecheck=$error_check_default | 105 error_check_typecheck=$error_check_default |
| 106 error_check_bufpos=$error_check_default | 106 error_check_bufpos=$error_check_default |
| 107 error_check_gc=$error_check_default | 107 error_check_gc=$error_check_default |
| 108 error_check_malloc=$error_check_default | 108 error_check_malloc=$error_check_default |
| 209 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). | 209 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). |
| 210 (Lucid menubars and scrollbars are the default. | 210 (Lucid menubars and scrollbars are the default. |
| 211 Motif dialog boxes will be used if Motif can be | 211 Motif dialog boxes will be used if Motif can be |
| 212 found.) | 212 found.) |
| 213 --with-cde (*) Compile in support for CDE drag and drop. | 213 --with-cde (*) Compile in support for CDE drag and drop. |
| 214 --with-offix (*) Compile in support for OffiX drag and drop. | |
| 214 --with-xpm (*) Compile with support for XPM files. | 215 --with-xpm (*) Compile with support for XPM files. |
| 215 It is highly recommended that you obtain XPM | 216 It is highly recommended that you obtain XPM |
| 216 (version 3.4g or better) if you don't already | 217 (version 3.4g or better) if you don't already |
| 217 have it. Get it from the XEmacs FTP site. | 218 have it. Get it from the XEmacs FTP site. |
| 218 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu. | 219 --with-xmu=no (*) For those unfortunates whose vendors don't ship Xmu. |
| 609 eval "${opt}=\"${val}\"" | 610 eval "${opt}=\"${val}\"" |
| 610 ;; | 611 ;; |
| 611 | 612 |
| 612 ## Has the user requested CDE support? | 613 ## Has the user requested CDE support? |
| 613 "with_cde" ) | 614 "with_cde" ) |
| 615 ## Make sure the value given was either "yes" or "no". | |
| 616 case "${val}" in | |
| 617 y | ye | yes ) val=yes ;; | |
| 618 n | no ) val=no ;; | |
| 619 * ) | |
| 620 (echo "${progname}: the \`--${optname}' option is supposed to have a boolean value. | |
| 621 Set it to either \`yes' or \`no'." | |
| 622 echo "${short_usage}") >&2 | |
| 623 exit 1 | |
| 624 ;; | |
| 625 esac | |
| 626 eval "${opt}=\"${val}\"" | |
| 627 ;; | |
| 628 | |
| 629 ## Has the user requested OffiX support? | |
| 630 "with_offix" ) | |
| 614 ## Make sure the value given was either "yes" or "no". | 631 ## Make sure the value given was either "yes" or "no". |
| 615 case "${val}" in | 632 case "${val}" in |
| 616 y | ye | yes ) val=yes ;; | 633 y | ye | yes ) val=yes ;; |
| 617 n | no ) val=no ;; | 634 n | no ) val=no ;; |
| 618 * ) | 635 * ) |
| 2133 # FSF 19.31 has NON_GNU_CPP=/usr/lib/cpp for SunOS 4.x. | 2150 # FSF 19.31 has NON_GNU_CPP=/usr/lib/cpp for SunOS 4.x. |
| 2134 | 2151 |
| 2135 case "${canonical}" in | 2152 case "${canonical}" in |
| 2136 ## The Sun386 didn't get past 4.0. | 2153 ## The Sun386 didn't get past 4.0. |
| 2137 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;; | 2154 i[3-9]86-*-sunos4 ) opsys=sunos4-0 ;; |
| 2138 *-sunos4.0* ) opsys=sunos4-0 ;; | |
| 2139 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; | |
| 2140 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;; | |
| 2141 *-sunos4shr* ) opsys=sunos4-0shr ;; | 2155 *-sunos4shr* ) opsys=sunos4-0shr ;; |
| 2142 *-sunos4-0shr* ) opsys=sunos4-0shr ;; | 2156 *-sunos4-0shr* ) opsys=sunos4-0shr ;; |
| 2143 *-sunos4-1shr* ) opsys=sunos4-1shr ;; | 2157 *-sunos4-1shr* ) opsys=sunos4-1shr ;; |
| 2144 *-sunos4-1-2shr* ) opsys=sunos4-1-2shr ;; | 2158 *-sunos4-1-2shr* ) opsys=sunos4-1-2shr ;; |
| 2145 *-sunos4-1-[3-9]shr* ) opsys=sunos4-1-3shr ;; | 2159 *-sunos4-1-[3-9]shr* ) opsys=sunos4-1-3shr ;; |
| 2160 *-sunos4.0* ) opsys=sunos4-0 ;; | |
| 2161 *-sunos4.1.2* ) opsys=sunos4-1-2 ;; | |
| 2162 *-sunos4.1.[3-9]* ) opsys=sunos4-1-3 ;; | |
| 2146 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; | 2163 *-sunos4* | *-sunos ) opsys=sunos4-1 ;; |
| 2147 | 2164 |
| 2148 *-solaris2.3* ) opsys=sol2-3 ;; | 2165 *-solaris2.3* ) opsys=sol2-3 ;; |
| 2149 *-solaris2.4* ) opsys=sol2-4 ;; | 2166 *-solaris2.4* ) opsys=sol2-4 ;; |
| 2150 *-solaris2.5* ) opsys=sol2-5 ;; | 2167 *-solaris2.5* ) opsys=sol2-5 ;; |
| 3555 fi | 3572 fi |
| 3556 if [ "x${with_cde}" != x ]; then | 3573 if [ "x${with_cde}" != x ]; then |
| 3557 echo "configure: warning: --with-cde ignored: Not valid without X support" >&2 | 3574 echo "configure: warning: --with-cde ignored: Not valid without X support" >&2 |
| 3558 with_menubars='no' | 3575 with_menubars='no' |
| 3559 fi | 3576 fi |
| 3577 if [ "x${with_offix}" != x ]; then | |
| 3578 echo "configure: warning: --with-offix ignored: Not valid without X support" >&2 | |
| 3579 with_offix='no' | |
| 3580 fi | |
| 3560 if [ "x${with_menubars}" != x ]; then | 3581 if [ "x${with_menubars}" != x ]; then |
| 3561 echo "configure: warning: --with-menubars ignored: Not valid without X support" >&2 | 3582 echo "configure: warning: --with-menubars ignored: Not valid without X support" >&2 |
| 3562 with_menubars='no' | 3583 with_menubars='no' |
| 3563 fi | 3584 fi |
| 3564 if [ "x${with_scrollbars}" != x ]; then | 3585 if [ "x${with_scrollbars}" != x ]; then |
| 3572 if [ "x${with_toolbars}" != x ]; then | 3593 if [ "x${with_toolbars}" != x ]; then |
| 3573 echo "configure: warning: --with-toolbars ignored: Not valid without X support" >&2 | 3594 echo "configure: warning: --with-toolbars ignored: Not valid without X support" >&2 |
| 3574 with_toolbars='no' | 3595 with_toolbars='no' |
| 3575 fi | 3596 fi |
| 3576 with_cde='no' | 3597 with_cde='no' |
| 3598 with_offix='no' | |
| 3577 with_menubars='no' | 3599 with_menubars='no' |
| 3578 with_scrollbars='no' | 3600 with_scrollbars='no' |
| 3579 with_dialogs='no' | 3601 with_dialogs='no' |
| 3580 with_toolbars='no' | 3602 with_toolbars='no' |
| 3581 elif [ -z "${with_toolbars}" ] ; then | 3603 elif [ -z "${with_toolbars}" ] ; then |
| 4221 echo "#define" HAVE_CDE "1" >> confdefs.h | 4243 echo "#define" HAVE_CDE "1" >> confdefs.h |
| 4222 DEFS="$DEFS -DHAVE_CDE=1" | 4244 DEFS="$DEFS -DHAVE_CDE=1" |
| 4223 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_CDE\${ac_dB}HAVE_CDE\${ac_dC}1\${ac_dD} | 4245 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_CDE\${ac_dB}HAVE_CDE\${ac_dC}1\${ac_dD} |
| 4224 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD} | 4246 \${ac_uA}HAVE_CDE\${ac_uB}HAVE_CDE\${ac_uC}1\${ac_uD} |
| 4225 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD} | 4247 \${ac_eA}HAVE_CDE\${ac_eB}HAVE_CDE\${ac_eC}1\${ac_eD} |
| 4248 " | |
| 4249 } | |
| 4250 | |
| 4251 fi | |
| 4252 | |
| 4253 # | |
| 4254 # See if we can find OffiX. | |
| 4255 # | |
| 4256 if test "${window_system}" != "none" ; then | |
| 4257 if test "${with_offix}" != "no" ; then | |
| 4258 if test "${with_offix}" != "yes" ; then | |
| 4259 internal_offix_lib_found='no' | |
| 4260 ac_save_LIBS="${LIBS}" | |
| 4261 LIBS="${LIBS} -lDnd" | |
| 4262 ac_have_lib="" | |
| 4263 test -n "$silent" || echo "checking for -lDnd" | |
| 4264 cat > conftest.${ac_ext} <<EOF | |
| 4265 #include "confdefs.h" | |
| 4266 | |
| 4267 int main() { return 0; } | |
| 4268 int t() { main();; return 0; } | |
| 4269 EOF | |
| 4270 if eval $ac_compile; then | |
| 4271 rm -rf conftest* | |
| 4272 ac_have_lib="1" | |
| 4273 | |
| 4274 fi | |
| 4275 rm -f conftest* | |
| 4276 LIBS="${ac_save_LIBS}" | |
| 4277 if test -n "${ac_have_lib}"; then | |
| 4278 :; internal_offix_lib_found='yes' | |
| 4279 else | |
| 4280 :; | |
| 4281 fi | |
| 4282 | |
| 4283 if test "${internal_offix_lib_found}" = "yes" ; then | |
| 4284 internal_offix_includes_found='no' | |
| 4285 for arg in ${DEFS} /usr/include | |
| 4286 do | |
| 4287 if test -f `echo "${arg}/OffiX/DragAndDrop.h" | sed 's/^\-I//'` ; then | |
| 4288 internal_offix_includes_found='yes' | |
| 4289 fi | |
| 4290 done | |
| 4291 if test "${internal_offix_includes_found}" = "yes" ; then | |
| 4292 with_offix='yes' | |
| 4293 fi | |
| 4294 fi | |
| 4295 fi | |
| 4296 fi | |
| 4297 fi | |
| 4298 if test "${with_offix}" = "yes" ; then | |
| 4299 | |
| 4300 { | |
| 4301 test -n "$verbose" && \ | |
| 4302 echo " defining HAVE_OFFIX_DND" | |
| 4303 echo "#define" HAVE_OFFIX_DND "1" >> confdefs.h | |
| 4304 DEFS="$DEFS -DHAVE_OFFIX_DND=1" | |
| 4305 ac_sed_defs="${ac_sed_defs}\${ac_dA}HAVE_OFFIX_DND\${ac_dB}HAVE_OFFIX_DND\${ac_dC}1\${ac_dD} | |
| 4306 \${ac_uA}HAVE_OFFIX_DND\${ac_uB}HAVE_OFFIX_DND\${ac_uC}1\${ac_uD} | |
| 4307 \${ac_eA}HAVE_OFFIX_DND\${ac_eB}HAVE_OFFIX_DND\${ac_eC}1\${ac_eD} | |
| 4226 " | 4308 " |
| 4227 } | 4309 } |
| 4228 | 4310 |
| 4229 fi | 4311 fi |
| 4230 | 4312 |
| 8008 if [ "$with_tooltalk" = "yes" ]; then | 8090 if [ "$with_tooltalk" = "yes" ]; then |
| 8009 echo " Compiling in support for ToolTalk." | 8091 echo " Compiling in support for ToolTalk." |
| 8010 fi | 8092 fi |
| 8011 if [ "$with_cde" = "yes" ]; then | 8093 if [ "$with_cde" = "yes" ]; then |
| 8012 echo " Compiling in support for CDE." | 8094 echo " Compiling in support for CDE." |
| 8095 fi | |
| 8096 if [ "$with_offix" = "yes" ]; then | |
| 8097 echo " Compiling in support for OffiX." | |
| 8013 fi | 8098 fi |
| 8014 if [ "$with_mocklisp" = "yes" ]; then | 8099 if [ "$with_mocklisp" = "yes" ]; then |
| 8015 echo " Compiling in support for Mocklisp." | 8100 echo " Compiling in support for Mocklisp." |
| 8016 fi | 8101 fi |
| 8017 if [ "$with_sparcworks" = "yes" ]; then | 8102 if [ "$with_sparcworks" = "yes" ]; then |
