mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Link against edelib-gui library
This commit is contained in:
parent
58a126ad1f
commit
39770b5a0e
@ -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@ ;
|
||||
|
||||
|
@ -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'.
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user