Skip to content

Commit

Permalink
Release 1.5 - fix chkinc regression
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Feb 14, 2018
1 parent 8e0f60d commit 53bd9bc
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions configure
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# This script was automatically generated by ACR v1.4
# This script was automatically generated by ACR v1.5
# @author: pancake <nopcode.org>
# @url: http://www.nopcode.org
# @repo: git clone https://github.com/radare/acr
Expand Down Expand Up @@ -102,12 +102,12 @@ done
: ${INSTALL_PROGRAM_STRIP:=${INSTALL} -m 755 -s}
: ${INSTALL_MAN:=${INSTALL} -m 444}
: ${INSTALL_LIB:=${INSTALL} -m 755 -c}
PKGNAME='acr' ; VERSION='1.4' ; CONTACT_MAIL="@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <@nopcode.org>" ;
PKGNAME='acr' ; VERSION='1.5' ; CONTACT_MAIL="@nopcode.org" ; CONTACT_NAME="pancake" ; CONTACT="pancake <@nopcode.org>" ;
}

show_usage() {
cat <<EOF2
'configure' configures acr-1.4 to adapt to many kinds of systems.
'configure' configures acr-1.5 to adapt to many kinds of systems.
Usage: ./configure [OPTION]... [VAR=VALUE]...
Expand Down Expand Up @@ -159,7 +159,7 @@ take_environ() {
}

show_version() {
echo "acr-1.4 configuration script done with acr v1.4.
echo "acr-1.5 configuration script done with acr v1.5.
The 'Free Software Foundation' message is only for autodetection.
Originally written by pancake <nopcode.org>."
exit 0
Expand All @@ -183,7 +183,7 @@ case $flag in
show_version ; ;;
-r|--r|--report)
echo "PKGNAME: acr"
echo "VERSION: 1.4"
echo "VERSION: 1.5"
exit 0
;;
--cache-file)
Expand Down Expand Up @@ -335,7 +335,7 @@ echo " - ${A} = ${VAL}"
done
#ACR# (( package information ))
#ACR# PKGNAME acr
#ACR# VERSION 1.4
#ACR# VERSION 1.5
#ACR# CONTACT pancake ; @nopcode.org
#ACR#
#ACR# (( needed programs ))
Expand Down
2 changes: 1 addition & 1 deletion configure.acr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(( package information ))
PKGNAME acr
VERSION 1.4
VERSION 1.5
CONTACT pancake ; @nopcode.org

(( needed programs ))
Expand Down
10 changes: 5 additions & 5 deletions src/acr-sh
Original file line number Diff line number Diff line change
Expand Up @@ -938,14 +938,15 @@ VAR=${S}1
INC=${S}2
_REQUIRED=${S}3
printf \"checking for ${S}2... \"
echo > test.c"
echo > test.c
"
for A in `echo ${S}{INC} | sed -e 's,+, ,g'`; do
SCRIPT="${SCRIPT}
echo \"#include <${A}>\" >>test.c"
done
SCRIPT=`cat <<EOF
SCRIPT="
${SCRIPT}
echo "int main(int ac, char **av){return 0;}" >>test.c
echo 'int main(int ac, char **av){return 0;}' >>test.c
eval \\\\${S}${S}{COMPILER} ${S}{CFLAGS} ${S}{CPPFLAGS} ${S}{CXXFLAGS} test.c >/dev/null 2>&1
if [ ${S}? = 0 ]; then
eval ${S}{VAR}=1
Expand All @@ -960,8 +961,7 @@ else
fi
fi
}
EOF
`
"
_CHECK_INC=included
fi
SCRIPT="${SCRIPT}
Expand Down

0 comments on commit 53bd9bc

Please sign in to comment.