mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-03 13:07:24 +00:00
Disable compiling polyfills in not MSYS2 env
This commit is contained in:
parent
807ea52ba7
commit
b2c659c0a6
@ -232,6 +232,9 @@ AM_CONDITIONAL([USE_SSL_GNUTLS], [test "$auth_lib" = gnutls -o "$auth_lib" = net
|
|||||||
AM_CONDITIONAL([USE_GNUTLS_NETTLE], [test "$auth_lib" = nettle])
|
AM_CONDITIONAL([USE_GNUTLS_NETTLE], [test "$auth_lib" = nettle])
|
||||||
AM_CONDITIONAL([USE_SSL_NSS], [test "$auth_lib" = nss])
|
AM_CONDITIONAL([USE_SSL_NSS], [test "$auth_lib" = nss])
|
||||||
|
|
||||||
|
AC_CANONICAL_HOST
|
||||||
|
AM_CONDITIONAL([MSYS], [test "$host_os" = "msys"])
|
||||||
|
|
||||||
dnl ----------------------------------------------
|
dnl ----------------------------------------------
|
||||||
dnl check functions
|
dnl check functions
|
||||||
dnl ----------------------------------------------
|
dnl ----------------------------------------------
|
||||||
|
@ -53,9 +53,7 @@ s3fs_SOURCES = \
|
|||||||
addhead.cpp \
|
addhead.cpp \
|
||||||
sighandlers.cpp \
|
sighandlers.cpp \
|
||||||
autolock.cpp \
|
autolock.cpp \
|
||||||
common_auth.cpp \
|
common_auth.cpp
|
||||||
strptime.cpp \
|
|
||||||
strcasestr.cpp
|
|
||||||
if USE_SSL_OPENSSL
|
if USE_SSL_OPENSSL
|
||||||
s3fs_SOURCES += openssl_auth.cpp
|
s3fs_SOURCES += openssl_auth.cpp
|
||||||
endif
|
endif
|
||||||
@ -65,6 +63,9 @@ endif
|
|||||||
if USE_SSL_NSS
|
if USE_SSL_NSS
|
||||||
s3fs_SOURCES += nss_auth.cpp
|
s3fs_SOURCES += nss_auth.cpp
|
||||||
endif
|
endif
|
||||||
|
if MSYS
|
||||||
|
s3fs_SOURCES += strptime.cpp strcasestr.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
s3fs_LDADD = $(DEPS_LIBS)
|
s3fs_LDADD = $(DEPS_LIBS)
|
||||||
|
|
||||||
@ -73,7 +74,7 @@ noinst_PROGRAMS = \
|
|||||||
test_page_list \
|
test_page_list \
|
||||||
test_string_util
|
test_string_util
|
||||||
|
|
||||||
test_curl_util_SOURCES = common_auth.cpp curl_util.cpp string_util.cpp test_curl_util.cpp s3fs_global.cpp s3fs_logger.cpp strptime.cpp strcasestr.cpp
|
test_curl_util_SOURCES = common_auth.cpp curl_util.cpp string_util.cpp test_curl_util.cpp s3fs_global.cpp s3fs_logger.cpp
|
||||||
if USE_SSL_OPENSSL
|
if USE_SSL_OPENSSL
|
||||||
test_curl_util_SOURCES += openssl_auth.cpp
|
test_curl_util_SOURCES += openssl_auth.cpp
|
||||||
endif
|
endif
|
||||||
@ -83,6 +84,9 @@ endif
|
|||||||
if USE_SSL_NSS
|
if USE_SSL_NSS
|
||||||
test_curl_util_SOURCES += nss_auth.cpp
|
test_curl_util_SOURCES += nss_auth.cpp
|
||||||
endif
|
endif
|
||||||
|
if MSYS
|
||||||
|
test_curl_util_SOURCES += strptime.cpp strcasestr.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
test_curl_util_LDADD = $(DEPS_LIBS)
|
test_curl_util_LDADD = $(DEPS_LIBS)
|
||||||
|
|
||||||
@ -94,7 +98,10 @@ test_page_list_SOURCES = \
|
|||||||
test_page_list.cpp \
|
test_page_list.cpp \
|
||||||
strptime.cpp
|
strptime.cpp
|
||||||
|
|
||||||
test_string_util_SOURCES = string_util.cpp test_string_util.cpp s3fs_logger.cpp strptime.cpp
|
test_string_util_SOURCES = string_util.cpp test_string_util.cpp s3fs_logger.cpp
|
||||||
|
if MSYS
|
||||||
|
test_string_util_SOURCES += strptime.cpp
|
||||||
|
endif
|
||||||
|
|
||||||
TESTS = \
|
TESTS = \
|
||||||
test_curl_util \
|
test_curl_util \
|
||||||
|
Loading…
Reference in New Issue
Block a user