Bug 32317

Summary: Incorrect Optional Features descriptions in ./configure --help
Product: Mesa Reporter: Timo Wiren <timo.wiren>
Component: Mesa coreAssignee: Andreas Boll <andreas.boll.dev>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: medium    
Version: 7.9   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: fix enable/disable language in configure.ac

Description Timo Wiren 2010-12-11 07:25:56 UTC
When running ./configure --help, Optional Features contain incorrect documentation:
  --disable-glu           enable OpenGL Utility library [default=enabled]
  --disable-glw           enable Xt/Motif widget library [default=enabled]
  --disable-glut          enable GLUT library [default=enabled if source available]
  --disable-gallium       build gallium [default=enabled]
  --disable-pic           compile PIC objects [default=enabled for shared builds on supported platforms]
  --disable-shared        build shared libraries [default=enabled]
  --disable-driglx-direct enable direct rendering in GLX and EGL for DRI [default=enabled]

"enable" shoud be "disable" and "build" should be "don't build". Tested on Mesa 7.9.
Comment 1 Brian Paul 2010-12-13 07:49:59 UTC
Created attachment 41063 [details] [review]
fix enable/disable language in configure.ac

This patch fixes those issues, except for one:  I don't see where the --disable-pic option is coming from.
Comment 2 Brian Paul 2010-12-13 07:51:16 UTC
Reassigning to Dan Nicholson.
Comment 3 Dan Nicholson 2010-12-13 10:13:56 UTC
Brian, the pic one is in the MESA_PIC_FLAGS macro in acinclude.m4. Your diff looks good to me. Do you mind finishing this off? I'm a little busy to work up a patch myself right now.
Comment 4 Andreas Boll 2012-11-10 20:33:44 UTC
Fixed with 5ecbc3a9e85d4e31c81c132ea94fb1fafc33be4a

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.