#!/bin/sh

# $Id: getXiteWmColormap,v 1.3 2007/08/13 10:00:09 svein Exp $

# Determine whether to compile with window manager capabilities for
# installing colormaps.

echo "" 1>&2
echo "Compile XITE with capability to install colormaps, not relying" 1>&2
echo "on the window manager?" 1>&2
echo "(Recommended when using default windowmanager in KDE 3.x and" 1>&2 
echo "gnome 2.x, not necessary for fvwm2)" 1>&2

if test "$confirm" -eq 1
then
  echo "" 1>&2
  $echoNl "Yes ([y]/n) " 1>&2
  read ok
else
  ok="y"
fi

if test "$ok" != "" -a "$ok" != "y" -a "$ok" != "Y" -a "$ok" != "yes" -a "$ok" != "YES"
then
  xitewmcmap=""
else
  xitewmcmap="-DXITE_WM_COLORMAP"
fi

echo "xitewmcmap=$xitewmcmap"
echo "export xitewmcmap"
