diff options
Diffstat (limited to 'source4/heimdal_build/config.m4')
-rw-r--r-- | source4/heimdal_build/config.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4 index 8a69a880d4b..462521d6b61 100644 --- a/source4/heimdal_build/config.m4 +++ b/source4/heimdal_build/config.m4 @@ -253,6 +253,12 @@ fi SMB_EXT_LIB(NSL,[${NSL_LIBS}],[],[],[]) +# only add closefrom if needed +SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM, NO) +if test t$ac_cv_func_closefrom != tyes; then + SMB_ENABLE(HEIMDAL_ROKEN_CLOSEFROM, YES) +fi + # only add getprogname if needed SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME, NO) SMB_ENABLE(HEIMDAL_ROKEN_GETPROGNAME_H, NO) |