aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2016-05-31 14:55:38 -0500
committerStephen okra Houston <smhouston88@gmail.com>2016-05-31 14:55:38 -0500
commit48e39bc41b110dbcc88f0f84b180317f59a9cd6b (patch)
tree3bc793f4b40132a9af7754a2ba64006cd4e359d9 /configure.ac
parentEphoto: If Ephoto is opened with a directory that does not contain images, sh... (diff)
downloadephoto-48e39bc41b110dbcc88f0f84b180317f59a9cd6b.tar.gz
Ephoto: Make Ephoto's thumbnailer build on Windows.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 866b6e1..04a4e8c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,17 @@ AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS(src/bin/config.h)
+AC_CANONICAL_HOST
+
+have_win32="no"
+case "$host_os" in
+ mingw*)
+ have_win32="yes"
+ ;;
+esac
+
+AM_CONDITIONAL([HAVE_WIN32], [test "x${have_win32}" = "xyes"])
+
AM_INIT_AUTOMAKE(1.6 dist-xz)
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -55,6 +66,8 @@ PKG_CHECK_MODULES([EFL], [
efreet-mime >= 1.7.0
])
+AC_CHECK_FUNCS([nice])
+
AC_ARG_WITH([tests],
[AC_HELP_STRING([--with-tests=none|regular|coverage],
[choose testing method: regular, coverage, or none.
@@ -91,6 +104,8 @@ echo
echo "------------------------------------------------------------------------"
echo "$PACKAGE_NAME $PACKAGE_VERSION"
echo "------------------------------------------------------------------------"
+echo
+echo "Host.....................: ${host_os}"
echo
echo "Compilation..............: make (or gmake)"
echo " CPPFLAGS...............: $CPPFLAGS"