diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac index ed5e2492..12333db5 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -19,30 +19,27 @@ | |||
19 | # | 19 | # |
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.69]) |
23 | AC_INIT([GNUnet GTK],0.17.0,[bug-gnunet@gnu.org],[gnunet-gtk]) | 23 | AC_INIT([GNUnet GTK],[0.17.0],[bug-gnunet@gnu.org],[gnunet-gtk]) |
24 | AC_CONFIG_AUX_DIR([build-aux]) | 24 | AC_CONFIG_AUX_DIR([build-aux]) |
25 | AM_INIT_AUTOMAKE([silent-rules]) | 25 | AM_INIT_AUTOMAKE([silent-rules]) |
26 | AC_CONFIG_HEADERS([gnunet_gtk_config.h]) | 26 | AC_CONFIG_HEADERS([gnunet_gtk_config.h]) |
27 | 27 | ||
28 | AH_TOP([#define _GNU_SOURCE 1]) | 28 | AH_TOP([#define _GNU_SOURCE 1]) |
29 | 29 | ||
30 | AC_ISC_POSIX | ||
31 | AC_PROG_AWK | 30 | AC_PROG_AWK |
32 | AM_PROG_CC_C_O | 31 | AM_PROG_CC_C_O |
33 | AC_PROG_MKDIR_P | 32 | AC_PROG_MKDIR_P |
34 | AC_PROG_CPP | 33 | AC_PROG_CPP |
35 | AC_PROG_CC_C99 | 34 | AC_PROG_CC |
36 | AC_PROG_INSTALL | 35 | AC_PROG_INSTALL |
37 | AC_PROG_LN_S | 36 | AC_PROG_LN_S |
38 | AC_PROG_MAKE_SET | 37 | AC_PROG_MAKE_SET |
39 | AC_LIBTOOL_WIN32_DLL | ||
40 | AC_HEADER_STDC | ||
41 | AC_CANONICAL_HOST | 38 | AC_CANONICAL_HOST |
42 | 39 | ||
43 | # dynamic libraries/plugins | 40 | # dynamic libraries/plugins |
44 | AC_DISABLE_STATIC | 41 | AC_DISABLE_STATIC |
45 | AC_PROG_LIBTOOL | 42 | LT_INIT |
46 | 43 | ||
47 | AC_SYS_LARGEFILE | 44 | AC_SYS_LARGEFILE |
48 | AC_FUNC_FSEEKO | 45 | AC_FUNC_FSEEKO |
@@ -236,12 +233,9 @@ AC_SUBST(QR_LIBS) | |||
236 | 233 | ||
237 | AC_MSG_CHECKING(for gtk) | 234 | AC_MSG_CHECKING(for gtk) |
238 | without_gtk=true | 235 | without_gtk=true |
239 | PKG_CHECK_MODULES([GTK], [gtk+-3.0]) | 236 | PKG_CHECK_MODULES([GTK], [gtk+-3.22]) |
240 | |||
241 | AM_PATH_GTK_3_0([3.22.0],,AC_MSG_ERROR([gnunet-gtk requires GTK 3.22])) | ||
242 | |||
243 | # test for libunique | 237 | # test for libunique |
244 | AC_ARG_WITH([libunique], AC_HELP_STRING([--without-libunique], [disable libunique])) | 238 | AC_ARG_WITH([libunique], AS_HELP_STRING([--without-libunique],[disable libunique])) |
245 | have_libunique=no | 239 | have_libunique=no |
246 | AS_IF([test x$with_libunique != xno], | 240 | AS_IF([test x$with_libunique != xno], |
247 | [ | 241 | [ |
@@ -511,7 +505,7 @@ AC_SUBST(GNUNET_PEERINFO_GTK_YEARTO, ${thisyear}, [year of the most current rele | |||
511 | AC_SUBST(GNUNET_STATISTICS_GTK_YEARTO, ${thisyear}, [year of the most current release]) | 505 | AC_SUBST(GNUNET_STATISTICS_GTK_YEARTO, ${thisyear}, [year of the most current release]) |
512 | AC_SUBST(GNUNET_SETUP_GTK_YEARTO, ${thisyear}, [year of the most current release]) | 506 | AC_SUBST(GNUNET_SETUP_GTK_YEARTO, ${thisyear}, [year of the most current release]) |
513 | 507 | ||
514 | AC_OUTPUT([ | 508 | AC_CONFIG_FILES([ |
515 | Makefile | 509 | Makefile |
516 | contrib/Makefile | 510 | contrib/Makefile |
517 | doc/Makefile | 511 | doc/Makefile |
@@ -540,6 +534,7 @@ contrib/gnunet_statistics_gtk_about_window.glade | |||
540 | contrib/gnunet_setup_about_window.glade | 534 | contrib/gnunet_setup_about_window.glade |
541 | contrib/gnunet_conversation_gtk_about_window.glade | 535 | contrib/gnunet_conversation_gtk_about_window.glade |
542 | ]) | 536 | ]) |
537 | AC_OUTPUT | ||
543 | 538 | ||
544 | if test "$qrencode" != 1 | 539 | if test "$qrencode" != 1 |
545 | then | 540 | then |