summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 86d8c40)
raw | patch | inline | side by side (parent: 86d8c40)
author | Bruno Prémont <bruno.premont@restena.lu> | |
Tue, 10 Jul 2007 21:30:57 +0000 (23:30 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Tue, 10 Jul 2007 21:30:57 +0000 (23:30 +0200) |
configure.in | patch | blob | history |
diff --git a/configure.in b/configure.in
index 0772a9b9b73e3913a1eb8452cb225cd56bfa7c32..5b3a54a6548bbe687efea5d0a4032eeb654db7b8 100644 (file)
--- a/configure.in
+++ b/configure.in
fi
if test "x$with_libupsclient" = "xyes"
then
+ CFLAGS_ORIG=$CFLAGS
+ CFLAGS="$CFLAGS $with_upsclient_cflags"
+ LDFLAGS_ORIG=$LDFLAGS
+ LDFLAGS="$LDFLAGS $with_upsclient_libs"
AC_CHECK_LIB(upsclient, upscli_connect,
[
BUILD_WITH_LIBUPSCLIENT_CFLAGS="$with_upsclient_cflags"
[
with_libupsclient="no"
])
+ CFLAGS=$CFLAGS_ORIG
+ LDFLAGS=$LDFLAGS_ORIG
fi
if test "x$with_libupsclient" = "xyes"
then