Kaydet (Commit) fd0cfdf7 authored tarafından Enrico Tröger's avatar Enrico Tröger

fixed svn code


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@409 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst c384e233
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
* README, NEWS: updated for Geany 0.7 * README, NEWS: updated for Geany 0.7
* src/keybindings.c: changed default keybinding for menu_replace to * src/keybindings.c: changed default keybinding for menu_replace to
Ctrl+E Ctrl+E
* new release: Geany 0.7 "Ravik"
* configure.in: fixed svn detection code, changed version to 0.8
2006-06-03 Enrico Troeger <enrico.troeger@uvena.de> 2006-06-03 Enrico Troeger <enrico.troeger@uvena.de>
......
...@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script. ...@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
dnl $Id$ dnl $Id$
AC_INIT(configure.in) AC_INIT(configure.in)
AM_INIT_AUTOMAKE(geany, 0.7) AM_INIT_AUTOMAKE(geany, 0.8)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
...@@ -55,14 +55,12 @@ AC_CHECK_FUNCS([gethostname ftruncate fgetpos getcwd gettimeofday isascii mblen ...@@ -55,14 +55,12 @@ AC_CHECK_FUNCS([gethostname ftruncate fgetpos getcwd gettimeofday isascii mblen
# get svn revision # get svn revision
SVN=`which svn` SVN=`which svn`
case "x$SVN" in if test -d ".svn" -a -x "${SVN}"
x|xno) then
REVISION="-1" REVISION=r`$SVN info|grep 'Last Changed Rev'|cut -d' ' -f4`
;; else
*) REVISION="-1"
REVISION=r`$SVN info|grep 'Last Changed Rev'|cut -d' ' -f4` fi
;;
esac
AC_DEFINE_UNQUOTED([REVISION], "$REVISION", [subversion revision number]) AC_DEFINE_UNQUOTED([REVISION], "$REVISION", [subversion revision number])
# GTK checks # GTK checks
...@@ -156,6 +154,10 @@ echo "Install Geany in : ${prefix}" ...@@ -156,6 +154,10 @@ echo "Install Geany in : ${prefix}"
echo "Using GTK version : ${GTK_VERSION}" echo "Using GTK version : ${GTK_VERSION}"
echo "Use virtual terminal support : ${want_vte}" echo "Use virtual terminal support : ${want_vte}"
echo "Use named pipe support : ${want_pipe}" echo "Use named pipe support : ${want_pipe}"
if test "${REVISION}" != "-1"
then
echo "Compiling Subversion revision : ${REVISION}"
fi
echo "" echo ""
echo "Configuration is done OK." echo "Configuration is done OK."
echo "" echo ""
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment