~mdw
/
runlisp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
m4/mdw-auto-version.m4: Don't try appending suffixes any more.
[runlisp]
/
m4
/
mdw-auto-version.m4
diff --git
a/m4/mdw-auto-version.m4
b/m4/mdw-auto-version.m4
index
5ea1041
..
046495e
100644
(file)
--- a/
m4/mdw-auto-version.m4
+++ b/
m4/mdw-auto-version.m4
@@
-53,14
+53,11
@@
dnl -*-autoconf-*-
### exception to the GPL to apply to your modified version as well.
# serial 1
### exception to the GPL to apply to your modified version as well.
# serial 1
-AC_DEFUN([mdw_AUTO_VERSION], [nobody cares...])
-m4_define([mdw_AUTO_VERSION], [m4_define([AUTO_VERSION], m4_esyscmd([
+AC_DEFUN([mdw_AUTO_VERSION], [m4_define([AUTO_VERSION], m4_esyscmd([
ver=UNKNOWN
for pre in ./ config/; do
ver=UNKNOWN
for pre in ./ config/; do
- for post in "" .in; do
- try=${pre}auto-version${post}
- if test -x $try; then ver=$("$try"); break; fi
- done
+ try=${pre}auto-version
+ if test -x $try; then ver=$("$try"); break; fi
done
echo -n "$ver"
]))])
done
echo -n "$ver"
]))])