]> sigrok.org Git - libserialport.git/blobdiff - configure.ac
Constify the sp_get_port_description() parameter.
[libserialport.git] / configure.ac
index 99c43bba5dbbfbc81c3a201a3659b71465848369..0662eb66d973ce9bbdce3c8e57f4a4251b28030d 100644 (file)
@@ -23,8 +23,8 @@ AC_PREREQ([2.63])
 
 # libserialport package version number (NOT the same as shared lib version!).
 m4_define([sp_package_version_major], [0])
-m4_define([sp_package_version_minor], [2])
-m4_define([sp_package_version_micro], [0])
+m4_define([sp_package_version_minor], [1])
+m4_define([sp_package_version_micro], [1])
 m4_define([sp_package_version], [sp_package_version_major.sp_package_version_minor.sp_package_version_micro])
 
 AC_INIT([libserialport], [sp_package_version], [martin-libserialport@earth.li],
@@ -75,10 +75,6 @@ AC_SUBST(SP_LIB_LDFLAGS)
 
 # Checks for libraries.
 
-# This variable collects the pkg-config names of all detected libs.
-# It is then used to construct the "Requires.private:" field in the
-# libserialport.pc file.
-SP_PKGLIBS=""
 SP_LIBS=""
 
 case $host_os in
@@ -101,7 +97,7 @@ mingw* | cygwin*)
        AM_CONDITIONAL([WIN32], true)
        AM_CONDITIONAL([MACOSX], false)
        AM_CONDITIONAL([FREEBSD], false)
-       SP_LIBS="-lsetupapi -luuid"
+       SP_LIBS="-lsetupapi"
        ;;
 *freebsd*)
        AM_CONDITIONAL([LINUX], false)
@@ -118,7 +114,6 @@ mingw* | cygwin*)
        AC_DEFINE(NO_PORT_METADATA,,[Port metadata is unavailable])
 esac
 
-AC_SUBST(SP_PKGLIBS)
 AC_SUBST(SP_LIBS)
 
 # Define size_t if not defined as standard.