## we want these in the dist tarball
EXTRA_DIST = autogen.sh \
$(ac_aux_dir)/acx_pthread.m4 \
- $(ac_aux_dir)/hv-debug.m4 \
sound-samples \
pixmaps
+++ /dev/null
-dnl
-dnl Macro for adding an option to 'configure' for enabling debugging messages
-dnl
-AC_DEFUN([HV_CHECK_FOR_DEBUG],[
-AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],
- [enable debugging messages on console
- (default is NO)]),[
- if test x"${enableval}" = xyes; then
- debug_messages=1
- AC_DEFINE([DEBUG],1,[Set to 1 to enable debugging messages.])
- elif test x"${enableval}" = xno; then
- debug_messages=0
- else
- AC_MSG_ERROR(bad value for --enable-debug option)
- fi
-], debug_messages=0 )
-])
-
AC_TYPE_PID_T
AC_TYPE_SIZE_T
-dnl Checks for '--enable-debug' option
-HV_CHECK_FOR_DEBUG
-
dnl Basic CFLAGS values
CFLAGS="${CFLAGS} -Wall"
echo " Compiler flags: ${CFLAGS}"
echo " Linker flags: ${LIBS}"
echo
-echo -n " Debugging: "
-if test x"${debug_messages}" = x1; then
- echo "yes"
-else
- echo "no"
-fi
echo " OpenSSL: $ac_cv_enable_ssl"
echo " libsndfile: $ac_cv_enable_libsndfile"
#include "dockapp.h"
+#define XLIB_FAILURE 0
+#define XLIB_SUCCESS 1
+
+/* Specifies the border width */
+#define BWIDTH 1
+
+/* Width and height in pixels of Window Maker icons. */
+#define ICON_SIZE 64
+
+
static void
CreateIconFromXpmData( char *pixmap_data[] )
{
#include <X11/xpm.h>
-#define XLIB_FAILURE 0
-#define XLIB_SUCCESS 1
-
-/* Specifies the border width */
-#define BWIDTH 1
-
-/* Width and height in pixels of Window Maker icons. */
-#define ICON_SIZE 64
-
typedef struct XpmIcon
{
XpmAttributes attributes;
#include "xevents.h"
+/* Maximum time between mouse double-clicks, in milliseconds */
+#define DOUBLE_CLICK_MAX_INTERVAL_MS 250
+
+
/* Function pointers to handle single and double mouse click events. */
static void (*SingleClickCallback)( void ) = NULL;
#define XEVENTS_H 1
-/* Maximum time between mouse double-clicks, in milliseconds */
-#define DOUBLE_CLICK_MAX_INTERVAL_MS 250
-
-
void
AudibleBeep( void );