summaryrefslogtreecommitdiff
path: root/source/d/check/check.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/check/check.SlackBuild')
-rwxr-xr-xsource/d/check/check.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/d/check/check.SlackBuild b/source/d/check/check.SlackBuild
index 2851cdf5..50008304 100755
--- a/source/d/check/check.SlackBuild
+++ b/source/d/check/check.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2019 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2019, 2020 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -85,7 +85,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
-# EXAMPLE FOR AUTOTOOLS:
+if [ ! -r configure ]; then
+ autoreconf -vif
+fi
+
# Configure, build, and install:
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \