Start fixing Solaris build failures.
authorJeremy Allison <jra@samba.org>
Tue, 24 Feb 2009 19:37:57 +0000 (11:37 -0800)
committerJeremy Allison <jra@samba.org>
Tue, 24 Feb 2009 19:37:57 +0000 (11:37 -0800)
Jeremy.

source4/heimdal/kuser/kuser_locl.h
source4/heimdal/lib/krb5/krb5_locl.h
source4/heimdal_build/internal.m4

index 21e9776..eed9e00 100644 (file)
@@ -88,7 +88,7 @@
 #include <locale.h>
 #endif
 
-#ifdef LIBINTL
+#ifdef HAVE_LIBINTL_H
 #include <libintl.h>
 #define N_(x,y) gettext(x)
 #define NP_(x,y) (x)
index 1a49039..ced722f 100644 (file)
@@ -118,7 +118,7 @@ struct sockaddr_dl;
 
 #define HEIMDAL_TEXTDOMAIN "heimdal_krb5"
 
-#ifdef LIBINTL
+#ifdef HAVE_LIBINTL_H
 #include <libintl.h>
 #define N_(x,y) dgettext(HEIMDAL_TEXTDOMAIN, x)
 #else
index b2f64a6..50a3c8a 100644 (file)
@@ -69,7 +69,8 @@ AC_CHECK_HEADERS([                            \
        ttyname.h                               \
        netinet/in.h                            \
        netinet/in6.h                           \
-       netinet6/in6.h
+       netinet6/in6.h                          \
+       libintl.h
 ])
 
 AC_CHECK_FUNCS([                               \