diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-04-16 12:43:18 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:50:54 -0500 |
commit | 9a7d2f8e54e61c40738eff89b1b6b9c71ced9640 (patch) | |
tree | f31499047b2df5d8975e72f4bb6717980c25d31c /source4/lib/replace/libreplace.m4 | |
parent | 7836c2d101944edfcc2ccc2ff0d7403ca625aed1 (diff) | |
download | samba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.tar.gz samba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.tar.bz2 samba-9a7d2f8e54e61c40738eff89b1b6b9c71ced9640.zip |
r22263: use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.
metze
(This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
Diffstat (limited to 'source4/lib/replace/libreplace.m4')
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index ab7c83f9dd..e9b19b7cf5 100644 --- a/source4/lib/replace/libreplace.m4 +++ b/source4/lib/replace/libreplace.m4 @@ -263,7 +263,7 @@ AC_CHECK_HEADERS([sys/param.h limits.h]) AC_CHECK_TYPE(comparison_fn_t, [AC_DEFINE(HAVE_COMPARISON_FN_T, 1,[Whether or not we have comparison_fn_t])]) -AC_CHECK_DECLS([setenv, unsetenv]) +AC_HAVE_DECL(setenv, [#include <stdlib.h>]) AC_CHECK_FUNCS(setenv unsetenv) AC_CHECK_FUNCS(strnlen) |