# HG changeset patch # User John W. Eaton # Date 1260426081 18000 # Node ID de6b6173c99033e55eb756ac203e4b273f9c6408 # Parent 225bfa546ae7a7403fafba3406f8745f23c68fb2 mkoctfile.in: accept long options with single - diff -r 225bfa546ae7 -r de6b6173c990 ChangeLog --- a/ChangeLog Thu Dec 10 01:12:41 2009 -0500 +++ b/ChangeLog Thu Dec 10 01:21:21 2009 -0500 @@ -1,3 +1,7 @@ +2009-12-10 John W. Eaton + + * mkoctfile.in: Accept long options with single -. + 2009-12-09 John W. Eaton * HACKING: Clarify gnulib checkout and use. diff -r 225bfa546ae7 -r de6b6173c990 mkoctfile.in --- a/mkoctfile.in Thu Dec 10 01:12:41 2009 -0500 +++ b/mkoctfile.in Thu Dec 10 01:21:21 2009 -0500 @@ -150,7 +150,7 @@ if [ $# -eq 1 ]; then case "$1" in - -v | --version) + -v | -version | --version) echo $version_msg 1>&2 exit 0 ;; @@ -180,10 +180,10 @@ file=$1 libfiles="$libfiles $file" ;; - -d | --debug | -v | --verbose) + -d | -debug | --debug | -v | -verbose | --verbose) dbg=echo ;; - -h | -\? | --help) + -h | -\? | -help | --help) echo $usage_msg 1>&2 cat << EOF @@ -283,11 +283,11 @@ -[lLR]* | -Wl,*) ldflags="$ldflags $1" ;; - -M | --depend) + -M | -depend | --depend) depend=true compile=false ;; - -o | --output) + -o | -ouput | --output) shift if [ $# -gt 0 ]; then outputfile="$1" @@ -295,7 +295,7 @@ echo "mkoctfile: output file name missing" 1>&2 fi ;; - -p | --print) + -p | -print | --print) shift if [ $# -gt 0 ]; then eval echo \${$1} @@ -305,14 +305,14 @@ exit 1 fi ;; - -s | --strip) + -s | -strip | --strip) if $no_oct_file_strip_on_this_platform; then echo "mkoctfile: stripping disabled on this platform" 1>&2 else strip=true fi ;; - -c | --compile) + -c | -compile | --compile) link=false ;; -g) @@ -320,10 +320,10 @@ ALL_CXXFLAGS="$ALL_CXXFLAGS -g" ALL_FFLAGS="$ALL_FFLAGS -g" ;; - --link-stand-alone) + -link-stand-alone | --link-stand-alone) link_stand_alone=true ;; - --mex) + -mex | --mex) incflags="$incflags -I." output_ext=".mex" ;;