blob: a187e6693a1e6b9198a0787ed8a12a0a13e9acb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-am,v 1.2 2011/11/30 21:22:41 wiz Exp $
--- configure.orig 2011-08-22 22:03:55.000000000 +0000
+++ configure
@@ -7706,6 +7706,9 @@ echo "$ac_t""$cf_cv_ncurses_h2" 1>&6
if test -n "$cf_1st_incdir" ; then
for cf_add_incdir in $cf_1st_incdir
do
+ if ! [ -d $cf_add_incdir ]; then
+ continue;
+ fi
while test $cf_add_incdir != /usr/include
do
if test -d $cf_add_incdir
@@ -8803,7 +8806,6 @@ printf("%s\n", NCURSES_VERSION);
#ifdef __NCURSES_H
printf("old\n");
#else
- make an error
#endif
#endif
|