diff options
author | 2015-07-19 06:05:16 +0000 | |
---|---|---|
committer | 2015-07-19 06:05:16 +0000 | |
commit | f0143f309111bca83659f897fa5c7c42548890ed (patch) | |
tree | a4e4f250b02548ce4781417e928a293aee002be7 /configure | |
parent | 0c627ea8c3cc862ae75011fd19486724efdf240b (diff) | |
download | mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.gz mandoc-f0143f309111bca83659f897fa5c7c42548890ed.tar.zst mandoc-f0143f309111bca83659f897fa5c7c42548890ed.zip |
Do not fork and exec gunzip(1), just link with libz instead.
As discussed with deraadt@, that's cleaner and will help tame(2).
Something like this was also suggested earlier by bapt at FreeBSD.
Minus 50 lines of code, deleting one interface function (mparse_wait),
no functional change intended.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -239,9 +239,9 @@ fi # --- DBLIB --- if [ ${BUILD_DB} -eq 0 ]; then - DBLIB= + DBLIB="-lz" elif [ -z "${DBLIB}" ]; then - DBLIB="${DETECTLIB}" + DBLIB="${DETECTLIB} -lz" echo "DBLIB=\"${DBLIB}\"" 1>&2 echo "DBLIB=\"${DBLIB}\"" 1>&3 echo 1>&3 |