home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1996 May / PCOnline_05_1996.bin / linux / source / x / fvwm / configur.h next >
Encoding:
C/C++ Source or Header  |  1995-10-10  |  9.2 KB  |  236 lines

  1. #define FVWMDIR "/usr/lib/X11/fvwm"
  2. #define FVWM_ICONDIR "/usr/include/X11/bitmaps:/usr/include/X11/pixmaps"
  3. #define FVWMRC  "/usr/lib/X11/fvwm/system.fvwmrc"
  4. #define FVWMFILEMGRRC  "/usr/lib/X11/fvwm/system.fvwmfmgr"
  5.  
  6. /*  linker flags needed to locate and link in the Xpm library, if you use it */
  7. #define XPMLIBRARY -L/usr/lib/X11 -lXpm
  8. /* #define XPMLIBRARY /usr/lib/X11/libXpm.a */
  9.  
  10. /* Imake command needed to put modules in desired target location */
  11. /* Use the second version if it causes grief */
  12. #define TARGET_DIR BINDIR=FVWMDIR 
  13. /* #define TARGET_DIR*/
  14.  
  15.  
  16. /* If you want Imake to leave your binary in the standard place where
  17.  * Imake wants to leave binaries, then choose the second line here.
  18.  * If you want to install it in a different directory, uncomment and
  19.  * edit the first line */
  20. /*#define FVWM_BIN_DIR BINDIR=/local/homes/dsp/nation/sun4/bin*/
  21. #define FVWM_BIN_DIR
  22.  
  23. /* Compiler over-ride for Imakefiles */
  24. /* Leave it as shown to get your default compiler */
  25. #define COMPILER CC=gcc -Wall 
  26. /* #define COMPILER */
  27.  
  28.  
  29. /*
  30.  * Pick and choose your compile time options.
  31.  * There are way too many compile time options! 
  32.  * Type in your choices at the line EFLAGS=...
  33.  * Here's a summary of the choices:
  34.  **************************************#
  35.  * Major Features
  36.  **************************************#
  37.  *#define SHAPE
  38.  * If you want the Shaped window extensions, specify #define SHAPE
  39.  *   Shaped window extensions seem to increase the window managers RSS
  40.  *   by about 60 Kbytes. They provide for leaving a title-bar on the window
  41.  *   without a border.
  42.  *   If you dont use shaped window extension, you can either make your shaped
  43.  *   windows undecorated, or live with a border and backdrop around all
  44.  *   your shaped windows (oclock, xeyes)
  45.  *
  46.  *   If you normally use a shaped window (xeyes or oclock), you might as
  47.  *   well compile this extension in, since the memory cost is  minimal in
  48.  *   this case (The shaped window shared libs will be loaded anyway. If you
  49.  *   don't normally use a shaped window, you have to decide for yourself
  50.  
  51.  *#define XPM
  52.  *  if you want color icons, specify #define XPM, and get libXpm
  53.  *  from sunsite.unc.edu. The following files are recommended in addition
  54.  *  to the fvwm package (from sunsite.unc.edu):
  55.  *   /pub/X11/contrib/xpm-3.2g.tar.Z for the Xpm library, or
  56.  *   /pub/Linux/X11/libs, file libXpm32g.tar.z. for a pre-compiled shared 
  57.  *                       library of libXpm for Linux.
  58.  *   /pub/X11/contrib/xpm3icons.tar.Z, still more sample icons
  59.  *   /pub/X11/contrib/ctwm-3.0.tar.Z, pull out the icons. ctwm has really nice
  60.  *                                  color icons.
  61.  *  and this from ftp.x.org:
  62.  *   /contrib/icons.tar.gz, lots of sample icons,
  63.  *
  64.  *   For monochrome, Xpm icons still work, but they're only better than regular
  65.  *   bitmaps because they're shaped (if you specify #define SHAPE).
  66.  
  67.  *#define HOTKEYS 
  68.  *   adds support for keyboard shortcuts using the &
  69.  *   prefix in the menu title and in the window-list
  70.  *#define MULTIPLE_SCREENS
  71.  *   Causes the crummy/broken multiple screen support to get compiled in
  72.  *#define MODULES
  73.  *   Causes support for modules/desktop accessories to be compiled in
  74.  *#define M4
  75.  *   Causes m4 pre-processor patches to be included. Try man m4 for more info.
  76.  *   Warning: m4 defines macros for some simple things like "include"
  77.  *            which might mess up a config like 
  78.  *            IconPath /usr/include/X11/bitmaps, for example, so you
  79.  *            would need to include
  80.  *            undefine(`include') to fix that one. Some version of m4
  81.  *            seem to give good error messages, others don't?
  82.  *#define GNU_M4
  83.  *   define this if you have GNU's m4
  84.  *#define GNU_M4_OPTION_P
  85.  *   define this if you have GNU's m4 (Version > 1.1) and 
  86.  *   you dont want to mess up with simple things like include
  87.  *   In this case option -P is given to m4, which means all
  88.  *   builtins are prefixed with m4_. (See FvwmSaveDesk.man also)
  89.  *#define SAVE_DESKTOP
  90.  *   This option has been converted into a module.
  91.  
  92.  **************************************#
  93.  * Memory Conservation
  94.  **************************************#
  95.  *#define NO_PAGER 
  96.  *   Omits the code for the built-in pager. The pager module FvwmPager
  97.  *   can be used instead.
  98.  *#define NON_VIRTUAL
  99.  *   Omits the virtual desktop - requires NO_PAGER
  100.  *#define NO_ICONS
  101.  *   Omits icon drawing (You have the use the window list)
  102.  *#define NO_SAVEUNDERS 
  103.  *   tells thw WM not to request save unders for pop-up
  104.  *   menus. A quick test using monochrome X11 shows that save
  105.  *   unders cost about 4Kbytes RAM, but saves a lot of
  106.  *   window re#define raws if you have windows that take a while
  107.  *   to refresh. For xcolor, I assume the cost is more like
  108.  *   4Kbytesx8 = 32kbytes (256 color).
  109.  *#define NO_WINDOWLIST 
  110.  *   Caused fvwm built-in window-list to be omitted. The window-list
  111.  *   module FvwmWinList can be used instead 
  112.  *#define MENUCOLOR
  113.  *   Allows menus to have a seperate color set from the windows.
  114.  *#define PRUNE
  115.  *   Removes old configuration commands:
  116.  *       BoundaryWidth, NoBoundaryWidth, Sticky, NoTitle, NoBorder,
  117.  *       StaysOnTop, StartsOnDesk, CirculateSkip, WindowListSkip, Icon,
  118.  *       SuppressIcons, and Module (when used for initial startup
  119.  *       These commands were replaced with Style, except for the Module
  120.  *       command, which is replaced with InitFunction
  121.  *       
  122.  *
  123.  **************************************#
  124.  # User Preference
  125.  **************************************#
  126.  * These items are all run-time selectable now!
  127.  
  128.  **************************************#
  129.  * System Library support
  130.  **************************************#
  131.  * 
  132.  * Please refer to the file "documentation/OS_specifics" to find
  133.  * settings of these parameters for your computer.
  134.  *
  135.  *#define NO_SYSCONF
  136.  *   If your libraries don't have sysconf(), use this
  137.  *#define NEEDS_STRNCASECMP
  138.  *  If your libraries don't have strncasecmp(), use this
  139.  *#define NEEDS_STRCASECMP            
  140.  *  If your libraries don't have strcasecmp(), use this
  141.  * #define NEEDS_ITIMERS               
  142.  *  If your libraries don't have getitimer/setitimer, use this
  143.  *  autoraise will not work, though.
  144.  *#define NEEDS_SIGCHLD
  145.  *  If you get zombies, especially from killing a module or leaving it
  146.  *  up during a restart, use this
  147.  *     SunOS-4.1.X NEEDS this
  148.  *     Linux can go either way
  149.  *     HP-UX DOES NOT want this, I think
  150.  *     SCO DOES NOT want this
  151.  *     Solaris DOES NOT want this
  152.  *     others - try without for a few days, look for zombies, especially
  153.  *              after a restart.
  154.  *#define USE_SYSTEM
  155.  *  Some people claim that they HAVE to use system() instead of
  156.  *  execl() to do Exec's from within fvwm (or else they get Zombies).
  157.  *  I personally think they should only need NEEDS_SIGCHLD, but who
  158.  *  knows.
  159.  *#define SYSV
  160.  *  If you don't have wait3() or sigblock() calls use thi
  161.  *#define NEEDS_MKSTEMP
  162.  *  If you want m4 patches, and don't have mkstemp in your library, use this.
  163.  *  (SCO Unix needs this)
  164.  *#define UNION_WAIT
  165.  *  If your system defines the first argument of wait3() to be a (union wait *)
  166.  *  then uncomment this line. Default is (int *)
  167.  *#define NEEDS_GETHOSTNAME
  168.  *  Use this if you don't have gethostname().
  169.  *
  170.  ***************************************
  171.  * Summary - Uncomment all your defs here! 
  172.  ***************************************/
  173. #define SHAPE                       
  174. #define XPM                         
  175. #define HOTKEYS                     
  176. /* #define MULTIPLE_SCREENS            */
  177. #define MODULES                     
  178. /* #define M4                          */
  179. /* #define GNU_M4                      */
  180. /* #define GNU_M4_OPTION_P             */
  181. #define MENUCOLOR                   
  182. /* #define PRUNE                       */
  183. #define NEW_STYLE_BUTTONS
  184.  
  185. /* #define NO_PAGER                    */
  186. /* #define NON_VIRTUAL                 */
  187. /* #define NO_ICONS                    */
  188. /* #define NO_SAVEUNDERS               */
  189. /* #define NO_WINDOWLIST               */
  190.  
  191. /* #define NO_SYSCONF                  */
  192. /* #define NEEDS_STRNCASECMP           */
  193. /* #define NEEDS_STRCASECMP            */
  194. /* #define NEEDS_ITIMERS               */
  195. /* #define NEEDS_MKSTEMP               */
  196. #define NEEDS_SIGCHLD               
  197. /* #define USE_SYSTEM                  */
  198. /* #define SYSV                        */
  199. /* #define BROKEN_SUN_HEADERS          */
  200. /* #define UNION_WAIT                  */
  201. /* #define NEEDS_GETHOSTNAME           */
  202.  
  203. /* Please translate the strings into the language which you use for your pop-up
  204.  * menus */
  205. /* Some decisions about where a function is prohibited (based on 
  206.  * mwm-function-hints) is based on a string comparison between the 
  207.  * menu item and the strings below */
  208. #define MOVE_STRING "move"
  209. #define RESIZE_STRING1 "size"
  210. #define RESIZE_STRING2 "resize"
  211. #define MINIMIZE_STRING "minimize"
  212. #define MINIMIZE_STRING2 "iconify"
  213. #define MAXIMIZE_STRING "maximize"
  214. #define CLOSE_STRING1   "close"
  215. #define CLOSE_STRING2   "delete"
  216. #define CLOSE_STRING3   "destroy"
  217. #define CLOSE_STRING4   "quit"
  218.  
  219. #ifdef __alpha
  220. #define NEEDS_ALPHA_HEADER
  221. #undef BROKEN_SUN_HEADERS
  222. #endif /* (__alpha) */
  223.  
  224.  
  225. /* Allows gcc users to use inline, doesn't cause problems
  226.  * for others. */
  227. #ifndef __GNUC__
  228. #define  FVWM_INLINE  /*nothing*/
  229. #else
  230. #if defined(__GNUC__) && !defined(inline)
  231. #define FVWM_INLINE __inline__
  232. #else
  233. #define FVWM_INLINE inline
  234. #endif
  235. #endif
  236.