usemarcon moved to m4
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Mar 2006 17:31:34 +0000 (17:31 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 30 Mar 2006 17:31:34 +0000 (17:31 +0000)
usemarcon.m4 [deleted file]

diff --git a/usemarcon.m4 b/usemarcon.m4
deleted file mode 100644 (file)
index 5b9ae5c..0000000
+++ /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
-])
-