~ubuntu-branches/ubuntu/edgy/bbdb/edgy

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Hubert Chan
  • Date: 2006-04-13 15:42:40 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060413154240-x8ykvxd5h5rt2c9j
Tags: 2.35.cvs20060204-1.1
* NMU with the permission of the maintainer.
* Set coding system when writing .bbdb file to prevent data corruption.
  (Closes: #351778)

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
      dnl This is critical enough to generate an error and not a warning...
158
158
      AC_MSG_ERROR([*** No Emacs program found.])
159
159
    fi
160
 
    dnl If I were pedantic, I'd check that the user-specified executable is
161
 
    dnl actually working. I might do that someday.
 
160
        if test -x "${EMACS_PROG}"; then
 
161
      echo "yay" > /dev/null # because I don't know if 'if !' is portable
 
162
    else
 
163
          dnl AC_CHECK_PROGS only verifies this if you don't override manually
 
164
      AC_MSG_ERROR([*** ${EMACS_PROG} isn't executable.])
 
165
        fi
 
166
    dnl We do need to verify that it's not got spaces in the path
 
167
        dnl (hello Windows, OS X)
 
168
    if test "x`echo $EMACS_PROG | grep \" \"`" != "x"; then
 
169
      EMACS_PROG=\"$EMACS_PROG\"
 
170
    fi
162
171
    AC_SUBST(EMACS_PROG) ])
163
172
 
164
173
dnl aclocal.m4 ends here