From 3acac6f9f30e132948a9781196804ded1a9a4506 Mon Sep 17 00:00:00 2001 From: Erik Walthinsen Date: Tue, 9 Jan 2001 21:06:28 +0000 Subject: [PATCH] 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 --- acconfig.h | 1 + configure.in | 13 ++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index afebd1dfca..ef77f5935e 100644 --- a/acconfig.h +++ b/acconfig.h @@ -3,6 +3,7 @@ #undef PLUGINS_USE_SRCDIR #undef GST_CONFIG_DIR +#undef GST_WIN32_LIBDIR #undef HAVE_CPU_I386 #undef HAVE_CPU_PPC diff --git a/configure.in b/configure.in index 9e2df0ed01..2e464644f0 100644 --- a/configure.in +++ b/configure.in @@ -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 #