setup DISTCHECK_CONFIGURE_FLAGS; refs #28

master
Marc Wäckerlin 11 years ago
parent 502ec73b05
commit b80507bea0
  1. 9
      configure.in

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

Loading…
Cancel
Save