X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=configure.ac;h=6d039b0ded0b039c3e333dfacd16b53219ae37a7;hp=1f925fa1f08402940aa45b1eebfb5be259e923be;hb=65c1ecf9045a87cfd87e0c7d87bf3ca2d7e60021;hpb=9d6422708d553d1e892f0ad18053901578d9559f diff --git a/configure.ac b/configure.ac index 1f925fa..6d039b0 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # We require at least autoconf 2.63 (AC_INIT format changed there). AC_PREREQ([2.63]) -AC_INIT([sigrok-cli], [0.6.0], [sigrok-devel@lists.sourceforge.net], +AC_INIT([sigrok-cli], [0.7.0], [sigrok-devel@lists.sourceforge.net], [sigrok-cli], [http://www.sigrok.org]) AC_CONFIG_SRCDIR([sigrok-cli.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -31,16 +31,18 @@ AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([1.11 -Wall -Werror no-define std-options check-news]) AM_SILENT_RULES([yes]) -AH_TOP([#ifndef SIGROK_CLI_CONFIG_H -#define SIGROK_CLI_CONFIG_H /* To stop multiple inclusions. */]) -AH_BOTTOM([#endif /* SIGROK_CLI_CONFIG_H */]) - AC_CANONICAL_HOST # Checks for programs. AC_PROG_CC AC_PROG_INSTALL +# Set the standard the C library headers should conform to. +AH_VERBATIM([_POSIX_C_SOURCE], [/* The targeted POSIX standard. */ +#ifndef _POSIX_C_SOURCE +# define _POSIX_C_SOURCE 200112L +#endif]) + # Get compiler versions. SR_PROG_VERSION([$CC], [sc_cc_version]) @@ -87,7 +89,7 @@ AC_SYS_LARGEFILE # Retrieve the compile and link flags for all modules combined. # Also, bail out at this point if any module dependency is not met. PKG_CHECK_MODULES([SIGROK_CLI], - [glib-2.0 >= 2.28.0 libsigrok >= 0.4.0 $SC_PKGLIBS]) + [glib-2.0 >= 2.32.0 libsigrok >= 0.4.0 $SC_PKGLIBS]) sc_glib_version=`$PKG_CONFIG --modversion glib-2.0 2>&AS_MESSAGE_LOG_FD` sc_libsigrok_version=`$PKG_CONFIG --modversion libsigrok 2>&AS_MESSAGE_LOG_FD` @@ -110,9 +112,10 @@ Compile configuration: - C compiler flags................ $CFLAGS - Additional C compiler flags..... $SC_EXTRA_CFLAGS - C compiler warnings............. $SC_WFLAGS + - Linker flags.................... $LDFLAGS Detected libraries (required): - - glib-2.0 >= 2.28.0.............. $sc_glib_version + - glib-2.0 >= 2.32.0.............. $sc_glib_version - libsigrok >= 0.4.0.............. $sc_libsigrok_version Detected libraries (optional):