diff options
author | agc <agc> | 1999-06-28 11:54:50 +0000 |
---|---|---|
committer | agc <agc> | 1999-06-28 11:54:50 +0000 |
commit | fd6f3ac38a971f389a801434ffbb5e89d84864fc (patch) | |
tree | 4014ffb5a1c6ad9eb1b73129fa236789f7174aeb /mbone/sdr | |
parent | 683c5681d1ae6b2656c6ed6778f79586498caf42 (diff) | |
download | pkgsrc-fd6f3ac38a971f389a801434ffbb5e89d84864fc.tar.gz |
Do the test for <sys/inttypes.h>'s existence a different and radical way -
use ".if exists"
Diffstat (limited to 'mbone/sdr')
-rw-r--r-- | mbone/sdr/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mbone/sdr/Makefile b/mbone/sdr/Makefile index b60ec084ad7..59a10eade16 100644 --- a/mbone/sdr/Makefile +++ b/mbone/sdr/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 1999/04/05 04:37:47 hubertf Exp $ +# $NetBSD: Makefile,v 1.21 1999/06/28 11:54:50 agc Exp $ # DISTNAME= sdr-2.5.8 @@ -15,10 +15,8 @@ WRKSRC= ${WRKDIR}/sdr USE_GMAKE= yes USE_X11BASE= yes -_INTTYPES!= if [ -e /usr/include/sys/inttypes.h ]; then echo "Exists"; else echo "No go"; fi - -.if (${_INTTYPES} == "Exists") -EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H +.if exists(/usr/include/sys/inttypes.h) +EXTRA_FLAGS+= -DHAVE_SYS_INTTYPES_H MAKE_FLAGS+= EXTRA_FLAGS="${EXTRA_FLAGS}" .endif |