summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index dc10dfaae66..db5df92bee7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4507,7 +4507,9 @@ if test "$ace_user_enable_reentrant_funcs" = yes; then
int status = getpwnam_r (name, pwent, buffer, buflen, &result);
]])],
[
- AC_DEFINE([ACE_HAS_POSIX_GETPWNAM_R])
+ if test "$ace_user_enable_reentrant_funcs" = yes; then
+ AC_DEFINE([ACE_HAS_POSIX_GETPWNAM_R])
+ fi
],
[
dnl Nothing to do!