]> sigrok.org Git - sigrok-cli.git/blobdiff - configure.ac
Add NSIS file for use with cross-compiled sigrok-cli.
[sigrok-cli.git] / configure.ac
index a2d11f9de99279e862e107d5bd78da9775b779c1..f1f2e76f4d9a76312b39f1c959f32de6f019183d 100644 (file)
@@ -30,7 +30,7 @@ AC_CONFIG_MACRO_DIR([autostuff])
 AC_CONFIG_AUX_DIR([autostuff])
 
 # We require at least automake 1.11 (needed for 'silent rules').
-AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
+AM_INIT_AUTOMAKE([1.11 -Wall -Werror std-options check-news])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 
@@ -101,6 +101,7 @@ AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
 AC_CONFIG_FILES([Makefile
                 contrib/Makefile
                 contrib/sigrok-cli.nsi
+                contrib/sigrok-cli_cross.nsi
                 doc/Makefile])
 
 AC_OUTPUT
@@ -110,12 +111,14 @@ echo "sigrok-cli configuration summary:"
 echo
 echo "  - Package version: $VERSION"
 echo "  - Prefix: $prefix"
+echo "  - Building on: $build"
+echo "  - Building for: $host"
 echo
 echo "Detected libraries:"
 echo
 
 # Note: This only works for libs with pkg-config integration.
-for lib in "glib-2.0" "libsigrok" "libsigrokdecode"; do
+for lib in "glib-2.0 >= 2.28.0" "libsigrok >= 0.2.0" "libsigrokdecode >= 0.1.0"; do
        if test "$lib" = "libsigrokdecode" -a "$WITH_SRD" != "yes" ; then
                answer="no"
        else