summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2011-04-20 23:32:12 +0200
committerBjoern Jacke <bj@sernet.de>2011-05-03 12:03:11 +0200
commit9738f35f2cef0af11c3390162a9c2a3841d6073b (patch)
tree2b118a355c122774aa67da8bb901f4e02ba6d5af /source3
parent92e490ac098ce54ff0db9f9234d4a4057435fe3a (diff)
downloadsamba-9738f35f2cef0af11c3390162a9c2a3841d6073b.tar.gz
samba-9738f35f2cef0af11c3390162a9c2a3841d6073b.tar.bz2
samba-9738f35f2cef0af11c3390162a9c2a3841d6073b.zip
ѕ3/configure: move out generic LDFLAGS in the solaris case here
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 8164a44f00..443e0bdfbd 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -518,6 +518,7 @@ case "$host_os" in
AC_MSG_RESULT([no large file support])
;;
5.*)
+ LDFLAGS="$LDFLAGS -lthread"
AC_MSG_RESULT([enabling large file support])
if test "$ac_cv_prog_gcc" = yes; then
${CC-cc} -v >conftest.c 2>&1
@@ -526,19 +527,16 @@ case "$host_os" in
case "$ac_cv_gcc_compiler_version_number" in
*"gcc version 2.6"*|*"gcc version 2.7"*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE -D_REENTRANT"
- LDFLAGS="$LDFLAGS -lthread"
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
;;
*)
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64"
- LDFLAGS="$LDFLAGS -lthread"
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
;;
esac
else
CPPFLAGS="$CPPFLAGS -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64"
- LDFLAGS="$LDFLAGS -lthread"
AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support])
AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
fi