aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-06-02 05:54:33 +0000
committerChristopher Faylor <me@cgf.cx>2002-06-02 05:54:33 +0000
commita673eba664bf26888ba73f2508227cc7b2c36d44 (patch)
tree7321b311421c240b0a3c54cf5018e172d2f894fe
parente065a187abb915c2a5e16d9b895b0319e13280df (diff)
downloadnewlib-a673eba664bf26888ba73f2508227cc7b2c36d44.zip
newlib-a673eba664bf26888ba73f2508227cc7b2c36d44.tar.gz
newlib-a673eba664bf26888ba73f2508227cc7b2c36d44.tar.bz2
* configure.in: Complain about lack of w32api directory.
* configure: Regenerate.
-rw-r--r--winsup/ChangeLog5
-rwxr-xr-xwinsup/configure9
-rwxr-xr-xwinsup/configure.in7
3 files changed, 18 insertions, 3 deletions
diff --git a/winsup/ChangeLog b/winsup/ChangeLog
index f6a7367..b01edf1 100644
--- a/winsup/ChangeLog
+++ b/winsup/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-02 Christopher Faylor <cgf@redhat.com>
+
+ * configure.in: Complain about lack of w32api directory.
+ * configure: Regenerate.
+
2002-04-25 Christopher Faylor <cgf@redhat.com>
* configure.in: Remove cinstall target.
diff --git a/winsup/configure b/winsup/configure
index f695a06..218c163 100755
--- a/winsup/configure
+++ b/winsup/configure
@@ -917,7 +917,12 @@ CXXFLAGS='$(CFLAGS)'
SUBDIRS='cygwin'
-test -d $srcdir/w32api && SUBDIRS="w32api $SUBDIRS"
+if test -d $srcdir/w32api; then
+ SUBDIRS="w32api $SUBDIRS"
+else
+ echo "*** missing w32api directory" 1>&2
+ exit 1
+fi
test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
case "$with_cross_host" in
@@ -933,7 +938,7 @@ subdirs="$SUBDIRS"
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
-echo "configure:937: checking whether ${MAKE-make} sets \${MAKE}" >&5
+echo "configure:942: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
diff --git a/winsup/configure.in b/winsup/configure.in
index 21b3f1b..79d472b 100755
--- a/winsup/configure.in
+++ b/winsup/configure.in
@@ -67,7 +67,12 @@ LIB_AC_PROG_CC
LIB_AC_PROG_CXX
SUBDIRS='cygwin'
-test -d $srcdir/w32api && SUBDIRS="w32api $SUBDIRS"
+if test -d $srcdir/w32api; then
+ SUBDIRS="w32api $SUBDIRS"
+else
+ echo "*** missing w32api directory" 1>&2
+ exit 1
+fi
test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
case "$with_cross_host" in