Add autopoint detection
This commit is contained in:
parent
ba2bd6e40a
commit
9c51c82418
3 changed files with 12 additions and 3 deletions
|
|
@ -2,6 +2,11 @@ os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- autopoint
|
||||||
|
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
@ -15,7 +20,6 @@ cache:
|
||||||
- "$HOME/.choosenim/toolchains/nim-0.20.2"
|
- "$HOME/.choosenim/toolchains/nim-0.20.2"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
# `set -u` failed for ubuntu: /home/travis/.travis/job_stages: line 107: secure: unbound variable
|
|
||||||
- set -e
|
- set -e
|
||||||
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
||||||
- |
|
- |
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ matrix:
|
||||||
environment:
|
environment:
|
||||||
matrix:
|
matrix:
|
||||||
- NIM_VERSION: 0.19.6
|
- NIM_VERSION: 0.19.6
|
||||||
- NIM_VERSION: 0.20.0
|
- NIM_VERSION: 0.20.2
|
||||||
|
|
||||||
for:
|
for:
|
||||||
-
|
-
|
||||||
|
|
@ -54,6 +54,8 @@ for:
|
||||||
- image: Ubuntu
|
- image: Ubuntu
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
- sudo apt-get update
|
||||||
|
- sudo apt-get --yes --force-yes install liblzma-dev liblzma5 autopoint
|
||||||
- if [ ! -e /home/appveyor/binaries ]; then
|
- if [ ! -e /home/appveyor/binaries ]; then
|
||||||
echo $NIM_VERSION &&
|
echo $NIM_VERSION &&
|
||||||
mkdir /home/appveyor/binaries &&
|
mkdir /home/appveyor/binaries &&
|
||||||
|
|
|
||||||
|
|
@ -462,7 +462,10 @@ proc buildLibrary(lname, outdir, conFlags, cmakeFlags, makeFlags: string): strin
|
||||||
if findExe("aclocal").len != 0:
|
if findExe("aclocal").len != 0:
|
||||||
if findExe("autoconf").len != 0:
|
if findExe("autoconf").len != 0:
|
||||||
if findExe("libtoolize").len != 0:
|
if findExe("libtoolize").len != 0:
|
||||||
cfgCommon()
|
if findExe("autopoint").len != 0:
|
||||||
|
cfgCommon()
|
||||||
|
else:
|
||||||
|
conDepStr &= "autopoint executable missing"
|
||||||
else:
|
else:
|
||||||
conDepStr &= "libtoolize executable missing"
|
conDepStr &= "libtoolize executable missing"
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue