automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tests/defs.in: "Bourne compatible" update


From: Ralf Wildenhues
Subject: tests/defs.in: "Bourne compatible" update
Date: Mon, 1 May 2006 11:15:57 +0200
User-agent: Mutt/1.5.11+cvs20060403

OK?  (No, I haven't traced back any test suite failures in Automake to
missing changes here; yet.)

Cheers,
Ralf

        * tests/defs.in (Be Bourne compatible): Update from current
        Autoconf.

Index: tests/defs.in
===================================================================
RCS file: /cvs/automake/automake/tests/defs.in,v
retrieving revision 1.37
diff -u -r1.37 defs.in
--- tests/defs.in       27 Jul 2005 07:39:28 -0000      1.37
+++ tests/defs.in       1 May 2006 09:09:08 -0000
@@ -1,8 +1,8 @@
 # -*- shell-script -*-
 # @configure_input@
 #
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
-# Free Software Foundation, Inc.
+# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
+# 2005, 2006  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -25,16 +25,18 @@
 # Tom Tromey <address@hidden>
 
 # Be Bourne compatible.
-# (Snippet copied from configure's initialization in Autoconf 2.57.)
+# (Snippet copied from configure's initialization in Autoconf 2.59c.)
 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   emulate sh
   NULLCMD=:
   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+"$@"}'='"$@"'
-elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
-  set -o posix
+else
+  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 fi
+BIN_SH=xpg4; export BIN_SH # for Tru64
+DUALCASE=1; export DUALCASE # for MKS sh
 
 # Ensure we are running from the right directory.
 test -f ./defs || {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]