aboutsummaryrefslogtreecommitdiff
path: root/winsup/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/configure.ac')
-rw-r--r--winsup/configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/configure.ac b/winsup/configure.ac
index 9b9b59d..e7ac814 100644
--- a/winsup/configure.ac
+++ b/winsup/configure.ac
@@ -69,18 +69,32 @@ DLL_ENTRY="dll_entry"
case "$target_cpu" in
x86_64) ;;
+ aarch64) ;;
*) AC_MSG_ERROR([Invalid target processor "$target_cpu"]) ;;
esac
AC_SUBST(DLL_ENTRY)
AM_CONDITIONAL(TARGET_X86_64, [test $target_cpu = "x86_64"])
+AM_CONDITIONAL(TARGET_AARCH64, [test $target_cpu = "aarch64"])
AC_ARG_ENABLE(doc,
[AS_HELP_STRING([--disable-doc], [do not build documentation])],,
enable_doc=yes)
AM_CONDITIONAL(BUILD_DOC, [test $enable_doc != "no"])
+# Disabling build of cygserver and utils is needed for zero-bootstrap build of
+# stage 1 Cygwin toolchain where the linker is not able to produce executables
+# yet.
+AC_ARG_ENABLE(cygserver,
+ [AS_HELP_STRING([--disable-cygserver], [do not build cygserver])],,
+ enable_cygserver=yes)
+AM_CONDITIONAL(BUILD_CYGSERVER, [test $enable_cygserver != "no"])
+AC_ARG_ENABLE(utils,
+ [AS_HELP_STRING([--disable-utils], [do not build utils])],,
+ enable_utils=yes)
+AM_CONDITIONAL(BUILD_UTILS, [test $enable_utils != "no"])
+
AC_CHECK_PROGS([DOCBOOK2XTEXI], [docbook2x-texi db2x_docbook2texi])
if test -z "$DOCBOOK2XTEXI" ; then
if test "x$enable_doc" != "xno"; then