Link against edelib-gui library

This commit is contained in:
Sanel Zukan 2009-05-14 16:06:10 +00:00
parent 58a126ad1f
commit 39770b5a0e
3 changed files with 9 additions and 4 deletions

View File

@ -80,6 +80,8 @@ STDLIB ?= -lstdc++ ;
# edelib libraries path
EDELIBINCLUDE ?= @EDELIB_CFLAGS@ ;
EDELIBLIB ?= @EDELIB_LIBS@ ;
EDELIB_GUI_INCLUDE ?= @EDELIB_GUI_CFLAGS@ ;
EDELIB_GUI_LIB ?= @EDELIB_GUI_LIBS@ ;
EDELIB_DBUS_INCLUDE ?= @EDELIB_DBUS_CFLAGS@ ;
EDELIB_DBUS_LIB ?= @EDELIB_DBUS_LIBS@ ;

View File

@ -82,7 +82,7 @@ rule EdeProgram
}
MakeProgramPrivate $(1) : $(2)
: $(EDELIBLIB) $(FLTKLIB) $(STDLIB)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
if $(3) != "noinstall" {
@ -101,7 +101,7 @@ rule EdeProgramAsFltkBare
}
MakeProgramPrivate $(1) : $(2)
: $(EDELIBLIB) $(FLTKLIB_NOIMAGES) $(STDLIB)
: $(EDELIB_GUI_LIB) $(EDELIBLIB) $(FLTKLIB_NOIMAGES) $(STDLIB)
: $(GLOBALFLAGS) $(EDELIBINCLUDE) $(FLTKINCLUDE) ;
if $(3) != "noinstall" {
@ -109,8 +109,6 @@ rule EdeProgramAsFltkBare
}
}
# EfltkProgram [target] : [sources] : [noinstall] ;
# Creates programs that will be linked with efltk. If [noinstall] is given,
# [target] will not be installed wit 'jam install'.

View File

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