Am 24.08.2017 um 12:19 schrieb Konstantin Kolinko:
3)
APR_SETIFNULL(LIBTOOL, `$apr_config --apr-libtool`)

I wonder whether that --apr-libtool flag should be simply --libtool,
like with --cc and -cpp a few lines above.

--apr-libtool is correct. The APR config tool, named apr-config for APR 0.x.y and apr-1-config for 1.x.y only supports that flag, not the shorter --libtool. It is not a flag that we have created. For cc and cpp they use a shorter flag, so that parts looks good.

Here's the usage, in this case taken from APR 1.6.2:

  --prefix[=DIR]    change prefix to DIR
  --bindir          print location where binaries are installed
  --includedir      print location where headers are installed
  --cc              print C compiler name
^^^^^^
  --cpp             print C preprocessor name and any required options
^^^^^^^
  --cflags          print C compiler flags
  --cppflags        print C preprocessor flags
  --includes        print include information
  --ldflags         print linker flags
  --libs            print additional libraries to link against
  --srcdir          print APR source directory
  --installbuilddir print APR build helper directory
  --link-ld         print link switch(es) for linking to APR
  --link-libtool    print the libtool inputs for linking to APR
  --shlib-path-var  print the name of the shared library path env var
  --apr-la-file     print the path to the .la file, if available
  --apr-so-ext      print the extensions of shared objects on this platform
  --apr-lib-target  print the libtool target information
  --apr-libtool     print the path to APR's libtool
  ^^^^^^^^^^^^^
  --version         print the APR's version as a dotted triple
  --help            print this help


Regards,

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to