aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-03-21 19:08:04 -0500
committerBrent Cook <bcook@openbsd.org>2015-03-21 19:08:04 -0500
commitdcf31221efbc0c3ceed401478debccc2af38a459 (patch)
tree3f7f8adc19c161264ae8b17dfcb942c518c6eb0f /configure.ac
parent4d122c0be6a677e047999e42e1ce2d36268a883f (diff)
parent45065de1bafde1d34acd2cab1b8460663074961c (diff)
downloadportable-dcf31221efbc0c3ceed401478debccc2af38a459.tar.gz
portable-dcf31221efbc0c3ceed401478debccc2af38a459.tar.bz2
portable-dcf31221efbc0c3ceed401478debccc2af38a459.zip
Merge native cygwin support
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 0bbf998..206c97a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,9 @@ AC_SUBST([USER_CFLAGS], "$CFLAGS")
13CFLAGS="-Wall -std=gnu99 -g -O2" 13CFLAGS="-Wall -std=gnu99 -g -O2"
14 14
15case $host_os in 15case $host_os in
16 *cygwin*)
17 HOST_OS=cygwin
18 ;;
16 *darwin*) 19 *darwin*)
17 HOST_OS=darwin 20 HOST_OS=darwin
18 HOST_ABI=macosx 21 HOST_ABI=macosx
@@ -54,6 +57,7 @@ case $host_os in
54 *) ;; 57 *) ;;
55esac 58esac
56 59
60AM_CONDITIONAL([HOST_CYGWIN], [test x$HOST_OS = xcygwin])
57AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin]) 61AM_CONDITIONAL([HOST_DARWIN], [test x$HOST_OS = xdarwin])
58AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd]) 62AM_CONDITIONAL([HOST_FREEBSD], [test x$HOST_OS = xfreebsd])
59AM_CONDITIONAL([HOST_HPUX], [test x$HOST_OS = xhpux]) 63AM_CONDITIONAL([HOST_HPUX], [test x$HOST_OS = xhpux])
@@ -284,6 +288,10 @@ AC_ARG_ENABLE([asm],
284 AS_HELP_STRING([--disable-asm], [Disable assembly])) 288 AS_HELP_STRING([--disable-asm], [Disable assembly]))
285AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"]) 289AM_CONDITIONAL([OPENSSL_NO_ASM], [test "x$enable_asm" = "xno"])
286 290
291AC_ARG_ENABLE([extratests],
292 AS_HELP_STRING([--enable-extratests], [Enable extra tests that may be unreliable on some platforms]))
293AM_CONDITIONAL([ENABLE_EXTRATESTS], [test "x$enable_extratests" = xyes])
294
287old_cflags=$CFLAGS 295old_cflags=$CFLAGS
288CFLAGS="$USER_CFLAGS -I$srcdir/include" 296CFLAGS="$USER_CFLAGS -I$srcdir/include"
289AC_MSG_CHECKING([if BSWAP4 builds without __STRICT_ALIGNMENT]) 297AC_MSG_CHECKING([if BSWAP4 builds without __STRICT_ALIGNMENT])