Dash:
[t2-trunk.git] / architecture / sparc / package / glibc / config-650.in
blobac84200f231bcbcf744c20ea6b5c6d277a7d79f8
1 #!/bin/sh
2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 #
5 # T2 SDE: package/.../glibc/config-650.in
6 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This program is free software; you can redistribute it and/or modify
11 # it under the terms of the GNU General Public License as published by
12 # the Free Software Foundation; version 2 of the License. A copy of the
13 # GNU General Public License can be found in the file COPYING.
14 # --- T2-COPYRIGHT-NOTE-END ---
16 menu_begin MENU_LIBC 'Selecting C Library'
17 CFGTEMP_LIBC_LIST=
19 for x in `grep -e ' LIBC ' config/$config/packages | cut -d' ' -f5`; do
20 var_append CFGTEMP_LIBC_LIST ' ' \
21 "$x $x,_$( grep -e '^\[I\]' package/*/$x/$x.desc \
22 | cut -d' ' -f2- | tr ' ' '_' )"
23 done
25 if [ -z "$CFGTEMP_LIBC_LIST" ]; then
26 CFGTEMP_LIBC_LIST="none WARNING:_No_libc_was_selected!"
29 choice SDECFG_LIBC glibc $CFGTEMP_LIBC_LIST
31 # default libc must get enabled
32 [ "$SDECFG_LIBC" != "none" ] && pkgenable $SDECFG_LIBC
34 comment ' '
36 # do package specific config
37 [ -s $cfgtmpdir/subconfig-libc.in ] && . $cfgtmpdir/subconfig-libc.in
39 menu_end