~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
 
# From configure.in Revision: 17274 .
 
2
# From configure.in Revision: 18739 .
3
3
# Guess values for system-dependent variables and create Makefiles.
4
 
# Generated by GNU Autoconf 2.59 for Net-SNMP 5.4.2.1.
 
4
# Generated by GNU Autoconf 2.59 for Net-SNMP 5.4.3.
5
5
#
6
6
# Report bugs to <net-snmp-coders@lists.sourceforge.net>.
7
7
#
287
287
if test "X${echo_test_string+set}" != Xset; then
288
288
# find a string as large as possible, as long as the shell can cope with it
289
289
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
290
 
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
 
290
    # expected sizes: less than 2kB, 1kB, 512 bytes, 16 bytes, ...
291
291
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
292
292
       echo_test_string=`eval $cmd` &&
293
293
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
424
424
# Identity of this package.
425
425
PACKAGE_NAME='Net-SNMP'
426
426
PACKAGE_TARNAME='net-snmp'
427
 
PACKAGE_VERSION='5.4.2.1'
428
 
PACKAGE_STRING='Net-SNMP 5.4.2.1'
 
427
PACKAGE_VERSION='5.4.3'
 
428
PACKAGE_STRING='Net-SNMP 5.4.3'
429
429
PACKAGE_BUGREPORT='net-snmp-coders@lists.sourceforge.net'
430
430
 
431
431
ac_unique_file="agent/mibgroup/ucd-snmp/extensible.c"
955
955
  # Omit some internal or obsolete options to make the list less imposing.
956
956
  # This message is too long to be a string in the A/UX 3.1 sh.
957
957
  cat <<_ACEOF
958
 
\`configure' configures Net-SNMP 5.4.2.1 to adapt to many kinds of systems.
 
958
\`configure' configures Net-SNMP 5.4.3 to adapt to many kinds of systems.
959
959
 
960
960
Usage: $0 [OPTION]... [VAR=VALUE]...
961
961
 
1017
1017
 
1018
1018
if test -n "$ac_init_help"; then
1019
1019
  case $ac_init_help in
1020
 
     short | recursive ) echo "Configuration of Net-SNMP 5.4.2.1:";;
 
1020
     short | recursive ) echo "Configuration of Net-SNMP 5.4.3:";;
1021
1021
   esac
1022
1022
  cat <<\_ACEOF
1023
1023
 
1434
1434
test -n "$ac_init_help" && exit 0
1435
1435
if $ac_init_version; then
1436
1436
  cat <<\_ACEOF
1437
 
Net-SNMP configure 5.4.2.1
 
1437
Net-SNMP configure 5.4.3
1438
1438
generated by GNU Autoconf 2.59
1439
1439
 
1440
1440
Copyright (C) 2003 Free Software Foundation, Inc.
1448
1448
This file contains any messages produced by compilers while
1449
1449
running configure, to aid debugging if configure makes a mistake.
1450
1450
 
1451
 
It was created by Net-SNMP $as_me 5.4.2.1, which was
 
1451
It was created by Net-SNMP $as_me 5.4.3, which was
1452
1452
generated by GNU Autoconf 2.59.  Invocation command line was
1453
1453
 
1454
1454
  $ $0 $@
25433
25433
transport_lobj_list=`echo " $transport_src_list " | sed 's/\.c/\.lo/g'`
25434
25434
 
25435
25435
## win32 platforms require inet_ntop etc.
25436
 
if test "x$PARTIALTARGETOS" = "xmingw32" -o "x$PARTIALTARGETOS" = "xmingw32msvc" -o "x$PARTIALTARGETOS" = "xcygwin"; then
 
25436
if test "x$PARTIALTARGETOS" = "xmingw32" -o "x$PARTIALTARGETOS" = "xmingw32msvc"; then
25437
25437
  if echo "$transport_def_list" | grep "IPV6" >/dev/null; then
25438
25438
    transport_obj_list="$transport_obj_list inet_ntop.o inet_pton.o"
25439
25439
    transport_lobj_list="$transport_lobj_list inet_ntop.lo inet_pton.lo"
26054
26054
test_modules="$new_module_list"
26055
26055
new_module_list=""
26056
26056
 
26057
 
# remove modules that were explicity excluded
 
26057
# remove modules that were explicitly excluded
26058
26058
for i in $test_modules
26059
26059
 do
26060
26060
  if echo " $new_with_out_mib_modules " | grep " $i " > /dev/null; then
26283
26283
    done
26284
26284
 
26285
26285
    #---------------------
26286
 
    # make sure module wasn't explicity excluded, or already added
 
26286
    # make sure module wasn't explicitly excluded, or already added
26287
26287
    #
26288
26288
    if test "x$dblfix" != "x" ; then
26289
26289
 
26971
26971
  echo $ECHO_N "(cached) $ECHO_C" >&6
26972
26972
else
26973
26973
  ac_cv_ETC_MNTTAB="unknown"
26974
 
for i in /etc/mnttab /etc/mtab /etc/filesystems
 
26974
for i in /etc/mnttab /etc/mtab /etc/filesystems /dev/mnttab
26975
26975
  do
26976
 
  if test -f $i; then
 
26976
  if test -f $i -o -c $i; then
26977
26977
    ac_cv_ETC_MNTTAB="$i"
26978
26978
    break;
26979
26979
  fi
30202
30202
 
30203
30203
fi
30204
30204
 
 
30205
 
 
30206
  # rpm 4.6 has incompatible API, turn on the legacy one
 
30207
  echo "$as_me:$LINENO: checking whether headerGetEntry is declared" >&5
 
30208
echo $ECHO_N "checking whether headerGetEntry is declared... $ECHO_C" >&6
 
30209
if test "${ac_cv_have_decl_headerGetEntry+set}" = set; then
 
30210
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
30211
else
 
30212
  cat >conftest.$ac_ext <<_ACEOF
 
30213
/* confdefs.h.  */
 
30214
_ACEOF
 
30215
cat confdefs.h >>conftest.$ac_ext
 
30216
cat >>conftest.$ac_ext <<_ACEOF
 
30217
/* end confdefs.h.  */
 
30218
#include <rpm/rpmlib.h>
 
30219
 
 
30220
 
 
30221
int
 
30222
main ()
 
30223
{
 
30224
#ifndef headerGetEntry
 
30225
  char *p = (char *) headerGetEntry;
 
30226
#endif
 
30227
 
 
30228
  ;
 
30229
  return 0;
 
30230
}
 
30231
_ACEOF
 
30232
rm -f conftest.$ac_objext
 
30233
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
30234
  (eval $ac_compile) 2>conftest.er1
 
30235
  ac_status=$?
 
30236
  grep -v '^ *+' conftest.er1 >conftest.err
 
30237
  rm -f conftest.er1
 
30238
  cat conftest.err >&5
 
30239
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30240
  (exit $ac_status); } &&
 
30241
         { ac_try='test -z "$ac_c_werror_flag"
 
30242
                         || test ! -s conftest.err'
 
30243
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30244
  (eval $ac_try) 2>&5
 
30245
  ac_status=$?
 
30246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30247
  (exit $ac_status); }; } &&
 
30248
         { ac_try='test -s conftest.$ac_objext'
 
30249
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
 
30250
  (eval $ac_try) 2>&5
 
30251
  ac_status=$?
 
30252
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
30253
  (exit $ac_status); }; }; then
 
30254
  ac_cv_have_decl_headerGetEntry=yes
 
30255
else
 
30256
  echo "$as_me: failed program was:" >&5
 
30257
sed 's/^/| /' conftest.$ac_ext >&5
 
30258
 
 
30259
ac_cv_have_decl_headerGetEntry=no
 
30260
fi
 
30261
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
30262
fi
 
30263
echo "$as_me:$LINENO: result: $ac_cv_have_decl_headerGetEntry" >&5
 
30264
echo "${ECHO_T}$ac_cv_have_decl_headerGetEntry" >&6
 
30265
if test $ac_cv_have_decl_headerGetEntry = yes; then
 
30266
  :
 
30267
else
 
30268
 
 
30269
cat >>confdefs.h <<\_ACEOF
 
30270
#define _RPM_4_4_COMPAT
 
30271
_ACEOF
 
30272
 
 
30273
fi
 
30274
 
30205
30275
fi
30206
30276
 
30207
30277
# libkvm
38382
38452
 
38383
38453
# Checks for byte order
38384
38454
if test $cross_compiling = yes; then
38385
 
  if test $with_endianness = "big"; then
 
38455
  if test x$with_endianness = xbig; then
38386
38456
    cat >>confdefs.h <<\_ACEOF
38387
38457
#define WORDS_BIGENDIAN 1
38388
38458
_ACEOF
49110
49180
 
49111
49181
#
49112
49182
# In FreeBSD 4.x, the TCP timer constants aren't.  They are defined
49113
 
# in terms of `hz', the kernel clock tick.  In this case,
49114
 
