diff auto/feature @ 946:756e8a5b1f78

early C compiler test
author Igor Sysoev <igor@sysoev.ru>
date Sat, 23 Dec 2006 20:31:14 +0000
parents 7af8276b1c2f
children dad4423ef56a
line wrap: on
line diff
--- a/auto/feature
+++ b/auto/feature
@@ -41,7 +41,7 @@ ngx_test="$CC $CC_TEST_FLAGS $CC_AUX_FLA
 
 ngx_feature_inc_path=
 
-eval "$ngx_test >> $NGX_AUTOCONF_ERR 2>&1"
+eval "/bin/sh -c \"$ngx_test\" >> $NGX_AUTOCONF_ERR 2>&1"
 
 
 if [ -x $NGX_AUTOTEST ]; then