inside that directory. Do not forget to add a corresponding
Makefile line at the end of configure.ac for this new Modules.am file.
-To have the module built, you need to add a call to VLC_ADD_PLUGIN or
-VLC_ADD_BUILTINS to configure.ac with your new module name as argument.
+To have the module built, you need to add a call to VLC_ADD_PLUGIN to
+configure.ac with your new module name as argument.
Look at other modules for guidelines on how to add build and linkage options.
After changing configure.ac you will always need to rerun bootstrap and
sed -ne '/#@1@#/q;p' < "${srcdir}/vlc-config.in.in" \
| sed \
-e "s/@optim@/${enable_optimizations}/" \
- -e "s/@PLUGINS@/${PLUGINS}/" \
- -e "s/@BUILTINS@/${BUILTINS}/" \
-e "s/@CFLAGS_TUNING@/${CFLAGS_TUNING}/" \
> vlc-config.in
optim="@optim@"
-plugins="@PLUGINS@ "
-
cppflags=""
cflags=""
cxxflags=""
[--prefix[=DIR]] set prefix
[--exec-prefix[=DIR]] set exec prefix
[--version] print version and exit
- [--list] print modules names and exit
[--libs] output linking flags
[--cflags] output C compilation flags
[--cxxflags] output C++ compilation flags
echo "@VERSION@"
exit 0
;;
- --list)
- echo_list=yes
- ;;
--cflags)
echo_cflags=yes
;;
;;
libvlccore)
;;
- plugin)
- echo_plugin=yes
- ;;
*)
module="$tgt"
;;
#
# Output what we were asked
#
-if test "${echo_list}" = yes; then
- if test "${echo_plugin}" = yes; then
- echo "${plugins}"
- printf '\n'
- fi
- exit 0
-fi
-
if test "${echo_prefix}" = yes; then
echo "${prefix}"
fi