|
|
| version 1.559, 2008/05/02 19:52:37 | version 1.560, 2008/05/03 00:24:05 |
|---|---|
| Line 1 | Line 1 |
| dnl Process this file with autoconf to produce a configure script. | dnl Process this file with autoconf to produce a configure script. |
| dnl $PostgreSQL: pgsql/configure.in,v 1.558 2008/05/02 01:08:26 tgl Exp $ | dnl $PostgreSQL: pgsql/configure.in,v 1.559 2008/05/02 19:52:37 tgl Exp $ |
| dnl | dnl |
| dnl Developers, please strive to achieve this order: | dnl Developers, please strive to achieve this order: |
| dnl | dnl |
| Line 257 PGAC_ARG_REQ(with, segsize, [ --with-se | Line 257 PGAC_ARG_REQ(with, segsize, [ --with-se |
| [segsize=$withval], | [segsize=$withval], |
| [segsize=1]) | [segsize=1]) |
| # this expression is set up to avoid unnecessary integer overflow | # this expression is set up to avoid unnecessary integer overflow |
| RELSEG_SIZE=`expr '(' 1024 '*' ${segsize} / ${blocksize} ')' '*' 1024` | # blocksize is already guaranteed to be a factor of 1024 |
| RELSEG_SIZE=`expr '(' 1024 / ${blocksize} ')' '*' ${segsize} '*' 1024` | |
| test $? -eq 0 || exit 1 | test $? -eq 0 || exit 1 |
| AC_MSG_RESULT([${segsize}GB]) | AC_MSG_RESULT([${segsize}GB]) |