archrelease: copy trunk to community-any
[ArchLinux/community.git] / sysstat / repos / community-x86_64 / lib64-fix.patch
blobf4f22b19a9dbf3b88382b42e8fcefe9cdaeb1584
1 diff --git a/configure.ac b/configure.ac
2 index 59d1838..35c0ba8 100644
3 --- a/configure.ac
4 +++ b/configure.ac
5 @@ -341,21 +341,6 @@ else
6 fi
8 SADC_DIR=$AuxPrefix/lib
9 -if test -d $AuxPrefix/lib64; then
10 - # Verify that this OS is really 64 bit
11 - BITS=$(getconf LONG_BIT 2>/dev/null)
12 - if test $? = 0; then
13 - if test $BITS = 64; then
14 - SADC_DIR=$AuxPrefix/lib64
15 - fi
16 - else
17 - # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
18 - grep " lm " /proc/cpuinfo >/dev/null 2>&1
19 - if test $? = 0; then
20 - SADC_DIR=$AuxPrefix/lib64
21 - fi
22 - fi
23 -fi
25 AC_MSG_CHECKING(sadc directory)
26 AC_ARG_VAR([sa_lib_dir],[sadc directory])