I can't get pixmap's to work under cow snapshot from 20020504.

Snooping around winsprite.c, and config.h I noticed on my system that none of
the XPM stuff got defined.

#ifdef COW
#define HAVE_X11 1
/* #undef HAVE_WIN32 */
/* #undef HAVE_XPM */
/* #undef HAVE_X11_XPM_H */
#endif

I got xpm installed.

$ rpm -qal | grep -i libxpm
/usr/X11R6/lib/libXpm.a
/usr/X11R6/lib/libXpm.so
/usr/X11R6/lib/libXpm.so.4
/usr/X11R6/lib/libXpm.so.4.11

Added the following to configure.in, ran autoconf 

configure.in:237
echo "******** '$code':'$stable' ************"
if test "$code" = cow; then
 if test "$stable" = nope; then
  SAVELIBS="$LIBS"
  LIBS="$LIBS $XLIBSWDIR $XLIBSWLIB"
  SAVEINCS="$INCS"
  INCS="$INCS $XINCLUDES"
  AC_CHECK_LIB(Xpm, main, [AC_DEFINE(HAVE_XPM) XPMLIBS="-lXpm"])
  AC_CHECK_HEADERS(X11/xpm.h)
  LIBS="$SAVELIBS"
  INCS="$SAVEINCS"
 fi
fi


Looks like you got to --enable-unstable to get pixmaps, so re-ran configure like
this:

$ ./configure --enable-unstable
<snip>
******** 'cow':'' ************

The $stable variable is nothing.

$stable is set to nope configure.in:63

I believe the problem is that configure.in assumes the user is not going to use
the --enable-unstable or --enable-stable options. The logic to set $stable is
not reached when --enable-unstable is used.

I added this to configure.in:68

  if test "x$unstable" != xyes ; then
    if test "x$stable" = xyes ; then
      AC_MSG_RESULT(stable)
      AC_DEFINE(stable)
    else
      AC_MSG_RESULT(unknown, asking)
      echo "Produce a stable release (y/n)?"
      read stable

      AC_MSG_CHECKING(release type)
      if test "$stable" = "y"; then
        AC_MSG_RESULT(stable)
        AC_DEFINE(STABLE)
      else
        AC_MSG_RESULT(unstable)
        stable=nope
      fi
    fi
  else
    AC_MSG_RESULT(unstable)
    stable=nope
  fi
fi

Patch attached.
Submitted bug to SF's bug report.
-- 
Bob Tanner <tanner at real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
Key fingerprint =  6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 

-------------- next part --------------
--- cow-3.00_20040504/configure.in	Sun Sep  9 09:19:35 2001
+++ cow-basic/configure.in	Mon May  6 02:45:52 2002
@@ -65,6 +65,7 @@
     fi
   else
     AC_MSG_RESULT(unstable)
+    stable=nope
   fi
 fi