~ubuntu-branches/ubuntu/hardy/openldap2.3/hardy-updates

« back to all changes in this revision

Viewing changes to contrib/ldapc++/configure

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2008-07-31 16:06:53 UTC
  • mfrom: (16.1.3 hardy-proposed)
  • Revision ID: james.westby@ubuntu.com-20080731160653-np1dr19qfutmqb0v
Tags: 2.4.9-0ubuntu0.8.04.1
* SECURITY UPDATE: denial of service via broken BER decoding.
* Added debian/patches/security-ber-decoding.patch: upstream fixes.
* References
  CVE-2008-2952

Show diffs side-by-side

added added

removed removed

Lines of Context:
19719
19719
 
19720
19720
fi
19721
19721
 
19722
 
if test "${ac_cv_header_ldap_h+set}" = set; then
19723
 
  { echo "$as_me:$LINENO: checking for ldap.h" >&5
19724
 
echo $ECHO_N "checking for ldap.h... $ECHO_C" >&6; }
19725
 
if test "${ac_cv_header_ldap_h+set}" = set; then
 
19722
 
 
19723
 
 
19724
for ac_header in termios.h ldap.h
 
19725
do
 
19726
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
19727
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
19728
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19729
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
19730
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19726
19731
  echo $ECHO_N "(cached) $ECHO_C" >&6
19727
19732
fi
19728
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ldap_h" >&5
19729
 
echo "${ECHO_T}$ac_cv_header_ldap_h" >&6; }
 
19733
ac_res=`eval echo '${'$as_ac_Header'}'`
 
19734
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19735
echo "${ECHO_T}$ac_res" >&6; }
19730
19736
else
19731
19737
  # Is the header compilable?
19732
 
{ echo "$as_me:$LINENO: checking ldap.h usability" >&5
19733
 
echo $ECHO_N "checking ldap.h usability... $ECHO_C" >&6; }
 
19738
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
19739
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
19734
19740
cat >conftest.$ac_ext <<_ACEOF
19735
19741
/* confdefs.h.  */
19736
19742
_ACEOF
19738
19744
cat >>conftest.$ac_ext <<_ACEOF
19739
19745
/* end confdefs.h.  */
19740
19746
$ac_includes_default
19741
 
#include <ldap.h>
 
19747
#include <$ac_header>
19742
19748
_ACEOF
19743
19749
rm -f conftest.$ac_objext
19744
19750
if { (ac_try="$ac_compile"
19770
19776
echo "${ECHO_T}$ac_header_compiler" >&6; }
19771
19777
 
19772
19778
# Is the header present?
19773
 
{ echo "$as_me:$LINENO: checking ldap.h presence" >&5
19774
 
echo $ECHO_N "checking ldap.h presence... $ECHO_C" >&6; }
 
19779
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
19780
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
19775
19781
cat >conftest.$ac_ext <<_ACEOF
19776
19782
/* confdefs.h.  */
19777
19783
_ACEOF
19778
19784
cat confdefs.h >>conftest.$ac_ext
19779
19785
cat >>conftest.$ac_ext <<_ACEOF
19780
19786
/* end confdefs.h.  */
19781
 
#include <ldap.h>
 
19787
#include <$ac_header>
19782
19788
_ACEOF
19783
19789
if { (ac_try="$ac_cpp conftest.$ac_ext"
19784
19790
case "(($ac_try" in
19811
19817
# So?  What about this header?
19812
19818
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19813
19819
  yes:no: )
19814
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: accepted by the compiler, rejected by the preprocessor!" >&5
19815
 
echo "$as_me: WARNING: ldap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
19816
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: proceeding with the compiler's result" >&5
19817
 
echo "$as_me: WARNING: ldap.h: proceeding with the compiler's result" >&2;}
 
19820
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
19821
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
19822
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
19823
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19818
19824
    ac_header_preproc=yes
19819
19825
    ;;
19820
19826
  no:yes:* )
19821
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: present but cannot be compiled" >&5
19822
 
echo "$as_me: WARNING: ldap.h: present but cannot be compiled" >&2;}
19823
 
    { echo "$as_me:$LINENO: WARNING: ldap.h:     check for missing prerequisite headers?" >&5
19824
 
echo "$as_me: WARNING: ldap.h:     check for missing prerequisite headers?" >&2;}
19825
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: see the Autoconf documentation" >&5
19826
 
echo "$as_me: WARNING: ldap.h: see the Autoconf documentation" >&2;}
19827
 
    { echo "$as_me:$LINENO: WARNING: ldap.h:     section \"Present But Cannot Be Compiled\"" >&5
19828
 
echo "$as_me: WARNING: ldap.h:     section \"Present But Cannot Be Compiled\"" >&2;}
19829
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: proceeding with the preprocessor's result" >&5
19830
 
echo "$as_me: WARNING: ldap.h: proceeding with the preprocessor's result" >&2;}
19831
 
    { echo "$as_me:$LINENO: WARNING: ldap.h: in the future, the compiler will take precedence" >&5
19832
 
echo "$as_me: WARNING: ldap.h: in the future, the compiler will take precedence" >&2;}
 
19827
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
19828
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
19829
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
19830
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
19831
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
19832
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
19833
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
19834
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
19835
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
19836
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
19837
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
19838
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19833
19839
 
19834
19840
    ;;
19835
19841
esac
19836
 
{ echo "$as_me:$LINENO: checking for ldap.h" >&5
19837
 
echo $ECHO_N "checking for ldap.h... $ECHO_C" >&6; }
19838
 
if test "${ac_cv_header_ldap_h+set}" = set; then
 
19842
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
19843
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
19844
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19839
19845
  echo $ECHO_N "(cached) $ECHO_C" >&6
19840
19846
else
19841
 
  ac_cv_header_ldap_h=$ac_header_preproc
19842
 
fi
19843
 
{ echo "$as_me:$LINENO: result: $ac_cv_header_ldap_h" >&5
19844
 
echo "${ECHO_T}$ac_cv_header_ldap_h" >&6; }
19845
 
 
19846
 
fi
19847
 
 
 
19847
  eval "$as_ac_Header=\$ac_header_preproc"
 
19848
fi
 
19849
ac_res=`eval echo '${'$as_ac_Header'}'`
 
19850
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
19851
echo "${ECHO_T}$ac_res" >&6; }
 
19852
 
 
19853
fi
 
19854
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
19855
  cat >>confdefs.h <<_ACEOF
 
19856
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
19857
_ACEOF
 
19858
 
 
19859
fi
 
19860
 
 
19861
done
19848
19862
 
19849
19863
cat >conftest.$ac_ext <<_ACEOF
19850
19864
/* confdefs.h.  */