[Python-bugs-list] configure --program-suffix does not work (PR#415)

rmcgowan@veritas.com rmcgowan@veritas.com
Thu, 27 Jul 2000 18:34:27 -0400 (EDT)


Full_Name: Bob McGowan
Version: 1.5.2
OS: Cygwin 1.1.2 on WinNT 4.0 SP5
Submission from: goldengate-bridge.veritas.com (63.197.92.2)


I am trying to build Python 1.5.2 under the latest Cygwin release (1.1.2) and I
have a problem with needing the .exe extension.

The configure script has (and gives help on) the option --program-suffix= which
allows an option suffix such as .exe.  It did not work when I first tried it
though I did find a Makefile option EXE= with a comment to add .exe to it.

Investigation of the scripts shows two issues, actually.  Configure does not
have a substitute command for this option (it has one for
'--program-transform-name' for example).  A line of the form:

   s%@program_suffix@%$program_suffix%g

is needed in configure, around line number 5858 and following (I have no idea
what to do with configure.in to get it there).

And the Makefile.in files that have EXE= need to add the search string:

   EXE=@program_suffix@

I looked at the CVS tree (I hope correctly) and found a configure ver 1.131,
which is still this way and I could not find any mention of 'program-suffix' in
either a bug or newsgroup search.