Mercurial > hg > xemacs-beta
diff 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 |
line wrap: on
line diff
--- a/configure Mon Aug 13 09:06:45 2007 +0200 +++ b/configure Mon Aug 13 09:07:36 2007 +0200 @@ -202,8 +202,9 @@ --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid widgets emulate Motif (mostly) but are faster. *WARNING* The Motif menubar is currently broken. ---with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no). ---with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). +--with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, + athena3d, or no). +--with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no). (Lucid menubars and scrollbars are the default. Motif dialog boxes will be used if Motif can be found.) @@ -698,6 +699,7 @@ case "${val}" in l | lu | luc | luci | lucid ) val=lucid ;; m | mo | mot | moti | motif ) val=motif ;; + athena3d | athena-3d ) val=athena3d ;; a | at | ath | athe | athen | athena ) val=athena ;; n | no | non | none ) val=no ;; * ) @@ -1033,6 +1035,7 @@ cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;; ## Data General AViiON Machines + i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;; m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;; m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;; m88k-dg-dgux* ) machine=aviion opsys=dgux ;; @@ -1272,7 +1275,7 @@ ## Iris 4D mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; - mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 NON_GNU_CPP=/lib/cpp ;; + mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 ;; mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; @@ -4084,6 +4087,12 @@ test "${with_menubars}" = "motif" -o \ "${with_scrollbars}" = "motif" -o \ "${with_dialogs}" = "motif" && with_motif="yes" +test "${with_menubars}" = "athena" -o \ + "${with_scrollbars}" = "athena" -o \ + "${with_dialogs}" = "athena" && with_athena="yes" +test "${with_menubars}" = "athena3d" -o \ + "${with_scrollbars}" = "athena3d" -o \ + "${with_dialogs}" = "athena3d" && with_athena="yes" test "${with_menubars}" = "" && with_menubars="lucid" test "${with_menubars}" = "athena" && with_menubars="lucid" test "${with_scrollbars}" = "" && with_scrollbars="lucid" @@ -4187,6 +4196,32 @@ " } +if test "${with_scrollbars}" = "athena3d"; then + +{ +test -n "$verbose" && \ +echo " defining LWLIB_SCROLLBARS_ATHENA" +echo "#define" LWLIB_SCROLLBARS_ATHENA "1" >> confdefs.h +DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA=1" +ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA\${ac_dB}LWLIB_SCROLLBARS_ATHENA\${ac_dC}1\${ac_dD} +\${ac_uA}LWLIB_SCROLLBARS_ATHENA\${ac_uB}LWLIB_SCROLLBARS_ATHENA\${ac_uC}1\${ac_uD} +\${ac_eA}LWLIB_SCROLLBARS_ATHENA\${ac_eB}LWLIB_SCROLLBARS_ATHENA\${ac_eC}1\${ac_eD} +" +} + + +{ +test -n "$verbose" && \ +echo " defining LWLIB_SCROLLBARS_ATHENA3D" +echo "#define" LWLIB_SCROLLBARS_ATHENA3D "1" >> confdefs.h +DEFS="$DEFS -DLWLIB_SCROLLBARS_ATHENA3D=1" +ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_SCROLLBARS_ATHENA3D\${ac_dB}LWLIB_SCROLLBARS_ATHENA3D\${ac_dC}1\${ac_dD} +\${ac_uA}LWLIB_SCROLLBARS_ATHENA3D\${ac_uB}LWLIB_SCROLLBARS_ATHENA3D\${ac_uC}1\${ac_uD} +\${ac_eA}LWLIB_SCROLLBARS_ATHENA3D\${ac_eB}LWLIB_SCROLLBARS_ATHENA3D\${ac_eC}1\${ac_eD} +" +} + +fi test "${with_dialogs}" = "motif" && { test -n "$verbose" && \ @@ -4211,6 +4246,32 @@ " } +if test "${with_dialogs}" = "athena3d"; then + +{ +test -n "$verbose" && \ +echo " defining LWLIB_DIALOGS_ATHENA" +echo "#define" LWLIB_DIALOGS_ATHENA "1" >> confdefs.h +DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA=1" +ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA\${ac_dB}LWLIB_DIALOGS_ATHENA\${ac_dC}1\${ac_dD} +\${ac_uA}LWLIB_DIALOGS_ATHENA\${ac_uB}LWLIB_DIALOGS_ATHENA\${ac_uC}1\${ac_uD} +\${ac_eA}LWLIB_DIALOGS_ATHENA\${ac_eB}LWLIB_DIALOGS_ATHENA\${ac_eC}1\${ac_eD} +" +} + + +{ +test -n "$verbose" && \ +echo " defining LWLIB_DIALOGS_ATHENA3D" +echo "#define" LWLIB_DIALOGS_ATHENA3D "1" >> confdefs.h +DEFS="$DEFS -DLWLIB_DIALOGS_ATHENA3D=1" +ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_DIALOGS_ATHENA3D\${ac_dB}LWLIB_DIALOGS_ATHENA3D\${ac_dC}1\${ac_dD} +\${ac_uA}LWLIB_DIALOGS_ATHENA3D\${ac_uB}LWLIB_DIALOGS_ATHENA3D\${ac_uC}1\${ac_uD} +\${ac_eA}LWLIB_DIALOGS_ATHENA3D\${ac_eB}LWLIB_DIALOGS_ATHENA3D\${ac_eC}1\${ac_eD} +" +} + +fi ############################################################################ # # @@ -6296,6 +6357,18 @@ " } +test "${with_athena}" = yes && +{ +test -n "$verbose" && \ +echo " defining LWLIB_USES_ATHENA" +echo "#define" LWLIB_USES_ATHENA "1" >> confdefs.h +DEFS="$DEFS -DLWLIB_USES_ATHENA=1" +ac_sed_defs="${ac_sed_defs}\${ac_dA}LWLIB_USES_ATHENA\${ac_dB}LWLIB_USES_ATHENA\${ac_dC}1\${ac_dD} +\${ac_uA}LWLIB_USES_ATHENA\${ac_uB}LWLIB_USES_ATHENA\${ac_uC}1\${ac_uD} +\${ac_eA}LWLIB_USES_ATHENA\${ac_eB}LWLIB_USES_ATHENA\${ac_eC}1\${ac_eD} +" +} + test "${with_toolbars}" = yes && { test -n "$verbose" && \ @@ -6830,8 +6903,10 @@ test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar." test "$with_scrollbars" = motif && echo " Using the Motif scrollbar." test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." +test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar." test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." +test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes." test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." test "${debug}" = yes && echo " Compiling in extra code for debugging."