[Top][All Lists]

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

Re: typedef signed short int16;

From: Sander Niemeijer
Subject: Re: typedef signed short int16;
Date: Thu, 20 Mar 2003 20:53:43 +0100

I was not able to reproduce your problem.
btw I used:

$aclocal --version
aclocal (GNU automake) 1.7.3

$ autoconf --version
autoconf (GNU Autoconf) 2.57

Just running aclocal and autoconf after each other seemed to do the trick for me.


On donderdag, maa 20, 2003, at 16:31 Europe/Amsterdam, Lucas Nussbaum wrote:

On Mon, Mar 17, 2003 at 06:30:41PM +0100, Sander Niemeijer <address@hidden> wrote:
I solved the problem with the help of the AC_DEFINE_INTEGER_BITS macro
from the GNU Autoconf Macro Archive
ac_define_integer_bits.html>) together with the following calls in my
AC_DEFINE_INTEGER_BITS([uint8_t], [u_int8_t], [unsigned char])


Thanks a lot for your help.
However, I've been unable to use the macro. The problem is that
"m4_define" calls aren't translated, and are still found in the
configure file.
I did :
- copy the content of ac_define_integer_bits.m4 in my acinclude.m4 file.
- add "AC_DEFINE_INTEGER_BITS([uint8_t], [u_int8_t], [unsigned
   char])", etc ... in my
- run aclocal. The functions get correctly copied in aclocal.m4.
- run autoconf.

I get stuff like :
m4_define(ac_datatype_bits, m4_translit(uint8_t, [a-zA-Z_]))
in my configure, and of course it fails to run :
./configure: line 1871: syntax error near unexpected token
./configure: line 1871: `m4_define(ac_datatype_bits,
m4_translit(uint8_t, [a-zA-Z_]))'

How did you fix that ?



reply via email to

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