imported>Mic92
document fastStdenv
imported>Milahu
+ pkg-config package names
Line 161: Line 161:


When using <code>autoconf</code>, pkg-config is a required build input for providing the <code>AC_CHECK_HEADERS</code> m4 macro.
When using <code>autoconf</code>, pkg-config is a required build input for providing the <code>AC_CHECK_HEADERS</code> m4 macro.
=== pkg-config package names ===
To list all pkg-config package names of a Nix package:
<syntaxHighlight lang=console>
$ nix-shell -p pkgconfig libglvnd
$ pkg-config --list-all
egl      egl - EGL library and headers
libglvnd  libglvnd - Vendor-neutral OpenGL dispatch library vendor interface
glx      glx - GLX library and headers
glesv1_cm glesv1_cm - OpenGL ES-CM v1 library and headers
opengl    opengl - OpenGL (without GLX) headers and interface
glesv2    gles2 - OpenGL ES v2/v3 library and headers
gl        gl - Legacy OpenGL and GLX library and headers
</syntaxHighlight>


== cmake ==
== cmake ==