diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-08 18:03:14 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-04-08 18:03:14 +0000 |
commit | 2abdcd86d9ed98b44cd4531120162c1b099a8008 (patch) | |
tree | 64bad3418343785cf57f460177b770f2e0668052 /configure | |
parent | e2c560a9f681bc6bf696604cc60029552701f089 (diff) | |
download | mpv-2abdcd86d9ed98b44cd4531120162c1b099a8008.tar.bz2 mpv-2abdcd86d9ed98b44cd4531120162c1b099a8008.tar.xz |
Move decision about which getch2 and timer file to compile to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26351 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1311,6 +1311,8 @@ if test "$_runtime_cpudetection" = yes && ! x86 && ! ppc; then fi +_timer=timer-linux.c +_getch=getch2.c if freebsd ; then _ld_extra="$_ld_extra -L/usr/local/lib" _inc_extra="$_inc_extra -I/usr/local/include" @@ -1324,6 +1326,7 @@ fi if darwin; then _ld_extra="$_ld_extra -L/usr/local/lib" _inc_extra="$_inc_extra -I/usr/local/include" + _timer=timer-darwin.c fi if aix ; then @@ -1341,11 +1344,13 @@ if win32 ; then # -lwinmm is always needed for osdep/timer-win2.c _ld_extra="$_ld_extra -lwinmm" _confwin32='TARGET_WIN32 = yes' + _timer=timer-win2.c else _confwin32='TARGET_WIN32 = no' fi if mingw32 ; then + _getch=getch2-win.c _need_shmem=no fi @@ -1366,6 +1371,7 @@ fi if os2 ; then _exesuf=".exe" + _getch=getch2-os2.c _need_shmem=no _ar="emxomfar -p256" _ranlib="echo ignoring ranlib" @@ -7740,6 +7746,9 @@ NEED_STRSEP = $_need_strsep NEED_SWAB = $_need_swab NEED_VSSCANF = $_need_vsscanf +GETCH = $_getch +TIMER = $_timer + # audio output OSS = $_ossaudio ALSA = $_alsa |