1 #ifndef __WDMCONFIG_H 2 #define __WDMCONFIG_H 3 4 #ifdef HAVE_CONFIG_H 5 #include <config.h> 6 #endif 7 8 #if defined(HAVE_LIBINTL_H) && defined(I18N) 9 #include <libintl.h> 10 #define _(text) gettext(text) 11 #else 12 #define _(text) text 13 #endif 14 15 #define N_(x) x 16 /* kdebase-1.0/kdm/kdm-config.h was used as a model */ 17 18 /* xdm stuff which should always be defined */ 19 20 #define UNIXCONN 21 #define TCPCONN 22 #define GREET_USER_STATIC 23 24 #ifdef HAVE_PAM 25 # define USE_PAM 26 #else 27 # ifdef HAVE_SHADOW 28 # define USESHADOW 29 # endif 30 #endif 31 32 33 /* per kde/kdm, too many systems have trouble with secure rpc */ 34 /* disable secure rpc 'for now' */ 35 #undef SECURE_RPC 36 37 #ifdef sun 38 #define SVR4 1 39 #endif 40 41 #endif /* __WDMCONFIG_H */ 42