diff options
Diffstat (limited to 'web/attachments/34950-diff.txt')
-rw-r--r-- | web/attachments/34950-diff.txt | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/web/attachments/34950-diff.txt b/web/attachments/34950-diff.txt new file mode 100644 index 0000000..4276ba2 --- /dev/null +++ b/web/attachments/34950-diff.txt | |||
@@ -0,0 +1,50 @@ | |||
1 | Common subdirectories: nagiosplug/CVS and nagiosplug.old/CVS | ||
2 | diff nagiosplug/acconfig.h nagiosplug.old/acconfig.h | ||
3 | 5d4 | ||
4 | < #undef HAVE_C99_SNPRINTF | ||
5 | diff nagiosplug/configure.in nagiosplug.old/configure.in | ||
6 | 346,347c346 | ||
7 | < dnl Checks for library functions (deplace). | ||
8 | < AC_CHECK_FUNCS(memmove select socket strdup strstr strtod strtol strtoul gettimeofday snprintf) | ||
9 | --- | ||
10 | > AC_CHECK_FUNCS(getopt_long_only,,LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a") | ||
11 | 349,352c348 | ||
12 | < AC_CHECK_FUNC(getopt_long_only,[ nagiosplug_cv_bool_getoptlib="yes" ] ,[ nagiosplug_cv_bool_getoptlib="no" ]) | ||
13 | < | ||
14 | < AC_CHECK_FUNC(asprintf,[ nagiosplug_cv_bool_asprintf="yes" ] ,[ nagiosplug_cv_bool_asprintf="no" ]) | ||
15 | < AC_CHECK_FUNC(snprintf,[ nagiosplug_cv_bool_snprintf="yes" ] ,[ nagiosplug_cv_bool_snprintf="no" ]) | ||
16 | --- | ||
17 | > AC_CHECK_FUNC(asprintf,,LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a") | ||
18 | 353a350,351 | ||
19 | > dnl Checks for library functions. | ||
20 | > AC_CHECK_FUNCS(memmove select socket strdup strstr strtod strtol strtoul gettimeofday) | ||
21 | 819a818 | ||
22 | > AC_DEFINE_UNQUOTED(SWAP_COMMAND,"$PATH_TO_SWAP -k",[Path to swap/swapinfo binary, with any args]) | ||
23 | 822d820 | ||
24 | < AC_DEFINE_UNQUOTED(SWAP_COMMAND,"$PATH_TO_SWAP -k",[Path to swap/swapinfo binary, with any args]) | ||
25 | 825,829d822 | ||
26 | < elif [swapinfo -d 2>/dev/null | egrep -i "^TYPE +AVAIL +USED +FREE" >/dev/null] | ||
27 | < then | ||
28 | < AC_DEFINE_UNQUOTED(SWAP_COMMAND,"/bin/sh '$PATH_TO_SWAP -d | /bin/tail -l +2'",[Path to swap/swapinfo binary, with any args]) | ||
29 | < AC_DEFINE_UNQUOTED(SWAP_FORMAT,["%*s %d %*d %d"],[Format string for parsing swap output ]) | ||
30 | < echo " NEW file format HP-UX !!" | ||
31 | 864,877d856 | ||
32 | < | ||
33 | < if test "$nagiosplug_cv_bool_getoptlib" = "no"; then | ||
34 | < LIBS="$LIBS -lgetopt" DEPLIBS="$DEPLIBS libgetopt.a" | ||
35 | < fi | ||
36 | < | ||
37 | < if test "$nagiosplug_cv_bool_asprintf" = "no"; then | ||
38 | < LIBS="$LIBS -lsnprintf" DEPLIBS="$DEPLIBS libsnprintf.a" | ||
39 | < fi | ||
40 | < | ||
41 | < if test "$nagiosplug_cv_bool_snprintf" = "yes"; then | ||
42 | < if test `uname -s` = 'HP-UX' ; then | ||
43 | < AC_DEFINE(HAVE_C99_SNPRINTF) | ||
44 | < fi | ||
45 | < fi | ||
46 | Common subdirectories: nagiosplug/contrib and nagiosplug.old/contrib | ||
47 | Common subdirectories: nagiosplug/doc and nagiosplug.old/doc | ||
48 | Common subdirectories: nagiosplug/plugins and nagiosplug.old/plugins | ||
49 | Common subdirectories: nagiosplug/plugins-scripts and nagiosplug.old/plugins-scripts | ||
50 | Common subdirectories: nagiosplug/tools and nagiosplug.old/tools | ||