Changed tests for joe editor
This commit is contained in:
parent
4124e691b3
commit
38f0cb2e8c
20
configure
vendored
20
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,19 +7800,19 @@ echo "$as_me: WARNING: not found" >&2;}
|
||||
|
||||
echo "$as_me:$LINENO: result: $joebin" >&5
|
||||
echo "${ECHO_T}$joebin" >&6
|
||||
echo "$as_me:$LINENO: checking location of joe rc files" >&5
|
||||
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
|
||||
if test "$joelib" = "NONE"; then
|
||||
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
||||
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;}
|
||||
elif test -f $joelib/joerc; then
|
||||
elif test -f $joelib/joerc; then
|
||||
|
||||
echo "$as_me:$LINENO: result: $joelib" >&5
|
||||
echo "$as_me:$LINENO: result: $joelib" >&5
|
||||
echo "${ECHO_T}$joelib" >&6
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
22
configure.in
22
configure.in
@ -196,22 +196,22 @@ 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)
|
||||
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
|
||||
if test "$joelib" = "NONE"; then
|
||||
AC_MSG_WARN(not found)
|
||||
elif test -f $joelib/joerc; then
|
||||
AC_SUBST(joelib)
|
||||
AC_MSG_RESULT($joelib)
|
||||
break
|
||||
fi
|
||||
done
|
||||
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 /usr/pkg/lib /usr/pkg/etc NONE; do
|
||||
if test "$joelib" = "NONE"; then
|
||||
AC_MSG_WARN(not found)
|
||||
elif test -f $joelib/joerc; then
|
||||
AC_SUBST(joelib)
|
||||
AC_MSG_RESULT($joelib)
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
Reference in New Issue
Block a user