diff options
author | Alexander Bokovoy <ab@samba.org> | 2003-05-12 01:20:17 +0000 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2003-05-12 01:20:17 +0000 |
commit | e8573c8fa928602fd979d5ac45c692e7464f0aad (patch) | |
tree | 0eeefad7dc38873bff84296a2e73f1fd92d1aff0 /source3/aclocal.m4 | |
parent | 80f402837f83477cf34496a68699bb77a3206666 (diff) | |
download | samba-e8573c8fa928602fd979d5ac45c692e7464f0aad.tar.gz samba-e8573c8fa928602fd979d5ac45c692e7464f0aad.tar.xz samba-e8573c8fa928602fd979d5ac45c692e7464f0aad.zip |
Add NT quota support. Patch from Stefan (metze) Metzemacher
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow
(This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r-- | source3/aclocal.m4 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4 index f470e2e8b0e..dd1ae8df72b 100644 --- a/source3/aclocal.m4 +++ b/source3/aclocal.m4 @@ -678,3 +678,29 @@ dnl AC_DISABLE_STATIC - set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no)]) + +dnl AC_TRY_RUN_STRICT(PROGRAM,CFLAGS,CPPFLAGS,LDFLAGS, +dnl [ACTION-IF-TRUE],[ACTION-IF-FALSE], +dnl [ACTION-IF-CROSS-COMPILING = RUNTIME-ERROR]) +AC_DEFUN( [AC_TRY_RUN_STRICT], +[ + old_CFLAGS="$CFLAGS"; + CFLAGS="$2"; + export CFLAGS; + old_CPPFLAGS="$CPPFLAGS"; + CPPFLAGS="$3"; + export CPPFLAGS; + old_LDFLAGS="$LDFLAGS"; + LDFLAGS="$4"; + export LDFLAGS; + AC_TRY_RUN([$1],[$5],[$6],[$7]); + CFLAGS="$old_CFLAGS"; + old_CFLAGS=""; + export CFLAGS; + CPPFLAGS="$old_CPPFLAGS"; + old_CPPFLAGS=""; + export CPPFLAGS; + LDFLAGS="$old_LDFLAGS"; + old_LDFLAGS=""; + export LDFLAGS; +]) |