Index: /trunk/Ohana/configure.tcsh
===================================================================
--- /trunk/Ohana/configure.tcsh	(revision 39336)
+++ /trunk/Ohana/configure.tcsh	(revision 39337)
@@ -27,4 +27,5 @@
 set defines = ""
 set profile = 0
+set sanitize_address = 0
 
 set root    = ""
@@ -76,4 +77,7 @@
    set profile = 1
    breaksw;
+  case --enable-sanitize-address
+   set sanitize_address = 1
+   breaksw;
   case --enable-memcheck
    set memcheck = 1
@@ -199,4 +203,7 @@
 if ($profile) set CFLAGS = "$CFLAGS -pg"
 
+# sanitize-address code
+if ($sanitize_address) set CFLAGS = "$CFLAGS -fsanitize=address"
+
 # use_gnu99
 if ($use_gnu99) then
@@ -226,4 +233,5 @@
 endif  
 if ($profile) set LDFLAGS = "$LDFLAGS -Wl,--start-group -Wl,-Bstatic -Wl,-Bdynamic"
+if ($profile) set LDFLAGS = "$LDFLAGS -fsanitizer=address"
 
 if ($no_as_needed) set LDFLAGS = "$LDFLAGS -Wl,--no-as-needed"
@@ -695,24 +703,25 @@
  
 Configuration:
-  -h, --help              display this help and exit
-  --enable-optimize       enable compiler optimization (-O2)
-  --enable-profile        enable 
-  --enable-memcheck       enable ohana memory tests
-  --pedantic              include -Wall -Werror on compilation
-  --use-tcmalloc          use the alternate tcmalloc from Google
-  --use-gnu99             use gnu99 flags to ensure C99 compatibility
-  --no-largefiles         skip large file compatibility
+  -h, --help                display this help and exit
+  --enable-optimize         enable compiler optimization (-O2)
+  --enable-profile          enable 
+  --enable-sanitize-address enable 
+  --enable-memcheck         enable ohana memory tests
+  --pedantic                include -Wall -Werror on compilation
+  --use-tcmalloc            use the alternate tcmalloc from Google
+  --use-gnu99               use gnu99 flags to ensure C99 compatibility
+  --no-largefiles           skip large file compatibility
 
 Installation directories:
-  --prefix=PREFIX         install architecture-independent files in PREFIX
-  --vararch               install with ARCH suffixes for variable architectures
+  --prefix=PREFIX           install architecture-independent files in PREFIX
+  --vararch                 install with ARCH suffixes for variable architectures
 
 Fine tuning of the installation directories:
-  --bindir=DIR           user executables [PREFIX/bin/$ARCH] 
-  --libdir=DIR           object code libraries [PREFIX/lib/$ARCH]
-  --includedir=DIR       C header files [PREFIX/include]
-  --mandir=DIR           man documentation [PREFIX/man]
-  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
-  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
+  --bindir=DIR             user executables [PREFIX/bin/$ARCH] 
+  --libdir=DIR             object code libraries [PREFIX/lib/$ARCH]
+  --includedir=DIR         C header files [PREFIX/include]
+  --mandir=DIR             man documentation [PREFIX/man]
+  --datadir=DIR            read-only architecture-independent data [PREFIX/share]
+  --sysconfdir=DIR         read-only single-machine data [PREFIX/etc]
 
 Makefile flags:
