diff --git a/autoconf.h b/autoconf.h new file mode 100644 index 0000000..aa5de1c --- /dev/null +++ b/autoconf.h @@ -0,0 +1,51 @@ +/* + * This autoconf.h is a wrapper include file for the original libecap/common/autoconf.h, + * which has been renamed to autoconf-.h. There are conflicts for the + * original autoconf.h on multilib systems, which result from arch-specific + * configuration options. Please do not use the arch-specific file directly. + */ + +/* + * This wrapped is addpated from SDL's one: + * http://pkgs.fedoraproject.org/cgit/SDL.git/tree/SDL_config.h + */ + +#ifdef libecap_autoconf_wrapper_h +#error "libecap_autoconf_wrapper_h should not be defined!" +#endif +#define libecap_autoconf_wrapper_h + +#if defined(__i386__) +#include "libecap/common/autoconf-i386.h" +#elif defined(__ia64__) +#include "libecap/common/autoconf-ia64.h" +#elif defined(__powerpc64__) +#include +#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ +#include "libecap/common/autoconf-ppc64.h" +#else +#include "libecap/common/autoconf-ppc64le.h" +#endif +#elif defined(__powerpc__) +#include "libecap/common/autoconf-ppc.h" +#elif defined(__s390x__) +#include "libecap/common/autoconf-s390x.h" +#elif defined(__s390__) +#include "libecap/common/autoconf-s390.h" +#elif defined(__x86_64__) +#include "libecap/common/autoconf-x86_64.h" +#elif defined(__arm__) +#include "libecap/common/autoconf-arm.h" +#elif defined(__alpha__) +#include "libecap/common/autoconf-alpha.h" +#elif defined(__sparc__) && defined (__arch64__) +#include "libecap/common/autoconf-sparc64.h" +#elif defined(__sparc__) +#include "libecap/common/autoconf-sparc.h" +#elif defined(__aarch64__) +#include "libecap/common/autoconf-aarch64.h" +#else +#error "The libecap-devel package is not usable with the architecture." +#endif + +#undef libecap_autoconf_wrapper_h diff --git a/libecap.spec b/libecap.spec index 95c34a3..aceb72a 100644 --- a/libecap.spec +++ b/libecap.spec @@ -66,6 +66,7 @@ install -m644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h %changelog * Mon Aug 21 2017 Luboš Uhliarik - 1.0.1-1 - new version 1.0.1 +- autoconf.h moved from lookaside to dist-git * Thu Aug 03 2017 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index ee459bf..3dbee14 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ba3b9025264e6c23e6413666fff9fdab libecap-1.0.1.tar.gz +SHA512 (libecap-1.0.1.tar.gz) = 0054ad11b3f558d7c623060a69207a1b8e679803cabdf1a2bce4b04335d71c016eec770fc9d2cbf3d0a93502c255cb528305f9f8e6df4e095fcb980667045919