Re: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-18 Thread Jon Turney

On 15/01/2022 23:00, Brian Inglis wrote:
On 2022-01-15 12:06, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via 
Cygwin-patches wrote:

It is reported by 'configure --help', at the appropriate level (although
since enable is the default, I probably should have written
'--disable-doc' here).



[...]


It looks like it's not propagated to newlib-cygwin/configure, and 
newlib-cygwin/configure --help=recursive seems to loop recursing on 
newlib 4.2.0, so it's only shown by winsup/configure:


In my testing, it seems that a top-level './configure --help=recursive' 
terminates eventually, it's just that there are also configures in 
subdirectories of newlib (for no good reason I know of), which makes it 
spend a long time repeating mostly useless output...


Re: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-18 Thread Jon Turney

On 17/01/2022 19:39, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:

It is reported by 'configure --help', at the appropriate level (although
since enable is the default, I probably should have written
'--disable-doc' here).


Can you please make it show as --disable-doc ?


It would almost be less typing for you to submit the change yourself :)


Also, can you please make it visible in the top-level configure?


No.

None of the other configure flags supported by cygwin or newlib appear 
there.


The top-level files are owned by and maintained in the gcc repository.

Google "cygnus tree" or "cygnus uberbaum" for the history of this oddity.


RE: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-17 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin-patches
> It is reported by 'configure --help', at the appropriate level (although
> since enable is the default, I probably should have written
> '--disable-doc' here).

Can you please make it show as --disable-doc ?

Also, can you please make it visible in the top-level configure?

Thanks,

Anton Lavrentiev
Contractor NIH/NLM/NCBI



Re: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-15 Thread Brian Inglis
On 2022-01-15 12:06, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via 
Cygwin-patches wrote:

It is reported by 'configure --help', at the appropriate level (although
since enable is the default, I probably should have written
'--disable-doc' here).


I'm sorry if I'm missing anything, but I updated y'day and this is what I see 
regarding the doc in configure:

$ ./configure --help | grep doc
   --infodir=DIR   info documentation [DATAROOTDIR/info]
   --mandir=DIRman documentation [DATAROOTDIR/man]
   --docdir=DIRdocumentation root [DATAROOTDIR/doc/PACKAGE]
   --htmldir=DIR   html documentation [DOCDIR]
   --dvidir=DIRdvi documentation [DOCDIR]
   --pdfdir=DIRpdf documentation [DOCDIR]
   --psdir=DIR ps documentation [DOCDIR]


It looks like it's not propagated to newlib-cygwin/configure, and 
newlib-cygwin/configure --help=recursive seems to loop recursing on 
newlib 4.2.0, so it's only shown by winsup/configure:


$ ../winsup/configure --help=short
Configuration of Cygwin 0:

Optional Features:
  --disable-option-checking  ignore unrecognized --enable/--with options
  --disable-FEATURE   do not include FEATURE (same as 
--enable-FEATURE=no)

  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  --enable-silent-rules   less verbose build output (undo: "make V=1")
  --disable-silent-rules  verbose build output (undo: "make V=0")
  --enable-dependency-tracking
  do not reject slow dependency extractors
  --disable-dependency-tracking
  speeds up one-time build
  --enable-debugging  Build a cygwin DLL which has more consistency
  checking for debugging
  --enable-docBuild documentation

Optional Packages:
  --with-PACKAGE[=ARG]use PACKAGE [ARG=yes]
  --without-PACKAGE   do not use PACKAGE (same as --with-PACKAGE=no)
  --with-cross-bootstrap  do not build programs using the MinGW 
toolchain or
  check for MinGW libraries (useful for 
bootstrapping

  a cross-compiler)

Some influential environment variables:
  CC  C compiler command
  CFLAGS  C compiler flags
  LDFLAGS linker flags, e.g. -L if you have libraries in a
  nonstandard directory 
  LIBSlibraries to pass to the linker, e.g. -l
  CPPFLAGS(Objective) C/C++ preprocessor flags, e.g. -I if
  you have headers in a nonstandard directory 
  CXX C++ compiler command
  CXXFLAGSC++ compiler flags
  CPP C preprocessor
  CCASassembler compiler command (defaults to CC)
  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)

Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.

Report bugs to .
Cygwin home page: .

--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]


RE: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-15 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin-patches
> It is reported by 'configure --help', at the appropriate level (although
> since enable is the default, I probably should have written
> '--disable-doc' here).

I'm sorry if I'm missing anything, but I updated y'day and this is what I see 
regarding the doc in configure:

$ ./configure --help | grep doc
  --infodir=DIR   info documentation [DATAROOTDIR/info]
  --mandir=DIRman documentation [DATAROOTDIR/man]
  --docdir=DIRdocumentation root [DATAROOTDIR/doc/PACKAGE]
  --htmldir=DIR   html documentation [DOCDIR]
  --dvidir=DIRdvi documentation [DOCDIR]
  --pdfdir=DIRpdf documentation [DOCDIR]
  --psdir=DIR ps documentation [DOCDIR]


Anton Lavrentiev
Contractor NIH/NLM/NCBI