View | Details | Raw Unified | Return to bug 120510
Collapse All | Expand All

(-)contrib/a52dec/configure (-1 / +1 lines)
Lines 9640-9646 Link Here
9640
9640
9641
9641
9642
9642
9643
LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
9643
LIBA52_CFLAGS="$LIBA52_CFLAGS"
9644
9644
9645
# Check whether --enable-double or --disable-double was given.
9645
# Check whether --enable-double or --disable-double was given.
9646
if test "${enable_double+set}" = set; then
9646
if test "${enable_double+set}" = set; then
(-)contrib/a52dec/liba52/configure.incl (-1 / +1 lines)
Lines 2-8 Link Here
2
AC_SUBST([LIBA52_LIBS])
2
AC_SUBST([LIBA52_LIBS])
3
3
4
dnl avoid -fPIC when possible
4
dnl avoid -fPIC when possible
5
LIBA52_CFLAGS="$LIBA52_CFLAGS -prefer-non-pic"
5
LIBA52_CFLAGS="$LIBA52_CFLAGS"
6
6
7
AC_ARG_ENABLE([double],
7
AC_ARG_ENABLE([double],
8
    [  --enable-double         use double-precision samples])
8
    [  --enable-double         use double-precision samples])
(-)contrib/mpeg2dec/configure (-22 lines)
Lines 23964-23991 Link Here
23964
done
23964
done
23965
23965
23966
23966
23967
23968
23969
echo "$as_me:$LINENO: checking if libtool supports -prefer-non-pic flag" >&5
23970
echo $ECHO_N "checking if libtool supports -prefer-non-pic flag... $ECHO_C" >&6
23971
    mkdir ac_test_libtool; cd ac_test_libtool; ac_cv_libtool_non_pic=no
23972
    echo "int g (int i); static int h (int i) {return g (i);} int f (int i) {return h (i);}" >f.c
23973
    echo "int (* hook) (int) = 0; int g (int i) {if (hook) i = hook (i); return i + 1;}" >g.c
23974
    ../libtool --mode=compile $CC $CFLAGS -prefer-non-pic \
23975
		-c f.c >/dev/null 2>&1 && \
23976
	../libtool --mode=compile $CC $CFLAGS -prefer-non-pic \
23977
		-c g.c >/dev/null 2>&1 && \
23978
	../libtool --mode=link $CC $CFLAGS -prefer-non-pic -o libfoo.la \
23979
		-rpath / f.lo g.lo >/dev/null 2>&1 &&
23980
	ac_cv_libtool_non_pic=yes
23981
    cd ..; rm -fr ac_test_libtool; echo "$as_me:$LINENO: result: $ac_cv_libtool_non_pic" >&5
23982
echo "${ECHO_T}$ac_cv_libtool_non_pic" >&6
23983
    if test x"$ac_cv_libtool_non_pic" = x"yes"; then
23984
	LIBMPEG2_CFLAGS="$LIBMPEG2_CFLAGS -prefer-non-pic"
23985
    else
23986
	:
23987
    fi
23988
23989
# Check whether --enable-accel-detect or --disable-accel-detect was given.
23967
# Check whether --enable-accel-detect or --disable-accel-detect was given.
23990
if test "${enable_accel_detect+set}" = set; then
23968
if test "${enable_accel_detect+set}" = set; then
23991
  enableval="$enable_accel_detect"
23969
  enableval="$enable_accel_detect"

Return to bug 120510