|
1 | 1 | dnl Process this file with autoconf to produce a configure script.
|
2 |
| -dnl $Header: /cvsroot/pgsql/configure.in,v 1.286 2003/09/07 16:38:05 momjian Exp $ |
| 2 | +dnl $Header: /cvsroot/pgsql/configure.in,v 1.287 2003/09/12 16:10:26 momjian Exp $ |
3 | 3 | dnl
|
4 | 4 | dnl Developers, please strive to achieve this order:
|
5 | 5 | dnl
|
@@ -521,13 +521,18 @@ AC_SUBST(with_openssl)
|
521 | 521 | PGAC_ARG_BOOL(with, readline, yes,
|
522 | 522 | [ --without-readline do not use Readline])
|
523 | 523 |
|
| 524 | +# |
| 525 | +# Spinlocks |
| 526 | +# |
| 527 | +PGAC_ARG_BOOL(with, spinlocks, yes, |
| 528 | + [ --without-spinlocks do not use Spinlocks]) |
| 529 | + |
524 | 530 | #
|
525 | 531 | # Zlib
|
526 | 532 | #
|
527 | 533 | PGAC_ARG_BOOL(with, zlib, yes,
|
528 | 534 | [ --without-zlib do not use Zlib])
|
529 | 535 |
|
530 |
| - |
531 | 536 | #
|
532 | 537 | # Elf
|
533 | 538 | #
|
@@ -678,6 +683,13 @@ failure. It is possible the compiler isn't looking in the proper directory.
|
678 | 683 | Use --without-zlib to disable zlib support.])])
|
679 | 684 | fi
|
680 | 685 |
|
| 686 | +if test "$with_spinlocks" = yes; then |
| 687 | + AC_DEFINE(HAVE_SPINLOCKS, 1, [Define to 1 if you have spinlocks.]) |
| 688 | +else |
| 689 | + AC_MSG_WARN([ |
| 690 | +*** Not using spinlocks will cause poor performance.]) |
| 691 | +fi |
| 692 | + |
681 | 693 | if test "$with_krb4" = yes ; then
|
682 | 694 | AC_CHECK_LIB(des, des_encrypt, [], [AC_MSG_ERROR([library 'des' is required for Kerberos 4])])
|
683 | 695 | AC_CHECK_LIB(krb, krb_sendauth, [], [AC_MSG_ERROR([library 'krb' is required for Kerberos 4])])
|
|
0 commit comments