update (autoreconf)

git-svn: trunk@1765
remotes/push_mirror/metadata
Tomasz Kojm 20 years ago
parent 432f9bc950
commit 46c07372c5
  1. 4
      clamav-devel/ChangeLog
  2. 5
      clamav-devel/clamav-config.h.in
  3. 65
      clamav-devel/configure
  4. 17
      clamav-devel/configure.in
  5. 3
      clamav-devel/libclamav/Makefile.in

@ -1,3 +1,7 @@
Mon Nov 21 21:57:29 CET 2005 (tk)
---------------------------------
* configure.in: check for __attribute__((aligned))
Mon Nov 21 19:29:24 CET 2005 (tk)
---------------------------------
* clamd/others.h: fix compilation error on systems with INCOMPLETE_CMSG

@ -84,7 +84,10 @@
/* access rights in msghdr */
#undef HAVE_ACCRIGHTS_IN_MSGHDR
/* "attrib packed" */
/* attrib aligned */
#undef HAVE_ATTRIB_ALIGNED
/* attrib packed */
#undef HAVE_ATTRIB_PACKED
/* have bzip2 */

@ -14177,11 +14177,68 @@ _ACEOF
fi
echo "$as_me:$LINENO: checking for type aligning via __attribute__((aligned))" >&5
echo $ECHO_N "checking for type aligning via __attribute__((aligned))... $ECHO_C" >&6
if test "${have_attrib_aligned+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
int
main ()
{
typedef int cl_aligned_int __attribute__((aligned));
;
return 0;
}
_ACEOF
rm -f conftest.$ac_objext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>conftest.er1
ac_status=$?
grep -v '^ *+' conftest.er1 >conftest.err
rm -f conftest.er1
cat conftest.err >&5
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); } &&
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; } &&
{ ac_try='test -s conftest.$ac_objext'
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
(eval $ac_try) 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
have_attrib_aligned=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
have_attrib_aligned=no
fi
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
fi
echo "$as_me:$LINENO: result: $have_attrib_aligned" >&5
echo "${ECHO_T}$have_attrib_aligned" >&6
if test "$have_attrib_packed" = no -a "$have_pragma_pack" = no ; then
{ { echo "$as_me:$LINENO: error: Need to know how to pack structures with this compiler" >&5
echo "$as_me: error: Need to know how to pack structures with this compiler" >&2;}
{ (exit 1); exit 1; }; }
fi
if test "$have_attrib_packed" = yes; then
cat >>confdefs.h <<\_ACEOF
@ -14190,6 +14247,14 @@ _ACEOF
fi
if test "$have_attrib_aligned" = yes; then
cat >>confdefs.h <<\_ACEOF
#define HAVE_ATTRIB_ALIGNED 1
_ACEOF
fi
echo "$as_me:$LINENO: checking for fd_set" >&5
echo $ECHO_N "checking for fd_set... $ECHO_C" >&6
cat >conftest.$ac_ext <<_ACEOF

@ -922,11 +922,26 @@ if test "$have_attrib_packed" = no; then
AC_DEFINE(HAVE_PRAGMA_PACK, 1, "pragma pack")
fi
dnl check for __attribute__((aligned))
AC_MSG_CHECKING([for type aligning via __attribute__((aligned))])
AC_CACHE_VAL(have_attrib_aligned,[
AC_TRY_COMPILE(,
[typedef int cl_aligned_int __attribute__((aligned));],
[have_attrib_aligned=yes],
[have_attrib_aligned=no])
])
AC_MSG_RESULT($have_attrib_aligned)
if test "$have_attrib_packed" = no -a "$have_pragma_pack" = no ; then
AC_MSG_ERROR(Need to know how to pack structures with this compiler)
fi
if test "$have_attrib_packed" = yes; then
AC_DEFINE(HAVE_ATTRIB_PACKED, 1, "attrib packed")
AC_DEFINE(HAVE_ATTRIB_PACKED, 1, [attrib packed])
fi
if test "$have_attrib_aligned" = yes; then
AC_DEFINE(HAVE_ATTRIB_ALIGNED, 1, [attrib aligned])
fi
dnl Check if <sys/select.h> needs to be included for fd_set

@ -336,7 +336,8 @@ libclamav_la_SOURCES = \
spin.c \
spin.h \
elf.c \
elf.h
elf.h \
execs.h
lib_LTLIBRARIES = libclamav.la
all: all-am

Loading…
Cancel
Save