OpenSC / pkcs11-helper

Library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine
Other
65 stars 43 forks source link

Fix AX_SIZE_T_PRINTF and AX_CPP_VARARG_MACRO macro execution on linux. #1

Closed saltos closed 10 years ago

saltos commented 10 years ago

Added m4_include call for .m4 files. Without this call autotools does not define PRINTF_Z_FORMAT.

alonbl commented 10 years ago

this is strange! everything at m4 should be automatically included.

how do you try to build / regenerate files?

alonbl commented 10 years ago

tested and working using:

sys-devel/autoconf-2.69 sys-devel/automake-1.13.4

autoreconf -ivf

but it was always the case.

saltos commented 10 years ago

Build sequence:

libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf

./configure --prefix=$INSTALL_PATH --enable-openssl
make
make install

Tools versions:

libtoolize (GNU libtool) 2.2.6b
aclocal (GNU automake) 1.11.1
autoheader (GNU Autoconf) 2.63
automake (GNU automake) 1.11.1
autoconf (GNU Autoconf) 2.63
saltos commented 10 years ago

Without m4_include I got "config.h" file without PRINTF_Z_FORMAT define.

saltos commented 10 years ago

autoreconf -ivf works fine without my patch, this command executes aclocal --force -I m4. Thanks!

saltos commented 10 years ago

It would be better to include this command to the documentation.

alonbl commented 10 years ago

This is standard autoconf command, not related to this project.

Thanks!