|
|
@ -74,7 +74,7 @@ AC_SUBST_FILE(README) |
|
|
|
CHANGE_LOG=ChangeLog |
|
|
|
CHANGE_LOG=ChangeLog |
|
|
|
AC_SUBST_FILE(CHANGE_LOG) |
|
|
|
AC_SUBST_FILE(CHANGE_LOG) |
|
|
|
|
|
|
|
|
|
|
|
CPPFLAGS="${CPPFLAGS} -DPACKAGEVERSION='\"${VERSION}\"' -DPACKAGENAME='\"${PACKAGENAME}\"'" |
|
|
|
AM_CPPFLAGS+="-DPACKAGEVERSION='\"${VERSION}\"' -DPACKAGENAME='\"${PACKAGENAME}\"'" |
|
|
|
|
|
|
|
|
|
|
|
# Get rid of that stupid -O2 -g options! |
|
|
|
# Get rid of that stupid -O2 -g options! |
|
|
|
CXXFLAGS="${CXXFLAGS:-}" |
|
|
|
CXXFLAGS="${CXXFLAGS:-}" |
|
|
@ -105,7 +105,7 @@ AC_ARG_ENABLE(pkcs11-download, |
|
|
|
for f in $(wget -q -O- ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ 2>&1 | html2 | sed -n 's,.*/a/@href=\(.*\.h\)$,\1,gp'); do |
|
|
|
for f in $(wget -q -O- ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/ 2>&1 | html2 | sed -n 's,.*/a/@href=\(.*\.h\)$,\1,gp'); do |
|
|
|
wget --unlink $f |
|
|
|
wget --unlink $f |
|
|
|
done |
|
|
|
done |
|
|
|
CPPFLAGS="${CPPFLAGS} -I$(pwd)" |
|
|
|
AM_CPPFLAGS+="-I$(pwd)" |
|
|
|
cd - |
|
|
|
cd - |
|
|
|
fi |
|
|
|
fi |
|
|
|
]) |
|
|
|
]) |
|
|
@ -121,7 +121,7 @@ AC_ARG_ENABLE(pedantic, |
|
|
|
[AS_HELP_STRING([--enable-pedantic], |
|
|
|
[AS_HELP_STRING([--enable-pedantic], |
|
|
|
[enable all warnings and checks, abort on warnings])], |
|
|
|
[enable all warnings and checks, abort on warnings])], |
|
|
|
[have_pedantic="$enableval"; test "$enableval" = "yes" && \ |
|
|
|
[have_pedantic="$enableval"; test "$enableval" = "yes" && \ |
|
|
|
AM_CXXFLAGS="${AM_CXXFLAGS:-} -pedantic-errors -Wall -W -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-format-attribute -Wno-multichar -Wpacked -Wredundant-decls -Werror -Wshadow -Wcast-qual -Wno-ctor-dtor-privacy"]) |
|
|
|
AM_CXXFLAGS+=" -pedantic-errors -Wall -W -Wfloat-equal -Wundef -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Wconversion -Wsign-compare -Wmissing-format-attribute -Wno-multichar -Wpacked -Wredundant-decls -Werror -Wshadow -Wcast-qual -Wno-ctor-dtor-privacy"]) |
|
|
|
dnl problem in libs: -Wshadow -Wcast-qual |
|
|
|
dnl problem in libs: -Wshadow -Wcast-qual |
|
|
|
dnl auto.hpp: -Wno-ctor-dtor-privacy (removed) |
|
|
|
dnl auto.hpp: -Wno-ctor-dtor-privacy (removed) |
|
|
|
AM_CONDITIONAL(PEDANTIC, test "$enableval" = "yes") |
|
|
|
AM_CONDITIONAL(PEDANTIC, test "$enableval" = "yes") |
|
|
|