X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=94e545720ba07c80d9dce57411b149070aebbed3;hb=bf85ea2110f5fc798841b7d912ad6d961c28d6b3;hp=f1fc9a8a1ec59494d250552335c37b290f1d1c6c;hpb=dba986ab0aec637070becceef52c2183cc53621f;p=libsigrok.git diff --git a/configure.ac b/configure.ac index f1fc9a8a..94e54572 100644 --- a/configure.ac +++ b/configure.ac @@ -171,6 +171,9 @@ AS_IF([test "x$sr_cv_have_rpc" = xyes], # VXI support is only compiled if RPC support was found. AM_CONDITIONAL([NEED_RPC], [test "x$sr_cv_have_rpc" = xyes]) +# Check for compiler support of 128 bit integers +AC_CHECK_TYPES([__int128_t, __uint128_t], [], [], []) + ######################## ## Hardware drivers ## ######################## @@ -208,7 +211,7 @@ m4_define([_SR_DRIVER], [ sr_driver_summary_append "$2" "$sr_hw_info" AM_CONDITIONAL([$3], [test "x[$]$3" = xyes]) - AM_COND_IF([$3], [AC_DEFINE([HAVE_$3], [1], [Whether to support $1 device.])]) + AM_COND_IF([$3], [AC_DEFINE([HAVE_$3], [1], [Whether to support $1 device.]) AC_DEFINE([HAVE_DRIVERS], [1], [Whether at least one driver is enabled.])]) ]) ## SR_DRIVER(Device name, driver-name, [dependencies...]) @@ -232,7 +235,7 @@ SR_DRIVER([Conrad DIGI 35 CPU], [conrad-digi-35-cpu], [libserialport]) SR_DRIVER([DER EE DE-5000], [deree-de5000], [libserialport]) SR_DRIVER([demo], [demo]) SR_DRIVER([Fluke DMM], [fluke-dmm], [libserialport]) -SR_DRIVER([FTDI FT2232H], [ft2232h], [libusb libftdi]) +SR_DRIVER([FTDI LA], [ftdi-la], [libusb libftdi]) SR_DRIVER([fx2lafw], [fx2lafw], [libusb]) SR_DRIVER([GMC MH 1x/2x], [gmc-mh-1x-2x], [libserialport]) SR_DRIVER([GW Instek GDS-800], [gwinstek-gds-800], [libserialport]) @@ -254,6 +257,7 @@ SR_DRIVER([MIC 985xx], [mic-985xx], [libserialport]) SR_DRIVER([Motech LPS 30x], [motech-lps-30x], [libserialport]) SR_DRIVER([Norma DMM], [norma-dmm], [libserialport]) SR_DRIVER([OpenBench Logic Sniffer], [openbench-logic-sniffer], [libserialport]) +SR_DRIVER([PCE PCE-322A], [pce-322a], [libserialport]) SR_DRIVER([Pipistrello-OLS], [pipistrello-ols], [libftdi]) SR_DRIVER([Rigol DS], [rigol-ds]) SR_DRIVER([Saleae Logic16], [saleae-logic16], [libusb]) @@ -303,7 +307,7 @@ AC_ARG_ENABLE([java], sr_cxx_missing= # Check if the C++ compiler supports the C++11 standard. -AX_CXX_COMPILE_STDCXX_11([noext], [optional]) +AX_CXX_COMPILE_STDCXX([11], [noext], [optional]) AS_IF([test "x$HAVE_CXX11" != x1], [SR_APPEND([sr_cxx_missing], [', '], ['C++11'])]) @@ -391,7 +395,7 @@ AS_IF([test "x$HAVE_PYMOD_NUMPY" != xyes], AC_CHECK_PROGS([SWIG], [swig swig3.0 swig2.0]) AS_IF([test "x$SWIG" != x], AC_MSG_CHECKING([for $SWIG version]) - [SWIG_VERSION=`$SWIG -version 2>&1 | sed -n 's/SWIG Version\s*//p'`] + [SWIG_VERSION=`$SWIG -version 2>&1 | sed -n 's/SWIG Version //p'`] AC_MSG_RESULT([$SWIG_VERSION])) AS_IF([test "x$SWIG" = x], [SR_APPEND([sr_python_missing], [', '], [SWIG])])