mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-06-07 11:30:49 +00:00
Changed configuration switch from 'enable' to 'with' for libs
This commit is contained in:
parent
cd27f0aa54
commit
edad91186f
39
configure.ac
39
configure.ac
|
@ -40,11 +40,11 @@ dnl
|
||||||
dnl nettle library
|
dnl nettle library
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([s3fs build with nettle(GnuTLS)])
|
AC_MSG_CHECKING([s3fs build with nettle(GnuTLS)])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_WITH(
|
||||||
nettle-lib,
|
nettle,
|
||||||
[AS_HELP_STRING([--enable-nettle-lib], [s3fs build with nettle in GnuTLS(default no)])],
|
[AS_HELP_STRING([--with-nettle], [s3fs build with nettle in GnuTLS(default no)])],
|
||||||
[
|
[
|
||||||
case "${enableval}" in
|
case "${withval}" in
|
||||||
yes)
|
yes)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
nettle_lib=yes
|
nettle_lib=yes
|
||||||
|
@ -62,11 +62,11 @@ dnl
|
||||||
dnl use openssl library for ssl
|
dnl use openssl library for ssl
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([s3fs build with OpenSSL])
|
AC_MSG_CHECKING([s3fs build with OpenSSL])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_WITH(
|
||||||
openssl-lib,
|
openssl,
|
||||||
[AS_HELP_STRING([--enable-openssl-lib], [s3fs build with OpenSSL(default is no)])],
|
[AS_HELP_STRING([--with-openssl], [s3fs build with OpenSSL(default is no)])],
|
||||||
[
|
[
|
||||||
case "${enableval}" in
|
case "${withval}" in
|
||||||
yes)
|
yes)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AS_IF(
|
AS_IF(
|
||||||
|
@ -87,11 +87,11 @@ dnl
|
||||||
dnl use GnuTLS library for ssl
|
dnl use GnuTLS library for ssl
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([s3fs build with GnuTLS])
|
AC_MSG_CHECKING([s3fs build with GnuTLS])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_WITH(
|
||||||
gnutls-lib,
|
gnutls,
|
||||||
[AS_HELP_STRING([--enable-gnutls-lib], [s3fs build with GnuTLS(default is no)])],
|
[AS_HELP_STRING([--with-gnutls], [s3fs build with GnuTLS(default is no)])],
|
||||||
[
|
[
|
||||||
case "${enableval}" in
|
case "${withval}" in
|
||||||
yes)
|
yes)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AS_IF(
|
AS_IF(
|
||||||
|
@ -117,11 +117,11 @@ dnl
|
||||||
dnl use nss library for ssl
|
dnl use nss library for ssl
|
||||||
dnl
|
dnl
|
||||||
AC_MSG_CHECKING([s3fs build with NSS])
|
AC_MSG_CHECKING([s3fs build with NSS])
|
||||||
AC_ARG_ENABLE(
|
AC_ARG_WITH(
|
||||||
nss-lib,
|
nss,
|
||||||
[AS_HELP_STRING([--enable-nss-lib], [s3fs build with NSS(default is no)])],
|
[AS_HELP_STRING([--with-nss], [s3fs build with NSS(default is no)])],
|
||||||
[
|
[
|
||||||
case "${enableval}" in
|
case "${withval}" in
|
||||||
yes)
|
yes)
|
||||||
AC_MSG_RESULT(yes)
|
AC_MSG_RESULT(yes)
|
||||||
AS_IF(
|
AS_IF(
|
||||||
|
@ -145,7 +145,12 @@ AC_ARG_ENABLE(
|
||||||
|
|
||||||
AS_IF(
|
AS_IF(
|
||||||
[test $auth_lib = na],
|
[test $auth_lib = na],
|
||||||
[auth_lib=openssl])
|
AS_IF(
|
||||||
|
[test $nettle_lib = no],
|
||||||
|
[auth_lib=openssl],
|
||||||
|
[AC_MSG_ERROR([could not set nettle without GnuTLS library])]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
AC_MSG_CHECKING([compile s3fs with])
|
AC_MSG_CHECKING([compile s3fs with])
|
||||||
case "${auth_lib}" in
|
case "${auth_lib}" in
|
||||||
|
|
Loading…
Reference in New Issue
Block a user