1 /* config.h. Generated by configure. */ 2 /* config.h.in. Generated from configure.ac by autoheader. */ 3 4 /* Define to 1 if translation of program messages to the user's native 5 language is requested. */ 6 #define ENABLE_NLS 1 7 8 /* Define if the GNU dcgettext() function is already present or preinstalled. 9 */ 10 #define HAVE_DCGETTEXT 1 11 12 /* Define if the GNU gettext() function is already present or preinstalled. */ 13 #define HAVE_GETTEXT 1 14 15 /* Define if you have the iconv() function. */ 16 /* #undef HAVE_ICONV */ 17 18 /* Directory to place translation files in. */ 19 #define LOCALEDIR "${prefix}/share" 20 21 /* Define to 32 or 64 if a specific implementation is wanted. */ 22 /* #undef NATIVE_ELF */ 23 24 /* Name of package */ 25 #define PACKAGE "elfutils" 26 27 /* Define to the address where bug reports for this package should be sent. */ 28 #define PACKAGE_BUGREPORT "http://bugzilla.redhat.com/bugzilla/" 29 30 /* Define to the full name of this package. */ 31 #define PACKAGE_NAME "Red Hat elfutils" 32 33 /* Define to the full name and version of this package. */ 34 #define PACKAGE_STRING "Red Hat elfutils 0.97" 35 36 /* Define to the one symbol short name of this package. */ 37 #define PACKAGE_TARNAME "elfutils" 38 39 /* Define to the version of this package. */ 40 #define PACKAGE_VERSION "0.97" 41 42 /* Defined if thread local storage should be used. */ 43 /* #undef USE_TLS */ 44 45 /* Version number of package */ 46 #define VERSION "0.97" 47 48 /* Define to 1 if `lex' declares `yytext' as a `char *' by default, not a 49 `char[]'. */ 50 #define YYTEXT_POINTER 1 51 52 /* Number of bits in a file offset, on hosts where this is settable. */ 53 #define _FILE_OFFSET_BITS 64 54 55 /* Define for large files, on AIX-style hosts. */ 56 /* #undef _LARGE_FILES */ 57 58 59 /* Eventually we will allow multi-threaded applications to use the 60 libraries. Therefore we will add the necessary locking although 61 the macros used expand to nothing for now. */ 62 #define lock_lock(lock) ((void) (lock)) 63 #define rwlock_define(class,name) class int name 64 #define rwlock_init(lock) ((void) (lock)) 65 #define rwlock_fini(lock) ((void) (lock)) 66 #define rwlock_rdlock(lock) ((void) (lock)) 67 #define rwlock_wrlock(lock) ((void) (lock)) 68 #define rwlock_unlock(lock) ((void) (lock)) 69 #define tls_key_t void * 70 #define key_create(keyp, freefct) (1) 71 #define getspecific(key) key 72 #define setspecific(key,val) key = val 73 #define once_define(class,name) class int name 74 #define once_execute(name,fct) \ 75 do { \ 76 if (name == 0) \ 77 fct (); \ 78 name = 1; \ 79 } while (0) 80 81 /* gettext helper macro. */ 82 #define N_(Str) Str 83 84 /* Compiler-specific definitions. */ 85 #define strong_alias(name, aliasname) \ 86 extern __typeof (name) aliasname __attribute__ ((alias (#name))); 87 88 #ifdef __i386__ 89 # define internal_function_def __attribute__ ((regparm (3), stdcall)) 90 #else 91 # define internal_function_def /* nothing */ 92 #endif 93 94 # define internal_function \ 95 internal_function_def __attribute__ ((visibility ("internal"))) 96 # define internal_strong_alias(name, aliasname) \ 97 extern __typeof (name) aliasname __attribute__ ((alias (#name), visibility ("internal"))) internal_function_def; 98 99 #define attribute_hidden \ 100 __attribute__ ((visibility ("hidden"))) 101 102 /* Define ALLOW_UNALIGNED if the architecture allows operations on 103 unaligned memory locations. */ 104 #if defined __i386__ || defined __alpha__ || defined __x86_64__ || defined __ia64__ 105 # define ALLOW_UNALIGNED 1 106 #else 107 # define ALLOW_UNALIGNED 0 108 #endif 109 110 #define unlikely(expr) __builtin_expect (expr, 0) 111 #define likely(expr) __builtin_expect (expr, 1) 112 113 #define obstack_calloc(ob, size) \ 114 ({ size_t _s = (size); memset (obstack_alloc (ob, _s), '\0', _s); }) 115 #define obstack_strdup(ob, str) \ 116 ({ const char *_s = (str); obstack_copy0 (ob, _s, strlen (_s)); }) 117 #define obstack_strndup(ob, str, n) \ 118 ({ const char *_s = (str); obstack_copy0 (ob, _s, strnlen (_s, n)); }) 119 120 #if __STDC_VERSION__ >= 199901L 121 # define flexarr_size /* empty */ 122 #else 123 # define flexarr_size 0 124 #endif 125 126 /* Calling conventions. */ 127 #ifdef __i386__ 128 # define CALLING_CONVENTION regparm (3), stdcall 129 # define AND_CALLING_CONVENTION , regparm (3), stdcall 130 #else 131 # define CALLING_CONVENTION 132 # define AND_CALLING_CONVENTION 133 #endif 134 135 /* Avoid PLT entries. */ 136 #ifdef PIC 137 # define INTUSE(name) _INTUSE(name) 138 # define _INTUSE(name) __##name##_internal 139 # define INTDEF(name) _INTDEF(name) 140 # define _INTDEF(name) \ 141 extern __typeof__ (name) __##name##_internal __attribute__ ((alias (#name))); 142 #else 143 # define INTUSE(name) name 144 # define INTDEF(name) /* empty */ 145 #endif 146 147