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