/[auctex]/auctex/preview/aclocal.m4
ViewVC logotype

Diff of /auctex/preview/aclocal.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.62 by dak, Mon May 2 10:37:49 2005 UTC revision 1.63 by dak, Sun May 22 20:56:18 2005 UTC
# Line 44  fi Line 44  fi
44  AC_ARG_WITH(emacs,  AC_ARG_WITH(emacs,
45    [  --with-emacs@<:@=PATH@:>@     Use Emacs to build (on PATH if given)],    [  --with-emacs@<:@=PATH@:>@     Use Emacs to build (on PATH if given)],
46    [if test "${withval}" = "yes"; then EMACS=emacs    [if test "${withval}" = "yes"; then EMACS=emacs
47     else if test "${withval}" = "no"; then EMACS=xemacs     elif test "${withval}" = "no"; then EMACS=xemacs
48     else EMACS="${withval}"; fi ; fi])     else EMACS="${withval}"; fi])
49    
50  AC_ARG_WITH(xemacs,  AC_ARG_WITH(xemacs,
51    [  --with-xemacs@<:@=PATH@:>@    Use XEmacs to build (on PATH if given)],    [  --with-xemacs@<:@=PATH@:>@    Use XEmacs to build (on PATH if given)],
52    [if test "${withval}" = "yes"; then EMACS=xemacs;    [if test "x${withval}" != xno
53     else if test "${withval}" = "no"; then EMACS=emacs     then
54     else EMACS="${withval}"; fi ; fi])       if test "x${with_emacs}" != xno -a "x${with_emacs}" != x
55         then
56           AC_MSG_ERROR([[cannot use both Emacs and XEmacs]])
57         fi
58         if test "x${withval}" = "xyes"
59         then
60           EMACS=xemacs
61         else
62           EMACS="${withval}"
63         fi
64       elif test "x${with_emacs}" = xno
65       then
66         AC_MSG_ERROR([[need to use either Emacs or XEmacs]])
67       fi])
68    
69  # "${prefix}/bin" is for Windows users  # "${prefix}/bin" is for Windows users
70  AC_PATH_PROGS(EMACS, ${EMACS} emacs xemacs, "", ${PATH} "${prefix}/bin" )  AC_PATH_PROGS(EMACS, ${EMACS} emacs xemacs, "", ${PATH} "${prefix}/bin" )

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26