diff --git a/Makefile.config.in b/Makefile.config.in index b4ecea631e3c..e3bd2a207a50 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 11837558fe74..289adc2be429 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 59757078740a..7fa883e9cc50 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) diff --git a/configure b/configure index 863460b93e52..6fbc47c72a7e 100755 --- a/configure +++ b/configure @@ -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 <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 >$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"; } &&