cvs: docweb / configure configure.in
| From: | Nuno Lopes | Date: | Sun, 16 Jan 2005 11:44:23 +0000 |
| Subject: | cvs: docweb / configure configure.in | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-472@lists.php.net to get a copy of this message | ||
nlopess Sun Jan 16 06:44:23 2005 EDT
Modified files:
/docweb configure configure.in
Log:
make docweb compatible with windows/cygwin
http://cvs.php.net/diff.php/docweb/configure?r1=1.2&r2=1.3&ty=u
Index: docweb/configure
diff -u docweb/configure:1.2 docweb/configure:1.3
--- docweb/configure:1.2 Sun Nov 28 18:07:38 2004
+++ docweb/configure Sun Jan 16 06:44:23 2005
@@ -830,6 +830,19 @@
DOCWEB=
pwd
+if test uname|grep CYGWIN ; then
+ PHP=cygpath -w $PHP
+ CRONDIR=cygpath -m $CRONDIR
+ CVSDIR=cygpath -m $CVSDIR
+ DOCWEB=cygpath -m $DOCWEB
+ SCRIPTSDIR=cygpath -m $SCRIPTSDIR
+ SQLDIR=cygpath -m $SQLDIR
+ SQLITEDIR=cygpath -m $SQLITEDIR
+ FILESDIR=cygpath -m $FILESDIR
+fi
+
+
+
http://cvs.php.net/diff.php/docweb/configure.in?r1=1.4&r2=1.5&ty=u
Index: docweb/configure.in
diff -u docweb/configure.in:1.4 docweb/configure.in:1.5
--- docweb/configure.in:1.4 Mon Nov 29 10:30:58 2004
+++ docweb/configure.in Sun Jan 16 06:44:23 2005
@@ -1,5 +1,5 @@
## A configure script
-## $Id: configure.in,v 1.4 2004/11/29 15:30:58 sean Exp $
+## $Id: configure.in,v 1.5 2005/01/16 11:44:23 nlopess Exp $
AC_PREREQ(2.13)
AC_INIT()
@@ -84,6 +84,18 @@
DOCWEB=pwd
+if test uname|grep CYGWIN ; then
+ PHP=cygpath -w $PHP
+ CRONDIR=cygpath -m $CRONDIR
+ CVSDIR=cygpath -m $CVSDIR
+ DOCWEB=cygpath -m $DOCWEB
+ SCRIPTSDIR=cygpath -m $SCRIPTSDIR
+ SQLDIR=cygpath -m $SQLDIR
+ SQLITEDIR=cygpath -m $SQLITEDIR
+ FILESDIR=cygpath -m $FILESDIR
+fi
+
+
AC_SUBST(PHP)
AC_SUBST(CRONDIR)
AC_SUBST(CVSDIR)