On Sat, Apr 29, 2006 at 07:03:40PM +0200, Abdelrazak Younes wrote:

> Enrico Forestieri a écrit :
> > On Sat, Apr 29, 2006 at 06:47:56PM +0200, Abdelrazak Younes wrote:
> > 
> >> Enrico Forestieri a écrit :
> >>> On Sat, Apr 29, 2006 at 06:30:38PM +0200, Abdelrazak Younes wrote:
> >>>
> >>> Abdel,
> >>>
> >>> Please try the following (set the env var on the same configure line)
> >>>
> >>> PATH_SEPARATOR=';' ../configure 
> >>> --with-extra-prefix="d:/mingw;d:/program/Aspell-0.60.4" ...
> >>>
> >>> and tell me if that works.
> >> No:
> > 
> > Sorry, my fault. You should also set your PATH using ';' as
> > a separator. Please try
> > 
> > PATH="`echo $PATH|sed 's/:/;/g'`" PATH_SEPARATOR=';' ../configure 
> > --with-extra-prefix="d:/mingw;d:/program/Aspell-0.60.4" ...
> 
> No it doesn't work:
> 
> $ PATH="`echo $PATH|sed 's/:/;/g'`" PATH_SEPARATOR=';' ./configure 
> --with-extra-prefix="d:/mingw;d/program/Aspell-0.60.4" ... 
> --with-included-gettext --with-packaging=windows --prefi
> x='d:/program/lyx-svn' --without-x --with-aspell 
> --with-version-suffix=-svn --with-fronte
> nd=qt4 --disable-maintainer-mode --disable-debug 
> --enable-optimization=-O3 --disable-pch
> --disable-stdlib-debug --enable-concept-checks 
> --with-qt4-dir='d:/program/Qt/4.1'
> ./configure: line 83: sed: command not found
> ./configure: line 166: sed: command not found
> ./configure: line 175: sed: command not found
> : error: cannot create .lineno; rerun with a POSIX shell
> 
> > all in a line. Failing that, I have other ideas specifically for
> > --with-extra-prefix, if you are interested.
> 
> I am, I think we should fix the configure script so that the extra 
> options accept ';' separator also. Playing with PATH etc is not nice 
> IMHO. In the mean time LDFLAGS and CPPFLAGS will do.

Ok, the following is hackish but should work.
Edit the configure script and search for the line

### Add both includes and libraries

then, 24 lines below you will find

IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS="${IFS}:"

change this to

IFS="${IFS=     }"; ac_save_ifs="$IFS"; IFS=";:"

and --with-extra-prefix="d:/mingw;d:/program/Aspell-0.60.4"
should work...

Pay attention as IFS="${IFS=    }" above contains a literal tab.

-- 
Enrico

Reply via email to