1 #ifndef _CONFIG_H 2 #define _CONFIG_H 3 @TOP@ 4 5 /* the name of package */ 6 #undef PACKAGE 7 8 /* the version of package */ 9 #undef VERSION 10 11 /* define if you have Motif */ 12 #undef HAVE_MOTIF 13 14 #undef HAVE_LIBXAW 15 16 #define TK_NONE 0 17 #define TK_MOTIF 1 18 #define TK_XAW 2 19 20 #undef TK 21 22 @BOTTOM@ 23 24 #ifndef HAVE_STRERROR 25 extern char *sys_errlist[]; 26 # define strerror(e) (sys_errlist[e]) 27 #endif 28 29 #ifndef HAVE_STRDUP 30 # define strdup(s) strcpy(malloc(strlen((s))+1),(s)); 31 #endif 32 33 #define KEYMAP_DIR PKGDATADIR 34 35 #ifndef TK 36 # if defined HAVE_MOTIF 37 # define TK TK_MOTIF 38 # elif defined HAVE_LIBXAW 39 # define TK TK_XAW 40 # else 41 # define TK TK_NONE 42 # endif 43 #endif 44 45 #endif /* _CONFIG_H */ 46