Patrick Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 1 | Fix build on aarch64 |
| 2 | |
| 3 | Upstream-Status: Pending |
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 5 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 6 | Index: cdparanoia-III-10.2/configure.in |
| 7 | =================================================================== |
| 8 | --- cdparanoia-III-10.2.orig/configure.in |
| 9 | +++ cdparanoia-III-10.2/configure.in |
| 10 | @@ -1,13 +1,8 @@ |
| 11 | AC_INIT(interface/interface.c) |
| 12 | |
| 13 | -cp $srcdir/configure.guess $srcdir/config.guess |
| 14 | -cp $srcdir/configure.sub $srcdir/config.sub |
| 15 | - |
| 16 | AC_CANONICAL_HOST |
| 17 | |
| 18 | -if test -z "$CC"; then |
| 19 | - AC_PROG_CC |
| 20 | -fi |
| 21 | +AC_PROG_CC |
| 22 | AC_PROG_RANLIB |
| 23 | AC_CHECK_PROG(AR,ar,ar) |
| 24 | AC_CHECK_PROG(INSTALL,install,install) |
| 25 | @@ -44,8 +39,8 @@ case 4 in |
| 26 | $ac_cv_sizeof_long) SIZE32="long";; |
| 27 | esac |
| 28 | |
| 29 | -AC_CHECK_TYPE(int16_t,SIZE16="int16_t",,) |
| 30 | -AC_CHECK_TYPE(int32_t,SIZE32="size32_t",,) |
| 31 | +AC_CHECK_TYPES([int16_t], [SIZE16="int16_t"], [], [[#include <stdint.h>]]) |
| 32 | +AC_CHECK_TYPES([int32_t], [SIZE32="int32_t"], [], [[#include <stdint.h>]]) |
| 33 | |
| 34 | if test -z "$SIZE16"; then |
| 35 | AC_MSG_ERROR(No 16 bit type found on this platform!) |