Changed tests for joe editor
This commit is contained in:
parent
4124e691b3
commit
38f0cb2e8c
12
configure
vendored
12
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
|
||||
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
|
||||
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;}
|
||||
@ -7812,9 +7815,6 @@ echo "$as_me: WARNING: not found" >&2;}
|
||||
echo "${ECHO_T}$joelib" >&6
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
echo "$as_me:$LINENO: checking location of utmp" >&5
|
||||
|
12
configure.in
12
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)
|
||||
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
|
||||
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
|
||||
@ -211,9 +214,6 @@ for joebin in /usr/bin /usr/local/bin NONE; do
|
||||
AC_MSG_RESULT($joelib)
|
||||
break
|
||||
fi
|
||||
done
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
AC_MSG_CHECKING(location of utmp)
|
||||
|
Reference in New Issue
Block a user