-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
40 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
const string version_string = "?-1.7.0"; | ||
const string version_string = "1.7.1--2-g9d4fb18"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/bin/sh | ||
# This script was automatically generated by ACR v1.6.2 | ||
# This script was automatically generated by ACR v1.9.4 | ||
# @author: pancake <nopcode.org> | ||
# @url: http://www.nopcode.org | ||
# @repo: git clone https://github.com/radare/acr | ||
|
@@ -41,6 +41,11 @@ shift | |
done | ||
} | ||
|
||
QUIET=0 | ||
be_quiet() { | ||
QUIET=1 | ||
} | ||
|
||
VPATH=`dirname ${0}` | ||
if [ "${VPATH}" = "." ]; then | ||
WODIS=current | ||
|
@@ -64,6 +69,7 @@ if [ -e "${VPATH}/config.guess" ]; then | |
fi | ||
CPU="`uname -m|sed -e 's, ,,g'|cut -d - -f 1`" | ||
OS="`uname -s|tr A-Z a-z`" | ||
uname -r | grep -qE "(Microsoft|WSL)" 2>/dev/null && OS="wsl" | ||
GNU="`uname --help 2>&1 | grep gnu`" | ||
[ "${GNU}" ] && OS="${OS}-gnu" | ||
[ "${CPU}" = ppc ] && CPU="powerpc" | ||
|
@@ -104,12 +110,12 @@ done | |
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s} | ||
: ${INSTALL_MAN:=${INSTALL} -m 444} | ||
: ${INSTALL_LIB:=${INSTALL} -m 755 -c} | ||
PKGNAME='valabind' ; VERSION='1.7.1' ; CONTACT_MAIL="[email protected]" ; CONTACT_NAME="pancake" ; CONTACT="pancake <[email protected]>" ; | ||
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]>" ; | ||
} | ||
|
||
show_usage() { | ||
cat <<EOF2 | ||
'configure' configures valabind-1.7.1 to adapt to many kinds of systems. | ||
'configure' configures valabind-1.7.2 to adapt to many kinds of systems. | ||
Usage: ./configure [OPTION]... [VAR=VALUE]... | ||
|
@@ -121,6 +127,7 @@ Defaults for the options are specified in brackets. | |
Configuration: | ||
-h, --help display this help and exit | ||
-r, --report show what libs/programs require to work | ||
-q, --quiet be less verbose | ||
-V, --version display version information and exit | ||
Installation directories: | ||
|
@@ -180,8 +187,22 @@ take_environ() { | |
: ${PREFIX:=/usr/local/} | ||
} | ||
|
||
ochof() { | ||
[ "$QUIET" = 1 ] && return | ||
printf "$*" | ||
} | ||
|
||
ocho() { | ||
[ "$QUIET" = 1 ] && return | ||
echo "$*" | ||
} | ||
|
||
show_version() { | ||
echo "valabind-1.7.1 configuration script done with acr v1.6.2. | ||
if [ "$QUIET" = 1 ]; then | ||
echo "1.7.2" | ||
exit 0 | ||
fi | ||
echo "valabind-1.7.2 configuration script done with acr v1.9.4. | ||
The 'Free Software Foundation' message is only for autodetection. | ||
Originally written by pancake <nopcode.org>." | ||
exit 0 | ||
|
@@ -201,11 +222,16 @@ fi | |
case $flag in | ||
-h|--help|--hel|--h|--he|-help) | ||
show_usage ; ;; | ||
-qV|-quiet-version|--quiet-version) | ||
be_quiet | ||
show_version ; ;; | ||
-q|-quiet|--quiet) | ||
be_quiet ; ;; | ||
-V|-version|--version) | ||
show_version ; ;; | ||
-r|--r|--report) | ||
echo "PKGNAME: valabind" | ||
echo "VERSION: 1.7.1" | ||
echo "VERSION: 1.7.2" | ||
echo "LANGS: c vala" | ||
echo "FLAGS: --with-vala=vala --with-valac=valac" | ||
exit 0 | ||
|
@@ -272,19 +298,19 @@ parse_options "$1" | |
shift | ||
done | ||
|
||
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" | ||
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" | ||
|
||
create_environ | ||
|
||
echo "checking build system type... ${BUILD}" | ||
echo "checking host system type... ${HOST}" | ||
echo "checking target system type... ${TARGET}" | ||
ocho "checking build system type... ${BUILD}" | ||
ocho "checking host system type... ${HOST}" | ||
ocho "checking target system type... ${TARGET}" | ||
[ "${CROSSBUILD}" = 1 ] && echo "using crosscompilation mode." | ||
|
||
#split_host BUILD HOST TARGET | ||
[ -n "${prefix}" ] && PREFIX="${prefix}" | ||
echo "checking for working directories... ${WODIS}" | ||
echo "using prefix '${PREFIX}'" | ||
ocho "checking for working directories... ${WODIS}" | ||
ocho "using prefix '${PREFIX}'" | ||
ACR_RMFILES=" test.c a.out a.exe .test.vala .test" | ||
|
||
|
||
|
@@ -350,7 +376,7 @@ if [ -f "${VPATH}/${A}.acr" ]; then | |
exit 1 | ||
fi | ||
fi | ||
echo "creating ${SD_TARGET}" | ||
ocho "creating ${SD_TARGET}" | ||
mkdir -p $(echo ${A} | sed -e "s,/`basename ${A}`$,,g") | ||
cat ${VPATH}/${SD_TARGET}.acr | \ | ||
eval sed -e "s,@VPATH@,${VPATH}/${A},g" ${SEDFLAGS} > ${SD_TARGET}.tmp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
PKGNAME valabind | ||
VERSION 1.7.1 | ||
VERSION 1.7.2 | ||
CONTACT pancake ; [email protected] | ||
|
||
LANG_C! | ||
|