esac],[gtk_ui=true])
if test "$gtk_ui" = "true" ; then
- PKG_CHECK_MODULES(LIBGTK, gtk+-2.0 >= 2.22.0 gthread-2.0)
+ PKG_CHECK_MODULES(LIBGTK, gtk+-2.0 >= 2.18.0 gthread-2.0)
if test "$enable_x11" = "false" ; then
PKG_CHECK_MODULES(LIBGTKMAC,[ige-mac-integration >= 0.9.7 ])
AC_DEFINE([HAVE_GTK_OSX],[1],[Defined when gtk osx is used])
AC_SUBST(LIBSOUP_CFLAGS)
AC_SUBST(LIBSOUP_LIBS)
AM_CONDITIONAL(BUILD_WIZARD, test x$build_wizard = xtrue)
+if test "$build_wizard" = "true" ; then
+ AC_DEFINE( BUILD_WIZARD, 1, [Define if wizard enabled] )
+fi
##################################################
# Stricter build options (after external packages)
update.c \
buddylookup.c \
utils.c \
- setupwizard.c\
incall_view.c \
loginframe.c \
singleinstance.c \
conference.c \
linphone.h
+if BUILD_WIZARD
+linphone_SOURCES+= \
+ setupwizard.c
+endif
linphone_LDADD=$(ORTP_LIBS) \
$(MEDIASTREAMER_LIBS) \
}
}
+#ifdef BUILD_WIZARD
// Display the account wizard
void linphone_gtk_display_wizard() {
if (the_wizard == NULL || !gtk_widget_get_visible(the_wizard)) { // Only one instance of the wizard at the same time
the_wizard = linphone_gtk_create_assistant();
}
}
+#endif
static void linphone_gtk_quit(void){
static gboolean quit_done=FALSE;
gtk_timeout_add(30,(GtkFunction)linphone_gtk_check_logs,(gpointer)NULL);
linphone_gtk_init_main_window();
+#ifdef BUILD_WIZARD
// Veryfing if at least one sip account is configured. If not, show wizard
if (linphone_core_get_proxy_config_list(linphone_gtk_get_core()) == NULL) {
linphone_gtk_display_wizard();
}
+#endif
#ifndef HAVE_GTK_OSX
linphone_gtk_init_status_icon();
-Subproject commit e25eb6683a0ae9933b59eb9023424e2333c5d236
+Subproject commit 902cd8d36daef0913ac235b283668e5b3dbda515
-Subproject commit d2e91c8d48077fc9ab811e417cb0264d405c982e
+Subproject commit d62fa221ed9d373427f1fda9bdbfc301f25a5141