summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-26 13:12:54 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-26 13:14:26 +0100
commitd3ac11c64a95c2041dc0002b8cc59d756736d3be (patch)
tree6a4b6823d43d95837f5b632c2ddd818f4c5b7af8 /source4/heimdal_build
parenta777b4d50136dc52b69756fdfd6d7024270fe040 (diff)
downloadsamba-d3ac11c64a95c2041dc0002b8cc59d756736d3be.tar.gz
samba-d3ac11c64a95c2041dc0002b8cc59d756736d3be.tar.bz2
samba-d3ac11c64a95c2041dc0002b8cc59d756736d3be.zip
s4:heimdal_build: correrctly switch closefrom() and get/setprogname() replacements on and off
metze
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/internal.m410
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/heimdal_build/internal.m4 b/source4/heimdal_build/internal.m4
index 3039c8a796..4cd7521c37 100644
--- a/source4/heimdal_build/internal.m4
+++ b/source4/heimdal_build/internal.m4
@@ -269,16 +269,18 @@ SMB_ENABLE(compile_et, YES)
# only add closefrom if needed
SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM, NO)
+SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM_H, NO)
if test t$ac_cv_func_closefrom != tyes; then
SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM, YES)
+ SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM_H, YES)
fi
# only add getprogname if needed
-SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME, NO)
-SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME_H, NO)
+SMB_ENABLE(HEIMDAL_ROKEN_PROGNAME, NO)
+SMB_ENABLE(HEIMDAL_ROKEN_PROGNAME_H, NO)
if test t$ac_cv_func_getprogname != tyes; then
- SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME, YES)
- SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME_H, YES)
+ SMB_ENABLE(HEIMDAL_ROKEN_PROGNAME, YES)
+ SMB_ENABLE(HEIMDAL_ROKEN_PROGNAME_H, YES)
fi
VPATH="$VPATH:\$(HEIMDAL_VPATH)"