aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-08 12:04:30 +0000
committerYang Tse <yangsita@gmail.com>2007-03-08 12:04:30 +0000
commit3f29ed6d44b8ca1ee702a9e7870ed32e5a7774dd (patch)
tree841e3a121887bd28e6980f9792d702b6bc89db91 /ares
parent1bfa7dfe39ec74cbec28808969ba8320f0807ae4 (diff)
remove code superceeded by the new method used to force
libtool to skip C++ and Fortran checks in patchset: http://cool.haxx.se/cvs.cgi/curl/ares/configure.ac.diff?r1=1.60&r2=1.64
Diffstat (limited to 'ares')
-rw-r--r--ares/acinclude.m436
1 files changed, 0 insertions, 36 deletions
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 66a3c2034..bd5e24d0e 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -1541,39 +1541,3 @@ else
fi
])
-# Prevent libtool for checking how to run C++ compiler and check for other
-# tools we don't want to use. We do this by m4-defining the _LT_AC_TAGCONFIG
-# variable to the code to run, as by default it uses a much more complicated
-# approach. The code below that is actually added seems to be used for cases
-# where configure has trouble figuring out what C compiler to use but where
-# the installed libtool has an idea.
-#
-# This function is a re-implemented version of the Paolo Bonzini fix posted to
-# the c-ares mailing list by Bram Matthys on May 6 2006. My version removes
-# redundant code but also adds the LTCFLAGS check that wasn't in that patch.
-#
-# Some code in this function was extracted from the generated configure script.
-#
-# CARES_CLEAR_LIBTOOL_TAGS
-AC_DEFUN([CARES_CLEAR_LIBTOOL_TAGS],
- [m4_define([_LT_AC_TAGCONFIG], [
- if test -f "$ltmain"; then
- if test ! -f "${ofile}"; then
- AC_MSG_WARN([output file `$ofile' does not exist])
- fi
-
- if test -z "$LTCC"; then
- eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
- if test -z "$LTCC"; then
- AC_MSG_WARN([output file `$ofile' does not look like a libtool
-script])
- else
- AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile'])
- fi
- fi
- if test -z "$LTCFLAGS"; then
- eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
- fi
- fi
- ])]
-)