blob: ef523d377b7065e110fe49c40e6f793dbc452c73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/sh
set -e
printf "Creating macrodir...\n"
macrodir="$( sed -r -e '/^AC_CONFIG_MACRO_DIR\(\[(.*)\]\)/!d;' \
-e 's//\1/;' \
configure.ac \
)"
mkdir -p "${macrodir}"
printf "Running autoreconf...\n"
autoreconf -f -i -Wall
# Cleanup the useless stuff... :-(
rm -rf autom4te.cache
printf "Done. You may now run:\n ./configure\n"
|