xref: /llvm-project/polly/lib/External/isl/interface/configure.ac (revision a749e09e184b2b0b6dde71af01c82dd427b3e3e2)
1a54eb9b7SMichael KruseAC_INIT([isl-interface], [0], [isl-development@googlegroups.com])
2a54eb9b7SMichael KruseAC_CONFIG_AUX_DIR([.])
3a54eb9b7SMichael KruseAC_CONFIG_MACRO_DIR([../m4])
4a54eb9b7SMichael KruseAM_INIT_AUTOMAKE([foreign])
5a54eb9b7SMichael Krusem4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
6a54eb9b7SMichael Kruse
7a54eb9b7SMichael KruseAC_PROG_CXX
8a54eb9b7SMichael KruseAX_PROG_CXX_FOR_BUILD
9a54eb9b7SMichael Kruse
10a54eb9b7SMichael Kruse# extract_interface needs to be run on the build system.
11a54eb9b7SMichael Kruse# Since this is the only target that is being built,
12a54eb9b7SMichael Kruse# simply use the build compiler throughout.
13a54eb9b7SMichael Kruse# This ensures that the clang configure checks are
14a54eb9b7SMichael Kruse# performed using the right compiler.
15a54eb9b7SMichael KruseCXX="$CXX_FOR_BUILD"
16a54eb9b7SMichael KruseCXXCPP="$CXXCPP_FOR_BUILD"
17a54eb9b7SMichael KruseEXEEXT="$BUILD_EXEEXT"
18a54eb9b7SMichael KruseOBJEXT="$BUILD_OBJEXT"
19a54eb9b7SMichael Kruse
203f9bf9f4SpataccaAX_CXX_COMPILE_STDCXX_11_NO_OVERRIDE
213f9bf9f4Spatacca
22a54eb9b7SMichael KruseAC_DISABLE_SHARED
23*a749e09eSMichael KruseLT_INIT
24a54eb9b7SMichael Kruse
25a54eb9b7SMichael KruseAX_DETECT_CLANG
26a54eb9b7SMichael Kruse
27a54eb9b7SMichael KruseAC_SUBST([CONFIG_STATUS_DEPENDENCIES], [$LLVM_CONFIG])
28a54eb9b7SMichael KruseAC_CONFIG_HEADERS(isl_config.h)
29a54eb9b7SMichael KruseAC_CONFIG_FILES(Makefile)
30a54eb9b7SMichael Kruse
31a54eb9b7SMichael KruseAC_OUTPUT
32