comparison configure @ 82:6a378aca36af r20-0b91

Import from CVS: tag r20-0b91
author cvs
date Mon, 13 Aug 2007 09:07:36 +0200
parents 1ce6082ce73f
children ac0620f6398e
comparison
equal deleted inserted replaced
81:ebca3d831cea 82:6a378aca36af
200 --x-libraries=DIR Search for X libraries in DIR. 200 --x-libraries=DIR Search for X libraries in DIR.
201 --with-ns Support NeXTstep windows (not yet implemented). 201 --with-ns Support NeXTstep windows (not yet implemented).
202 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid 202 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
203 widgets emulate Motif (mostly) but are faster. 203 widgets emulate Motif (mostly) but are faster.
204 *WARNING* The Motif menubar is currently broken. 204 *WARNING* The Motif menubar is currently broken.
205 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no). 205 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena,
206 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). 206 athena3d, or no).
207 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no).
207 (Lucid menubars and scrollbars are the default. 208 (Lucid menubars and scrollbars are the default.
208 Motif dialog boxes will be used if Motif can be 209 Motif dialog boxes will be used if Motif can be
209 found.) 210 found.)
210 --with-cde (*) Compile in support for CDE drag and drop. 211 --with-cde (*) Compile in support for CDE drag and drop.
211 --with-offix (*) Compile in support for OffiX drag and drop. 212 --with-offix (*) Compile in support for OffiX drag and drop.
696 "with_menubars" | "with_scrollbars" | "with_dialogs" ) 697 "with_menubars" | "with_scrollbars" | "with_dialogs" )
697 ## value can be lucid, motif, or athena. 698 ## value can be lucid, motif, or athena.
698 case "${val}" in 699 case "${val}" in
699 l | lu | luc | luci | lucid ) val=lucid ;; 700 l | lu | luc | luci | lucid ) val=lucid ;;
700 m | mo | mot | moti | motif ) val=motif ;; 701 m | mo | mot | moti | motif ) val=motif ;;
702 athena3d | athena-3d ) val=athena3d ;;
701 a | at | ath | athe | athen | athena ) val=athena ;; 703 a | at | ath | athe | athen | athena ) val=athena ;;
702 n | no | non | none ) val=no ;; 704 n | no | non | none ) val=no ;;
703 * ) 705 * )
704 (echo "${progname}: the \`--${optname}' option should have one of the values:" 706 (echo "${progname}: the \`--${optname}' option should have one of the values:"
705 echo "\`lucid', \`motif', \`athena', or \`no'." 707 echo "\`lucid', \`motif', \`athena', or \`no'."
1031 1033
1032 ## Cydra 5 1034 ## Cydra 5
1033 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;; 1035 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;;
1034 1036
1035 ## Data General AViiON Machines 1037 ## Data General AViiON Machines
1038 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;;
1036 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;; 1039 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;;
1037 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;; 1040 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;;
1038 m88k-dg-dgux* ) machine=aviion opsys=dgux ;; 1041 m88k-dg-dgux* ) machine=aviion opsys=dgux ;;
1039 1042
1040 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;; 1043 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;;
1270 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; 1273 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;;
1271 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; 1274 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;;
1272 ## Iris 4D 1275 ## Iris 4D
1273 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; 1276 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;;
1274 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; 1277 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;;
1275 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 NON_GNU_CPP=/lib/cpp ;; 1278 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 ;;
1276 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; 1279 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;;
1277 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; 1280 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;;
1278 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; 1281 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;;
1279 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; 1282 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;;
1280 1283
4082 # Finish ensuring that we have values for the various toolkit items. 4085 # Finish ensuring that we have values for the various toolkit items.
4083 4086
4084 test "${with_menubars}" = "motif" -o \ 4087 test "${with_menubars}" = "motif" -o \
4085 "${with_scrollbars}" = "motif" -o \ 4088 "${with_scrollbars}" = "motif" -o \
4086 "${with_dialogs}" = "motif" && with_motif="yes" 4089 "${with_dialogs}" = "motif" && with_motif="yes"
4090 test "${with_menubars}" = "athena" -o \
4091 "${with_scrollbars}" = "athena" -o \
4092 "${with_dialogs}" = "athena" && with_athena="yes"
4093 test "${with_menubars}" = "athena3d" -o \
4094 "${with_scrollbars}" = "athena3d" -o \
4095 "${with_dialogs}" = "athena3d" && with_athena="yes"
4087 test "${with_menubars}" = "" && with_menubars="lucid" 4096 test "${with_menubars}" = "" && with_menubars="lucid"
4088 test "${with_menubars}" = "athena" && with_menubars="lucid" 4097 test "${with_menubars}" = "athena" && with_menubars="lucid"
4089 test "${with_scrollbars}" = "" && with_scrollbars="lucid" 4098 test "${with_scrollbars}" = "" && with_scrollbars="lucid"
4090 test "${with_dialogs}" = "" && with_dialogs="athena" 4099 test "${with_dialogs}" = "" && with_dialogs="athena"
4091 test "${with_dialogs}" = "lucid" && with_dialogs="athena" 4100 test "${with_dialogs}" = "lucid" && with_dialogs="athena"
4185 \${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD} 4194 \${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD}
4186 \${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD} 4195 \${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD}
4187 " 4196 "
4188 } 4197 }
4189 4198
4199 if test "${with_scrollbars}" = "athena3d"; then
4200
4201 {
4202 test -n "$verbose" && \
4203 echo " defining LWLIB_SCROLLBARS_ATHENA"
4204 echo "#define" LWLIB_SCROLLBARS_ATHENA "1" >> confdefs.h
4205 DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA=1"
4206 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA\${ac_dB}LWLIB_SCROLLBARS_ATHENA\${ac_dC}1\${ac_dD}
4207 \${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD}
4208 \${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD}
4209 "
4210 }
4211
4212
4213 {
4214 test -n "$verbose" && \
4215 echo " defining LWLIB_SCROLLBARS_ATHENA3D"
4216 echo "#define" LWLIB_SCROLLBARS_ATHENA3D "1" >> confdefs.h
4217 DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA3D=1"
4218 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA3D\${ac_dB}LWLIB_SCROLLBARS_ATHENA3D\${ac_dC}1\${ac_dD}
4219 \${ac_uA}LWLIB_SCROLLBARS_ATHENA3D\${ac_uB}LWLIB_SCROLLBARS_ATHENA3D\${ac_uC}1\${ac_uD}
4220 \${ac_eA}LWLIB_SCROLLBARS_ATHENA3D\${ac_eB}LWLIB_SCROLLBARS_ATHENA3D\${ac_eC}1\${ac_eD}
4221 "
4222 }
4223
4224 fi
4190 test "${with_dialogs}" = "motif" && 4225 test "${with_dialogs}" = "motif" &&
4191 { 4226 {
4192 test -n "$verbose" && \ 4227 test -n "$verbose" && \
4193 echo " defining LWLIB_DIALOGS_MOTIF" 4228 echo " defining LWLIB_DIALOGS_MOTIF"
4194 echo "#define" LWLIB_DIALOGS_MOTIF "1" >> confdefs.h 4229 echo "#define" LWLIB_DIALOGS_MOTIF "1" >> confdefs.h
4209 \${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD} 4244 \${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD}
4210 \${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD} 4245 \${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD}
4211 " 4246 "
4212 } 4247 }
4213 4248
4249 if test "${with_dialogs}" = "athena3d"; then
4250
4251 {
4252 test -n "$verbose" && \
4253 echo " defining LWLIB_DIALOGS_ATHENA"
4254 echo "#define" LWLIB_DIALOGS_ATHENA "1" >> confdefs.h
4255 DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA=1"
4256 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA\${ac_dB}LWLIB_DIALOGS_ATHENA\${ac_dC}1\${ac_dD}
4257 \${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD}
4258 \${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD}
4259 "
4260 }
4261
4262
4263 {
4264 test -n "$verbose" && \
4265 echo " defining LWLIB_DIALOGS_ATHENA3D"
4266 echo "#define" LWLIB_DIALOGS_ATHENA3D "1" >> confdefs.h
4267 DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA3D=1"
4268 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA3D\${ac_dB}LWLIB_DIALOGS_ATHENA3D\${ac_dC}1\${ac_dD}
4269 \${ac_uA}LWLIB_DIALOGS_ATHENA3D\${ac_uB}LWLIB_DIALOGS_ATHENA3D\${ac_uC}1\${ac_uD}
4270 \${ac_eA}LWLIB_DIALOGS_ATHENA3D\${ac_eB}LWLIB_DIALOGS_ATHENA3D\${ac_eC}1\${ac_eD}
4271 "
4272 }
4273
4274 fi
4214 4275
4215 ############################################################################ 4276 ############################################################################
4216 # # 4277 # #
4217 # Misc other feature tests # 4278 # Misc other feature tests #
4218 # # 4279 # #
6294 \${ac_uA}LWLIB_USES_MOTIF\${ac_uB}LWLIB_USES_MOTIF\${ac_uC}1\${ac_uD} 6355 \${ac_uA}LWLIB_USES_MOTIF\${ac_uB}LWLIB_USES_MOTIF\${ac_uC}1\${ac_uD}
6295 \${ac_eA}LWLIB_USES_MOTIF\${ac_eB}LWLIB_USES_MOTIF\${ac_eC}1\${ac_eD} 6356 \${ac_eA}LWLIB_USES_MOTIF\${ac_eB}LWLIB_USES_MOTIF\${ac_eC}1\${ac_eD}
6296 " 6357 "
6297 } 6358 }
6298 6359
6360 test "${with_athena}" = yes &&
6361 {
6362 test -n "$verbose" && \
6363 echo " defining LWLIB_USES_ATHENA"
6364 echo "#define" LWLIB_USES_ATHENA "1" >> confdefs.h
6365 DEFS="$DEFS -DLWLIB_USES_ATHENA=1"
6366 ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_USES_ATHENA\${ac_dB}LWLIB_USES_ATHENA\${ac_dC}1\${ac_dD}
6367 \${ac_uA}LWLIB_USES_ATHENA\${ac_uB}LWLIB_USES_ATHENA\${ac_uC}1\${ac_uD}
6368 \${ac_eA}LWLIB_USES_ATHENA\${ac_eB}LWLIB_USES_ATHENA\${ac_eC}1\${ac_eD}
6369 "
6370 }
6371
6299 test "${with_toolbars}" = yes && 6372 test "${with_toolbars}" = yes &&
6300 { 6373 {
6301 test -n "$verbose" && \ 6374 test -n "$verbose" && \
6302 echo " defining HAVE_TOOLBARS" 6375 echo " defining HAVE_TOOLBARS"
6303 echo "#define" HAVE_TOOLBARS "1" >> confdefs.h 6376 echo "#define" HAVE_TOOLBARS "1" >> confdefs.h
6828 echo " configure with --with-menubars='lucid'." 6901 echo " configure with --with-menubars='lucid'."
6829 fi 6902 fi
6830 test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar." 6903 test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar."
6831 test "$with_scrollbars" = motif && echo " Using the Motif scrollbar." 6904 test "$with_scrollbars" = motif && echo " Using the Motif scrollbar."
6832 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." 6905 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar."
6906 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar."
6833 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." 6907 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes."
6834 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." 6908 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes."
6909 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes."
6835 6910
6836 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." 6911 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects."
6837 test "${debug}" = yes && echo " Compiling in extra code for debugging." 6912 test "${debug}" = yes && echo " Compiling in extra code for debugging."
6838 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." 6913 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage."
6839 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." 6914 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)."