1
dnl aclocal.m4 generated automatically by aclocal 1.4-p4
3
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4
dnl This file is free software; the Free Software Foundation
5
dnl gives unlimited permission to copy and/or distribute it,
6
dnl with or without modifications, as long as this notice is preserved.
8
dnl This program is distributed in the hope that it will be useful,
9
dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10
dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
dnl PARTICULAR PURPOSE.
14
[echo checking for echo -n
15
if test "`echo -n foo`" = foo ; then
17
test -n "$verbose" && echo ' using echo -n'
18
elif test "`echo 'foo\c'`" = foo ; then
20
test -n "$verbose" && echo ' using echo ...\\c'
23
test -n "$verbose" && echo ' using plain echo'
26
define([AC_PASSWD],dnl
27
[echo checking how to access passwd database
28
PASSWD="cat /etc/passwd"
29
if test -f /bin/domainname && test -n "`/bin/domainname`"; then
30
if test -f /usr/bin/niscat &&
31
/usr/bin/niscat passwd.org_dir > /dev/null 2>&1; then
32
PASSWD="/usr/bin/niscat passwd.org_dir"
33
elif test -f /usr/bin/ypcat && /usr/bin/ypcat passwd > /dev/null 2>&1; then
34
PASSWD="/usr/bin/ypcat passwd"
37
test -n "$verbose" && echo " setting PASSWD to ${PASSWD}"
44
AC_DEFUN(AM_PATH_LISPDIR,
45
[# If set to t, that means we are running in a shell under Emacs.
46
# If you have an Emacs named "t", then use the full path.
47
test "$EMACS" = t && EMACS=
48
AC_PATH_PROGS(EMACS, emacs xemacs, no)
49
if test $EMACS != "no"; then
50
AC_MSG_CHECKING([where .elc files should go])
52
lispdir="\$(datadir)/emacs/site-lisp"
53
emacs_flavor=`echo "$EMACS" | sed -e 's,^.*/,,'`
54
if test "x$prefix" = "xNONE"; then
55
if test -d $ac_default_prefix/share/$emacs_flavor/site-lisp; then
56
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
58
if test -d $ac_default_prefix/lib/$emacs_flavor/site-lisp; then
59
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
63
if test -d $prefix/share/$emacs_flavor/site-lisp; then
64
lispdir="\$(prefix)/share/$emacs_flavor/site-lisp"
66
if test -d $prefix/lib/$emacs_flavor/site-lisp; then
67
lispdir="\$(prefix)/lib/$emacs_flavor/site-lisp"
71
AC_MSG_RESULT($lispdir)