]
)
CXXFLAGS="$synfigstudio_save_cxxflags"
+ AC_MSG_CHECKING([for Gtk::AboutDialog::set_wrap_license])
+ synfigstudio_save_cxxflags="$CXXFLAGS"
+ CXXFLAGS="$GTKMM_CFLAGS $CXXFLAGS"
+ AC_COMPILE_IFELSE(
+ [
+ AC_LANG_PROGRAM([
+ [#include <gtkmm/aboutdialog.h>]
+ ],[
+ [Gtk::AboutDialog about; about.set_wrap_license(true)]
+ ])
+ ],[
+ AC_MSG_RESULT([yes])
+ AC_DEFINE(HAVE_GTK_ABOUTDIALOG_SET_WRAP_LICENSE,[],[Define if GTKmm provides Gtk::AboutDialog::set_wrap_license()] )
+ AM_CONDITIONAL(HAVE_GTK_ABOUTDIALOG_SET_WRAP_LICENSE,true)
+ ],[
+ AC_MSG_RESULT([no])
+ AM_CONDITIONAL(HAVE_GTK_ABOUTDIALOG_SET_WRAP_LICENSE,false)
+ ]
+ )
+ CXXFLAGS="$synfigstudio_save_cxxflags"
],[
AC_MSG_ERROR([ ** Gtkmm-2.4 Is a required library, aborting.])
])
"with this program; if not, write to the Free Software Foundation, Inc., "
"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or visit: http://www.gnu.org/";
set_license(license);
+#ifdef HAVE_GTK_ABOUTDIALOG_SET_WRAP_LICENSE
set_wrap_license(true);
+#endif
std::vector<Glib::ustring> authors;
authors.push_back("Original developers:");