| 64 | === `<c:configure>` === |
| 65 | |
| 66 | Executes a configure script as generated by Autoconf. |
| 67 | |
| 68 | ==== Parameters ==== |
| 69 | |
| 70 | || Name || Description || |
| 71 | || `file` || Name of the configure script (defaults to “configure”) || |
| 72 | || `enable` || List of features to enable, separated by spaces. || |
| 73 | || `disable` || List of features to disable, separated by spaces. || |
| 74 | || `with` || List of packages to include, separated by spaces. || |
| 75 | || `without` || List of packages to exclude, separated by spaces. || |
| 76 | || `cflags` || Value of the `CFLAGS` variable to pass to the script. || |
| 77 | || `cxxflags` || Value of the `CXXFLAGS` variable to pass to the script. || |
| 78 | |
| 79 | ==== Examples ==== |
| 80 | |
| 81 | {{{ |
| 82 | <c:configure enable="threadsafe" cflags="O"/> |
| 83 | }}} |
| 84 | |
| 85 | Runs the `configure` script in the base directory, enable the `threadsafe` feature, and passing `-O` as `CFLAGS`. This is equivalent to: |
| 86 | {{{ |
| 87 | ./configure --enable-threadsafe CFLAGS="-O" |
| 88 | }}} |
| 89 | |