AC_CONFIG_LIBOBJ_DIR(compat)
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
+AC_PRESERVE_HELP_ORDER
AM_INIT_AUTOMAKE(tar-ustar)
AM_CONFIG_HEADER(config.h)
AC_C_INLINE
AC_C_RESTRICT
+dnl Extend the --help string at the current spot.
+AC_DEFUN([EXTEND_HELP_STRING], [m4_divert_once([HELP_ENABLE], [$1])])
+
dnl Allow binary package maintainer to pass a custom string to avoid
dnl cache problem
AC_ARG_WITH(binary-version,
dnl
dnl Accelerated modules
dnl
-AC_ARG_WITH(,[])
-AC_ARG_WITH(,[Optimization options:])
+EXTEND_HELP_STRING([Optimization options:])
dnl Check for fully working MMX intrinsics
dnl We need support for -mmmx, we need <mmintrin.h>, and we also need a
dnl Input plugins
dnl
-AC_ARG_WITH(,[Input plugins:])
+EXTEND_HELP_STRING([Input plugins:])
dnl live555 input
dnl
dnl Codec plugins
dnl
-AC_ARG_WITH(,[Codec plugins:])
+EXTEND_HELP_STRING([Codec plugins:])
dnl
dnl wmafixed plugin
dnl Video plugins
dnl
-AC_ARG_WITH(,[Video plugins:])
+EXTEND_HELP_STRING([Video plugins:])
dnl
dnl Xlib
dnl Audio plugins
dnl
-AC_ARG_WITH(,[Audio plugins:])
+EXTEND_HELP_STRING([Audio plugins:])
dnl
dnl OSS /dev/dsp module (enabled by default except on win32)
dnl Interface plugins
dnl
-AC_ARG_WITH(,[Interface plugins:])
+EXTEND_HELP_STRING([Interface plugins:])
dnl
dnl Skins2 module
fi
fi
-
-AC_ARG_WITH(,[Misc options:])
+EXTEND_HELP_STRING([Misc options:])
dnl
dnl libgcrypt
VLC_ADD_LIBS([dmo quicktime], [-lpthread])
])
-AC_ARG_WITH(,[Components:])
+EXTEND_HELP_STRING([Components:])
dnl
dnl the VLC binary