What steps will reproduce the problem?
1. ./configure --without-freetype
2. grep USE_ config.h
This should show "/* #undef USE_FREETYPE */" but in fact shows "#define
USE_FREETYPE 1".
At issue is the meaning of the third argument of AC_ARG_WITH in configure.ac.
The AC_ARG_WITH macro would default to setting the variable 'with_freetype'
with the appropriate value (yes/no/other), so it can simply be omitted.
http://www.flameeyes.eu/autotools-mythbuster/autoconf/arguments.html
I'm attaching a simple patch which gives the documented behavior for me.
$ ./configure --without-freetype
...
$ grep USE_ config.h
/* #undef USE_FREETYPE */
$ ./configure --with-freetype
...
$ grep USE_ config.h
#define USE_FREETYPE 1
$ ./configure
...
$ grep USE_ config.h
/* #undef USE_FREETYPE */
Original issue reported on code.google.com by mdavidsa...@gmail.com on 23 Jun 2013 at 9:43
Original issue reported on code.google.com by
mdavidsa...@gmail.com
on 23 Jun 2013 at 9:43Attachments: