1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Add port support for unsetenv() in back branches. Needed for locale

environment fix.
This commit is contained in:
Tom Lane
2006-01-05 00:51:52 +00:00
parent 4e0f51f13d
commit 3abc36786b
5 changed files with 72 additions and 7 deletions

6
configure vendored
View File

@ -10531,7 +10531,8 @@ fi
for ac_func in fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul
for ac_func in fseeko gethostname getrusage inet_aton random srandom strcasecmp strdup strerror strtol strtoul unsetenv
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5
@ -11168,7 +11169,8 @@ echo "${ECHO_T}$ac_cv_header_syslog_h" >&6
fi
if test $ac_cv_header_syslog_h = yes; then
cat >>confdefs.h <<\_ACEOF
cat >>confdefs.h <<\_ACEOF
#define HAVE_SYSLOG 1
_ACEOF