|
|
| version 1.308, 2003/11/29 19:51:16 | version 1.309, 2003/12/23 18:40:52 |
|---|---|
| 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: /cvsroot/pgsql-server/configure.in,v 1.307 2003/11/27 19:44:55 petere Exp $ | dnl $PostgreSQL: pgsql-server/configure.in,v 1.308 2003/11/29 19:51:16 pgsql Exp $ |
| dnl | dnl |
| dnl Developers, please strive to achieve this order: | dnl Developers, please strive to achieve this order: |
| dnl | dnl |
| Line 97 AC_MSG_RESULT([$template]) | Line 97 AC_MSG_RESULT([$template]) |
| PORTNAME=$template | PORTNAME=$template |
| AC_SUBST(PORTNAME) | AC_SUBST(PORTNAME) |
| # Pick right test-and-set (TAS) code. Most platforms have inline | # Initialize default assumption that we do not need separate assembly code |
| # assembler code in src/include/storage/s_lock.h, so we just use | # for TAS (test-and-set). This can be overridden by the template file |
| # a dummy file here. | # when it's executed. |
| case $host in | need_tas=no |
| hppa*-*-hpux*) need_tas=yes; tas_file=hpux_hppa.s ;; | tas_file=dummy.s |
| sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;; | |
| i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;; | |
| *) need_tas=no; tas_file=dummy.s ;; | |
| esac | |
| AC_CONFIG_LINKS([src/backend/port/tas.s:src/backend/port/tas/${tas_file}]) | |
| if test "$need_tas" = yes ; then | |
| TAS=tas.o | |
| fi | |
| AC_SUBST(TAS) | |
| Line 303 AC_DEFINE_UNQUOTED(PG_VERSION_STR, | Line 293 AC_DEFINE_UNQUOTED(PG_VERSION_STR, |
| # | # |
| # Set up TAS assembly code if needed; the template file has now had its | |
| # chance to request this. | |
| # | |
| AC_CONFIG_LINKS([src/backend/port/tas.s:src/backend/port/tas/${tas_file}]) | |
| if test "$need_tas" = yes ; then | |
| TAS=tas.o | |
| else | |
| TAS="" | |
| fi | |
| AC_SUBST(TAS) | |
| # | |
| # Automatic dependency tracking | # Automatic dependency tracking |
| # | # |
| PGAC_ARG_BOOL(enable, depend, no, [ --enable-depend turn on automatic dependency tracking], | PGAC_ARG_BOOL(enable, depend, no, [ --enable-depend turn on automatic dependency tracking], |