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" |