View | Details | Raw Unified | Return to bug 164029 | Differences between
and this patch

Collapse All | Expand All

(-)files/patch-configure (+101 lines)
Added Link Here
1
--- ./configure.orig	2011-11-02 10:37:26.000000000 -0700
2
+++ ./configure	2012-01-13 18:35:08.000000000 -0800
3
@@ -4234,19 +4234,6 @@
4
 
5
 
6
 GDBMLIB=""
7
-ac_fn_c_check_header_mongrel "$LINENO" "gdbm.h" "ac_cv_header_gdbm_h" "$ac_includes_default"
8
-if test "x$ac_cv_header_gdbm_h" = x""yes; then :
9
-  $as_echo "#define HAVE_GDBM_H 1" >>confdefs.h
10
-
11
-else
12
-  ac_fn_c_check_header_mongrel "$LINENO" "ndbm.h" "ac_cv_header_ndbm_h" "$ac_includes_default"
13
-if test "x$ac_cv_header_ndbm_h" = x""yes; then :
14
-  ANYDB='ndbm';$as_echo "#define HAVE_NDBM_H 1" >>confdefs.h
15
-
16
-fi
17
-
18
-
19
-fi
20
 
21
 
22
 
23
@@ -6710,74 +6697,16 @@
24
 NETSNMP_LIBS=""
25
 FSNMP=""
26
 SNMPYALC=""
27
-NETSNMP_CFLAGS=`net-snmp-config --cflags`
28
-NETSNMP_LIBS=`net-snmp-config --libs`
29
+NETSNMP_CFLAGS=""
30
+NETSNMP_LIBS=""
31
 UNAME=''
32
 UNAME=`uname -s`
33
-if test "X$UNAME" = "XSunOS"
34
-then
35
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking SunOS Net-SNMP flags" >&5
36
-$as_echo_n "checking SunOS Net-SNMP flags... " >&6; }
37
-  NETSNMP_LIBS=`echo $NETSNMP_LIBS | sed -f modsnmp.sed`
38
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
39
-$as_echo "yes" >&6; }
40
-fi
41
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42
-/* end confdefs.h.  */
43
-
44
-#include <net-snmp/net-snmp-config.h>
45
-#include <net-snmp/net-snmp-includes.h>
46
-#include <net-snmp/utilities.h>
47
-
48
-int
49
-main ()
50
-{
51
 
52
-netsnmp_session session, *ss;
53
 
54
-  ;
55
-  return 0;
56
-}
57
-_ACEOF
58
-if ac_fn_c_try_compile "$LINENO"; then :
59
-  FSNMP='fsnmp';SNMPYALC='snmpyalc klpinfo';$as_echo "#define HAVE_LIBNETSNMP 1" >>confdefs.h
60
-
61
-fi
62
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for netsnmp_enable_filelog in -lnetsnmp" >&5
64
-$as_echo_n "checking for netsnmp_enable_filelog in -lnetsnmp... " >&6; }
65
-if test "${ac_cv_lib_netsnmp_netsnmp_enable_filelog+set}" = set; then :
66
-  $as_echo_n "(cached) " >&6
67
-else
68
-  ac_check_lib_save_LIBS=$LIBS
69
-LIBS="-lnetsnmp  $LIBS"
70
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71
-/* end confdefs.h.  */
72
+ac_cv_lib_netsnmp_netsnmp_enable_filelog=no
73
 
74
-/* Override any GCC internal prototype to avoid an error.
75
-   Use char because int might match the return type of a GCC
76
-   builtin and then its argument prototype would still apply.  */
77
-#ifdef __cplusplus
78
-extern "C"
79
-#endif
80
-char netsnmp_enable_filelog ();
81
-int
82
-main ()
83
-{
84
-return netsnmp_enable_filelog ();
85
-  ;
86
-  return 0;
87
-}
88
-_ACEOF
89
-if ac_fn_c_try_link "$LINENO"; then :
90
-  ac_cv_lib_netsnmp_netsnmp_enable_filelog=yes
91
-else
92
-  ac_cv_lib_netsnmp_netsnmp_enable_filelog=no
93
-fi
94
-rm -f core conftest.err conftest.$ac_objext \
95
-    conftest$ac_exeext conftest.$ac_ext
96
 LIBS=$ac_check_lib_save_LIBS
97
-fi
98
+
99
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_netsnmp_enable_filelog" >&5
100
 $as_echo "$ac_cv_lib_netsnmp_netsnmp_enable_filelog" >&6; }
101
 if test "x$ac_cv_lib_netsnmp_netsnmp_enable_filelog" = x""yes; then :

Return to bug 164029