42 lines
1.2 KiB
Plaintext
42 lines
1.2 KiB
Plaintext
## @id $Id$
|
|
#
|
|
# This file has been added by bootstrap.sh on Sun, 15 Mar 2015 09:14:42 +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, proxyface) # project's name
|
|
m4_define(x_major, 1) # project's major version
|
|
m4_define(x_minor, 1) # 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
|
|
|
|
AX_CHECK_QT([QT], [QtNetwork QtGui], [QtWidgets])
|
|
AC_CONFIG_FILES([src/languages.qrc])
|
|
if test "${MINGW}" = "no"; then
|
|
AX_PKG_CHECK([PROXY], [libproxy-1.0])
|
|
else
|
|
LDFLAGS+=" -lwinhttp"
|
|
HAVE_PROXY=0
|
|
fi
|
|
AM_CONDITIONAL(HAVE_PROXY, test ${HAVE_PROXY} -eq 1)
|
|
|
|
if test "$HAVE_QT" -ne 1 -a "$HAVE_PROXY" -ne 1; then
|
|
AC_MSG_ERROR([Either Qt or Google Proxy is required.])
|
|
fi
|
|
|
|
# create output
|
|
AC_OUTPUT
|