Turn PGBE_ACTIVITY_SIZE into a GUC variable, track_activity_query_size.
[PostgreSQL.git] / src / template / unixware
blobd08fca1e6bee78f3e24f2f642bd941c3dc0265dd
1 if test "$GCC" != yes; then
2   # The -Kno_host is for a bug in the compiler.  See -hackers
3   # discussion on 7-8/Aug/2003.
4   cat >conftest.c <<__EOF__
5 extern char *strcpy(char *, const char *);
7 static void f(char *p, int n){
8         strcpy(p+n,"");
10 void g(void){
11         f(0, 0);
13 __EOF__
15   # Debugging and optimization are mutually exclusive
16   if test "$enable_debug" != yes; then
17     CFLAGS="-O"
18   fi
19   if $CC -c -O -Kinline conftest.c >conftest.err 2>&1; then
20     CFLAGS="$CFLAGS -Kinline"
21   else
22     CFLAGS="$CFLAGS -Kinline,no_host"
23   fi
24   rm -f conftest.*
26   PTHREAD_CFLAGS="-Kpthread"
28 # The effect of doing threading for the backend does not work
29 # because of a threading bug that appears in the regression tests:
31 # in make check, the plpgsql test (plpgsql.sql)
32 # set statement_timeout to 1000;
33 # select blockme();
34 # reset statement_timeout;
36 # per report from Olivier PRENANT <ohp@pyrenet.fr>
40 # Unixware's ldap library reportedly needs these too
41 EXTRA_LDAP_LIBS="-llber -lresolv"