|
|
@ -1,4 +1,7 @@ |
|
|
|
# $Id$ |
|
|
|
# $Id$ |
|
|
|
|
|
|
|
DISTCHECK_CONFIG_FLAGS="$(env | sed 's/ /\\ /g')" |
|
|
|
|
|
|
|
AC_SUBST(DISTCHECK_CONFIG_FLAGS) |
|
|
|
|
|
|
|
|
|
|
|
m4_include(ax_cxx_compile_stdcxx_11.m4) |
|
|
|
m4_include(ax_cxx_compile_stdcxx_11.m4) |
|
|
|
AC_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR]) |
|
|
|
AC_ALIAS([AC_DEFINE_DIR], [AX_DEFINE_DIR]) |
|
|
|
AC_DEFUN([AX_DEFINE_DIR], [ |
|
|
|
AC_DEFUN([AX_DEFINE_DIR], [ |
|
|
@ -103,10 +106,10 @@ PKG_CHECK_MODULES([QT_GUI], [QtCore QtGui], |
|
|
|
[have_qtgui=0]) |
|
|
|
[have_qtgui=0]) |
|
|
|
AM_CONDITIONAL(HAVE_QTGUI, test "$have_qtgui" = "1") |
|
|
|
AM_CONDITIONAL(HAVE_QTGUI, test "$have_qtgui" = "1") |
|
|
|
PKG_CHECK_MODULES([QT_NETWORK], [QtNetwork], |
|
|
|
PKG_CHECK_MODULES([QT_NETWORK], [QtNetwork], |
|
|
|
[AC_DEFINE([HAVE_QTNETWORK], $have_qtnetwork) |
|
|
|
[AC_DEFINE([HAVE_QTNETWORK]) |
|
|
|
have_qtnetwork=1], |
|
|
|
have_qtnetwork=1], |
|
|
|
[PKG_CHECK_MODULES([QT_NETWORK], [Qt5Network])], |
|
|
|
[PKG_CHECK_MODULES([QT_NETWORK], [Qt5Network])], |
|
|
|
[AC_DEFINE([HAVE_QTNETWORK], $have_qtnetwork) |
|
|
|
[AC_DEFINE([HAVE_QTNETWORK]) |
|
|
|
have_qtnetwork=1], |
|
|
|
have_qtnetwork=1], |
|
|
|
[have_qtnetwork=0]) |
|
|
|
[have_qtnetwork=0]) |
|
|
|
AM_CONDITIONAL(HAVE_QTNETWORK, test "$have_qtnetwork" = "1") |
|
|
|
AM_CONDITIONAL(HAVE_QTNETWORK, test "$have_qtnetwork" = "1") |
|
|
@ -155,8 +158,6 @@ AC_SUBST(PACKAGENAME) |
|
|
|
AC_SUBST(AM_CXXFLAGS) |
|
|
|
AC_SUBST(AM_CXXFLAGS) |
|
|
|
AC_SUBST(AM_CPPFLAGS) |
|
|
|
AC_SUBST(AM_CPPFLAGS) |
|
|
|
AC_SUBST(LIBS) |
|
|
|
AC_SUBST(LIBS) |
|
|
|
DISTCHECK_CONFIG_FLAGS="$(env | sed 's/ /\\ /g')" |
|
|
|
|
|
|
|
AC_SUBST(DISTCHECK_CONFIG_FLAGS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# create output |
|
|
|
# create output |
|
|
|
AC_OUTPUT |
|
|
|
AC_OUTPUT |
|
|
|