diff options
Diffstat (limited to 'source/n/nghttp2/nghttp2.SlackBuild')
-rwxr-xr-x | source/n/nghttp2/nghttp2.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/n/nghttp2/nghttp2.SlackBuild b/source/n/nghttp2/nghttp2.SlackBuild index c32fcf7a..3ce08b38 100755 --- a/source/n/nghttp2/nghttp2.SlackBuild +++ b/source/n/nghttp2/nghttp2.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2018, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -85,6 +85,14 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \+ +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi + # Configure: CFLAGS="$SLKCFLAGS" \ ./configure \ |