git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4506116)
Update to handle include search paths.
Wed, 5 Feb 1997 04:47:20 +0000 (04:47 +0000)
Wed, 5 Feb 1997 04:47:20 +0000 (04:47 +0000)

diff --git a/src/build b/src/build
index 05fdf0ac2c22670104e00be23153621c22c0a261..60142af6663f0d4374d648ce7515f493ba5ecda2 100644 (file)
--- a/src/build
+++ b/src/build
@@ -11,15 +11,15 @@ else
ECHO_C='\c'
fi
-$ECHO_N "Additional directories to search for library files []: $ECHO_C"
+$ECHO_N "Additional directories to search for include and library files []: $ECHO_C"
read a
-if [ "$a." = "." ]
+if [ "$a." != "." ]
then
- ADD_LIB_DIRS=
-else
+ ADD_INC_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-I1円@; s@ \([^ ]\)@ -I1円@g'`
+ CPPFLAGS="$ADD_INC_DIRS" ; export CPPFLAGS
+ CFLAGS="$ADD_INC_DIRS" ; export CFLAGS
ADD_LIB_DIRS=`echo "$a" | sed 's@ *@ @g; s@^\([^ ]\)@-L1円@; s@ \([^ ]\)@ -L1円@g'`
- LDFLAGS=$ADD_LIB_DIRS
- export LDFLAGS
+ LDFLAGS="$ADD_LIB_DIRS" ; export LDFLAGS
fi
./configure
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /