Branch: Tag:

2008-07-08

2008-07-08 12:26:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added checks for {,un}setenv(3).

Rev: src/configure.in:1.1058

1: - AC_REVISION("$Id: configure.in,v 1.1057 2008/06/29 11:20:04 agehall Exp $") + AC_REVISION("$Id: configure.in,v 1.1058 2008/07/08 12:26:31 grubba Exp $")   AC_INIT(interpret.c)   AC_CONFIG_HEADER(machine.h)   
2361:    # MinGW system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1057 2008/06/29 11:20:04 agehall Exp $. + # Automatically generated by $Id: configure.in,v 1.1058 2008/07/08 12:26:31 grubba Exp $.   # MinGW-version. Do NOT edit.   posix_name="`cat`"   posix_prefix="/"
2399:    # Native POSIX system.    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1057 2008/06/29 11:20:04 agehall Exp $. + # Automatically generated by $Id: configure.in,v 1.1058 2008/07/08 12:26:31 grubba Exp $.   # POSIX-version. Do NOT edit.   cat   EOF
2408:    # rntcl-style    cat <<\EOF   #!/bin/sh - # Automatically generated by $Id: configure.in,v 1.1057 2008/06/29 11:20:04 agehall Exp $. + # Automatically generated by $Id: configure.in,v 1.1058 2008/07/08 12:26:31 grubba Exp $.   # RNTCL-version. Do NOT edit.   sed -e "$PIKE_PATH_TRANSLATE"   EOF
7489:      #######################################################################    + AC_CHECK_FUNCS([setenv unsetenv]) +  + if test "$ac_cv_func_setenv:$ac_cv_func_unsetenv" = "yes:yes"; then +  : + else   AC_MSG_CHECKING([if putenv() always requires a '='])   AC_CACHE_VAL(pike_cv_putenv_always_requires_equal, [    AC_TRY_RUN([
7509:    AC_DEFINE(PUTENV_ALWAYS_REQUIRES_EQUAL, [],    [Defined if putenv() always requires a '='])   fi + fi      #######################################################################