usemarconpath=NONE
AC_ARG_WITH(usemarcon, [ --with-usemarcon=DIR usemarcon-config in DIR (example /home/usemarcon145)], [usemarconpath=$withval])
- if test "x$usemarconpath" != "xNONE"; then
- usemarconconfig=$usemarconpath/usemarcon-config
- else
+ if test "$usemarconpath" = "NONE"; then
if test "x$srcdir" = "x"; then
usemarconsrcdir=.
else
if test "x$usemarconconfig" = "xNONE"; then
AC_PATH_PROG(usemarconconfig, usemarcon-config, NONE)
fi
+ elif test "$usemarconpath" != "no"; then
+ usemarconconfig=$usemarconpath/usemarcon-config
fi
AC_MSG_CHECKING(for USEMARCON)