From 828699884fab905d2af7e2a86f2f3b07954949a8 Mon Sep 17 00:00:00 2001 From: Sanel Zukan Date: Fri, 10 Apr 2009 17:11:11 +0000 Subject: [PATCH] Warn if efltk wasn't found. Added FORCE_EFILER option to force efiler compiling on FreeBSD. --- Jamfile | 8 +++++--- configure.in | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Jamfile b/Jamfile index 197158c..3ddd676 100644 --- a/Jamfile +++ b/Jamfile @@ -28,16 +28,18 @@ SubInclude TOP ede-image-view ; SubInclude TOP elma ; SubInclude TOP ede-launch ; SubInclude TOP emountd ; -SubInclude TOP ede-panel ; SubInclude TOP ede-timedate ; SubInclude TOP ede-tip ; -SubInclude TOP edewm ; SubInclude TOP evoke ; SubInclude TOP doc ; SubInclude TOP data ; 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 -if $(OS) != FREEBSD { +if $(OS) != FREEBSD || $(FORCE_EFILER) = 1 { SubInclude TOP efiler ; } diff --git a/configure.in b/configure.in index d59e2d3..7aa390b 100644 --- a/configure.in +++ b/configure.in @@ -178,7 +178,7 @@ if test -n "$EFLTK_CONFIG"; then EFLTK_LIBS_NOIMAGES=`$EFLTK_CONFIG --ldflags` EFLTK_LIBS=`$EFLTK_CONFIG --use-xml --use-images --ldflags` 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 EDE_CHECK_LIBXPM