Commit df5a7956 authored by Vincent Béron's avatar Vincent Béron Committed by Alexandre Julliard

Remove some unused tests.

parent cba8763c
......@@ -179,8 +179,6 @@ AC_CHECK_HEADERS(\
jpeglib.h \
lcms/lcms.h \
lcms.h \
libio.h \
libutil.h \
link.h \
linux/cdrom.h \
linux/compiler.h \
......@@ -199,22 +197,15 @@ AC_CHECK_HEADERS(\
netinet/in_systm.h \
netinet/tcp.h \
netinet/tcp_fsm.h \
openssl/des.h \
openssl/md2.h \
openssl/rc2.h \
openssl/rc4.h \
openssl/rsa.h \
openssl/ssl.h \
process.h \
pthread.h \
pty.h \
pwd.h \
regex.h \
sched.h \
scsi/sg.h \
scsi/scsi.h \
scsi/scsi_ioctl.h \
socket.h \
stdint.h \
strings.h \
sys/cdio.h \
......@@ -222,9 +213,7 @@ AC_CHECK_HEADERS(\
sys/errno.h \
sys/epoll.h \
sys/exec_elf.h \
sys/file.h \
sys/filio.h \
sys/inttypes.h \
sys/ioctl.h \
sys/ipc.h \
sys/link.h \
......@@ -250,8 +239,6 @@ AC_CHECK_HEADERS(\
sys/times.h \
sys/uio.h \
sys/un.h \
sys/v86.h \
sys/v86intr.h \
sys/vfs.h \
sys/vm86.h \
sys/wait.h \
......@@ -281,7 +268,6 @@ then
X11/extensions/XShm.h \
X11/extensions/Xrandr.h \
X11/extensions/Xrender.h \
X11/extensions/Xvlib.h \
X11/extensions/xf86dga.h \
X11/extensions/xf86vmode.h],,,
[#include <X11/Xlib.h>
......@@ -342,16 +328,6 @@ then
[AC_DEFINE(HAVE_LIBXRANDR, 1, [Define if you have the Xrandr library])])
fi
dnl *** Check for XVideo extension supporting XvImages
if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
then
AC_CHECK_LIB(Xv, XvShmCreateImage,
[ AC_DEFINE(HAVE_XVIDEO, 1, [Define if the X libraries support XVideo])
X_PRE_LIBS="$X_PRE_LIBS -lXv"
],,
$X_LIBS -lXext -lX11 $X_EXTRA_LIBS)
fi
dnl *** Check for Transform functions in Xrender
if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
then
......@@ -398,32 +374,6 @@ This prevents linking to OpenGL. Delete the file and restart configure.])
then
OPENGLFILES='$(OPENGLFILES)'
AC_DEFINE(HAVE_OPENGL, 1, [Define if OpenGL is present on the system])
AC_CHECK_LIB(GL,glXGetProcAddressARB,
AC_DEFINE(HAVE_GLX_GETPROCADDRESS, 1,
[Define if the OpenGL library supports the glXGetProcAddressARB call]),,
$X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS)
if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
then
AC_CACHE_CHECK([for OpenGL extension functions prototypes], wine_cv_extension_prototypes,
[AC_TRY_COMPILE([#include <GL/gl.h>
#ifdef HAVE_GL_GLEXT_H
# include <GL/glext.h>
#endif
],
[PFNGLCOLORTABLEEXTPROC test_proc;],
[wine_cv_extension_prototypes="yes"],
[wine_cv_extension_prototypes="no"]
)]
)
if test "$wine_cv_extension_prototypes" = "yes"
then
AC_DEFINE(HAVE_GLEXT_PROTOTYPES, 1,
[Define if the OpenGL headers define extension typedefs])
fi
fi
fi
dnl Check for GLU32 library.
AC_CHECK_LIB(GLU,gluLookAt,
......@@ -471,10 +421,6 @@ then
[AC_CHECK_LIB(curses,waddch,
[AC_DEFINE(HAVE_LIBCURSES, 1, [Define if you have the curses library (-lcurses)])
CURSESLIBS="-lcurses"])])])])
saved_libs="$LIBS"
LIBS="$CURSESLIBS $LIBS"
AC_CHECK_FUNCS(getbkgd resizeterm)
LIBS="$saved_libs"
fi
AC_SUBST(CURSESLIBS)
......@@ -1186,9 +1132,7 @@ AC_CHECK_FUNCS(\
fstatfs \
fstatvfs \
ftruncate \
ftruncate64 \
futimes \
getnetbyaddr \
getnetbyname \
getopt_long \
getpagesize \
......@@ -1200,7 +1144,6 @@ AC_CHECK_FUNCS(\
gettimeofday \
getuid \
inet_network \
lseek64 \
lstat \
memmove \
mmap \
......@@ -1225,7 +1168,6 @@ AC_CHECK_FUNCS(\
tcgetattr \
timegm \
usleep \
vfscanf \
vsnprintf \
wait4 \
waitpid \
......@@ -1257,15 +1199,6 @@ AC_CHECK_HEADERS([resolv.h],,,
# include <arpa/nameser.h>
#endif])
AC_CHECK_HEADERS(netinet/ip.h,,,
[#include <sys/types.h>
#if HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#if HAVE_NETINET_IN_SYSTM_H
# include <netinet/in_systm.h>
#endif])
AC_CHECK_HEADERS(ucontext.h,,,[#include <signal.h>])
dnl **** Check for IPX headers (currently Linux only) ****
......
......@@ -152,21 +152,12 @@
/* Define to 1 if you have the `ftruncate' function. */
#undef HAVE_FTRUNCATE
/* Define to 1 if you have the `ftruncate64' function. */
#undef HAVE_FTRUNCATE64
/* Define to 1 if you have the `futimes' function. */
#undef HAVE_FUTIMES
/* Define to 1 if you have the `getbkgd' function. */
#undef HAVE_GETBKGD
/* Define to 1 if you have the `gethostbyname' function. */
#undef HAVE_GETHOSTBYNAME
/* Define to 1 if you have the `getnetbyaddr' function. */
#undef HAVE_GETNETBYADDR
/* Define to 1 if you have the `getnetbyname' function. */
#undef HAVE_GETNETBYNAME
......@@ -203,12 +194,6 @@
/* Define to 1 if you have the <gif_lib.h> header file. */
#undef HAVE_GIF_LIB_H
/* Define if the OpenGL headers define extension typedefs */
#undef HAVE_GLEXT_PROTOTYPES
/* Define if the OpenGL library supports the glXGetProcAddressARB call */
#undef HAVE_GLX_GETPROCADDRESS
/* Define to 1 if you have the <GL/glext.h> header file. */
#undef HAVE_GL_GLEXT_H
......@@ -269,9 +254,6 @@
/* Define to 1 if you have the `i386' library (-li386). */
#undef HAVE_LIBI386
/* Define to 1 if you have the <libio.h> header file. */
#undef HAVE_LIBIO_H
/* Define if you have the ncurses library (-lncurses) */
#undef HAVE_LIBNCURSES
......@@ -290,9 +272,6 @@
/* Define to 1 if you have the `socket' library (-lsocket). */
#undef HAVE_LIBSOCKET
/* Define to 1 if you have the <libutil.h> header file. */
#undef HAVE_LIBUTIL_H
/* Define to 1 if you have the `w' library (-lw). */
#undef HAVE_LIBW
......@@ -359,9 +338,6 @@
/* Define to 1 if the system has the type `long long'. */
#undef HAVE_LONG_LONG
/* Define to 1 if you have the `lseek64' function. */
#undef HAVE_LSEEK64
/* Define to 1 if you have the `lstat' function. */
#undef HAVE_LSTAT
......@@ -401,9 +377,6 @@
/* Define to 1 if you have the <netinet/in_systm.h> header file. */
#undef HAVE_NETINET_IN_SYSTM_H
/* Define to 1 if you have the <netinet/ip.h> header file. */
#undef HAVE_NETINET_IP_H
/* Define to 1 if you have the <netinet/tcp_fsm.h> header file. */
#undef HAVE_NETINET_TCP_FSM_H
......@@ -431,21 +404,6 @@
/* Define if OpenGL is present on the system */
#undef HAVE_OPENGL
/* Define to 1 if you have the <openssl/des.h> header file. */
#undef HAVE_OPENSSL_DES_H
/* Define to 1 if you have the <openssl/md2.h> header file. */
#undef HAVE_OPENSSL_MD2_H
/* Define to 1 if you have the <openssl/rc2.h> header file. */
#undef HAVE_OPENSSL_RC2_H
/* Define to 1 if you have the <openssl/rc4.h> header file. */
#undef HAVE_OPENSSL_RC4_H
/* Define to 1 if you have the <openssl/rsa.h> header file. */
#undef HAVE_OPENSSL_RSA_H
/* Define to 1 if you have the <openssl/ssl.h> header file. */
#undef HAVE_OPENSSL_SSL_H
......@@ -491,9 +449,6 @@
/* Define to 1 if the system has the type `pthread_rwlock_t'. */
#undef HAVE_PTHREAD_RWLOCK_T
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
......@@ -506,9 +461,6 @@
/* 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
/* Define to 1 if you have the <resolv.h> header file. */
#undef HAVE_RESOLV_H
......@@ -557,9 +509,6 @@
/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF
/* Define to 1 if you have the <socket.h> header file. */
#undef HAVE_SOCKET_H
/* Define to 1 if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H
......@@ -653,15 +602,9 @@
/* Define to 1 if you have the <sys/exec_elf.h> header file. */
#undef HAVE_SYS_EXEC_ELF_H
/* Define to 1 if you have the <sys/file.h> header file. */
#undef HAVE_SYS_FILE_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define to 1 if you have the <sys/inttypes.h> header file. */
#undef HAVE_SYS_INTTYPES_H
/* Define to 1 if you have the <sys/ioctl.h> header file. */
#undef HAVE_SYS_IOCTL_H
......@@ -752,12 +695,6 @@
/* Define to 1 if you have the <sys/user.h> header file. */
#undef HAVE_SYS_USER_H
/* Define to 1 if you have the <sys/v86intr.h> header file. */
#undef HAVE_SYS_V86INTR_H
/* Define to 1 if you have the <sys/v86.h> header file. */
#undef HAVE_SYS_V86_H
/* Define to 1 if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H
......@@ -797,9 +734,6 @@
/* Define if we have va_copy */
#undef HAVE_VA_COPY
/* Define to 1 if you have the `vfscanf' function. */
#undef HAVE_VFSCANF
/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF
......@@ -830,9 +764,6 @@
/* Define to 1 if you have the <X11/extensions/XShm.h> header file. */
#undef HAVE_X11_EXTENSIONS_XSHM_H
/* Define to 1 if you have the <X11/extensions/Xvlib.h> header file. */
#undef HAVE_X11_EXTENSIONS_XVLIB_H
/* Define to 1 if you have the <X11/XKBlib.h> header file. */
#undef HAVE_X11_XKBLIB_H
......@@ -848,9 +779,6 @@
/* Define if Xrender has the XRenderSetPictureTransform function */
#undef HAVE_XRENDERSETPICTURETRANSFORM
/* Define if the X libraries support XVideo */
#undef HAVE_XVIDEO
/* Define to 1 if you have the `_lwp_create' function. */
#undef HAVE__LWP_CREATE
......
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