diff options
author | luoqi <luoqi@FreeBSD.org> | 1999-04-17 01:57:06 +0000 |
---|---|---|
committer | luoqi <luoqi@FreeBSD.org> | 1999-04-17 01:57:06 +0000 |
commit | a584a0422da4f1d7070b1c00f687626d777ad1c5 (patch) | |
tree | 6f85754f89e6e6b12f5d4ca762f4ba44e501cc3f /usr.bin/doscmd | |
parent | 3f4f549a18682f2412d2082b5e560ff3cf439999 (diff) | |
download | FreeBSD-src-a584a0422da4f1d7070b1c00f687626d777ad1c5.zip FreeBSD-src-a584a0422da4f1d7070b1c00f687626d777ad1c5.tar.gz |
X11 include directory may not actually contain any header file, check for
a specific one (X11/X.h).
Diffstat (limited to 'usr.bin/doscmd')
-rw-r--r-- | usr.bin/doscmd/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/doscmd/Makefile b/usr.bin/doscmd/Makefile index 0181553..e6a364d 100644 --- a/usr.bin/doscmd/Makefile +++ b/usr.bin/doscmd/Makefile @@ -1,6 +1,6 @@ # from BSDI Makefile,v 2.6 1996/04/08 20:06:40 bostic Exp # -# $Id: Makefile,v 1.17 1999/02/17 13:48:07 bde Exp $ +# $Id: Makefile,v 1.18 1999/03/16 20:57:19 imp Exp $ PROG= doscmd SRCS= AsyncIO.c ParseBuffer.c bios.c callback.c cpu.c dos.c cmos.c config.c \ @@ -26,7 +26,7 @@ XLIBDIR:= ${X11BASE}/lib/aout XLIBDIR:= ${X11BASE}/lib .endif -.if exists(${X11BASE}/include) && exists(${XLIBDIR}/libX11.a) +.if exists(${X11BASE}/include/X11/X.h) && exists(${XLIBDIR}/libX11.a) CFLAGS+= -I. -I${X11BASE}/include -DDISASSEMBLER LDADD= -L${XLIBDIR} -lX11 DPADD= ${XLIBDIR}/libX11.a |