You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
59 lines
1.8 KiB
59 lines
1.8 KiB
## @id $Id$ |
|
# |
|
# This file has been added by bootstrap.sh on Fri, 13 Mar 2015 13:53:12 +0100 |
|
# Feel free to change it or even remove and rebuild it, up to your needs |
|
# |
|
## 1 2 3 4 5 6 7 8 |
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
|
|
m4_define(x_package_name, swisssurfer) # project's name |
|
m4_define(x_major, 1) # project's major version |
|
m4_define(x_minor, 9) # project's minor version |
|
m4_include(ax_init_standard_project.m4) |
|
AC_INIT(x_package_name, x_major.x_minor.x_least, x_bugreport, x_package_name) |
|
AM_INIT_AUTOMAKE([1.9 tar-pax]) |
|
AX_INIT_STANDARD_PROJECT |
|
|
|
# requirements, uncomment, what you need: |
|
AX_USE_CXX |
|
AX_USE_LIBTOOL |
|
AX_USE_DOXYGEN |
|
AX_USE_DEBIAN_PACKAGING |
|
AX_USE_RPM_PACKAGING |
|
#AX_USE_CPPUNIT |
|
AX_BUILD_EXAMPLES |
|
|
|
# special optional library download |
|
AC_ARG_ENABLE(pkcs11-download, |
|
[AS_HELP_STRING([--enable-pkcs11-download], |
|
[download pkcs11 header])], |
|
[have_pedantic="$enableval" |
|
if test "$enableval" = "yes"; then |
|
mkdir -p usr/include |
|
cd usr/include |
|
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 |
|
done |
|
AM_CPPFLAGS+=" -I$(pwd)" |
|
cd - |
|
fi |
|
]) |
|
|
|
AX_REQUIRE_QT([QT], [QtCore QtNetwork QtWebKit QtDesigner], |
|
[QtWidgets QtWebKitWidgets QtPrintSupport]) |
|
AX_QT_NO_KEYWORDS |
|
|
|
AX_PKG_REQUIRE([pkcs11], [p11-kit-1], [pkcs11.h], [libpkcs11-helper-1]) |
|
AX_PKG_REQUIRE([pcsc], [libpcsclite], [pcsclite.h]) |
|
|
|
AX_PKG_REQUIRE([libpcscxx]) |
|
AX_PKG_REQUIRE([proxyface]) |
|
AX_PKG_REQUIRE([mrwcxx], [mrw-c++]) |
|
|
|
AC_CONFIG_FILES([src/languages.qrc]) |
|
AC_CONFIG_FILES([src/qbrowserlib/languages.qrc]) |
|
AC_CONFIG_FILES([src/qbrowserlib/makefile]) |
|
AC_CONFIG_FILES([src/designer/makefile]) |
|
|
|
# create output |
|
AC_OUTPUT
|
|
|