Branch: Tag:

2006-08-04

2006-08-04 19:52:19 by Martin Stjernholm <mast@lysator.liu.se>

Test winsock2.h before most other headers to avoid conflict with winsock.h.

Rev: src/configure.in:1.985

1: - AC_REVISION("$Id: configure.in,v 1.984 2006/08/04 14:11:38 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.985 2006/08/04 19:52:19 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2284:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.984 2006/08/04 14:11:38 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.985 2006/08/04 19:52:19 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2322:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.984 2006/08/04 14:11:38 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.985 2006/08/04 19:52:19 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2331:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.984 2006/08/04 14:11:38 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.985 2006/08/04 19:52:19 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2968:      AC_HEADER_TIME   AC_HEADER_STDC - AC_CHECK_HEADERS(sys/rusage.h time.h sys/time.h sys/types.h unistd.h stdlib.h \ -  memory.h values.h string.h strings.h fcntl.h sys/filio.h \ -  sys/sockio.h crypt.h locale.h sys/select.h net/socket.h \ -  sys/param.h stdio.h wchar.h io.h \ + # Note: winsock2.h has to be included before winsock.h to avoid + # conflict. Thus check for winsock2.h before anything else in case + # winsock.h is included indirectly. + AC_CHECK_HEADERS(winsock2.h sys/rusage.h time.h sys/time.h sys/types.h \ +  unistd.h stdlib.h memory.h values.h string.h strings.h \ +  fcntl.h sys/filio.h sys/sockio.h crypt.h locale.h \ +  sys/select.h net/socket.h sys/param.h stdio.h wchar.h io.h \    sys/mman.h setjmp.h sys/user.h limits.h pthread.h \    crt/signal.h sys/id.h mach-o/dyld.h sys/ptrace.h \    thread.h dlfcn.h dld.h dl.h sys/times.h sched.h \ -  sys/procfs.h winsock2.h sys/ioct.h sys/socket.h \ +  sys/procfs.h sys/ioct.h sys/socket.h \    malloc.h netinet/in.h sys/wait.h windows.h grp.h pwd.h \    passwd.h group.h winsock.h signal.h sys/file.h poll.h \    sys/poll.h socket.h ieeefp.h fp_class.h floatingpoint.h \