cprof="@cprof@"
optim="@optim@"
-plugins="@PLUGINS@"
-builtins="@BUILTINS@"
+plugins="@PLUGINS@ "
+builtins="@BUILTINS@ "
cppflags=""
cflags=""
[--version] print version and exit
[--linkage] print linkage mode (c, c++, objc)
[--target] print targets and exit
+ [--list] print modules names and exit
[--libs] output linking flags
[--cflags] output C compilation flags
[--cxxflags] output C++ compilation flags
fi
if test "${top_builddir}" != ""; then
top_builddir="${top_builddir}/"
+elif test "${TOP_BUILDDIR}" != ""; then
+ top_builddir="${TOP_BUILDDIR}/"
fi
-includes="${includes} -I${top_builddir}include"
+includes="${includes}"
cppflags="${includes}"
libs="-L@libdir@"
module=""
--target)
echo_target=yes
;;
+ --list)
+ echo_list=yes
+ ;;
--cflags)
echo_cflags=yes
;;
usage 1 1>&1
;;
vlc)
- cppflags="${cppflags} -D__VLC__"
+ cppflags="${cppflags} -D__VLC__ -I${top_builddir}src/misc"
;;
plugin)
echo_plugin=yes
exit 0
fi
+if test "${echo_list}" = yes; then
+ if test "${echo_plugin}" = yes; then
+ echo "${plugins}"
+ printf '\n'
+ fi
+ if test "${echo_builtin}" = yes; then
+ echo "${builtins}"
+ printf '\n'
+ fi
+ exit 0
+fi
+
if test "${echo_prefix}" = yes; then
echo "${prefix}"
fi