Changed tests for joe editor
This commit is contained in:
parent
4124e691b3
commit
38f0cb2e8c
10
configure
vendored
10
configure
vendored
@ -7792,7 +7792,7 @@ esac
|
||||
|
||||
echo "$as_me:$LINENO: checking location of joe editor" >&5
|
||||
echo $ECHO_N "checking location of joe editor... $ECHO_C" >&6
|
||||
for joebin in /usr/bin /usr/local/bin NONE; do
|
||||
for joebin in /usr/bin /usr/local/bin /usr/pkg/bin NONE; do
|
||||
if test "$joebin" = "NONE"; then
|
||||
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
||||
echo "$as_me: WARNING: not found" >&2;}
|
||||
@ -7800,9 +7800,12 @@ echo "$as_me: WARNING: not found" >&2;}
|
||||
|
||||
echo "$as_me:$LINENO: result: $joebin" >&5
|
||||
echo "${ECHO_T}$joebin" >&6
|
||||
break
|
||||
fi
|
||||
done
|
||||
echo "$as_me:$LINENO: checking location of joe rc files" >&5
|
||||
echo $ECHO_N "checking location of joe rc files... $ECHO_C" >&6
|
||||
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe NONE; do
|
||||
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe /usr/pkg/lib /usr/pkg/etc NONE; do
|
||||
if test "$joelib" = "NONE"; then
|
||||
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
||||
echo "$as_me: WARNING: not found" >&2;}
|
||||
@ -7813,9 +7816,6 @@ echo "${ECHO_T}$joelib" >&6
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
echo "$as_me:$LINENO: checking location of utmp" >&5
|
||||
echo $ECHO_N "checking location of utmp... $ECHO_C" >&6
|
||||
|
10
configure.in
10
configure.in
@ -196,14 +196,17 @@ AC_SUBST(LOG_COMPRESSEXT)
|
||||
dnl
|
||||
|
||||
AC_MSG_CHECKING(location of joe editor)
|
||||
for joebin in /usr/bin /usr/local/bin NONE; do
|
||||
for joebin in /usr/bin /usr/local/bin /usr/pkg/bin NONE; do
|
||||
if test "$joebin" = "NONE"; then
|
||||
AC_MSG_WARN(not found)
|
||||
elif test -x $joebin/joe; then
|
||||
AC_SUBST(joebin)
|
||||
AC_MSG_RESULT($joebin)
|
||||
break
|
||||
fi
|
||||
done
|
||||
AC_MSG_CHECKING(location of joe rc files)
|
||||
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe NONE; do
|
||||
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe /usr/pkg/lib /usr/pkg/etc NONE; do
|
||||
if test "$joelib" = "NONE"; then
|
||||
AC_MSG_WARN(not found)
|
||||
elif test -f $joelib/joerc; then
|
||||
@ -212,9 +215,6 @@ for joebin in /usr/bin /usr/local/bin NONE; do
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
AC_MSG_CHECKING(location of utmp)
|
||||
for utmpdir in /var/run /var/adm /usr/adm /etc NONE; do
|
||||
|
Reference in New Issue
Block a user