shithub: aacdec

Download patch

ref: 9a10dd1e1f74eb132e597f89cfca33d5660babab
parent: f6620a7381f17eb64e41c2da6665f0ca3dd87d78
author: menno <menno>
date: Mon Sep 22 08:52:15 EDT 2003

*nux fixes

--- a/common/mp4v2/acconfig.h
+++ /dev/null
@@ -1,12 +1,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
--- a/common/mp4v2/configure.in
+++ /dev/null
@@ -1,43 +1,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)
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -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