diff options
-rw-r--r-- | Makefile.config.in | 1 | ||||
-rw-r--r-- | Makefile.rules | 16 | ||||
-rw-r--r-- | autoconf/configure.ac | 3 | ||||
-rwxr-xr-x | configure | 16 |
4 files changed, 15 insertions, 21 deletions
diff --git a/Makefile.config.in b/Makefile.config.in index b4ecea631e..e3bd2a207a 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -61,7 +61,6 @@ endif prefix := @prefix@ PROJ_prefix := $(prefix) -program_prefix := @program_prefix@ PROJ_VERSION := $(LLVMVersion) else ifndef PROJ_SRC_ROOT diff --git a/Makefile.rules b/Makefile.rules index 11837558fe..289adc2be4 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -548,22 +548,22 @@ else LLVM_CONFIG := $(LLVMToolDir)/llvm-config$(EXEEXT) endif ifndef LLVMDIS -LLVMDIS := $(LLVMToolDir)/$(program_prefix)llvm-dis$(EXEEXT) +LLVMDIS := $(LLVMToolDir)/llvm-dis$(EXEEXT) endif ifndef LLI -LLI := $(LLVMToolDir)/$(program_prefix)lli$(EXEEXT) +LLI := $(LLVMToolDir)/lli$(EXEEXT) endif ifndef LLC -LLC := $(LLVMToolDir)/$(program_prefix)llc$(EXEEXT) +LLC := $(LLVMToolDir)/llc$(EXEEXT) endif ifndef LOPT -LOPT := $(LLVMToolDir)/$(program_prefix)opt$(EXEEXT) +LOPT := $(LLVMToolDir)/opt$(EXEEXT) endif ifndef LBUGPOINT -LBUGPOINT := $(LLVMToolDir)/$(program_prefix)bugpoint$(EXEEXT) +LBUGPOINT := $(LLVMToolDir)/bugpoint$(EXEEXT) endif ifndef LLVMLINK -LLVMLINK := $(LLVMToolDir)/$(program_prefix)llvm-link$(EXEEXT) +LLVMLINK := $(LLVMToolDir)/llvm-link$(EXEEXT) endif #-------------------------------------------------------------------- @@ -1541,7 +1541,7 @@ ToolBinDir = $(DESTDIR)$(PROJ_internal_prefix)/bin else ToolBinDir = $(DESTDIR)$(PROJ_bindir) endif -DestTool = $(ToolBinDir)/$(program_prefix)$(TOOLEXENAME) +DestTool = $(ToolBinDir)/$(TOOLEXENAME) install-local:: $(DestTool) @@ -1556,7 +1556,7 @@ uninstall-local:: # TOOLALIAS install. ifdef TOOLALIAS -DestToolAlias = $(ToolBinDir)/$(program_prefix)$(TOOLALIAS)$(EXEEXT) +DestToolAlias = $(ToolBinDir)/$(TOOLALIAS)$(EXEEXT) install-local:: $(DestToolAlias) diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 5975707874..7fa883e9cc 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -40,9 +40,6 @@ dnl in the output of --version option of the generated configure script. AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign."]) AC_COPYRIGHT([Copyright (c) 2003-2012 University of Illinois at Urbana-Champaign.]) -dnl Add --program-prefix value to Makefile.rules. Already an ARG variable. -AC_SUBST([program_prefix]) - dnl Indicate that we require autoconf 2.60 or later. AC_PREREQ(2.60) @@ -640,7 +640,6 @@ build_alias host_alias target_alias LLVM_COPYRIGHT -program_prefix CC CFLAGS LDFLAGS @@ -1929,8 +1928,6 @@ LLVM_COPYRIGHT="Copyright (c) 2003-2012 University of Illinois at Urbana-Champai - - ac_aux_dir= for ac_dir in autoconf "$srcdir"/autoconf; do if test -f "$ac_dir/install-sh"; then @@ -10292,7 +10289,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<EOF -#line 10295 "configure" +#line 10292 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -22117,7 +22114,6 @@ build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim LLVM_COPYRIGHT!$LLVM_COPYRIGHT$ac_delim -program_prefix!$program_prefix$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim @@ -22176,6 +22172,7 @@ JIT!$JIT$ac_delim TARGET_HAS_JIT!$TARGET_HAS_JIT$ac_delim ENABLE_DOCS!$ENABLE_DOCS$ac_delim ENABLE_DOXYGEN!$ENABLE_DOXYGEN$ac_delim +LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then @@ -22217,7 +22214,6 @@ _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF -LLVM_ENABLE_THREADS!$LLVM_ENABLE_THREADS$ac_delim ENABLE_PTHREADS!$ENABLE_PTHREADS$ac_delim ENABLE_PIC!$ENABLE_PIC$ac_delim ENABLE_SHARED!$ENABLE_SHARED$ac_delim @@ -22315,7 +22311,7 @@ LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 96; then + if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 95; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 @@ -22334,7 +22330,7 @@ fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g @@ -22347,6 +22343,8 @@ N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS <conf$$subs.sed rm -f conf$$subs.sed cat >>$CONFIG_STATUS <<_ACEOF +:end +s/|#_!!_#|//g CEOF$ac_eof _ACEOF @@ -22594,7 +22592,7 @@ s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed 's/|#_!!_#|//g' >$tmp/out +" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |