diff options
Diffstat (limited to 'contrib/amd/m4/mkconf')
-rwxr-xr-x | contrib/amd/m4/mkconf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/amd/m4/mkconf b/contrib/amd/m4/mkconf new file mode 100755 index 0000000..04fc92d --- /dev/null +++ b/contrib/amd/m4/mkconf @@ -0,0 +1,20 @@ +#!/bin/bash -norc +# (re)make the autoconf configuration files. +# Used by am-utils maintainers only! +# +# Erez Zadok <ezk@cs.columbia.edu> +# +#set -x + +if [ ! -f amd/amd.c ]; then + cd .. +fi +if [ ! -f amd/amd.c ]; then + cd .. +fi +if [ ! -f amd/amd.c ]; then + echo "wrong directory!" + exit 1 +fi + +cd m4 && make $* |