All pastes #943499 Raw Edit

contrib make, vlc-contrib, Eric

public text v1 · immutable
·published 2008-03-15 10:20 UTC
rendered paste body
> cd mpc
> ./configure
..
..
..
checking for size_t... yes
./configure: line 19452: AC_TYPE_INT16_T: command not found
./configure: line 19453: AC_TYPE_UINT16_T: command not found
./configure: line 19454: AC_TYPE_INT32_T: command not found
./configure: line 19455: AC_TYPE_UINT32_T: command not found
./configure: line 19456: AC_TYPE_INT64_T: command not found
checking for working memcmp... yes
checking for memmove... yes
..
..


########
> pwd
/vlc-trunk/vlc/extras/contrib/src/mpcdec

> vi configure.ac
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/mpc_decoder.c)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(libmpcdec,1.2.6)
AM_CONFIG_HEADER(include/config.h)

AM_PROG_LIBTOOL

CFLAGS="$CFLAGS -O3 -fomit-frame-pointer -fPIC"

AC_C_BIGENDIAN(,CFLAGS="$CFLAGS -DMPC_LITTLE_ENDIAN",)

AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
AC_TYPE_OFF_T
AC_TYPE_SIZE_T
AC_TYPE_INT16_T
AC_TYPE_UINT16_T
AC_TYPE_INT32_T
AC_TYPE_UINT32_T
AC_TYPE_INT64_T

if test "x$ac_cv_header_inttypes_h" = "xyes" ; then
        INTTYPES_H="#include <inttypes.h>"
else
        INTTYPES_H=""
fi

if test "x$ac_cv_c_int16_t" = "xno" ; then
        AC_MSG_ERROR([No signed 16 bit type found on this platform.])
elif test "x$ac_cv_c_int16_t" = "xyes" ; then
        ac_cv_c_int16_t=int16_t
fi

if test "x$ac_cv_c_uint16_t" = "xno" ; then
        AC_MSG_ERROR([No unsigned 16 bit type found on this platform.])
elif test "x$ac_cv_c_uint16_t" = "xyes" ; then
        ac_cv_c_uint16_t=uint16_t
fi

if test "x$ac_cv_c_int32_t" = "xno" ; then
        AC_MSG_ERROR([No signed 32 bit type found on this platform.])
elif test "x$ac_cv_c_int32_t" = "xyes" ; then
        ac_cv_c_int32_t=int32_t


and configure.ac