--- configure~ Tue Oct 23 17:46:32 2001 +++ configure Wed Oct 31 17:24:15 2001 @@ -5252,55 +5252,57 @@ -echo $ac_n "checking for compatible POSIX regex""... $ac_c" 1>&6 -echo "configure:5257: checking for compatible POSIX regex" >&5 -if eval "test \"\${ol_cv_c_posix_regex+set}\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - - if test "$cross_compiling" = yes; then - ol_cv_c_posix_regex=cross -else - cat > conftest.$ac_ext < -#include -static char *pattern, *string; -main() -{ - int rc; - regex_t re; - - pattern = "^A"; - - if(regcomp(&re, pattern, 0)) { - return -1; - } +# echo $ac_n "checking for compatible POSIX regex""... $ac_c" 1>&6 +# echo "configure:5257: checking for compatible POSIX regex" >&5 +# if eval "test \"\${ol_cv_c_posix_regex+set}\" = set"; then +# echo $ac_n "(cached) $ac_c" 1>&6 +# else + +# if test "$cross_compiling" = yes; then +# ol_cv_c_posix_regex=cross +# else +# cat > conftest.$ac_ext < +# #include +# static char *pattern, *string; +# main() +# { +# int rc; +# regex_t re; + +# pattern = "^A"; + +# if(regcomp(&re, pattern, 0)) { +# return -1; +# } - string = "ALL MATCH"; +# string = "ALL MATCH"; - rc = regexec(&re, string, 0, (void*)0, 0); +# rc = regexec(&re, string, 0, (void*)0, 0); - regfree(&re); +# regfree(&re); - return rc; -} -EOF -if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null -then - ol_cv_c_posix_regex=yes -else - echo "configure: failed program was:" >&5 - cat conftest.$ac_ext >&5 - rm -fr conftest* - ol_cv_c_posix_regex=no -fi -rm -fr conftest* -fi +# return rc; +# } +# EOF +# if { (eval echo configure:5292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) +# then +# ol_cv_c_posix_regex=yes +# else +# echo "configure: failed program was:" >&5 +# cat conftest.$ac_ext >&5 +# rm -fr conftest* +# ol_cv_c_posix_regex=no +# fi +# rm -fr conftest* +# fi + +# fi -fi +ol_cv_c_posix_regex=yes echo "$ac_t""$ol_cv_c_posix_regex" 1>&6