configure.ac (e038f100) configure.ac (a5542d65)
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

--- 667 unchanged lines hidden (view full) ---

676AC_ARG_WITH(stlport,
677[ --with-stlport The location that STLport is installed in. The STL
678 header files are assumed to be in
679 stlport-home/stlport and the STLPort library in
680 stlport-home/lib.
681
682 Usage: --with-stlport=<absolute path to stlport home>
683
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

--- 667 unchanged lines hidden (view full) ---

676AC_ARG_WITH(stlport,
677[ --with-stlport The location that STLport is installed in. The STL
678 header files are assumed to be in
679 stlport-home/stlport and the STLPort library in
680 stlport-home/lib.
681
682 Usage: --with-stlport=<absolute path to stlport home>
683
684 Warning!!, disabling using --without-stlport or
684 Warning: disabling using --without-stlport or
685 enabling using --with-stlport on a platform that
685 enabling using --with-stlport on a platform that
686 defaults to the opposite will break ABI compatability
686 defaults to the opposite will break ABI compatibility
687], WITH_STLPORT=$withval , WITH_STLPORT=auto)
688AC_ARG_WITH(jdk-home,
689[ --with-jdk-home if you have installed JDK 1.3 or later on your system
690 please supply the path here.
691 Note that this is not the location of the Java binary
692 but the location of the entire distribution.
693
694 Usage: --with-jdk-home=<absolute path to JDK home>

--- 304 unchanged lines hidden (view full) ---

999echo "* Apache OpenOffice build configuration. *"
1000echo "* *"
1001echo "* The configure process checks your platform to see whether *"
1002echo "* you can build Apache OpenOffice on it. *"
1003echo "* This process checks all pre-requisites and generates a file *"
1004echo "* containing the necessary environment variables. *"
1005echo "* Source this file after configure has ended successfully. *"
1006echo "* *"
687], WITH_STLPORT=$withval , WITH_STLPORT=auto)
688AC_ARG_WITH(jdk-home,
689[ --with-jdk-home if you have installed JDK 1.3 or later on your system
690 please supply the path here.
691 Note that this is not the location of the Java binary
692 but the location of the entire distribution.
693
694 Usage: --with-jdk-home=<absolute path to JDK home>

--- 304 unchanged lines hidden (view full) ---

999echo "* Apache OpenOffice build configuration. *"
1000echo "* *"
1001echo "* The configure process checks your platform to see whether *"
1002echo "* you can build Apache OpenOffice on it. *"
1003echo "* This process checks all pre-requisites and generates a file *"
1004echo "* containing the necessary environment variables. *"
1005echo "* Source this file after configure has ended successfully. *"
1006echo "* *"
1007echo "* Any warning that is generated during the configure process *"
1007echo "* Warnings that are generated during the configure process *"
1008echo "* must be taken into account since it can be a reason for *"
1009echo "* an unsuccessful build of Apache OpenOffice. *"
1010echo "* *"
1011echo "********************************************************************"
1012echo ""
1013echo "********************************************************************"
1014echo "* *"
1015echo "* Checking the platform pre-requisites. *"

--- 1753 unchanged lines hidden (view full) ---

2769dnl Checks for STLPORT
2770dnl ===================================================================
2771 AC_MSG_CHECKING([for STL providing headers])
2772 STLPORT4=""
2773 USE_SYSTEM_STL=""
2774 if test "$WITH_STLPORT" = "yes"; then
2775 AC_MSG_RESULT([using internal stlport.])
2776 if test "$DEFAULT_TO_STLPORT" != "yes"; then
1008echo "* must be taken into account since it can be a reason for *"
1009echo "* an unsuccessful build of Apache OpenOffice. *"
1010echo "* *"
1011echo "********************************************************************"
1012echo ""
1013echo "********************************************************************"
1014echo "* *"
1015echo "* Checking the platform pre-requisites. *"

--- 1753 unchanged lines hidden (view full) ---

2769dnl Checks for STLPORT
2770dnl ===================================================================
2771 AC_MSG_CHECKING([for STL providing headers])
2772 STLPORT4=""
2773 USE_SYSTEM_STL=""
2774 if test "$WITH_STLPORT" = "yes"; then
2775 AC_MSG_RESULT([using internal stlport.])
2776 if test "$DEFAULT_TO_STLPORT" != "yes"; then
2777 AC_MSG_WARN([using stlport. Warning, breaks your ABI compatability!])
2778 echo "using stlport. Warning, breaks your ABI compatability!" >>warn
2777 AC_MSG_WARN([using stlport. Warning, breaks your ABI compatibility!])
2778 echo "using stlport. Warning: breaks your ABI compatibility!" >>warn
2779 fi
2780 elif test "$WITH_STLPORT" = "no"; then
2781 AC_MSG_RESULT([using system STL])
2782 USE_SYSTEM_STL="YES"
2783 if test "$DEFAULT_TO_STLPORT" != "no"; then
2779 fi
2780 elif test "$WITH_STLPORT" = "no"; then
2781 AC_MSG_RESULT([using system STL])
2782 USE_SYSTEM_STL="YES"
2783 if test "$DEFAULT_TO_STLPORT" != "no"; then
2784 AC_MSG_WARN([using system STL. Warning, breaks your ABI compatability!])
2785 echo "using system STL. Warning, breaks your ABI compatability!" >>warn
2784 AC_MSG_WARN([using system STL. Warning, breaks your ABI compatibility!])
2785 echo "using system STL. Warning: breaks your ABI compatibility!" >>warn
2786 fi
2787 else
2788 STLPORT4=$WITH_STLPORT
2789 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
2790 AC_TRY_CPP($STLPORT4/stlport/hash_map, AC_MSG_RESULT([checked.]), AC_MSG_ERROR([STLport headers not found.]))
2791 else
2792 dnl AC_TRY_CPP doesn't work for MSVC because C++ preprocessor is not found by autoconf.
2793 if test -f "$STLPORT4/stlport/hash_map"; then

--- 29 unchanged lines hidden (view full) ---

2823 AC_MSG_RESULT([checked])
2824 STLPORT_VER=500
2825 else
2826 AC_MSG_ERROR([STLport libraries not found])
2827 fi
2828 fi
2829 fi
2830 if test "$DEFAULT_TO_STLPORT" != "yes"; then
2786 fi
2787 else
2788 STLPORT4=$WITH_STLPORT
2789 if test "$_os" != "WINNT" -o "$WITH_MINGWIN" = "yes"; then
2790 AC_TRY_CPP($STLPORT4/stlport/hash_map, AC_MSG_RESULT([checked.]), AC_MSG_ERROR([STLport headers not found.]))
2791 else
2792 dnl AC_TRY_CPP doesn't work for MSVC because C++ preprocessor is not found by autoconf.
2793 if test -f "$STLPORT4/stlport/hash_map"; then

--- 29 unchanged lines hidden (view full) ---

2823 AC_MSG_RESULT([checked])
2824 STLPORT_VER=500
2825 else
2826 AC_MSG_ERROR([STLport libraries not found])
2827 fi
2828 fi
2829 fi
2830 if test "$DEFAULT_TO_STLPORT" != "yes"; then
2831 AC_MSG_WARN([using stlport. Warning, breaks your ABI compatability!])
2832 echo "using stlport. Warning, breaks your ABI compatability!" >>warn
2831 AC_MSG_WARN([using stlport. Warning: breaks your ABI compatibility!])
2832 echo "using stlport. Warning: breaks your ABI compatibility!" >>warn
2833 fi
2834 fi
2835
2836if test -z "$STLPORT4"; then
2837 STLPORT4="NO_STLPORT4"
2838fi
2839if test -z "$STLPORT_VER"; then
2840 STLPORT_VER=400

--- 4873 unchanged lines hidden ---
2833 fi
2834 fi
2835
2836if test -z "$STLPORT4"; then
2837 STLPORT4="NO_STLPORT4"
2838fi
2839if test -z "$STLPORT_VER"; then
2840 STLPORT_VER=400

--- 4873 unchanged lines hidden ---