3 # VideoLAN Client configuration script, borrowed from linux menuconfig
4 # Cyril Deguet <asmax@videolan.org>
6 #-----------------------------------------------------------------
7 # William Roadcap was the original author of Menuconfig.
8 # Michael Elizabeth Chastain (mec@shout.net) is the current maintainer.
10 # 070497 Bernhard Kaindl (bkaindl@netway.at) - get default values for
11 # new bool, tristate and dep_tristate parameters from the defconfig file.
12 # new configuration parameters are marked with '(NEW)' as in make config.
14 # 180697 Bernhard Kaindl (bkaindl@netway.at) - added the needed support
15 # for string options. They are handled like the int and hex options.
17 # 081297 Pavel Machek (pavel@atrey.karlin.mff.cuni.cz) - better error
20 # 131197 Michael Chastain (mec@shout.net) - output all lines for a
21 # choice list, not just the selected one. This makes the output
22 # the same as Configure output, which is important for smart config
25 # 101297 Michael Chastain (mec@shout.net) - remove sound driver cruft.
27 # 221297 Michael Chastain (mec@shout.net) - make define_bool actually
28 # define its arguments so that later tests on them work right.
30 # 160198 Michael Chastain (mec@shout.net) - fix bug with 'c' command
31 # (complement existing value) when used on virgin uninitialized variables.
33 # 090398 Axel Boldt (boldt@math.ucsb.edu) - allow for empty lines in help
36 # 12 Dec 1998, Michael Elizabeth Chastain (mec@shout.net)
37 # Remove a /tmp security hole in get_def (also makes it faster).
38 # Give uninitialized variables canonical values rather than null value.
39 # Change a lot of places to call set_x_info uniformly.
40 # Take out message about preparing version (old sound driver cruft).
42 # 13 Dec 1998, Riley H Williams <Riley@Williams.Name>
43 # When an error occurs, actually display the error message as well as
44 # our comments thereon.
46 # 31 Dec 1998, Michael Elizabeth Chastain (mec@shout.net)
47 # Fix mod_bool to honor $CONFIG_MODULES.
48 # Fix dep_tristate to call define_bool when dependency is "n".
50 # 02 January 1999, Michael Elizabeth Chastain (mec@shout.net)
51 # Blow away lxdialog.scrltmp on entry to activate_menu. This protects
52 # against people who use commands like ' ' to select menus.
54 # 24 January 1999, Michael Elizabeth Chastain, <mec@shout.net>
55 # - Improve the exit message (Jeff Ronne).
57 # 06 July 1999, Andrzej M. Krzysztofowicz, <ankry@mif.pg.gda.pl>
58 # - Support for multiple conditions in dep_tristate().
59 # - Implemented new functions: define_tristate(), define_int(), define_hex(),
60 # define_string(), dep_bool().
62 # 12 November 2001, Keith Owens <kaos@ocs.com.au>
63 # Escape double quotes on eval so the quotes are still there on the second
64 # evaluation, required to handle strings with special characters.
69 # Change this to TRUE if you prefer all kernel options listed
70 # in a single menu rather than the standard menu hierarchy.
75 # Make sure we're really running bash.
77 [ -z "$BASH" ] && { echo "Menuconfig requires bash" 1>&2; exit 1; }
80 # Cache function definitions, turn off posix compliance
86 # Given a configuration variable, set the global variable $x to its value,
87 # and the global variable $info to the string " (NEW)" if this is a new
90 # This function looks for: (1) the current value, or (2) the default value
91 # from the arch-dependent defconfig file, or (3) a default passed by the caller.
93 function set_x_info () {
96 eval `sed -n -e 's/# \(.*\) is not set.*/\1=n/' -e "/^$1=/p" arch/$ARCH/defconfig`
99 eval INFO_$1="' (NEW)'"
101 eval info=\"\$INFO_$1\"
105 # Load the functions used by the config.in files.
107 # I do this because these functions must be redefined depending
108 # on whether they are being called for interactive use or for
109 # saving a configuration to a file.
111 # Thank the heavens bash supports nesting function definitions.
116 # Additional comments
118 function comment () {
119 comment_ctr=$[ comment_ctr + 1 ]
120 echo -ne "': $comment_ctr' '--- $1' " >>MCmenu
124 # Define a boolean to a specific value.
126 function define_bool () {
130 function define_tristate () {
134 function define_hex () {
138 function define_int () {
142 function define_string () {
147 # Create a boolean (Yes/No) function for our current menu
148 # which calls our local bool function.
158 echo -ne "'$2' '[$flag] $1$info' " >>MCmenu
160 echo -e "function $2 () { l_bool '$2' \"\$1\" ;}\n" >>MCradiolists
164 # Create a tristate (Yes/No/Module) radiolist function
165 # which calls our local tristate function.
167 # Collapses to a boolean (Yes/No) if module support is disabled.
169 function tristate () {
170 if [ "$CONFIG_MODULES" != "y" ]
182 echo -ne "'$2' '<$flag> $1$info' " >>MCmenu
185 function $2 () { l_tristate '$2' \"\$1\" ;}" >>MCradiolists
190 # Create a tristate radiolist function which is dependent on
191 # another kernel configuration option.
193 # Quote from the original configure script:
195 # If the option we depend upon is a module,
196 # then the only allowable options are M or N. If Y, then
197 # this is a normal tristate. This is used in cases where modules
198 # are nested, and one module requires the presence of something
199 # else in the kernel.
201 function dep_tristate () {
206 while [ $# -gt 0 ]; do
207 if [ "$1" = y ]; then
209 elif [ "$1" = m ]; then
217 if [ "$dep" = y ]; then
218 tristate "$ques" "$var"
219 elif [ "$dep" = m ]; then
220 mod_bool "$ques" "$var"
222 define_tristate "$var" n
227 # Same as above, but now only Y and N are allowed as dependency
228 # (i.e. third and next arguments).
230 function dep_bool () {
235 while [ $# -gt 0 ]; do
236 if [ "$1" = y ]; then
243 if [ "$dep" = y ]; then
250 function dep_mbool () {
255 while [ $# -gt 0 ]; do
256 if [ "$1" = y -o "$1" = m ]; then
263 if [ "$dep" = y ]; then
271 # Add a menu item which will call our local int function.
276 echo -ne "'$2' '($x) $1$info' " >>MCmenu
278 echo -e "function $2 () { l_int '$1' '$2' '$3' '$x' ;}" >>MCradiolists
282 # Add a menu item which will call our local hex function.
288 echo -ne "'$2' '($x) $1$info' " >>MCmenu
290 echo -e "function $2 () { l_hex '$1' '$2' '$3' '$x' ;}" >>MCradiolists
294 # Add a menu item which will call our local string function.
299 echo -ne "'$2' ' $1: \"$x\"$info' " >>MCmenu
301 echo -e "function $2 () { l_string '$1' '$2' '$3' '$x' ;}" >>MCradiolists
305 # Add a menu item which will call our local One-of-Many choice list.
309 # Need to remember params cause they're gonna get reset.
317 # Find out if one of the choices is already set.
318 # If it's not then make it the default.
325 if eval [ \"_\$$2\" = \"_y\" ]
333 : ${current:=$default}
335 echo -ne "'$firstchoice' '($current) $title' " >>MCmenu
338 function $firstchoice () \
339 { l_choice '$title' \"$choices\" \"$current\" ;}" >>MCradiolists
342 } # END load_functions()
349 # Extract available help for an option from Configure.help
350 # and send it to standard output.
352 # Most of this function was borrowed from the original kernel
355 function extract_help () {
356 if [ -f doc/Configure.help ]
358 #first escape regexp special characters in the argument:
359 var=$(echo "$1"|sed 's/[][\/.^$*]/\\&/g')
360 #now pick out the right help text:
361 text=$(sed -n "/^$var[ ]*\$/,\${
368 /<file:\\([^>]*\\)>/s//\\1/g
370 }" doc/Configure.help)
374 echo "There is no help available for this option."
380 echo "There is no help available for this option."
386 # Activate a help dialog.
389 if extract_help $1 >help.out
391 $DIALOG --backtitle "$backtitle" --title "$2"\
392 --textbox help.out $ROWS $COLS
394 $DIALOG --backtitle "$backtitle" \
395 --textbox help.out $ROWS $COLS
401 # Show the README file.
403 function show_readme () {
404 $DIALOG --backtitle "$backtitle" \
405 --textbox scripts/README.Menuconfig $ROWS $COLS
409 # Begin building the dialog menu command and Initialize the
410 # Radiolist function file.
412 function menu_name () {
413 echo -ne "$DIALOG --title '$1'\
414 --backtitle '$backtitle' \
415 --menu '$menu_instructions' \
416 $ROWS $COLS $((ROWS-10)) \
422 # Add a submenu option to the menu currently under construction.
424 function submenu () {
425 echo -ne "'activate_menu $2' '$1 --->' " >>MCmenu
429 # Handle a boolean (Yes/No) option.
450 # Same as bool() except options are (Module/No)
452 function mod_bool () {
453 if [ "$CONFIG_MODULES" != "y" ]; then
463 echo -ne "'$2' '<$flag> $1$info' " >>MCmenu
465 echo -e "function $2 () { l_mod_bool '$2' \"\$1\" ;}" >>MCradiolists
470 # Same as l_bool() except options are (Module/No)
472 function l_mod_bool() {
477 ${DIALOG} --backtitle "$backtitle" \
479 This feature depends on another which has been configured as a module. \
480 As a result, this feature will be built as a module." 4 70
498 # Handle a tristate (Yes/No/Module) option.
500 function l_tristate () {
523 # Create a dialog for entering an integer into a kernel option.
528 if $DIALOG --title "$1" \
529 --backtitle "$backtitle" \
530 --inputbox "$inputbox_instructions_int" \
531 10 75 "$4" 2>MCdialog.out
533 answer="`cat MCdialog.out`"
534 answer="${answer:-$3}"
536 # Semantics of + and ? in GNU expr changed, so
538 if expr "$answer" : '0$' '|' "$answer" : '[1-9][0-9]*$' '|' "$answer" : '-[1-9][0-9]*$' >/dev/null
544 ${DIALOG} --backtitle "$backtitle" \
545 --infobox "You have made an invalid entry." 3 43
557 # Create a dialog for entering a hexadecimal into a kernel option.
562 if $DIALOG --title "$1" \
563 --backtitle "$backtitle" \
564 --inputbox "$inputbox_instructions_hex" \
565 10 75 "$4" 2>MCdialog.out
567 answer="`cat MCdialog.out`"
568 answer="${answer:-$3}"
569 answer="${answer##*[x,X]}"
571 if expr "$answer" : '[0-9a-fA-F][0-9a-fA-F]*$' >/dev/null
577 ${DIALOG} --backtitle "$backtitle" \
578 --infobox "You have made an invalid entry." 3 43
590 # Create a dialog for entering a string into a kernel option.
592 function l_string () {
595 if $DIALOG --title "$1" \
596 --backtitle "$backtitle" \
597 --inputbox "$inputbox_instructions_string" \
598 10 75 "$4" 2>MCdialog.out
600 answer="`cat MCdialog.out`"
601 answer="${answer:-$3}"
604 # Someone may add a nice check for the entered
618 # Handle a one-of-many choice list.
620 function l_choice () {
622 # Need to remember params cause they're gonna get reset.
630 # Scan current value of choices and set radiolist switches.
638 "$current"*) if [ -z "$chosen" ]; then
639 list="$list $2 $1 ON "
642 list="$list $2 $1 OFF "
644 *) list="$list $2 $1 OFF " ;;
652 if $DIALOG --title "$title" \
653 --backtitle "$backtitle" \
654 --radiolist "$radiolist_instructions" \
655 15 70 6 $list 2>MCdialog.out
657 choice=`cat MCdialog.out`
661 help "$firstchoice" "$title"
665 # Now set the boolean value of each option based on
666 # the selection made from the radiolist.
671 if [ "$2" = "$choice" ]
683 # Call awk, and watch for error codes, etc.
685 function callawk () {
686 awk "$1" || { echo "Awk died with error code $?. Giving up."; exit 1; }
690 # A faster awk based recursive parser. (I hope)
692 function parser1 () {
696 comment_is_option = 0
697 parser("'$CONFIG_IN'","MCmenu0")
700 function parser(ifile,menu) {
702 while (getline <ifile) {
703 if ($1 == "mainmenu_option") {
704 comment_is_option = "1"
706 else if ($1 == "comment" && comment_is_option == "1") {
707 comment_is_option= "0"
711 printf("submenu %s MCmenu%s\n", $0, menu_no) >>menu
713 newmenu = sprintf("MCmenu%d", menu_no);
714 printf( "function MCmenu%s () {\n"\
717 menu_no, $0) >newmenu
719 parser(ifile, newmenu)
721 else if ($0 ~ /^#|\$MAKE|mainmenu_name/) {
724 else if ($1 ~ "endmenu") {
728 else if ($1 == "source") {
739 # Secondary parser for single menu mode.
741 function parser2 () {
744 parser("'$CONFIG_IN'","MCmenu0")
747 function parser(ifile,menu) {
749 while (getline <ifile) {
750 if ($0 ~ /^#|$MAKE|mainmenu_name/) {
753 else if ($1 ~ /mainmenu_option|endmenu/) {
756 else if ($1 == "source") {
767 # Parse all the config.in files into mini scripts.
769 function parse_config_files () {
772 echo "function MCmenu0 () {" >MCmenu0
773 echo 'default=$1' >>MCmenu0
774 echo "menu_name 'Main Menu'" >>MCmenu0
776 if [ "_$single_menu_mode" = "_TRUE" ]
783 echo "comment ''" >>MCmenu0
784 echo "g_alt_config" >>MCmenu0
785 echo "s_alt_config" >>MCmenu0
790 # These mini scripts must be sourced into the current
791 # environment in order for all of this to work. Leaving
792 # them on the disk as executables screws up the recursion
793 # in activate_menu(), among other things. Once they are
794 # sourced we can discard them.
805 # This is the menu tree's bootstrap.
807 # Executes the parsed menus on demand and creates a set of functions,
808 # one per configuration option. These functions will in turn execute
809 # dialog commands or recursively call other menus.
811 function activate_menu () {
812 rm -f lxdialog.scrltmp
815 comment_ctr=0 #So comment lines get unique tags
817 $1 "$default" 2> MCerror #Create the lxdialog menu & functions
824 Menuconfig has encountered a possible error in one of the kernel's
825 configuration files and is unable to continue. Here is the error
829 sed 's/^/ Q> /' MCerror
832 Please report this to the maintainer <mec@shout.net>. You may also
833 send a problem report to <linux-kernel@vger.kernel.org>.
835 Please indicate the kernel version you are trying to configure and
836 which menu you were trying to enter when this error occurred.
844 . ./MCradiolists #Source the menu's functions
846 . ./MCmenu 2>MCdialog.out #Activate the lxdialog menu
849 read selection <MCdialog.out
853 defaults="$selection
\12$defaults" #pseudo stack
855 0) eval $selection ;;
856 3) eval $selection y ;;
857 4) eval $selection n ;;
858 5) eval $selection m ;;
859 6) eval $selection c ;;
861 default="${defaults%%
\12*}" defaults="${defaults#*
\12}"
864 default="${selection%%\ *}"
867 *"-->"*|*"alt_config"*)
870 eval help $selection ;;
881 There seems to be a problem with the lxdialog companion utility which is
882 built prior to running Menuconfig. Usually this is an indicator that you
883 have upgraded/downgraded your ncurses libraries and did not remove the
884 old ncurses header file(s) in /usr/include or /usr/include/ncurses.
886 It is VERY important that you have only one set of ncurses header files
887 and that those files are properly version matched to the ncurses libraries
888 installed on your machine.
890 You may also need to rebuild lxdialog. This can be done by moving to
891 the /usr/src/linux/scripts/lxdialog directory and issuing the
892 "make clean all" command.
894 If you have verified that your ncurses install is correct, you may email
895 the maintainer <mec@shout.net> or post a message to
896 <linux-kernel@vger.kernel.org> for additional assistance.
907 # Create a menu item to load an alternate configuration file.
910 echo -n "get_alt_config 'Load an Alternate Configuration File' "\
915 # Get alternate config file name and load the
916 # configuration from it.
919 set -f ## Switch file expansion OFF
923 ALT_CONFIG="${ALT_CONFIG:-$DEFAULTS}"
925 $DIALOG --backtitle "$backtitle" \
927 Enter the name of the configuration file you wish to load. \
928 Accept the name shown to restore the configuration you \
929 last retrieved. Leave blank to abort."\
930 11 55 "$ALT_CONFIG" 2>MCdialog.out
934 ALT_CONFIG=`cat MCdialog.out`
936 [ "_" = "_$ALT_CONFIG" ] && break
938 if eval [ -r \"$ALT_CONFIG\" ]
940 eval load_config_file \"$ALT_CONFIG\"
944 $DIALOG --backtitle "$backtitle" \
945 --infobox "File does not exist!" 3 38
951 For various reasons, one may wish to keep several different kernel
952 configurations available on a single machine.
954 If you have saved a previous configuration in a file other than the
955 kernel's default, entering the name of the file here will allow you
956 to modify that configuration.
958 If you are uncertain, then you have probably never used alternate
959 configuration files. You should therefor leave this blank to abort.
962 $DIALOG --backtitle "$backtitle"\
963 --title "Load Alternate Configuration"\
964 --textbox help.out $ROWS $COLS
968 set +f ## Switch file expansion ON
969 rm -f help.out MCdialog.out
973 # Create a menu item to store an alternate config file.
976 echo -n "save_alt_config 'Save Configuration to an Alternate File' "\
981 # Get an alternate config file name and save the current
982 # configuration to it.
985 set -f ## Switch file expansion OFF
989 $DIALOG --backtitle "$backtitle" \
991 Enter a filename to which this configuration should be saved \
992 as an alternate. Leave blank to abort."\
993 10 55 "$ALT_CONFIG" 2>MCdialog.out
997 ALT_CONFIG=`cat MCdialog.out`
999 [ "_" = "_$ALT_CONFIG" ] && break
1001 if eval touch $ALT_CONFIG 2>/dev/null
1003 eval save_configuration $ALT_CONFIG
1004 load_functions ## RELOAD
1008 $DIALOG --backtitle "$backtitle" \
1009 --infobox "Can't create file! Probably a nonexistent directory." 3 60
1015 For various reasons, one may wish to keep different kernel
1016 configurations available on a single machine.
1018 Entering a file name here will allow you to later retrieve, modify
1019 and use the current configuration as an alternate to whatever
1020 configuration options you have selected at that time.
1022 If you are uncertain what all this means then you should probably
1025 $DIALOG --backtitle "$backtitle"\
1026 --title "Save Alternate Configuration"\
1027 --textbox help.out $ROWS $COLS
1031 set +f ## Switch file expansion ON
1032 rm -f help.out MCdialog.out
1036 # Load config options from a file.
1037 # Converts all "# OPTION is not set" lines to "OPTION=n" lines
1039 function load_config_file () {
1041 /# .* is not set.*/ { printf("%s=n\n", $2) }
1042 ! /# .* is not set.*/ { print }
1050 # Just what it says.
1052 save_configuration () {
1054 echo -n "Saving your kernel configuration."
1057 # Now, let's redefine the configuration functions for final
1058 # output to the config files.
1060 # Nested function definitions, YIPEE!
1064 eval define_bool \"$2\" \"$x\"
1067 function tristate () {
1069 eval define_tristate \"$2\" \"$x\"
1072 function dep_tristate () {
1076 while [ $# -gt 0 ]; do
1077 if [ "$1" = y ]; then
1079 elif [ "$1" = m -a "$x" != n ]; then
1085 define_tristate "$var" "$x"
1088 function dep_bool () {
1092 while [ $# -gt 0 ]; do
1093 if [ "$1" = y ]; then
1099 define_bool "$var" "$x"
1102 function dep_mbool () {
1106 while [ $# -gt 0 ]; do
1107 if [ "$1" = y -o "$1" = m ]; then
1113 define_bool "$var" "$x"
1117 set_x_info "$2" "$3"
1118 echo "$2=$x" >>$CONFIG
1122 set_x_info "$2" "$3"
1123 echo "$2=$x" >>$CONFIG
1126 function string () {
1127 set_x_info "$2" "$3"
1128 echo "$2=\"$x\"" >>$CONFIG
1131 function define_hex () {
1133 echo "$1=$2" >>$CONFIG
1136 function define_int () {
1138 echo "$1=$2" >>$CONFIG
1141 function define_string () {
1143 echo "$1=\"$2\"" >>$CONFIG
1146 function define_bool () {
1147 define_tristate "$1" "$2"
1150 function define_tristate () {
1155 echo "$1=y" >>$CONFIG
1159 if [ "$CONFIG_MODULES" = "y" ]
1161 echo "$1=m" >>$CONFIG
1163 echo "$1=y" >>$CONFIG
1168 echo "# $1 is not set" >>$CONFIG
1173 function choice () {
1175 # Find the first choice that's already set to 'y'
1185 if eval [ \"_\$$2\" = \"_y\" ]
1194 # Use the default if none were set.
1196 : ${current:=$default}
1199 # Output all choices (to be compatible with other configs).
1205 "$current"*) if [ -z "$chosen" ]; then
1206 define_bool "$2" "y"
1209 define_bool "$2" "n"
1211 *) define_bool "$2" "n" ;;
1217 function mainmenu_name () {
1221 function mainmenu_option () {
1222 comment_is_option=TRUE
1225 function endmenu () {
1229 function comment () {
1230 if [ "$comment_is_option" ]
1235 echo "# $1" >>$CONFIG
1242 DEF_CONFIG="${1:-.config}"
1247 echo "# Automatically generated by make menuconfig: don't edit" >>$CONFIG
1251 if . $CONFIG_IN >>.menuconfig.log 2>&1
1253 if [ -f "$DEF_CONFIG" ]
1255 rm -f ${DEF_CONFIG}.old
1256 mv $DEF_CONFIG ${DEF_CONFIG}.old
1259 mv $CONFIG $DEF_CONFIG
1268 # Remove temporary files
1276 rm -f MCmenu* MCradiolists MCdialog.out help.out
1284 # Some distributions export these with incorrect values
1285 # which can really screw up some ncurses programs.
1288 ROWS=${1:-24} COLS=${2:-80}
1290 # Just in case the nasty rlogin bug returns.
1292 [ $ROWS = 0 ] && ROWS=24
1293 [ $COLS = 0 ] && COLS=80
1295 if [ $ROWS -lt 19 -o $COLS -lt 80 ]
1297 echo -e "\n\007Your display is too small to run Menuconfig!"
1298 echo "It must be at least 19 lines by 80 columns."
1302 ROWS=$((ROWS-4)) COLS=$((COLS-5))
1306 set_geometry `stty size 2>/dev/null`
1308 menu_instructions="\
1309 Arrow keys navigate the menu. \
1310 <Enter> selects submenus --->. \
1311 Highlighted letters are hotkeys. \
1312 Pressing <Y> includes, <N> excludes, <M> modularizes features. \
1313 Press <Esc><Esc> to exit, <?> for Help. \
1314 Legend: [*] built-in [ ] excluded <M> module < > module capable"
1316 radiolist_instructions="\
1317 Use the arrow keys to navigate this window or \
1318 press the hotkey of the item you wish to select \
1319 followed by the <SPACE BAR>.
1320 Press <?> for additional information about this option."
1322 inputbox_instructions_int="\
1323 Please enter a decimal value. \
1324 Fractions will not be accepted. \
1325 Use the <TAB> key to move from the input field to the buttons below it."
1327 inputbox_instructions_hex="\
1328 Please enter a hexadecimal value. \
1329 Use the <TAB> key to move from the input field to the buttons below it."
1331 inputbox_instructions_string="\
1332 Please enter a string value. \
1333 Use the <TAB> key to move from the input field to the buttons below it."
1335 DIALOG="./lxdialog/lxdialog"
1337 backtitle="VideoLAN Client Configuration"
1339 trap "cleanup ; exit 1" 1 2 15
1343 # Locate default files.
1345 CONFIG_IN=./config.in
1346 if [ "$1" != "" ] ; then
1351 if [ -f .config ]; then
1357 echo "Using defaults found in" $DEFAULTS
1358 load_config_file $DEFAULTS
1360 echo "No defaults found"
1367 # Load the functions used by the config.in files.
1368 echo -n "Preparing scripts: functions"
1371 if [ ! -e $CONFIG_IN ]
1373 echo "Your main config.in file ($CONFIG_IN) does not exist"
1379 echo "Building lxdialog"
1386 echo "Your lxdialog utility does not exist"
1392 # Read config.in files and parse them into one shell function per menu.
1395 parse_config_files $CONFIG_IN
1399 # Start the ball rolling from the top.
1401 activate_menu MCmenu0
1411 if $DIALOG --backtitle "$backtitle" \
1412 --yesno "Do you wish to save your new kernel configuration?" 5 60
1416 echo "*** End of VideoLAN client configuration. ***"
1417 echo "Run ./build-vlc to launch the build process"
1422 echo Your kernel configuration changes were NOT saved.
1426 # Remove log if empty.
1427 if [ ! -s .menuconfig.log ] ; then
1428 rm -f .menuconfig.log