File: bootstrap

package info (click to toggle)
geoip 1.6.7-2~bpo8%2B1
  • links: PTS
  • area: main
  • in suites: jessie-backports
  • size: 1,044 kB
  • sloc: ansic: 17,012; cpp: 1,522; perl: 200; makefile: 93; sh: 27; awk: 13
file content (28 lines) | stat: -rwxr-xr-x 726 bytes parent folder | download | duplicates (5)
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
#!/bin/sh

# dl the dat file if needed
DIR="$( cd "$( dirname "$0"  )" && pwd  )"

# download geolite database for the tests
mkdir -p $DIR/data
if [ ! -f $DIR/data/GeoIP.dat  ]; then
      curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gzip -d > $DIR/data/GeoIP.dat
fi

# make sure  to use the installed libtool
rm -f ltmain.sh
autoreconf -fiv

###################################################
# the steps below may help with outdated toolsets

# disable dependency trackeing for OS X with multiply arch option's
# automake -i --gnu --add-missing


#aclocal \
#&& automake -i --gnu --add-missing \
#&& autoconf

#LIBTOOLIZE=$( which libtoolize glibtoolize | head -1 )
#$LIBTOOLIZE -f