Static-const-ify ICD loader info strings
[ocl-icd] / m4 / amx_silent_rules.m4
1 #
2 # SYNOPSIS
3 #
4 #   AMX_SILENT_RULES([action-if-exists], [action-if-not-exists])
5 #
6 # DESCRIPTION
7 #
8 #   These macro calls AM_SILENT_RULES and set AM_DEFAULT_VERBOSITY
9 #   if the AM_SILENT_RULES exists (ie automake >= 1.11) 
10 #
11 # LAST MODIFICATION
12 #
13 #   2010-01-13
14 #
15 # COPYLEFT
16 #
17 #   Copyright (c) 2010 Vincent Danjean <Vincent.Danjean@imag.fr>
18 #
19 #   This program is free software; you can redistribute it and/or
20 #   modify it under the terms of the GNU General Public License as
21 #   published by the Free Software Foundation; either version 2 of the
22 #   License, or (at your option) any later version.
23 #
24 #   This program is distributed in the hope that it will be useful, but
25 #   WITHOUT ANY WARRANTY; without even the implied warranty of
26 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 #   General Public License for more details.
28 #
29 #   You should have received a copy of the GNU General Public License
30 #   along with this program; if not, write to the Free Software
31 #   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
32 #   02111-1307, USA.
33 #
34 #   As a special exception, the respective Autoconf Macro's copyright
35 #   owner gives unlimited permission to copy, distribute and modify the
36 #   configure scripts that are the output of Autoconf when processing
37 #   the Macro. You need not follow the terms of the GNU General Public
38 #   License when using or distributing such scripts, even though
39 #   portions of the text of the Macro appear in them. The GNU General
40 #   Public License (GPL) does govern all other use of the material that
41 #   constitutes the Autoconf Macro.
42 #
43 #   This special exception to the GPL applies to versions of the
44 #   Autoconf Macro released by the Autoconf Macro Archive. When you
45 #   make and distribute a modified version of the Autoconf Macro, you
46 #   may extend this special exception to the GPL to apply to your
47 #   modified version as well.
48
49 AC_DEFUN([AMX_SILENT_RULES], [
50   m4_ifdef([AM_SILENT_RULES], [
51     AM_SILENT_RULES
52     $1
53   ], [
54     AC_MSG_NOTICE([Not using silent Makefile rules as automake 1.11 is required for this])
55     $2
56   ]) 
57 ])dnl AMX_SILENT_RULES