File tree 5 files changed +226
-190
lines changed
5 files changed +226
-190
lines changed Original file line number Diff line number Diff line change 7
7
#
8
8
#
9
9
# IDENTIFICATION
10
- # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.15 1997/04/02 18:10:32 scrappy Exp $
10
+ # $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.16 1997/04/03 21:25:59 scrappy Exp $
11
11
#
12
12
# NOTES
13
13
# Essentially all Postgres make files include this file and use the
@@ -146,11 +146,6 @@ ENFORCE_ALIGNMENT= true
146
146
# Comment out PROFILE to generate a profile version of the binaries
147
147
#PROFILE= -p -non_shared
148
148
149
- # Define USE_LOCALE to get Postgres work (sort, search)
150
- # with national alphabet. Remember to define environment variables
151
- # $LC_COLLATE and $LC_CTYPE before starting postmaster !
152
- USE_LOCALE = 1
153
-
154
149
# If you plan to use Kerberos for authentication...
155
150
#
156
151
# Comment out KRBVERS if you do not use Kerberos.
@@ -721,11 +716,6 @@ ifndef CASSERT
721
716
CFLAGS+= -DNO_ASSERT_CHECKING
722
717
endif
723
718
724
- ifdef USE_LOCALE
725
- CFLAGS+= -DUSE_LOCALE
726
- endif
727
-
728
-
729
719
ifdef PROFILE
730
720
CFLAGS+= $(PROFILE)
731
721
LDFLAGS+= $(PROFILE)
Original file line number Diff line number Diff line change 2
2
#
3
3
# PostgreSQL Build Script
4
4
#
5
+ BUILDRUN=true
6
+
5
7
if echo ' \c' | grep -s c > /dev/null 2>&1
6
8
then
7
9
ECHO_N=" echo -n"
30
32
LDFLAGS=" $ADD_LIB_DIRS " ; export LDFLAGS
31
33
fi
32
34
35
+ IDIR=/usr/local/pgsql
33
36
$ECHO_N " Installation directory [/usr/local/pgsql]: $ECHO_C "
34
37
read a
35
38
if [ " $a ." != " ." ]
36
39
then
37
40
IDIR=${a}
38
- else
39
- IDIR=/usr/local/pgsql
40
41
fi
41
42
43
+ USE_LOCALE=no
44
+ echo " Define USE_LOCALE to get Postgres work (sort, search)"
45
+ $ECHO_N " with national alphabet. [no]: $ECHO_C "
46
+ read a
47
+ if [ " $a ." != " ." ]
48
+ then
49
+ USE_LOCALE=${a}
50
+ fi
51
+
52
+ export BUILDRUN USE_LOCALE
53
+
42
54
./configure --prefix=${IDIR}
43
55
You can’t perform that action at this time.
0 commit comments