Parent Directory | Revision Log | Revision Graph
Import on branch sme8 of package nut-2.2.0-3.2.el4.sme.src.rpm
1 | slords | 1.1 | --- nut-2.2.0/lib/libupsclient-config.in.multilib 2006-11-08 03:47:35.000000000 +0100 |
2 | +++ nut-2.2.0/lib/libupsclient-config.in 2007-07-12 13:16:21.000000000 +0200 | ||
3 | @@ -10,9 +10,17 @@ | ||
4 | Version="@PACKAGE_VERSION@" | ||
5 | prefix=@prefix@ | ||
6 | exec_prefix=@exec_prefix@ | ||
7 | -Libs="-L@libdir@ -lupsclient @SSL_LDFLAGS@" | ||
8 | Cflags="-I@includedir@ @SSL_CFLAGS@" | ||
9 | |||
10 | +arch=$(/bin/arch) | ||
11 | +if [ "$arch" = "x86_64" -o "$arch" = "s390x" -o "$arch" = "ppc64" -o "$arch" = "ia64" ] ; then | ||
12 | + libdir="/usr/lib64" | ||
13 | +else | ||
14 | + libdir="/usr/lib" | ||
15 | +fi | ||
16 | +Libs="-L$libdir @UPSCLI_LIBOBJ@ @SSL_LDFLAGS@" | ||
17 | + | ||
18 | + | ||
19 | case "$1" in | ||
20 | |||
21 | --cflags) |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |