~ft/aacdec

9a10dd1e1f74eb132e597f89cfca33d5660babab — menno 18 years ago f6620a7
*nux fixes
3 files changed, 10 insertions(+), 65 deletions(-)

D common/mp4v2/acconfig.h
D common/mp4v2/configure.in
M plugins/Makefile.am
D common/mp4v2/acconfig.h => common/mp4v2/acconfig.h +0 -12
@@ 1,12 0,0 @@
@BOTTOM@
#undef HAVE_IN_PORT_T

#undef HAVE_SOCKLEN_T

#undef HAVE_FPOS_T_POS

#undef ARCH_X86

#undef HAVE_IPv6

#undef HAVE_ST_ADDRINFO

D common/mp4v2/configure.in => common/mp4v2/configure.in +0 -43
@@ 1,43 0,0 @@
AC_INIT()
AM_INIT_AUTOMAKE(mpeg4ip,0.9.2.8,dummy)

AC_PROG_CC
AC_PROG_CXX
AC_PROG_INSTALL

AM_PROG_LIBTOOL

AM_CONFIG_HEADER(config.h)

AC_CHECK_HEADERS(stdint.h)
AC_CHECK_HEADERS(inttypes.h)
AC_CHECK_HEADERS(sys/time.h)
AC_HEADER_TIME

AC_CHECK_FUNCS(strsep)
AC_DEFUN(MY_CHECK_TYPEDEF_FROM_INCLUDE,
[
   AC_MSG_CHECKING([for $1])
   AC_TRY_COMPILE([$2],
                  [$1;],
                  mpeg4ip_ok=yes, mpeg4ip_ok=no)
   if test $mpeg4ip_ok = yes; then
      AC_DEFINE($3)
      AC_MSG_RESULT([yes])
   else
      AC_MSG_RESULT([no])
   fi
])

MY_CHECK_TYPEDEF_FROM_INCLUDE([in_port_t temp], 
        [#include <sys/types.h>
         #include <netinet/in.h>], [HAVE_IN_PORT_T])
MY_CHECK_TYPEDEF_FROM_INCLUDE([socklen_t temp], 
        [#include <sys/types.h>
         #include <sys/socket.h>], HAVE_SOCKLEN_T)
MY_CHECK_TYPEDEF_FROM_INCLUDE([fpos_t foo; foo.__pos = 0;],
        [#include <stdio.h>],
        [HAVE_FPOS_T_POS])
    

AC_OUTPUT(Makefile)

M plugins/Makefile.am => plugins/Makefile.am +10 -10
@@ 1,13 1,13 @@
if HAVE_MPEG4IP
  if HAVE_XMMS
    SUBDIRS = mpeg4ip xmms
  else
    SUBDIRS = mpeg4ip
  endif
if HAVE_XMMS
SUBDIRS = mpeg4ip xmms
else
  if HAVE_XMMS
    SUBDIRS = xmms
  else
    SUBDIRS =
  endif
SUBDIRS = mpeg4ip
endif
else
if HAVE_XMMS
SUBDIRS = xmms
else
SUBDIRS = 
endif
endif