21f347
/*
21f347
 * This luaconf.h is a wrapper include file for the original luaconf.h, 
21f347
 * which has been renamed to luaconf-<arch>.h. There are conflicts for the 
21f347
 * original luaconf.h on multilib systems, which result from arch-specific
21f347
 * configuration options. Please do not use the arch-specific file directly.
21f347
 *
21f347
 * Copyright (C) 2015 Tom Callaway <spot@fedoraproject.org>
21f347
 */
21f347
21f347
/**
21f347
 *  \file luaconf.h
21f347
 */
21f347
21f347
#ifdef luaconf_wrapper_h
21f347
#error "luaconf_wrapper_h should not be defined!"
21f347
#endif
21f347
#define luaconf_wrapper_h
21f347
21f347
#if defined(__i386__)
21f347
#include "luaconf-i386.h"
21f347
#elif defined(__ia64__)
21f347
#include "luaconf-ia64.h"
21f347
#elif defined(__powerpc64__)
21f347
# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
21f347
#include "luaconf-ppc64.h"
21f347
# else
21f347
#include "luaconf-ppc64le.h"
21f347
# endif
21f347
#elif defined(__powerpc__)
21f347
#include "luaconf-ppc.h"
21f347
#elif defined(__s390x__)
21f347
#include "luaconf-s390x.h"
21f347
#elif defined(__s390__)
21f347
#include "luaconf-s390.h"
21f347
#elif defined(__x86_64__)
21f347
#include "luaconf-x86_64.h"
21f347
#elif defined(__arm__)
21f347
#include "luaconf-arm.h"
21f347
#elif defined(__alpha__)
21f347
#include "luaconf-alpha.h"
21f347
#elif defined(__sparc__) && defined (__arch64__)
21f347
#include "luaconf-sparc64.h"
21f347
#elif defined(__sparc__)
21f347
#include "luaconf-sparc.h"
21f347
#elif defined(__aarch64__)
21f347
#include "luaconf-aarch64.h"
21f347
#elif defined(__mips64) && defined(__MIPSEL__)
21f347
#include "luaconf-mips64el.h"
21f347
#elif defined(__mips64)
21f347
#include "luaconf-mips64.h"
21f347
#elif defined(__mips) && defined(__MIPSEL__)
21f347
#include "luaconf-mipsel.h"
21f347
#elif defined(__mips)
21f347
#include "luaconf-mips.h"
21f347
#elif defined(__riscv)
21f347
#include "luaconf-riscv64.h"
21f347
#else
21f347
#error "The lua-devel package is not usable with the architecture."
21f347
#endif
21f347
21f347
#undef luaconf_wrapper_h