Commit 1e15c4fe authored by Michel Lespinasse's avatar Michel Lespinasse
Browse files

use libtool's -prefer-non-pic option - that way we can build shared

libraries without the large x86 performance penalty.
parent a14f8298
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.13)
AC_PREREQ(2.52)
AC_INIT(src/mpeg2dec.c)
AC_CONFIG_AUX_DIR(autotools)
AM_INIT_AUTOMAKE(mpeg2dec,0.2.1-cvs)
......@@ -70,9 +70,9 @@ else
fi
dnl Checks for libtool - this must be done after we set cflags
AM_DISABLE_SHARED
AC_DISABLE_SHARED
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
AC_PROG_LIBTOOL
dnl Checks for libraries.
......
AC_SUBST([LIBMPEG2_CFLAGS])
AC_SUBST([LIBMPEG2_LIBS])
dnl avoid -fPIC when possible
LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"
dnl check for mlib
AC_ARG_ENABLE([mlib],
[ --disable-mlib make a version not using mediaLib])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment