This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: windres bug.
Tom Walsh <tom@cyberiansoftware.com> writes:
> This is the patchfile for two changes in windres v2.11.90
>
> binutils/configure: to allow '--with-windres' to be specified as an
> option.
binutils/configure is a generated file. You need to patch
configure.in instead.
In that case you do also something like the code below (stolen from
GCC's configure.in):
# With GNU ld
AC_ARG_WITH(gnu-ld,
[ --with-gnu-ld arrange to work with GNU ld.],
gnu_ld_flag="$with_gnu_ld",
gnu_ld_flag=no)
You're allowed to say: --with-windres=no, --with-windres=yes,
--with-windres and even --without-windres (for details check the
autoconf manual on AC_ARG_WITH). autoconf replaces this with the
appropriate checks.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj