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