aaron 2002/06/13 18:24:02
Modified: . configure.in CHANGES
Log:
Removed --disable-atomics flag and added --enable-nonportable-atomics,
thereby defaulting to portable binaries on those systems that could
be optimized at the expense of portability.
Revision Changes Path
1.453 +9 -7 apr/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/apr/configure.in,v
retrieving revision 1.452
retrieving revision 1.453
diff -u -r1.452 -r1.453
--- configure.in 10 Jun 2002 18:51:13 -0000 1.452
+++ configure.in 14 Jun 2002 01:24:02 -0000 1.453
@@ -307,13 +307,15 @@
dnl (ie.. old sparcs)
apr_force_atomic_generic=0
proc_mutex_is_global=0
-user_disabled_optimized_atomics=0
+enable_nonportable_atomics=0
-AC_ARG_ENABLE(atomics,
- [ --disable-atomics Turn off optimized atomic code],
- [ if test "$enableval" = "no"; then
- user_disabled_optimized_atomics=1
- fi ] )
+AC_ARG_ENABLE(nonportable-atomics,
+[ --enable-nonportable-atomics Turn on optimized atomic code which may
produce nonportable binaries],
+[
+ if test "$enableval" = "yes"; then
+ enable_nonportable_atomics=1
+ fi
+])
config_subdirs="none"
INSTALL_SUBDIRS="none"
@@ -370,7 +372,7 @@
*sparc*)
OSDIR="solaris_sparc"
eolstr="\\n"
- if test "$user_disabled_optimized_atomics" = 0; then
+ if test "$enable_nonportable_atomics" = 1; then
apr_atomic_sparc_compile=apr_atomic_sparc.lo
sparc_arch=`uname -m`
is_gnu_as=`${AS} --help 2>/dev/null | grep gnu.org`
1.294 +4 -0 apr/CHANGES
Index: CHANGES
===================================================================
RCS file: /home/cvs/apr/CHANGES,v
retrieving revision 1.293
retrieving revision 1.294
diff -u -r1.293 -r1.294
--- CHANGES 7 Jun 2002 14:04:33 -0000 1.293
+++ CHANGES 14 Jun 2002 01:24:02 -0000 1.294
@@ -1,5 +1,9 @@
Changes with APR b1
+ *) Removed --disable-atomics flag and added --enable-nonportable-atomics,
+ thereby defaulting to portable binaries on those systems that could
+ be optimized at the expense of portability. PR: 9507 [Aaron Bannert]
+
*) Added 2 additional lock functions: apr_proc_mutex_name and
apr_proc_mutex_defname which returns the type name of the mutex
(eg: "sysvsem") as well as the default mutex type (APR_LOCK_DEFAULT).