Commit b3d1041d authored by Daniel Mierswa's avatar Daniel Mierswa Committed by Rémi Denis-Courmont

Preserve ./configure --help order.

Since we used AC_ARG_WITH(groupname) to indicate a group of options we
definitely want the configure output sorted.
Now we use EXTEND_HELP_STRING and do no longer abuse AC_ARG_WITH.
Signed-off-by: default avatarDaniel Mierswa <impulze@impulze.org>
Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 8524d44b
...@@ -21,6 +21,7 @@ AC_CONFIG_MACRO_DIR(m4) ...@@ -21,6 +21,7 @@ AC_CONFIG_MACRO_DIR(m4)
AC_CONFIG_LIBOBJ_DIR(compat) AC_CONFIG_LIBOBJ_DIR(compat)
AC_CANONICAL_BUILD AC_CANONICAL_BUILD
AC_CANONICAL_HOST AC_CANONICAL_HOST
AC_PRESERVE_HELP_ORDER
AM_INIT_AUTOMAKE(tar-ustar) AM_INIT_AUTOMAKE(tar-ustar)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
...@@ -83,6 +84,9 @@ AC_C_CONST ...@@ -83,6 +84,9 @@ AC_C_CONST
AC_C_INLINE AC_C_INLINE
AC_C_RESTRICT 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 Allow binary package maintainer to pass a custom string to avoid
dnl cache problem dnl cache problem
AC_ARG_WITH(binary-version, AC_ARG_WITH(binary-version,
...@@ -1157,8 +1161,7 @@ fi ...@@ -1157,8 +1161,7 @@ fi
dnl dnl
dnl Accelerated modules dnl Accelerated modules
dnl dnl
AC_ARG_WITH(,[]) EXTEND_HELP_STRING([Optimization options:])
AC_ARG_WITH(,[Optimization options:])
dnl Check for fully working MMX intrinsics dnl Check for fully working MMX intrinsics
dnl We need support for -mmmx, we need <mmintrin.h>, and we also need a dnl We need support for -mmmx, we need <mmintrin.h>, and we also need a
...@@ -1727,7 +1730,7 @@ dnl ...@@ -1727,7 +1730,7 @@ dnl
dnl Input plugins dnl Input plugins
dnl dnl
AC_ARG_WITH(,[Input plugins:]) EXTEND_HELP_STRING([Input plugins:])
dnl live555 input dnl live555 input
dnl dnl
...@@ -2591,7 +2594,7 @@ dnl ...@@ -2591,7 +2594,7 @@ dnl
dnl Codec plugins dnl Codec plugins
dnl dnl
AC_ARG_WITH(,[Codec plugins:]) EXTEND_HELP_STRING([Codec plugins:])
dnl dnl
dnl wmafixed plugin dnl wmafixed plugin
...@@ -3332,7 +3335,7 @@ dnl ...@@ -3332,7 +3335,7 @@ dnl
dnl Video plugins dnl Video plugins
dnl dnl
AC_ARG_WITH(,[Video plugins:]) EXTEND_HELP_STRING([Video plugins:])
dnl dnl
dnl Xlib dnl Xlib
...@@ -3786,7 +3789,7 @@ dnl ...@@ -3786,7 +3789,7 @@ dnl
dnl Audio plugins dnl Audio plugins
dnl dnl
AC_ARG_WITH(,[Audio plugins:]) EXTEND_HELP_STRING([Audio plugins:])
dnl dnl
dnl OSS /dev/dsp module (enabled by default except on win32) dnl OSS /dev/dsp module (enabled by default except on win32)
...@@ -3952,7 +3955,7 @@ dnl ...@@ -3952,7 +3955,7 @@ dnl
dnl Interface plugins dnl Interface plugins
dnl dnl
AC_ARG_WITH(,[Interface plugins:]) EXTEND_HELP_STRING([Interface plugins:])
dnl dnl
dnl Skins2 module dnl Skins2 module
...@@ -4289,8 +4292,7 @@ then ...@@ -4289,8 +4292,7 @@ then
fi fi
fi fi
EXTEND_HELP_STRING([Misc options:])
AC_ARG_WITH(,[Misc options:])
dnl dnl
dnl libgcrypt dnl libgcrypt
...@@ -4476,7 +4478,7 @@ AS_IF([test "${enable_loader}" = "yes"], ...@@ -4476,7 +4478,7 @@ AS_IF([test "${enable_loader}" = "yes"],
VLC_ADD_LIBS([dmo quicktime], [-lpthread]) VLC_ADD_LIBS([dmo quicktime], [-lpthread])
]) ])
AC_ARG_WITH(,[Components:]) EXTEND_HELP_STRING([Components:])
dnl dnl
dnl the VLC binary dnl the VLC binary
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment