comparison configure.in @ 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
216 --x-libraries=DIR Search for X libraries in DIR. 216 --x-libraries=DIR Search for X libraries in DIR.
217 --with-ns Support NeXTstep windows (not yet implemented). 217 --with-ns Support NeXTstep windows (not yet implemented).
218 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid 218 --with-menubars=TYPE Use TYPE menubars (lucid, motif, or no). The Lucid
219 widgets emulate Motif (mostly) but are faster. 219 widgets emulate Motif (mostly) but are faster.
220 *WARNING* The Motif menubar is currently broken. 220 *WARNING* The Motif menubar is currently broken.
221 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena, or no). 221 --with-scrollbars=TYPE Use TYPE scrollbars (lucid, motif, athena,
222 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, or no). 222 athena3d, or no).
223 --with-dialogs=TYPE Use TYPE dialog boxes (motif, athena, athena3d, or no).
223 (Lucid menubars and scrollbars are the default. 224 (Lucid menubars and scrollbars are the default.
224 Motif dialog boxes will be used if Motif can be 225 Motif dialog boxes will be used if Motif can be
225 found.) 226 found.)
226 --with-cde (*) Compile in support for CDE drag and drop. 227 --with-cde (*) Compile in support for CDE drag and drop.
227 --with-offix (*) Compile in support for OffiX drag and drop. 228 --with-offix (*) Compile in support for OffiX drag and drop.
712 "with_menubars" | "with_scrollbars" | "with_dialogs" ) 713 "with_menubars" | "with_scrollbars" | "with_dialogs" )
713 ## value can be lucid, motif, or athena. 714 ## value can be lucid, motif, or athena.
714 case "${val}" in 715 case "${val}" in
715 l | lu | luc | luci | lucid ) val=lucid ;; 716 l | lu | luc | luci | lucid ) val=lucid ;;
716 m | mo | mot | moti | motif ) val=motif ;; 717 m | mo | mot | moti | motif ) val=motif ;;
718 athena3d | athena-3d ) val=athena3d ;;
717 a | at | ath | athe | athen | athena ) val=athena ;; 719 a | at | ath | athe | athen | athena ) val=athena ;;
718 n | no | non | none ) val=no ;; 720 n | no | non | none ) val=no ;;
719 * ) 721 * )
720 (echo "${progname}: the \`--${optname}' option should have one of the values:" 722 (echo "${progname}: the \`--${optname}' option should have one of the values:"
721 echo "\`lucid', \`motif', \`athena', or \`no'." 723 echo "\`lucid', \`motif', \`athena', or \`no'."
1037 1039
1038 ## Cydra 5 1040 ## Cydra 5
1039 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;; 1041 cydra*-cydrome-sysv* ) machine=cydra5 opsys=usg5-3 ;;
1040 1042
1041 ## Data General AViiON Machines 1043 ## Data General AViiON Machines
1044 i586-dg-dgux*R4* | i586-dg-dgux5.4.4* ) machine=aviion opsys=dgux5-4r4 ;;
1042 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;; 1045 m88k-dg-dgux5.4R3* | m88k-dg-dgux5.4.3* ) machine=aviion opsys=dgux5-4r3 ;;
1043 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;; 1046 m88k-dg-dgux5.4R2* | m88k-dg-dgux5.4.2* ) machine=aviion opsys=dgux5-4r2 ;;
1044 m88k-dg-dgux* ) machine=aviion opsys=dgux ;; 1047 m88k-dg-dgux* ) machine=aviion opsys=dgux ;;
1045 1048
1046 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;; 1049 mips-dec-ultrix[0-3].* | mips-dec-ultrix4.0* | mips-dec-bsd4.2* ) machine=pmax opsys=bsd4-2 ;;
1276 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;; 1279 m68*-sgi-iris3.5* ) machine=irist opsys=iris3-5 ;;
1277 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;; 1280 m68*-sgi-iris3.6* | m68*-sgi-iris*) machine=irist opsys=iris3-6 ;;
1278 ## Iris 4D 1281 ## Iris 4D
1279 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;; 1282 mips-sgi-irix3.* ) machine=iris4d opsys=irix3-3 ;;
1280 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;; 1283 mips-sgi-irix4.* ) machine=iris4d opsys=irix4-0 ;;
1281 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 NON_GNU_CPP=/lib/cpp ;; 1284 mips-sgi-irix6* ) machine=iris4d opsys=irix6-0 ;;
1282 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;; 1285 mips-sgi-irix5.[3-9]* ) machine=iris4d opsys=irix5-3 ;;
1283 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;; 1286 mips-sgi-irix5.2* ) machine=iris4d opsys=irix5-2 ;;
1284 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;; 1287 mips-sgi-irix5.1* ) machine=iris4d opsys=irix5-1 ;;
1285 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;; 1288 mips-sgi-irix* ) machine=iris4d opsys=irix5-0 ;;
1286 1289
2535 # Finish ensuring that we have values for the various toolkit items. 2538 # Finish ensuring that we have values for the various toolkit items.
2536 2539
2537 test "${with_menubars}" = "motif" -o \ 2540 test "${with_menubars}" = "motif" -o \
2538 "${with_scrollbars}" = "motif" -o \ 2541 "${with_scrollbars}" = "motif" -o \
2539 "${with_dialogs}" = "motif" && with_motif="yes" 2542 "${with_dialogs}" = "motif" && with_motif="yes"
2543 test "${with_menubars}" = "athena" -o \
2544 "${with_scrollbars}" = "athena" -o \
2545 "${with_dialogs}" = "athena" && with_athena="yes"
2546 test "${with_menubars}" = "athena3d" -o \
2547 "${with_scrollbars}" = "athena3d" -o \
2548 "${with_dialogs}" = "athena3d" && with_athena="yes"
2540 test "${with_menubars}" = "" && with_menubars="lucid" 2549 test "${with_menubars}" = "" && with_menubars="lucid"
2541 test "${with_menubars}" = "athena" && with_menubars="lucid" 2550 test "${with_menubars}" = "athena" && with_menubars="lucid"
2542 test "${with_scrollbars}" = "" && with_scrollbars="lucid" 2551 test "${with_scrollbars}" = "" && with_scrollbars="lucid"
2543 test "${with_dialogs}" = "" && with_dialogs="athena" 2552 test "${with_dialogs}" = "" && with_dialogs="athena"
2544 test "${with_dialogs}" = "lucid" && with_dialogs="athena" 2553 test "${with_dialogs}" = "lucid" && with_dialogs="athena"
2550 test "${with_menubars}" = "lucid" && AC_DEFINE(LWLIB_MENUBARS_LUCID) 2559 test "${with_menubars}" = "lucid" && AC_DEFINE(LWLIB_MENUBARS_LUCID)
2551 test "${with_menubars}" = "motif" && AC_DEFINE(LWLIB_MENUBARS_MOTIF) 2560 test "${with_menubars}" = "motif" && AC_DEFINE(LWLIB_MENUBARS_MOTIF)
2552 test "${with_scrollbars}" = "lucid" && AC_DEFINE(LWLIB_SCROLLBARS_LUCID) 2561 test "${with_scrollbars}" = "lucid" && AC_DEFINE(LWLIB_SCROLLBARS_LUCID)
2553 test "${with_scrollbars}" = "motif" && AC_DEFINE(LWLIB_SCROLLBARS_MOTIF) 2562 test "${with_scrollbars}" = "motif" && AC_DEFINE(LWLIB_SCROLLBARS_MOTIF)
2554 test "${with_scrollbars}" = "athena" && AC_DEFINE(LWLIB_SCROLLBARS_ATHENA) 2563 test "${with_scrollbars}" = "athena" && AC_DEFINE(LWLIB_SCROLLBARS_ATHENA)
2564 if test "${with_scrollbars}" = "athena3d"; then
2565 AC_DEFINE(LWLIB_SCROLLBARS_ATHENA)
2566 AC_DEFINE(LWLIB_SCROLLBARS_ATHENA3D)
2567 fi
2555 test "${with_dialogs}" = "motif" && AC_DEFINE(LWLIB_DIALOGS_MOTIF) 2568 test "${with_dialogs}" = "motif" && AC_DEFINE(LWLIB_DIALOGS_MOTIF)
2556 test "${with_dialogs}" = "athena" && AC_DEFINE(LWLIB_DIALOGS_ATHENA) 2569 test "${with_dialogs}" = "athena" && AC_DEFINE(LWLIB_DIALOGS_ATHENA)
2570 if test "${with_dialogs}" = "athena3d"; then
2571 AC_DEFINE(LWLIB_DIALOGS_ATHENA)
2572 AC_DEFINE(LWLIB_DIALOGS_ATHENA3D)
2573 fi
2557 2574
2558 ############################################################################ 2575 ############################################################################
2559 # # 2576 # #
2560 # Misc other feature tests # 2577 # Misc other feature tests #
2561 # # 2578 # #
2990 elif test "${use_system_malloc}" = yes; then AC_DEFINE(USE_SYSTEM_MALLOC) 3007 elif test "${use_system_malloc}" = yes; then AC_DEFINE(USE_SYSTEM_MALLOC)
2991 fi 3008 fi
2992 IF_YES_AC_DEFINE(rel_alloc, REL_ALLOC) 3009 IF_YES_AC_DEFINE(rel_alloc, REL_ALLOC)
2993 IF_YES_AC_DEFINE(LISP_FLOAT_TYPE, LISP_FLOAT_TYPE) 3010 IF_YES_AC_DEFINE(LISP_FLOAT_TYPE, LISP_FLOAT_TYPE)
2994 IF_YES_AC_DEFINE(with_motif, LWLIB_USES_MOTIF) 3011 IF_YES_AC_DEFINE(with_motif, LWLIB_USES_MOTIF)
3012 IF_YES_AC_DEFINE(with_athena, LWLIB_USES_ATHENA)
2995 IF_YES_AC_DEFINE(with_toolbars, HAVE_TOOLBARS) 3013 IF_YES_AC_DEFINE(with_toolbars, HAVE_TOOLBARS)
2996 IF_YES_AC_DEFINE(with_tty, HAVE_TTY) 3014 IF_YES_AC_DEFINE(with_tty, HAVE_TTY)
2997 IF_YES_AC_DEFINE(with_tooltalk, TOOLTALK) 3015 IF_YES_AC_DEFINE(with_tooltalk, TOOLTALK)
2998 IF_YES_AC_DEFINE(with_i18n3, I18N3) 3016 IF_YES_AC_DEFINE(with_i18n3, I18N3)
2999 IF_YES_AC_DEFINE(with_mule, MULE) 3017 IF_YES_AC_DEFINE(with_mule, MULE)
3120 echo " configure with --with-menubars='lucid'." 3138 echo " configure with --with-menubars='lucid'."
3121 fi 3139 fi
3122 test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar." 3140 test "$with_scrollbars" = lucid && echo " Using the Lucid scrollbar."
3123 test "$with_scrollbars" = motif && echo " Using the Motif scrollbar." 3141 test "$with_scrollbars" = motif && echo " Using the Motif scrollbar."
3124 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar." 3142 test "$with_scrollbars" = athena && echo " Using the Athena scrollbar."
3143 test "$with_scrollbars" = athena3d && echo " Using the Athena-3d scrollbar."
3125 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes." 3144 test "$with_dialogs" = motif && echo " Using the Motif dialog boxes."
3126 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes." 3145 test "$with_dialogs" = athena && echo " Using the Athena dialog boxes."
3146 test "$with_dialogs" = athena3d && echo " Using the Athena-3d dialog boxes."
3127 3147
3128 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects." 3148 test "${use_union_type}" = yes && echo " Using the union type for Lisp_Objects."
3129 test "${debug}" = yes && echo " Compiling in extra code for debugging." 3149 test "${debug}" = yes && echo " Compiling in extra code for debugging."
3130 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage." 3150 test "${memory_usage_stats}" = yes && echo " Compiling in code for checking XEmacs memory usage."
3131 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)." 3151 test "$usage_tracking" = yes && echo " Compiling with usage tracking active (Sun internal)."