From 0a7fc60953d9d0cdf92122294d0cc4b84c1989fa Mon Sep 17 00:00:00 2001
From: nehalmistry <>
Date: Fri, 30 Apr 2004 17:29:53 +0000
Subject: [PATCH] fix profile; set CCLD as CC

---
 Rules.make.in | 2 +-
 configure.in  | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/Rules.make.in b/Rules.make.in
index 6167343bb..c7e00d82b 100644
--- a/Rules.make.in
+++ b/Rules.make.in
@@ -11,7 +11,7 @@
 
 # Compile commands
 CC=gcc
-CCLD=gcc
+CCLD=$(CC)
 RM=rm -f
 MAKE=make
 
diff --git a/configure.in b/configure.in
index e159df605..4a8ecb485 100644
--- a/configure.in
+++ b/configure.in
@@ -80,10 +80,7 @@ AC_ARG_ENABLE(debug,
 if test "$enable_debug" != "yes" -a "$enable_profile" != "yes"; then
     DEBUG_CFLAGS="-O2 -pipe -fsigned-char -fomit-frame-pointer -fexpensive-optimizations -ffast-math"
 else
-    DEBUG_CFLAGS="-g -O1 -fsigned-char -Wsign-compare"
-	if test "$enable_debug" == "yes"; then
-		DEBUG_CFLAGS="$DEBUG_CFLAGS -Werror -Wall -DDEBUG"
-	fi
+    DEBUG_CFLAGS="-g -O1 -fsigned-char -Wsign-compare -Werror -Wall -DDEBUG"
 fi
 AC_SUBST(DEBUG_CFLAGS)