--- gcc-3.2.3/gcc/configure.orig	Tue Feb  4 08:17:46 2003
+++ gcc-3.2.3/gcc/configure	Mon Apr  9 18:35:53 2007
@@ -6013,7 +6013,7 @@
   cat > conftest.$ac_ext <<EOF
 #line 6015 "configure"
 #include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:6020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -6044,7 +6044,7 @@
   cat > conftest.$ac_ext <<EOF
 #line 6046 "configure"
 #include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
 extern int _nl_msg_cat_cntr;
 int main() {
 bindtextdomain ("", "");
@@ -6072,11 +6072,11 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   gt_save_LIBS="$LIBS"
-		LIBS="$LIBS -lintl $LIBICONV"
+		LIBS="$LIBS -L%%LOCALBASE%% -lintl $LIBICONV"
 		cat > conftest.$ac_ext <<EOF
 #line 6078 "configure"
 #include "confdefs.h"
-#include <libintl.h>
+#include "%%LOCALBASE%%/include/libintl.h"
 extern int _nl_msg_cat_cntr;
 int main() {
 bindtextdomain ("", "");
@@ -6108,7 +6108,7 @@
 
 
 	     if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
-	       	       	       	       INTLLIBS="-lintl $LIBICONV"
+	       	       	       	       INTLLIBS="-L%%LOCALBASE%% -lintl $LIBICONV"
 	     fi
 
 	     gt_save_LIBS="$LIBS"
