| 22 | // config.h needs to be included 1st |
| 23 | // TODO this thingy looks like hack ,but its not, need to |
| 24 | // make separate header however, because It makes mess here. |
| 25 | #ifdef HAVE_CONFIG_H |
| 26 | // Remove Some things that we will define |
| 27 | // This is in case including another config.h |
| 28 | // before trinity config.h |
| 29 | #ifdef PACKAGE |
| 30 | #undef PACKAGE |
| 31 | #endif //PACKAGE |
| 32 | #ifdef PACKAGE_BUGREPORT |
| 33 | #undef PACKAGE_BUGREPORT |
| 34 | #endif //PACKAGE_BUGREPORT |
| 35 | #ifdef PACKAGE_NAME |
| 36 | #undef PACKAGE_NAME |
| 37 | #endif //PACKAGE_NAME |
| 38 | #ifdef PACKAGE_STRING |
| 39 | #undef PACKAGE_STRING |
| 40 | #endif //PACKAGE_STRING |
| 41 | #ifdef PACKAGE_TARNAME |
| 42 | #undef PACKAGE_TARNAME |
| 43 | #endif //PACKAGE_TARNAME |
| 44 | #ifdef PACKAGE_VERSION |
| 45 | #undef PACKAGE_VERSION |
| 46 | #endif //PACKAGE_VERSION |
| 47 | #ifdef VERSION |
| 48 | #undef VERSION |
| 49 | #endif //VERSION |
| 50 | # include "config.h" |
| 51 | #undef PACKAGE |
| 52 | #undef PACKAGE_BUGREPORT |
| 53 | #undef PACKAGE_NAME |
| 54 | #undef PACKAGE_STRING |
| 55 | #undef PACKAGE_TARNAME |
| 56 | #undef PACKAGE_VERSION |
| 57 | #undef VERSION |
| 58 | #endif //HAVE_CONFIG_H |
| 59 | |