| 1 |
# This file is part of Gutenprint. -*- Autoconf -*- |
| 2 |
# Gutenprint Autoconf support. |
| 3 |
# Copyright 2001-2002 Roger Leigh |
| 4 |
# |
| 5 |
# This program is free software; you can redistribute it and/or modify |
| 6 |
# it under the terms of the GNU General Public License as published by |
| 7 |
# the Free Software Foundation; either version 2, or (at your option) |
| 8 |
# any later version. |
| 9 |
# |
| 10 |
# This program is distributed in the hope that it will be useful, |
| 11 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 |
# GNU General Public License for more details. |
| 14 |
# |
| 15 |
# You should have received a copy of the GNU General Public License |
| 16 |
# along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 17 |
# 02111-1307, USA. |
| 18 |
|
| 19 |
## Table of Contents: |
| 20 |
## 1. Autoconf support |
| 21 |
|
| 22 |
|
| 23 |
## ---------------- ## |
| 24 |
## Autoconf support ## |
| 25 |
## ---------------- ## |
| 26 |
|
| 27 |
|
| 28 |
# STP_INIT |
| 29 |
# -------- |
| 30 |
# Initialise Gutenprint autoconf macros. Turn on error detection of |
| 31 |
# STP_* macros |
| 32 |
AC_DEFUN([STP_INIT], |
| 33 |
[m4_pattern_forbid([STP_])]) |
| 34 |
|
| 35 |
AC_DEFUN([CONFIG_FILE_EXEC], |
| 36 |
[AC_CONFIG_FILES([$1], [chmod +x $1])]) |
| 37 |
|