summaryrefslogtreecommitdiff
path: root/Build/source/m4/kpse-setup.m4
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-27 09:51:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-03-27 09:51:14 +0000
commit030ac93ac520631dcf2cbe20591fe6031c42b24a (patch)
treecd9783b3141875c93afff7c2698e854427b85556 /Build/source/m4/kpse-setup.m4
parent906ce7f27518260132771f3d1a4243ead37e9efd (diff)
new build system: minor cleanup
git-svn-id: svn://tug.org/texlive/trunk@12527 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/m4/kpse-setup.m4')
-rw-r--r--Build/source/m4/kpse-setup.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/m4/kpse-setup.m4 b/Build/source/m4/kpse-setup.m4
index a4bcc01e432..61996a77ac0 100644
--- a/Build/source/m4/kpse-setup.m4
+++ b/Build/source/m4/kpse-setup.m4
@@ -140,3 +140,13 @@ AC_DEFUN([KPSE_CHECK_LIB],
fi
]) # KPSE_CHECK_LIB
+# KPSE_CHECK_LIBXX(LIB, REQUIRED-FUNCTION..., REQUIRED-HEADER...)
+# -------------------------------------------------------------
+# As above, but for C++.
+AC_DEFUN([KPSE_CHECK_LIBXX],
+[AC_REQUIRE([AC_PROG_CXX])[]dnl
+AC_LANG_PUSH([C++])[]dnl
+KPSE_CHECK_LIB($@)[]dnl
+AC_LANG_POP([C++])[]dnl
+]) # KPSE_CHECK_LIBXX
+