svn path=/main/trunk/; revision=12589
fi
}
+hasg() {
+ local x s=$1
+ shift
+ for x ; do [[ ${x} == ${s} ]] && echo "${x}" && return 0 ; done
+ return 1
+}
econf() {
local x
local LOCAL_EXTRA_ECONF="${EXTRA_ECONF}"
CONF_LIBDIR="${!LIBDIR_VAR}"
fi
unset LIBDIR_VAR
- if [ -n "${CONF_LIBDIR}" ] && ! hasq --libdir=* "$@" ; then
+ if [ -n "${CONF_LIBDIR}" ] && ! hasg --libdir=* "$@" ; then
if [ "${*/--exec-prefix}" != "$*" ]; then
local args="$(echo $*)"
local -a pref=($(echo ${args/*--exec-prefix[= ]}))