summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2004-11-25 03:26:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2004-11-25 03:26:33 +0000
commitf2b45ed47126d12986591cb02a6fcfc5908255fe (patch)
tree804d8188540af5d13facb6610f7562899ff91f03 /autogen.sh
parentff8aa3508118dfbd220c767587896a7fbce41bea (diff)
bye bye!
SVN revision: 12246
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh134
1 files changed, 0 insertions, 134 deletions
diff --git a/autogen.sh b/autogen.sh
deleted file mode 100755
index a5f1d17bb..000000000
--- a/autogen.sh
+++ /dev/null
@@ -1,134 +0,0 @@
1#!/bin/sh
2# Run this to generate all the initial makefiles, etc.
3
4abort () {
5 echo "$1 not found or command failed. Aborting!"
6 exit 1
7}
8
9srcdir=`dirname $0`
10PKG_NAME="the package."
11
12DIE=0
13
14(autoconf --version) < /dev/null > /dev/null 2>&1 || {
15 echo
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/"
19 DIE=1
20}
21
22(grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
23 (libtool --version) < /dev/null > /dev/null 2>&1 || {
24 echo
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)"
28 DIE=1
29 }
30}
31
32(automake --version) < /dev/null > /dev/null 2>&1 || {
33 echo
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)"
37 DIE=1
38 NO_AUTOMAKE=yes
39}
40
41
42# if no automake, don't bother testing for aclocal
43test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
44 echo
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)"
49 DIE=1
50}
51
52if test "$DIE" -eq 1; then
53 exit 1
54fi
55
56if test -z "$*"; 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."
60 echo
61fi
62
63case $CC in
64xlc )
65 am_opt=--include-deps;;
66esac
67
68for coin in `find $srcdir -name configure.in -print`
69do
70 dr=`dirname $coin`
71 if test -f $dr/NO-AUTO-GEN; then
72 echo skipping $dr -- flagged as no auto-gen
73 else
74 echo processing $dr
75 macrodirs=`sed -n -e 's,AM_ACLOCAL_INCLUDE(\(.*\)),\1,gp' < $coin`
76 ( cd $dr
77 aclocalinclude="$ACLOCAL_FLAGS"
78 for k in $macrodirs; do
79 if test -d $k; then
80 aclocalinclude="$aclocalinclude -I $k"
81 ##else
82 ## echo "**Warning**: No such directory \`$k'. Ignored."
83 fi
84 done
85 if grep "^AM_PROG_LIBTOOL" configure.in >/dev/null; then
86 echo "Running libtoolize..."
87 libtoolize --force --copy || abort "libtoolize"
88 fi
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"
94 fi
95 echo "Running automake --gnu $am_opt ..."
96 automake --add-missing --gnu $am_opt || abort "automake"
97 echo "Running autoconf ..."
98 autoconf || abort "autoconf"
99 )
100 fi
101done
102
103#conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
104
105if 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"
109else
110 echo Skipping configure process.
111fi
112
113
114cd data/borders/
115cd borderless
116ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-0.bits.db
117ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-0.bits.db
118ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-0.shaded-1.bits.db
119ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-0.bits.db
120ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-1.bits.db
121ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-1.bits.db
122ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-1.bits.db
123cd ..
124cd default
125#ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-0.bits.db
126ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-0.bits.db
127ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-0.shaded-1.bits.db
128ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-0.bits.db
129ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-0.shaded-1.bits.db
130ln -sf selected-0.sticky-0.shaded-0.bits.db selected-1.sticky-1.shaded-1.bits.db
131ln -sf selected-0.sticky-0.shaded-0.bits.db selected-0.sticky-1.shaded-1.bits.db
132cd ../../fonts
133ln -sf borzoib.ttf menu.ttf
134ln -sf borzoib.ttf text.ttf