aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-06 05:05:50 +0000
committerYang Tse <yangsita@gmail.com>2007-03-06 05:05:50 +0000
commitc84f84c70defbdb287ede9da8d6a86b392acab49 (patch)
tree07dab67fe110d8850c688b78098cab7251d32e77
parente5f8e5e57a7191b2d2c07b5097fec378136d0dd4 (diff)
skip libtool C++ and Fortran checks
-rw-r--r--ares/configure.ac8
-rw-r--r--configure.ac8
2 files changed, 14 insertions, 2 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 034be0e23..c3d2b3073 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -17,6 +17,7 @@ solaris*)
;;
esac
+dnl support building of Windows DLLs
AC_LIBTOOL_WIN32_DLL
dnl ************************************************************
@@ -62,8 +63,13 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]),
AC_MSG_RESULT(no)
)
+dnl skip libtool C++ and Fortran checks
+m4_undefine([AC_PROG_CXX])
+m4_defun([AC_PROG_CXX],[])
+m4_undefine([AC_PROG_F77])
+m4_defun([AC_PROG_F77],[])
+
dnl libtool setup
-CARES_CLEAR_LIBTOOL_TAGS
AC_PROG_LIBTOOL
AC_MSG_CHECKING([if we need -no-undefined])
diff --git a/configure.ac b/configure.ac
index c32137619..5e5630aee 100644
--- a/configure.ac
+++ b/configure.ac
@@ -112,9 +112,15 @@ AC_PROG_CC
dnl check for how to do large files
AC_SYS_LARGEFILE
-dnl check for cygwin stuff
+dnl support building of Windows DLLs
AC_LIBTOOL_WIN32_DLL
+dnl skip libtool C++ and Fortran checks
+m4_undefine([AC_PROG_CXX])
+m4_defun([AC_PROG_CXX],[])
+m4_undefine([AC_PROG_F77])
+m4_defun([AC_PROG_F77],[])
+
dnl libtool setup
AC_PROG_LIBTOOL