Branch: Tag:

2005-11-30

2005-11-30 21:35:48 by Marek Habersack <mhabersack@novell.com>

kFreeBSD build detection fix

Rev: src/configure.in:1.929

1: - AC_REVISION("$Id: configure.in,v 1.928 2005/11/22 16:40:42 grubba Exp $") + AC_REVISION("$Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
895:    pike_cv_run_path_method=r    fi    ;; -  Linux\ 2.*) +  Linux\ 2.* | GNU/kFreeBSD* )    if test "$ICC" = "yes"; then    # icc or ecc.    pike_cv_run_path_method=qoption
2334:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.928 2005/11/22 16:40:42 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel 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.928 2005/11/22 16:40:42 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2381:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.928 2005/11/22 16:40:42 grubba Exp $. + # Automatically generated by $Id: configure.in,v 1.929 2005/11/30 21:35:48 grendel Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
3868:       # On Linux the threads don't inherit euid & egid from the main thread.    # FIXME: Add a real test here! -  if test "x$pike_cv_sys_os" = "xLinux"; then +  case "$pike_cv_sys_os" in +  Linux* | *kFreeBSD*)    AC_DEFINE(HAVE_BROKEN_LINUX_THREAD_EUID) -  else :; fi +  ;; +  esac       AC_MSG_CHECKING([behaviour of the pthread_t type])    AC_CACHE_VAL(pike_cv_thread_t_type, [
7294:    DYNIX/ptx*) LDSHARED="ld -G";;    next*) LDSHARED="$REALCC $CFLAGS -nostdlib -r";;    Linux*) LDSHARED="$REALCC -shared";; +  GNU/kFreeBSD*) LDSHARED="$REALCC -shared";;    GNU*) LDSHARED="$REALCC -Wl,-Bshareable";;    FreeBSD*) LDSHARED="$REALCC -Wl,-Bshareable";;    NetBSD*) LDSHARED="$REALCC -Wl,-Bshareable";;
7615:    signal_handler="custom AmigaOS"    ;;    -  xLinux) +  xLinux | *kFreeBSD*)    # Linux's stupid thread implementation doesn't survive USE_WAIT_THREAD.    signal_handler="SIGCHILD"    AC_DEFINE(USE_SIGCHILD)