summaryrefslogtreecommitdiff
path: root/m4/fptools_write_file.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fptools_write_file.m4')
-rw-r--r--m4/fptools_write_file.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/m4/fptools_write_file.m4 b/m4/fptools_write_file.m4
new file mode 100644
index 0000000000..e66690808f
--- /dev/null
+++ b/m4/fptools_write_file.m4
@@ -0,0 +1,9 @@
+# FPTOOLS_WRITE_FILE
+# ------------------
+# Write $2 to the file named $1.
+AC_DEFUN([FPTOOLS_WRITE_FILE],
+[
+cat >$1 <<ACEOF
+$2
+ACEOF
+])