46 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.4 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, 2) # project's major version
 | |
| m4_define(x_minor, 0) # project's minor version
 | |
| m4_define(x_least_diff, 223) # reset project's least 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_CXX_COMPILE_STDCXX(11, noext, mandatory)
 | |
| 
 | |
| AX_CHECK_QT([QT], [QtNetwork QtGui], [QtWidgets])
 | |
| AC_CONFIG_FILES([src/languages.qrc])
 | |
| if test -z "${MINGW}"; then
 | |
|   AX_PKG_REQUIRE([PROXY], [libproxy-1.0], [], [libproxy libproxy1 lib64proxy], [], [DEV_DIST_PKG=libproxy])
 | |
| 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
 | |
| AX_OUTPUT
 |