summaryrefslogtreecommitdiff
path: root/lib/make/configure.in
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-10 21:50:28 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-12-10 21:50:28 +0000
commit3069686120b902a3a49d590433e3e62207b7f7d5 (patch)
tree8d95e5764d0ac050094ec017bd044fa04727a4da /lib/make/configure.in
parent82615e8ff54e7977372f5ace4ba0066751da85b8 (diff)
Added removal of cygdrive from path to perl script if using cygwin. Now works
with cygwin 1.1.6 on my virtual machine. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1916 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/make/configure.in')
-rw-r--r--lib/make/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/make/configure.in b/lib/make/configure.in
index f8d364e3..47fb0c6d 100644
--- a/lib/make/configure.in
+++ b/lib/make/configure.in
@@ -707,7 +707,9 @@ AC_DEFINE_UNQUOTED(MKDIRFLAGS, " $MKDIRFLAGS ")
# The perl scripts run by the make system need to have their names
# changed if under cygwin - e.g. //d/foo needs to be d:/foo
-PERL_CONFIGURE_SCRIPT=`echo $srcdir/configure.pl | sed 's,^//\(.\)/,\1:/,'`
+if test "$host_os" = "cygwin" ; then
+ PERL_CONFIGURE_SCRIPT=`echo $srcdir/configure.pl | sed 's,^/cygdrive/\(.\)/,\1:/,' | sed 's,^//\(.\)/,\1:/,'`
+fi
AC_SUBST(BUILD_ACTIVETHORNS)
BUILD_ACTIVETHORNS='$(CCTK_HOME)/lib/sbin/BuildActiveThorns.pl'