|
| 1 | +# +-------------------------------------------------------------------------+ |
| 2 | +# | Copyright (C) 2004-2023 The Cacti Group | |
| 3 | +# | | |
| 4 | +# | This program is free software; you can redistribute it and/or | |
| 5 | +# | modify it under the terms of the GNU General Public License | |
| 6 | +# | as published by the Free Software Foundation; either version 2 | |
| 7 | +# | of the License, or (at your option) any later version. | |
| 8 | +# | | |
| 9 | +# | This program is distributed in the hope that it will be useful, | |
| 10 | +# | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | +# | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 12 | +# | GNU General Public License for more details. | |
| 13 | +# +-------------------------------------------------------------------------+ |
| 14 | +# | Cacti: The Complete RRDtool-based Graphing Solution | |
| 15 | +# +-------------------------------------------------------------------------+ |
| 16 | +# | This code is designed, written, and maintained by the Cacti Group. See | |
| 17 | +# | about.php and/or the AUTHORS file for specific developer information. | |
| 18 | +# +-------------------------------------------------------------------------+ |
| 19 | +# | http://www.cacti.net/ | |
| 20 | +# +-------------------------------------------------------------------------+ |
| 21 | + |
1 | 22 | AC_PREREQ([2.63])
|
2 | 23 | AC_INIT([Spine Poller],[1.2.23],[http://www.cacti.net/issues.php])
|
3 | 24 |
|
@@ -180,7 +201,7 @@ for file in sys/capability.h;do
|
180 | 201 | test -f /usr/include/$file && CAPLOC=$file && break
|
181 | 202 | done
|
182 | 203 |
|
183 |
| -AC_CHECK_HEADER($CAPLOC, [FOUND_SYS_CAPABILITY_H=yes], |
| 204 | +AC_CHECK_HEADER($CAPLOC, [FOUND_SYS_CAPABILITY_H=yes], |
184 | 205 | [FOUND_SYS_CAPABILITY_H=no])
|
185 | 206 |
|
186 | 207 | # If we should use the Linux Capabilities support
|
|
280 | 301 |
|
281 | 302 | if test $MYSQL_REENTRANT = 1 ; then
|
282 | 303 | LIBS="-lmysqlclient_r -lm -ldl $LIBS"
|
283 |
| -else |
| 304 | +else |
284 | 305 | if test -f $MYSQL_LIB_DIR/libmysqlclient_r.a -o -f $MYSQL_LIB_DIR/libmysqlclient_r.$ShLib; then
|
285 | 306 | LIBS="-lmysqlclient_r -lm -ldl $LIBS"
|
286 |
| - else |
| 307 | + else |
287 | 308 | if test -f $MYSQL_LIB_DIR/libmysqlclient_r.a -o -f $MYSQL_LIB_DIR/libmysqlclient_r.$ShLib ; then
|
288 | 309 | LIBS="-lmysqlclient_r -lm -ldl $LIBS"
|
289 | 310 | else
|
@@ -365,7 +386,7 @@ AC_TRY_COMPILE([#include <net-snmp-config.h>], [return NETSNMP_USE_OPENSSL != 1;
|
365 | 386 | ],[AC_MSG_RESULT(no)
|
366 | 387 | ])
|
367 | 388 |
|
368 |
| -AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <net-snmp-config.h> |
| 389 | +AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #include <net-snmp-config.h> |
369 | 390 | #include <net-snmp/utilities.h>
|
370 | 391 | #include <net-snmp/net-snmp-includes.h>
|
371 | 392 | #include <net-snmp/config_api.h>
|
|
0 commit comments