llvm.org GIT mirror llvm / 164a308
Temporarily revert this to bring back the bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162722 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 7 years ago
4 changed file(s) with 15 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
6060
6161 prefix := @prefix@
6262 PROJ_prefix := $(prefix)
63 program_prefix := @program_prefix@
6463 PROJ_VERSION := $(LLVMVersion)
6564 else
6665 ifndef PROJ_SRC_ROOT
547547 LLVM_CONFIG := $(LLVMToolDir)/llvm-config$(EXEEXT)
548548 endif
549549 ifndef LLVMDIS
550 LLVMDIS := $(LLVMToolDir)/$(program_prefix)llvm-dis$(EXEEXT)
550 LLVMDIS := $(LLVMToolDir)/llvm-dis$(EXEEXT)
551551 endif
552552 ifndef LLI
553 LLI := $(LLVMToolDir)/$(program_prefix)lli$(EXEEXT)
553 LLI := $(LLVMToolDir)/lli$(EXEEXT)
554554 endif
555555 ifndef LLC
556 LLC := $(LLVMToolDir)/$(program_prefix)llc$(EXEEXT)
556 LLC := $(LLVMToolDir)/llc$(EXEEXT)
557557 endif
558558 ifndef LOPT
559 LOPT := $(LLVMToolDir)/$(program_prefix)opt$(EXEEXT)
559 LOPT := $(LLVMToolDir)/opt$(EXEEXT)
560560 endif
561561 ifndef LBUGPOINT
562 LBUGPOINT := $(LLVMToolDir)/$(program_prefix)bugpoint$(EXEEXT)
562 LBUGPOINT := $(LLVMToolDir)/bugpoint$(EXEEXT)
563563 endif
564564 ifndef LLVMLINK
565 LLVMLINK := $(LLVMToolDir)/$(program_prefix)llvm-link$(EXEEXT)
565 LLVMLINK := $(LLVMToolDir)/llvm-link$(EXEEXT)
566566 endif
567567
568568 #--------------------------------------------------------------------
15401540 else
15411541 ToolBinDir = $(DESTDIR)$(PROJ_bindir)
15421542 endif
1543 DestTool = $(ToolBinDir)/$(program_prefix)$(TOOLEXENAME)
1543 DestTool = $(ToolBinDir)/$(TOOLEXENAME)
15441544
15451545 install-local:: $(DestTool)
15461546
15551555
15561556 # TOOLALIAS install.
15571557 ifdef TOOLALIAS
1558 DestToolAlias = $(ToolBinDir)/$(program_prefix)$(TOOLALIAS)$(EXEEXT)
1558 DestToolAlias = $(ToolBinDir)/$(TOOLALIAS)$(EXEEXT)
15591559
15601560 install-local:: $(DestToolAlias)
15611561
3838 dnl in the output of --version option of the generated configure script.
3939 AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign."])
4040 AC_COPYRIGHT([Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign.])
41
42 dnl Add --program-prefix value to Makefile.rules. Already an ARG variable.
43 AC_SUBST([program_prefix])
4441
4542 dnl Indicate that we require autoconf 2.60 or later.
4643 AC_PREREQ(2.60)
639639 host_alias
640640 target_alias
641641 LLVM_COPYRIGHT
642 program_prefix
643642 CC
644643 CFLAGS
645644 LDFLAGS
19281927
19291928
19301929
1931
1932
19331930 ac_aux_dir=
19341931 for ac_dir in autoconf "$srcdir"/autoconf; do
19351932 if test -f "$ac_dir/install-sh"; then
1029110288 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1029210289 lt_status=$lt_dlunknown
1029310290 cat > conftest.$ac_ext <
10294 #line 10295 "configure"
10291 #line 10292 "configure"
1029510292 #include "confdefs.h"
1029610293
1029710294 #if HAVE_DLFCN_H
2211622113 host_alias!$host_alias$ac_delim
2211722114 target_alias!$target_alias$ac_delim
2211822115 LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim
22119 program_prefix!$program_prefix$ac_delim
2212022116 CC!$CC$ac_delim
2212122117 CFLAGS!$CFLAGS$ac_delim
2212222118 LDFLAGS!$LDFLAGS$ac_delim
2217522171 TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim
2217622172 ENABLE_DOCS!$ENABLE_DOCS$ac_delim
2217722173 ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim
22174 LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim
2217822175 _ACEOF
2217922176
2218022177 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
2221622213 ac_delim='%!_!# '
2221722214 for ac_last_try in false false false false false :; do
2221822215 cat >conf$$subs.sed <<_ACEOF
22219 LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim
2222022216 ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim
2222122217 ENABLE_PIC!$ENABLE_PIC$ac_delim
2222222218 ENABLE_SHARED!$ENABLE_SHARED$ac_delim
2231422310 LTLIBOBJS!$LTLIBOBJS$ac_delim
2231522311 _ACEOF
2231622312
22317 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then
22313 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then
2231822314 break
2231922315 elif $ac_last_try; then
2232022316 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2233322329
2233422330 cat >>$CONFIG_STATUS <<_ACEOF
2233522331 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22336 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2233722333 _ACEOF
2233822334 sed '
2233922335 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2234622342 ' >>$CONFIG_STATUS
2234722343 rm -f conf$$subs.sed
2234822344 cat >>$CONFIG_STATUS <<_ACEOF
22345 :end
22346 s/|#_!!_#|//g
2234922347 CEOF$ac_eof
2235022348 _ACEOF
2235122349
2259322591 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2259422592 s&@INSTALL@&$ac_INSTALL&;t t
2259522593 $ac_datarootdir_hack
22596 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed 's/|#_!!_#|//g' >$tmp/out
22594 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
2259722595
2259822596 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2259922597 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&