diff options
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | isdn.c | 13 | ||||
-rw-r--r-- | pixmap.c | 10 |
4 files changed, 22 insertions, 5 deletions
@@ -2277,7 +2277,7 @@ if test "$RASTER" = "yes"; then fi -if test "$DRVLIBS" = ""; then +if test "$DRIVERS" = ""; then { echo "configure: error: You should include at least one driver..." 1>&2; exit 1; } fi diff --git a/configure.in b/configure.in index e182668..376be74 100644 --- a/configure.in +++ b/configure.in @@ -171,7 +171,7 @@ if test "$RASTER" = "yes"; then fi -if test "$DRVLIBS" = ""; then +if test "$DRIVERS" = ""; then AC_MSG_ERROR([You should include at least one driver...]) fi @@ -1,4 +1,4 @@ -/* $Id: isdn.c,v 1.8 2000/08/10 18:42:20 reinelt Exp $ +/* $Id: isdn.c,v 1.9 2001/05/27 07:19:28 reinelt Exp $ * * ISDN specific functions * @@ -20,6 +20,12 @@ * * * $Log: isdn.c,v $ + * Revision 1.9 2001/05/27 07:19:28 reinelt + * + * fixed a warning in pixmap.c + * temporarily fixed a bug in isdn.c (ISDN_MAX_CHANNELS is no longer defined?) + * fixed a bug in configure.in (--with-drivers=xyz did not work) + * * Revision 1.8 2000/08/10 18:42:20 reinelt * * fixed some bugs with the new syslog code @@ -73,6 +79,11 @@ #include <sys/types.h> #include <linux/isdn.h> +// Fixme: ISDN_MAX_CHANNELS seems undefined in recent kernels +#ifndef ISDN_MAX_CHANNELS +#define ISDN_MAX_CHANNELS 64 +#endif + #include "debug.h" #include "isdn.h" #include "filter.h" @@ -1,4 +1,4 @@ -/* $Id: pixmap.c,v 1.8 2001/04/27 05:04:57 reinelt Exp $ +/* $Id: pixmap.c,v 1.9 2001/05/27 07:19:28 reinelt Exp $ * * generic pixmap driver * @@ -20,6 +20,12 @@ * * * $Log: pixmap.c,v $ + * Revision 1.9 2001/05/27 07:19:28 reinelt + * + * fixed a warning in pixmap.c + * temporarily fixed a bug in isdn.c (ISDN_MAX_CHANNELS is no longer defined?) + * fixed a bug in configure.in (--with-drivers=xyz did not work) + * * Revision 1.8 2001/04/27 05:04:57 reinelt * * replaced OPEN_MAX with sysconf() @@ -159,7 +165,7 @@ int pix_bar (int type, int row, int col, int max, int len1, int len2) time_t old; } vals[N_BAR_T]; time_t now; - int i; + int i=0; row*=YRES; col*=XRES; |