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