21195
21194
GIT=`which git 2>/dev/null`
21196
21195
if test -d ".git" -a "x${GIT}" != "x" -a -x "${GIT}"
21198
REVISION=r`git svn find-rev origin/trunk 2>/dev/null ||
21197
# check for git-svn repo first - find-rev (v1.5.4.1) doesn't always fail with git-only repo
21198
git svn info &>/dev/null
21199
if test "x$?" == "x0"; then
21200
REVISION=r`git svn find-rev origin/trunk 2>/dev/null ||
21199
21201
git svn find-rev trunk 2>/dev/null || git svn find-rev HEAD 2>/dev/null ||
21200
21202
git svn find-rev master 2>/dev/null || echo 0`
21202
21205
if test "x${REVISION}" = "xr0"
21672
# auto-enable included regex if necessary
21674
for ac_func in regcomp
21676
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21677
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21678
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21679
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21680
echo $ECHO_N "(cached) $ECHO_C" >&6
21682
cat >conftest.$ac_ext <<_ACEOF
21685
cat confdefs.h >>conftest.$ac_ext
21686
cat >>conftest.$ac_ext <<_ACEOF
21687
/* end confdefs.h. */
21688
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21689
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21690
#define $ac_func innocuous_$ac_func
21692
/* System header to define __stub macros and hopefully few prototypes,
21693
which can conflict with char $ac_func (); below.
21694
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21695
<limits.h> exists even on freestanding compilers. */
21698
# include <limits.h>
21700
# include <assert.h>
21705
/* Override any GCC internal prototype to avoid an error.
21706
Use char because int might match the return type of a GCC
21707
builtin and then its argument prototype would still apply. */
21712
/* The GNU C library defines this for functions which it implements
21713
to always fail with ENOSYS. Some functions are actually named
21714
something starting with __ and the normal name is an alias. */
21715
#if defined __stub_$ac_func || defined __stub___$ac_func
21722
return $ac_func ();
21727
rm -f conftest.$ac_objext conftest$ac_exeext
21728
if { (ac_try="$ac_link"
21729
case "(($ac_try" in
21730
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21731
*) ac_try_echo=$ac_try;;
21733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21734
(eval "$ac_link") 2>conftest.er1
21736
grep -v '^ *+' conftest.er1 >conftest.err
21738
cat conftest.err >&5
21739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740
(exit $ac_status); } && {
21741
test -z "$ac_c_werror_flag" ||
21742
test ! -s conftest.err
21743
} && test -s conftest$ac_exeext &&
21744
$as_test_x conftest$ac_exeext; then
21745
eval "$as_ac_var=yes"
21747
echo "$as_me: failed program was:" >&5
21748
sed 's/^/| /' conftest.$ac_ext >&5
21750
eval "$as_ac_var=no"
21753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21754
conftest$ac_exeext conftest.$ac_ext
21756
ac_res=`eval echo '${'$as_ac_var'}'`
21757
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21758
echo "${ECHO_T}$ac_res" >&6; }
21759
if test `eval echo '${'$as_ac_var'}'` = yes; then
21760
cat >>confdefs.h <<_ACEOF
21761
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21765
enable_gnu_regex="yes"
21669
21770
if test "x$enable_gnu_regex" = "xyes" ; then
21671
21772
cat >>confdefs.h <<\_ACEOF
25116
25217
echo "Build with plugin support : ${enable_plugins}"
25117
25218
echo "Use virtual terminal support : ${want_vte}"
25118
25219
echo "Use (UNIX domain) socket support : ${want_socket}"
25220
if test "x$enable_gnu_regex" = "xyes" ; then
25221
echo "GNU regex library : built-in"
25223
echo "GNU regex library : system"
25119
25226
if test "${REVISION}" != "-1"
25121
25228
echo "Compiling Subversion revision : ${REVISION}"