Re: ./configure options
Bob Friesenhahn <[email protected]> Fri, 15 Nov 2019 15:59:35 -0600 (CST)
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 15 Nov 2019, Pro Turm wrote: > How do I influence whats generated with ./configure , i.e. alter the defaults? Is manually changing in the magick_config.h the main way? > > E.g. > 1) Ive run it with '--without-x", but I still find HASX11 defined, > 2) I dont see how to undef certain defines > e.g. AC_APPLE_UNIVERSAL_BUILD, BuildMagickModules > 3) or how to define some undefs > 4) Have some default defines/undefs been changed in the last years? Make sure to read the documentation at "http://www.graphicsmagick.org/INSTALL-unix.html" and also http://www.graphicsmagick.org/README.html The "--without-x option" has always worked for me. Check the configure summary at the end of the configure run. Using configure '--disable-shared' '--enable-static' '--enable-silent-rules' '--disable-openmp' '--without-threads' '--without-modules' '--without-bzlib' '--without-dps' '--without-jbig' '--without-jpeg' '--without-jp2' '--without-lcms' '--without-lcms2' '--without-lzma' '--without-tiff' '--without-trio' '--without-ttf' '--without-webp' '--without-wmf' '--without-zlib' '--without-x' '--without-png' '--without-zstd' disables all possible add-on features. User-provided CFLAGS, CXXFLAGS, CPPFLAGS, LIBS, and LDFLAGS are honored in a useful fashion. I don't know anything about AC_APPLE_UNIVERSAL_BUILD but assume it is intrinsic to Autoconf since I see mention of it but I did not explicitly add support for it. Things change very slowly in GraphicsMagick so defines used now are mostly what they were 10 years ago. Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ Public Key, http://www.simplesystems.org/users/bfriesen/public-key.txt