summaryrefslogtreecommitdiff
path: root/packages/graphics/libjpeg/libjpeg.kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'packages/graphics/libjpeg/libjpeg.kconfig')
-rw-r--r--packages/graphics/libjpeg/libjpeg.kconfig49
1 files changed, 33 insertions, 16 deletions
diff --git a/packages/graphics/libjpeg/libjpeg.kconfig b/packages/graphics/libjpeg/libjpeg.kconfig
index fc902a3..33d2557 100644
--- a/packages/graphics/libjpeg/libjpeg.kconfig
+++ b/packages/graphics/libjpeg/libjpeg.kconfig
@@ -1,31 +1,48 @@
################################################################################
-# GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
-# Copyright(C) 2009 GAYE Abdoulaye Walsimou. All rights reserved.
+# Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
+# Copyright(C) 2009-2010 Abdoulaye Walsimou GAYE. All rights reserved.
#
-# This program is free software; you can distribute it and/or modify it
-# under the terms of the GNU General Public License
-# (Version 2 or later) published by the Free Software Foundation.
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
#
-# This program is distributed in the hope it will be useful, but WITHOUT
-# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-# for more details.
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
-# You should have received a copy of the GNU General Public License along
-# with this program; if not, write to the Free Software Foundation, Inc.,
-# 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
################################################################################
#
# \file libjpeg.kconfig
# \brief libjpeg.kconfig of Embtoolkit
-# \author GAYE Abdoulaye Walsimou, <walsimou@walsimou.com>
+# \author Abdoulaye Walsimou GAYE <awg@embtoolkit.org>
# \date October 2009
################################################################################
config EMBTK_HAVE_LIBJPEG
bool "Have libjpeg"
help
- JPEG (pronounced "jay-peg") is a standardized image compression
- mechanism. JPEG stands for Joint Photographic Experts Group, the
- original name of the committee that wrote the standard.
+ JPEG (pronounced "jay-peg") is a standardized image compression
+ mechanism. JPEG stands for Joint Photographic Experts Group, the
+ original name of the committee that wrote the standard.
+
+choice
+ prompt "libjpeg version you wish"
+ depends on EMBTK_HAVE_LIBJPEG
+ help
+ Here you can choose which version of libjpeg you want to use.
+
+ config EMBTK_LIBJPEG_VERSION_V8
+ bool "libjpeg-8"
+ config EMBTK_LIBJPEG_VERSION_V7
+ bool "libjpeg-7"
+endchoice
+config EMBTK_LIBJPEG_VERSION_STRING
+ string
+ default "8" if EMBTK_LIBJPEG_VERSION_V8
+ default "7" if EMBTK_LIBJPEG_VERSION_V7