From c7a2f6860669f45f5abe342163de5bc68e344816 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 10 Feb 2004 16:23:38 +0000 Subject: nginx-0.0.2-2004-02-10-19:23:38 import --- auto/configure | 2 +- auto/unix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'auto') diff --git a/auto/configure b/auto/configure index 162a69746..f9ad3191c 100755 --- a/auto/configure +++ b/auto/configure @@ -3,7 +3,7 @@ . auto/init . auto/sources -test -d $OBJ || mkdir $OBJ +test -d $OBJS || mkdir $OBJS echo > $NGX_AUTO_CONFIG_H if [ "$PLATFORM" != win32 ]; then diff --git a/auto/unix b/auto/unix index 3aa188303..d6fc3730e 100755 --- a/auto/unix +++ b/auto/unix @@ -98,6 +98,12 @@ ngx_func_test="char buf[20]; int n; n = strerror_r(1, buf, 20)" . auto/func +ngx_func="gnu_strerror_r()" +ngx_func_inc="#include " +ngx_func_test="char buf[20], *str; str = strerror_r(1, buf, 20)" +. auto/func + + ngx_func="localtime_r()" ngx_func_inc="#include " ngx_func_test="struct tm t; time_t c=0; localtime_r(&c, &t)" -- cgit