summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--atobm.c3
-rw-r--r--bmtoa.c2
-rw-r--r--configure.ac4
3 files changed, 5 insertions, 4 deletions
diff --git a/atobm.c b/atobm.c
index 93d7b12..040fecb 100644
--- a/atobm.c
+++ b/atobm.c
@@ -34,6 +34,7 @@ from The Open Group.
#include <stdio.h>
#include <ctype.h>
#include <X11/Xos.h>
+#include <X11/Xfuncproto.h>
#include <stdlib.h>
static char *ProgramName;
@@ -41,7 +42,7 @@ static char *ProgramName;
static void doit(FILE *fp, const char *filename, const char *chars,
int xhot, int yhot, const char *name);
-static void
+static void _X_NORETURN
usage (void)
{
fprintf (stderr, "usage: %s [-options ...] [filename]\n\n%s\n",
diff --git a/bmtoa.c b/bmtoa.c
index 6682fe8..0394038 100644
--- a/bmtoa.c
+++ b/bmtoa.c
@@ -53,7 +53,7 @@ static char *ProgramName;
static void print_scanline (unsigned int width, unsigned int height,
unsigned const char *data, const char *chars);
-static void
+static void _X_NORETURN
usage (void)
{
fprintf (stderr, "usage: %s [-options ...] [filename]\n\n%s\n",
diff --git a/configure.ac b/configure.ac
index e9b4699..394fbdb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,8 +55,8 @@ LIBS="$save_LIBS"
AC_SUBST([MATH_LIBS])
# Obtain compiler/linker options from dependencies
-PKG_CHECK_MODULES(BMTOA, x11 xmu)
-PKG_CHECK_MODULES(ATOBM, xproto)
+PKG_CHECK_MODULES(BMTOA, [x11 xmu xproto >= 7.0.17])
+PKG_CHECK_MODULES(ATOBM, [xproto >= 7.0.17])
PKG_CHECK_MODULES(BITMAP, xbitmaps xaw7 xmu)
PKG_CHECK_MODULES(APPDEFS, xt)