add define of DISABLE_GLOBAL_POINTERS back to configure.ac, update comments
authorconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 21 Jul 2004 06:06:40 +0000 (06:06 +0000)
committerconrad <conrad@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Wed, 21 Jul 2004 06:06:40 +0000 (06:06 +0000)
to include ref to README.symbian

git-svn-id: http://svn.xiph.org/trunk/speex@7204 0101bb08-14d6-0310-b084-bc0e0c8e3800

configure.ac

index b818bbe..d9880bf 100644 (file)
@@ -90,7 +90,10 @@ AC_ARG_ENABLE(epic-48k, [  --enable-epic-48k       enable support for Epic 4.8 k
   AC_DEFINE([EPIC_48K], , [Enable support for Epic 4.8 kbps mode])
 fi])
 
-AC_ARG_ENABLE(global-pointers, [  --disable-global-pointers  disable use of writable global data], noglobals="yes", noglobals="no")
+AC_ARG_ENABLE(global-pointers, [  --disable-global-pointers  disable writing to data segments (README.symbian)], noglobals="yes", noglobals="no")
+if test "$noglobals" = yes; then
+  AC_DEFINE([DISABLE_GLOBAL_POINTERS], , [Disable writing to data segments; see README.symbian])
+fi
 AM_CONDITIONAL(DISABLE_GLOBAL_POINTERS, [test "x$noglobals" = "xyes"])
 
 dnl Output the makefiles and version.h.