[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MS-Windows build using Posix configury
From: |
Eli Zaretskii |
Subject: |
Re: MS-Windows build using Posix configury |
Date: |
Wed, 17 Apr 2013 05:57:29 +0300 |
> From: Glenn Morris <address@hidden>
> Cc: address@hidden
> Date: Tue, 16 Apr 2013 20:42:54 -0400
>
> Eli Zaretskii wrote:
>
> > gnu-linux|freebsd|netbsd)
> > AC_DEFINE(HAVE_SOUND, 1, [Define to 1 if you have sound support.])
> > ;;
> > + mingw32)
> > + AC_DEFINE(HAVE_SOUND, 1, [Define to 1 if you have sound support.])
> > + ;;
> [...]
> > +if test "${opsys}" = "mingw32"; then
> > + AC_DEFINE(NULL_DEVICE, ["NUL:"], [Name of the file to open to get
> > + a null file, or a data sink.])
> > +else
> > + AC_DEFINE(NULL_DEVICE, ["/dev/null"], [Name of the file to open to get
> > + a null file, or a data sink.])
> > +fi
> >
> > -AC_DEFINE(SEPCHAR, [':'], [Character that separates PATH elements.])
> > +if test "${opsys}" = "mingw32"; then
> > + AC_DEFINE(SEPCHAR, [';'], [Character that separates PATH elements.])
> > +else
> > + AC_DEFINE(SEPCHAR, [':'], [Character that separates PATH elements.])
> > +fi
>
> With things like this, I think it is better to have a single
> unconditional AH_TEMPLATE that gives the doc string, then as many
> AC_DEFINEs as needed that just set the value and don't duplicate the doc.
Sorry, I don't follow: what doc is duplicated? (I'm an autoconf
newbie.) Could you show an example of what you suggest?
Thanks.
- Re: MS-Windows build using Posix configury, (continued)
- Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/16
- Re: MS-Windows build using Posix configury, Eli Zaretskii, 2013/04/16
- Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/17
- Re: MS-Windows build using Posix configury, Eli Zaretskii, 2013/04/17
- Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/17
- Re: MS-Windows build using Posix configury, Eli Zaretskii, 2013/04/17
- Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/17
- Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/17
- Re: MS-Windows build using Posix configury, Eli Zaretskii, 2013/04/17
Re: MS-Windows build using Posix configury, Glenn Morris, 2013/04/16
- Re: MS-Windows build using Posix configury,
Eli Zaretskii <=
Re: MS-Windows build using Posix configury, Paul Eggert, 2013/04/16