diff options
Diffstat (limited to 'lib/autoconf/status.m4')
-rw-r--r-- | lib/autoconf/status.m4 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/autoconf/status.m4 b/lib/autoconf/status.m4 index b9e70264..56190a42 100644 --- a/lib/autoconf/status.m4 +++ b/lib/autoconf/status.m4 @@ -1464,11 +1464,16 @@ ac_need_defaults=: while test $[#] != 0 do case $[1] in - --*=*) + --*=?*) ac_option=`expr "X$[1]" : 'X\([[^=]]*\)='` ac_optarg=`expr "X$[1]" : 'X[[^=]]*=\(.*\)'` ac_shift=: ;; + --*=) + ac_option=`expr "X$[1]" : 'X\([[^=]]*\)='` + ac_optarg= + ac_shift=: + ;; *) ac_option=$[1] ac_optarg=$[2] @@ -1491,6 +1496,7 @@ m4_ifdef([_AC_SEEN_CONFIG(FILES)], [dnl $ac_shift case $ac_optarg in *\'*) ac_optarg=`AS_ECHO(["$ac_optarg"]) | sed "s/'/'\\\\\\\\''/g"` ;; + '') AC_MSG_ERROR([missing file argument]) ;; esac AS_VAR_APPEND([CONFIG_FILES], [" '$ac_optarg'"]) ac_need_defaults=false;; |