From 12ef3e8d301abfd7e4295092061f04b416b3c148 Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Sun, 14 Jun 2009 22:19:09 -0300
Subject: [PATCH 21/48] Remove old ENABLE_FIU uses, replacing them with FIU_ENABLE

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>
---
 doc/guide.rst    |    2 +-
 libfiu/Makefile  |    2 +-
 preload/Makefile |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/guide.rst b/doc/guide.rst
index eb2b736..1fdff7b 100644
--- a/doc/guide.rst
+++ b/doc/guide.rst
@@ -104,7 +104,7 @@ it's a testing library.
 
 To that end, you should copy *fiu-local.h* into your source tree, and then
 create an option to do a *fault injection build* that #defines the constant
-*ENABLE_FIU* (usually done by adding ``-DFIU_ENABLE=1`` to your compiler
+*FIU_ENABLE* (usually done by adding ``-DFIU_ENABLE=1`` to your compiler
 flags) and links against libfiu (usually done by adding ``-lfiu`` to your
 linker flags).
 
diff --git a/libfiu/Makefile b/libfiu/Makefile
index 4b9af5c..425056c 100644
--- a/libfiu/Makefile
+++ b/libfiu/Makefile
@@ -1,6 +1,6 @@
 
 CFLAGS += -std=c99 -pedantic -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DENABLE_FIU=1 $(CFLAGS)
+ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 $(CFLAGS)
 
 ifdef DEBUG
 ALL_CFLAGS += -g
diff --git a/preload/Makefile b/preload/Makefile
index ec22c67..678b664 100644
--- a/preload/Makefile
+++ b/preload/Makefile
@@ -1,6 +1,6 @@
 
 CFLAGS += -std=c99 -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DENABLE_FIU=1 -I. $(CFLAGS)
+ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 -I. $(CFLAGS)
 
 ifdef DEBUG
 ALL_CFLAGS += -g
-- 
1.6.2.2.646.gb214

