opensslconf.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /* This file is here to prevent a file conflict on multiarch systems. A
  2. * conflict will frequently occur because arch-specific build-time
  3. * configuration options are stored (and used, so they can't just be stripped
  4. * out) in opensslconf.h. The original opensslconf.h has been renamed.
  5. * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
  6. #ifdef openssl_opensslconf_multilib_redirection_h
  7. #error "Do not define openssl_opensslconf_multilib_redirection_h!"
  8. #endif
  9. #define openssl_opensslconf_multilib_redirection_h
  10. #if defined(__i386__)
  11. #include "opensslconf-i386.h"
  12. #elif defined(__ia64__)
  13. #include "opensslconf-ia64.h"
  14. #elif defined(__powerpc64__)
  15. #include "opensslconf-ppc64.h"
  16. #elif defined(__powerpc__)
  17. #include "opensslconf-ppc.h"
  18. #elif defined(__s390x__)
  19. #include "opensslconf-s390x.h"
  20. #elif defined(__s390__)
  21. #include "opensslconf-s390.h"
  22. #elif defined(__sparc__) && defined(__arch64__)
  23. #include "opensslconf-sparc64.h"
  24. #elif defined(__sparc__)
  25. #include "opensslconf-sparc.h"
  26. #elif defined(__x86_64__)
  27. #include "opensslconf-x86_64.h"
  28. #else
  29. #error "This openssl-devel package does not work your architecture?"
  30. #endif
  31. #undef openssl_opensslconf_multilib_redirection_h