From 59d700949366c87b501b27ca803698db702754ac Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 27 Nov 2006 22:55:46 +0000 Subject: Merge _ld_arch into _ld_extra. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21346 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'configure') diff --git a/configure b/configure index fa7e1abba3..fb725650ac 100755 --- a/configure +++ b/configure @@ -2442,7 +2442,7 @@ fi # On QNX we must link to libph - Gabucino if qnx ; then - _ld_arch="$_ld_arch -lph" + _ld_extra="$_ld_extra -lph" fi # checking for a working awk, I'm using mawk first, because it's fastest - atmos @@ -2499,7 +2499,7 @@ cat > $TMPC < $TMPC << EOF int main(void) { (void) nanosleep(0, 0); return 0; } EOF _nanosleep=no -cc_check $_ld_arch && _nanosleep=yes +cc_check && _nanosleep=yes if test "$_nanosleep" = yes ; then _def_nanosleep='#define HAVE_NANOSLEEP 1' else @@ -4769,7 +4769,7 @@ EOF _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"' elif netbsd || openbsd ; then _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/sound"' - _ld_arch="$_ld_arch -lossaudio" + _ld_extra="$_ld_extra -lossaudio" else _def_ossaudio_devdsp='#define PATH_DEV_DSP "/dev/dsp"' fi @@ -7180,11 +7180,9 @@ if test "$_real" = yes || test "$_xanim" = yes && not win32 && not qnx && not da _ld_dl_dynamic='-rdynamic' fi -_ld_arch="$_ld_arch $_ld_pthread $_ld_dl $_ld_dl_dynamic" -bsdos && _ld_arch="$_ld_arch -ldvd" -if netbsd ; then - x86 && _ld_arch="$_ld_arch -li386" -fi +_ld_extra="$_ld_extra $_ld_pthread $_ld_dl $_ld_dl_dynamic" +bsdos && _ld_extra="$_ld_extra -ldvd" +netbsd && x86 && _ld_extra="$_ld_extra -li386" _def_debug='#undef MP_DEBUG' test "$_debug" != "" && _def_debug='#define MP_DEBUG 1' @@ -7377,7 +7375,7 @@ JPEG = $_jpeg GIF = $_gif EXTRALIBS = $_extra_libs -EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm $_ld_arch +EXTRA_LIB = $_ld_extra $_ld_static $_ld_lm EXTRALIBS_MPLAYER = $_libs_mplayer EXTRALIBS_MENCODER = $_libs_mencoder -- cgit v1.2.3