~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-backports

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/configure

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-10-02 15:36:00 UTC
  • mfrom: (10.1.6 sid)
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: james.westby@ubuntu.com-20101002153600-2tx3vki1u55cdrjy
Tags: 0.96.3+dfsg-2ubuntu0.10.04.1
Microversion update to 0.96.3 for Lucid (LP: #653738)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2115
2115
  as_fn_set_status $ac_retval
2116
2116
 
2117
2117
} # ac_fn_cxx_try_run
 
2118
 
 
2119
# ac_fn_cxx_try_link LINENO
 
2120
# -------------------------
 
2121
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
2122
ac_fn_cxx_try_link ()
 
2123
{
 
2124
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2125
  rm -f conftest.$ac_objext conftest$ac_exeext
 
2126
  if { { ac_try="$ac_link"
 
2127
case "(($ac_try" in
 
2128
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
2129
  *) ac_try_echo=$ac_try;;
 
2130
esac
 
2131
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
2132
$as_echo "$ac_try_echo"; } >&5
 
2133
  (eval "$ac_link") 2>conftest.err
 
2134
  ac_status=$?
 
2135
  if test -s conftest.err; then
 
2136
    grep -v '^ *+' conftest.err >conftest.er1
 
2137
    cat conftest.er1 >&5
 
2138
    mv -f conftest.er1 conftest.err
 
2139
  fi
 
2140
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
2141
  test $ac_status = 0; } && {
 
2142
         test -z "$ac_cxx_werror_flag" ||
 
2143
         test ! -s conftest.err
 
2144
       } && test -s conftest$ac_exeext && {
 
2145
         test "$cross_compiling" = yes ||
 
2146
         $as_test_x conftest$ac_exeext
 
2147
       }; then :
 
2148
  ac_retval=0
 
2149
else
 
2150
  $as_echo "$as_me: failed program was:" >&5
 
2151
sed 's/^/| /' conftest.$ac_ext >&5
 
2152
 
 
2153
        ac_retval=1
 
2154
fi
 
2155
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
2156
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
2157
  # interfere with the next link command; also delete a directory that is
 
2158
  # left behind by Apple's compiler.  We do this before executing the actions.
 
2159
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
2160
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2161
  as_fn_set_status $ac_retval
 
2162
 
 
2163
} # ac_fn_cxx_try_link
2118
2164
cat >config.log <<_ACEOF
2119
2165
This file contains any messages produced by compilers while
2120
2166
running configure, to aid debugging if configure makes a mistake.
9544
9590
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9545
9591
  lt_status=$lt_dlunknown
9546
9592
  cat > conftest.$ac_ext <<EOF
9547
 
#line 9547 "configure"
 
9593
#line 9593 "configure"
9548
9594
#include "confdefs.h"
9549
9595
 
9550
9596
#if HAVE_DLFCN_H
12407
12453
      }
12408
12454
 
12409
12455
_ACEOF
12410
 
if ac_fn_c_try_link "$LINENO"; then :
12411
 
  ac_ext=c
12412
 
ac_cpp='$CPP $CPPFLAGS'
12413
 
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12414
 
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12415
 
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12416
 
 
 
12456
if ac_fn_cxx_try_link "$LINENO"; then :
12417
12457
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12418
12458
$as_echo "yes" >&6; }
12419
12459
 
12430
12470
fi
12431
12471
rm -f core conftest.err conftest.$ac_objext \
12432
12472
    conftest$ac_exeext conftest.$ac_ext
 
12473
ac_ext=c
 
12474
ac_cpp='$CPP $CPPFLAGS'
 
12475
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
12476
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
12477
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
12478
 
12433
12479
 
12434
12480
 
12435
12481