Complete makefile/configure update
authorneilbrown <neilbrown>
Tue, 20 Dec 2005 06:04:18 +0000 (06:04 +0000)
committerneilbrown <neilbrown>
Tue, 20 Dec 2005 06:04:18 +0000 (06:04 +0000)
ChangeLog
configure
configure.in

index 6960780..e68b21c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-12-20 Kevin Coffman <kwc@citi.umich.edu> NeilBrown <neilb@suse.de>
+       Substantial Makefile/configure rewrite.  
+       Run 'autogen.sh' to create "Makefile.in" etc.
+
+       Also add -D_FILE_OFFSET_BITS=64 to CPP_FLAGS so that mountd can
+       stat and export files larger than 2Gig.
+
 2005-12-20 NeilBrown <neilb@suse.de>
        support/nfs/exports.c(getexportent): is a null host name is given,
        replace it with '*' so we have a non-empty host name for messages
index 052367b..5f2652b 100755 (executable)
--- a/configure
+++ b/configure
@@ -28484,7 +28484,7 @@ esac
 
 my_am_cflags="-Wall $ARCHFLAGS -pipe"
 
-AM_CPPFLAGS="-I\${top_srcdir}/support/include"
+AM_CPPFLAGS="-I\${top_srcdir}/support/include -D_FILE_OFFSET_BITS=64"
 
 AM_CFLAGS="$my_am_cflags"
 
index ddb72a1..c93cae3 100644 (file)
@@ -271,7 +271,7 @@ esac
 
 my_am_cflags="-Wall $ARCHFLAGS -pipe"
 
-AC_SUBST([AM_CPPFLAGS], ["-I\${top_srcdir}/support/include"])
+AC_SUBST([AM_CPPFLAGS], ["-I\${top_srcdir}/support/include -D_FILE_OFFSET_BITS=64"])
 AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])
 
 # Make sure that $ACLOCAL_FLAGS are used during a rebuild