AC_PREREQ([2.63])
# libsigrokdecode package version number (NOT the same as shared lib version!).
-AC_INIT([libsigrokdecode], [0.5.0],
+AC_INIT([libsigrokdecode], [0.6.0],
[sigrok-devel@lists.sourceforge.net], [libsigrokdecode],
[http://www.sigrok.org])
AC_CONFIG_MACRO_DIR([m4])
# The algorithm for determining which number to change (and how) is nontrivial!
# http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
# Format: current:revision:age.
-SR_LIB_VERSION_SET([SRD_LIB_VERSION], [3:0:0])
+SR_LIB_VERSION_SET([SRD_LIB_VERSION], [4:0:0])
AM_CONDITIONAL([WIN32], [test -z "${host_os##mingw*}" || test -z "${host_os##cygwin*}"])
AC_SYS_LARGEFILE
+AC_C_BIGENDIAN
+
##############################
## Finalize configuration ##
##############################
srd_glib_version=`$PKG_CONFIG --modversion glib-2.0 2>&AS_MESSAGE_LOG_FD`
+AC_DEFINE_UNQUOTED([CONF_HOST], ["$host"],
+ [The canonical host libsigrokdecode will run on.])
+
AC_CONFIG_FILES([Makefile libsigrokdecode.pc])
AC_OUTPUT
- Prefix.......................... $prefix
- Building on..................... $build
- Building for.................... $host
+ - Building shared / static........ $enable_shared / $enable_static
Compile configuration:
- C compiler...................... $CC
- C compiler flags................ $CFLAGS
- Additional C compiler flags..... $SRD_EXTRA_CFLAGS
- C compiler warnings............. $SRD_WFLAGS
+ - Linker flags.................... $LDFLAGS
Detected libraries (required):
- glib-2.0 >= 2.28.0.............. $srd_glib_version