I was just trying to add a new dll to wine (w95in32.dll and w95inf16.dll). In order to achieve this I looked into some other dlls and copied the Makefile and Makefile.in. The I created the specfile for the dll and adjusted the Makefile. At least that was what I think I did, but it always complains that I have to run configure. So I adjusted configure as well and rerun it, but i stil get this error. Is there somewhere an explanation so I can look how I have to configure Makefile.in. The Makefile will be generated from this through configure, right?
"Gerhard" == Gerhard W Gruber sparhawk@gmx.at writes:
Gerhard> I was just trying to add a new dll to wine (w95in32.dll and Gerhard> w95inf16.dll). In order to achieve this I looked into some Gerhard> other dlls and copied the Makefile and Makefile.in. The I Gerhard> created the specfile for the dll and adjusted the Makefile. At Gerhard> least that was what I think I did, but it always complains that Gerhard> I have to run configure. So I adjusted configure as well and Gerhard> rerun it, but i stil get this error. Is there somewhere an Gerhard> explanation so I can look how I have to configure Gerhard> Makefile.in. The Makefile will be generated from this through Gerhard> configure, right?
At the files in the appropriate *.in Files, run autoconf and the normal ./configure, make depend, make cycel.
Bye
On Sat, May 03, 2003 at 11:30:49PM +0200, Gerhard W. Gruber wrote:
I was just trying to add a new dll to wine (w95in32.dll and w95inf16.dll). In order to achieve this I looked into some other dlls and copied the Makefile and Makefile.in. The I created the specfile for the dll and adjusted the Makefile. At least that was what I think I did, but it always complains that I have to run configure. So I adjusted configure as well and rerun it, but i stil get this error. Is there somewhere an explanation so I can look how I have to configure Makefile.in. The Makefile will be generated from this through configure, right?
You don't need to copy the Makefile (Makefile is generated from Makefile.in when you run configure). In order for configure to know it has to create the file it must to to do so. configure itself is not created by hand but created by autoconf from the configure.ac file. So what you have to to is add the new Makefile to configure.ac - search for AC_CONFIG_FILES([ Then you need to run autoconf (no arguments required but we require a version
=2.53). After that you need to rerun ./configure <options> (or
./config-status --recheck && ./config.status).
Ciao Jörg
-- Joerg Mayer jmayer@loplof.de We are stuck with technology when what we really want is just stuff that works. Some say that should read Microsoft instead of technology.