1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix paths; AutoRegen.sh changes its current working directory to be the

autoconf directory, but these paths need to be relative to the main
source directory.

llvm-svn: 67655
This commit is contained in:
Dan Gohman 2009-03-24 23:46:25 +00:00
parent 91dd40133b
commit 2175f600ab
2 changed files with 6 additions and 6 deletions

View File

@ -13,14 +13,14 @@ cwd=`pwd`
if test -d ../../../autoconf/m4 ; then
cd ../../../autoconf/m4
llvm_m4=`pwd`
llvm_src_root=../../..
llvm_obj_root=../../..
llvm_src_root=../..
llvm_obj_root=../..
cd $cwd
elif test -d ../../llvm/autoconf/m4 ; then
cd ../../llvm/autoconf/m4
llvm_m4=`pwd`
llvm_src_root=../..
llvm_obj_root=../..
llvm_src_root=..
llvm_obj_root=..
cd $cwd
else
while true ; do

View File

@ -4,8 +4,8 @@ dnl **************************************************************************
AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
dnl Identify where LLVM source tree is
LLVM_SRC_ROOT="../../"
LLVM_OBJ_ROOT="../../"
LLVM_SRC_ROOT="../.."
LLVM_OBJ_ROOT="../.."
dnl Tell autoconf that the auxilliary files are actually located in
dnl the LLVM autoconf directory, not here.
AC_CONFIG_AUX_DIR($LLVM_SRC_ROOT/autoconf)