Branch: Tag:

2005-12-02

2005-12-02 20:43:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

<sys/param.h> is needed for <sys/user.h> on OpenBSD.

Rev: src/configure.in:1.930
Rev: src/signal_handler.c:1.315

1: - AC_REVISION("$Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $") + AC_REVISION("$Id: configure.in,v 1.930 2005/12/02 20:42:54 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2334:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $. + # Automatically generated by $Id: configure.in,v 1.930 2005/12/02 20:42:54 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2372:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $. + # Automatically generated by $Id: configure.in,v 1.930 2005/12/02 20:42:54 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2381:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $. + # Automatically generated by $Id: configure.in,v 1.930 2005/12/02 20:42:54 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
2434:    ;;    esac    real_libs="$real_libs $real_dir" +     fi -  +  +  if echo " $pike_cv_32bit_libs " | grep " $real_dir " >/dev/null; then +  abi_32=yes +  else +  abi_32=no +  fi +  if echo " $pike_cv_64bit_libs " | grep " $real_dir " >/dev/null; then +  abi_64=yes +  else +  abi_64=no +  fi    bad_abi=""    for f in "$d"/* no; do    if test -f "$f"; then
2451:    done    if test "x$bad_abi" = "x"; then :; else    AC_MSG_RESULT([no, contains only $bad_abi-bit ABI files]) +  pike_cv_bad_abi_libs="$pike_cv_bad_abi_libs $real_dir"    continue;    fi    case " $LDFLAGS " in
3138:   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/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 sys/param.h winsock.h sys/ioct.h sys/socket.h \ +  sys/procfs.h winsock.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 \    sys/poll.h socket.h ieeefp.h fp_class.h floatingpoint.h \
3201:   #ifdef HAVE_WINSOCK2_H   # include <winsock2.h>   #endif + /* Necessary to find sys/user.h on OpenBSD */ + #ifdef HAVE_SYS_PARAM_H + # include <sys/param.h> + #endif   ])      # Setjmp.