Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb705fa3

Browse files
committed
Make sure both SRCH_INC and SRCH_LIB are checked for existances and added tothe CPPFLAGS/LDFLAGS variables...
1 parent2b7777b commitb705fa3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ if test "${with_includes+set}" = set; then
766766
fi
767767

768768

769-
iftest"$INCLUDE_DIRS";then
769+
iftest"$INCLUDE_DIRS" -o"$SRCH_INC";then
770770
fordirin$INCLUDE_DIRS$SRCH_INC;do
771771
iftest -d"$dir";then
772772
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$dir"
@@ -804,7 +804,7 @@ if test "${with_libraries+set}" = set; then
804804
fi
805805

806806

807-
iftest"$LIBRARY_DIRS";then
807+
iftest"$LIBRARY_DIRS" -o"$SRCH_LIB";then
808808
fordirin$LIBRARY_DIRS$SRCH_LIB;do
809809
iftest -d"$dir";then
810810
PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir"

‎src/configure.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ AC_ARG_WITH(includes,
163163
INCLUDE_DIRS="$withval"
164164
])
165165

166-
if test "$INCLUDE_DIRS"; then
166+
if test "$INCLUDE_DIRS" -o "$SRCH_INC"; then
167167
for dir in $INCLUDE_DIRS $SRCH_INC; do
168168
if test -d "$dir"; then
169169
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$dir"
@@ -195,7 +195,7 @@ AC_ARG_WITH(libraries,
195195
LIBRARY_DIRS="$withval"
196196
])
197197

198-
if test "$LIBRARY_DIRS"; then
198+
if test "$LIBRARY_DIRS" -o "$SRCH_LIB"; then
199199
for dir in $LIBRARY_DIRS $SRCH_LIB; do
200200
if test -d "$dir"; then
201201
PGSQL_LDFLAGS="$PGSQL_LDFLAGS -L$dir"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp