X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/afee8ed17a56617618fb7f963b111d7cf0fb56e7..bd9005ab3cae3b104b11db5c893b5cfe44df56a9:/docs/contrib/build_nmh diff --git a/docs/contrib/build_nmh b/docs/contrib/build_nmh index f17b240f..ef399f86 100755 --- a/docs/contrib/build_nmh +++ b/docs/contrib/build_nmh @@ -149,11 +149,11 @@ if install-mh -check >/dev/null 2>&1; then fi fi - if $ldd "$mhbin/inc" | grep sasl >/dev/null; then + if $ldd "`$mhbin/mhparam libdir`/post" | grep sasl >/dev/null; then config_sasl=y fi - if $ldd "$mhbin/inc" | grep ssl >/dev/null; then + if $ldd "`$mhbin/mhparam libdir`/post" | grep ssl >/dev/null; then config_tls=y fi fi @@ -308,7 +308,10 @@ if [ $status -eq 0 ]; then fi grep 'Error' "$logfile" -grep 'warn' "$logfile" +#### Ignore the warning when sbr/dtimep.c is built with flex 2.5.36 +#### or 2.5.37. +grep 'warn' "$logfile" | \ + grep -v 'sbr/dtimep.c:.*comparison between signed and unsigned' if [ $status -ne 0 ]; then echo build failed! echo build log is in "$logfile"