mirror of
https://github.com/omar-polo/gmid.git
synced 2024-09-27 21:11:51 +02:00
get rid of which
in the configure too
should have been done already in 12fcba2; reminded by Allen Sobot, thanks!
This commit is contained in:
parent
5f966fbe41
commit
9db5e7051e
6
configure
vendored
6
configure
vendored
@ -72,7 +72,7 @@ add_library() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# try to auto detect CFLAGS and LDFLAGS
|
# try to auto detect CFLAGS and LDFLAGS
|
||||||
if which pkg-config 2>/dev/null 1>&2; then
|
if command -v pkg-config >/dev/null; then
|
||||||
add_library "libtls"
|
add_library "libtls"
|
||||||
add_library "openssl"
|
add_library "openssl"
|
||||||
|
|
||||||
@ -96,11 +96,11 @@ if which pkg-config 2>/dev/null 1>&2; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# auto detect yacc/bison
|
# auto detect yacc/bison
|
||||||
which ${YACC} 2>/dev/null 1>&2 || {
|
command -v ${YACC} >/dev/null || {
|
||||||
echo "${YACC} not found: trying bison" 1>&2
|
echo "${YACC} not found: trying bison" 1>&2
|
||||||
echo "${YACC} not found: trying bison" 1>&3
|
echo "${YACC} not found: trying bison" 1>&3
|
||||||
YACC=bison
|
YACC=bison
|
||||||
which ${YACC} 2>/dev/null 1>&2 || {
|
command -v ${YACC} >/dev/null || {
|
||||||
echo "${YACC} not found: giving up" 1>&2
|
echo "${YACC} not found: giving up" 1>&2
|
||||||
echo "${YACC} not found: giving up" 1>&3
|
echo "${YACC} not found: giving up" 1>&3
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user