mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-01 05:16:05 +01:00
12958: configure fix for NCR compiler
This commit is contained in:
parent
4bfe8715b0
commit
2e4cca20ce
2 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
2
aczsh.m4
2
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,
|
||||
|
|
Loading…
Reference in a new issue