diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index fe1f3509..7e9a52b6 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -20,8 +20,8 @@ | |||
20 | # Process this file with autoconf to produce a configure script. | 20 | # Process this file with autoconf to produce a configure script. |
21 | # | 21 | # |
22 | AC_PREREQ(2.61) | 22 | AC_PREREQ(2.61) |
23 | AC_INIT([gnunet-gtk],[0.9.0],[bug-gnunet@gnu.org]) | 23 | AC_INIT([GNUnet GTK],m4_esyscmd([contrib/get_version.sh .version | tr -d '\n']),[bug-gnunet@gnu.org],[gnunet-gtk]) |
24 | AM_INIT_AUTOMAKE([gnunet-gtk], [0.9.0]) | 24 | AM_INIT_AUTOMAKE([silent-rules]) |
25 | AM_CONFIG_HEADER(gnunet_gtk_config.h) | 25 | AM_CONFIG_HEADER(gnunet_gtk_config.h) |
26 | 26 | ||
27 | AH_TOP([#define _GNU_SOURCE 1]) | 27 | AH_TOP([#define _GNU_SOURCE 1]) |
@@ -358,6 +358,11 @@ AC_DEFINE_DIR([PACKAGE_DATA], [datarootdir], [The directory for installing read- | |||
358 | packagesrcdir=`cd $srcdir && pwd` | 358 | packagesrcdir=`cd $srcdir && pwd` |
359 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) | 359 | AC_DEFINE_UNQUOTED(PACKAGE_SOURCE_DIR, "${packagesrcdir}", [source dir]) |
360 | 360 | ||
361 | AC_SUBST(GNUNET_FS_GTK_NAME, $PACKAGE_NAME, [name of the program]) | ||
362 | AC_SUBST(GNUNET_FS_GTK_VERSION3, $PACKAGE_VERSION, [version of the program]) | ||
363 | AC_SUBST(GNUNET_FS_GTK_YEARFROM, [2010], [year of the first release]) | ||
364 | AC_SUBST(GNUNET_FS_GTK_YEARTO, [$(date | sed -e 's/.* \([[[:digit:]]]\+\)$/\1/')], [year of the most current release]) | ||
365 | |||
361 | AC_OUTPUT([ | 366 | AC_OUTPUT([ |
362 | Makefile | 367 | Makefile |
363 | contrib/Makefile | 368 | contrib/Makefile |
@@ -374,4 +379,5 @@ po/Makefile.in | |||
374 | po/Makefile | 379 | po/Makefile |
375 | gnunet-fs-gtk.desktop | 380 | gnunet-fs-gtk.desktop |
376 | gnunet-setup.desktop | 381 | gnunet-setup.desktop |
382 | contrib/gnunet_fs_gtk_about_window.glade | ||
377 | ]) | 383 | ]) |