~drizzle-trunk/libdrizzle/jenkins-Libdrizzle-6

« back to all changes in this revision

Viewing changes to m4/ax_append_to_file.m4

  • Committer: Andrew Hutchings
  • Date: 2012-12-17 12:03:43 UTC
  • mfrom: (44.1.1 libdrizzle)
  • Revision ID: andrew@linuxjedi.co.uk-20121217120343-tgde4ngz85yc6rsq
Merge in Brian's autoconf work

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ===========================================================================
 
2
#     http://www.gnu.org/software/autoconf-archive/ax_append_to_file.html
 
3
# ===========================================================================
 
4
#
 
5
# SYNOPSIS
 
6
#
 
7
#   AX_APPEND_TO_FILE([FILE],[DATA])
 
8
#
 
9
# DESCRIPTION
 
10
#
 
11
#   Appends the specified data to the specified file.
 
12
#
 
13
# LICENSE
 
14
#
 
15
#   Copyright (c) 2008 Tom Howard <tomhoward@users.sf.net>
 
16
#
 
17
#   Copying and distribution of this file, with or without modification, are
 
18
#   permitted in any medium without royalty provided the copyright notice
 
19
#   and this notice are preserved. This file is offered as-is, without any
 
20
#   warranty.
 
21
 
 
22
#serial 7
 
23
 
 
24
AC_DEFUN([AX_APPEND_TO_FILE],[
 
25
AC_REQUIRE([AX_FILE_ESCAPES])
 
26
printf "$2" >> "$1"
 
27
])