asintl.h/bucomm.h/ld.h: Prevent the inclusion of <libintl.h> from the Solaris
[deliverable/binutils-gdb.git] / gprof / gprof.c
index 281430973b48a7c06e3b835ee9954bffe536cb8e..0430df72459a5598df603d51f6c45b1171c3f3b1 100644 (file)
@@ -189,8 +189,10 @@ main (int argc, char **argv)
 #if defined (HAVE_SETLOCALE)
   setlocale (LC_CTYPE, "");
 #endif
+#ifdef ENABLE_NLS
   bindtextdomain (PACKAGE, LOCALEDIR);
   textdomain (PACKAGE);
+#endif
 
   whoami = argv[0];
   xmalloc_set_program_name (whoami);
This page took 0.025039 seconds and 4 git commands to generate.