- ;;
-*mingw*)
- # We currently hardcode the paths to the Python 3.2 default install
- # location as there's no 'python-config' script on Windows, it seems.
- CPPFLAGS_PYTHON="-I/c/Python32/include"
- LDFLAGS_PYTHON="-L/c/Python32/libs -lpython32"
- ;;
-*)
- # Everything else is untested, we just hope 'python3-config' works.
- CPPFLAGS_PYTHON="$(python3-config --includes)"
- LDFLAGS_PYTHON="$(python3-config --ldflags)"
- ;;
-esac
-AC_SUBST(CPPFLAGS_PYTHON)
-AC_SUBST(LDFLAGS_PYTHON)
-
-AC_SUBST(LIBSIGROK_PKGLIBS)
-
-# Checks for header files.
-# These are already checked: inttypes.h stdint.h stdlib.h string.h unistd.h.
-AC_CHECK_HEADERS([fcntl.h sys/time.h termios.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_INLINE
-AC_TYPE_INT8_T
-AC_TYPE_INT16_T
-AC_TYPE_INT32_T
-AC_TYPE_INT64_T
-AC_TYPE_UINT8_T
-AC_TYPE_UINT16_T
-AC_TYPE_UINT32_T
-AC_TYPE_UINT64_T
-AC_TYPE_SIZE_T
-
-# Checks for library functions.
-AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull])
-
-AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok/firmware")
-AC_SUBST(DECODERS_DIR, "$datadir/sigrok/decoders")
-AC_SUBST(MAKEFLAGS, '--no-print-directory')
-AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
-
-SIGROK_MAJOR_VERSION=sigrok_major_version
-SIGROK_MINOR_VERSION=sigrok_minor_version
-SIGROK_MICRO_VERSION=sigrok_micro_version
-SIGROK_VERSION=sigrok_version
-
-AC_SUBST(SIGROK_MAJOR_VERSION)
-AC_SUBST(SIGROK_MINOR_VERSION)
-AC_SUBST(SIGROK_MICRO_VERSION)
-AC_SUBST(SIGROK_VERSION)
-
-AC_DEFINE(SIGROK_MAJOR_VERSION, [sigrok_major_version],
- [Define to the sigrok major version])
-AC_DEFINE(SIGROK_MINOR_VERSION, [sigrok_minor_version],
- [Define to the sigrok minor version])
-AC_DEFINE(SIGROK_MICRO_VERSION, [sigrok_micro_version],
- [Define to the sigrok micro version])
-AC_DEFINE(SIGROK_VERSION, [sigrok_version],
- [Define to the sigrok version])
-
-AC_CONFIG_FILES([Makefile
- contrib/Makefile
- contrib/nsis/Makefile
- contrib/nsis/sigrok.nsi
- libsigrok/Makefile
- libsigrok/sigrok.h
- libsigrok/firmware/Makefile
- libsigrok/hardware/Makefile
- libsigrok/hardware/alsa/Makefile
- libsigrok/hardware/asix-sigma/Makefile
- libsigrok/hardware/chronovu-la8/Makefile
- libsigrok/hardware/common/Makefile
- libsigrok/hardware/demo/Makefile
- libsigrok/hardware/link-mso19/Makefile
- libsigrok/hardware/openbench-logic-sniffer/Makefile
- libsigrok/hardware/saleae-logic/Makefile
- libsigrok/hardware/zeroplus-logic-cube/Makefile
- libsigrok/input/Makefile
- libsigrok/output/Makefile
- libsigrok/output/text/Makefile
- libsigrok/libsigrok.pc
- libsigrok/contrib/Makefile
- libsigrokdecode/Makefile
- libsigrokdecode/libsigrokdecode.pc
- libsigrokdecode/decoders/Makefile
- ])
-
-AC_OUTPUT