mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-05 04:17:52 +00:00
d121bab3e5
========================== List of Changes ========================== 1) Fixed bugs - r478, r480, r481, r482, r483, r484, r486, r489, r491, r492, r493, r494, r495, r496, r497, r498 - Fixed wrong printf format. - Fixed a bug at changing umask. - Fixed a bug at changing utimens. - When changing object size, could not update stat cache. - Fixed some memory leak. - Fixed a bug about ftruncate(Issue 371). - Fixed a bug about multipart post request(Issue 371). - Fixed a bug about multipart post/head retrying(Issue 389). - Fixed public_bucket option bug - Fixed file size over flow on 32bit OS 2) Changed codes - r479, r480, r482, r485, r488, r490, r493 - Calling curl_global_init function once. - Adds dynamic lock callback for OpenSSL. - Checking strict for s3fs command parameters. - Caches SSL session. - Changes parallel count 500 to 20 for multipart head req. - Adds --enable-nss-init configure option. - Changes updating timing for object cache(Issue 368). - Changes level for some debugging codes. - Adds casting for curl_ott_t variables. - Adds IAM role option. - Adds function on utility mode for removing failed multipart req. git-svn-id: http://s3fs.googlecode.com/svn/trunk@499 df820570-a93a-0410-bd06-b72b767a4274
108 lines
3.1 KiB
Plaintext
108 lines
3.1 KiB
Plaintext
######################################################################
|
|
# s3fs - FUSE-based file system backed by Amazon S3
|
|
#
|
|
# Copyright 2007-2008 Randy Rizun <rrizun@gmail.com>
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# as published by the Free Software Foundation; either version 2
|
|
# of the License, or (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
######################################################################
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
AC_PREREQ(2.59)
|
|
AC_INIT(s3fs, 1.74)
|
|
|
|
AC_CANONICAL_SYSTEM
|
|
AM_INIT_AUTOMAKE()
|
|
|
|
AC_PROG_CXX
|
|
|
|
CXXFLAGS="$CXXFLAGS -Wall -D_FILE_OFFSET_BITS=64"
|
|
|
|
PKG_CHECK_MODULES([DEPS], [fuse >= 2.8.4 libcurl >= 7.0 libxml-2.0 >= 2.6 libcrypto >= 0.9])
|
|
|
|
dnl malloc_trim function
|
|
AC_CHECK_FUNCS(malloc_trim, , )
|
|
|
|
dnl Initializing NSS(temporally)
|
|
AC_MSG_CHECKING([Initializing libcurl build with NSS])
|
|
AC_ARG_ENABLE(
|
|
nss-init,
|
|
[
|
|
AS_HELP_STRING(
|
|
[--enable-nss-init],
|
|
[Inilializing libcurl with NSS (default is no)]
|
|
)
|
|
],
|
|
[
|
|
case "${enableval}" in
|
|
yes)
|
|
AC_MSG_RESULT(yes)
|
|
nss_init_enabled=yes
|
|
;;
|
|
*)
|
|
AC_MSG_RESULT(no)
|
|
nss_init_enabled=no
|
|
;;
|
|
esac
|
|
],
|
|
[
|
|
AC_MSG_RESULT(no)
|
|
nss_init_enabled=no
|
|
])
|
|
|
|
AS_IF(
|
|
[test $nss_init_enabled = yes],
|
|
[
|
|
AC_DEFINE(NSS_INIT_ENABLED, 1)
|
|
AC_CHECK_LIB(nss3, NSS_NoDB_Init, , [AC_MSG_ERROR(not found NSS libraries)])
|
|
AC_CHECK_LIB(plds4, PL_ArenaFinish, , [AC_MSG_ERROR(not found PL_ArenaFinish)])
|
|
AC_CHECK_LIB(nspr4, PR_Cleanup, , [AC_MSG_ERROR(not found PR_Cleanup)])
|
|
AC_CHECK_HEADER(nss.h, , [AC_MSG_ERROR(not found nss.h)])
|
|
AC_CHECK_HEADER(nspr4/prinit.h, , [AC_MSG_ERROR(not found prinit.h)])
|
|
AC_PATH_PROG(NSSCONFIG, [nss-config], no)
|
|
AS_IF(
|
|
[test $NSSCONFIG = no],
|
|
[
|
|
DEPS_CFLAGS="$DEPS_CFLAGS -I/usr/include/nss3"
|
|
DEPS_LIBS="$DEPS_LIBS -lnss3"
|
|
],
|
|
[
|
|
addcflags=`nss-config --cflags`
|
|
DEPS_CFLAGS="$DEPS_CFLAGS $addcflags"
|
|
dnl addlib=`nss-config --libs`
|
|
dnl DEPS_LIBS="$DEPS_LIBS $addlib"
|
|
DEPS_LIBS="$DEPS_LIBS -lnss3"
|
|
])
|
|
AC_PATH_PROG(NSPRCONFIG, [nspr-config], no)
|
|
AS_IF(
|
|
[test $NSPRCONFIG = no],
|
|
[
|
|
DEPS_CFLAGS="$DEPS_CFLAGS -I/usr/include/nspr4"
|
|
DEPS_LIBS="$DEPS_LIBS -lnspr4 -lplds4"
|
|
],
|
|
[
|
|
addcflags=`nspr-config --cflags`
|
|
DEPS_CFLAGS="$DEPS_CFLAGS $addcflags"
|
|
dnl addlib=`nspr-config --libs`
|
|
dnl DEPS_LIBS="$DEPS_LIBS $addlib"
|
|
DEPS_LIBS="$DEPS_LIBS -lnspr4 -lplds4"
|
|
])
|
|
])
|
|
|
|
AS_UNSET(nss_enabled)
|
|
|
|
AC_CONFIG_FILES(Makefile src/Makefile test/Makefile doc/Makefile)
|
|
AC_OUTPUT
|
|
|