diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-06 23:07:10 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-06 23:07:10 +0000 |
commit | 11b2de50fc0e8bfcd810e8b07a7eb39a5d903621 (patch) | |
tree | 958c98c751380e3bacc0de3454c11f23ce3da76d /source3/configure | |
parent | e8e07a26eb1365d195c0345ad075ff828517fe53 (diff) | |
download | samba-11b2de50fc0e8bfcd810e8b07a7eb39a5d903621.tar.gz samba-11b2de50fc0e8bfcd810e8b07a7eb39a5d903621.tar.bz2 samba-11b2de50fc0e8bfcd810e8b07a7eb39a5d903621.zip |
Added getconf flags for RH7.1 lfs support. Changed while() to a for()
loop in Simo's code (removes much grp = gep->next code).
Jeremy.
(This used to be commit d0c276c2429fa19cd95ca887654e049593de68d5)
Diffstat (limited to 'source3/configure')
-rwxr-xr-x | source3/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/configure b/source3/configure index 5abdd6f16b..ab8868fd8f 100755 --- a/source3/configure +++ b/source3/configure @@ -947,7 +947,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -for ac_prog in mawk gawk nawk awk +for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -1809,7 +1809,7 @@ fi echo $ac_n "checking for LFS support""... $ac_c" 1>&6 echo "configure:1811: checking for LFS support" >&5 old_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS" + CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" if test "$cross_compiling" = yes; then LINUX_LFS_SUPPORT=cross else @@ -1866,7 +1866,7 @@ fi CPPFLAGS="$old_CPPFLAGS" if test x$LINUX_LFS_SUPPORT = xyes ; then - CPPFLAGS="-D_LARGEFILE64_SOURCE -D_GNU_SOURCE $CPPFLAGS" + CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" fi echo "$ac_t""$LINUX_LFS_SUPPORT" 1>&6 ;; |