Imported Upstream version 2.4.3
This commit is contained in:
commit
26fb71b504
446 changed files with 148951 additions and 0 deletions
31
lib/libupsclient-config.in
Normal file
31
lib/libupsclient-config.in
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
# **********************************************************#
|
||||
# libupsclient-config: helper script for NUT libupsclient #
|
||||
# **********************************************************#
|
||||
# Copyright 2003 - Arnaud Quette #
|
||||
# Distributed under the GNU GPL v2 #
|
||||
# See the distribution lib/README for usage information #
|
||||
# **********************************************************#
|
||||
|
||||
Version="@PACKAGE_VERSION@"
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
Libs="-L@libdir@ -lupsclient @LIBSSL_LDFLAGS@"
|
||||
Cflags="-I@includedir@ @LIBSSL_CFLAGS@"
|
||||
|
||||
case "$1" in
|
||||
|
||||
--cflags)
|
||||
echo "$Cflags"
|
||||
;;
|
||||
--libs)
|
||||
echo "$Libs"
|
||||
;;
|
||||
--version)
|
||||
echo $Version
|
||||
;;
|
||||
*)
|
||||
echo "Usage: libupsclient-config {--cflags|--libs|--version}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue