Branch: Tag:

2006-07-01

2006-07-01 23:53:19 by Martin Stjernholm <mast@lysator.liu.se>

Corrected header tests for new AC_CHECK_FUNCS method. (It's e.g. necessary
to test winsock2.h before winsock.h since they conflict and winsock2.h must
be included before winsock.h to disable it properly.)

Rev: src/configure.in:1.965
Rev: src/modules/HTTPLoop/configure.in:1.8
Rev: src/modules/Mysql/configure.in:1.49
Rev: src/modules/_math/configure.in:1.14
Rev: src/modules/system/configure.in:1.76

1: - AC_REVISION("$Id: configure.in,v 1.964 2006/07/01 23:47:41 mast Exp $") + AC_REVISION("$Id: configure.in,v 1.965 2006/07/01 23:53:18 mast Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
597:    [do not build and use the smartlink binary]),    [], [force_smartlink_script_only=yes])    - AC_CHECK_HEADERS(stdlib.h string.h unistd.h sys/stat.h sys/types.h sys/errno.h) -  +    if test -x /usr/bin/uname 2>/dev/null; then    UNAME=`/usr/bin/uname -sr`   elif test -x /bin/uname 2>/dev/null; then
665:    PIKE_FUNCS_NEED_DECLS(yes)   fi    + AC_CHECK_HEADERS(stdlib.h string.h unistd.h sys/stat.h sys/types.h sys/errno.h) +    if test "$GCC" = "yes"; then :; else   #   # Special hack for HP-UX stupid cc
2255:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.964 2006/07/01 23:47:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.965 2006/07/01 23:53:18 mast Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2293:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.964 2006/07/01 23:47:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.965 2006/07/01 23:53:18 mast Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2302:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.964 2006/07/01 23:47:41 mast Exp $. + # Automatically generated by $Id: configure.in,v 1.965 2006/07/01 23:53:18 mast Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2929:   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 \ +  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 winsock.h sys/ioct.h sys/socket.h \ +  sys/procfs.h winsock2.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 winsock2.h signal.h sys/file.h poll.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 \    float.h sys/priocntl.h sys/sched.h winbase.h errno.h \    stddef.h mmx.h asm/mmx.h sys/termio.h sys/termios.h \