]> sigrok.org Git - libsigrokdecode.git/blobdiff - configure.ac
Put most autotools files into autostuff/.
[libsigrokdecode.git] / configure.ac
index 8e1b8f7dda65da4e4510579a53d8db8367247324..8c24e56142f6aef7b2bbdd61e8c2e375c77f71bd 100644 (file)
@@ -30,7 +30,8 @@ AC_INIT([libsigrokdecode], [libsigrokdecode_version],
        [sigrok-devel@lists.sourceforge.net], [libsigrokdecode],
        [http://www.sigrok.org])
 AC_CONFIG_HEADER([config.h])
-AC_CONFIG_MACRO_DIR([m4])
+AC_CONFIG_MACRO_DIR([autostuff])
+AC_CONFIG_AUX_DIR([autostuff])
 
 AM_INIT_AUTOMAKE([-Wall -Werror foreign std-options])
 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -74,7 +75,7 @@ AC_SUBST(SIGROKDECODE_LT_LDFLAGS)
 AM_PATH_GLIB_2_0([2.22.0],
         [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"])
 
-# Python support.
+# Python support. We require at least Python >= 3.0.
 CPPFLAGS_PYTHON=""
 LDFLAGS_PYTHON=""
 case "$build" in
@@ -131,7 +132,7 @@ AC_TYPE_SIZE_T
 # Checks for library functions.
 AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull])
 
-AC_SUBST(DECODERS_DIR, "$datadir/sigrok/decoders")
+AC_SUBST(DECODERS_DIR, "$datadir/libsigrokdecode/decoders")
 AC_SUBST(MAKEFLAGS, '--no-print-directory')
 AC_SUBST(AM_LIBTOOLFLAGS, '--silent')