~ubuntu-branches/ubuntu/natty/geany/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2011-01-08 17:29:46 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20110108172946-mm7j881jlozn0vt8
Tags: 0.20-0ubuntu1
* New upstream release
* Refresh 20_add_debian_specific_filetypes.dpatch
* Bump Breaks version for geany-plugins-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
2329
2329
 
2330
2330
# Define the identity of the package.
2331
2331
 PACKAGE=geany
2332
 
 VERSION=0.19.1
 
2332
 VERSION=0.20
2333
2333
 
2334
2334
 
2335
2335
cat >>confdefs.h <<_ACEOF
2478
2478
 
2479
2479
 
2480
2480
 
 
2481
 
2481
2482
ac_config_headers="$ac_config_headers config.h"
2482
2483
 
2483
2484
 
5659
5660
   { (exit 1); exit 1; }; }
5660
5661
fi
5661
5662
 
5662
 
#AC_PROG_RANLIB
5663
5663
# Find a good install program.  We prefer a C program (faster),
5664
5664
# so one script is as good as another.  But avoid the broken or
5665
5665
# incompatible versions:
21092
21092
 
21093
21093
 
21094
21094
 
21095
 
 
21096
 
for ac_func in gethostname ftruncate fgetpos mkstemp regcomp strerror strstr
 
21095
for ac_func in gethostname ftruncate fgetpos mkstemp strerror strstr
21097
21096
do
21098
21097
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21099
21098
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21195
21194
GIT=`which git 2>/dev/null`
21196
21195
if test -d ".git" -a "x${GIT}" != "x" -a -x "${GIT}"
21197
21196
then
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`
 
21203
        fi
21201
21204
fi
21202
21205
if test "x${REVISION}" = "xr0"
21203
21206
then
21666
21669
fi
21667
21670
 
21668
21671
 
 
21672
# auto-enable included regex if necessary
 
21673
 
 
21674
for ac_func in regcomp
 
21675
do
 
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
 
21681
else
 
21682
  cat >conftest.$ac_ext <<_ACEOF
 
21683
/* confdefs.h.  */
 
21684
_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
 
21691
 
 
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.  */
 
21696
 
 
21697
#ifdef __STDC__
 
21698
# include <limits.h>
 
21699
#else
 
21700
# include <assert.h>
 
21701
#endif
 
21702
 
 
21703
#undef $ac_func
 
21704
 
 
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.  */
 
21708
#ifdef __cplusplus
 
21709
extern "C"
 
21710
#endif
 
21711
char $ac_func ();
 
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
 
21716
choke me
 
21717
#endif
 
21718
 
 
21719
int
 
21720
main ()
 
21721
{
 
21722
return $ac_func ();
 
21723
  ;
 
21724
  return 0;
 
21725
}
 
21726
_ACEOF
 
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;;
 
21732
esac
 
21733
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21734
  (eval "$ac_link") 2>conftest.er1
 
21735
  ac_status=$?
 
21736
  grep -v '^ *+' conftest.er1 >conftest.err
 
21737
  rm -f conftest.er1
 
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"
 
21746
else
 
21747
  echo "$as_me: failed program was:" >&5
 
21748
sed 's/^/| /' conftest.$ac_ext >&5
 
21749
 
 
21750
        eval "$as_ac_var=no"
 
21751
fi
 
21752
 
 
21753
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21754
      conftest$ac_exeext conftest.$ac_ext
 
21755
fi
 
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
 
21762
_ACEOF
 
21763
 
 
21764
else
 
21765
  enable_gnu_regex="yes"
 
21766
fi
 
21767
done
 
21768
 
 
21769
 
21669
21770
if test "x$enable_gnu_regex" = "xyes" ; then
21670
21771
 
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"
 
25222
else
 
25223
        echo "GNU regex library                  : system"
 
25224
fi
 
25225
 
25119
25226
if test "${REVISION}" != "-1"
25120
25227
then
25121
25228
        echo "Compiling Subversion revision      : ${REVISION}"