Added configure check for regex.h.
This commit is contained in:
parent
9e23cf31e1
commit
b69389520c
|
@ -13356,6 +13356,7 @@ done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for ac_header in \
|
for ac_header in \
|
||||||
|
@ -13386,6 +13387,7 @@ for ac_header in \
|
||||||
netinet/tcp.h \
|
netinet/tcp.h \
|
||||||
pty.h \
|
pty.h \
|
||||||
pwd.h \
|
pwd.h \
|
||||||
|
regex.h \
|
||||||
sched.h \
|
sched.h \
|
||||||
scsi/sg.h \
|
scsi/sg.h \
|
||||||
socket.h \
|
socket.h \
|
||||||
|
|
|
@ -1017,6 +1017,7 @@ AC_CHECK_HEADERS(\
|
||||||
netinet/tcp.h \
|
netinet/tcp.h \
|
||||||
pty.h \
|
pty.h \
|
||||||
pwd.h \
|
pwd.h \
|
||||||
|
regex.h \
|
||||||
sched.h \
|
sched.h \
|
||||||
scsi/sg.h \
|
scsi/sg.h \
|
||||||
socket.h \
|
socket.h \
|
||||||
|
|
|
@ -413,6 +413,9 @@
|
||||||
/* Define to 1 if you have the `pwrite' function. */
|
/* Define to 1 if you have the `pwrite' function. */
|
||||||
#undef HAVE_PWRITE
|
#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. */
|
/* Define to 1 if you have the `resizeterm' function. */
|
||||||
#undef HAVE_RESIZETERM
|
#undef HAVE_RESIZETERM
|
||||||
|
|
||||||
|
|
|
@ -1335,6 +1335,8 @@ int DEBUG_SetLocalSymbolType(struct wine_locals * sym, struct datatype * type)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_REGEX_H
|
||||||
|
|
||||||
static int cmp_sym_by_name(const void * p1, const void * p2)
|
static int cmp_sym_by_name(const void * p1, const void * p2)
|
||||||
{
|
{
|
||||||
struct name_hash ** name1 = (struct name_hash **) p1;
|
struct name_hash ** name1 = (struct name_hash **) p1;
|
||||||
|
@ -1396,3 +1398,12 @@ void DEBUG_InfoSymbols(const char* str)
|
||||||
}
|
}
|
||||||
HeapFree(GetProcessHeap(), 0, array);
|
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 */
|
||||||
|
|
Loading…
Reference in New Issue