3 # Run this to generate the configuration scripts after a fresh
4 # repository clone/checkout.
6 # This script does *not* call configure (as usually done in other
7 # projects) because this would prevent VPATH builds.
15 if eval $command >/dev
/null
2>&1; then
16 printf "\033[32mok\033[0m\n"
19 printf "\033[31mfailed\033[0m\n ** \"$command\" returned $result\n"
26 test -z "$srcdir" && srcdir
=.
28 step
"Checking for top-level adg directory" \
29 "test -f '$srcdir/configure.ac' -a -f '$srcdir/src/adg.h.in'"
33 step
"Creating dummy ChangeLog, if needed" \
34 "test -f './ChangeLog' || touch './ChangeLog'"
36 # Not sure if I can remove these, they seem to be old relics
37 step
"Calling internationalization scripts" \
38 "glib-gettextize -f && intltoolize -f"
40 # autoreconf interaction with libtool has been broken for ages:
41 # explicitely calling libtoolize seems to avoid some problem
42 step
"Calling libtoolize" \
43 "libtoolize --automake"
45 step
"Regenerating autotools files" \
46 "autoreconf -isf -Wall"
49 printf "Now run \033[1m./configure\033[0m to customize your building\n"