diff -up msort-8.46/configure.ac.tre msort-8.46/configure.ac --- msort-8.46/configure.ac.tre 2008-05-28 02:23:13.000000000 +0200 +++ msort-8.46/configure.ac 2009-12-06 13:43:45.984378670 +0100 @@ -69,7 +69,7 @@ AC_PROG_CC AC_PROG_INSTALL # Checks for libraries. -AC_CHECK_LIB([tre], [regwcomp],,[AC_MSG_ERROR([libtre not found. see http://laurikari.net/tre/])]) +AC_CHECK_LIB([tre], [tre_regwcomp],,[AC_MSG_ERROR([libtre not found. see http://laurikari.net/tre/])]) # Checks for header files. AC_HEADER_STDC diff -up msort-8.46/configure.tre msort-8.46/configure --- msort-8.46/configure.tre 2008-05-28 02:23:47.000000000 +0200 +++ msort-8.46/configure 2009-12-06 13:44:53.027621362 +0100 @@ -3045,8 +3045,8 @@ test -z "$INSTALL_DATA" && INSTALL_DATA= # Checks for libraries. -echo "$as_me:$LINENO: checking for regwcomp in -ltre" >&5 -echo $ECHO_N "checking for regwcomp in -ltre... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for tre_regwcomp in -ltre" >&5 +echo $ECHO_N "checking for tre_regwcomp in -ltre... $ECHO_C" >&6 if test "${ac_cv_lib_tre_regwcomp+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else @@ -3065,11 +3065,11 @@ extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ -char regwcomp (); +char tre_regwcomp (); int main () { -regwcomp (); +tre_regwcomp (); ; return 0; }