diff options
Diffstat (limited to 'dists/autogen/autogen.sh')
-rwxr-xr-x | dists/autogen/autogen.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dists/autogen/autogen.sh b/dists/autogen/autogen.sh new file mode 100755 index 00000000..fdecccd9 --- /dev/null +++ b/dists/autogen/autogen.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# find absolute dists/autogen and project-root dirs +AUTOGEN_DIR=`dirname $0` +ABS_AUTOGEN_DIR=`cd ${AUTOGEN_DIR}; pwd` +ROOT_DIR="${AUTOGEN_DIR}/../.." +ABS_ROOT_DIR=`cd ${ROOT_DIR}; pwd` +# change to project-root and create configure-script +cd ${ROOT_DIR} +aclocal -I "${ABS_AUTOGEN_DIR}/m4" && autoconf && echo "configure created in ${ABS_ROOT_DIR}" |