summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/configure
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-05-21 19:13:48 +0000
committerChristopher Faylor <me@cgf.cx>2001-05-21 19:13:48 +0000
commit7cef8b61c42a058b0b53f329f6b791cc0bb83bf0 (patch)
tree50697bf884654c4b79bca1bec2570ff7be0d48f2 /winsup/cygwin/configure
parentf01fb5e796d22be855e3bfd4e382de62010e3701 (diff)
downloadcygnal-7cef8b61c42a058b0b53f329f6b791cc0bb83bf0.tar.gz
cygnal-7cef8b61c42a058b0b53f329f6b791cc0bb83bf0.tar.bz2
cygnal-7cef8b61c42a058b0b53f329f6b791cc0bb83bf0.zip
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
* configure: Regenerate.
Diffstat (limited to 'winsup/cygwin/configure')
-rwxr-xr-xwinsup/cygwin/configure23
1 files changed, 12 insertions, 11 deletions
diff --git a/winsup/cygwin/configure b/winsup/cygwin/configure
index fdac60fbf..11311edda 100755
--- a/winsup/cygwin/configure
+++ b/winsup/cygwin/configure
@@ -1882,23 +1882,24 @@ fi
# Check whether --enable-vfork or --disable-vfork was given.
if test "${enable_vfork+set}" = set; then
enableval="$enable_vfork"
- case "${enableval}" in
-yes) cat >> confdefs.h <<\EOF
+ vfork="${enableval}"
+]
+fi
+
+
+case "$vfork" in
+no) ;;
+yes|*) cat >> confdefs.h <<EOF
#define NEWVFORK 1
EOF
;;
-no) ;;
esac
-fi
-
-
-
echo $ac_n "checking if newlib is part of the build tree""... $ac_c" 1>&6
-echo "configure:1902: checking if newlib is part of the build tree" >&5
+echo "configure:1903: checking if newlib is part of the build tree" >&5
EXE_LDFLAGS=
if test -d ../newlib
@@ -1913,9 +1914,9 @@ fi
if test x"$EXE_LDFLAGS" = x
then
echo $ac_n "checking if installed newlib needed""... $ac_c" 1>&6
-echo "configure:1917: checking if installed newlib needed" >&5
+echo "configure:1918: checking if installed newlib needed" >&5
cat > conftest.$ac_ext <<EOF
-#line 1919 "configure"
+#line 1920 "configure"
#include "confdefs.h"
int main() {
@@ -1923,7 +1924,7 @@ int main() {
; return 0; }
EOF
-if { (eval echo configure:1927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
echo "$ac_t""no" 1>&6