xffm, samba, cygwin
edscott wilson garcia
edscott at xfce.org
Wed Sep 22 20:37:36 CEST 2004
El mié, 22-09-2004 a las 10:16, Maarten Boekhold escribió:
> edscott wilson garcia wrote:
> > El mar, 21-09-2004 a las 09:51, Maarten Boekhold escribió:
> >
> >>edscott wrote:
> >>
> >>If you can come up with some configure/autotools magic to conditionally
> >>exclude samba from the build, I'd be much obliged.
> >
> > OK, done. Just run configure with --disable-smbbranch.
>
> Hmmm, do you know of a way to always set this to --disable-smbbranch
> when on the cygwin platform? I'm not too familiar with autoconf, just
> got a bit the hang of automake...
>
> I'm looking for something similar to:
>
> configure.ac:
> AM_CONDITIONAL([HAVE_CYGWIN], [test "`uname | grep \"CYGWIN\"`" != ""])
>
> Makefile.am:
> if HAVE_CYGWIN
> ...
> endif
This Makefile.am modification will probably do the trick:
if HAVE_CYGWIN
CFLAGS=CFLAGS -DUSE_SMB_BRANCH=0
endif
After changing all occurrences of
#ifdef USE_SMB_BRANCH
to
#if USE_SMB_BRANCH==1
in the source code. Yes?
regards,
Edscott
>
> Maarten
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev
>
More information about the Xfce4-dev
mailing list