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