Project

General

Profile

« Previous | Next » 

Revision 5ed6a89c

Added by koszko over 1 year ago

fix configure options of the format '--option value' and 'OPTION=VALUE'

View differences:

configure
46 46
	OPT="${OPT#--}"
47 47
	OPT_NAME="${OPT%%=*}"
48 48

  
49
	if [ "x$OPT_BASE" != "x$OPT" ]; then
49
	if [ "x$OPT_NAME" != "x$OPT" ]; then
50 50
	    OPT_VAL="${OPT#*=}"
51 51
	else
52 52
	    shift
......
86 86
    OPT_NAME="${OPT%%=*}"
87 87
    OPT_VAL="${OPT#*=}"
88 88

  
89
    case "$1" in
89
    case "$OPT_NAME" in
90 90
	BROWSER_BINARY)
91 91
            BROWSER_BINARY="$OPT_VAL";;
92 92
	CLEAN_PROFILE)

Also available in: Unified diff