File: reconfig

package info (click to toggle)
libccaudio 1.2.0-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,744 kB
  • ctags: 347
  • sloc: sh: 8,047; cpp: 2,638; makefile: 134; ansic: 8
file content (53 lines) | stat: -rwxr-xr-x 1,353 bytes parent folder | download
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
49
50
51
52
53
#!/bin/sh
#
# Copyright (C) 2006 Free Software Foundation.
#  
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without 
# modifications, as long as this notice is preserved.
# 
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

if test -f configure ; then  configured="yes" ; else configured="no" ; fi

if test -x /usr/bin/glibtoolize ; then
        glibtoolize --copy --force
else
        libtoolize --copy --force
fi

ACLOCALDIRS="-I m4"
if [ -d ~/share/aclocal ] ; then
    ACLOCALDIRS="$ACLOCALDIRS -I ~/share/aclocal"
elif [ -d /usr/local/share/aclocal ] ; then
    ACLOCALDIRS="$ACLOCALDIRS -I /usr/local/share/aclocal"
fi


if test ! -z "$1" ; then
        ver=$1
else
        for v in 2.53 2.57 ; do
                if test -f /usr/bin/autoconf-$v ; then
                        ver=$v
                fi
        done
fi

aclocal $ACLOCALDIRS
if test -f /usr/bin/autoheader-$ver ; then
        /usr/bin/autoheader-$ver
else
        autoheader
fi
automake --add-missing --copy
if test -f /usr/bin/autoconf-$ver ; then
        /usr/bin/autoconf-$ver
else
        autoconf
fi
rm -f config.cache