added config option for win32 dll and re-enabled static building

Original commit message from CVS:
added config option for win32 dll and re-enabled static building
This commit is contained in:
Erik Walthinsen 2001-01-09 21:06:28 +00:00
parent bebdf80da3
commit 3acac6f9f3
2 changed files with 13 additions and 1 deletions

View file

@ -3,6 +3,7 @@
#undef PLUGINS_USE_SRCDIR
#undef GST_CONFIG_DIR
#undef GST_WIN32_LIBDIR
#undef HAVE_CPU_I386
#undef HAVE_CPU_PPC

View file

@ -36,7 +36,7 @@ AC_PROG_CC
AC_STDC_HEADERS
AC_ARG_PROGRAM
AM_DISABLE_STATIC
dnl AM_DISABLE_STATIC
AC_LIBTOOL_DLOPEN
AM_PROG_LIBTOOL
@ -440,6 +440,17 @@ AC_ARG_WITH(configdir,
esac],
[:]) dnl Default value
dnl Default value
GST_WIN32_LIBDIR="/usr/lib/win32"
AC_ARG_WITH(win32_libdir,
[ --with-win32-libdir specify location for win32 DLLs],
[case "${withval}" in
yes) AC_MSG_ERROR(bad value ${withval} for --with-win32-libdir) ;;
no) AC_MSG_ERROR(bad value ${withval} for --with-win32-libdir) ;;
*) GST_WIN32_LIBDIR="${withval}" ;;
esac],
[:]) dnl Default value
dnl ################################################
dnl # Set defines according to variables set above #