diff --git a/fookb/configure.ac b/fookb/configure.ac index ac37c18..58a57f2 100644 --- a/fookb/configure.ac +++ b/fookb/configure.ac @@ -19,21 +19,4 @@ PKG_CHECK_MODULES([libXpm], [xpm]) PKG_CHECK_MODULES([WUtil], [WUtil]) PKG_CHECK_MODULES([libdockapp], [dockapp]) -AC_ARG_ENABLE( - [wmaker], - [ --enable-wmaker create windowmaker dockable application], - [ - if test $enable_wmaker = yes ; then - AC_DEFINE(WMAKER) - fi - ], - [ - AC_CHECK_PROG(HAVE_WMAKER, wmaker, yes, no) - - if test $HAVE_WMAKER = yes ; then - AC_DEFINE(WMAKER) - fi - ] -) - AC_OUTPUT(Makefile) diff --git a/fookb/images.c b/fookb/images.c index 21c04e9..f5348d9 100644 --- a/fookb/images.c +++ b/fookb/images.c @@ -47,11 +47,9 @@ static int get_one_image(char *name, int index, Display *dpy) lputs("FATAL: Icon1 has zero width!"); exit(EXIT_FAILURE); } -#ifdef WMAKER if (w > 64) { - lputs("Warning: Icon width is more than 64. Strange things may happen."); + lputs("Warning: Icon width is more than 64. Strange things may happen if using Window Maker."); } -#endif } if (0 == h) { @@ -60,11 +58,9 @@ static int get_one_image(char *name, int index, Display *dpy) lputs("FATAL: Icon1 had zero height!"); exit(EXIT_FAILURE); } -#ifdef WMAKER if (h > 64) { - lputs("Warning: Icon height is more than 64. Strange things may happen."); + lputs("Warning: Icon height is more than 64. Strange things may happen if using Window Maker."); } -#endif } if (w != stupid_picture[index]->width) { diff --git a/fookb/params.h b/fookb/params.h index d97aa2c..c15652c 100644 --- a/fookb/params.h +++ b/fookb/params.h @@ -9,11 +9,7 @@ #define PARAMS_H -#ifdef WMAKER -#define DEFAULTS_FILE "~/GNUstep/Defaults/FOOkb" -#else #define DEFAULTS_FILE "~/.fookb" -#endif /* WMAKER */ char *read_param(char *);