2005-12-10 05:13:43 +00:00
|
|
|
/*
|
|
|
|
* Kluge to support multilib installation of both 32- and 64-bit RPMS:
|
|
|
|
* we need to arrange that header files that appear in both RPMs are
|
|
|
|
* identical. Hence, this file is architecture-independent and calls
|
|
|
|
* in an arch-dependent file that will appear in just one RPM.
|
|
|
|
*
|
2009-10-16 04:26:47 +00:00
|
|
|
* To avoid breaking arches not explicitly supported by Red Hat, we
|
|
|
|
* use this indirection file *only* on known multilib arches.
|
|
|
|
*
|
2005-12-10 05:13:43 +00:00
|
|
|
* Note: this may well fail if user tries to use gcc's -I- option.
|
|
|
|
* But that option is deprecated anyway.
|
|
|
|
*/
|
2005-12-15 14:20:52 +00:00
|
|
|
#if defined(__x86_64__)
|
2005-12-10 05:13:43 +00:00
|
|
|
#include "my_config_x86_64.h"
|
2005-12-15 14:20:52 +00:00
|
|
|
#elif defined(__i386__)
|
|
|
|
#include "my_config_i386.h"
|
2005-12-15 17:04:25 +00:00
|
|
|
#elif defined(__ppc64__) || defined(__powerpc64__)
|
2005-12-10 05:13:43 +00:00
|
|
|
#include "my_config_ppc64.h"
|
2005-12-15 17:04:25 +00:00
|
|
|
#elif defined(__ppc__) || defined(__powerpc__)
|
2005-12-15 14:20:52 +00:00
|
|
|
#include "my_config_ppc.h"
|
|
|
|
#elif defined(__s390x__)
|
2005-12-10 05:13:43 +00:00
|
|
|
#include "my_config_s390x.h"
|
2005-12-15 14:20:52 +00:00
|
|
|
#elif defined(__s390__)
|
|
|
|
#include "my_config_s390.h"
|
2009-10-16 04:26:47 +00:00
|
|
|
#elif defined(__sparc__) && defined(__arch64__)
|
|
|
|
#include "my_config_sparc64.h"
|
|
|
|
#elif defined(__sparc__)
|
|
|
|
#include "my_config_sparc.h"
|
2013-07-10 10:42:29 +00:00
|
|
|
#elif defined(__arm__)
|
|
|
|
#include "my_config_arm.h"
|
|
|
|
#elif defined(__aarch64__)
|
|
|
|
#include "my_config_aarch64.h"
|
2005-12-10 05:13:43 +00:00
|
|
|
#endif
|
2013-10-09 15:55:08 +00:00
|
|
|
|