Changeset 50746


Ignore:
Timestamp:
May 8, 2009, 5:25:22 PM (8 years ago)
Author:
toby@…
Message:

remove unused MP_PROG_XAR and MP_LIBCURL_VERSION macros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/aclocal.m4

    r50734 r50746  
    571571        fi
    572572        AC_SUBST([MD5_LIBS])
    573 ])
    574 
    575 # MP_PROG_XAR
    576 #---------------------------------------
    577 AC_DEFUN([MP_PROG_XAR],[
    578 
    579         AC_PATH_PROG([XAR], [xar], ,  [/usr/bin:/usr/sbin:/bin:/sbin])
    580 
    581         if test "x$XAR" = "x" ; then
    582                 AC_CONFIG_SUBDIRS([src/programs/xar])
    583                 XAR='$(TOPSRCDIR)/src/programs/xar/xar'
    584                 REPLACEMENT_PROGS="$REPLACEMENT_PROGS xar"
    585         fi
    586 
    587         AC_SUBST(XAR)
    588573])
    589574
     
    808793])
    809794
    810 # MP_LIBCURL_VERSION
    811 #       Determine the version of libcurl.
    812 #
    813 # Arguments:
    814 #       None.
    815 #
    816 # Requires:
    817 #       CURL must be set (AC_PATH_PROG(CURL, [curl], []))
    818 #
    819 # Results:
    820 #   sets libcurl_version to "0" or some number
    821 #---------------------------------------
    822 AC_DEFUN([MP_LIBCURL_VERSION],[
    823         if test "x$CURL" = "x"; then
    824                 libcurl_version="0"
    825         else
    826                 AC_MSG_CHECKING([libcurl version])
    827                 libcurl_version=`$CURL -V | sed '2,$d' | awk '{print $ 2}' | sed -e 's/\.//g' -e 's/-.*//g'`
    828                 AC_MSG_RESULT([$libcurl_version])
    829         fi
    830 ])
    831 
    832 
    833795dnl This macro tests if the compiler supports GCC's
    834796dnl __attribute__ syntax for unused variables/parameters
Note: See TracChangeset for help on using the changeset viewer.