Skip to content

Commit 5f799a2

Browse files
committed
Relase 1.7.2
1 parent 7f16dae commit 5f799a2

File tree

3 files changed

+40
-14
lines changed

3 files changed

+40
-14
lines changed

config.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
const string version_string = "?-1.7.0";
1+
const string version_string = "1.7.1--2-g9d4fb18";

configure

Lines changed: 38 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/sh
2-
# This script was automatically generated by ACR v1.6.2
2+
# This script was automatically generated by ACR v1.9.4
33
# @author: pancake <nopcode.org>
44
# @url: http://www.nopcode.org
55
# @repo: git clone https://github.com/radare/acr
@@ -41,6 +41,11 @@ shift
4141
done
4242
}
4343

44+
QUIET=0
45+
be_quiet() {
46+
QUIET=1
47+
}
48+
4449
VPATH=`dirname ${0}`
4550
if [ "${VPATH}" = "." ]; then
4651
WODIS=current
@@ -64,6 +69,7 @@ if [ -e "${VPATH}/config.guess" ]; then
6469
fi
6570
CPU="`uname -m|sed -e 's, ,,g'|cut -d - -f 1`"
6671
OS="`uname -s|tr A-Z a-z`"
72+
uname -r | grep -qE "(Microsoft|WSL)" 2>/dev/null && OS="wsl"
6773
GNU="`uname --help 2>&1 | grep gnu`"
6874
[ "${GNU}" ] && OS="${OS}-gnu"
6975
[ "${CPU}" = ppc ] && CPU="powerpc"
@@ -104,12 +110,12 @@ done
104110
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s}
105111
: ${INSTALL_MAN:=${INSTALL} -m 444}
106112
: ${INSTALL_LIB:=${INSTALL} -m 755 -c}
107-
PKGNAME='valabind' ; VERSION='1.7.1' ; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ;
113+
PKGNAME='valabind' ; VERSION='1.7.2' ; VERSION_MAJOR=1; VERSION_MINOR=7; VERSION_PATCH=2; VERSION_NUMBER=10702; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ;
108114
}
109115

110116
show_usage() {
111117
cat <<EOF2
112-
'configure' configures valabind-1.7.1 to adapt to many kinds of systems.
118+
'configure' configures valabind-1.7.2 to adapt to many kinds of systems.
113119
114120
Usage: ./configure [OPTION]... [VAR=VALUE]...
115121
@@ -121,6 +127,7 @@ Defaults for the options are specified in brackets.
121127
Configuration:
122128
-h, --help display this help and exit
123129
-r, --report show what libs/programs require to work
130+
-q, --quiet be less verbose
124131
-V, --version display version information and exit
125132
126133
Installation directories:
@@ -180,8 +187,22 @@ take_environ() {
180187
: ${PREFIX:=/usr/local/}
181188
}
182189

190+
ochof() {
191+
[ "$QUIET" = 1 ] && return
192+
printf "$*"
193+
}
194+
195+
ocho() {
196+
[ "$QUIET" = 1 ] && return
197+
echo "$*"
198+
}
199+
183200
show_version() {
184-
echo "valabind-1.7.1 configuration script done with acr v1.6.2.
201+
if [ "$QUIET" = 1 ]; then
202+
echo "1.7.2"
203+
exit 0
204+
fi
205+
echo "valabind-1.7.2 configuration script done with acr v1.9.4.
185206
The 'Free Software Foundation' message is only for autodetection.
186207
Originally written by pancake <nopcode.org>."
187208
exit 0
@@ -201,11 +222,16 @@ fi
201222
case $flag in
202223
-h|--help|--hel|--h|--he|-help)
203224
show_usage ; ;;
225+
-qV|-quiet-version|--quiet-version)
226+
be_quiet
227+
show_version ; ;;
228+
-q|-quiet|--quiet)
229+
be_quiet ; ;;
204230
-V|-version|--version)
205231
show_version ; ;;
206232
-r|--r|--report)
207233
echo "PKGNAME: valabind"
208-
echo "VERSION: 1.7.1"
234+
echo "VERSION: 1.7.2"
209235
echo "LANGS: c vala"
210236
echo "FLAGS: --with-vala=vala --with-valac=valac"
211237
exit 0
@@ -272,19 +298,19 @@ parse_options "$1"
272298
shift
273299
done
274300

275-
ENVWORDS="MANDIR INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU PKGNAME VPATH VERSION CONTACT CONTACT_NAME CONTACT_MAIL CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C VALA VALAC"
301+
ENVWORDS="MANDIR INFODIR LIBDIR INCLUDEDIR LOCALSTATEDIR SYSCONFDIR DATADIR DOCDIR LIBEXECDIR SBINDIR BINDIR EPREFIX PREFIX SPREFIX TARGET HOST BUILD INSTALL INSTALL_LIB INSTALL_MAN INSTALL_PROGRAM INSTALL_PROGRAM_STRIP INSTALL_DIR INSTALL_SCRIPT INSTALL_DATA HOST_OS HOST_CPU BUILD_OS BUILD_CPU TARGET_OS TARGET_CPU VERSION VERSION_MAJOR VERSION_MINOR VERSION_PATCH VERSION_NUMBER PKGNAME VPATH CONTACT CONTACT_NAME CONTACT_MAIL CC CFLAGS CPPFLAGS LDFLAGS HAVE_LANG_C VALA VALAC"
276302

277303
create_environ
278304

279-
echo "checking build system type... ${BUILD}"
280-
echo "checking host system type... ${HOST}"
281-
echo "checking target system type... ${TARGET}"
305+
ocho "checking build system type... ${BUILD}"
306+
ocho "checking host system type... ${HOST}"
307+
ocho "checking target system type... ${TARGET}"
282308
[ "${CROSSBUILD}" = 1 ] && echo "using crosscompilation mode."
283309

284310
#split_host BUILD HOST TARGET
285311
[ -n "${prefix}" ] && PREFIX="${prefix}"
286-
echo "checking for working directories... ${WODIS}"
287-
echo "using prefix '${PREFIX}'"
312+
ocho "checking for working directories... ${WODIS}"
313+
ocho "using prefix '${PREFIX}'"
288314
ACR_RMFILES=" test.c a.out a.exe .test.vala .test"
289315

290316

@@ -350,7 +376,7 @@ if [ -f "${VPATH}/${A}.acr" ]; then
350376
exit 1
351377
fi
352378
fi
353-
echo "creating ${SD_TARGET}"
379+
ocho "creating ${SD_TARGET}"
354380
mkdir -p $(echo ${A} | sed -e "s,/`basename ${A}`$,,g")
355381
cat ${VPATH}/${SD_TARGET}.acr | \
356382
eval sed -e "s,@VPATH@,${VPATH}/${A},g" ${SEDFLAGS} > ${SD_TARGET}.tmp

configure.acr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PKGNAME valabind
2-
VERSION 1.7.1
2+
VERSION 1.7.2
33
CONTACT pancake ; [email protected]
44

55
LANG_C!

0 commit comments

Comments
 (0)