Ticket #17618: qalculate-gtk-cln12.patch
File qalculate-gtk-cln12.patch, 876 bytes (added by jjstickel@…, 16 years ago) |
---|
-
configure.in
old new 63 63 64 64 AC_LANG([C++]) 65 65 66 AC_PATH_CLN(1.1.0, [67 LIBS="$LIBS $CLN_LIBS"68 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS"69 AC_DEFINE(HAVE_LIBCLN,1,[If CLN can be used])70 ], AC_MSG_ERROR([No suitable installed version of CLN could be found.]))71 72 66 PKG_CHECK_MODULES(GLIB, [ 73 67 glib-2.0 >= 2.4 74 68 libxml-2.0 … … 95 89 AC_SUBST(QALCULATE_CFLAGS) 96 90 AC_SUBST(QALCULATE_LIBS) 97 91 92 PKG_CHECK_MODULES(CLN, [ cln >= 1.2 ], 93 [have_recent_cln=yes], [have_recent_cln=no]) 94 AC_SUBST(CLN_CPPFLAGS) 95 AC_SUBST(CLN_LIBS) 96 97 if test "$have_recent_cln" = "yes" ; then 98 AC_DEFINE(HAVE_LIBCLN12, 1, [Define if CLN can be used]) 99 LIBS="$LIBS $CLN_LIBS" 100 CPPFLAGS="$CPPFLAGS $CLN_CPPFLAGS" 101 fi 102 98 103 LIBGNOME_REQUIRED=2.0.0 99 104 100 105 USE_LIBGNOME="auto"