Branch: Tag:

2007-12-15

2007-12-15 14:26:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some extra diagnostics for when posix threads aren't working.

Rev: src/configure.in:1.1027

1: - AC_REVISION("$Id: configure.in,v 1.1026 2007/12/13 17:50:21 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.1027 2007/12/15 14:26:47 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
708:   case "$pike_cv_sys_os" in    CYGWIN*)    # Cygwin has both Windows includes and Unix ones. -  # Hiding them make it a somewhat Unix compliant OS. +  # Hiding them makes it a somewhat Unix compliant OS.    echo 'Cygwin host detected. Enabling workarounds...'    # winsock.h, winbase.h, winsock2.h, windows.h, wingdi.h, windef.h    # are part of VC api but given as headers in cygwin. We
2311:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1026 2007/12/13 17:50:21 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1027 2007/12/15 14:26:47 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2349:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1026 2007/12/13 17:50:21 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1027 2007/12/15 14:26:47 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2358:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1026 2007/12/13 17:50:21 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.1027 2007/12/15 14:26:47 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3949:    LIBS="$OLDLIBS"    CFLAGS="$OLDCFLAGS"    +  echo "POSIX threads not working." >&AC_FD_CC +  ulimit -a >&AC_FD_CC 2>&AC_FD_CC +  echo >&AC_FD_CC +     # No POSIX threads.       # Try UNIX threads instead