X-Git-Url: http://git.indexdata.com/?p=m4-moved-to-github.git;a=blobdiff_plain;f=usemarcon.m4;fp=usemarcon.m4;h=8c7fb45e1c6cf89cf4759022152bdfa09e253ed8;hp=c17d90b9f18dfb1b89ae77c762316c6e3d4851c5;hb=a63e9ca4bf4ca6e78f16d58196e7b962de95a6f1;hpb=381df5cae0710a79464c9a02878c745a1a7e2388 diff --git a/usemarcon.m4 b/usemarcon.m4 index c17d90b..8c7fb45 100644 --- a/usemarcon.m4 +++ b/usemarcon.m4 @@ -6,9 +6,7 @@ AC_DEFUN([USEMARCON_INIT], 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 @@ -24,6 +22,8 @@ AC_DEFUN([USEMARCON_INIT], 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)