forked from maxmind/geoip-api-c
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap
More file actions
executable file
·28 lines (20 loc) · 726 Bytes
/
bootstrap
File metadata and controls
executable file
·28 lines (20 loc) · 726 Bytes
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