aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-11-13 13:47:48 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-11-13 13:47:48 +0000
commitb448dd2f9ebb1f5ccf7ab98c6dbbbdc3aa7ceb48 (patch)
treec5ffe7a14c6a2993b49ac12e0086438f93997e8b /lib
parent26ffc9613ffa8657da91f152cf23ed6c31c274fd (diff)
downloadsrc-b448dd2f9ebb1f5ccf7ab98c6dbbbdc3aa7ceb48.tar.gz
src-b448dd2f9ebb1f5ccf7ab98c6dbbbdc3aa7ceb48.zip
Actually check if stdbool.h exists when BOOTSTRAPPING.
Notes
Notes: svn path=/head/; revision=106851
Diffstat (limited to 'lib')
-rw-r--r--lib/libncurses/Makefile2
-rw-r--r--lib/ncurses/ncurses/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libncurses/Makefile b/lib/libncurses/Makefile
index 3e4fdae0f0ce..6db4a7bc69df 100644
--- a/lib/libncurses/Makefile
+++ b/lib/libncurses/Makefile
@@ -25,7 +25,7 @@ BROKEN_LINKER= 0
BUILTIN_BOOL= 1
BOOL_TYPE= 0
HAVE_VSSCANF= 1
-.if defined(BOOTSTRAPPING)
+.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL= 0
.else
HEADER_STDBOOL= 1
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 3e4fdae0f0ce..6db4a7bc69df 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -25,7 +25,7 @@ BROKEN_LINKER= 0
BUILTIN_BOOL= 1
BOOL_TYPE= 0
HAVE_VSSCANF= 1
-.if defined(BOOTSTRAPPING)
+.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL= 0
.else
HEADER_STDBOOL= 1