about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2000-10-11 12:26:13 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2000-10-11 12:26:13 +0000
commit2e4cca20ce4f29b8f953c98212ba6bcbf6c32e5f (patch)
tree445aa9672b95f8d1f43c2a63700bbafc827cc5c1
parent4bfe8715b05e768300b6bb12df770069a65d9f93 (diff)
downloadzsh-2e4cca20ce4f29b8f953c98212ba6bcbf6c32e5f.tar.gz
zsh-2e4cca20ce4f29b8f953c98212ba6bcbf6c32e5f.tar.xz
zsh-2e4cca20ce4f29b8f953c98212ba6bcbf6c32e5f.zip
12958: configure fix for NCR compiler
-rw-r--r--ChangeLog4
-rw-r--r--aczsh.m42
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b14c3f540..1994cdc94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-11  Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
+
+	* 12958: Cosmo <cosmo@informix.com>: aczsh.m4: fix for NCR compiler
+
 2000-10-11  Sven Wischnowsky  <wischnow@zsh.org>
 
 	* 12960: Completion/Builtins/_zstyle, Completion/Commands/_expand_word,
diff --git a/aczsh.m4 b/aczsh.m4
index e835dcede..b32ed9fca 100644
--- a/aczsh.m4
+++ b/aczsh.m4
@@ -84,6 +84,7 @@ dnl   specified directly as --enable-lfs="long long".
 dnl   Sets the variable given in the second argument to the first argument
 dnl   if the test worked, `no' otherwise.  Be careful testing this, as it
 dnl   may produce two words `long long' on an unquoted substitution.
+dnl   Also check that the compiler does not mind it being cast to int.
 dnl   This macro does not produce messages as it may be run several times
 dnl   before finding the right type.
 dnl
@@ -97,6 +98,7 @@ AC_DEFUN(zsh_64_BIT_TYPE,
 main()
 {
   $1 foo = 0; 
+  int bar = (int) foo;
   return sizeof($1) != 8;
 }
 ], $2="$1", $2=no,