mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Add support for Canadian Cross builds where the host executables are not
runnable on the build machine. There are a few bits that need built for the build environment (TableGen). This patch builds those bits, and the associated libraries, for the build environment as well as the (usual) host environment. Thanks to Eric C. and Devang P. for pre-commit review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
597f3f8c5d
commit
673612ec72
6
Makefile
6
Makefile
@ -25,6 +25,12 @@ EXTRA_DIST := test llvm.spec include win32 Xcode
|
|||||||
|
|
||||||
include $(LEVEL)/Makefile.config
|
include $(LEVEL)/Makefile.config
|
||||||
|
|
||||||
|
# When cross-compiling, there are some things (tablegen) that need to
|
||||||
|
# be build for the build system.
|
||||||
|
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||||
|
BUILD_TARGET_DIRS := lib/System lib/Support utils
|
||||||
|
endif
|
||||||
|
|
||||||
# llvm-gcc4 doesn't need runtime libs. llvm-gcc4 is the only supported one.
|
# llvm-gcc4 doesn't need runtime libs. llvm-gcc4 is the only supported one.
|
||||||
# FIXME: Remove runtime entirely once we have an understanding of where
|
# FIXME: Remove runtime entirely once we have an understanding of where
|
||||||
# libprofile etc should go.
|
# libprofile etc should go.
|
||||||
|
@ -102,6 +102,11 @@ LLVM_CROSS_COMPILING=@LLVM_CROSS_COMPILING@
|
|||||||
# tablegen call if we're cross-compiling).
|
# tablegen call if we're cross-compiling).
|
||||||
BUILD_EXEEXT=@BUILD_EXEEXT@
|
BUILD_EXEEXT=@BUILD_EXEEXT@
|
||||||
|
|
||||||
|
# Compilers for the build platflorm (mainly for tablegen
|
||||||
|
# call if we're cross-compiling).
|
||||||
|
BUILD_CC=@BUILD_CC@
|
||||||
|
BUILD_CXX=@BUILD_CXX@
|
||||||
|
|
||||||
# Target triple (cpu-vendor-os) for which we should generate code
|
# Target triple (cpu-vendor-os) for which we should generate code
|
||||||
TARGET_TRIPLE=@target@
|
TARGET_TRIPLE=@target@
|
||||||
|
|
||||||
|
@ -302,13 +302,24 @@ endif
|
|||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
# Directory locations
|
# Directory locations
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
ObjDir := $(PROJ_OBJ_DIR)/$(BuildMode)
|
TargetMode :=
|
||||||
LibDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/lib
|
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||||
ToolDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/bin
|
ifeq ($(BUILD_COMPONENT),1)
|
||||||
ExmplDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/examples
|
TargetMode := Build
|
||||||
LLVMLibDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/lib
|
else
|
||||||
LLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/bin
|
TargetMode := Host
|
||||||
LLVMExmplDir:= $(LLVM_OBJ_ROOT)/$(BuildMode)/examples
|
endif
|
||||||
|
BuildLLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/Build/bin
|
||||||
|
endif
|
||||||
|
|
||||||
|
ObjRootDir := $(PROJ_OBJ_DIR)/$(BuildMode)
|
||||||
|
ObjDir := $(ObjRootDir)/$(TargetMode)
|
||||||
|
LibDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/lib
|
||||||
|
ToolDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/bin
|
||||||
|
ExmplDir := $(PROJ_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/examples
|
||||||
|
LLVMLibDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/lib
|
||||||
|
LLVMToolDir := $(LLVM_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/bin
|
||||||
|
LLVMExmplDir:= $(LLVM_OBJ_ROOT)/$(BuildMode)/$(TargetMode)/examples
|
||||||
CFERuntimeLibDir := $(LLVMGCCDIR)/lib
|
CFERuntimeLibDir := $(LLVMGCCDIR)/lib
|
||||||
|
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
@ -324,7 +335,7 @@ LLVMAS := $(LLVMToolDir)/llvm-as$(EXEEXT)
|
|||||||
endif
|
endif
|
||||||
ifndef TBLGEN
|
ifndef TBLGEN
|
||||||
ifeq ($(LLVM_CROSS_COMPILING),1)
|
ifeq ($(LLVM_CROSS_COMPILING),1)
|
||||||
TBLGEN := $(LLVMToolDir)/tblgen$(BUILD_EXEEXT)
|
TBLGEN := $(BuildLLVMToolDir)/tblgen$(EXEEXT)
|
||||||
else
|
else
|
||||||
TBLGEN := $(LLVMToolDir)/tblgen$(EXEEXT)
|
TBLGEN := $(LLVMToolDir)/tblgen$(EXEEXT)
|
||||||
endif
|
endif
|
||||||
@ -468,22 +479,33 @@ CPP.Flags += $(sort -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
|
|||||||
$(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \
|
$(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \
|
||||||
$(CPP.BaseFlags)
|
$(CPP.BaseFlags)
|
||||||
|
|
||||||
Compile.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c
|
ifeq ($(BUILD_COMPONENT), 1)
|
||||||
|
Compile.C = $(BUILD_CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c
|
||||||
|
Compile.CXX = $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c
|
||||||
|
Preprocess.CXX= $(BUILD_CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -E
|
||||||
|
Link = $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
||||||
|
$(LD.Flags) $(Strip)
|
||||||
|
Relink = $(BUILD_CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
||||||
|
$(Relink.Flags)
|
||||||
|
else
|
||||||
|
Compile.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -c
|
||||||
|
Compile.CXX = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c
|
||||||
|
Preprocess.CXX= $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -E
|
||||||
|
Link = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
||||||
|
$(LD.Flags) $(Strip)
|
||||||
|
Relink = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
||||||
|
$(Relink.Flags)
|
||||||
|
endif
|
||||||
|
|
||||||
LTCompile.C = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.C)
|
LTCompile.C = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.C)
|
||||||
BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts)
|
BCCompile.C = $(LLVMGCCWITHPATH) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts)
|
||||||
Preprocess.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -E
|
Preprocess.C = $(CC) $(CPP.Flags) $(C.Flags) $(CompileCommonOpts) -E
|
||||||
|
|
||||||
Compile.CXX = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) -c
|
|
||||||
LTCompile.CXX = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.CXX)
|
LTCompile.CXX = $(LIBTOOL) $(LibTool.Flags) --mode=compile $(Compile.CXX)
|
||||||
BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CXX.Flags) \
|
BCCompile.CXX = $(LLVMGXXWITHPATH) $(CPP.Flags) $(CXX.Flags) \
|
||||||
$(CompileCommonOpts)
|
$(CompileCommonOpts)
|
||||||
|
|
||||||
Preprocess.CXX= $(CXX) $(CPP.Flags) $(CompileCommonOpts) $(CXX.Flags) -E
|
|
||||||
Link = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
|
||||||
$(LD.Flags) $(Strip)
|
|
||||||
LTLink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(Link)
|
LTLink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(Link)
|
||||||
Relink = $(CXX) $(CPP.Flags) $(CXX.Flags) $(CompileCommonOpts) \
|
|
||||||
$(Relink.Flags)
|
|
||||||
LTRelink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(Relink)
|
LTRelink = $(LIBTOOL) $(LibTool.Flags) --mode=link $(Relink)
|
||||||
LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \
|
LTInstall = $(LIBTOOL) $(LibTool.Flags) --mode=install $(INSTALL) \
|
||||||
$(Install.Flags)
|
$(Install.Flags)
|
||||||
@ -560,6 +582,16 @@ ifdef DIRS
|
|||||||
SubDirs += $(DIRS)
|
SubDirs += $(DIRS)
|
||||||
|
|
||||||
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
|
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
|
||||||
|
ifdef BUILD_TARGET_DIRS
|
||||||
|
$(RecursiveTargets)::
|
||||||
|
$(Verb) for dir in $(BUILD_TARGET_DIRS); do \
|
||||||
|
if [ ! -f $$dir/Makefile ]; then \
|
||||||
|
$(MKDIR) $$dir; \
|
||||||
|
$(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
|
||||||
|
fi; \
|
||||||
|
($(MAKE) -C $$dir $@ BUILD_COMPONENT=1 NO_INSTALL=1 ) || exit 1; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
$(RecursiveTargets)::
|
$(RecursiveTargets)::
|
||||||
$(Verb) for dir in $(DIRS); do \
|
$(Verb) for dir in $(DIRS); do \
|
||||||
if [ ! -f $$dir/Makefile ]; then \
|
if [ ! -f $$dir/Makefile ]; then \
|
||||||
@ -569,6 +601,12 @@ $(RecursiveTargets)::
|
|||||||
($(MAKE) -C $$dir $@ ) || exit 1; \
|
($(MAKE) -C $$dir $@ ) || exit 1; \
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
ifdef BUILD_TARGET_DIRS
|
||||||
|
$(RecursiveTargets)::
|
||||||
|
$(Verb) for dir in $(BUILD_TARGET_DIRS); do \
|
||||||
|
($(MAKE) -C $$dir $@ BUILD_COMPONENT=1 NO_INSTALL=1 ) || exit 1; \
|
||||||
|
done
|
||||||
|
endif
|
||||||
$(RecursiveTargets)::
|
$(RecursiveTargets)::
|
||||||
$(Verb) for dir in $(DIRS); do \
|
$(Verb) for dir in $(DIRS); do \
|
||||||
($(MAKE) -C $$dir $@ ) || exit 1; \
|
($(MAKE) -C $$dir $@ ) || exit 1; \
|
||||||
@ -1451,8 +1489,8 @@ endif
|
|||||||
# very conservative approach ensuring that empty variables do not cause
|
# very conservative approach ensuring that empty variables do not cause
|
||||||
# errors or disastrous removal.
|
# errors or disastrous removal.
|
||||||
clean-local::
|
clean-local::
|
||||||
ifneq ($(strip $(ObjDir)),)
|
ifneq ($(strip $(ObjRootDir)),)
|
||||||
-$(Verb) $(RM) -rf $(ObjDir)
|
-$(Verb) $(RM) -rf $(ObjRootDir)
|
||||||
endif
|
endif
|
||||||
-$(Verb) $(RM) -f core core.[0-9][0-9]* *.o *.d *~ *.flc
|
-$(Verb) $(RM) -f core core.[0-9][0-9]* *.o *.d *~ *.flc
|
||||||
ifneq ($(strip $(SHLIBEXT)),) # Extra paranoia - make real sure SHLIBEXT is set
|
ifneq ($(strip $(SHLIBEXT)),) # Extra paranoia - make real sure SHLIBEXT is set
|
||||||
|
@ -242,6 +242,14 @@ dnl Check for build platform executable suffix if we're crosscompiling
|
|||||||
if test "$cross_compiling" = yes; then
|
if test "$cross_compiling" = yes; then
|
||||||
AC_SUBST(LLVM_CROSS_COMPILING, [1])
|
AC_SUBST(LLVM_CROSS_COMPILING, [1])
|
||||||
AC_BUILD_EXEEXT
|
AC_BUILD_EXEEXT
|
||||||
|
ac_build_prefix=${build_alias}-
|
||||||
|
AC_CHECK_PROG(BUILD_CXX, ${ac_build_prefix}g++, ${ac_build_prefix}g++)
|
||||||
|
if test -z "$BUILD_CXX"; then
|
||||||
|
AC_CHECK_PROG(BUILD_CXX, g++, g++)
|
||||||
|
if test -z "$BUILD_CXX"; then
|
||||||
|
AC_CHECK_PROG(BUILD_CXX, c++, c++, , , /usr/ucb/c++)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
AC_SUBST(LLVM_CROSS_COMPILING, [0])
|
AC_SUBST(LLVM_CROSS_COMPILING, [0])
|
||||||
fi
|
fi
|
||||||
|
195
configure
vendored
195
configure
vendored
@ -827,6 +827,7 @@ EGREP
|
|||||||
LLVM_CROSS_COMPILING
|
LLVM_CROSS_COMPILING
|
||||||
BUILD_CC
|
BUILD_CC
|
||||||
BUILD_EXEEXT
|
BUILD_EXEEXT
|
||||||
|
BUILD_CXX
|
||||||
CVSBUILD
|
CVSBUILD
|
||||||
ENABLE_OPTIMIZED
|
ENABLE_OPTIMIZED
|
||||||
DISABLE_ASSERTIONS
|
DISABLE_ASSERTIONS
|
||||||
@ -4565,6 +4566,139 @@ test x"${ac_cv_build_exeext}" != xblank && BUILD_EXEEXT=${ac_cv_build_exeext}
|
|||||||
echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
|
echo "${ECHO_T}${ac_cv_build_exeext}" >&6; }
|
||||||
ac_build_exeext=$BUILD_EXEEXT
|
ac_build_exeext=$BUILD_EXEEXT
|
||||||
|
|
||||||
|
ac_build_prefix=${build_alias}-
|
||||||
|
# Extract the first word of "${ac_build_prefix}g++", so it can be a program name with args.
|
||||||
|
set dummy ${ac_build_prefix}g++; ac_word=$2
|
||||||
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||||
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||||
|
if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||||
|
ac_cv_prog_BUILD_CXX="${ac_build_prefix}g++"
|
||||||
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
BUILD_CXX=$ac_cv_prog_BUILD_CXX
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
{ echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
|
||||||
|
echo "${ECHO_T}$BUILD_CXX" >&6; }
|
||||||
|
else
|
||||||
|
{ echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
echo "${ECHO_T}no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test -z "$BUILD_CXX"; then
|
||||||
|
# Extract the first word of "g++", so it can be a program name with args.
|
||||||
|
set dummy g++; ac_word=$2
|
||||||
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||||
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||||
|
if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
|
||||||
|
else
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||||
|
ac_cv_prog_BUILD_CXX="g++"
|
||||||
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
BUILD_CXX=$ac_cv_prog_BUILD_CXX
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
{ echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
|
||||||
|
echo "${ECHO_T}$BUILD_CXX" >&6; }
|
||||||
|
else
|
||||||
|
{ echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
echo "${ECHO_T}no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test -z "$BUILD_CXX"; then
|
||||||
|
# Extract the first word of "c++", so it can be a program name with args.
|
||||||
|
set dummy c++; ac_word=$2
|
||||||
|
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
|
||||||
|
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
|
||||||
|
if test "${ac_cv_prog_BUILD_CXX+set}" = set; then
|
||||||
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
||||||
|
else
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
ac_cv_prog_BUILD_CXX="$BUILD_CXX" # Let the user override the test.
|
||||||
|
else
|
||||||
|
ac_prog_rejected=no
|
||||||
|
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
||||||
|
for as_dir in $PATH
|
||||||
|
do
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
test -z "$as_dir" && as_dir=.
|
||||||
|
for ac_exec_ext in '' $ac_executable_extensions; do
|
||||||
|
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
|
||||||
|
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/c++"; then
|
||||||
|
ac_prog_rejected=yes
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
ac_cv_prog_BUILD_CXX="c++"
|
||||||
|
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
||||||
|
break 2
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
IFS=$as_save_IFS
|
||||||
|
|
||||||
|
if test $ac_prog_rejected = yes; then
|
||||||
|
# We found a bogon in the path, so make sure we never use it.
|
||||||
|
set dummy $ac_cv_prog_BUILD_CXX
|
||||||
|
shift
|
||||||
|
if test $# != 0; then
|
||||||
|
# We chose a different compiler from the bogus one.
|
||||||
|
# However, it has the same basename, so the bogon will be chosen
|
||||||
|
# first if we set BUILD_CXX to just the basename; use the full file name.
|
||||||
|
shift
|
||||||
|
ac_cv_prog_BUILD_CXX="$as_dir/$ac_word${1+' '}$@"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
BUILD_CXX=$ac_cv_prog_BUILD_CXX
|
||||||
|
if test -n "$BUILD_CXX"; then
|
||||||
|
{ echo "$as_me:$LINENO: result: $BUILD_CXX" >&5
|
||||||
|
echo "${ECHO_T}$BUILD_CXX" >&6; }
|
||||||
|
else
|
||||||
|
{ echo "$as_me:$LINENO: result: no" >&5
|
||||||
|
echo "${ECHO_T}no" >&6; }
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
fi
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
LLVM_CROSS_COMPILING=0
|
LLVM_CROSS_COMPILING=0
|
||||||
|
|
||||||
@ -8868,9 +9002,7 @@ if test "${enable_ltdl_install+set}" = set; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if test x"${enable_ltdl_install-no}" != xno; then
|
||||||
|
|
||||||
if test x"${enable_ltdl_install-no}" != xno; then
|
|
||||||
INSTALL_LTDL_TRUE=
|
INSTALL_LTDL_TRUE=
|
||||||
INSTALL_LTDL_FALSE='#'
|
INSTALL_LTDL_FALSE='#'
|
||||||
else
|
else
|
||||||
@ -8878,9 +9010,7 @@ else
|
|||||||
INSTALL_LTDL_FALSE=
|
INSTALL_LTDL_FALSE=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x"${enable_ltdl_convenience-no}" != xno; then
|
||||||
|
|
||||||
if test x"${enable_ltdl_convenience-no}" != xno; then
|
|
||||||
CONVENIENCE_LTDL_TRUE=
|
CONVENIENCE_LTDL_TRUE=
|
||||||
CONVENIENCE_LTDL_FALSE='#'
|
CONVENIENCE_LTDL_FALSE='#'
|
||||||
else
|
else
|
||||||
@ -10647,7 +10777,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 10650 "configure"
|
#line 10780 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -12791,7 +12921,7 @@ ia64-*-hpux*)
|
|||||||
;;
|
;;
|
||||||
*-*-irix6*)
|
*-*-irix6*)
|
||||||
# Find out which ABI we are using.
|
# Find out which ABI we are using.
|
||||||
echo '#line 12794 "configure"' > conftest.$ac_ext
|
echo '#line 12924 "configure"' > conftest.$ac_ext
|
||||||
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
||||||
(eval $ac_compile) 2>&5
|
(eval $ac_compile) 2>&5
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
@ -14509,11 +14639,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:14512: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:14642: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:14516: \$? = $ac_status" >&5
|
echo "$as_me:14646: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -14777,11 +14907,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:14780: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:14910: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:14784: \$? = $ac_status" >&5
|
echo "$as_me:14914: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -14881,11 +15011,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:14884: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:15014: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:14888: \$? = $ac_status" >&5
|
echo "$as_me:15018: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -17333,7 +17463,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 17336 "configure"
|
#line 17466 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -17433,7 +17563,7 @@ else
|
|||||||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||||
lt_status=$lt_dlunknown
|
lt_status=$lt_dlunknown
|
||||||
cat > conftest.$ac_ext <<EOF
|
cat > conftest.$ac_ext <<EOF
|
||||||
#line 17436 "configure"
|
#line 17566 "configure"
|
||||||
#include "confdefs.h"
|
#include "confdefs.h"
|
||||||
|
|
||||||
#if HAVE_DLFCN_H
|
#if HAVE_DLFCN_H
|
||||||
@ -19801,11 +19931,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:19804: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:19934: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:19808: \$? = $ac_status" >&5
|
echo "$as_me:19938: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -19905,11 +20035,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:19908: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:20038: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:19912: \$? = $ac_status" >&5
|
echo "$as_me:20042: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -21475,11 +21605,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:21478: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:21608: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:21482: \$? = $ac_status" >&5
|
echo "$as_me:21612: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -21579,11 +21709,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:21582: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:21712: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:21586: \$? = $ac_status" >&5
|
echo "$as_me:21716: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -23814,11 +23944,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:23817: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:23947: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:23821: \$? = $ac_status" >&5
|
echo "$as_me:23951: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -24082,11 +24212,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:24085: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:24215: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>conftest.err)
|
(eval "$lt_compile" 2>conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat conftest.err >&5
|
cat conftest.err >&5
|
||||||
echo "$as_me:24089: \$? = $ac_status" >&5
|
echo "$as_me:24219: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s "$ac_outfile"; then
|
if (exit $ac_status) && test -s "$ac_outfile"; then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
# So say no if there are warnings other than the usual output.
|
# So say no if there are warnings other than the usual output.
|
||||||
@ -24186,11 +24316,11 @@ else
|
|||||||
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
|
||||||
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
|
||||||
-e 's:$: $lt_compiler_flag:'`
|
-e 's:$: $lt_compiler_flag:'`
|
||||||
(eval echo "\"\$as_me:24189: $lt_compile\"" >&5)
|
(eval echo "\"\$as_me:24319: $lt_compile\"" >&5)
|
||||||
(eval "$lt_compile" 2>out/conftest.err)
|
(eval "$lt_compile" 2>out/conftest.err)
|
||||||
ac_status=$?
|
ac_status=$?
|
||||||
cat out/conftest.err >&5
|
cat out/conftest.err >&5
|
||||||
echo "$as_me:24193: \$? = $ac_status" >&5
|
echo "$as_me:24323: \$? = $ac_status" >&5
|
||||||
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
if (exit $ac_status) && test -s out/conftest2.$ac_objext
|
||||||
then
|
then
|
||||||
# The compiler can only warn and ignore the option if not recognized
|
# The compiler can only warn and ignore the option if not recognized
|
||||||
@ -35138,6 +35268,7 @@ EGREP!$EGREP$ac_delim
|
|||||||
LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
|
LLVM_CROSS_COMPILING!$LLVM_CROSS_COMPILING$ac_delim
|
||||||
BUILD_CC!$BUILD_CC$ac_delim
|
BUILD_CC!$BUILD_CC$ac_delim
|
||||||
BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
|
BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
|
||||||
|
BUILD_CXX!$BUILD_CXX$ac_delim
|
||||||
CVSBUILD!$CVSBUILD$ac_delim
|
CVSBUILD!$CVSBUILD$ac_delim
|
||||||
ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
|
ENABLE_OPTIMIZED!$ENABLE_OPTIMIZED$ac_delim
|
||||||
DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
|
DISABLE_ASSERTIONS!$DISABLE_ASSERTIONS$ac_delim
|
||||||
@ -35163,7 +35294,6 @@ YACC!$YACC$ac_delim
|
|||||||
YFLAGS!$YFLAGS$ac_delim
|
YFLAGS!$YFLAGS$ac_delim
|
||||||
BISON!$BISON$ac_delim
|
BISON!$BISON$ac_delim
|
||||||
NM!$NM$ac_delim
|
NM!$NM$ac_delim
|
||||||
ifGNUmake!$ifGNUmake$ac_delim
|
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
|
||||||
@ -35205,6 +35335,7 @@ _ACEOF
|
|||||||
ac_delim='%!_!# '
|
ac_delim='%!_!# '
|
||||||
for ac_last_try in false false false false false :; do
|
for ac_last_try in false false false false false :; do
|
||||||
cat >conf$$subs.sed <<_ACEOF
|
cat >conf$$subs.sed <<_ACEOF
|
||||||
|
ifGNUmake!$ifGNUmake$ac_delim
|
||||||
LN_S!$LN_S$ac_delim
|
LN_S!$LN_S$ac_delim
|
||||||
CMP!$CMP$ac_delim
|
CMP!$CMP$ac_delim
|
||||||
CP!$CP$ac_delim
|
CP!$CP$ac_delim
|
||||||
@ -35285,7 +35416,7 @@ LIBOBJS!$LIBOBJS$ac_delim
|
|||||||
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
LTLIBOBJS!$LTLIBOBJS$ac_delim
|
||||||
_ACEOF
|
_ACEOF
|
||||||
|
|
||||||
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
|
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 79; then
|
||||||
break
|
break
|
||||||
elif $ac_last_try; then
|
elif $ac_last_try; then
|
||||||
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
|
||||||
|
Loading…
Reference in New Issue
Block a user