Browse Source

ecore: cleaned .conf by var_appending settings using a loop

user/amery/mess
Alejandro Mery 14 years ago
committed by Alejandro Mery
parent
commit
f5e081cff0
1 changed files with 10 additions and 15 deletions
  1. +10
    -15
      e17/ecore/ecore.conf

+ 10
- 15
e17/ecore/ecore.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../ecore/ecore.conf # 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) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2004 Clifford Wolf # Copyright (C) 1998 - 2004 Clifford Wolf
# #
@ -14,21 +14,16 @@
# GNU General Public License can be found in the file COPYING. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- 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 ... # work around to always utilize other e17 headers and libs ...
var_append CC_WRAPPER_APPEND " " "-I$includedir -L$libdir" var_append CC_WRAPPER_APPEND " " "-I$includedir -L$libdir"

Loading…
Cancel
Save