Using autoconf, I was able to generate a config file. I renamed some of the basic C header files such as sys/types.h, stdint.h, libintl.h to simulate the MSVS building environment. In this build environment, config.h is not generated correctly. In MSVS 2008, "inline", "snprintf" and "size_t" keywords are not defined. We need to provide those definitions as follows:

#define inline __inline
#define snprintf _snprintf
typedef int64_t           ssize_t;

Can autoconf generate these #define's?


On Wed, May 23, 2012 at 3:50 PM, Dan Fandrich <> wrote:
On Wed, May 23, 2012 at 03:45:42PM -0700, exif par wrote:
> In order to work around this problem, I did a bunch of typedef to declare
> int8_t, uint8_t, etc. It is not only stdint.h but also libintl.h and undefined
> reference to ssize_t.  I am currently trying to build using cygwin. Can you
> tell me the host name for cygwin which I need to pass to ./configure script?

You should be having an easier time with Cygwin. I'm not sure what
--host option you would need, but you should probably be able to just do
"./configure CC=cygwin-gcc" (giving the correct name of the cygwin compiler)
and autoconf should automagically figure it all out.  You should not be
seeing references to libintl.h or stdint.h if they don't exist, if
autoconf has done its job correctly.

>>> Dan

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
libexif-devel mailing list