summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/m4/mathfcts.m4
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/m4/mathfcts.m4')
-rw-r--r--libstdc++-v3/m4/mathfcts.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/libstdc++-v3/m4/mathfcts.m4 b/libstdc++-v3/m4/mathfcts.m4
new file mode 100644
index 00000000000..bb1d23c0556
--- /dev/null
+++ b/libstdc++-v3/m4/mathfcts.m4
@@ -0,0 +1,15 @@
+# Check for functions in math library.
+# Ulrich Drepper <drepper@cygnus.com>, 1998.
+#
+# This file can be copied and used freely without restrictions. It can
+# be used in projects which are not available under the GNU Public License
+# but which still want to provide support for the GNU gettext functionality.
+# Please note that the actual code is *not* freely available.
+
+# serial 1
+
+dnl AC_REPLACE_MATHFUNCS(FUNCTION...)
+AC_DEFUN(AC_REPLACE_MATHFUNCS,
+[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])
+AC_SUBST(LIBMATHOBJS)dnl
+])
OpenPOWER on IntegriCloud