llvm.org GIT mirror llvm / 497e863
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67655 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 11 years ago
2 changed file(s) with 6 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
1212 if test -d ../../../autoconf/m4 ; then
1313 cd ../../../autoconf/m4
1414 llvm_m4=`pwd`
15 llvm_src_root=../../..
16 llvm_obj_root=../../..
15 llvm_src_root=../..
16 llvm_obj_root=../..
1717 cd $cwd
1818 elif test -d ../../llvm/autoconf/m4 ; then
1919 cd ../../llvm/autoconf/m4
2020 llvm_m4=`pwd`
21 llvm_src_root=../..
22 llvm_obj_root=../..
21 llvm_src_root=..
22 llvm_obj_root=..
2323 cd $cwd
2424 else
2525 while true ; do
33 AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs@yourdomain])
44
55 dnl Identify where LLVM source tree is
6 LLVM_SRC_ROOT="../../"
7 LLVM_OBJ_ROOT="../../"
6 LLVM_SRC_ROOT="../.."
7 LLVM_OBJ_ROOT="../.."
88 dnl Tell autoconf that the auxilliary files are actually located in
99 dnl the LLVM autoconf directory, not here.
1010 AC_CONFIG_AUX_DIR($LLVM_SRC_ROOT/autoconf)