Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2020-10-06 18:22:02 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2020-11-20 18:56:11 +0300
commitdc93f7ef2d93dee6e0a44fb0caf37387f38e8611 (patch)
tree81f988df69374ed3583c69c0c5c5d316bf33bf67 /winsup/autogen.sh
parent11c5fd6abde05956f909729289883599392c39a2 (diff)
Cygwin: Remove recursive configure
There's doesn't seem to be much use in independently distributing these subdirectories, so allowing them to be independently configured seems pointless and overcomplicated. The order in which the subdirectories are built is still a little odd, as cygwin is linked with libcygserver, and cygserver is then linked with cygwin. So, we build the cygwin directory first, which invokes a build of libcygserver in the cygserver directory, and then build in the cygserver directory to build the cygserver executable. Drop AC_CONFIGURE_ARGS, since we don't need to recursively call configure with the same arguments anymore. Slightly refine when we build utils: Previously we didn't build any utils if MinGW compiler use was avoided, now we just avoid building those utils which require that compiler. Greatly simplify how winsup_srcdir and target_builddir are set, since we're only configuring from one directory. (These are still kept absolute, since we don't adjust them where used for being used in a subdirectory). Remove configure.cygwin and put it's (greatly reduced) contents inline in the one place it's used now. Remove generated configure and aclocal.m4 in subdirectories.
Diffstat (limited to 'winsup/autogen.sh')
-rwxr-xr-xwinsup/autogen.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/autogen.sh b/winsup/autogen.sh
index b5cbe3cec..0b1d4668d 100755
--- a/winsup/autogen.sh
+++ b/winsup/autogen.sh
@@ -10,8 +10,3 @@ fi
/usr/bin/aclocal --force
/usr/bin/autoconf -f
/bin/rm -rf autom4te.cache
-res=0
-for d in cygwin utils cygserver testsuite; do
- (cd $d && exec ./autogen.sh) || res=1
-done
-exit $res