]> git.ipfire.org Git - thirdparty/pdns.git/blame - m4/pdns_param_ssp_buffer_size.m4
Merge pull request #9163 from zeha/fix-7795
[thirdparty/pdns.git] / m4 / pdns_param_ssp_buffer_size.m4
CommitLineData
5801cd92 1dnl
ea9330cb 2dnl Check for support for ssp parameter buffer size
5801cd92
AT
3dnl
4dnl Copyright (C) 2013 Red Hat, Inc.
5dnl
6dnl This library is free software; you can redistribute it and/or
7dnl modify it under the terms of the GNU Lesser General Public
8dnl License as published by the Free Software Foundation; either
9dnl version 2.1 of the License, or (at your option) any later version.
10dnl
11dnl This library is distributed in the hope that it will be useful,
12dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
13dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14dnl Lesser General Public License for more details.
15dnl
16dnl You should have received a copy of the GNU Lesser General Public
17dnl License along with this library. If not, see
18dnl <http://www.gnu.org/licenses/>.
19dnl
20
21AC_DEFUN([AC_CC_PARAM_SSP_BUFFER_SIZE],[
22 gl_COMPILER_OPTION_IF([--param ssp-buffer-size=$1], [
0ed6ba22
RK
23 CFLAGS="--param ssp-buffer-size=$1 $CFLAGS"
24 CXXFLAGS="--param ssp-buffer-size=$1 $CXXFLAGS"
5801cd92
AT
25 ])
26])