autotools: the KWallet code depends on C++
AC_PROG_CXX was done too late for the KWallet check. Must be done already before AC_LANG_PUSH(C++).
This commit is contained in:
parent
4ff3777c70
commit
5627f1d6ad
|
@ -19,11 +19,6 @@ if test "$enable_any" = "no"; then
|
|||
AC_MSG_ERROR([no backend enabled - refusing to continue: $anymissing])
|
||||
fi
|
||||
|
||||
dnl check for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl glib initialization is done only if requested by some configure-sub.in,
|
||||
dnl for not needed otherwise even if found
|
||||
if test "$need_glib" = "yes"; then
|
||||
|
|
|
@ -45,6 +45,11 @@ define([SYNTHESISSRC_REVISION], [syncevolution-0.9])
|
|||
AM_CONFIG_HEADER(config.h)
|
||||
AC_LIBTOOL_DLOPEN
|
||||
|
||||
dnl check for programs.
|
||||
AC_PROG_CXX
|
||||
AC_PROG_LIBTOOL
|
||||
AC_PROG_MAKE_SET
|
||||
|
||||
dnl default device type (see AC_DEFINE below)
|
||||
DEVICE_TYPE=workstation
|
||||
|
||||
|
|
Loading…
Reference in a new issue