From: Uwe Hermann Date: Sun, 19 Apr 2015 16:21:19 +0000 (+0200) Subject: configure.ac: Drop no longer needed SP_PKGLIBS. X-Git-Tag: libserialport-0.1.1~51 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3dd4a2ae39a83f269272ee51698fc9d4e333bcd1;p=libserialport.git configure.ac: Drop no longer needed SP_PKGLIBS. --- diff --git a/configure.ac b/configure.ac index aa55d43..0662eb6 100644 --- a/configure.ac +++ b/configure.ac @@ -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 @@ -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. diff --git a/libserialport.pc.in b/libserialport.pc.in index 943cd24..73089ae 100644 --- a/libserialport.pc.in +++ b/libserialport.pc.in @@ -6,7 +6,7 @@ includedir=@includedir@ Name: libserialport Description: Cross-platform serial port access library. URL: http://sigrok.org/wiki/Libserialport -Requires.private: @SP_PKGLIBS@ +Requires.private: Version: @VERSION@ Libs: -L${libdir} -lserialport Libs.private: @SP_LIBS@