Warn if efltk wasn't found.

Added FORCE_EFILER option to force efiler compiling on FreeBSD.
This commit is contained in:
Sanel Zukan 2009-04-10 17:11:11 +00:00
parent 225855ac92
commit 828699884f
2 changed files with 6 additions and 4 deletions

View File

@ -28,16 +28,18 @@ SubInclude TOP ede-image-view ;
SubInclude TOP elma ; SubInclude TOP elma ;
SubInclude TOP ede-launch ; SubInclude TOP ede-launch ;
SubInclude TOP emountd ; SubInclude TOP emountd ;
SubInclude TOP ede-panel ;
SubInclude TOP ede-timedate ; SubInclude TOP ede-timedate ;
SubInclude TOP ede-tip ; SubInclude TOP ede-tip ;
SubInclude TOP edewm ;
SubInclude TOP evoke ; SubInclude TOP evoke ;
SubInclude TOP doc ; SubInclude TOP doc ;
SubInclude TOP data ; SubInclude TOP data ;
SubInclude TOP services ; SubInclude TOP services ;
# they will not be compiled if eFLTK wasn't found
SubInclude TOP edewm ;
SubInclude TOP ede-panel ;
# efile is not compileable on FreeBSD # efile is not compileable on FreeBSD
if $(OS) != FREEBSD { if $(OS) != FREEBSD || $(FORCE_EFILER) = 1 {
SubInclude TOP efiler ; SubInclude TOP efiler ;
} }

View File

@ -178,7 +178,7 @@ if test -n "$EFLTK_CONFIG"; then
EFLTK_LIBS_NOIMAGES=`$EFLTK_CONFIG --ldflags` EFLTK_LIBS_NOIMAGES=`$EFLTK_CONFIG --ldflags`
EFLTK_LIBS=`$EFLTK_CONFIG --use-xml --use-images --ldflags` EFLTK_LIBS=`$EFLTK_CONFIG --use-xml --use-images --ldflags`
else else
AC_MSG_ERROR([You don't have eFLTK installed. To compile EDE, you will need it.]) AC_MSG_WARN([You don't have eFLTK installed. EDE will be built without panel and window manager!])
fi fi
EDE_CHECK_LIBXPM EDE_CHECK_LIBXPM