"Fossies" - the Fresh Open Source Software Archive

Member "klavaro-3.13/configure.ac" (6 Jun 2021, 2348 Bytes) of package /linux/privat/klavaro-3.13.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 3.12_vs_3.13.

    1 dnl Process this file with autoconf to produce a configure script.
    2 
    3 AC_PREREQ([2.69])
    4 AC_INIT([klavaro],[3.13],[fefcas.at.gmail.com])
    5 
    6 AC_CONFIG_HEADERS([config.h])
    7 AC_CONFIG_SRCDIR([config.h.in])
    8 AC_CONFIG_MACRO_DIR([m4])
    9 AC_CONFIG_AUX_DIR([build-aux])
   10 AC_SEARCH_LIBS([strerror],[cposix])
   11 AC_PROG_CC
   12 AC_PROG_CXX
   13 AC_PROG_INSTALL
   14 AC_PROG_MAKE_SET
   15 IT_PROG_INTLTOOL
   16 
   17 AM_INIT_AUTOMAKE([-Wall tar-ustar])
   18 # Support silent build rules. Disable by either passing
   19 # --disable-silent-rules to configure or passing V=1 to make
   20 AM_SILENT_RULES([yes])
   21 AM_PROG_AR
   22 LT_INIT([win32-dll])
   23 
   24 PKG_CHECK_MODULES(GTKDATABOX, [gtkdatabox >= 1.0.0],,AC_MSG_ERROR([please install GtkDatabox found at https://gtkdatabox.sourceforge.io/]))
   25 AC_SUBST(GTKDATABOX_CFLAGS)
   26 AC_SUBST(GTKDATABOX_LIBS)
   27 AC_CHECK_HEADERS([libintl.h curl/curl.h gtkdatabox.h])
   28 AC_CHECK_LIB([gtkdatabox], [gtk_databox_new])
   29 
   30 m4_define([gtk_required_version], [3.12.0])
   31 m4_define([pango_required_version], [1.32.4])
   32 m4_define([cairo_required_version], [1.12.0])
   33 
   34 PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= [gtk_required_version]])
   35 PKG_CHECK_MODULES(GDK, [gdk-3.0 >= [gtk_required_version]])
   36 PKG_CHECK_MODULES(PANGO, [pango >= [pango_required_version]])
   37 PKG_CHECK_MODULES(CAIRO, [cairo >= [cairo_required_version]])
   38 AC_SUBST(GTK_CFLAGS)
   39 AC_SUBST(GTK_LIBS)
   40 
   41 AC_CHECK_LIB([curl], [curl_global_init])
   42 AC_CHECK_LIB([m], [sqrt])
   43 
   44 GETTEXT_PACKAGE=klavaro
   45 AC_SUBST(GETTEXT_PACKAGE)
   46 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
   47 AC_DEFINE(ENABLE_NLS,"1",[enable nls])
   48 
   49 AM_CONDITIONAL(IS_WIN, test `uname -o` = "Msys")
   50 AM_CONDITIONAL(IS_POSIX, test  `uname -o` != "Msys" -a `uname -o` != "Darwin")
   51 
   52 AC_CONFIG_FILES([Makefile
   53 		src/Makefile
   54 		po/Makefile.in
   55 		doc/Makefile
   56 		data/Makefile
   57 		data/icons/Makefile
   58 		data/icons/hicolor/Makefile
   59 		data/icons/hicolor/16x16/Makefile
   60 		data/icons/hicolor/16x16/apps/Makefile
   61 		data/icons/hicolor/22x22/Makefile
   62 		data/icons/hicolor/22x22/apps/Makefile
   63 		data/icons/hicolor/24x24/Makefile
   64 		data/icons/hicolor/24x24/apps/Makefile
   65 		data/icons/hicolor/32x32/Makefile
   66 		data/icons/hicolor/32x32/apps/Makefile
   67 		data/icons/hicolor/48x48/Makefile
   68 		data/icons/hicolor/48x48/apps/Makefile
   69 		data/icons/hicolor/64x64/Makefile
   70 		data/icons/hicolor/64x64/apps/Makefile
   71 		data/icons/hicolor/96x96/Makefile
   72 		data/icons/hicolor/96x96/apps/Makefile
   73 ])
   74 AC_OUTPUT
   75