# we need to have a local variable `hz' in scope and set to a useful
 
49183
# in terms of 'hz', the kernel clock tick.  In this case,
 
49184
# we need to have a local variable 'hz' in scope and set to a useful
49115
49185
# value whenever we use one of these constants.
49116
49186
#
49117
 
echo "$as_me:$LINENO: checking whether TCP timers depend on \`hz'" >&5
49118
 
echo $ECHO_N "checking whether TCP timers depend on \`hz'... $ECHO_C" >&6
 
49187
echo "$as_me:$LINENO: checking whether TCP timers depend on 'hz'" >&5
 
49188
echo $ECHO_N "checking whether TCP timers depend on 'hz'... $ECHO_C" >&6
49119
49189
if test "${ac_cv_TCPTV_NEEDS_HZ+set}" = set; then
49120
49190
  echo $ECHO_N "(cached) $ECHO_C" >&6
49121
49191
else
50031
50101
} >&5
50032
50102
cat >&5 <<_CSEOF
50033
50103
 
50034
 
This file was extended by Net-SNMP $as_me 5.4.2.1, which was
 
50104
This file was extended by Net-SNMP $as_me 5.4.3, which was
50035
50105
generated by GNU Autoconf 2.59.  Invocation command line was
50036
50106
 
50037
50107
  CONFIG_FILES    = $CONFIG_FILES
50094
50164
 
50095
50165
cat >>$CONFIG_STATUS <<_ACEOF
50096
50166
ac_cs_version="\\
50097
 
Net-SNMP config.status 5.4.2.1
 
50167
Net-SNMP config.status 5.4.3
50098
50168
configured by $0, generated by GNU Autoconf 2.59,
50099
50169
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50100
50170