[llvm-commits] [llvm] r67655 - in /llvm/trunk/projects/sample/autoconf: AutoRegen.sh configure.ac
Dan Gohman
gohman at apple.com
Tue Mar 24 16:46:25 PDT 2009
Author: djg
Date: Tue Mar 24 18:46:25 2009
New Revision: 67655
URL: http://llvm.org/viewvc/llvm-project?rev=67655&view=rev
Log:
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.
Modified:
llvm/trunk/projects/sample/autoconf/AutoRegen.sh
llvm/trunk/projects/sample/autoconf/configure.ac
Modified: llvm/trunk/projects/sample/autoconf/AutoRegen.sh
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/sample/autoconf/AutoRegen.sh?rev=67655&r1=67654&r2=67655&view=diff
==============================================================================
--- llvm/trunk/projects/sample/autoconf/AutoRegen.sh (original)
+++ llvm/trunk/projects/sample/autoconf/AutoRegen.sh Tue Mar 24 18:46:25 2009
@@ -13,14 +13,14 @@
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
Modified: llvm/trunk/projects/sample/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/projects/sample/autoconf/configure.ac?rev=67655&r1=67654&r2=67655&view=diff
==============================================================================
--- llvm/trunk/projects/sample/autoconf/configure.ac (original)
+++ llvm/trunk/projects/sample/autoconf/configure.ac Tue Mar 24 18:46:25 2009
@@ -4,8 +4,8 @@
AC_INIT([[[SAMPLE]]],[[[x.xx]]],[bugs at 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)
More information about the llvm-commits
mailing list