git.netxms.org
/
public
/
netxms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b29e540
)
fixed libpq detection on Solaris x86
author
Victor Kirhenshtein
<victor@netxms.org>
Fri, 19 Aug 2016 12:22:58 +0000
(15:22 +0300)
committer
Victor Kirhenshtein
<victor@netxms.org>
Fri, 19 Aug 2016 12:22:58 +0000
(15:22 +0300)
configure.ac
patch
|
blob
|
blame
|
history
diff --git
a/configure.ac
b/configure.ac
index
7c87af1
..
082c1d6
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-2699,7
+2699,11
@@
if test $? = 0; then
AC_CHECK_LIB(m, floor)
AC_CHECK_LIB(pq, PQconnectdb, [PGSQL_LIBS="-lpq"], [
if test "x$PLATFORM" = "xSunOS"; then
- PGSQL_LDFLAGS="$PGSQL_LDFLAGS/sparcv9"
+ if test -d "$PGSQL_LD_RUN_PATH/sparcv9"; then
+ PGSQL_LDFLAGS="$PGSQL_LDFLAGS/sparcv9"
+ else
+ PGSQL_LDFLAGS="$PGSQL_LDFLAGS/64"
+ fi
LDFLAGS="$OLD_LDFLAGS $PGSQL_LDFLAGS"
if test "x$PGSQL_LD_RUN_PATH" != "x"; then
PGSQL_LD_RUN_PATH="$PGSQL_LD_RUN_PATH/sparcv9"