diff --git a/e17/ecore/ecore.conf b/e17/ecore/ecore.conf index cb926fe59..f6dadb1f0 100644 --- a/e17/ecore/ecore.conf +++ b/e17/ecore/ecore.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../ecore/ecore.conf -# Copyright (C) 2006 The OpenSDE Project +# Copyright (C) 2006 - 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2004 Clifford Wolf # @@ -14,21 +14,16 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -var_append confopt " " "--enable-ecore-evas" -var_append confopt " " "--enable-ecore-job" -var_append confopt " " "--enable-ecore-con" -var_append confopt " " "--enable-ecore-ipc" +for x in evas job con ipc \ + fb evas-fb; do + var_append confopt " " "--enable-ecore-$x" +done -# X11 support -pkginstalled libx11 && var_append confopt " " "--enable-ecore-x" - -# OpenGL support -pkginstalled mesa && var_append confopt " " "--enable-ecore-evas-gl" - -# Framebuffer support -var_append confopt " " "--enable-ecore-fb" -var_append confopt " " "--enable-ecore-evas-fb" +for x in libx11:x mesa:evas-gl; do + if pkginstalled ${x#*:}; then + var_append confopt " " "--enable-ecore-${x%:*}" + fi +done # work around to always utilize other e17 headers and libs ... var_append CC_WRAPPER_APPEND " " "-I$includedir -L$libdir" -