comparison auto/func @ 253:b6793bc5034b

nginx-0.0.2-2004-02-09-10:46:43 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 09 Feb 2004 07:46:43 +0000
parents 1903c6821958
children 98c77ca0f354
comparison
equal deleted inserted replaced
252:84b1c672ec5a 253:b6793bc5034b
22 eval "$CC $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs \ 22 eval "$CC $CC_TEST_FLAGS -o $NGX_AUTOTEST $NGX_AUTOTEST.c $ngx_func_libs \
23 >> $NGX_ERR 2>&1" 23 >> $NGX_ERR 2>&1"
24 24
25 if [ -x $NGX_AUTOTEST ]; then 25 if [ -x $NGX_AUTOTEST ]; then
26 echo " found" 26 echo " found"
27 27 have=HAVE_$func . auto/have
28 cat << END >> $NGX_AUTO_CONFIG_H
29
30 #ifndef HAVE_$func
31 #define HAVE_$func 1
32 #endif
33
34 END
35
36 ngx_found=yes 28 ngx_found=yes
37 29
38 else 30 else
39 echo " not found" 31 echo " not found"
40 fi 32 fi