git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f74eb7
)
Handle the first run of configure; prefer gmake.
author
Wayne Davison
<wayne@opencoder.net>
Sat, 25 Jul 2020 00:31:54 +0000
(17:31 -0700)
committer
Wayne Davison
<wayne@opencoder.net>
Sat, 25 Jul 2020 00:37:01 +0000
(17:37 -0700)
packaging/smart-make
patch
|
blob
|
history
diff --git
a/packaging/smart-make
b/packaging/smart-make
index dcf10286108208a84cc75d9f0ad8f5a6dc5d3f52..6b7aa9bf928177b4f785013b52896e37a805eb8e 100755
(executable)
--- a/
packaging/smart-make
+++ b/
packaging/smart-make
@@
-2,7
+2,7
@@
set -e
-make=`which
make 2>/dev/null` || make=`which g
make 2>/dev/null`
+make=`which
gmake 2>/dev/null` || make=`which
make 2>/dev/null`
branch=`packaging/prep-auto-dir`
if test x"$branch" = x; then
@@
-29,7
+29,11
@@
if diff configure.sh configure.sh.old >/dev/null 2>&1; then
rm configure.sh.old
else
echo "configure.sh has CHANGED."
- ./config.status --recheck
+ if test -f config.status; then
+ ./config.status --recheck
+ else
+ $srcdir/configure
+ fi
fi
./config.status