Added --with-win32-libdir to configure

Original commit message from CVS:
Added --with-win32-libdir to configure
This commit is contained in:
Wim Taymans 2001-01-09 21:19:22 +00:00
parent 5064c6a5b4
commit 12e14584fe
2 changed files with 15 additions and 9 deletions

View file

@ -543,6 +543,10 @@ dnl Set location of configuration dir.
AC_DEFINE_UNQUOTED(GST_CONFIG_DIR,"$GST_CONFIG_DIR")
AC_SUBST(GST_CONFIG_DIR)
dnl Set location of windows dll dir.
AC_DEFINE_UNQUOTED(GST_WIN32_LIBDIR,"$GST_WIN32_LIBDIR")
AC_SUBST(GST_WIN32_LIBDIR)
dnl Set location of plugin directory
if test "x${prefix}" = "xNONE"; then
PLUGINS_DIR=${ac_default_prefix}/lib/gst

View file

@ -6,6 +6,8 @@
#include <wine/vfw.h>
#include <registry.h>
#include <config.h>
#define STORE_ALL \
__asm__ ( \
"push %%ebx\n\t" \
@ -87,15 +89,15 @@ typedef struct
//#define Win32Path "/usr/lib/win32/"
#define Win32Path GST_WIN32_LIBDIR
static codec_t avi_codecs[]={
{0, Win32Path"divxc32.dll", 0}, //0
{0, Win32Path"ir50_32.dll", 0},
{0, Win32Path"ir41_32.dll", 0},
{0, Win32Path"ir32_32.dll", 0},
{0, Win32Path"mpg4c32.dll", 0},
{0, Win32Path"iccvid.dll", 0}, //5
{0, Win32Path"libvideodll.so", 0},
{0, Win32Path"divxa32.acm", 0}, //7
{0, Win32Path"msadp32.acm", 0},
{0, Win32Path"/divxc32.dll", 0}, //0
{0, Win32Path"/ir50_32.dll", 0},
{0, Win32Path"/ir41_32.dll", 0},
{0, Win32Path"/ir32_32.dll", 0},
{0, Win32Path"/mpg4c32.dll", 0},
{0, Win32Path"/iccvid.dll", 0}, //5
{0, Win32Path"/libvideodll.so", 0},
{0, Win32Path"/divxa32.acm", 0}, //7
{0, Win32Path"/msadp32.acm", 0},
};