X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=configure.ac;h=b675be5494c9dbcfc7a43dd5d6d7fea8ee5acb5e;hb=1e7534bbaa34e6c2a8c9809dfcf6588112cbdee4;hp=4395817aa9abcc9cb0e00617da8290181031dd39;hpb=729387130d5fba1d085a5f1bcccd20c712ae8f01;p=sven%2Ffuse-exfat.git diff --git a/configure.ac b/configure.ac index 4395817..b675be5 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ # Autoconf source. # # Free exFAT implementation. -# Copyright (C) 2010-2016 Andrew Nayenko +# Copyright (C) 2010-2018 Andrew Nayenko # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -21,9 +21,9 @@ # AC_INIT([Free exFAT implementation], - [1.2.4], + [1.3.0], [relan@users.noreply.github.com], - [fuse-exfat], + [exfat], [https://github.com/relan/exfat]) AM_INIT_AUTOMAKE([1.11.2 -Wall -Werror foreign subdir-objects]) AC_PROG_CC @@ -31,10 +31,27 @@ AC_PROG_CC_C99 AC_PROG_RANLIB AM_PROG_AR AC_SYS_LARGEFILE +AC_CANONICAL_HOST +PKG_CHECK_MODULES([UBLIO], [libublio], [ + CFLAGS="$CFLAGS $UBLIO_CFLAGS" + LIBS="$LIBS $UBLIO_LIBS" + AC_DEFINE([USE_UBLIO], [1], + [Define if block devices are not supported.]) +], [:]) PKG_CHECK_MODULES([FUSE], [fuse]) +case "$host_os" in + *-gnu) + AC_DEFINE([_XOPEN_SOURCE], [500], [Enable pread() and pwrite().]) + AC_DEFINE([_DEFAULT_SOURCE], [], [Enable vsyslog().]) + ;; +esac AC_CONFIG_HEADERS([libexfat/config.h]) AC_CONFIG_FILES([ libexfat/Makefile + dump/Makefile + fsck/Makefile fuse/Makefile + label/Makefile + mkfs/Makefile Makefile]) AC_OUTPUT