File tree Expand file tree Collapse file tree 7 files changed +35
-12
lines changed Expand file tree Collapse file tree 7 files changed +35
-12
lines changed Original file line number Diff line number Diff line change @@ -15832,15 +15832,34 @@ $as_echo "none" >&6; }
15832
15832
fi
15833
15833
;;
15834
15834
15835
- darwin8*|darwin9*|darwin1[0-4] *)
15835
+ darwin *)
15836
15836
# Flat Namespace linking (Mac OS/X)
15837
15837
#
15838
15838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether darwin ld might need -flat_namespace" >&5
15839
15839
$as_echo_n "checking whether darwin ld might need -flat_namespace... " >&6; }
15840
15840
if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
15841
- LDFLAGS="-flat_namespace -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
15842
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15841
+ saved_LDFLAGS="$LDFLAGS"
15842
+ LDFLAGS="-flat_namespace -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
15843
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844
+ /* end confdefs.h. */
15845
+
15846
+ int
15847
+ main ()
15848
+ {
15849
+
15850
+ ;
15851
+ return 0;
15852
+ }
15853
+ _ACEOF
15854
+ if ac_fn_c_try_link "$LINENO"; then :
15855
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15843
15856
$as_echo "yes" >&6; }
15857
+ else
15858
+ LDFLAGS="$saved_LDFLAGS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15859
+ $as_echo "no" >&6; }
15860
+ fi
15861
+ rm -f core conftest.err conftest.$ac_objext \
15862
+ conftest$ac_exeext conftest.$ac_ext
15844
15863
else
15845
15864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15846
15865
$as_echo "no" >&6; }
Original file line number Diff line number Diff line change @@ -414,13 +414,16 @@ case $target_os in
414
414
fi
415
415
;;
416
416
417
- darwin8*|darwin9*|darwin1 [ [ 0-4 ] ] *)
417
+ darwin *)
418
418
# Flat Namespace linking (Mac OS/X)
419
419
#
420
420
AC_MSG_CHECKING ( [ whether darwin ld might need -flat_namespace] )
421
421
if test -z "$MACOSX_DEPLOYMENT_TARGET"; then
422
- LDFLAGS="-flat_namespace -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
423
- AC_MSG_RESULT ( [ yes] )
422
+ saved_LDFLAGS="$LDFLAGS"
423
+ LDFLAGS="-flat_namespace -framework CoreFoundation -framework CoreServices -framework DiskArbitration -framework IOKit $LDFLAGS"
424
+ AC_LINK_IFELSE ( [ AC_LANG_PROGRAM ( [ ] , [ ] ) ] ,
425
+ [ AC_MSG_RESULT ( [ yes] ) ] ,
426
+ [ LDFLAGS="$saved_LDFLAGS"; AC_MSG_RESULT ( [ no] ) ] )
424
427
else
425
428
AC_MSG_RESULT ( [ no] )
426
429
fi
Original file line number Diff line number Diff line change 185
185
echo $result
186
186
;;
187
187
--build-command)
188
- echo " @CC@ @CFLAGS@ @DEVFLAGS@"
188
+ echo " @CC@ @CFLAGS@ @DEVFLAGS@ @CPPFLAGS@ "
189
189
;;
190
190
# ################################################### client lib
191
191
--libs)
Original file line number Diff line number Diff line change 17
17
if intree :
18
18
netsnmp_libs = os .popen (basedir + '/net-snmp-config --libs' ).read ()
19
19
libdir = os .popen (basedir + '/net-snmp-config --build-lib-dirs ' + basedir ).read ()
20
- incdir = os .popen (basedir + '/net-snmp-config --build-includes ' + basedir ).read ()
20
+ incdir = os .popen (basedir + '/net-snmp-config --build-includes ' + basedir ).read () + " " + os . popen ( basedir + '/net-snmp-config --base-cflags ' + basedir ). read ()
21
21
libs = re .findall (r"-l(\S+)" , netsnmp_libs )
22
22
libdirs = re .findall (r"-L(\S+)" , libdir )
23
23
incdirs = re .findall (r"-I(\S+)" , incdir )
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ HEADER SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0
6
6
7
7
SKIPIFNOT NETSNMP_CAN_DO_CRYPTO
8
8
SKIPIFNOT NETSNMP_ENABLE_SCAPI_AUTHPRIV
9
+ SKIPIFNOT HAVE_OPENSSL_AES_H
9
10
SKIPIFNOT HAVE_AES_CFB128_ENCRYPT
10
11
SKIPIF NETSNMP_DISABLE_MD5
11
12
Original file line number Diff line number Diff line change 4
4
5
5
HEADER TLS-TCP Transport
6
6
7
- SKIPIFNOT NETSNMP_TRANSPORT_DTLSUDP_DOMAIN
7
+ SKIPIFNOT NETSNMP_TRANSPORT_TLSTCP_DOMAIN
8
8
9
9
#
10
10
# Begin test
Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ GetOptions ('config=s' => \$config,
33
33
' with-winextdll' => \$b_winextdll ,
34
34
' help' => \$help );
35
35
36
- if ($help == 1)
37
- {
36
+ if ($help == 1 || ! defined ( $config ) || ! defined ( $linktype ) ||
37
+ ! defined ( $b_ipv6 ) || ! defined ( $b_winextdll )) {
38
38
my $USAGE = qq/
39
39
Usage:
40
40
perl Configure [<options>]
@@ -70,7 +70,7 @@ if (($linktype ne "static") && ($linktype ne "dynamic")) {
70
70
$linktype = " static" ;
71
71
}
72
72
73
- if ($prefix eq " " ) {
73
+ if (! $prefix ) {
74
74
$prefix = " c:/usr" ;
75
75
}
76
76
You can’t perform that action at this time.
0 commit comments