aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20080101: configure doesn’t autodetect base toolkit  (Read 2535 times)

morricone

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
20080101: configure doesn’t autodetect base toolkit
« 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.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20080101: configure doesn’t autodetect base toolkit
« Reply #1 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!
Logged

morricone

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: 20080101: configure doesn’t autodetect base toolkit
« Reply #2 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
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20080101: configure doesn’t autodetect base toolkit
« Reply #3 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!
« Last Edit: February 01, 2008, 12:38:02 PM by phoenix »
Logged

morricone

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 11
Re: 20080101: configure doesn’t autodetect base toolkit
« Reply #4 on: February 03, 2008, 12:21:34 AM »

Now it works like a charm.

Thanks!

Logged