Ticket #6826: patch-oz.in.diff

File patch-oz.in.diff, 640 bytes (added by bfulgham@…, 18 years ago)

patch for the configure.

  • share/bin/oz.in

    old new  
    6060        if test -z "${OZEMACS}"
    6161        then
    6262            IFS="${IFS=   }"; saveifs="$IFS"; IFS="$IFS:"
    63             for name in emacs xemacs lemacs; do
    64                 for dir in $PATH; do
     63            for name in "Aquamacs Emacs" Emacs emacs xemacs lemacs; do
     64                for dir in "/Applications/Aquamacs Emacs.app/Contents/MacOS" /Applications/Emacs.app/Contents/MacOS $PATH; do
    6565                    test -z "$dir" && dir=.
    66                     if test -f $dir/$name; then
     66                    if test -f "$dir/$name"; then
    6767                        # Not all systems have dirname.
    6868                        OZEMACS=$dir/$name
    6969                        break 2