Enrico Forestieri a écrit :
On Sat, Apr 29, 2006 at 07:03:40PM +0200, Abdelrazak Younes wrote:
...
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.

configure is generated by automake so it might be better to fix one of those instead:

$ grep ac_save_ifs *.m4
acinclude.m4:    IFS="${IFS=    }"; ac_save_ifs="$IFS"; IFS=":"
acinclude.m4:    IFS="$ac_save_ifs"
acinclude.m4:IFS="${IFS=        }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
acinclude.m4:IFS=$ac_save_ifs
aclocal.m4: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
aclocal.m4:  IFS="$ac_save_ifs"

Is it the first one?
acinclude.m4:    IFS="${IFS=    }"; ac_save_ifs="$IFS"; IFS=";:"

Abdel.

Reply via email to