PATCH: configure.ac -- improve check for ucontext.h

Gerald Pfeifer pfeifer at dbai.tuwien.ac.at
Mon Nov 11 06:52:19 CST 2002


This patch is orthogonal to the other one I sent yesterday, and is
required on systems where ucontext.h depends on signal.h.

With this, configure under FreeBSD completely works for the first
time. :-)

Gerald

ChangeLog:
Add check for signal.h and refine check for ucontext.h

*** configure.ac-pre	Sun Nov 10 23:37:58 2002
--- configure.ac	Mon Nov 11 09:10:53 2002
*************** AC_CHECK_HEADERS(\
*** 993,998 ****
--- 993,999 ----
  	pwd.h \
  	sched.h \
  	scsi/sg.h \
+ 	signal.h \
  	socket.h \
  	stdint.h \
  	strings.h \
*************** AC_CHECK_HEADERS(\
*** 1031,1037 ****
  	sys/wait.h \
  	syscall.h \
  	termios.h \
- 	ucontext.h \
  	unistd.h \
  	utime.h \
  )
--- 1032,1037 ----
*************** AC_CHECK_HEADERS(resolv.h,,,
*** 1066,1071 ****
--- 1066,1076 ----
      [#include <sys/types.h>
       #if HAVE_SYS_SOCKET_H
       # include <sys/socket.h>
+      #endif])
+
+ AC_CHECK_HEADERS(ucontext.h,,,
+     [#if HAVE_SIGNAL_H
+      # include <signal.h>
       #endif])

  dnl **** Check for types ****





More information about the wine-patches mailing list