Addopted to recent changes in edelib-gui*.pc files

This commit is contained in:
Sanel Zukan 2011-11-21 14:09:18 +00:00
parent 971dd60f51
commit e12c43e404
3 changed files with 21 additions and 14 deletions

View File

@ -97,6 +97,8 @@ EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
EDELIBLIB ?= @EDELIB_LIBS@ ; EDELIBLIB ?= @EDELIB_LIBS@ ;
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ; EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ; EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
EDELIB_GUI_NO_IMAGES_INCLUDE ?= @EDELIB_GUI_NO_IMAGES_CFLAGS@ ;
EDELIB_GUI_NO_IMAGES_LIB ?= @EDELIB_GUI_NO_IMAGES_LIBS@ ;
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ; EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ; EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;

View File

@ -72,8 +72,8 @@ rule Program
} }
# EdeProgram [target] : [sources] : [noinstall] ; # EdeProgram [target] : [sources] : [noinstall] ;
# Creates EDE specific programs. They will be linked with EDELIBLIB # Creates EDE specific programs. They will be linked with EDELIB_GUI_LIB.
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'. # If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgram rule EdeProgram
{ {
if ! $(EDELIBLIB) { if ! $(EDELIBLIB) {
@ -82,8 +82,8 @@ rule EdeProgram
} }
MakeProgramPrivate $(1) : $(2) MakeProgramPrivate $(1) : $(2)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB) $(STDLIB) : $(EDELIB_GUI_LIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ; : $(GLOBALFLAGS) $(EDELIB_GUI_INCLUDE) ;
if $(3) != "noinstall" { if $(3) != "noinstall" {
InstallEdeProgram $(1) ; InstallEdeProgram $(1) ;
@ -91,8 +91,8 @@ rule EdeProgram
} }
# EdeProgramAsFltkBare [target] : [sources] : [noinstall] ; # EdeProgramAsFltkBare [target] : [sources] : [noinstall] ;
# Creates EDE specific programs. They will be linked with EDELIBLIB # Creates EDE specific programs. They will be linked with EDELIB_GUI_NO_IMAGES_LIB
# and FLTKLIB. If [noinstall] is given, [target] will not be installed wit 'jam install'. # If [noinstall] is given, [target] will not be installed wit 'jam install'.
rule EdeProgramAsFltkBare rule EdeProgramAsFltkBare
{ {
if ! $(EDELIBLIB) { if ! $(EDELIBLIB) {
@ -101,8 +101,8 @@ rule EdeProgramAsFltkBare
} }
MakeProgramPrivate $(1) : $(2) MakeProgramPrivate $(1) : $(2)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB_NOIMAGES) $(STDLIB) : $(EDELIB_GUI_NO_IMAGES_LIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ; : $(GLOBALFLAGS) $(EDELIB_GUI_NO_IMAGES_INCLUDE) ;
if $(3) != "noinstall" { if $(3) != "noinstall" {
InstallEdeProgram $(1) ; InstallEdeProgram $(1) ;

View File

@ -122,6 +122,11 @@ if test "$have_edelib_gui" = "no"; then
AC_MSG_ERROR(edelib-gui not found! You must install it first) AC_MSG_ERROR(edelib-gui not found! You must install it first)
fi fi
PKG_CHECK_MODULES(EDELIB_GUI_NO_IMAGES, [edelib-gui-no-images],, [have_edelib_gui_no_images=no])
if test "$have_edelib_gui_no_images" = "no"; then
AC_MSG_ERROR(edelib-gui (without images) not found! You must install it first)
fi
PKG_CHECK_MODULES(EDELIB_DBUS, [edelib-dbus],, [have_edelib_dbus=no]) PKG_CHECK_MODULES(EDELIB_DBUS, [edelib-dbus],, [have_edelib_dbus=no])
if test "$have_edelib_dbus" = "no"; then if test "$have_edelib_dbus" = "no"; then
AC_MSG_ERROR(edelib-dbus not found! You must install it first) AC_MSG_ERROR(edelib-dbus not found! You must install it first)