Blame m4/ax_ac_append_to_file.m4
|
Packit Service |
4684c1 |
# ===========================================================================
|
|
Packit Service |
4684c1 |
# https://www.gnu.org/software/autoconf-archive/ax_ac_append_to_file.html
|
|
Packit Service |
4684c1 |
# ===========================================================================
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# SYNOPSIS
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# AX_AC_APPEND_TO_FILE([FILE],[DATA])
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# DESCRIPTION
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# Appends the specified data to the specified Autoconf is run. If you want
|
|
Packit Service |
4684c1 |
# to append to a file when configure is run use AX_APPEND_TO_FILE instead.
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# LICENSE
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# Copyright (c) 2009 Allan Caffee <allan.caffee@gmail.com>
|
|
Packit Service |
4684c1 |
#
|
|
Packit Service |
4684c1 |
# Copying and distribution of this file, with or without modification, are
|
|
Packit Service |
4684c1 |
# permitted in any medium without royalty provided the copyright notice
|
|
Packit Service |
4684c1 |
# and this notice are preserved. This file is offered as-is, without any
|
|
Packit Service |
4684c1 |
# warranty.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
#serial 10
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
AC_DEFUN([AX_AC_APPEND_TO_FILE],[
|
|
Packit Service |
4684c1 |
AC_REQUIRE([AX_FILE_ESCAPES])
|
|
Packit Service |
4684c1 |
m4_esyscmd(
|
|
Packit Service |
4684c1 |
AX_FILE_ESCAPES
|
|
Packit Service |
4684c1 |
[
|
|
Packit Service |
4684c1 |
printf "%s" "$2" >> "$1"
|
|
Packit Service |
4684c1 |
])
|
|
Packit Service |
4684c1 |
])
|