[Bug 18322] Cannot recreate "configure" script

wine-bugs at winehq.org wine-bugs at winehq.org
Sat May 2 04:48:27 CDT 2009


Philip Ashmore <contact at philipashmore.com> changed:

           What    |Removed                     |Added
                 CC|                            |contact at philipashmore.com
             Status|CLOSED                      |UNCONFIRMED
         Resolution|INVALID                     |

--- Comment #4 from Philip Ashmore <contact at philipashmore.com>  2009-05-02 04:48:27 ---
Thanks for your quick reply.

I can see that I haven't succeeded in making the problem abundantly clear so
let's try again.

1. I want to build a package based on Wine
2. I need to modify configure.ac
3. I need the existing Wine source distribution to be able to recreate the
"configure" script from a changed configure.ac

I'm stuck at (3) above because it requires that the existing Wine source
distribution is able to at least recreate the configure script from an
_unmodified_ configure.ac

I'm running Debian Lenny amd64.
To test this yourself, go through the following steps.

Obtain the source bzipped tar ball "wine-1.1.20.tar.bz2" into a directory
writeable by you as a normal user and run the following bash script

    mkdir tmp    # You need these otherwise (like me) wineinstall will look
    cd tmp       # for "configure" in the _parent_ directory of wine-1.1.20
    tar -xjf ../wine-1.1.20.tar.bz2
    cd wine-1.1.20
    rm configure # We're testing that wineinstall will re-generate this

Like me, you should get

    Wine Installer v1.0

    You're running this from the wrong directory.
    Change to the Wine source's main directory and try again.

It looks like wineinstall doesn't even try to regenerate configure.

As for reading the documentation, which version? I got "Autoconf, Automake and
Libtool" from
In chapter 8 of this book there is a section called "bootstrapping" that
indicates that how you get to the point of running configure is a matter of
taste - the options offered were "autogen.sh", "bootstrap2, "autoreconf" and
"AM_MAINTAINER_MODE", non of which are available in the Wine source

I also noticed that "aclocal.m4" is hand-written, not generated from
configure.ac by aclocal, and this would lead me to the conclusion that Wine is
a non-standard Autotools project and therefore might have a non-standard means
of re-generating "configure".

Sure, I can "try" running autoconf and see if that works, but gee I thought it
might be nice if you could please tell me how you did it, so I can do it the
same way!

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list