aMule Forum

English => en_Bugs => Topic started by: morricone on January 04, 2008, 02:16:18 AM

Title: 20080101: configure doesn’t autodetect base toolkit
Post by: morricone on January 04, 2008, 02:16:18 AM
Adding:

Code: [Select]
WX_BASE=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")and
Code: [Select]
if test "$WX_BASE" != "0"; then WX_PORT="base"; fi
to configure(:~7960) should make it work.
Title: Re: 20080101: configure doesn’t autodetect base toolkit
Post by: phoenix on January 05, 2008, 12:54:42 AM
Hi morricone,

The file "configure" is generated from several files like configure.in, m4/*, etc. If you want to change the resultant file, you must change the macro that generates the test, which is probably under the directory "m4".

Cheers!
Title: Re: 20080101: configure doesn’t autodetect base toolkit
Post by: morricone on January 31, 2008, 04:43:51 PM
Ok, then in m4/wxwin.m4:869

add:
Code: [Select]
WX_BASEPORT=$(expr "$WX_SELECTEDCONFIG" : ".*base.*")and
Code: [Select]
if test "$WX_BASEPORT" != "0"; then WX_PORT="dfb"; fi
Title: Re: 20080101: configure doesn’t autodetect base toolkit
Post by: phoenix on February 01, 2008, 12:34:27 PM
You have posted lines with a difference between your first and second post.

Code: [Select]
if test "$WX_BASE" != "0"; then WX_PORT="base"; fi
Code: [Select]
if test "$WX_BASEPORT" != "0"; then WX_PORT="dfb"; fi
 I believe the correct one is this one, right? A mix of the two:
Code: [Select]
if test "$WX_BASEPORT" != "0"; then WX_PORT="base"; fi
The fix will be in tomorrow tarball, please test and report.

Cheers!
Title: Re: 20080101: configure doesn’t autodetect base toolkit
Post by: morricone on February 03, 2008, 12:21:34 AM
Now it works like a charm.

Thanks!