Configure fix for bb #2030.

0.96
Török Edvin 15 years ago
parent 78f2c1d94f
commit cbe330e083
  1. 14
      libclamav/c++/configure
  2. 8
      libclamav/c++/configure.ac

@ -14958,9 +14958,17 @@ if test "$enable_alltargets" = "yes"; then
build_arm=yes
fi
if test "$ac_cv_c_bigendian" = "universal"; then
build_x86 = yes
build_ppc = yes
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Universal build detected" >&5
$as_echo "$as_me: Universal build detected" >&6;}
build_x86=yes
build_ppc=yes
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building X86 backend: $build_x86" >&5
$as_echo "$as_me: Building X86 backend: $build_x86" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building PPC backend: $build_ppc" >&5
$as_echo "$as_me: Building PPC backend: $build_ppc" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Building ARM backend: $build_arm" >&5
$as_echo "$as_me: Building ARM backend: $build_arm" >&6;}
if test "$build_x86" = "yes"; then
BUILD_X86_TRUE=
BUILD_X86_FALSE='#'

@ -212,9 +212,13 @@ if test "$enable_alltargets" = "yes"; then
build_arm=yes
fi
if test "$ac_cv_c_bigendian" = "universal"; then
build_x86 = yes
build_ppc = yes
AC_MSG_NOTICE([Universal build detected])
build_x86=yes
build_ppc=yes
fi
AC_MSG_NOTICE([Building X86 backend: $build_x86])
AC_MSG_NOTICE([Building PPC backend: $build_ppc])
AC_MSG_NOTICE([Building ARM backend: $build_arm])
AM_CONDITIONAL(BUILD_X86, [test "$build_x86" = "yes"])
AM_CONDITIONAL(BUILD_PPC, [test "$build_ppc" = "yes"])
AM_CONDITIONAL(BUILD_ARM, [test "$build_arm" = "yes"])

Loading…
Cancel
Save