### 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
- 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"
]))])