On Friday 23 March 2007 13:12, Artur Skawina wrote:
> i've been wondering why the XV suspend key stopped working a while
> ago, but as i was not actually using it, never investigated. Until
> today :) Apparently SUSPEND_BY_KEY was (and is) a makefile option,
> but the newer configure script does not know about this feature.
> Patch below enables it and adds a configure option to turn it off.
>
Thanks for your patch.
Should be ok. Reenabling the 'r/R' functionality.
>
> diff -urp softdevice-cvs.org/configure softdevice-cvs/configure
> --- softdevice-cvs.org/configure 2007-03-13 02:57:19.000000000 +0100
> +++ softdevice-cvs/configure 2007-03-23 10:23:18.000000000 +0100
> @@ -43,6 +43,7 @@ cle266="yes"
> alsa="yes"
> oss="yes"
> yaepg="auto"
> +suspendkey="yes"
>
> function help () {
> echo "Usage: configure [options]"
> @@ -58,6 +59,7 @@ function help () {
> echo " --disable-mmx2"
> echo " --disable-alsa"
> echo " --disable-oss"
> + echo " --disable-suspendkey"
> echo " --disable-yaepg / --enable-yapg (yaepg patch support)"
> echo " --with-ffmpeg-path YOUR_FFMPEG_PATH"
> echo " --with-vidix-path YOUR_VIDIX_PATH"
> @@ -81,6 +83,7 @@ do
> --disable-mmx2) shift; with_mmx2="no";;
> --disable-alsa) shift; alsa="no";;
> --disable-oss) shift; oss="no";;
> + --disable-suspendkey) shift; suspendkey="no";;
> --disable-yaepg) shift; yaepg="no";;
> --enable-yaepg) shift; yaepg="yes";;
> --with-ffmpeg-path) shift;
> @@ -586,6 +589,10 @@ if test "${with_altivec}" = "yes" ; then
> echo "ADD_CXXFLAGS += -faltivec" >> $TMPM
> fi
>
> +if test "${suspendkey}" = "yes" ; then
> + echo "#define SUSPEND_BY_KEY 1" >> $TMPH
> +fi
> +
> if test "${yaepg}" = "yes" ; then
> echo "#define HAVE_YAEPGPATCH 1" >> $TMPH
> fi
>
>
>
>
>
>
--
Stefan Lucke
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel