Commit b6938952 authored by Alexandre Julliard's avatar Alexandre Julliard

Added configure check for regex.h.

parent 9e23cf31
......@@ -13358,6 +13358,7 @@ done
for ac_header in \
arpa/inet.h \
arpa/nameser.h \
......@@ -13386,6 +13387,7 @@ for ac_header in \
netinet/tcp.h \
pty.h \
pwd.h \
regex.h \
sched.h \
scsi/sg.h \
socket.h \
......
......@@ -1017,6 +1017,7 @@ AC_CHECK_HEADERS(\
netinet/tcp.h \
pty.h \
pwd.h \
regex.h \
sched.h \
scsi/sg.h \
socket.h \
......
......@@ -413,6 +413,9 @@
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
/* Define to 1 if you have the <regex.h> header file. */
#undef HAVE_REGEX_H
/* Define to 1 if you have the `resizeterm' function. */
#undef HAVE_RESIZETERM
......
......@@ -1335,6 +1335,8 @@ int DEBUG_SetLocalSymbolType(struct wine_locals * sym, struct datatype * type)
return TRUE;
}
#ifdef HAVE_REGEX_H
static int cmp_sym_by_name(const void * p1, const void * p2)
{
struct name_hash ** name1 = (struct name_hash **) p1;
......@@ -1396,3 +1398,12 @@ void DEBUG_InfoSymbols(const char* str)
}
HeapFree(GetProcessHeap(), 0, array);
}
#else /* HAVE_REGEX_H */
void DEBUG_InfoSymbols(const char* str)
{
DEBUG_Printf( DBG_CHN_MESG, "FIXME: needs regex support\n" );
}
#endif /* HAVE_REGEX_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment