2 # Run this to generate all the initial makefiles, etc.
5 echo "$1 not found or command failed. Aborting!"
10 PKG_NAME="the package."
14 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
16 echo "**Error**: You must have \`autoconf' installed to."
17 echo "Download the appropriate package for your distribution,"
18 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
22 (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
23 (libtool --version) < /dev/null > /dev/null 2>&1 || {
25 echo "**Error**: You must have \`libtool' installed."
26 echo "Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz"
27 echo "(or a newer version if it is available)"
32 (automake --version) < /dev/null > /dev/null 2>&1 || {
34 echo "**Error**: You must have \`automake' installed."
35 echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
36 echo "(or a newer version if it is available)"
42 # if no automake, don't bother testing for aclocal
43 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
45 echo "**Error**: Missing \`aclocal'. The version of \`automake'"
46 echo "installed doesn't appear recent enough."
47 echo "Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz"
48 echo "(or a newer version if it is available)"
52 if test "$DIE" -eq 1; then
57 echo "**Warning**: I am going to run \`configure' with no arguments."
58 echo "If you wish to pass any to it, please specify them on the"
59 echo \`$0\'" command line."
65 am_opt=--include-deps;;
68 for coin in `find $srcdir -name configure.in -print`
71 if test -f $dr/NO-AUTO-GEN; then
72 echo skipping $dr -- flagged as no auto-gen
75 macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
77 aclocalinclude="$ACLOCAL_FLAGS"
78 for k in $macrodirs; do
80 aclocalinclude="$aclocalinclude -I $k"
82 ## echo "**Warning**: No such directory \`$k'. Ignored."
85 if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
86 echo "Running libtoolize..."
87 libtoolize --force --copy || abort "libtoolize"
89 echo "Running aclocal $aclocalinclude ..."
90 aclocal $aclocalinclude || abort "aclocal"
91 if grep "^AM_CONFIG_HEADER" configure.in >/dev/null; then
92 echo "Running autoheader..."
93 autoheader || abort "autoheader"
95 echo "Running automake --gnu $am_opt ..."
96 automake --add-missing --gnu $am_opt || abort "automake"
97 echo "Running autoconf ..."
98 autoconf || abort "autoconf"
103 #conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
105 if test x$NOCONFIGURE = x; then
106 echo Running $srcdir/configure $conf_flags "$@" ...
107 $srcdir/configure $conf_flags "$@" \
108 && echo Now type \`make\' to compile $PKG_NAME || abort "configure"
110 echo Skipping configure process.
116 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-0.bits.db
117 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-0.bits.db
118 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-0.shaded-1.bits.db
119 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-0.bits.db
120 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-1.bits.db
121 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-1.bits.db
122 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-1.bits.db
125 #ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-0.bits.db
126 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-0.bits.db
127 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-0.shaded-1.bits.db
128 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-0.bits.db
129 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-1.bits.db
130 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-1.bits.db
131 ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-1.bits.db