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 "$as_me:$LINENO: checking location of joe editor" >&5
|
||||||
echo $ECHO_N "checking location of joe editor... $ECHO_C" >&6
|
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
|
if test "$joebin" = "NONE"; then
|
||||||
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
||||||
echo "$as_me: WARNING: not found" >&2;}
|
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 "$as_me:$LINENO: result: $joebin" >&5
|
||||||
echo "${ECHO_T}$joebin" >&6
|
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
|
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
|
if test "$joelib" = "NONE"; then
|
||||||
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
{ echo "$as_me:$LINENO: WARNING: not found" >&5
|
||||||
echo "$as_me: WARNING: not found" >&2;}
|
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
|
echo "${ECHO_T}$joelib" >&6
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
22
configure.in
22
configure.in
@ -196,22 +196,22 @@ AC_SUBST(LOG_COMPRESSEXT)
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_MSG_CHECKING(location of joe editor)
|
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
|
if test "$joebin" = "NONE"; then
|
||||||
AC_MSG_WARN(not found)
|
AC_MSG_WARN(not found)
|
||||||
elif test -x $joebin/joe; then
|
elif test -x $joebin/joe; then
|
||||||
AC_SUBST(joebin)
|
AC_SUBST(joebin)
|
||||||
AC_MSG_RESULT($joebin)
|
AC_MSG_RESULT($joebin)
|
||||||
AC_MSG_CHECKING(location of joe rc files)
|
break
|
||||||
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe NONE; do
|
fi
|
||||||
if test "$joelib" = "NONE"; then
|
done
|
||||||
AC_MSG_WARN(not found)
|
AC_MSG_CHECKING(location of joe rc files)
|
||||||
elif test -f $joelib/joerc; then
|
for joelib in /etc/joe /usr/lib/joe /usr/local/etc/joe /usr/local/lib/joe /usr/pkg/lib /usr/pkg/etc NONE; do
|
||||||
AC_SUBST(joelib)
|
if test "$joelib" = "NONE"; then
|
||||||
AC_MSG_RESULT($joelib)
|
AC_MSG_WARN(not found)
|
||||||
break
|
elif test -f $joelib/joerc; then
|
||||||
fi
|
AC_SUBST(joelib)
|
||||||
done
|
AC_MSG_RESULT($joelib)
|
||||||
break
|
break
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user