nut/lib/libupsclient-config.in

32 lines
788 B
Text
Raw Permalink Normal View History

2010-03-25 23:20:59 +00:00
#!/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@
2011-06-01 20:31:49 +00:00
Libs="-L@libdir@ -lupsclient @LIBSSL_LIBS@"
2010-03-25 23:20:59 +00:00
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