[vlc-commits] commit: Win32: prepare "make install" to work. (Jean-Baptiste Kempf )
git at videolan.org
git at videolan.org
Fri Jul 2 15:55:08 CEST 2010
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 2 15:18:32 2010 +0200| [098b6f264b75d4fec99c42e214eea3c371d50c71] | committer: Jean-Baptiste Kempf
Win32: prepare "make install" to work.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=098b6f264b75d4fec99c42e214eea3c371d50c71
---
configure.ac | 10 ++++++++--
modules/Makefile.am | 2 +-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 1a428e7..c709758 100644
--- a/configure.ac
+++ b/configure.ac
@@ -339,17 +339,20 @@ case "${host_os}" in
dnl
AC_ARG_ENABLE(peflags,
[ --enable-peflags peflags use (default enabled on Windows)])
- if test "${enable_peflags}" != "no"
- then
+ if test "${enable_peflags}" != "no" ; then
AC_CHECK_TOOL(PEFLAGS, peflags, :)
fi
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
+ ac_default_prefix="`pwd`/_win32"
+ DESTDIR="`pwd`/_win32/"
fi
if test "${SYS}" = "mingwce"; then
# add ws2 for closesocket, select, recv
VLC_ADD_LIBS([libvlccore access_http access_mms access_udp access_tcp access_ftp access_rtmp access_output_udp access_output_rtmp sap oldhttp netsync audioscrobbler growl rtp stream_out_standard stream_out_rtp remoteosd ts audiobargraph_a netsync],[-lws2])
VLC_ADD_LIBS([libvlccore],[-lmmtimer])
AC_CHECK_PROGS(U2D, [unix2dos todos], unix2dos)
+ ac_default_prefix="`pwd`/_wince"
+ DESTDIR="`pwd`/_wince/"
fi
;;
*nto*)
@@ -4319,7 +4322,10 @@ AS_IF([test "x$KDE4_CONFIG" = "x"], [
AC_ARG_WITH(kde-solid,
AS_HELP_STRING([--with-kde-solid=PATH],
[KDE Solid actions directory (auto)]),, [
+
+if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce" ; then
with_kde_solid="yes"
+fi
])
soliddatadir=""
AS_IF([test "${with_kde_solid}" != "no"], [
diff --git a/modules/Makefile.am b/modules/Makefile.am
index 52288cf..39abdbc 100644
--- a/modules/Makefile.am
+++ b/modules/Makefile.am
@@ -70,7 +70,7 @@ stamp-cache:
$(AM_V_at)touch stamp-cache
install-exec-hook:
- if test -z "$(DESTDIR)"; then \
+ if test -z "$(DESTDIR)" -a "$(build)" = "$(host)"; then \
../bin/vlc-cache-gen$(EXEEXT) "$(vlclibdir)/plugins" ; \
else \
echo "Staged installation: cache generation skipped!" ; \
More information about the vlc-commits
mailing list