[sane-devel] small configure - problems on OS/2

Henning Meier-Geinitz henning@meier-geinitz.de
Wed, 4 Dec 2002 23:26:58 +0100


On Wed, Dec 04, 2002 at 10:23:27PM +0100, Franz Bakan wrote:
> >Bye the way: do the binaries have the correct .exe extension?
> >Otherwise I guess some Makefile work will be necessary.
> I get binaries with .exe extension because I use the -Zexe flag
> in my local config.site ld-flags.

Libtool could be smart and add the .exe either when creating the
executable or when installing it. 

If this doesn't work we could also use the following in the Makefiles:


and then ass $(EXEEXT) after the filenames of the binaries either in
the linking or installing stage. Looks like it's easier at
installation stage.

> gcc (2.8.1) also generates stub binaries without extension to
> keep the makefiles happy.
> But I do have to copy the binaries with .exe extension to their
> final destination manually. (and delete the stubs)
> at this moment 'make install' fails.

Ok, so maybe just adding it to the install stage may work.