diff --git a/smmapdfw/configure b/smmapdfw/configure index 984a658..d3be865 100755 --- a/smmapdfw/configure +++ b/smmapdfw/configure @@ -1044,6 +1044,7 @@ Optional Packages: --with-bdb-inc-dir Directory for Berkeley include files --with-djbdns-lib-dir Directory for Bernstein's djbdns library files --with-djbdns-inc-dir Directory for Bernstein's djbdns include files + --with-netsnmp With Net-SNMP --with-netsnmp-lib-dir Directory for Net-SNMP library files --with-netsnmp-inc-dir Directory for Net-SNMP include files --with-gnu-ld assume the C compiler uses GNU ld [default=no] @@ -1920,7 +1921,27 @@ if test "${with_djbdns_inc_dir+set}" = set; then fi; -WITHOUT_NETSNMP=0 + + +WITHOUT_NETSNMP=1 + +# Check whether --with-netsnmp or --without-netsnmp was given. +if test "${with_netsnmp+set}" = set; then + withval="$with_netsnmp" + case "$withval" in + no) + WITHOUT_NETSNMP=1 + ;; + yes) + ;; + *) + WITHOUT_NETSNMP=0 + ;; + esac + +fi; + + # Check whether --with-netsnmp-lib-dir or --without-netsnmp-lib-dir was given. if test "${with_netsnmp_lib_dir+set}" = set; then @@ -1932,6 +1953,7 @@ if test "${with_netsnmp_lib_dir+set}" = set; then yes) ;; *) + WITHOUT_NETSNMP=0 LDFLAGS="$LDFLAGS -L$withval -R$withval" ;; esac @@ -1949,6 +1971,7 @@ if test "${with_netsnmp_inc_dir+set}" = set; then yes) ;; *) + WITHOUT_NETSNMP=0 CPPFLAGS="$CPPFLAGS -I$withval" ;; esac @@ -3495,7 +3518,7 @@ ia64-*-hpux*) ;; *-*-irix6*) # Find out which ABI we are using. - echo '#line 3498 "configure"' > conftest.$ac_ext + echo '#line 3521 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? @@ -4950,7 +4973,7 @@ fi # Provide some information about the compiler. -echo "$as_me:4953:" \ +echo "$as_me:4976:" \ "checking for Fortran 77 compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 @@ -5982,11 +6005,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:5985: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6008: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:5989: \$? = $ac_status" >&5 + echo "$as_me:6012: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -6215,11 +6238,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6218: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6241: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:6222: \$? = $ac_status" >&5 + echo "$as_me:6245: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -6275,11 +6298,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:6278: $lt_compile\"" >&5) + (eval echo "\"\$as_me:6301: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:6282: \$? = $ac_status" >&5 + echo "$as_me:6305: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -8463,7 +8486,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:10764: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:10745: \$? = $ac_status" >&5 + echo "$as_me:10768: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -10798,11 +10821,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:10801: $lt_compile\"" >&5) + (eval echo "\"\$as_me:10824: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:10805: \$? = $ac_status" >&5 + echo "$as_me:10828: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -12167,7 +12190,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <&5) + (eval echo "\"\$as_me:13118: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:13099: \$? = $ac_status" >&5 + echo "$as_me:13122: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -13152,11 +13175,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:13155: $lt_compile\"" >&5) + (eval echo "\"\$as_me:13178: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:13159: \$? = $ac_status" >&5 + echo "$as_me:13182: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -15197,11 +15220,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15200: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15223: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15204: \$? = $ac_status" >&5 + echo "$as_me:15227: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -15430,11 +15453,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15433: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15456: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 - echo "$as_me:15437: \$? = $ac_status" >&5 + echo "$as_me:15460: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings @@ -15490,11 +15513,11 @@ else -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` - (eval echo "\"\$as_me:15493: $lt_compile\"" >&5) + (eval echo "\"\$as_me:15516: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 - echo "$as_me:15497: \$? = $ac_status" >&5 + echo "$as_me:15520: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized @@ -17678,7 +17701,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < conftest.$ac_ext <