office-gobmx/config_office
Jens-Heiner Rechtien 0360dbe2c7 INTEGRATION: CWS configure3 (1.55.6); FILE MERGED
2004/11/03 12:03:18 rene 1.55.6.7: minor typo
2004/11/03 11:41:19 rene 1.55.6.6: #i36561# configure needs to check for epm
2004/11/02 13:19:30 rene 1.55.6.5: #o23779# Patch to use system libs (berkeleydb, curl, freetype, nas, myspell. altlinuxhyph, neon, sane.h, (x)render(proto).h, unixodbc headers, mspack)

oops actually add the AC_ARG_WITH for system-libs...
2004/11/02 13:14:53 rene 1.55.6.4: #o23779# Patch to use system libs (berkeleydb, curl, freetype, nas, myspell. altlinuxhyph, neon, sane.h, (x)render(proto).h, unixodbc headers, mspack)

implement a --with-system-libs enabling all other --with-system-* (except mozilla, python and the header ones) and enable ovveriding specific ones with --wiothout-system-* then
2004/11/01 11:04:41 rene 1.55.6.3: #i29991# soltools fails with header/type errors (680)

try to recover and detect a right JAVA_HOME when JAVA_HOME=/usr and we discover
the alternatives system as used in Debian and newer SuSEs
2004/11/01 11:00:54 rene 1.55.6.2: RESYNC: (1.55-1.56); FILE MERGED
2004/10/28 13:04:49 rene 1.55.6.1: #i23779# Patch to use system libs (berkeleydb, curl, freetype, nas, myspell. altlinuxhyph, neon, sane.h, (x)render(proto).h, unixodbc headers, mspack)

add library checks for expat and jpeg
2004-11-09 17:44:00 +00:00
..
aclocal.m4 INTEGRATION: CWS vq02 (1.3.46); FILE MERGED 2004-10-11 12:47:39 +00:00
bootstrap.1 INTEGRATION: CWS geordi2q11 (1.14.4); FILE MERGED 2003-12-17 14:00:10 +00:00
configure INTEGRATION: CWS configure3 (1.55.6); FILE MERGED 2004-11-09 17:44:00 +00:00
configure.in INTEGRATION: CWS configure3 (1.72.4); FILE MERGED 2004-11-09 17:41:26 +00:00
makefile.rc #i10000# Module instsetoo has been replaced with instsetoo_native 2004-10-28 07:53:25 +00:00
README INTEGRATION: CWS mh11rc (1.8.16); FILE MERGED 2003-06-12 09:15:33 +00:00
set_soenv.in INTEGRATION: CWS rodarvus01 (1.19.6); FILE MERGED 2004-10-27 15:17:53 +00:00

Various unresolved issues with configure:
----------------------------------------

* --with-gcc-home may cause a warning message to be displayed even if the
  correct version of gcc is found. This should be harmless.

* It is at present time not possible to use --with-local-solenv to point
  to a solenv residing at a non-standard location.

* The configure script also creates a bootstrap script in the top-level
  directory to support the creation of the build executable tools needed to
  bootstrap the build process. These tools normally reside in the
  solenv/$OUTPATH/bin directory for the supported platforms. It is hoped that
  these tools will be removed from the solenv tree at some stage.

Running configure on Windows NT:
-------------------------------

* configure must be run from the Cygnus bash shell. On the bash command line
  type "bash configure <options>" to run the script. The generated winenv.bat
  file must then be executed from the 4NT shell in which you will be building
  OpenOffice.org

* The path to the Microsoft C/C++ compiler home directory must be given as an
  MS-DOS format path on the command line with the configure option
  --with-cl-home. MS-DOS format names are <8 characters in length and don't
  contain spaces. To get the MS-DOS format of a Windows pathname select the
  directory in a window and right-click and choose properties.   

* configure automatically copies the top level makefile.rc from the
  config_office directory to the top level directory when run. If you are not
  running configure and are using a pre-generated winenv.bat to set up the
  build environment, then you must manually copy the makefile.rc file in
  config_office to the top level directory.

* It is recommended that you close the Cygnus bash shell before you start the
  build as it might cause problems later on.


Some quasi standards for configure
----------------------------------

* configure will use four type of parameters:

   --with-xyz-home  to locate an executable tool and related libraries, eg jdk.
   
   --with-xyz to locate a library of that type

   --without-xyz to disable a library,  not always available.

   --enable-xyz to set a compile feature such as debugging.

* Try and make tests as generic as possible, specific is good for early testing
  of a feature but don't keep the pattern,  make it generic quickly.

* configure should terminate with an error if it does not locate something that
  is needed for a build to succeed, note that this conflicts with previous
  standards which had a manual entry override.  This is less than successful
  configure either works or it fails, no data entry allowed.

Premises for configure
----------------------

* This is not a true autoconf project.  The code base is huge and the ability
  to test for everything is impossible.  We are currently supporting only a
  subset of compilers therefore do not need a lot of testing on compiler
  capabilities.