Added some optional headers and functions for compiling on Windows
with MSVC.
This commit is contained in:
parent
302208f12a
commit
81ecb52cc9
10
configure.ac
10
configure.ac
|
@ -834,6 +834,10 @@ AC_FUNC_ALLOCA()
|
||||||
AC_CHECK_FUNCS(\
|
AC_CHECK_FUNCS(\
|
||||||
__libc_fork \
|
__libc_fork \
|
||||||
_lwp_create \
|
_lwp_create \
|
||||||
|
_pclose \
|
||||||
|
_popen \
|
||||||
|
_stricmp \
|
||||||
|
_strnicmp \
|
||||||
clone \
|
clone \
|
||||||
ecvt \
|
ecvt \
|
||||||
finite \
|
finite \
|
||||||
|
@ -852,7 +856,9 @@ AC_CHECK_FUNCS(\
|
||||||
lstat \
|
lstat \
|
||||||
memmove \
|
memmove \
|
||||||
mmap \
|
mmap \
|
||||||
|
pclose \
|
||||||
pread \
|
pread \
|
||||||
|
popen \
|
||||||
pwrite \
|
pwrite \
|
||||||
rfork \
|
rfork \
|
||||||
select \
|
select \
|
||||||
|
@ -876,9 +882,11 @@ dnl **** Check for header files ****
|
||||||
AC_CHECK_HEADERS(\
|
AC_CHECK_HEADERS(\
|
||||||
arpa/inet.h \
|
arpa/inet.h \
|
||||||
arpa/nameser.h \
|
arpa/nameser.h \
|
||||||
|
direct.h \
|
||||||
elf.h \
|
elf.h \
|
||||||
float.h \
|
float.h \
|
||||||
ieeefp.h \
|
ieeefp.h \
|
||||||
|
io.h \
|
||||||
libio.h \
|
libio.h \
|
||||||
libutil.h \
|
libutil.h \
|
||||||
link.h \
|
link.h \
|
||||||
|
@ -920,6 +928,7 @@ AC_CHECK_HEADERS(\
|
||||||
sys/statfs.h \
|
sys/statfs.h \
|
||||||
sys/strtio.h \
|
sys/strtio.h \
|
||||||
sys/syscall.h \
|
sys/syscall.h \
|
||||||
|
sys/time.h \
|
||||||
sys/user.h \
|
sys/user.h \
|
||||||
sys/wait.h \
|
sys/wait.h \
|
||||||
sys/v86.h \
|
sys/v86.h \
|
||||||
|
@ -928,6 +937,7 @@ AC_CHECK_HEADERS(\
|
||||||
sys/vm86.h \
|
sys/vm86.h \
|
||||||
syscall.h \
|
syscall.h \
|
||||||
ucontext.h \
|
ucontext.h \
|
||||||
|
unistd.h \
|
||||||
)
|
)
|
||||||
AC_HEADER_STAT()
|
AC_HEADER_STAT()
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,9 @@
|
||||||
/* Define if you have the <curses.h> header file. */
|
/* Define if you have the <curses.h> header file. */
|
||||||
#undef HAVE_CURSES_H
|
#undef HAVE_CURSES_H
|
||||||
|
|
||||||
|
/* Define if you have the <direct.h> header file. */
|
||||||
|
#undef HAVE_DIRECT_H
|
||||||
|
|
||||||
/* Define if you have the <dlfcn.h> header file. */
|
/* Define if you have the <dlfcn.h> header file. */
|
||||||
#undef HAVE_DLFCN_H
|
#undef HAVE_DLFCN_H
|
||||||
|
|
||||||
|
@ -151,6 +154,9 @@
|
||||||
/* Define if you have the <inttypes.h> header file. */
|
/* Define if you have the <inttypes.h> header file. */
|
||||||
#undef HAVE_INTTYPES_H
|
#undef HAVE_INTTYPES_H
|
||||||
|
|
||||||
|
/* Define if you have the <io.h> header file. */
|
||||||
|
#undef HAVE_IO_H
|
||||||
|
|
||||||
/* Define if IPX should use netipx/ipx.h from libc */
|
/* Define if IPX should use netipx/ipx.h from libc */
|
||||||
#undef HAVE_IPX_GNU
|
#undef HAVE_IPX_GNU
|
||||||
|
|
||||||
|
@ -298,6 +304,12 @@
|
||||||
/* Define if you have the Open Sound system (MIDI interface) */
|
/* Define if you have the Open Sound system (MIDI interface) */
|
||||||
#undef HAVE_OSS_MIDI
|
#undef HAVE_OSS_MIDI
|
||||||
|
|
||||||
|
/* Define if you have the `pclose' function. */
|
||||||
|
#undef HAVE_PCLOSE
|
||||||
|
|
||||||
|
/* Define if you have the `popen' function. */
|
||||||
|
#undef HAVE_POPEN
|
||||||
|
|
||||||
/* Define if we can use ppdev.h for parallel port access */
|
/* Define if we can use ppdev.h for parallel port access */
|
||||||
#undef HAVE_PPDEV
|
#undef HAVE_PPDEV
|
||||||
|
|
||||||
|
@ -442,6 +454,9 @@
|
||||||
/* Define if you have the <sys/syscall.h> header file. */
|
/* Define if you have the <sys/syscall.h> header file. */
|
||||||
#undef HAVE_SYS_SYSCALL_H
|
#undef HAVE_SYS_SYSCALL_H
|
||||||
|
|
||||||
|
/* Define if you have the <sys/time.h> header file. */
|
||||||
|
#undef HAVE_SYS_TIME_H
|
||||||
|
|
||||||
/* Define if you have the <sys/types.h> header file. */
|
/* Define if you have the <sys/types.h> header file. */
|
||||||
#undef HAVE_SYS_TYPES_H
|
#undef HAVE_SYS_TYPES_H
|
||||||
|
|
||||||
|
@ -520,6 +535,18 @@
|
||||||
/* Define if you have the `_lwp_create' function. */
|
/* Define if you have the `_lwp_create' function. */
|
||||||
#undef HAVE__LWP_CREATE
|
#undef HAVE__LWP_CREATE
|
||||||
|
|
||||||
|
/* Define if you have the `_pclose' function. */
|
||||||
|
#undef HAVE__PCLOSE
|
||||||
|
|
||||||
|
/* Define if you have the `_popen' function. */
|
||||||
|
#undef HAVE__POPEN
|
||||||
|
|
||||||
|
/* Define if you have the `_stricmp' function. */
|
||||||
|
#undef HAVE__STRICMP
|
||||||
|
|
||||||
|
/* Define if you have the `_strnicmp' function. */
|
||||||
|
#undef HAVE__STRNICMP
|
||||||
|
|
||||||
/* Define if you have the `__libc_fork' function. */
|
/* Define if you have the `__libc_fork' function. */
|
||||||
#undef HAVE___LIBC_FORK
|
#undef HAVE___LIBC_FORK
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue