[50746] trunk/base/aclocal.m4

toby at macports.org toby at macports.org
Fri May 8 10:25:23 PDT 2009


Revision: 50746
          http://trac.macports.org/changeset/50746
Author:   toby at macports.org
Date:     2009-05-08 10:25:22 -0700 (Fri, 08 May 2009)
Log Message:
-----------
remove unused MP_PROG_XAR and MP_LIBCURL_VERSION macros

Modified Paths:
--------------
    trunk/base/aclocal.m4

Modified: trunk/base/aclocal.m4
===================================================================
--- trunk/base/aclocal.m4	2009-05-08 17:20:04 UTC (rev 50745)
+++ trunk/base/aclocal.m4	2009-05-08 17:25:22 UTC (rev 50746)
@@ -572,21 +572,6 @@
 	AC_SUBST([MD5_LIBS])
 ])
 
-# MP_PROG_XAR
-#---------------------------------------
-AC_DEFUN([MP_PROG_XAR],[
-
-	AC_PATH_PROG([XAR], [xar], ,  [/usr/bin:/usr/sbin:/bin:/sbin])
-
-	if test "x$XAR" = "x" ; then
-		AC_CONFIG_SUBDIRS([src/programs/xar])
-		XAR='$(TOPSRCDIR)/src/programs/xar/xar'
-		REPLACEMENT_PROGS="$REPLACEMENT_PROGS xar"
-	fi
-
-	AC_SUBST(XAR)
-])
-
 # MP_PROG_DAEMONDO
 #---------------------------------------
 AC_DEFUN([MP_PROG_DAEMONDO],[
@@ -807,29 +792,6 @@
 	AC_SUBST(LDFLAGS_LIBCURL)
 ])
 
-# MP_LIBCURL_VERSION
-#	Determine the version of libcurl.
-#
-# Arguments:
-#	None.
-#
-# Requires:
-#	CURL must be set (AC_PATH_PROG(CURL, [curl], []))
-#
-# Results:
-#   sets libcurl_version to "0" or some number
-#---------------------------------------
-AC_DEFUN([MP_LIBCURL_VERSION],[
-	if test "x$CURL" = "x"; then
-		libcurl_version="0"
-	else
-		AC_MSG_CHECKING([libcurl version])
-		libcurl_version=`$CURL -V | sed '2,$d' | awk '{print $ 2}' | sed -e 's/\.//g' -e 's/-.*//g'`
-		AC_MSG_RESULT([$libcurl_version])
-	fi
-])
-
-
 dnl This macro tests if the compiler supports GCC's
 dnl __attribute__ syntax for unused variables/parameters
 AC_DEFUN([MP_COMPILER_ATTRIBUTE_UNUSED], [
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090508/ad3435f2/attachment.html>


More information about the macports-changes mailing list