summaryrefslogtreecommitdiff
path: root/source3/aclocal.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-10-09 22:52:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-10-09 22:52:51 +0000
commita43a3ed4606014b68ac0ec591f5923eebf949cc9 (patch)
treef01391a184bda20f8e856bb37b68902bffefc1ca /source3/aclocal.m4
parentc9c2ddfa447dae8805f0acc6c5dbc66d911c817a (diff)
downloadsamba-a43a3ed4606014b68ac0ec591f5923eebf949cc9.tar.gz
samba-a43a3ed4606014b68ac0ec591f5923eebf949cc9.tar.bz2
samba-a43a3ed4606014b68ac0ec591f5923eebf949cc9.zip
We need to make sure that the files that contain the static_init_$subsystem;
macro get recompiled after configure has ran. This was done by touching the source file. This patch changes it to removing the object file, so that you don't need write-access to the source directory. (This used to be commit 1a95f5c9a9ad10046c481b7d3ad4e15a77e23144)
Diffstat (limited to 'source3/aclocal.m4')
-rw-r--r--source3/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index e1ea9385fd..c7831c58ca 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -73,7 +73,7 @@ AC_DEFUN(SMB_SUBSYSTEM,
AC_SUBST($1_STATIC)
AC_SUBST($1_MODULES)
AC_DEFINE_UNQUOTED([static_init_]translit([$1], [A-Z], [a-z]), [{$init_static_modules_]translit([$1], [A-Z], [a-z])[}], [Static init functions])
- ifelse([$2], , :, [touch $2])
+ ifelse([$2], , :, [rm -f $2])
])
dnl AC_PROG_CC_FLAG(flag)