From: Adam Dickmeiss Date: Thu, 30 Mar 2006 17:31:34 +0000 (+0000) Subject: usemarcon moved to m4 X-Git-Tag: YAZPROXY.1.1.0.2~19 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=dc097b404e3418a23be4bc36038d9e2ba6d26b96;p=yazproxy-moved-to-github.git usemarcon moved to m4 --- diff --git a/usemarcon.m4 b/usemarcon.m4 deleted file mode 100644 index 5b9ae5c..0000000 --- a/usemarcon.m4 +++ /dev/null @@ -1,42 +0,0 @@ -## $Id: usemarcon.m4,v 1.1 2004-12-03 14:28:18 adam Exp $ -AC_DEFUN([USEMARCON_INIT], -[ - AC_SUBST(USEMARCONLALIB) - AC_SUBST(USEMARCONINC) - usemarconconfig=NONE - 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 "x$srcdir" = "x"; then - usemarconsrcdir=. - else - usemarconsrcdir=$srcdir - fi - for i in ${usemarconsrcdir}/../usemarcon*; do - if test -d $i; then - if test -r $i/usemarcon-config; then - usemarconconfig=$i/usemarcon-config - fi - fi - done - if test "x$usemarconconfig" = "xNONE"; then - AC_PATH_PROG(usemarconconfig, usemarcon-config, NONE) - fi - fi - - AC_MSG_CHECKING(for USEMARCON) - if $usemarconconfig --version >/dev/null 2>&1; then - USEMARCONLALIB=`$usemarconconfig --lalibs $1` - USEMARCONINC=`$usemarconconfig --cflags $1` - USEMARCONVERSION=`$usemarconconfig --version` - AC_MSG_RESULT($usemarconconfig) - AC_DEFINE(HAVE_USEMARCON) - else - AC_MSG_RESULT(Not found) - USEMARCONVERSION=NONE - fi -]) -