[Lunar-commits] <moonbase> xemacs: various changes and enhancements.

Jon South striker at lunar-linux.org
Tue Jul 22 12:16:52 CEST 2008


Dave Brown wrote:
> commit ebc9f30111455f25823ce881e15750dadecd862e
> Author: Dave Brown <dagbrown at lart.ca>
> Date:   Tue Jul 22 15:56:40 2008 +0900
--snip--
> diff --git a/editors/xemacs/BUILD b/editors/xemacs/BUILD
> index 2803905..8d7e89c 100644
> --- a/editors/xemacs/BUILD
> +++ b/editors/xemacs/BUILD
> @@ -1,6 +1,11 @@
>  (
>  
>    LDFLAGS=`echo $LDFLAGS | sed "s/-z combreloc//"`
> +
> +  if [[ "$XEMACS_MULE" == "y" ]]; then
> +      OPTS="$OPTS --with-mule --with-xim=xlib"
> +  fi
> +
>    ./configure  --prefix=/usr             \
>                 --with-msw=no             \
>                 --infodir=/usr/share/info \

Quick question...Why didn't you just make your mquery as such:

mquery XEMACS_MULE "Enable internationalization support?" n 
"--with-mule --with-xim=xlib" ""

Adding if blocks in BUILD like the above has been deprecated for some 
time now ;)

-Striker


More information about the Lunar-dev mailing list