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