blob: fa28623ef080b2fce04a58ca2bebe2358fde4c91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#!/bin/sh
#
# part of libopenraw
#
topsrcdir=`dirname $0`
if test x$topsrcdir = x ; then
topsrcdir=.
fi
builddir=`pwd`
AUTOCONF=autoconf
if test -x /usr/bin/glibtool ; then
LIBTOOL=glibtool
else
LIBTOOL=libtool
fi
if test -x /usr/bin/glibtoolize ; then
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi
AUTOMAKE=automake
ACLOCAL=aclocal
cd $topsrcdir
rm -f autogen.err
$LIBTOOLIZE --force
$ACLOCAL -I m4 >> autogen.err 2>&1
autoheader --force
$AUTOMAKE --add-missing --copy --foreign
$AUTOCONF
cd $builddir
if test -z "$*"; then
echo "I am going to run ./configure with --enable-maintainer-mode"
echo "If you wish to pass any to it, please specify them on "
echo "the $0 command line."
fi
echo "Running configure..."
$topsrcdir/configure --enable-maintainer-mode "$@"
|