bug-gnulib
[Top][All Lists]
Advanced

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

stdint.m4: HAVE_SYS_INTTYPES_H set to "" breaks build


From: Mike Frysinger
Subject: stdint.m4: HAVE_SYS_INTTYPES_H set to "" breaks build
Date: Fri, 19 Nov 2010 01:48:03 -0500
User-agent: KMail/1.13.5 (Linux/2.6.36; KDE/4.5.2; x86_64; ; )

building inetutils out of git fails with current gnulib:
$ make
...
make[4]: Entering directory `/usr/local/src/inetutils/lib'
  CC     gl_array_list.o
In file included from xsize.h:30,
                 from gl_array_list.c:28:
./stdint.h:84:7: error: #elif with no expression
./stdint.h:90:6: error: operator '&&' has no left operand
...

this is because m4/stdint.m4 only defines HAVE_SYS_INTTYPES_H when 
gl_cv_header_working_stdint_h is "no" and i my case, it's yes.  so it is 
assigned a default value of "" which causes the header to expand to:
#elif 

looks like similiar problem for HAVE_SYS_BITYPES_H

config.log attached
-mike

Attachment: config.log.zip
Description: Zip archive

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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