1 dnl Process this file with autoconf to produce a configure script. -*- Autoconf
4 dnl This file is a part of Geeqie project (http://www.geeqie.org/).
5 dnl Copyright (C) 2008 - 2018 The Geeqie Team
7 dnl This program is free software; you can redistribute it and/or modify
8 dnl it under the terms of the GNU General Public License as published by
9 dnl the Free Software Foundation; either version 2 of the License, or
10 dnl (at your option) any later version.
12 dnl This program is distributed in the hope that it will be useful,
13 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
14 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 dnl GNU General Public License for more details.
18 AC_INIT([geeqie], m4_translit(m4_esyscmd([if [ $(git tag --list 'v[1-9]*' --points-at HEAD | wc -c) -gt 0 ]; then git tag --list v[1-9]* --points-at HEAD | tail -n 1 | tr -d 'v' ; else git tag --list v[1-9]* | tail -n 1 | tr -d 'v' && echo "+git" && git log --max-count=1 --date=format:"%Y%m%d" --format="%ad" && echo "-" && git rev-parse --quiet --verify --short HEAD; fi ]), m4_newline), [geeqie@freelists.org], [], [http://www.geeqie.org/])
20 # Add -Werror to the default CFLAGS
21 CFLAGS+=" -Werror -Wno-error=deprecated-declarations -Wno-error=sign-compare -Wno-error=return-type"
23 # Check for rightly dirs
24 AC_CONFIG_SRCDIR([src/main.c])
26 AC_CONFIG_AUX_DIR(auxdir)
27 # Require Automake 1.14 for %reldir% support
28 AM_INIT_AUTOMAKE([1.14.1 subdir-objects foreign dist-xz no-dist-gzip tar-ustar])
30 AC_CONFIG_HEADER([config.h])
35 # Silent build for automake >= 1.11
36 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
38 AC_ARG_ENABLE(developer, [
40 AC_HELP_STRING([--enable-developer], [turn on developers mode [default=no]])],
45 if test "x${enable_developer}" != "xyes"
62 DX_INIT_DOXYGEN($PACKAGE_NAME, doxygen.conf, doc/doxygen)
65 # ----------------------------------------------------------------------
68 dnl FIXME: official release convert default to 'no'
71 AC_ARG_ENABLE([debug-flags], [
73 AC_HELP_STRING([--enable-debug-flags], [use compiler flags for debugging [default=no]])], [],
75 if test "x${enable_developer}" != "xyes"
77 enable_debug_flags="no"
79 enable_debug_flags="yes"
83 AC_ARG_ENABLE([debug-log], [
85 AC_HELP_STRING([--enable-debug-log], [enable debugging messages [default=yes]])], [], [enable_debug_log="yes"])
87 if test "x${enable_debug_flags}" != "xno"
89 if test "x${enable_developer}" = "xyes"
91 CXXFLAGS="${CXXFLAGS} -Wall"
92 CFLAGS="${CFLAGS} -Wstrict-prototypes -Wall"
94 __COMMONFLAGS="-g -O0 -Wextra -Wunused-value -Wunused-variable -Wunused-function -Wunused-label -Wcomment -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wstrict-aliasing -Wno-unused-parameter -Wformat -Wformat-security -DGQ_DEBUG_PATH_UTF8=1"
95 CXXFLAGS="${CXXFLAGS} ${__COMMONFLAGS}"
96 CFLAGS="${CFLAGS} ${__COMMONFLAGS} -Wimplicit-int -Werror-implicit-function-declaration"
102 if test "x${enable_debug_log}" != "xno"
104 AC_DEFINE(DEBUG,1,[Defined if Geeqie is compiled with debugging messages support])
110 AM_CONDITIONAL(DEBUG, test x$enable_debug_flags = xyes)
112 AC_ARG_ENABLE(deprecated, [
113 AC_HELP_STRING([--enable-deprecated], [turn off checking of deprecated functions [default=yes]])], [],
115 if test "x${enable_developer}" != "xyes"
117 enable_deprecated="no"
119 enable_deprecated="yes"
123 if test "x${enable_deprecated}" != "xno"
125 CXXFLAGS="${CXXFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
126 CFLAGS="${CFLAGS} -DGTK_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGDK_PIXBUF_DISABLE_DEPRECATED=1 -DG_DISABLE_DEPRECATED=1"
140 IT_PROG_INTLTOOL([0.35.0])
143 dnl checks for functions
144 AC_CHECK_FUNCS(strverscmp access fsync fflush)
147 # Check target architecture
150 AC_MSG_CHECKING([for some Win32 platform])
154 AC_DEFINE(PLATFORM_WIN32, 1, [Build on win32 OS])
160 AC_MSG_RESULT([$platform_win32])
161 AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
163 AC_MSG_CHECKING([for native Win32])
167 AC_DEFINE(OS_WIN32, 1, [Build on native win32 OS])
177 AC_MSG_RESULT([$os_win32])
179 AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
180 AM_CONDITIONAL(OS_UNIX, test "$os_unix" = "yes")
182 if test "$os_win32" = "yes"; then
183 AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
184 AC_CHECK_TOOL(WINDRES, windres, :)
189 AM_CONDITIONAL(MS_LIB_AVAILABLE, test x$ms_librarian = xyes)
190 AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:")
193 AM_CONDITIONAL([EXTERNAL_PREFIX], [test "x$prefix" != "xNONE"])
195 dnl reasonable guesses for where stuff is installed
196 if test "x$prefix" = "xNONE"; then
202 AM_PATH_GLIB_2_0(2.52.0,,AC_MSG_ERROR(GLIB >= 2.52.0 not installed.))
203 AC_ARG_ENABLE([gtk3], AC_HELP_STRING([--disable-gtk3], [use gtk2 instead of gtk3]),[gtk3="${enableval}"], [gtk3=m4_ifdef([AM_PATH_GTK_3_0], [auto], [no])])
205 if test x$gtk3 = xyes; then
206 AC_MSG_WARN("Gtk3 enabled")
207 m4_ifdef([AM_PATH_GTK_3_0], [AM_PATH_GTK_3_0(3.0.0,,AC_MSG_ERROR(GTK+ >= 3.0.0 not installed.))])
209 if test x$gtk3 != xno; then
210 AC_MSG_WARN("Gtk3 is preferred...")
211 m4_ifdef([AM_PATH_GTK_3_0], [AM_PATH_GTK_3_0(3.0.0,,[gtk3=no])])
215 if test x$gtk3 = xno; then
216 m4_ifdef([AM_PATH_GTK_2_0], [AM_PATH_GTK_2_0(2.20.0,,AC_MSG_ERROR(GTK+ >= 2.20.0 not installed.))])
221 AC_ARG_ENABLE([threads],
222 AC_HELP_STRING([--disable-threads], [disable thread support]), [threads="${enableval}"])
225 if test "x${threads}" != "xno" ; then
226 PKG_CHECK_MODULES(GTHREAD, [gthread-2.0], have_gthread="yes", [AC_MSG_WARN("No thread support in glib")])
229 if test "x$have_gthread" != "xno"; then
230 AC_DEFINE(HAVE_GTHREAD, 1, Define if you have gthread library)
231 GLIB_CFLAGS="$GTHREAD_CFLAGS"
232 GLIB_LIBS="$GTHREAD_LIBS"
236 AC_PATH_PROGS(GDK_PIXBUF_CSOURCE, "gdk-pixbuf-csource")
237 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
239 AC_ARG_WITH(readmedir, [ --with-readmedir=DIR install path for readme files],
240 readmedir=$withval, readmedir="$prefix/share/doc/geeqie-$VERSION")
241 AC_ARG_WITH(htmldir, [ --with-htmldir=DIR install path for html files],
242 htmldir=$withval, htmldir="$readmedir/html")
244 AC_DEFINE_UNQUOTED(GQ_HELPDIR, "$readmedir", [Location of documentation files])
245 AC_DEFINE_UNQUOTED(GQ_HTMLDIR, "$htmldir", [Location of html documentation])
247 AC_PATH_PROG(GNOME_DOC_TOOL, yelp-build)
252 eval "eval appdir=${datadir}/${PACKAGE}"
253 AC_DEFINE_UNQUOTED([GQ_APP_DIR], "$appdir", [Location of application data])
256 eval "eval gq_bindir=${prefix}/lib/${PACKAGE}"
257 AC_DEFINE_UNQUOTED([GQ_BIN_DIR], "$gq_bindir", [Location of helper scripts and executables])
261 # ----------------------------------------------------------------------
263 dnl Check for LIRC client support
264 AC_MSG_CHECKING(if LIRC support is enabled)
266 AC_ARG_ENABLE([lirc],
267 AC_HELP_STRING([--disable-lirc], [disable lirc support (auto)]),
269 if test "x${enableval}" = "xyes" -a "x$GCC" = "xyes"; then
275 fi], AC_MSG_RESULT(no))
278 AC_ARG_WITH(lirc-prefix,
279 [ --with-lirc-prefix=PATH Prefix where LIRC is installed],
281 for dir in `echo "$withval" | tr : ' '`; do
282 if test -d $dir/lib; then CXXFLAGS="$CXXFLAGS -L$dir/lib"; fi
283 if test -d $dir/include; then CXXFLAGS="$CXXFLAGS -I$dir/include"; fi
288 if test "x${lirc}" != "xno" ; then
289 AC_CHECK_HEADER(lirc/lirc_client.h,
290 [AC_CHECK_LIB(lirc_client,lirc_init,[HAVE_LIRC=yes;LIBS=-llirc_client $LIBS;AC_DEFINE([HAVE_LIRC],[],[Define to 1 if LIRC must be used])],,)],)
292 AM_CONDITIONAL(HAVE_LIRC, [test "x$HAVE_LIRC" = xyes])
296 # ----------------------------------------------------------------------
298 AC_ARG_ENABLE([lcms],
299 AC_HELP_STRING([--disable-lcms], [disable lcms support]),
300 [liblcms=$enableval], [liblcms=auto])
302 if test "x${liblcms}" != "xno"; then
303 PKG_CHECK_MODULES(LCMS, [lcms2 >= 2.0],
306 AC_DEFINE(HAVE_LCMS, 1, [define to enable use of color profiles with lcms])
307 AC_DEFINE(HAVE_LCMS2, 1, [lcms2 is used])
310 PKG_CHECK_MODULES(LCMS, [lcms >= 1.14],
313 AC_DEFINE(HAVE_LCMS, 1, [define to enable use of color profiles with lcms])
317 AC_MSG_WARN([$LCMS_PKG_ERRORS])
324 AM_CONDITIONAL(HAVE_LCMS, [test "x$HAVE_LCMS" = xyes])
325 AC_SUBST(LCMS_CFLAGS)
329 # ----------------------------------------------------------------------
331 AC_ARG_ENABLE([jpeg],
332 AC_HELP_STRING([--disable-jpeg], [disable direct jpeg support]),
333 [libjpeg=$enableval], [libjpeg=auto])
335 if test "x${libjpeg}" != "xno"; then
336 AC_CHECK_LIB(jpeg, jpeg_destroy_decompress,
339 AC_DEFINE(HAVE_JPEG, 1, [define to enable use of custom jpeg loader]),
345 AM_CONDITIONAL(HAVE_JPEG, [test "x$HAVE_JPEG" = xyes])
346 AC_SUBST(JPEG_CFLAGS)
351 # ----------------------------------------------------------------------
353 AC_ARG_ENABLE([tiff],
354 AC_HELP_STRING([--disable-tiff], [disable direct tiff support]),
355 [libtiff=$enableval], [libtiff=auto])
357 if test "x${libtiff}" != "xno"; then
358 AC_CHECK_LIB(tiff, TIFFClientOpen,
361 AC_DEFINE(HAVE_TIFF, 1, [define to enable use of custom tiff loader]),
367 AM_CONDITIONAL(HAVE_TIFF, [test "x$HAVE_TIFF" = xyes])
368 AC_SUBST(TIFF_CFLAGS)
372 # ----------------------------------------------------------------------
375 AC_HELP_STRING([--disable-raw], [disable LibRaw support]),
376 [libraw=$enableval], [libraw=auto])
378 if test "x${libraw}" != "xno"; then
379 PKG_CHECK_MODULES(RAW, [libraw >= 0.20],
382 AC_DEFINE(HAVE_RAW, 1, [define to enable libraw support])
386 AC_MSG_WARN([$RAW_PKG_ERRORS])
392 AM_CONDITIONAL(HAVE_RAW, [test "x$HAVE_RAW" = xyes])
396 # libffmpegthumbnailer support
397 # ----------------------------------------------------------------------
399 AC_ARG_ENABLE([ffmpegthumbnailer],
400 AC_HELP_STRING([--disable-ffmpegthumbnailer], [disable ffmpegthumbnailer support for generating thumbnails of video files]),
401 [ffmpegthumbnailer=$enableval], [ffmpegthumbnailer=auto])
403 if test "x${ffmpegthumbnailer}" != "xno"; then
404 PKG_CHECK_MODULES(FFMPEGTHUMBNAILER, [libffmpegthumbnailer >= 2.1.0],
406 HAVE_FFMPEGTHUMBNAILER=yes
407 AC_DEFINE(HAVE_FFMPEGTHUMBNAILER, 1, [define to enable ffmpegthumbnailer support])
408 AC_CHECK_MEMBER([video_thumbnailer.prefer_embedded_metadata], [AC_DEFINE(HAVE_FFMPEGTHUMBNAILER_METADATA, 1, [define if ffmpegthumbnailer supports embedded metadata])], [], [[#include <libffmpegthumbnailer/videothumbnailerc.h>]])
409 AC_CHECK_MEMBER([image_data.image_data_width], [AC_DEFINE(HAVE_FFMPEGTHUMBNAILER_RGB, 1, [define if ffmpegthumbnailer supports raw RGB output])], [], [[#include <libffmpegthumbnailer/videothumbnailerc.h>]])
410 AC_CHECK_LIB([ffmpegthumbnailer], [video_thumbnailer_set_size], [AC_DEFINE(HAVE_FFMPEGTHUMBNAILER_WH, 1, [define if ffmpegthumbnailer supports specifying size by width/height])])
413 HAVE_FFMPEGTHUMBNAILER=no
416 HAVE_FFMPEGTHUMBNAILER=disabled
419 AM_CONDITIONAL(HAVE_FFMPEGTHUMBNAILER, [test "x$HAVE_FFMPEGTHUMBNAILER" = xyes])
420 AC_SUBST(FFMPEGTHUMBNAILER_CFLAGS)
421 AC_SUBST(FFMPEGTHUMBNAILER_LIBS)
424 # ----------------------------------------------------------------------
426 AC_ARG_ENABLE([exiv2],
427 AC_HELP_STRING([--disable-exiv2], [disable exiv2 support]),
428 [libexiv2=$enableval], [libexiv2=auto])
430 if test "x${libexiv2}" != "xno"; then
431 PKG_CHECK_MODULES(EXIV2, [exiv2 >= 0.11],
434 AC_DEFINE(HAVE_EXIV2, 1, [define to enable exiv2 support])
438 AC_MSG_WARN([$EXIV2_PKG_ERRORS])
444 AM_CONDITIONAL(HAVE_EXIV2, [test "x$HAVE_EXIV2" = xyes])
445 AC_SUBST(EXIV2_CFLAGS)
450 # ----------------------------------------------------------------------
452 dnl Set of available languages
453 ALL_LINGUAS="`grep -v '^#' "$srcdir/po/LINGUAS" | tr '\n' ' '`"
454 AC_SUBST([CONFIG_STATUS_DEPENDENCIES],['$(top_srcdir)/po/LINGUAS'])
456 GETTEXT_PACKAGE=$PACKAGE
457 AC_SUBST(GETTEXT_PACKAGE)
458 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["${GETTEXT_PACKAGE}"],[Name of gettext file])
460 AM_GLIB_DEFINE_LOCALEDIR(GQ_LOCALEDIR)
468 # clutter and champlain support
469 # ----------------------------------------------------------------------
472 AC_HELP_STRING([--disable-map], [disable map support]),
473 [libgps=$enableval], [libgps=auto])
475 AC_ARG_ENABLE([gpu-accel],
476 AC_HELP_STRING([--disable-gpu-accel], [disable GPU acceleration support - experimental]),
477 [libclutter=$enableval], [libclutter=auto])
479 if test "x${libclutter}" != "xno" -a "x${gtk3}" != "xno"; then
480 PKG_CHECK_MODULES(CLUTTER, [clutter-1.0 >= 1.0],
482 PKG_CHECK_MODULES(CLUTTER_GTK, [clutter-gtk-1.0 >= 1.0],
485 AC_DEFINE(HAVE_CLUTTER, 1, [define to enable use of clutter library])
489 AC_MSG_WARN([$CLUTTER_GTK_PKG_ERRORS])
494 AC_MSG_WARN([$CLUTTER_PKG_ERRORS])
497 HAVE_CLUTTER=disabled
500 AC_SUBST(CLUTTER_CFLAGS)
501 AC_SUBST(CLUTTER_LIBS)
502 AC_SUBST(CLUTTER_GTK_CFLAGS)
503 AC_SUBST(CLUTTER_GTK_LIBS)
506 # Libchamplain support - used for map facility
507 # ----------------------------------------------------------------------
509 if test "x${libgps}" != "xno" -a "x${HAVE_CLUTTER}" = "xyes"; then
510 if test "x${gtk3}" != "xno"; then
511 PKG_CHECK_MODULES(LIBCHAMPLAIN, [champlain-0.12 >= 0.12],
513 HAVE_LIBCHAMPLAIN=yes
514 AC_DEFINE(HAVE_LIBCHAMPLAIN, 1, [define to enable use of maps])
518 AC_MSG_WARN([$LIBCHAMPLAIN_PKG_ERRORS])
521 HAVE_LIBCHAMPLAIN=disabled
524 HAVE_LIBCHAMPLAIN=disabled
527 if test "x${libgps}" != "xno" -a "x${HAVE_LIBCHAMPLAIN}" = "xyes" ; then
528 PKG_CHECK_MODULES(LIBCHAMPLAIN_GTK, [champlain-gtk-0.12 >= 0.12],
530 HAVE_LIBCHAMPLAIN_GTK=yes
531 AC_DEFINE(HAVE_LIBCHAMPLAIN_GTK, 1, [define to enable use of maps])
534 HAVE_LIBCHAMPLAIN_GTK=no
535 AC_MSG_WARN([$LIBCHAMPLAIN_GTK_PKG_ERRORS])
538 HAVE_LIBCHAMPLAIN_GTK=disabled
541 AM_CONDITIONAL(HAVE_LIBCHAMPLAIN_GTK, [test "x$HAVE_LIBCHAMPLAIN_GTK" = xyes])
542 AC_SUBST(LIBCHAMPLAIN_GTK_CFLAGS)
543 AC_SUBST(LIBCHAMPLAIN_GTK_LIBS)
546 # ----------------------------------------------------------------------
549 AC_HELP_STRING([--disable-lua], [disable lua support]),
550 [liblua=$enableval], [liblua=auto])
552 if test "x${liblua}" != "xno"; then
553 PKG_CHECK_MODULES(LUA, lua5.3 >= 5.3,
556 AC_DEFINE(HAVE_LUA, 1, [define to enable lua support])
559 PKG_CHECK_MODULES(LUA, lua5.1 >= 5.1,
562 AC_DEFINE(HAVE_LUA, 1, [define to enable lua support])
565 PKG_CHECK_MODULES(LUA, lua >= 5.1,
568 AC_DEFINE(HAVE_LUA, 1, [define to enable lua support])
572 AC_MSG_WARN([$LUA_PKG_ERRORS])
580 AM_CONDITIONAL(HAVE_LUA, [test "x$HAVE_LUA" = xyes])
585 # ----------------------------------------------------------------------
587 if test "x${gtk3}" != "xno"; then
589 AC_HELP_STRING([--disable-pdf], [disable pdf support]),
590 [libpdf=$enableval], [libpdf=auto])
592 if test "x${libpdf}" != "xno"; then
593 PKG_CHECK_MODULES(PDF, poppler-glib >= 0.62,
596 AC_DEFINE(HAVE_PDF, 1, [define to enable pdf support])
600 AC_MSG_WARN([$PDF_PKG_ERRORS])
609 AM_CONDITIONAL(HAVE_PDF, [test "x$HAVE_PDF" = xyes])
614 # ----------------------------------------------------------------------
616 AC_ARG_ENABLE([heif],
617 AC_HELP_STRING([--disable-heif], [disable heif support]),
618 [libheif=$enableval], [libheif=auto])
620 if test "x${libheif}" != "xno"; then
621 PKG_CHECK_MODULES(HEIF, libheif >= 1.3.2,
624 AC_DEFINE(HAVE_HEIF, 1, [define to enable heif support])
628 AC_MSG_WARN([$HEIF_PKG_ERRORS])
634 AM_CONDITIONAL(HAVE_HEIF, [test "x$HAVE_HEIF" = xyes])
635 AC_SUBST(HEIF_CFLAGS)
639 # ----------------------------------------------------------------------
641 AC_ARG_ENABLE([webp],
642 AC_HELP_STRING([--disable-webp], [disable webp support]),
643 [libwebp=$enableval], [libwebp=auto])
645 if test "x${libwebp}" != "xno"; then
646 PKG_CHECK_MODULES(WEBP, libwebp >= 0.6.1,
649 AC_DEFINE(HAVE_WEBP, 1, [define to enable webp support])
653 AC_MSG_WARN([$WEBP_PKG_ERRORS])
659 AM_CONDITIONAL(HAVE_WEBP, [test "x$HAVE_WEBP" = xyes])
660 AC_SUBST(WEBP_CFLAGS)
664 # ----------------------------------------------------------------------
667 AC_HELP_STRING([--disable-j2k], [disable j2k support]),
668 [libopenjp2=$enableval], [libopenjp2=auto])
670 if test "x${libopenjp2}" != "xno"; then
671 PKG_CHECK_MODULES(J2K, libopenjp2 >= 2.3.0,
674 AC_DEFINE(HAVE_J2K, 1, [define to enable j2k support])
678 AC_MSG_WARN([$J2K_PKG_ERRORS])
684 AM_CONDITIONAL(HAVE_J2K, [test "x$HAVE_J2K" = xyes])
689 # ----------------------------------------------------------------------
691 AC_ARG_ENABLE([djvu],
692 AC_HELP_STRING([--disable-djvu], [disable djvu support]),
693 [libdjvulibre=$enableval], [libdjvulibre=auto])
695 if test "x${libdjvulibre}" != "xno"; then
696 PKG_CHECK_MODULES(DJVU, ddjvuapi >= 3.5.27,
699 AC_DEFINE(HAVE_DJVU, 1, [define to enable DjVu support])
703 AC_MSG_WARN([$DJVU_PKG_ERRORS])
709 AM_CONDITIONAL(HAVE_DJVU, [test "x$HAVE_DJVU" = xyes])
710 AC_SUBST(DJVU_CFLAGS)
714 # ----------------------------------------------------------------------
716 AC_ARG_ENABLE([jpegxl],
717 AC_HELP_STRING([--disable-jpegxl], [disable jpeg xl support]),
718 [libjxl=$enableval], [libjxl=auto])
720 if test "x${libjxl}" != "xno"; then
721 PKG_CHECK_MODULES(JPEGXL, libjxl >= 0.3.7,
724 AC_DEFINE(HAVE_JPEGXL, 1, [define to enable JPEG XL support])
728 AC_MSG_WARN([$JPEGXL_PKG_ERRORS])
734 AM_CONDITIONAL(HAVE_JPEGXL, [test "x$HAVE_JPEGXL" = xyes])
735 AC_SUBST(JPEGXL_CFLAGS)
736 AC_SUBST(JPEGXL_LIBS)
739 # ----------------------------------------------------------------------
741 AM_CONDITIONAL(HAVE_MARKDOWN, [ "$(command -v markdown)" ])
743 # _NL_TIME_FIRST_WEEKDAY support
744 # note that it is an enum and not a define
745 # ----------------------------------------------------------------------
747 AC_MSG_CHECKING([for _NL_TIME_FIRST_WEEKDAY])
748 AC_TRY_LINK([#include <langinfo.h>], [
750 c = *((unsigned char *) nl_langinfo(_NL_TIME_FIRST_WEEKDAY));
751 ], nl_ok=yes, nl_ok=no)
752 AC_MSG_RESULT($nl_ok)
753 if test "$nl_ok" = "yes"; then
754 AC_DEFINE([HAVE__NL_TIME_FIRST_WEEKDAY], [1],
755 [Define if _NL_TIME_FIRST_WEEKDAY is available])
758 # ----------------------------------------------------------------------
762 * \short autogenerated definition by autoheader.
767 * This file is a part of Geeqie project (http://www.geeqie.org/).
768 * Copyright (C) 2008 - 2016 The Geeqie Team
770 * This program is free software; you can redistribute it and/or modify
771 * it under the terms of the GNU General Public License as published by
772 * the Free Software Foundation; either version 2 of the License, or
773 * (at your option) any later version.
775 * This program is distributed in the hope that it will be useful,
776 * but WITHOUT ANY WARRANTY; without even the implied warranty of
777 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
778 * GNU General Public License for more details.
781 #ifndef _INCLUDE_CONFIG_H
782 #define _INCLUDE_CONFIG_H
794 src/icons/svg/Makefile
798 plugins/symlink/Makefile
799 plugins/rotate/Makefile
800 plugins/ufraw/Makefile
801 plugins/geocode-parameters/Makefile
802 plugins/export-jpeg/Makefile
803 plugins/tethered-photography/Makefile
804 plugins/camera-import/Makefile
805 plugins/image-crop/Makefile
806 plugins/random-image/Makefile
807 plugins/lens/Makefile
812 dnl Print the results
815 cat > config.report << END
822 Version: $PACKAGE_VERSION
826 Win32: $platform_win32 (native: $os_win32)
831 CPPFLAGS: $__CPPFLAGS
836 Thread: $GTHREAD_LIBS
837 Others: $JPEG_LIBS $TIFF_LIBS $LCMS_LIBS $EXIV2_LIBS $CLUTTER_LIBS $CLUTTER_GTK_LIBS $LIBCHAMPLAIN_LIBS $LIBCHAMPLAIN_GTK_LIBS $LUA_LIBS $RAW_LIBS $JPEGXL_LIBS
840 NLS support: $USE_NLS
844 Developer: $__IS_DEVELOPER
845 Debug flags: $__IS_DEBUG_FLAGS
846 Debug log: $__IS_DEBUG_LOG
847 Deprecated: $__IS_DEPRECATED
853 Clutter: $HAVE_CLUTTER
854 Libchamplain: $HAVE_LIBCHAMPLAIN
855 Libchamplain-gtk: $HAVE_LIBCHAMPLAIN_GTK
857 FFmpegthumbnailer: $HAVE_FFMPEGTHUMBNAILER
868 doc-tool: $GNOME_DOC_TOOL
875 Now you can type "make" to build Geeqie
876 (or you take blue pill and the story ends :)