| configure.ac (e7dbd3e3) | configure.ac (da2e13d4) |
|---|---|
| 1dnl * ************************************************************* | 1dnl * ************************************************************* |
| 2dnl * | 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 9dnl * with the License. You may obtain a copy of the License at | 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 9dnl * with the License. You may obtain a copy of the License at |
| 10dnl * | 10dnl * |
| 11dnl * http://www.apache.org/licenses/LICENSE-2.0 | 11dnl * http://www.apache.org/licenses/LICENSE-2.0 |
| 12dnl * | 12dnl * |
| 13dnl * Unless required by applicable law or agreed to in writing, 14dnl * software distributed under the License is distributed on an 15dnl * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16dnl * KIND, either express or implied. See the License for the 17dnl * specific language governing permissions and limitations 18dnl * under the License. | 13dnl * Unless required by applicable law or agreed to in writing, 14dnl * software distributed under the License is distributed on an 15dnl * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16dnl * KIND, either express or implied. See the License for the 17dnl * specific language governing permissions and limitations 18dnl * under the License. |
| 19dnl * | 19dnl * |
| 20dnl * ************************************************************* 21AC_REVISION( $Revision$ ) 22AC_PREREQ(2.50) 23AC_INIT() 24echo "$@" >config.parms 25AC_ARG_WITH(dmake-path, 26[ --with-dmake-path=<PATH TO EXECUTABLE> Specify the location of dmake ], 27[ DMAKE_PATH="$withval" --- 26 unchanged lines hidden (view full) --- 54],,) 55AC_ARG_WITH(system-apache-commons, 56[ --with-system-apache-commons use apache-commons jar files already installed on system 57],,) 58AC_ARG_ENABLE(online-update, 59[ --disable-online-update Disables the Online Update feature. 60],,enable_online_update=yes) 61AC_ARG_ENABLE(unit-tests, | 20dnl * ************************************************************* 21AC_REVISION( $Revision$ ) 22AC_PREREQ(2.50) 23AC_INIT() 24echo "$@" >config.parms 25AC_ARG_WITH(dmake-path, 26[ --with-dmake-path=<PATH TO EXECUTABLE> Specify the location of dmake ], 27[ DMAKE_PATH="$withval" --- 26 unchanged lines hidden (view full) --- 54],,) 55AC_ARG_WITH(system-apache-commons, 56[ --with-system-apache-commons use apache-commons jar files already installed on system 57],,) 58AC_ARG_ENABLE(online-update, 59[ --disable-online-update Disables the Online Update feature. 60],,enable_online_update=yes) 61AC_ARG_ENABLE(unit-tests, |
| 62[ --disable-unit-tests Disables default unit tests (eg. unit tests using Google test, ...). | 62[ --disable-unit-tests Disables default unit tests (eg. unit tests using Google test, ...). |
| 63],,enable_unit_tests=yes) 64AC_ARG_ENABLE(ldap, 65[ --disable-ldap Disables the use of LDAP backend via OpenLDAP 66],,) 67AC_ARG_ENABLE(fetch-external, 68[ --disable-fetch-external Disables fetching external tarballs from web sources. 69],,) 70AC_ARG_WITH(external-tar, --- 55 unchanged lines hidden (view full) --- 126[ --with-epm Decides which epm to use. Default is to use 127 the one from the system if one is built. When 128 either this is not there or you say =internal 129 epm will be built. 130],,) 131AC_ARG_WITH(epm-url, 132[ --with-epm-url=<URL> Specify the location of downloadable epm source code. For example: 133 https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz | 63],,enable_unit_tests=yes) 64AC_ARG_ENABLE(ldap, 65[ --disable-ldap Disables the use of LDAP backend via OpenLDAP 66],,) 67AC_ARG_ENABLE(fetch-external, 68[ --disable-fetch-external Disables fetching external tarballs from web sources. 69],,) 70AC_ARG_WITH(external-tar, --- 55 unchanged lines hidden (view full) --- 126[ --with-epm Decides which epm to use. Default is to use 127 the one from the system if one is built. When 128 either this is not there or you say =internal 129 epm will be built. 130],,) 131AC_ARG_WITH(epm-url, 132[ --with-epm-url=<URL> Specify the location of downloadable epm source code. For example: 133 https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz |
| 134 or 135 http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz | |
| 136 Version 3.7 or later is required. Note that epm is under GPL license. 137],[ EPM_URL="$withval" 138]) 139AC_ARG_WITH(package-format, 140[ --with-package-format specify package format(s) for AOO installsets. 141 Default is "normal" one of the OS/Distribution. 142 143 Usage: --with-package-format="foo bar" | 134 Version 3.7 or later is required. Note that epm is under GPL license. 135],[ EPM_URL="$withval" 136]) 137AC_ARG_WITH(package-format, 138[ --with-package-format specify package format(s) for AOO installsets. 139 Default is "normal" one of the OS/Distribution. 140 141 Usage: --with-package-format="foo bar" |
| 144],,) | 142],,) |
| 145AC_ARG_ENABLE(odk, 146[ --disable-odk AOO includes an ODK, office development kit 147 which some packagers may want to build without 148],,enable_odk="yes") 149AC_ARG_ENABLE(mathmldtd, 150[ --disable-mathmldtd disable mathmldtd 151 (useful for distributions that want to avoid packaging 152 it) --- 153 unchanged lines hidden (view full) --- 306 platforms where Cairo is available. 307],,enable_cairo_canvas=yes) 308AC_ARG_ENABLE(opengl, 309[ --enable-opengl Determines whether to build the OpenGL 3D slide 310 transitions component 311],,enable_opengl=no) 312AC_ARG_ENABLE(dbus, 313[ --enable-dbus Determines whether to enable presentation mode | 143AC_ARG_ENABLE(odk, 144[ --disable-odk AOO includes an ODK, office development kit 145 which some packagers may want to build without 146],,enable_odk="yes") 147AC_ARG_ENABLE(mathmldtd, 148[ --disable-mathmldtd disable mathmldtd 149 (useful for distributions that want to avoid packaging 150 it) --- 153 unchanged lines hidden (view full) --- 304 platforms where Cairo is available. 305],,enable_cairo_canvas=yes) 306AC_ARG_ENABLE(opengl, 307[ --enable-opengl Determines whether to build the OpenGL 3D slide 308 transitions component 309],,enable_opengl=no) 310AC_ARG_ENABLE(dbus, 311[ --enable-dbus Determines whether to enable presentation mode |
| 314 screensaver control under GNOME via DBUS | 312 screensaver control under GNOME via DBUS |
| 315],,enable_dbus=no) 316AC_ARG_ENABLE(gconf, 317[ --disable-gconf Determines whether to use the GConf support 318],,enable_gconf=yes) 319AC_ARG_ENABLE(gnome-vfs, 320[ --disable-gnome-vfs Determines whether to use the Gnome Virtual Filing 321 System on platforms where that VFS is available 322],,enable_gnome_vfs=no) --- 79 unchanged lines hidden (view full) --- 402AC_ARG_WITH(external-thes-dir, 403[ --with-external-thes-dir Specify external thesaurus dir 404],,) 405# End of remove. 406 407 408AC_ARG_WITH(system-libs, 409[ --with-system-libs Use libs already on system -- enables all | 313],,enable_dbus=no) 314AC_ARG_ENABLE(gconf, 315[ --disable-gconf Determines whether to use the GConf support 316],,enable_gconf=yes) 317AC_ARG_ENABLE(gnome-vfs, 318[ --disable-gnome-vfs Determines whether to use the Gnome Virtual Filing 319 System on platforms where that VFS is available 320],,enable_gnome_vfs=no) --- 79 unchanged lines hidden (view full) --- 400AC_ARG_WITH(external-thes-dir, 401[ --with-external-thes-dir Specify external thesaurus dir 402],,) 403# End of remove. 404 405 406AC_ARG_WITH(system-libs, 407[ --with-system-libs Use libs already on system -- enables all |
| 410 --with-system-* flags except | 408 --with-system-* flags except |
| 411 odbc/sane/xrender-header(s) 412],,) 413AC_ARG_WITH(system-headers, 414[ --with-system-headers Use headers already on system -- enables all 415 --with-system-* flags for external packages 416 whose headers are the only entities used i.e. 417 boost/vigra/odbc/sane/xrender-header(s) 418],,) 419AC_ARG_WITH(system-jars, 420[ --without-system-jars When building with --with-system-libs, also the 421 needed jars are expected on the system. Use this to | 409 odbc/sane/xrender-header(s) 410],,) 411AC_ARG_WITH(system-headers, 412[ --with-system-headers Use headers already on system -- enables all 413 --with-system-* flags for external packages 414 whose headers are the only entities used i.e. 415 boost/vigra/odbc/sane/xrender-header(s) 416],,) 417AC_ARG_WITH(system-jars, 418[ --without-system-jars When building with --with-system-libs, also the 419 needed jars are expected on the system. Use this to |
| 422 disable that. | 420 disable that. |
| 423 (except for the db case where --with-system-db 424 *has to* imply using the db.jar from there, too) 425],,) 426AC_ARG_WITH(system-zlib, 427[ --with-system-zlib Use zlib already on system 428],,) 429AC_ARG_WITH(system-nss, 430[ --with-system-nss Use NSS already on system --- 217 unchanged lines hidden (view full) --- 648 but the location of the entire distribution. 649 650 Usage: --with-jdk-home=<absolute path to JDK home> 651],,) 652AC_ARG_WITH(java, 653[ --with-java Build with[[out]] Java support. If you use 654 --without-java/--with-java=no then the build will have 655 no support for Java components, applets, accessibility | 421 (except for the db case where --with-system-db 422 *has to* imply using the db.jar from there, too) 423],,) 424AC_ARG_WITH(system-zlib, 425[ --with-system-zlib Use zlib already on system 426],,) 427AC_ARG_WITH(system-nss, 428[ --with-system-nss Use NSS already on system --- 217 unchanged lines hidden (view full) --- 646 but the location of the entire distribution. 647 648 Usage: --with-jdk-home=<absolute path to JDK home> 649],,) 650AC_ARG_WITH(java, 651[ --with-java Build with[[out]] Java support. If you use 652 --without-java/--with-java=no then the build will have 653 no support for Java components, applets, accessibility |
| 656 or XML filters. | 654 or XML filters. |
| 657], if test "$withval" = "yes"; then WITH_JAVA=java; else WITH_JAVA=$withval; fi, WITH_JAVA=java) 658AC_ARG_ENABLE(gcjaot, 659[ --enable-gcjaot Build with[[out]] using Ahead of Time java compilation 660 support to speed up buildsi by compiling the jars also 661 to native code.. 662 --enable-gcjaot is only known to work with bytecode 663 created with gcj or ecj 664],,) --- 24 unchanged lines hidden (view full) --- 689 system, please supply the path here. 690 Note that this is not the location of the Perl binary 691 but the location of the entire distribution. 692 693 Usage: --with-perl-home=<absolute path to Perl 5 home> 694],,) 695AC_ARG_WITH(cl-home, 696[ --with-cl-home For Windows NT users, please supply the path | 655], if test "$withval" = "yes"; then WITH_JAVA=java; else WITH_JAVA=$withval; fi, WITH_JAVA=java) 656AC_ARG_ENABLE(gcjaot, 657[ --enable-gcjaot Build with[[out]] using Ahead of Time java compilation 658 support to speed up buildsi by compiling the jars also 659 to native code.. 660 --enable-gcjaot is only known to work with bytecode 661 created with gcj or ecj 662],,) --- 24 unchanged lines hidden (view full) --- 687 system, please supply the path here. 688 Note that this is not the location of the Perl binary 689 but the location of the entire distribution. 690 691 Usage: --with-perl-home=<absolute path to Perl 5 home> 692],,) 693AC_ARG_WITH(cl-home, 694[ --with-cl-home For Windows NT users, please supply the path |
| 697 for the Microsoft C/C++ compiler. | 695 for the Microsoft C/C++ compiler. |
| 698 Note that this is not the location of the compiler 699 binary but the location of the entire distribution. 700 701 Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home> 702],,) 703AC_ARG_WITH(mspdb-path, 704[ --with-mspdb-path For Microsoft C/C++ compiler users, please supply the 705 path pointing to the mspdb71.dll (.NET 2003). --- 48 unchanged lines hidden (view full) --- 754],,) 755AC_ARG_WITH(mozilla-build, 756[ --with-mozilla-build For Windows users, please supply the path to the 757 mozilla build tools. 758 759 Usage: --with-mozilla-build=<absolute path to mozilla build tools> 760 761 At the moment of this writing, an installer for the mozilla build tools | 696 Note that this is not the location of the compiler 697 binary but the location of the entire distribution. 698 699 Usage: --with-cl-home=<absolute path to Microsoft C/C++ compiler home> 700],,) 701AC_ARG_WITH(mspdb-path, 702[ --with-mspdb-path For Microsoft C/C++ compiler users, please supply the 703 path pointing to the mspdb71.dll (.NET 2003). --- 48 unchanged lines hidden (view full) --- 752],,) 753AC_ARG_WITH(mozilla-build, 754[ --with-mozilla-build For Windows users, please supply the path to the 755 mozilla build tools. 756 757 Usage: --with-mozilla-build=<absolute path to mozilla build tools> 758 759 At the moment of this writing, an installer for the mozilla build tools |
| 762 can be obtained from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/. | 760 can be obtained from https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/. |
| 763],[MOZILLABUILD=$withval],) 764AC_ARG_WITH(local-solenv, 765[ --with-local-solenv If you have solenv in a location other than ./solenv, 766 please supply the path here. 767 768 Usage: --with-local-solenv=<absolute path to solenv> 769],,) 770AC_ARG_WITH(local-solver, --- 17 unchanged lines hidden (view full) --- 788AC_ARG_WITH(system-coinmp, 789[ --with-system-coinmp Use CoinMP library already installed on the system 790],,) 791AC_ARG_ENABLE(coinmp, 792[ --disable-coinmp Do not use CoinMP as the Calc solver. 793],,) 794AC_ARG_ENABLE(check-only, 795[ --enable-check-only Use this option option if you just want to check your | 761],[MOZILLABUILD=$withval],) 762AC_ARG_WITH(local-solenv, 763[ --with-local-solenv If you have solenv in a location other than ./solenv, 764 please supply the path here. 765 766 Usage: --with-local-solenv=<absolute path to solenv> 767],,) 768AC_ARG_WITH(local-solver, --- 17 unchanged lines hidden (view full) --- 786AC_ARG_WITH(system-coinmp, 787[ --with-system-coinmp Use CoinMP library already installed on the system 788],,) 789AC_ARG_ENABLE(coinmp, 790[ --disable-coinmp Do not use CoinMP as the Calc solver. 791],,) 792AC_ARG_ENABLE(check-only, 793[ --enable-check-only Use this option option if you just want to check your |
| 796 environment. This option stops the generation of an | 794 environment. This option stops the generation of an |
| 797 ????env.set 798 799 Usage: --enable-check-only=yes 800],,) 801AC_ARG_ENABLE(ccache-skip, 802[[ --enable-ccache-skip [default=auto] allow the use of --ccache-skip to 803 escape compiler flags that would otherwise prevent 804 caching of the result (currently used on Mac only) 805 NOTE: requires patched version because of a bug in | 795 ????env.set 796 797 Usage: --enable-check-only=yes 798],,) 799AC_ARG_ENABLE(ccache-skip, 800[[ --enable-ccache-skip [default=auto] allow the use of --ccache-skip to 801 escape compiler flags that would otherwise prevent 802 caching of the result (currently used on Mac only) 803 NOTE: requires patched version because of a bug in |
| 806 ccache (see issue 104567 for details and patch) | 804 ccache (see issue 104567 for details and patch) |
| 807 explicitly enable if your version of ccache does not 808 identify as version 2.4_OOo 809]],,enable_ccache_skip=auto) 810AC_ARG_WITH(lang, 811[ --with-lang Use this option to build Apache OpenOffice with 812 additional language support. English (US) is always 813 included by default. Separate multiple languages with 814 space. For all languages, use --with-lang=ALL. --- 14 unchanged lines hidden (view full) --- 829 included by default unless overridden with 830 this option. Separate multiple dictionaries with 831 commas. For all dictionaries, use --with-dict=ALL. 832 833 Usage: --with-dict=ENGB,ENUS,ITIT 834],,) 835AC_ARG_WITH(intro-bitmaps, 836[ --with-intro-bitmaps Prefer the specified intro bitmaps over the | 805 explicitly enable if your version of ccache does not 806 identify as version 2.4_OOo 807]],,enable_ccache_skip=auto) 808AC_ARG_WITH(lang, 809[ --with-lang Use this option to build Apache OpenOffice with 810 additional language support. English (US) is always 811 included by default. Separate multiple languages with 812 space. For all languages, use --with-lang=ALL. --- 14 unchanged lines hidden (view full) --- 827 included by default unless overridden with 828 this option. Separate multiple dictionaries with 829 commas. For all dictionaries, use --with-dict=ALL. 830 831 Usage: --with-dict=ENGB,ENUS,ITIT 832],,) 833AC_ARG_WITH(intro-bitmaps, 834[ --with-intro-bitmaps Prefer the specified intro bitmaps over the |
| 837 the default one. Can be more than one (separated by | 835 the default one. Can be more than one (separated by |
| 838 commas), the order means priority of fallback if the 839 first does not exist (in the installed tree). 840 841 Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp 842],,) 843AC_ARG_WITH(about-bitmaps, 844[ --with-about-bitmaps Similarly to --with-intro-bitmaps, this allows 845 specification of bitmaps for the About box. --- 66 unchanged lines hidden (view full) --- 912[ --enable-verbose Increase build verbosity. 913 --disable-verbose Decrease build verbosity. 914],,) 915AC_ARG_ENABLE(dependency-tracking, 916[ --disable-dependency-tracking Disables generation of dependency information. 917],,) 918AC_ARG_ENABLE(category-b, 919[ --enable-category-b Activate components under a category B license | 836 commas), the order means priority of fallback if the 837 first does not exist (in the installed tree). 838 839 Usage: --with-intro-bitmaps=/path/my_ooo_intro.bmp 840],,) 841AC_ARG_WITH(about-bitmaps, 842[ --with-about-bitmaps Similarly to --with-intro-bitmaps, this allows 843 specification of bitmaps for the About box. --- 66 unchanged lines hidden (view full) --- 910[ --enable-verbose Increase build verbosity. 911 --disable-verbose Decrease build verbosity. 912],,) 913AC_ARG_ENABLE(dependency-tracking, 914[ --disable-dependency-tracking Disables generation of dependency information. 915],,) 916AC_ARG_ENABLE(category-b, 917[ --enable-category-b Activate components under a category B license |
| 920 (see http://www.apache.org/legal/3party.html#category-b): | 918 (see https://www.apache.org/legal/3party.html#category-b): |
| 921 MPL (hunspell, hyphen, nss, saxon, rhino), 922 CPL (silgraphite), CPL/EPL (CoinMP), OFL (fonts). 923 Flags for individual libraries override this one. 924],,) 925AC_ARG_WITH(arm-target, 926[ --arm-target The minimal targeted arm processor 927 used for the build environment. 928 Cases : --- 192 unchanged lines hidden (view full) --- 1121 test_gtk=yes 1122 test_cairo=yes 1123 test_kde=yes 1124 test_kde4=yes 1125 test_cups=yes 1126 test_randr=yes 1127 test_freetype=yes 1128 test_gstreamer=yes | 919 MPL (hunspell, hyphen, nss, saxon, rhino), 920 CPL (silgraphite), CPL/EPL (CoinMP), OFL (fonts). 921 Flags for individual libraries override this one. 922],,) 923AC_ARG_WITH(arm-target, 924[ --arm-target The minimal targeted arm processor 925 used for the build environment. 926 Cases : --- 192 unchanged lines hidden (view full) --- 1119 test_gtk=yes 1120 test_cairo=yes 1121 test_kde=yes 1122 test_kde4=yes 1123 test_cups=yes 1124 test_randr=yes 1125 test_freetype=yes 1126 test_gstreamer=yes |
| 1129 _os=Linux | 1127 _os=Linux |
| 1130 ;; 1131 gnu) 1132 test_cups=no 1133 _os=GNU 1134 ;; 1135 cygwin*) # Windows 1136 test_cups=no 1137 test_cairo=yes --- 53 unchanged lines hidden (view full) --- 1191 AC_MSG_RESULT([found OSVERSION=$OSVERSION]) 1192 AC_MSG_CHECKING([which thread library to use]) 1193 if test "$OSVERSION" -lt "500016"; then 1194 PTHREAD_CFLAGS="-D_THREAD_SAFE" 1195 PTHREAD_LIBS="-pthread" 1196 elif test "$OSVERSION" -lt "502102"; then 1197 PTHREAD_CFLAGS="-D_THREAD_SAFE" 1198 PTHREAD_LIBS="-lc_r" | 1128 ;; 1129 gnu) 1130 test_cups=no 1131 _os=GNU 1132 ;; 1133 cygwin*) # Windows 1134 test_cups=no 1135 test_cairo=yes --- 53 unchanged lines hidden (view full) --- 1189 AC_MSG_RESULT([found OSVERSION=$OSVERSION]) 1190 AC_MSG_CHECKING([which thread library to use]) 1191 if test "$OSVERSION" -lt "500016"; then 1192 PTHREAD_CFLAGS="-D_THREAD_SAFE" 1193 PTHREAD_LIBS="-pthread" 1194 elif test "$OSVERSION" -lt "502102"; then 1195 PTHREAD_CFLAGS="-D_THREAD_SAFE" 1196 PTHREAD_LIBS="-lc_r" |
| 1199 else | 1197 else |
| 1200 PTHREAD_CFLAGS="" 1201 PTHREAD_LIBS="-pthread" 1202 fi 1203 AC_MSG_RESULT([$PTHREAD_LIBS]) 1204 _os=FreeBSD 1205 ;; 1206 osf) 1207 test_cups=no --- 112 unchanged lines hidden (view full) --- 1320dnl Set the ENABLE_WERROR variable. (Activate --enable-werror) 1321dnl =================================================================== 1322AC_MSG_CHECKING([whether to turn warnings to errors]) 1323if test -n "$enable_werror" && test "$enable_werror" != "no"; then 1324 ENABLE_WERROR="TRUE" 1325 AC_MSG_RESULT([yes]) 1326 AC_MSG_WARN([Turning warnings to errors has no effect in modules or]) 1327 AC_MSG_WARN([on platforms where it has been disabled explicitely]) | 1198 PTHREAD_CFLAGS="" 1199 PTHREAD_LIBS="-pthread" 1200 fi 1201 AC_MSG_RESULT([$PTHREAD_LIBS]) 1202 _os=FreeBSD 1203 ;; 1204 osf) 1205 test_cups=no --- 112 unchanged lines hidden (view full) --- 1318dnl Set the ENABLE_WERROR variable. (Activate --enable-werror) 1319dnl =================================================================== 1320AC_MSG_CHECKING([whether to turn warnings to errors]) 1321if test -n "$enable_werror" && test "$enable_werror" != "no"; then 1322 ENABLE_WERROR="TRUE" 1323 AC_MSG_RESULT([yes]) 1324 AC_MSG_WARN([Turning warnings to errors has no effect in modules or]) 1325 AC_MSG_WARN([on platforms where it has been disabled explicitely]) |
| 1328 echo "Turning warnings to errors has no effect in modules or on platforms where it has been disabled explicitely" >> warn | 1326 echo "Turning warnings to errors has no effect in modules or on platforms where it has been disabled explicitly" >> warn |
| 1329else 1330 ENABLE_WERROR="FALSE" 1331 AC_MSG_RESULT([no]) 1332fi 1333AC_SUBST(ENABLE_WERROR) 1334 1335dnl =================================================================== 1336dnl Set the ENABLE_DEBUG variable. (Activate --enable-symbols) --- 82 unchanged lines hidden (view full) --- 1419 AC_MSG_RESULT([no]) 1420fi 1421AC_SUBST(DISABLE_STRIP) 1422 1423dnl =================================================================== 1424dnl Build options 1425dnl =================================================================== 1426 | 1327else 1328 ENABLE_WERROR="FALSE" 1329 AC_MSG_RESULT([no]) 1330fi 1331AC_SUBST(ENABLE_WERROR) 1332 1333dnl =================================================================== 1334dnl Set the ENABLE_DEBUG variable. (Activate --enable-symbols) --- 82 unchanged lines hidden (view full) --- 1417 AC_MSG_RESULT([no]) 1418fi 1419AC_SUBST(DISABLE_STRIP) 1420 1421dnl =================================================================== 1422dnl Build options 1423dnl =================================================================== 1424 |
| 1427# Disable or enable category-B librariets: nss, hunspell, hyphen, saxon, | 1425# Disable or enable category-B libraries: nss, hunspell, hyphen, saxon, |
| 1428# rhino, silgraphite. 1429 1430# Note that further below they may be enabled or disabled again by 1431# more specific options. 1432 1433ENABLE_CATEGORY_B= 1434 1435AC_MSG_CHECKING([whether to enable category B components]) --- 48 unchanged lines hidden (view full) --- 1484AC_SUBST(ENABLE_ONLINE_UPDATE) 1485 1486dnl =================================================================== 1487dnl Unit Tests 1488dnl =================================================================== 1489AC_MSG_CHECKING([whether to enable unit tests]) 1490if test "$enable_unit_tests" = "yes" -o "$enable_unit_tests" = "TRUE"; then 1491 ENABLE_UNIT_TESTS="YES" | 1426# rhino, silgraphite. 1427 1428# Note that further below they may be enabled or disabled again by 1429# more specific options. 1430 1431ENABLE_CATEGORY_B= 1432 1433AC_MSG_CHECKING([whether to enable category B components]) --- 48 unchanged lines hidden (view full) --- 1482AC_SUBST(ENABLE_ONLINE_UPDATE) 1483 1484dnl =================================================================== 1485dnl Unit Tests 1486dnl =================================================================== 1487AC_MSG_CHECKING([whether to enable unit tests]) 1488if test "$enable_unit_tests" = "yes" -o "$enable_unit_tests" = "TRUE"; then 1489 ENABLE_UNIT_TESTS="YES" |
| 1492 BUILD_TYPE="$BUILD_TYPE GTEST" | 1490 BUILD_TYPE="$BUILD_TYPE GTEST" |
| 1493 AC_MSG_RESULT([yes]) 1494else 1495 ENABLE_UNIT_TESTS="" 1496 AC_MSG_RESULT([no]) 1497fi 1498AC_SUBST(ENABLE_UNIT_TESTS) 1499 1500AC_MSG_CHECKING([whether to enable native CUPS support]) --- 203 unchanged lines hidden (view full) --- 1704 1705dnl =================================================================== 1706dnl Checks for c compiler, 1707dnl The check for the c++ compiler is later on. 1708dnl =================================================================== 1709AC_MSG_CHECKING([gcc home]) 1710if test -z "$with_gcc_home"; then 1711 GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,` | 1491 AC_MSG_RESULT([yes]) 1492else 1493 ENABLE_UNIT_TESTS="" 1494 AC_MSG_RESULT([no]) 1495fi 1496AC_SUBST(ENABLE_UNIT_TESTS) 1497 1498AC_MSG_CHECKING([whether to enable native CUPS support]) --- 203 unchanged lines hidden (view full) --- 1702 1703dnl =================================================================== 1704dnl Checks for c compiler, 1705dnl The check for the c++ compiler is later on. 1706dnl =================================================================== 1707AC_MSG_CHECKING([gcc home]) 1708if test -z "$with_gcc_home"; then 1709 GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,` |
| 1712else | 1710else |
| 1713 GCC_HOME="$with_gcc_home" 1714fi 1715AC_MSG_RESULT($GCC_HOME) 1716AC_SUBST(GCC_HOME) 1717 1718save_CC=$CC 1719save_CXX=$CXX 1720 --- 43 unchanged lines hidden (view full) --- 1764 fi 1765 if test "$_os" = "SunOS"; then 1766 AC_MSG_CHECKING([gcc linker]) 1767 if $CC -Wl,--version 2>&1 |head -n 1| $GREP -v GNU > /dev/null;then 1768 AC_MSG_ERROR([failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris]) 1769 fi 1770 AC_MSG_RESULT([ok (GNU ld)]) 1771 fi | 1711 GCC_HOME="$with_gcc_home" 1712fi 1713AC_MSG_RESULT($GCC_HOME) 1714AC_SUBST(GCC_HOME) 1715 1716save_CC=$CC 1717save_CXX=$CXX 1718 --- 43 unchanged lines hidden (view full) --- 1762 fi 1763 if test "$_os" = "SunOS"; then 1764 AC_MSG_CHECKING([gcc linker]) 1765 if $CC -Wl,--version 2>&1 |head -n 1| $GREP -v GNU > /dev/null;then 1766 AC_MSG_ERROR([failed (not GNU ld). Use GNU ld instead of Sun ld on Solaris]) 1767 fi 1768 AC_MSG_RESULT([ok (GNU ld)]) 1769 fi |
| 1772fi | 1770fi |
| 1773AC_SUBST(GCCVER) 1774 1775HAVE_LD_BSYMBOLIC_FUNCTIONS= 1776if test "$GCC" = "yes"; then 1777 AC_MSG_CHECKING( for -Bsymbolic-functions linker support ) 1778 bsymbolic_functions_ldflags_save=$LDFLAGS 1779 LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo" 1780 AC_LINK_IFELSE([AC_LANG_PROGRAM([ --- 32 unchanged lines hidden (view full) --- 1813fi 1814AC_SUBST(ENABLE_PCH) 1815 1816dnl =================================================================== 1817dnl Search all the common names for GNU make 1818dnl =================================================================== 1819AC_MSG_CHECKING([for GNU make]) 1820for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do | 1771AC_SUBST(GCCVER) 1772 1773HAVE_LD_BSYMBOLIC_FUNCTIONS= 1774if test "$GCC" = "yes"; then 1775 AC_MSG_CHECKING( for -Bsymbolic-functions linker support ) 1776 bsymbolic_functions_ldflags_save=$LDFLAGS 1777 LDFLAGS="$LDFLAGS -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo" 1778 AC_LINK_IFELSE([AC_LANG_PROGRAM([ --- 32 unchanged lines hidden (view full) --- 1811fi 1812AC_SUBST(ENABLE_PCH) 1813 1814dnl =================================================================== 1815dnl Search all the common names for GNU make 1816dnl =================================================================== 1817AC_MSG_CHECKING([for GNU make]) 1818for a in "$MAKE" "$GNUMAKE" make gmake gnumake; do |
| 1821 $a --version 2> /dev/null | $GREP GNU 2>&1 > /dev/null 1822 if test $? -eq 0; then | 1819 $a --version 2> /dev/null | $GREP GNU 2>&1 > /dev/null 1820 if test $? -eq 0; then |
| 1823 GNUMAKE=$a 1824 break 1825 fi 1826done 1827AC_MSG_RESULT($GNUMAKE) 1828if test -z "$GNUMAKE"; then 1829 AC_MSG_ERROR([not found. install GNU make.]) 1830fi --- 49 unchanged lines hidden (view full) --- 1880else 1881 AC_MSG_CHECKING([whether the found dmake is the right dmake]) 1882 # we need to find out whether that dmake we found is "our" dmake 1883 # or the dmake from Sun's SunStudio Compiler which is something 1884 # different 1885 # This test _should_ work because the one accepts -V (ours) and one 1886 # (the other) not... 1887 $DMAKE -V 2>/dev/null | $GREP -E 'dmake(.exe)? .* Version .*' >/dev/null | 1821 GNUMAKE=$a 1822 break 1823 fi 1824done 1825AC_MSG_RESULT($GNUMAKE) 1826if test -z "$GNUMAKE"; then 1827 AC_MSG_ERROR([not found. install GNU make.]) 1828fi --- 49 unchanged lines hidden (view full) --- 1878else 1879 AC_MSG_CHECKING([whether the found dmake is the right dmake]) 1880 # we need to find out whether that dmake we found is "our" dmake 1881 # or the dmake from Sun's SunStudio Compiler which is something 1882 # different 1883 # This test _should_ work because the one accepts -V (ours) and one 1884 # (the other) not... 1885 $DMAKE -V 2>/dev/null | $GREP -E 'dmake(.exe)? .* Version .*' >/dev/null |
| 1888 if test $? -eq 0; then | 1886 if test $? -eq 0; then |
| 1889 BUILD_DMAKE=NO 1890 AC_MSG_RESULT([yes]) 1891 AC_MSG_CHECKING([the dmake version]) 1892 DMAKE_VERSION=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'` 1893 if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then 1894 AC_MSG_RESULT([OK, >= 4.11]) 1895 elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \ 1896 test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then --- 15 unchanged lines hidden (view full) --- 1912AC_SUBST(IS_SYSTEM_DMAKE) 1913 1914 1915dnl =================================================================== 1916dnl Search all the common names for GNU or BSD tar 1917dnl =================================================================== 1918AC_MSG_CHECKING([for GNU or compatible BSD tar]) 1919for a in $GNUTAR gtar gnutar bsdtar tar; do | 1887 BUILD_DMAKE=NO 1888 AC_MSG_RESULT([yes]) 1889 AC_MSG_CHECKING([the dmake version]) 1890 DMAKE_VERSION=`$DMAKE -V | $AWK '$3 == "Version" {print $4}'` 1891 if test "`echo $DMAKE_VERSION | cut -d'.' -f1`" -gt "4"; then 1892 AC_MSG_RESULT([OK, >= 4.11]) 1893 elif test "`echo $DMAKE_VERSION | cut -d'.' -f1`" = "4" && \ 1894 test "`echo $DMAKE_VERSION | cut -d'.' -f2`" -ge "11"; then --- 15 unchanged lines hidden (view full) --- 1910AC_SUBST(IS_SYSTEM_DMAKE) 1911 1912 1913dnl =================================================================== 1914dnl Search all the common names for GNU or BSD tar 1915dnl =================================================================== 1916AC_MSG_CHECKING([for GNU or compatible BSD tar]) 1917for a in $GNUTAR gtar gnutar bsdtar tar; do |
| 1920 $a --version 2> /dev/null | $EGREP "GNU|libarchive" 2>&1 > /dev/null 1921 if test $? -eq 0; then | 1918 $a --version 2> /dev/null | $EGREP "GNU|libarchive" 2>&1 > /dev/null 1919 if test $? -eq 0; then |
| 1922 GNUTAR=$a 1923 break 1924 fi 1925done 1926AC_MSG_RESULT($GNUTAR) 1927if test -z "$GNUTAR"; then 1928 AC_MSG_ERROR([not found. install GNU tar.]) 1929fi --- 6 unchanged lines hidden (view full) --- 1936if test "$_os" = "SunOS"; then 1937 if test "$CC" = "cc"; then 1938 AC_PATH_PROGS(_cc, cc) 1939 COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"` 1940 AC_MSG_CHECKING([the SunStudio C/C++ compiler version]) 1941 dnl cc -V outputs to standard error!!!! 1942 _sunstudio_string=`$CC -V 2>&1 | $GREP '^cc' | sed -e 's/.* C //'` 1943 _sunstudio_version=`echo $_sunstudio_string | $AWK '{ print $1 }'` | 1920 GNUTAR=$a 1921 break 1922 fi 1923done 1924AC_MSG_RESULT($GNUTAR) 1925if test -z "$GNUTAR"; then 1926 AC_MSG_ERROR([not found. install GNU tar.]) 1927fi --- 6 unchanged lines hidden (view full) --- 1934if test "$_os" = "SunOS"; then 1935 if test "$CC" = "cc"; then 1936 AC_PATH_PROGS(_cc, cc) 1937 COMPATH=`echo $_cc | $SED -n "s/\/bin\/cc//p"` 1938 AC_MSG_CHECKING([the SunStudio C/C++ compiler version]) 1939 dnl cc -V outputs to standard error!!!! 1940 _sunstudio_string=`$CC -V 2>&1 | $GREP '^cc' | sed -e 's/.* C //'` 1941 _sunstudio_version=`echo $_sunstudio_string | $AWK '{ print $1 }'` |
| 1944 _sunstudio_major=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'` | 1942 _sunstudio_major=`echo $_sunstudio_version | $AWK -F. '{ print $1 }'` |
| 1945 if test "$_sunstudio_major" != "5"; then 1946 AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler]) 1947 else | 1943 if test "$_sunstudio_major" != "5"; then 1944 AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler]) 1945 else |
| 1948 _sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'` | 1946 _sunstudio_minor=`echo $_sunstudio_version | $AWK -F. '{ if ($2 == 5) print "true"; else if ($2 == 7) print "true"; else if ($2 == 8) print "true"; else if ($2 == 9) print "true"; else print "false" }'` |
| 1949 if test "$_sunstudio_minor" = "false"; then 1950 AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler]) 1951 else 1952 dnl compiler will do 1953 AC_MSG_RESULT([checked]) 1954 fi 1955 fi 1956 fi --- 60 unchanged lines hidden (view full) --- 2017dnl $] is the perl version variable, it is returned as an integer 2018dnl =================================================================== 2019if test "$PERL"; then 2020 AC_MSG_CHECKING([the Perl version]) 2021 ${PERL} -e "exit($]);" 2022 _perl_version=$? 2023 if test "$_perl_version" -lt 5; then 2024 AC_MSG_ERROR([found Perl version "$_perl_version", use version 5 of Perl]) | 1947 if test "$_sunstudio_minor" = "false"; then 1948 AC_MSG_ERROR([found version "$_sunstudio_version", use version 5.5, 5.7, 5.8 or 5.9 of the SunStudio C/C++ compiler]) 1949 else 1950 dnl compiler will do 1951 AC_MSG_RESULT([checked]) 1952 fi 1953 fi 1954 fi --- 60 unchanged lines hidden (view full) --- 2015dnl $] is the perl version variable, it is returned as an integer 2016dnl =================================================================== 2017if test "$PERL"; then 2018 AC_MSG_CHECKING([the Perl version]) 2019 ${PERL} -e "exit($]);" 2020 _perl_version=$? 2021 if test "$_perl_version" -lt 5; then 2022 AC_MSG_ERROR([found Perl version "$_perl_version", use version 5 of Perl]) |
| 2025 fi | 2023 fi |
| 2026 AC_MSG_RESULT([checked (perl $_perl_version)]) 2027else 2028 AC_MSG_ERROR([Perl not found, install version 5 of Perl]) 2029fi 2030AC_SUBST(PERL) 2031 2032dnl =================================================================== 2033dnl Testing for required Perl modules 2034dnl The list of required Perl modules is documented here: | 2024 AC_MSG_RESULT([checked (perl $_perl_version)]) 2025else 2026 AC_MSG_ERROR([Perl not found, install version 5 of Perl]) 2027fi 2028AC_SUBST(PERL) 2029 2030dnl =================================================================== 2031dnl Testing for required Perl modules 2032dnl The list of required Perl modules is documented here: |
| 2035dnl http://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements | 2033dnl https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO#General_Build_Requirements |
| 2036dnl =================================================================== 2037AC_MSG_CHECKING([for required Perl modules]) 2038if `$PERL -e 'use Archive::Zip; 2039 use LWP::UserAgent; 2040 use XML::Parser; 2041 use Digest::SHA; 2042 use Digest::MD5; 2043 use LWP::Protocol::https;'>/dev/null 2>&1`; then --- 103 unchanged lines hidden (view full) --- 2147 CC=`cygpath -u "$CC"` 2148 COMPATH=`cygpath -d "$COMPATH"` 2149 COMPATH=`cygpath -u "$COMPATH"` 2150 # Remove /cl.exe from CC case insensitive 2151 AC_MSG_RESULT([found ($CC)]) 2152 export INCLUDE=`cygpath -d "$COMPATH/Include"` 2153 dnl Check which Microsoft C/C++ compiler is found 2154 AC_MSG_CHECKING([the Version of Microsoft C/C++ Compiler]) | 2034dnl =================================================================== 2035AC_MSG_CHECKING([for required Perl modules]) 2036if `$PERL -e 'use Archive::Zip; 2037 use LWP::UserAgent; 2038 use XML::Parser; 2039 use Digest::SHA; 2040 use Digest::MD5; 2041 use LWP::Protocol::https;'>/dev/null 2>&1`; then --- 103 unchanged lines hidden (view full) --- 2145 CC=`cygpath -u "$CC"` 2146 COMPATH=`cygpath -d "$COMPATH"` 2147 COMPATH=`cygpath -u "$COMPATH"` 2148 # Remove /cl.exe from CC case insensitive 2149 AC_MSG_RESULT([found ($CC)]) 2150 export INCLUDE=`cygpath -d "$COMPATH/Include"` 2151 dnl Check which Microsoft C/C++ compiler is found 2152 AC_MSG_CHECKING([the Version of Microsoft C/C++ Compiler]) |
| 2155dnl The following find microsoft, matches nn.nn.nnnn then pulls numbers out. | 2153dnl The following find microsoft, matches nn.nn.nnnn then pulls numbers out. |
| 2156 CCTXTVER=`$CC 2>&1 | head -n1` 2157 CCNUMVER=`echo $CCTXTVER | $AWK "/Microsoft/ && /..\\...\\...../ { 2158 x = match( \\\$0, /..\\...\\...../ ) 2159 CCversion = substr( \\\$0, RSTART, RLENGTH) 2160 tokencount = split (CCversion,vertoken,\".\") 2161 for ( i = 1 ; i <= tokencount ; i++ ) { 2162 printf (\"%04d\",vertoken[[i]] ) 2163 } --- 49 unchanged lines hidden (view full) --- 2213 *) COM="C52";; 2214 esac;; 2215 osf | aix*) 2216 COM="CXX";; 2217 *) AC_MSG_ERROR([Unable to decipher compiler for $build_os]);; 2218esac 2219AC_SUBST(COM) 2220 | 2154 CCTXTVER=`$CC 2>&1 | head -n1` 2155 CCNUMVER=`echo $CCTXTVER | $AWK "/Microsoft/ && /..\\...\\...../ { 2156 x = match( \\\$0, /..\\...\\...../ ) 2157 CCversion = substr( \\\$0, RSTART, RLENGTH) 2158 tokencount = split (CCversion,vertoken,\".\") 2159 for ( i = 1 ; i <= tokencount ; i++ ) { 2160 printf (\"%04d\",vertoken[[i]] ) 2161 } --- 49 unchanged lines hidden (view full) --- 2211 *) COM="C52";; 2212 esac;; 2213 osf | aix*) 2214 COM="CXX";; 2215 *) AC_MSG_ERROR([Unable to decipher compiler for $build_os]);; 2216esac 2217AC_SUBST(COM) 2218 |
| 2221dnl Decode the compiler version. Logic from main/solenv/inc/tg_compv.mk. | 2219dnl Decode the compiler version. Logic from main/solenv/inc/tg_compv.mk. |
| 2222case $COM in 2223 GCC) 2224 CCVER=`${CC} -dumpfullversion -dumpversion 2>&1`; 2225 CCNUMVER=`echo ${CCVER} | $AWK -v num=true -f ${_solenv}/bin/getcompver.awk`; 2226 if test "${CCNUMVER}" -ge 000300000001; then 2227 COMID="gcc3"; 2228 COMNAME="gcc3"; 2229 elif test "${CCNUMVER}" -ge 000300000001; then --- 339 unchanged lines hidden (view full) --- 2569int 2570main (void) 2571{ 2572 test (E4); 2573 test (E5); 2574 test (E0); 2575 return 0; 2576} | 2220case $COM in 2221 GCC) 2222 CCVER=`${CC} -dumpfullversion -dumpversion 2>&1`; 2223 CCNUMVER=`echo ${CCVER} | $AWK -v num=true -f ${_solenv}/bin/getcompver.awk`; 2224 if test "${CCNUMVER}" -ge 000300000001; then 2225 COMID="gcc3"; 2226 COMNAME="gcc3"; 2227 elif test "${CCNUMVER}" -ge 000300000001; then --- 339 unchanged lines hidden (view full) --- 2567int 2568main (void) 2569{ 2570 test (E4); 2571 test (E5); 2572 test (E0); 2573 return 0; 2574} |
| 2577],[AC_MSG_ERROR([your version of the GNU C++ compile has a bug which prevents Apache OpenOffice from being compiled correctly - please check http://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details.])], [AC_MSG_RESULT([no])]) | 2575],[AC_MSG_ERROR([your version of the GNU C++ compiler has a bug which prevents Apache OpenOffice from being compiled correctly - please check https://gcc.gnu.org/ml/gcc-patches/2004-07/msg00968.html for details.])], [AC_MSG_RESULT([no])]) |
| 2578 fi 2579fi 2580 2581dnl =================================================================== 2582dnl Set the mingw runtime library include directories 2583dnl =================================================================== 2584if test "$WITH_MINGWIN" = "yes"; then 2585 AC_MSG_CHECKING([for mingwin runtime include path]) --- 95 unchanged lines hidden (view full) --- 2681if test "$_os" = "SunOS"; then 2682 dnl SunStudio C++ compiler packaged with SunStudio C compiler 2683 if test "$CC" = "cc"; then 2684 AC_MSG_CHECKING([SunStudio C++ Compiler]) 2685 if test "$CXX" != "CC"; then 2686 AC_MSG_WARN([SunStudio C++ was not found]) 2687 echo "SunStudio C++ was not found" >> warn 2688 else | 2576 fi 2577fi 2578 2579dnl =================================================================== 2580dnl Set the mingw runtime library include directories 2581dnl =================================================================== 2582if test "$WITH_MINGWIN" = "yes"; then 2583 AC_MSG_CHECKING([for mingwin runtime include path]) --- 95 unchanged lines hidden (view full) --- 2679if test "$_os" = "SunOS"; then 2680 dnl SunStudio C++ compiler packaged with SunStudio C compiler 2681 if test "$CC" = "cc"; then 2682 AC_MSG_CHECKING([SunStudio C++ Compiler]) 2683 if test "$CXX" != "CC"; then 2684 AC_MSG_WARN([SunStudio C++ was not found]) 2685 echo "SunStudio C++ was not found" >> warn 2686 else |
| 2689 AC_MSG_RESULT([checked]) | 2687 AC_MSG_RESULT([checked]) |
| 2690 fi | 2688 fi |
| 2691 fi | 2689 fi |
| 2692fi 2693dnl =================================================================== 2694dnl Extra checking for the OSF compiler 2695dnl =================================================================== 2696if test "$_os" = "OSF1"; then 2697 AC_MSG_CHECKING([Compaq C++ compiler version]) 2698 dnl cxx -V outputs to standard error!!!! 2699 _compaqcxx_version=`$CXX -V 2>&1 | $AWK '{ print $3 }'` --- 57 unchanged lines hidden (view full) --- 2757 else 2758 AC_MSG_RESULT([no]) 2759 fi 2760fi 2761 2762# =================================================================== 2763# use --ccache-skip? 2764# =================================================================== | 2690fi 2691dnl =================================================================== 2692dnl Extra checking for the OSF compiler 2693dnl =================================================================== 2694if test "$_os" = "OSF1"; then 2695 AC_MSG_CHECKING([Compaq C++ compiler version]) 2696 dnl cxx -V outputs to standard error!!!! 2697 _compaqcxx_version=`$CXX -V 2>&1 | $AWK '{ print $3 }'` --- 57 unchanged lines hidden (view full) --- 2755 else 2756 AC_MSG_RESULT([no]) 2757 fi 2758fi 2759 2760# =================================================================== 2761# use --ccache-skip? 2762# =================================================================== |
| 2765dnl used to escape compiler options for ccache that otherwise prevent | 2763dnl used to escape compiler options for ccache that otherwise prevent |
| 2766dnl caching of the results (like "-x objective-c++" for Mac) 2767AC_MSG_CHECKING([whether we are allowed and able to use --ccache-skip]) 2768if test "$_os" != "Darwin" ; then 2769 AC_MSG_RESULT([only used on Mac currently, skipping]) 2770elif test "$enable_ccache_skip" = "no" ; then 2771 AC_MSG_RESULT([no - diabled explicitly]) 2772elif test "$enable_ccache_skip" = "yes" ; then 2773 AC_MSG_RESULT([yes - enabled explicitly, skipping checks]) 2774 AC_SUBST([USE_CCACHE], [YES]) 2775elif test "$enable_ccache_skip" = "auto" ; then 2776 # checking for ccache presence/version 2777 AC_MSG_RESULT([probing...]) 2778 AC_PATH_PROG([CCACHE],[ccache],[not_found]) 2779 if test "$CCACHE" = "not_found" ; then 2780 AC_MSG_NOTICE([not enabling --ccache-skip (ccache not found)]) 2781 else | 2764dnl caching of the results (like "-x objective-c++" for Mac) 2765AC_MSG_CHECKING([whether we are allowed and able to use --ccache-skip]) 2766if test "$_os" != "Darwin" ; then 2767 AC_MSG_RESULT([only used on Mac currently, skipping]) 2768elif test "$enable_ccache_skip" = "no" ; then 2769 AC_MSG_RESULT([no - diabled explicitly]) 2770elif test "$enable_ccache_skip" = "yes" ; then 2771 AC_MSG_RESULT([yes - enabled explicitly, skipping checks]) 2772 AC_SUBST([USE_CCACHE], [YES]) 2773elif test "$enable_ccache_skip" = "auto" ; then 2774 # checking for ccache presence/version 2775 AC_MSG_RESULT([probing...]) 2776 AC_PATH_PROG([CCACHE],[ccache],[not_found]) 2777 if test "$CCACHE" = "not_found" ; then 2778 AC_MSG_NOTICE([not enabling --ccache-skip (ccache not found)]) 2779 else |
| 2782 # check ccache version | 2780 # check ccache version |
| 2783 AC_MSG_CHECKING([whether version of ccache is suitable]) 2784 CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'` 2785 if test "$CCACHE_VERSION" = "2.4_OOo"; then 2786 AC_MSG_RESULT([yes]) 2787 AC_MSG_CHECKING([whether ccache is actually used for the build]) 2788 AC_LANG_PUSH([C++]) 2789 save_CXXFLAGS=$CXXFLAGS 2790 CXXFLAGS="$CXXFLAGS --ccache-skip -O2" 2791 dnl an empty program will do, we're checking the compiler flags | 2781 AC_MSG_CHECKING([whether version of ccache is suitable]) 2782 CCACHE_VERSION=`"$CCACHE" -V | "$AWK" '/^ccache version/{print $3}'` 2783 if test "$CCACHE_VERSION" = "2.4_OOo"; then 2784 AC_MSG_RESULT([yes]) 2785 AC_MSG_CHECKING([whether ccache is actually used for the build]) 2786 AC_LANG_PUSH([C++]) 2787 save_CXXFLAGS=$CXXFLAGS 2788 CXXFLAGS="$CXXFLAGS --ccache-skip -O2" 2789 dnl an empty program will do, we're checking the compiler flags |
| 2792 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], | 2790 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],[])], |
| 2793 [use_ccache=yes], [use_ccache=no]) 2794 if test $use_ccache = yes ; then 2795 AC_MSG_RESULT([yes, will enable --ccache-skip]) 2796 AC_SUBST([USE_CCACHE], [YES]) 2797 else 2798 AC_MSG_RESULT([no, will not enable --ccache-skip]) 2799 fi 2800 CXXFLAGS=$save_CXXFLAGS --- 30 unchanged lines hidden (view full) --- 2831 sharedlink_ldflags_save=$LDFLAGS 2832 LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared" 2833 2834 AC_MSG_CHECKING([if gcc is -fvisibility-inlines-hidden safe with STL headers]) 2835 AC_TRY_LINK([#include <sstream> 2836using namespace std; 2837],[istringstream strm( "test" ); return 0;], 2838 $EGREP -q unresolvable conftest.err; | 2791 [use_ccache=yes], [use_ccache=no]) 2792 if test $use_ccache = yes ; then 2793 AC_MSG_RESULT([yes, will enable --ccache-skip]) 2794 AC_SUBST([USE_CCACHE], [YES]) 2795 else 2796 AC_MSG_RESULT([no, will not enable --ccache-skip]) 2797 fi 2798 CXXFLAGS=$save_CXXFLAGS --- 30 unchanged lines hidden (view full) --- 2829 sharedlink_ldflags_save=$LDFLAGS 2830 LDFLAGS="$LDFLAGS -fvisibility-inlines-hidden -fpic -shared" 2831 2832 AC_MSG_CHECKING([if gcc is -fvisibility-inlines-hidden safe with STL headers]) 2833 AC_TRY_LINK([#include <sstream> 2834using namespace std; 2835],[istringstream strm( "test" ); return 0;], 2836 $EGREP -q unresolvable conftest.err; |
| 2839 if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi, | 2837 if test $? -eq 0; then gccvisok=no; else gccvisok=yes; fi, |
| 2840 gccvisok=no) 2841 AC_MSG_RESULT([$gccvisok]) 2842 if test "$gccvisok" = "no"; then 2843 AC_MSG_WARN([Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility]) 2844 echo "Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >> warn 2845 unset HAVE_GCC_VISIBILITY_FEATURE 2846 fi 2847 --- 13 unchanged lines hidden (view full) --- 2861_ACEOF 2862 if ! $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx 2>/dev/null > /dev/null; then 2863 gccvisbroken=yes 2864 else 2865 case "$build_cpu" in 2866 i?86|x86_64) 2867 if $EGREP -q '@PLT' visibility.s; then 2868 gccvisbroken=no | 2838 gccvisok=no) 2839 AC_MSG_RESULT([$gccvisok]) 2840 if test "$gccvisok" = "no"; then 2841 AC_MSG_WARN([Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility]) 2842 echo "Your gcc is not -fvisibility-inlines-hidden safe. Disabling visibility" >> warn 2843 unset HAVE_GCC_VISIBILITY_FEATURE 2844 fi 2845 --- 13 unchanged lines hidden (view full) --- 2859_ACEOF 2860 if ! $CXX $CXXFLAGS $CPPFLAGS -fpic -S visibility.cxx 2>/dev/null > /dev/null; then 2861 gccvisbroken=yes 2862 else 2863 case "$build_cpu" in 2864 i?86|x86_64) 2865 if $EGREP -q '@PLT' visibility.s; then 2866 gccvisbroken=no |
| 2869 else | 2867 else |
| 2870 gccvisbroken=yes 2871 fi 2872 ;; 2873 *) 2874 gccvisbroken=no 2875 ;; 2876 esac 2877 fi --- 140 unchanged lines hidden (view full) --- 3018# if test -z "$KAFFE_VER"; then 3019# AC_MSG_ERROR([looks like Kaffe but version detection failed]) 3020# fi 3021# _kaffe_ver=`echo "$KAFFE_VER" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` 3022# if test "$_kaffe_ver" -lt 10100; then 3023# AC_MSG_ERROR([Kaffe is too old ($KAFFE_VER - $_kaffe_ver), you need at least 1.1.0]) 3024# fi 3025# JDK=kaffe | 2868 gccvisbroken=yes 2869 fi 2870 ;; 2871 *) 2872 gccvisbroken=no 2873 ;; 2874 esac 2875 fi --- 140 unchanged lines hidden (view full) --- 3016# if test -z "$KAFFE_VER"; then 3017# AC_MSG_ERROR([looks like Kaffe but version detection failed]) 3018# fi 3019# _kaffe_ver=`echo "$KAFFE_VER" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` 3020# if test "$_kaffe_ver" -lt 10100; then 3021# AC_MSG_ERROR([Kaffe is too old ($KAFFE_VER - $_kaffe_ver), you need at least 1.1.0]) 3022# fi 3023# JDK=kaffe |
| 3026# | 3024# |
| 3027# dnl TODO: define some project exclusion variables | 3025# dnl TODO: define some project exclusion variables |
| 3028# | 3026# |
| 3029# AC_MSG_RESULT([checked (Kaffe $KAFFE_VER)]) 3030# AC_MSG_WARN([EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile]) 3031# echo "EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile" >>warn 3032# JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"` 3033 elif test `$JAVAINTERPRETER --version 2>&1 | $GREP -c "GNU libgcj"` -gt 0; then 3034 JDK=gcj | 3027# AC_MSG_RESULT([checked (Kaffe $KAFFE_VER)]) 3028# AC_MSG_WARN([EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile]) 3029# echo "EXPERIMENTAL: Kaffe is not a full JDK replacement - some projects will fail to compile" >>warn 3030# JAVA_HOME=`echo $JAVAINTERPRETER | $SED -n "s,//*bin//*java,,p"` 3031 elif test `$JAVAINTERPRETER --version 2>&1 | $GREP -c "GNU libgcj"` -gt 0; then 3032 JDK=gcj |
| 3035 AC_MSG_RESULT([checked (gcj)]) | 3033 AC_MSG_RESULT([checked (gcj)]) |
| 3036 _gij_version=`$JAVAINTERPRETER --version | $GREP GNU | $SED -e 's@^[[^0-9]]*@@' -e 's@ .*@@' -e 's@,.*@@'`; 3037 _gij_longver=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'` 3038 3039 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | $GREP -c "BEA"` -gt 0; then 3040 AC_MSG_ERROR([No valid check available. Please check the block for your desired java in configure.in]) 3041# JDK=bea 3042# 3043# dnl BEA JDK specific tests --- 17 unchanged lines hidden (view full) --- 3061# JAVA_HOME=$with_jdk_home 3062# 3063 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | $GREP -c "IBM"` -gt 0; then 3064 JDK=ibm 3065 3066 dnl IBM JDK specific tests 3067 _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//` 3068 _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` | 3034 _gij_version=`$JAVAINTERPRETER --version | $GREP GNU | $SED -e 's@^[[^0-9]]*@@' -e 's@ .*@@' -e 's@,.*@@'`; 3035 _gij_longver=`echo $_gij_version | $AWK -F. '{ print \$1*10000+\$2*100+\$3 }'` 3036 3037 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | $GREP -c "BEA"` -gt 0; then 3038 AC_MSG_ERROR([No valid check available. Please check the block for your desired java in configure.in]) 3039# JDK=bea 3040# 3041# dnl BEA JDK specific tests --- 17 unchanged lines hidden (view full) --- 3059# JAVA_HOME=$with_jdk_home 3060# 3061 elif test `$JAVAINTERPRETER -version 2>&1 | awk '{ print }' | $GREP -c "IBM"` -gt 0; then 3062 JDK=ibm 3063 3064 dnl IBM JDK specific tests 3065 _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//` 3066 _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` |
| 3069 | 3067 |
| 3070 if test "$_jdk_ver" -lt 10500; then 3071 AC_MSG_ERROR([IBM JDK is too old, you need at least 1.5]) 3072 fi 3073 3074 AC_MSG_RESULT([checked (IBM JDK $_jdk)]) 3075 3076 if test "$with_jdk_home" = ""; then 3077 AC_MSG_ERROR([In order to successfully build Apache OpenOffice using the IBM JDK, 3078you must use the "--with-jdk-home" configure option explicitly]) 3079 fi 3080 3081 JAVA_HOME=$with_jdk_home | 3068 if test "$_jdk_ver" -lt 10500; then 3069 AC_MSG_ERROR([IBM JDK is too old, you need at least 1.5]) 3070 fi 3071 3072 AC_MSG_RESULT([checked (IBM JDK $_jdk)]) 3073 3074 if test "$with_jdk_home" = ""; then 3075 AC_MSG_ERROR([In order to successfully build Apache OpenOffice using the IBM JDK, 3076you must use the "--with-jdk-home" configure option explicitly]) 3077 fi 3078 3079 JAVA_HOME=$with_jdk_home |
| 3082 3083 else | 3080 3081 else |
| 3084 JDK=sun 3085 3086 dnl SUN JDK specific tests 3087 _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//` 3088 _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` 3089 3090 if test "$_jdk_ver" -lt 10500; then 3091 AC_MSG_ERROR([JDK is too old, you need at least 1.5]) --- 14 unchanged lines hidden (view full) --- 3106 dnl Java disabled 3107 JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME 3108fi 3109 3110dnl =================================================================== 3111dnl Checks for javac 3112dnl =================================================================== 3113if test "$SOLAR_JAVA" != ""; then | 3082 JDK=sun 3083 3084 dnl SUN JDK specific tests 3085 _jdk=`$JAVAINTERPRETER -version 2>&1 | $AWK -F'"' '{ print \$2 }' | $SED s/[[-A-Za-z]]*//` 3086 _jdk_ver=`echo "$_jdk" | $AWK -F. '{ print (($1 * 100) + $2) * 100 + $3;}'` 3087 3088 if test "$_jdk_ver" -lt 10500; then 3089 AC_MSG_ERROR([JDK is too old, you need at least 1.5]) --- 14 unchanged lines hidden (view full) --- 3104 dnl Java disabled 3105 JAVA_HOME=NO_JAVA_HOME ; export JAVA_HOME 3106fi 3107 3108dnl =================================================================== 3109dnl Checks for javac 3110dnl =================================================================== 3111if test "$SOLAR_JAVA" != ""; then |
| 3114 if test "$JDK" = "gcj"; then | 3112 if test "$JDK" = "gcj"; then |
| 3115 javacompiler=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g" | $SED -e "s/java/javac/g"` 3116 else 3117 javacompiler="javac" 3118 fi 3119 if test "$_os" = "OS2"; then 3120 if test x`echo "$javacompiler" | $GREP -i '\.exe$'` = x; then 3121 javacompiler="${javacompiler}.exe" 3122 fi --- 124 unchanged lines hidden (view full) --- 3247 fi 3248 3249 dnl second sanity check JAVA_HOME if possible 3250 if test "$JDK" != "gcj" -o "$_gij_longver" -ge "40200"; then 3251 # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr 3252 if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then 3253 javac_link_f=`readlink -f "$JAVACOMPILER" 2>/dev/null` 3254 if test $? == 0 && test "$JAVACOMPILER" != "$javac_link_f"; then | 3113 javacompiler=`echo $WITH_JAVA | $SED -e "s/gij/gcj/g" | $SED -e "s/java/javac/g"` 3114 else 3115 javacompiler="javac" 3116 fi 3117 if test "$_os" = "OS2"; then 3118 if test x`echo "$javacompiler" | $GREP -i '\.exe$'` = x; then 3119 javacompiler="${javacompiler}.exe" 3120 fi --- 124 unchanged lines hidden (view full) --- 3245 fi 3246 3247 dnl second sanity check JAVA_HOME if possible 3248 if test "$JDK" != "gcj" -o "$_gij_longver" -ge "40200"; then 3249 # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr 3250 if test "$JAVA_HOME" = "/usr" -a "x$with_jdk_home" = "x"; then 3251 javac_link_f=`readlink -f "$JAVACOMPILER" 2>/dev/null` 3252 if test $? == 0 && test "$JAVACOMPILER" != "$javac_link_f"; then |
| 3255 # try to recover first by looking whether we have a alternatives | 3253 # try to recover first by looking whether we have a alternatives |
| 3256 # system as in Debian or newer SuSEs where following /usr/bin/javac 3257 # over /etc/alternatives/javac leads to the right bindir where we 3258 # just need to strip a bit away to get a valid JAVA_HOME 3259 # Solaris 11 is even worse, because target is relative, so use -f 3260 JAVA_HOME="$javac_link_f" 3261 elif readlink $JAVACOMPILER >/dev/null 2>/dev/null; then 3262 # Darwin readlink(1) is so primitive it doesn't even support -f 3263 # maybe only one level of symlink (e.g. on Mac) --- 37 unchanged lines hidden (view full) --- 3301# fi 3302 fi 3303 fi 3304fi 3305 3306AWTLIB= 3307if test "$SOLAR_JAVA" != ""; then 3308 AC_MSG_CHECKING([for jawt lib name]) | 3254 # system as in Debian or newer SuSEs where following /usr/bin/javac 3255 # over /etc/alternatives/javac leads to the right bindir where we 3256 # just need to strip a bit away to get a valid JAVA_HOME 3257 # Solaris 11 is even worse, because target is relative, so use -f 3258 JAVA_HOME="$javac_link_f" 3259 elif readlink $JAVACOMPILER >/dev/null 2>/dev/null; then 3260 # Darwin readlink(1) is so primitive it doesn't even support -f 3261 # maybe only one level of symlink (e.g. on Mac) --- 37 unchanged lines hidden (view full) --- 3299# fi 3300 fi 3301 fi 3302fi 3303 3304AWTLIB= 3305if test "$SOLAR_JAVA" != ""; then 3306 AC_MSG_CHECKING([for jawt lib name]) |
| 3309 if test "$JDK" = "gcj"; then | 3307 if test "$JDK" = "gcj"; then |
| 3310 save_CFLAGS=$CFLAGS 3311 save_LDFLAGS=$LDFLAGS 3312 CFLAGS="$CFLAGS -I$JAVA_HOME/include" 3313 LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj" 3314 exec 6>/dev/null # no output 3315 AC_CHECK_HEADER(jni.h, [], 3316 [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], []) 3317 AC_CHECK_LIB(gcjawt, JAWT_GetAWT, [ AWTLIB="-lgcjawt -lgcj"] ) --- 98 unchanged lines hidden (view full) --- 3416 EPM_URL=$with_epm_url 3417 AC_MSG_RESULT([epm will be downloaded and compiled in bootstrap]) 3418 EPM= 3419 echo "EPM will be built." 3420 BUILD_EPM=YES 3421 BUILD_TYPE="$BUILD_TYPE EPM" 3422 else 3423 if test "$EPM" = "no" ; then | 3308 save_CFLAGS=$CFLAGS 3309 save_LDFLAGS=$LDFLAGS 3310 CFLAGS="$CFLAGS -I$JAVA_HOME/include" 3311 LDFLAGS="$LDFLAGS -L$JAVA_HOME/lib -lgcj" 3312 exec 6>/dev/null # no output 3313 AC_CHECK_HEADER(jni.h, [], 3314 [AC_MSG_ERROR([jni.h could not be found. Mismatch between gcc and libgcj or libgcj-devel missing?])], []) 3315 AC_CHECK_LIB(gcjawt, JAWT_GetAWT, [ AWTLIB="-lgcjawt -lgcj"] ) --- 98 unchanged lines hidden (view full) --- 3414 EPM_URL=$with_epm_url 3415 AC_MSG_RESULT([epm will be downloaded and compiled in bootstrap]) 3416 EPM= 3417 echo "EPM will be built." 3418 BUILD_EPM=YES 3419 BUILD_TYPE="$BUILD_TYPE EPM" 3420 else 3421 if test "$EPM" = "no" ; then |
| 3424 AC_MSG_ERROR([no. Install ESP Package Manager (http://www.msweet.org/projects.php?Z2) and/or specify the path to the right epm (--with-epm). Or specify an URL to an epm-3.7 source package (--with-epm-url); run configure with the --help option for a list of possible URLs.]) | 3422 AC_MSG_ERROR([no. Install ESP Package Manager (https://www.msweet.org/epm/) and/or specify the path to the right epm (--with-epm). Or specify an URL to an epm-3.7 source package (--with-epm-url); run configure with the --help option for a list of possible URLs.]) |
| 3425 else 3426 # Gentoo has some epm which is something different... 3427 AC_MSG_CHECKING([whether the found epm is the right epm]) 3428 if $EPM | $GREP "ESP Package Manager" >/dev/null 2>/dev/null; then 3429 AC_MSG_RESULT([yes]) 3430 else | 3423 else 3424 # Gentoo has some epm which is something different... 3425 AC_MSG_CHECKING([whether the found epm is the right epm]) 3426 if $EPM | $GREP "ESP Package Manager" >/dev/null 2>/dev/null; then 3427 AC_MSG_RESULT([yes]) 3428 else |
| 3431 AC_MSG_ERROR([no. Install ESP Package Manager (http://www.msweet.org/projects.php?Z2) and/or specify the path to the right epm (--with-epm). Or specify an URL to an epm-3.7 source package (--with-epm-url); run configure with the --help option for a list of possible URLs.]) | 3429 AC_MSG_ERROR([no. Install ESP Package Manager (https://www.msweet.org/epm/) and/or specify the path to the right epm (--with-epm). Or specify an URL to an epm-3.7 source package (--with-epm-url); run configure with the --help option for a list of possible URLs.]) |
| 3432 fi 3433 AC_MSG_CHECKING([epm version]) 3434 EPM_VERSION=`$EPM | $GREP 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//` 3435 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \ 3436 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then 3437 AC_MSG_RESULT([OK, >= 3.7]) 3438 BUILD_EPM=NO 3439 if test "$_os" = "Darwin"; then --- 57 unchanged lines hidden (view full) --- 3497 PKGFORMAT=msi 3498 ;; 3499 # we never should get here since we check the architecture/os at the beginning, 3500 # but go sure... 3501 *) 3502 AC_MSG_ERROR([unknown system]) 3503 esac 3504 if test -n "$with_package_format"; then | 3430 fi 3431 AC_MSG_CHECKING([epm version]) 3432 EPM_VERSION=`$EPM | $GREP 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//` 3433 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \ 3434 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then 3435 AC_MSG_RESULT([OK, >= 3.7]) 3436 BUILD_EPM=NO 3437 if test "$_os" = "Darwin"; then --- 57 unchanged lines hidden (view full) --- 3495 PKGFORMAT=msi 3496 ;; 3497 # we never should get here since we check the architecture/os at the beginning, 3498 # but go sure... 3499 *) 3500 AC_MSG_ERROR([unknown system]) 3501 esac 3502 if test -n "$with_package_format"; then |
| 3505 for i in $with_package_format; do | 3503 for i in $with_package_format; do |
| 3506 case "$i" in 3507 aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable | archive | dmg | installed | msi) 3508 ;; 3509 *) 3510 AC_MSG_ERROR([unsupported format $i. Supported by EPM are: 3511aix - AIX software distribution 3512bsd - FreeBSD, NetBSD, or OpenBSD software distribution 3513depot or swinstall - HP-UX software distribution --- 5 unchanged lines hidden (view full) --- 3519setld - Tru64 (setld) software distribution 3520native - "Native" software distribution for the platform 3521portable - Portable software distribution 3522AOO additionally supports: 3523archive - .tar.gz or .zip 3524dmg - Mac OS X .dmg 3525installed - installation tree 3526msi - Windows .msi | 3504 case "$i" in 3505 aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable | archive | dmg | installed | msi) 3506 ;; 3507 *) 3508 AC_MSG_ERROR([unsupported format $i. Supported by EPM are: 3509aix - AIX software distribution 3510bsd - FreeBSD, NetBSD, or OpenBSD software distribution 3511depot or swinstall - HP-UX software distribution --- 5 unchanged lines hidden (view full) --- 3517setld - Tru64 (setld) software distribution 3518native - "Native" software distribution for the platform 3519portable - Portable software distribution 3520AOO additionally supports: 3521archive - .tar.gz or .zip 3522dmg - Mac OS X .dmg 3523installed - installation tree 3524msi - Windows .msi |
| 3527 ]) | 3525 ]) |
| 3528 ;; 3529 esac 3530 done 3531 PKGFORMAT="$with_package_format" 3532 fi 3533 AC_MSG_RESULT([$PKGFORMAT]) 3534 if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then 3535 AC_MSG_CHECKING([for rpm]) 3536 for a in "$RPM" rpmbuild rpm; do 3537 $a --usage >/dev/null 2> /dev/null 3538 if test $? -eq 0; then 3539 RPM=$a 3540 break 3541 else 3542 $a --version >/dev/null 2> /dev/null 3543 if test $? -eq 0; then 3544 RPM=$a 3545 break | 3526 ;; 3527 esac 3528 done 3529 PKGFORMAT="$with_package_format" 3530 fi 3531 AC_MSG_RESULT([$PKGFORMAT]) 3532 if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then 3533 AC_MSG_CHECKING([for rpm]) 3534 for a in "$RPM" rpmbuild rpm; do 3535 $a --usage >/dev/null 2> /dev/null 3536 if test $? -eq 0; then 3537 RPM=$a 3538 break 3539 else 3540 $a --version >/dev/null 2> /dev/null 3541 if test $? -eq 0; then 3542 RPM=$a 3543 break |
| 3546 fi | 3544 fi |
| 3547 fi 3548 done 3549 if test -z "$RPM" ; then 3550 AC_MSG_ERROR([not found]) 3551 elif "$RPM" --usage 2>&1 | $EGREP -- -bb >/dev/null; then 3552 RPM_PATH=`which $RPM` 3553 AC_MSG_RESULT([$RPM_PATH]) 3554 else --- 35 unchanged lines hidden (view full) --- 3590 if echo "$PKGFORMAT" | $GREP -q rpm; then 3591 _pt="rpm" 3592 AC_MSG_WARN([the rpms will need to be installed with --nodeps]) 3593 echo "the rpms will need to be installed with --nodeps" >> warn 3594 else 3595 _pt="pkg" 3596 fi 3597 AC_MSG_WARN([the ${_pt}s will not be relocateable]) | 3545 fi 3546 done 3547 if test -z "$RPM" ; then 3548 AC_MSG_ERROR([not found]) 3549 elif "$RPM" --usage 2>&1 | $EGREP -- -bb >/dev/null; then 3550 RPM_PATH=`which $RPM` 3551 AC_MSG_RESULT([$RPM_PATH]) 3552 else --- 35 unchanged lines hidden (view full) --- 3588 if echo "$PKGFORMAT" | $GREP -q rpm; then 3589 _pt="rpm" 3590 AC_MSG_WARN([the rpms will need to be installed with --nodeps]) 3591 echo "the rpms will need to be installed with --nodeps" >> warn 3592 else 3593 _pt="pkg" 3594 fi 3595 AC_MSG_WARN([the ${_pt}s will not be relocateable]) |
| 3598 echo "the ${_pt}s will not be relocateable" >> warn | 3596 echo "the ${_pt}s will not be relocatable" >> warn |
| 3599 AC_MSG_WARN([if you want to make sure installation without --nodeps and 3600 relocation will work, you need to patch your epm with the 3601 patch in epm/epm-3.7.patch or build with 3602 --with-epm=internal which will build a suitable epm]) 3603 fi 3604 fi 3605 fi 3606 if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then --- 78 unchanged lines hidden (view full) --- 3685 AC_MSG_WARN([not found, will be cross-built using mingw32]) 3686 fi 3687 BUILD_UNOWINREG=YES 3688 fi 3689 if test "$_os" != "WINNT" && test "$BUILD_UNOWINREG" = "YES"; then 3690 if test -z "$WITH_MINGWIN" || test "$WITH_MINGWIN" = "0"; then 3691 AC_MSG_ERROR([for rebuilding unowinreg.dll you need the mingw32 C++ compiler. 3692 Specify mingw32 g++ executable name with --with-mingwin. | 3597 AC_MSG_WARN([if you want to make sure installation without --nodeps and 3598 relocation will work, you need to patch your epm with the 3599 patch in epm/epm-3.7.patch or build with 3600 --with-epm=internal which will build a suitable epm]) 3601 fi 3602 fi 3603 fi 3604 if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then --- 78 unchanged lines hidden (view full) --- 3683 AC_MSG_WARN([not found, will be cross-built using mingw32]) 3684 fi 3685 BUILD_UNOWINREG=YES 3686 fi 3687 if test "$_os" != "WINNT" && test "$BUILD_UNOWINREG" = "YES"; then 3688 if test -z "$WITH_MINGWIN" || test "$WITH_MINGWIN" = "0"; then 3689 AC_MSG_ERROR([for rebuilding unowinreg.dll you need the mingw32 C++ compiler. 3690 Specify mingw32 g++ executable name with --with-mingwin. |
| 3693 Or use prebuilt one from http://tools.openoffice.org/unowinreg_prebuild/680/ and | 3691 Or use prebuilt one from https://tools.openoffice.org/unowinreg_prebuild/680/ and |
| 3694 put it into external/unowinreg using your browser or a command equivalent to: | 3692 put it into external/unowinreg using your browser or a command equivalent to: |
| 3695 wget -O external/unowinreg/unowinreg.dll http://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll]) | 3693 wget -O external/unowinreg/unowinreg.dll https://www.openoffice.org/tools/unowinreg_prebuild/680/unowinreg.dll]) |
| 3696 fi 3697 if echo "$WITH_MINGWIN" | $EGREP -q "/"; then 3698 if ! test -x "$WITH_MINGWIN"; then MINGWCXX=false; else MINGWCXX=`basename $WITH_MINGWIN`; fi 3699 else 3700 AC_CHECK_TOOL(MINGWCXX, $WITH_MINGWIN, false) 3701 fi 3702 if test "$MINGWCXX" = "false"; then 3703 AC_MSG_ERROR(specified MinGW32 C++ cross-compiler not found. Install it or correct name.) --- 268 unchanged lines hidden (view full) --- 3972 3973dnl =================================================================== 3974dnl Check for system python 3975dnl =================================================================== 3976AC_MSG_CHECKING([which python to use]) 3977if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then 3978 with_system_python=yes 3979 | 3694 fi 3695 if echo "$WITH_MINGWIN" | $EGREP -q "/"; then 3696 if ! test -x "$WITH_MINGWIN"; then MINGWCXX=false; else MINGWCXX=`basename $WITH_MINGWIN`; fi 3697 else 3698 AC_CHECK_TOOL(MINGWCXX, $WITH_MINGWIN, false) 3699 fi 3700 if test "$MINGWCXX" = "false"; then 3701 AC_MSG_ERROR(specified MinGW32 C++ cross-compiler not found. Install it or correct name.) --- 268 unchanged lines hidden (view full) --- 3970 3971dnl =================================================================== 3972dnl Check for system python 3973dnl =================================================================== 3974AC_MSG_CHECKING([which python to use]) 3975if test "$_os" = "Darwin" && test "$with_system_python" != "no"; then 3976 with_system_python=yes 3977 |
| 3980 _python="/Library/Frameworks/Python.framework/Versions/Current/bin/python" | 3978 _python="/Library/Frameworks/Python.framework/Versions/Current/bin/python" |
| 3981 if test ! -f $_python; then 3982 _python="/usr/bin/python" 3983 fi 3984 AC_MSG_RESULT([compiling against system python ($_python)]) 3985 3986 _python_hexversion=`$_python -c "import sys; print(sys.hexversion);"` | 3979 if test ! -f $_python; then 3980 _python="/usr/bin/python" 3981 fi 3982 AC_MSG_RESULT([compiling against system python ($_python)]) 3983 3984 _python_hexversion=`$_python -c "import sys; print(sys.hexversion);"` |
| 3987 | 3985 |
| 3988 dnl hex version of Python 2.7.1 = 34013680 3989 if test $_python_hexversion -ge 34013680 ; then 3990 _python_version=`$_python -c "import sys; print sys.version;" | head -c 3` 3991 AC_MSG_RESULT([compiling against system python (version $_python_version)]) 3992 3993 _python_ver=`$_python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"` | 3986 dnl hex version of Python 2.7.1 = 34013680 3987 if test $_python_hexversion -ge 34013680 ; then 3988 _python_version=`$_python -c "import sys; print sys.version;" | head -c 3` 3989 AC_MSG_RESULT([compiling against system python (version $_python_version)]) 3990 3991 _python_ver=`$_python -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'));"` |
| 3994 | 3992 |
| 3995 if test -d "/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"; then 3996 PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 3997 elif test -d "$MACOSX_SDK_PATH/usr/include/python$_python_ver"; then 3998 PYTHON_CFLAGS="-I$MACOSX_SDK_PATH/usr/include/python$_python_ver" 3999 else 4000 PYTHON_CFLAGS="-I$MACOSX_SDK_PATH/System/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 4001 fi 4002 else --- 46 unchanged lines hidden (view full) --- 4049dnl Check for system lucene 4050dnl =================================================================== 4051AC_MSG_CHECKING([which lucene to use]) 4052if test -n "$with_system_lucene" -o -n "$with_system_libs" && \ 4053 test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then 4054 AC_MSG_RESULT([external]) 4055 SYSTEM_LUCENE=YES 4056 if test -z $LUCENE_CORE_JAR; then | 3993 if test -d "/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver"; then 3994 PYTHON_CFLAGS="-I/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 3995 elif test -d "$MACOSX_SDK_PATH/usr/include/python$_python_ver"; then 3996 PYTHON_CFLAGS="-I$MACOSX_SDK_PATH/usr/include/python$_python_ver" 3997 else 3998 PYTHON_CFLAGS="-I$MACOSX_SDK_PATH/System/Library/Frameworks/Python.framework/Versions/$_python_ver/include/python$_python_ver" 3999 fi 4000 else --- 46 unchanged lines hidden (view full) --- 4047dnl Check for system lucene 4048dnl =================================================================== 4049AC_MSG_CHECKING([which lucene to use]) 4050if test -n "$with_system_lucene" -o -n "$with_system_libs" && \ 4051 test "$with_system_lucene" != "no" && test "$with_system_jars" != "no"; then 4052 AC_MSG_RESULT([external]) 4053 SYSTEM_LUCENE=YES 4054 if test -z $LUCENE_CORE_JAR; then |
| 4057 AC_CHECK_FILE(/usr/share/java/lucene-core-2.9.4.jar, | 4055 AC_CHECK_FILE(/usr/share/java/lucene-core-2.9.4.jar, |
| 4058 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.9.4.jar ], 4059 [ | 4056 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core-2.9.4.jar ], 4057 [ |
| 4060 AC_CHECK_FILE(/usr/share/java/lucene-core.jar, | 4058 AC_CHECK_FILE(/usr/share/java/lucene-core.jar, |
| 4061 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core.jar ], | 4059 [ LUCENE_CORE_JAR=/usr/share/java/lucene-core.jar ], |
| 4062 [ AC_CHECK_FILE(/usr/share/java/lucene.jar, | 4060 [ AC_CHECK_FILE(/usr/share/java/lucene.jar, |
| 4063 [ LUCENE_CORE_JAR=/usr/share/java/lucene.jar ], 4064 [ AC_MSG_ERROR(lucene-core.jar replacement not found)] 4065 ) 4066 ] 4067 ) 4068 ] 4069 ) 4070 else 4071 AC_CHECK_FILE($LUCENE_CORE_JAR, [], 4072 [AC_MSG_ERROR(lucene-core.jar not found.)], []) 4073 fi 4074 4075 if test -z $LUCENE_ANALYZERS_JAR; then | 4061 [ LUCENE_CORE_JAR=/usr/share/java/lucene.jar ], 4062 [ AC_MSG_ERROR(lucene-core.jar replacement not found)] 4063 ) 4064 ] 4065 ) 4066 ] 4067 ) 4068 else 4069 AC_CHECK_FILE($LUCENE_CORE_JAR, [], 4070 [AC_MSG_ERROR(lucene-core.jar not found.)], []) 4071 fi 4072 4073 if test -z $LUCENE_ANALYZERS_JAR; then |
| 4076 AC_CHECK_FILE(/usr/share/java/lucene-analyzers-2.3.jar, | 4074 AC_CHECK_FILE(/usr/share/java/lucene-analyzers-2.3.jar, |
| 4077 [ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers-2.3.jar ], 4078 [ | 4075 [ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-analyzers-2.3.jar ], 4076 [ |
| 4079 AC_CHECK_FILE(/usr/share/java/lucene-contrib/lucene-analyzers.jar, | 4077 AC_CHECK_FILE(/usr/share/java/lucene-contrib/lucene-analyzers.jar, |
| 4080 [ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar ], 4081 [ AC_MSG_ERROR(lucene-analyzers.jar replacement not found.)] 4082 ) 4083 ] 4084 ) 4085 else 4086 AC_CHECK_FILE($LUCENE_CORE_JAR, [], 4087 [ AC_MSG_ERROR(lucene-analyzers.jar not found.)], []) --- 64 unchanged lines hidden (view full) --- 4152 test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then 4153 AC_MSG_RESULT([external MySQL]) 4154 SYSTEM_MYSQL=YES 4155 AC_PATH_PROG( MYSQLCONFIG, mysql_config) 4156 AC_MSG_CHECKING([MySQL version]) 4157 if test -z "$MYSQLCONFIG" -o ! -x "$MYSQLCONFIG" ; then 4158 AC_MSG_ERROR([can not find/execute mysql_config]); 4159 fi | 4078 [ LUCENE_ANALYZERS_JAR=/usr/share/java/lucene-contrib/lucene-analyzers.jar ], 4079 [ AC_MSG_ERROR(lucene-analyzers.jar replacement not found.)] 4080 ) 4081 ] 4082 ) 4083 else 4084 AC_CHECK_FILE($LUCENE_CORE_JAR, [], 4085 [ AC_MSG_ERROR(lucene-analyzers.jar not found.)], []) --- 64 unchanged lines hidden (view full) --- 4150 test "$with_system_mysql" != "no" && test "$with_system_libs" != "no"; then 4151 AC_MSG_RESULT([external MySQL]) 4152 SYSTEM_MYSQL=YES 4153 AC_PATH_PROG( MYSQLCONFIG, mysql_config) 4154 AC_MSG_CHECKING([MySQL version]) 4155 if test -z "$MYSQLCONFIG" -o ! -x "$MYSQLCONFIG" ; then 4156 AC_MSG_ERROR([can not find/execute mysql_config]); 4157 fi |
| 4160 MYSQL_VERSION=`$MYSQLCONFIG --version` | 4158 MYSQL_VERSION=`$MYSQLCONFIG --version` |
| 4161 MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1` 4162 if test "$MYSQL_MAJOR" -ge "5"; then 4163 AC_MSG_RESULT([OK]) 4164 else 4165 AC_MSG_ERROR([too old, use 5.0.x or 5.1.x]) 4166 fi 4167 AC_MSG_CHECKING([for MySQL Client library]) | 4159 MYSQL_MAJOR=`$MYSQLCONFIG --version | cut -d"." -f1` 4160 if test "$MYSQL_MAJOR" -ge "5"; then 4161 AC_MSG_RESULT([OK]) 4162 else 4163 AC_MSG_ERROR([too old, use 5.0.x or 5.1.x]) 4164 fi 4165 AC_MSG_CHECKING([for MySQL Client library]) |
| 4168 MYSQL_INC=`$MYSQLCONFIG --include` | 4166 MYSQL_INC=`$MYSQLCONFIG --include` |
| 4169 MYSQL_LIB=`$MYSQLCONFIG --libs` 4170 MYSQL_DEFINES=`$MYSQLCONFIG --cflags | sed -e s,$MYSQL_INC,,` 4171 AC_MSG_RESULT([includes $MYSQL_INC, libraries $MYSQL_LIB]) 4172else 4173 SYSTEM_MYSQL=NO 4174 if test -n "$with_libmysql_path"; then 4175 AC_MSG_RESULT([external Connector/C (libmysql)]) 4176 LIBMYSQL=libmysql.so --- 39 unchanged lines hidden (view full) --- 4216 AC_TRY_RUN([ 4217#include <mysql_driver.h> 4218 4219int main(int argc, char **argv) { 4220 sql::Driver *driver; 4221 driver = get_driver_instance(); 4222 if (driver->getMajorVersion() > 1 || \ 4223 (driver->getMajorVersion() == 1 && driver->getMinorVersion() > 0) || \ | 4167 MYSQL_LIB=`$MYSQLCONFIG --libs` 4168 MYSQL_DEFINES=`$MYSQLCONFIG --cflags | sed -e s,$MYSQL_INC,,` 4169 AC_MSG_RESULT([includes $MYSQL_INC, libraries $MYSQL_LIB]) 4170else 4171 SYSTEM_MYSQL=NO 4172 if test -n "$with_libmysql_path"; then 4173 AC_MSG_RESULT([external Connector/C (libmysql)]) 4174 LIBMYSQL=libmysql.so --- 39 unchanged lines hidden (view full) --- 4214 AC_TRY_RUN([ 4215#include <mysql_driver.h> 4216 4217int main(int argc, char **argv) { 4218 sql::Driver *driver; 4219 driver = get_driver_instance(); 4220 if (driver->getMajorVersion() > 1 || \ 4221 (driver->getMajorVersion() == 1 && driver->getMinorVersion() > 0) || \ |
| 4224 (driver->getMajorVersion() == 1 && driver->getMinorVersion() == 0 && driver->getPatchVersion() >= 6)) | 4222 (driver->getMajorVersion() == 1 && driver->getMinorVersion() == 0 && driver->getPatchVersion() >= 6)) |
| 4225 return 0; 4226 else 4227 return 1; 4228} 4229 ], [AC_MSG_RESULT(OK)], [AC_MSG_ERROR([not suitable, we need >= 1.0.6])]) 4230 AC_LANG_POP([C++]) 4231 4232else --- 76 unchanged lines hidden (view full) --- 4309 ENABLE_BEANSHELL=NO 4310fi 4311AC_SUBST(SYSTEM_BSH) 4312AC_SUBST(BSH_JAR) 4313AC_SUBST(ENABLE_BEANSHELL) 4314 4315 4316dnl =================================================================== | 4223 return 0; 4224 else 4225 return 1; 4226} 4227 ], [AC_MSG_RESULT(OK)], [AC_MSG_ERROR([not suitable, we need >= 1.0.6])]) 4228 AC_LANG_POP([C++]) 4229 4230else --- 76 unchanged lines hidden (view full) --- 4307 ENABLE_BEANSHELL=NO 4308fi 4309AC_SUBST(SYSTEM_BSH) 4310AC_SUBST(BSH_JAR) 4311AC_SUBST(ENABLE_BEANSHELL) 4312 4313 4314dnl =================================================================== |
| 4317dnl Check for saxon. It can come from two different places: 4318dnl - pre-installed on the system. This is checked when the --with-system-saxon | 4315dnl Check for saxon. It can come from two different places: 4316dnl - pre-installed on the system. This is checked when the --with-system-saxon |
| 4319dnl option is given to configure. 4320dnl The exact place can be specified with the --with-saxon-jar=<path> option. | 4317dnl option is given to configure. 4318dnl The exact place can be specified with the --with-saxon-jar=<path> option. |
| 4321dnl - From the saxon tar ball in ext_sources/. This is used when --enable-saxon | 4319dnl - From the saxon tar ball in ext_sources/. This is used when --enable-saxon |
| 4322dnl is given to configure but not any of --with-system-saxon or --with-saxon-jar. 4323dnl =================================================================== 4324DISABLE_SAXON= 4325AC_MSG_CHECKING([which saxon to use]) 4326if test -n "$with_system_saxon" -o -n "$with_system_libs" && \ 4327 test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then 4328 AC_MSG_RESULT([external]) 4329 SYSTEM_SAXON=YES 4330 if test -z $SAXON_JAR; then | 4320dnl is given to configure but not any of --with-system-saxon or --with-saxon-jar. 4321dnl =================================================================== 4322DISABLE_SAXON= 4323AC_MSG_CHECKING([which saxon to use]) 4324if test -n "$with_system_saxon" -o -n "$with_system_libs" && \ 4325 test "$with_system_saxon" != "no" && test "$with_system_jars" != "no"; then 4326 AC_MSG_RESULT([external]) 4327 SYSTEM_SAXON=YES 4328 if test -z $SAXON_JAR; then |
| 4331 AC_CHECK_FILE(/usr/share/java/saxon9.jar, | 4329 AC_CHECK_FILE(/usr/share/java/saxon9.jar, |
| 4332 [ SAXON_JAR=/usr/share/java/saxon9.jar ], 4333 [ | 4330 [ SAXON_JAR=/usr/share/java/saxon9.jar ], 4331 [ |
| 4334 AC_CHECK_FILE(/usr/share/java/saxon.jar, | 4332 AC_CHECK_FILE(/usr/share/java/saxon.jar, |
| 4335 [ SAXON_JAR=/usr/share/java/saxon.jar ], 4336 [ AC_CHECK_FILE(/usr/share/java/saxon9.jar, 4337 [ SAXON_JAR=/usr/share/java/saxon9.jar ], 4338 [ AC_MSG_ERROR(saxon.jar replacement not found)] 4339 ) 4340 ] 4341 ) 4342 ] --- 218 unchanged lines hidden (view full) --- 4561 if test -z "$CURLCONFIG"; then 4562 AC_MSG_ERROR([install curl to run this script]) 4563 fi 4564 4565 # check curl version 4566 AC_MSG_CHECKING([whether curl is >= 7.13.1]) 4567 if test "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $1 }'`" -gt "7" -a \ 4568 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $2 }'`" -gt "13" -a \ | 4333 [ SAXON_JAR=/usr/share/java/saxon.jar ], 4334 [ AC_CHECK_FILE(/usr/share/java/saxon9.jar, 4335 [ SAXON_JAR=/usr/share/java/saxon9.jar ], 4336 [ AC_MSG_ERROR(saxon.jar replacement not found)] 4337 ) 4338 ] 4339 ) 4340 ] --- 218 unchanged lines hidden (view full) --- 4559 if test -z "$CURLCONFIG"; then 4560 AC_MSG_ERROR([install curl to run this script]) 4561 fi 4562 4563 # check curl version 4564 AC_MSG_CHECKING([whether curl is >= 7.13.1]) 4565 if test "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $1 }'`" -gt "7" -a \ 4566 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $2 }'`" -gt "13" -a \ |
| 4569 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $3 }'`" -gt "1"; then | 4567 "`$CURLCONFIG --version | $AWK -F' ' '{print $2}' | $AWK -F. '{ print $3 }'`" -gt "1"; then |
| 4570 AC_MSG_ERROR([no, you need at least curl 7.13,1]) 4571 else 4572 AC_MSG_RESULT([yes]) 4573 fi 4574 CURL_LIBS=`$CURLCONFIG --libs` 4575 CURL_CFLAGS=`$CURLCONFIG --cflags` 4576else 4577 AC_MSG_RESULT([internal]) --- 146 unchanged lines hidden (view full) --- 4724 if test "$_os" = "WINNT"; then 4725 AC_MSG_CHECKING([for Mozilla build tooling]) 4726 if test -z "$MOZILLABUILD" ; then 4727AC_MSG_ERROR([ 4728Mozilla build tooling not found! 4729 It is required for NSS that is needed for AOO's security facilities. 4730 Either disable NSS using the option --disable-nss-module 4731 or use the --with-mozilla-build option after installing the tool obtained | 4568 AC_MSG_ERROR([no, you need at least curl 7.13,1]) 4569 else 4570 AC_MSG_RESULT([yes]) 4571 fi 4572 CURL_LIBS=`$CURLCONFIG --libs` 4573 CURL_CFLAGS=`$CURLCONFIG --cflags` 4574else 4575 AC_MSG_RESULT([internal]) --- 146 unchanged lines hidden (view full) --- 4722 if test "$_os" = "WINNT"; then 4723 AC_MSG_CHECKING([for Mozilla build tooling]) 4724 if test -z "$MOZILLABUILD" ; then 4725AC_MSG_ERROR([ 4726Mozilla build tooling not found! 4727 It is required for NSS that is needed for AOO's security facilities. 4728 Either disable NSS using the option --disable-nss-module 4729 or use the --with-mozilla-build option after installing the tool obtained |
| 4732 from http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/]) | 4730 from https://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/]) |
| 4733 else 4734 if test \( "$WITH_MINGWIN" = "yes" \) ; then 4735 if test ! -d "$MOZILLABUILD" ; then 4736AC_MSG_ERROR([Mozilla build tooling incomplete!]) 4737 else 4738 AC_MSG_RESULT([ok]) 4739 fi 4740 else --- 199 unchanged lines hidden (view full) --- 4940 fi 4941else 4942 XLIB="$x_libraries" 4943fi 4944AC_SUBST(XLIB) 4945AC_SUBST(XAU_LIBS) 4946 4947dnl =================================================================== | 4731 else 4732 if test \( "$WITH_MINGWIN" = "yes" \) ; then 4733 if test ! -d "$MOZILLABUILD" ; then 4734AC_MSG_ERROR([Mozilla build tooling incomplete!]) 4735 else 4736 AC_MSG_RESULT([ok]) 4737 fi 4738 else --- 199 unchanged lines hidden (view full) --- 4938 fi 4939else 4940 XLIB="$x_libraries" 4941fi 4942AC_SUBST(XLIB) 4943AC_SUBST(XAU_LIBS) 4944 4945dnl =================================================================== |
| 4948dnl Check if fontconfig/fontconfig.h is available | 4946dnl Check if fontconfig/fontconfig.h is available |
| 4949dnl =================================================================== 4950if test "$ENABLE_FONTCONFIG" = "TRUE" ; then 4951 AC_CHECK_HEADER(fontconfig/fontconfig.h, [], 4952 [AC_MSG_ERROR([fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?])], []) 4953 AC_MSG_CHECKING([whether fontconfig is >= 2.2.0]) 4954 AC_TRY_RUN([ 4955#include <fontconfig/fontconfig.h> 4956 --- 475 unchanged lines hidden (view full) --- 5432 AC_MSG_NOTICE([testing ATL/MFC libs and includes]) 5433 if test -z "$with_atl_include_dir"; then 5434 ATL_INCLUDE=$COMPATH/atlmfc/include 5435 else 5436 ATL_INCLUDE=`cygpath -u "$with_atl_include_dir"` 5437 fi 5438 if test -z "$with_atl_lib_dir"; then 5439 ATL_LIB=$COMPATH/atlmfc/lib | 4947dnl =================================================================== 4948if test "$ENABLE_FONTCONFIG" = "TRUE" ; then 4949 AC_CHECK_HEADER(fontconfig/fontconfig.h, [], 4950 [AC_MSG_ERROR([fontconfig/fontconfig.h could not be found. libfontconfig1-dev or fontconfig???-devel missing?])], []) 4951 AC_MSG_CHECKING([whether fontconfig is >= 2.2.0]) 4952 AC_TRY_RUN([ 4953#include <fontconfig/fontconfig.h> 4954 --- 475 unchanged lines hidden (view full) --- 5430 AC_MSG_NOTICE([testing ATL/MFC libs and includes]) 5431 if test -z "$with_atl_include_dir"; then 5432 ATL_INCLUDE=$COMPATH/atlmfc/include 5433 else 5434 ATL_INCLUDE=`cygpath -u "$with_atl_include_dir"` 5435 fi 5436 if test -z "$with_atl_lib_dir"; then 5437 ATL_LIB=$COMPATH/atlmfc/lib |
| 5440 ATL_LIB_X64=$COMPATH/atlmfc/lib/amd64 | 5438 ATL_LIB_X64=$COMPATH/atlmfc/lib/amd64 |
| 5441 else 5442 ATL_LIB=`cygpath -u "$with_atl_lib_dir"` 5443 ATL_LIB_X64=$ATL_LIB/../amd64 5444 fi 5445 if test -z "$with_mfc_include_dir"; then 5446 MFC_INCLUDE=$COMPATH/atlmfc/include 5447 else 5448 MFC_INCLUDE=`cygpath -u "$with_mfc_include_dir"` --- 254 unchanged lines hidden (view full) --- 5703 fi 5704 fi 5705 AC_MSG_RESULT([$ASM_HOME]) 5706else 5707 with_asm_home="NO_ASM_HOME" 5708fi 5709ASM_HOME="$with_asm_home" 5710AC_SUBST(ASM_HOME) | 5439 else 5440 ATL_LIB=`cygpath -u "$with_atl_lib_dir"` 5441 ATL_LIB_X64=$ATL_LIB/../amd64 5442 fi 5443 if test -z "$with_mfc_include_dir"; then 5444 MFC_INCLUDE=$COMPATH/atlmfc/include 5445 else 5446 MFC_INCLUDE=`cygpath -u "$with_mfc_include_dir"` --- 254 unchanged lines hidden (view full) --- 5701 fi 5702 fi 5703 AC_MSG_RESULT([$ASM_HOME]) 5704else 5705 with_asm_home="NO_ASM_HOME" 5706fi 5707ASM_HOME="$with_asm_home" 5708AC_SUBST(ASM_HOME) |
| 5711 | 5709 |
| 5712dnl *************************************** 5713dnl testing nasm.exe assembler path 5714dnl *************************************** 5715if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes" -a "$SYSTEM_OPENSSL" = "NO"; then 5716 AC_MSG_CHECKING([nasm.exe assembler path]) 5717 if test -n "$with_nasm_home"; then 5718 with_nasm_home=`cygpath -u "$with_nasm_home"` 5719 fi --- 6 unchanged lines hidden (view full) --- 5726 fi 5727 fi 5728 AC_MSG_RESULT([$NASM_HOME]) 5729else 5730 with_nasm_home="NO_NASM_HOME" 5731fi 5732NASM_HOME="$with_nasm_home" 5733AC_SUBST(NASM_HOME) | 5710dnl *************************************** 5711dnl testing nasm.exe assembler path 5712dnl *************************************** 5713if test "$_os" = "WINNT" -a "$WITH_MINGWIN" != "yes" -a "$SYSTEM_OPENSSL" = "NO"; then 5714 AC_MSG_CHECKING([nasm.exe assembler path]) 5715 if test -n "$with_nasm_home"; then 5716 with_nasm_home=`cygpath -u "$with_nasm_home"` 5717 fi --- 6 unchanged lines hidden (view full) --- 5724 fi 5725 fi 5726 AC_MSG_RESULT([$NASM_HOME]) 5727else 5728 with_nasm_home="NO_NASM_HOME" 5729fi 5730NASM_HOME="$with_nasm_home" 5731AC_SUBST(NASM_HOME) |
| 5734 | 5732 |
| 5735dnl =================================================================== 5736dnl testing handle deprecated unzip switch 5737dnl =================================================================== 5738if test -z "$with_zip_home"; then 5739 with_zip_home="$with_unzip_home" 5740fi 5741dnl =================================================================== 5742dnl Zip will be found where you tell me to find it --- 37 unchanged lines hidden (view full) --- 5780 AC_MSG_CHECKING([for dbghelp.dll]) 5781 if test -x ./external/dbghelp/dbghelp.dll; then 5782 AC_MSG_RESULT([found and executable]) 5783 else 5784 AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/. 5785Get it from the Microsoft site and put it into external/dbghelp. 5786(Note: Microsoft seems to enjoy changing the exact location of this file. You 5787may have to search Microsoft's website.) Last time it was seen at: | 5733dnl =================================================================== 5734dnl testing handle deprecated unzip switch 5735dnl =================================================================== 5736if test -z "$with_zip_home"; then 5737 with_zip_home="$with_unzip_home" 5738fi 5739dnl =================================================================== 5740dnl Zip will be found where you tell me to find it --- 37 unchanged lines hidden (view full) --- 5778 AC_MSG_CHECKING([for dbghelp.dll]) 5779 if test -x ./external/dbghelp/dbghelp.dll; then 5780 AC_MSG_RESULT([found and executable]) 5781 else 5782 AC_MSG_ERROR([dbghelp.dll is missing in external/dbghelp/. 5783Get it from the Microsoft site and put it into external/dbghelp. 5784(Note: Microsoft seems to enjoy changing the exact location of this file. You 5785may have to search Microsoft's website.) Last time it was seen at: |
| 5788<http://www.microsoft.com/downloads/release.asp?releaseid=30682>.]) | 5786<https://www.microsoft.com/downloads/release.asp?releaseid=30682>.]) |
| 5789 fi 5790fi 5791 5792dnl =================================================================== 5793dnl Windows builds need vcredist_x*.exe in external/vcredist/ 5794dnl =================================================================== 5795WITH_VC_REDIST="" 5796 5797if test "$_os" = "WINNT"; then 5798 AC_MSG_CHECKING([for vcredist_x86.exe]) 5799 if test -x ./external/vcredist/vcredist_x86.exe; then 5800 AC_MSG_RESULT([found and executable]) 5801 else 5802 AC_MSG_ERROR([ vcredist_x86.exe is missing in external/vcredist/. | 5787 fi 5788fi 5789 5790dnl =================================================================== 5791dnl Windows builds need vcredist_x*.exe in external/vcredist/ 5792dnl =================================================================== 5793WITH_VC_REDIST="" 5794 5795if test "$_os" = "WINNT"; then 5796 AC_MSG_CHECKING([for vcredist_x86.exe]) 5797 if test -x ./external/vcredist/vcredist_x86.exe; then 5798 AC_MSG_RESULT([found and executable]) 5799 else 5800 AC_MSG_ERROR([ vcredist_x86.exe is missing in external/vcredist/. |
| 5803Get it from the Microsoft site and put it into external/vcredist. You can try 5804to download it from http://www.microsoft.com/download/en/search.aspx?q=redistributable%20package.]) | 5801Get it from the Microsoft site and put it into external/vcredist. You can try 5802to download it from https://www.microsoft.com/download/en/search.aspx?q=redistributable%20package.]) |
| 5805 fi 5806 AC_MSG_CHECKING([for vcredist_x64.exe]) 5807 if test -x ./external/vcredist/vcredist_x64.exe; then 5808 AC_MSG_RESULT([found and executable]) 5809 else 5810 AC_MSG_ERROR([ vcredist_x64.exe is missing in external/vcredist/. | 5803 fi 5804 AC_MSG_CHECKING([for vcredist_x64.exe]) 5805 if test -x ./external/vcredist/vcredist_x64.exe; then 5806 AC_MSG_RESULT([found and executable]) 5807 else 5808 AC_MSG_ERROR([ vcredist_x64.exe is missing in external/vcredist/. |
| 5811Get it from the Microsoft site and put it into external/vcredist. You can try 5812to download it from http://www.microsoft.com/download/en/search.aspx?q=redistributable%20package.]) | 5809Get it from the Microsoft site and put it into external/vcredist. You can try 5810to download it from https://www.microsoft.com/download/en/search.aspx?q=redistributable%20package.]) |
| 5813 fi 5814 WITH_VC_REDIST=YES 5815 AC_SUBST(WITH_VC_REDIST) 5816fi 5817 5818dnl =================================================================== 5819dnl Windows builds - use oowintool to copy CRT dlls and manifest 5820dnl =================================================================== --- 11 unchanged lines hidden (view full) --- 5832if test "$_os" = "WINNT"; then 5833 AC_MSG_CHECKING([for gdiplus.dll]) 5834 if test -x ./external/gdiplus/gdiplus.dll; then 5835 AC_MSG_RESULT([found and executable]) 5836 else 5837 AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/. 5838Get it from the Microsoft site and put it into external/gdiplus. 5839You may have to search Microsoft's website. Last time it was seen at: | 5811 fi 5812 WITH_VC_REDIST=YES 5813 AC_SUBST(WITH_VC_REDIST) 5814fi 5815 5816dnl =================================================================== 5817dnl Windows builds - use oowintool to copy CRT dlls and manifest 5818dnl =================================================================== --- 11 unchanged lines hidden (view full) --- 5830if test "$_os" = "WINNT"; then 5831 AC_MSG_CHECKING([for gdiplus.dll]) 5832 if test -x ./external/gdiplus/gdiplus.dll; then 5833 AC_MSG_RESULT([found and executable]) 5834 else 5835 AC_MSG_ERROR([gdiplus.dll is missing in external/gdiplus/. 5836Get it from the Microsoft site and put it into external/gdiplus. 5837You may have to search Microsoft's website. Last time it was seen at: |
| 5840<http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.]) | 5838<https://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en>.]) |
| 5841 fi 5842fi 5843 5844dnl =================================================================== 5845dnl Windows builds need msvcr100.dll in external/msvcp100/ 5846dnl =================================================================== 5847if test "$_os" = "WINNT"; then 5848 AC_MSG_CHECKING([for msvcr100.dll]) 5849 if test -x ./external/msvcp100/msvcr100.dll; then 5850 AC_MSG_RESULT([found and executable]) 5851 else 5852 AC_MSG_ERROR([msvcr100.dll is missing in external/msvcp100/. 5853Get it from the Microsoft Visual C++ 2010 Redistributable Package (x86), 5854from the Microsoft site and put it into external/msvcp100. 5855You may have to search Microsoft's website. Last time it was seen at: | 5839 fi 5840fi 5841 5842dnl =================================================================== 5843dnl Windows builds need msvcr100.dll in external/msvcp100/ 5844dnl =================================================================== 5845if test "$_os" = "WINNT"; then 5846 AC_MSG_CHECKING([for msvcr100.dll]) 5847 if test -x ./external/msvcp100/msvcr100.dll; then 5848 AC_MSG_RESULT([found and executable]) 5849 else 5850 AC_MSG_ERROR([msvcr100.dll is missing in external/msvcp100/. 5851Get it from the Microsoft Visual C++ 2010 Redistributable Package (x86), 5852from the Microsoft site and put it into external/msvcp100. 5853You may have to search Microsoft's website. Last time it was seen at: |
| 5856<http://www.microsoft.com/en-us/download/search.aspx?q=Microsoft+Visual+C%2b%2b+2010+Redistributable>.]) | 5854<https://www.microsoft.com/en-us/download/search.aspx?q=Microsoft+Visual+C%2b%2b+2010+Redistributable>.]) |
| 5857 fi 5858fi 5859 5860dnl =================================================================== 5861dnl Test which vclplugs have to be built. 5862dnl =================================================================== 5863AC_MSG_CHECKING([which VCLplugs shall be built]) 5864ENABLE_GTK="" --- 165 unchanged lines hidden (view full) --- 6030 if test "x$enable_cairo" != "xno" ; then 6031 ENABLE_CAIRO="TRUE" 6032 AC_MSG_RESULT([yes]) 6033 AC_MSG_CHECKING([which cairo to use]) 6034 if test -n "$with_system_cairo" -o -n "$with_system_libs" && \ 6035 test "$with_system_cairo" != "no"; then 6036 AC_MSG_RESULT([external]) 6037 SYSTEM_CAIRO=YES | 5855 fi 5856fi 5857 5858dnl =================================================================== 5859dnl Test which vclplugs have to be built. 5860dnl =================================================================== 5861AC_MSG_CHECKING([which VCLplugs shall be built]) 5862ENABLE_GTK="" --- 165 unchanged lines hidden (view full) --- 6028 if test "x$enable_cairo" != "xno" ; then 6029 ENABLE_CAIRO="TRUE" 6030 AC_MSG_RESULT([yes]) 6031 AC_MSG_CHECKING([which cairo to use]) 6032 if test -n "$with_system_cairo" -o -n "$with_system_libs" && \ 6033 test "$with_system_cairo" != "no"; then 6034 AC_MSG_RESULT([external]) 6035 SYSTEM_CAIRO=YES |
| 6038 | 6036 |
| 6039 PKG_CHECK_MODULES( CAIRO, cairo >= 1.0.2 ) 6040 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$ENABLE_FONTCONFIG" != "TRUE" ; then 6041 AC_MSG_ERROR([Cairo library requires fontconfig.]) 6042 fi 6043 if test "$with_system_xrender_headers" = "yes"; then 6044 AC_MSG_CHECKING([whether Xrender.h defines PictStandardA8]) 6045 AC_TRY_RUN([ 6046#include <X11/extensions/Xrender.h> --- 8 unchanged lines hidden (view full) --- 6055 ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([no, X headers too old.])]) 6056 fi 6057 else 6058 BUILD_TYPE="$BUILD_TYPE CAIRO" 6059 dnl === compiler fails on pixman with 64bit architectures...=== 6060 if test "$build_cpu" != "x86_64"; then 6061 BUILD_PIXMAN=YES 6062 fi | 6037 PKG_CHECK_MODULES( CAIRO, cairo >= 1.0.2 ) 6038 if test "$_os" != "WINNT" -a "$_os" != "Darwin" -a "$ENABLE_FONTCONFIG" != "TRUE" ; then 6039 AC_MSG_ERROR([Cairo library requires fontconfig.]) 6040 fi 6041 if test "$with_system_xrender_headers" = "yes"; then 6042 AC_MSG_CHECKING([whether Xrender.h defines PictStandardA8]) 6043 AC_TRY_RUN([ 6044#include <X11/extensions/Xrender.h> --- 8 unchanged lines hidden (view full) --- 6053 ], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([no, X headers too old.])]) 6054 fi 6055 else 6056 BUILD_TYPE="$BUILD_TYPE CAIRO" 6057 dnl === compiler fails on pixman with 64bit architectures...=== 6058 if test "$build_cpu" != "x86_64"; then 6059 BUILD_PIXMAN=YES 6060 fi |
| 6063 AC_MSG_RESULT([internal]) | 6061 AC_MSG_RESULT([internal]) |
| 6064 fi 6065 else 6066 AC_MSG_RESULT([no]) 6067 fi 6068fi 6069 6070AC_SUBST(ENABLE_CAIRO) 6071AC_SUBST(BUILD_PIXMAN) --- 54 unchanged lines hidden (view full) --- 6126 ENABLE_PDFIMPORT=NO 6127fi 6128AC_SUBST(ENABLE_PDFIMPORT) 6129AC_SUBST(SYSTEM_POPPLER) 6130AC_SUBST(POPPLER_CFLAGS) 6131AC_SUBST(POPPLER_LIBS) 6132 6133AC_MSG_CHECKING([whether to build the Wiki Publisher extension]) | 6062 fi 6063 else 6064 AC_MSG_RESULT([no]) 6065 fi 6066fi 6067 6068AC_SUBST(ENABLE_CAIRO) 6069AC_SUBST(BUILD_PIXMAN) --- 54 unchanged lines hidden (view full) --- 6124 ENABLE_PDFIMPORT=NO 6125fi 6126AC_SUBST(ENABLE_PDFIMPORT) 6127AC_SUBST(SYSTEM_POPPLER) 6128AC_SUBST(POPPLER_CFLAGS) 6129AC_SUBST(POPPLER_LIBS) 6130 6131AC_MSG_CHECKING([whether to build the Wiki Publisher extension]) |
| 6134if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test "$WITH_JAVA" != "no"; then | 6132if test -n "$enable_wiki_publisher" -a "$enable_wiki_publisher" != "no" && test "$WITH_JAVA" != "no"; then |
| 6135 AC_MSG_RESULT([yes]) 6136 AC_MSG_CHECKING([for swext module]) 6137 if test -d ./swext; then 6138 AC_MSG_RESULT([OK]) 6139 else 6140 AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)]) 6141 fi 6142 ENABLE_MEDIAWIKI=YES --- 38 unchanged lines hidden (view full) --- 6181 AC_MSG_RESULT([external]) 6182 if test -z $SAC_JAR; then 6183 SAC_JAR=/usr/share/java/sac.jar 6184 fi 6185 AC_CHECK_FILE($SAC_JAR, [], 6186 [AC_MSG_ERROR(sac.jar not found.)], []) 6187 6188 if test -z $LIBXML_JAR; then | 6133 AC_MSG_RESULT([yes]) 6134 AC_MSG_CHECKING([for swext module]) 6135 if test -d ./swext; then 6136 AC_MSG_RESULT([OK]) 6137 else 6138 AC_MSG_ERROR([not existing. get it (did you get the -extensions tarball?)]) 6139 fi 6140 ENABLE_MEDIAWIKI=YES --- 38 unchanged lines hidden (view full) --- 6179 AC_MSG_RESULT([external]) 6180 if test -z $SAC_JAR; then 6181 SAC_JAR=/usr/share/java/sac.jar 6182 fi 6183 AC_CHECK_FILE($SAC_JAR, [], 6184 [AC_MSG_ERROR(sac.jar not found.)], []) 6185 6186 if test -z $LIBXML_JAR; then |
| 6189 AC_CHECK_FILE(/usr/share/java/libxml-1.0.0.jar, | 6187 AC_CHECK_FILE(/usr/share/java/libxml-1.0.0.jar, |
| 6190 [ LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar ], 6191 [ | 6188 [ LIBXML_JAR=/usr/share/java/libxml-1.0.0.jar ], 6189 [ |
| 6192 AC_CHECK_FILE(/usr/share/java/libxml.jar, | 6190 AC_CHECK_FILE(/usr/share/java/libxml.jar, |
| 6193 [ LIBXML_JAR=/usr/share/java/libxml.jar ], 6194 [AC_MSG_ERROR(libxml.jar replacement not found.)] 6195 ) 6196 ] 6197 ) 6198 else 6199 AC_CHECK_FILE($LIBXML_JAR, [], 6200 [AC_MSG_ERROR(libxml.jar not found.)], []) 6201 fi 6202 6203 if test -z $FLUTE_JAR; then | 6191 [ LIBXML_JAR=/usr/share/java/libxml.jar ], 6192 [AC_MSG_ERROR(libxml.jar replacement not found.)] 6193 ) 6194 ] 6195 ) 6196 else 6197 AC_CHECK_FILE($LIBXML_JAR, [], 6198 [AC_MSG_ERROR(libxml.jar not found.)], []) 6199 fi 6200 6201 if test -z $FLUTE_JAR; then |
| 6204 AC_CHECK_FILE(/usr/share/java/flute-1.3.0.jar, | 6202 AC_CHECK_FILE(/usr/share/java/flute-1.3.0.jar, |
| 6205 [ FLUTE_JAR=/usr/share/java/flute-1.3.0.jar ], 6206 [ | 6203 [ FLUTE_JAR=/usr/share/java/flute-1.3.0.jar ], 6204 [ |
| 6207 AC_CHECK_FILE(/usr/share/java/flute.jar, | 6205 AC_CHECK_FILE(/usr/share/java/flute.jar, |
| 6208 [ FLUTE_JAR=/usr/share/java/flute.jar ], 6209 [ AC_MSG_ERROR(flute-1.3.0.jar replacement not found.)] 6210 ) 6211 ] 6212 ) 6213 else 6214 AC_CHECK_FILE($FLUTE_JAR, [], 6215 [AC_MSG_ERROR(flute-1.3.0.jar not found.)], []) 6216 fi 6217 6218 if test -z $JFREEREPORT_JAR; then | 6206 [ FLUTE_JAR=/usr/share/java/flute.jar ], 6207 [ AC_MSG_ERROR(flute-1.3.0.jar replacement not found.)] 6208 ) 6209 ] 6210 ) 6211 else 6212 AC_CHECK_FILE($FLUTE_JAR, [], 6213 [AC_MSG_ERROR(flute-1.3.0.jar not found.)], []) 6214 fi 6215 6216 if test -z $JFREEREPORT_JAR; then |
| 6219 AC_CHECK_FILE(/usr/share/java/flow-engine-0.9.2.jar, | 6217 AC_CHECK_FILE(/usr/share/java/flow-engine-0.9.2.jar, |
| 6220 [ JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar ], 6221 [ | 6218 [ JFREEREPORT_JAR=/usr/share/java/flow-engine-0.9.2.jar ], 6219 [ |
| 6222 AC_CHECK_FILE(/usr/share/java/flow-engine.jar, | 6220 AC_CHECK_FILE(/usr/share/java/flow-engine.jar, |
| 6223 [ JFREEREPORT_JAR=/usr/share/java/flow-engine.jar ], 6224 [AC_MSG_ERROR(jfreereport.jar replacement not found.)] 6225 ) 6226 ] 6227 ) 6228 else 6229 AC_CHECK_FILE($JFREEREPORT_JAR, [], 6230 [AC_MSG_ERROR(jfreereport.jar not found.)], []) 6231 fi 6232 6233 if test -z $LIBLAYOUT_JAR; then | 6221 [ JFREEREPORT_JAR=/usr/share/java/flow-engine.jar ], 6222 [AC_MSG_ERROR(jfreereport.jar replacement not found.)] 6223 ) 6224 ] 6225 ) 6226 else 6227 AC_CHECK_FILE($JFREEREPORT_JAR, [], 6228 [AC_MSG_ERROR(jfreereport.jar not found.)], []) 6229 fi 6230 6231 if test -z $LIBLAYOUT_JAR; then |
| 6234 AC_CHECK_FILE(/usr/share/java/liblayout-0.2.9.jar, | 6232 AC_CHECK_FILE(/usr/share/java/liblayout-0.2.9.jar, |
| 6235 [ LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar ], 6236 [ | 6233 [ LIBLAYOUT_JAR=/usr/share/java/liblayout-0.2.9.jar ], 6234 [ |
| 6237 AC_CHECK_FILE(/usr/share/java/liblayout.jar, | 6235 AC_CHECK_FILE(/usr/share/java/liblayout.jar, |
| 6238 [ LIBLAYOUT_JAR=/usr/share/java/liblayout.jar ], 6239 [AC_MSG_ERROR(liblayout.jar replacement not found.)] 6240 ) 6241 ] 6242 ) 6243 else 6244 AC_CHECK_FILE($LIBLAYOUT_JAR, [], 6245 [AC_MSG_ERROR(liblayout.jar not found.)], []) 6246 fi 6247 6248 if test -z $LIBLOADER_JAR; then | 6236 [ LIBLAYOUT_JAR=/usr/share/java/liblayout.jar ], 6237 [AC_MSG_ERROR(liblayout.jar replacement not found.)] 6238 ) 6239 ] 6240 ) 6241 else 6242 AC_CHECK_FILE($LIBLAYOUT_JAR, [], 6243 [AC_MSG_ERROR(liblayout.jar not found.)], []) 6244 fi 6245 6246 if test -z $LIBLOADER_JAR; then |
| 6249 AC_CHECK_FILE(/usr/share/java/libloader-1.0.0.jar, | 6247 AC_CHECK_FILE(/usr/share/java/libloader-1.0.0.jar, |
| 6250 [ LIBLOADER_JAR=/usr/share/java/libloader-1.0.0.jar ], 6251 [ | 6248 [ LIBLOADER_JAR=/usr/share/java/libloader-1.0.0.jar ], 6249 [ |
| 6252 AC_CHECK_FILE(/usr/share/java/libloader.jar, | 6250 AC_CHECK_FILE(/usr/share/java/libloader.jar, |
| 6253 [ LIBLOADER_JAR=/usr/share/java/libloader.jar ], 6254 [AC_MSG_ERROR(libloader.jar replacement not found.)] 6255 ) 6256 ] 6257 ) 6258 else 6259 AC_CHECK_FILE($LIBLOADER_JAR, [], 6260 [AC_MSG_ERROR(libloader.jar not found.)], []) 6261 fi 6262 6263 if test -z $LIBFORMULA_JAR; then | 6251 [ LIBLOADER_JAR=/usr/share/java/libloader.jar ], 6252 [AC_MSG_ERROR(libloader.jar replacement not found.)] 6253 ) 6254 ] 6255 ) 6256 else 6257 AC_CHECK_FILE($LIBLOADER_JAR, [], 6258 [AC_MSG_ERROR(libloader.jar not found.)], []) 6259 fi 6260 6261 if test -z $LIBFORMULA_JAR; then |
| 6264 AC_CHECK_FILE(/usr/share/java/libformula-0.2.0.jar, | 6262 AC_CHECK_FILE(/usr/share/java/libformula-0.2.0.jar, |
| 6265 [ LIBFORMULA_JAR=/usr/share/java/libformula-0.2.0.jar ], 6266 [ | 6263 [ LIBFORMULA_JAR=/usr/share/java/libformula-0.2.0.jar ], 6264 [ |
| 6267 AC_CHECK_FILE(/usr/share/java/libformula.jar, | 6265 AC_CHECK_FILE(/usr/share/java/libformula.jar, |
| 6268 [ LIBFORMULA_JAR=/usr/share/java/libformula.jar ], 6269 [AC_MSG_ERROR(libformula.jar replacement not found.)] 6270 ) 6271 ] 6272 ) 6273 else 6274 AC_CHECK_FILE($LIBFORMULA_JAR, [], 6275 [AC_MSG_ERROR(libformula.jar not found.)], []) 6276 fi 6277 6278 if test -z $LIBREPOSITORY_JAR; then | 6266 [ LIBFORMULA_JAR=/usr/share/java/libformula.jar ], 6267 [AC_MSG_ERROR(libformula.jar replacement not found.)] 6268 ) 6269 ] 6270 ) 6271 else 6272 AC_CHECK_FILE($LIBFORMULA_JAR, [], 6273 [AC_MSG_ERROR(libformula.jar not found.)], []) 6274 fi 6275 6276 if test -z $LIBREPOSITORY_JAR; then |
| 6279 AC_CHECK_FILE(/usr/share/java/librepository-1.0.0.jar, | 6277 AC_CHECK_FILE(/usr/share/java/librepository-1.0.0.jar, |
| 6280 [ LIBREPOSITORY_JAR=/usr/share/java/librepository-1.0.0.jar ], 6281 [ | 6278 [ LIBREPOSITORY_JAR=/usr/share/java/librepository-1.0.0.jar ], 6279 [ |
| 6282 AC_CHECK_FILE(/usr/share/java/librepository.jar, | 6280 AC_CHECK_FILE(/usr/share/java/librepository.jar, |
| 6283 [ LIBREPOSITORY_JAR=/usr/share/java/librepository.jar ], 6284 [AC_MSG_ERROR(librepository.jar replacement not found.)] 6285 ) 6286 ] 6287 ) 6288 else 6289 AC_CHECK_FILE($LIBREPOSITORY_JAR, [], 6290 [AC_MSG_ERROR(librepository.jar not found.)], []) 6291 fi 6292 6293 if test -z $LIBFONTS_JAR; then | 6281 [ LIBREPOSITORY_JAR=/usr/share/java/librepository.jar ], 6282 [AC_MSG_ERROR(librepository.jar replacement not found.)] 6283 ) 6284 ] 6285 ) 6286 else 6287 AC_CHECK_FILE($LIBREPOSITORY_JAR, [], 6288 [AC_MSG_ERROR(librepository.jar not found.)], []) 6289 fi 6290 6291 if test -z $LIBFONTS_JAR; then |
| 6294 AC_CHECK_FILE(/usr/share/java/libfonts-1.0.0.jar, | 6292 AC_CHECK_FILE(/usr/share/java/libfonts-1.0.0.jar, |
| 6295 [ LIBFONTS_JAR=/usr/share/java/libfonts-1.0.0.jar ], 6296 [ | 6293 [ LIBFONTS_JAR=/usr/share/java/libfonts-1.0.0.jar ], 6294 [ |
| 6297 AC_CHECK_FILE(/usr/share/java/libfonts.jar, | 6295 AC_CHECK_FILE(/usr/share/java/libfonts.jar, |
| 6298 [ LIBFONTS_JAR=/usr/share/java/libfonts.jar ], 6299 [AC_MSG_ERROR(libfonts.jar replacement not found.)] 6300 ) 6301 ] 6302 ) 6303 else 6304 AC_CHECK_FILE($LIBFONTS_JAR, [], 6305 [AC_MSG_ERROR(libfonts.jar not found.)], []) 6306 fi 6307 6308 if test -z $LIBSERIALIZER_JAR; then | 6296 [ LIBFONTS_JAR=/usr/share/java/libfonts.jar ], 6297 [AC_MSG_ERROR(libfonts.jar replacement not found.)] 6298 ) 6299 ] 6300 ) 6301 else 6302 AC_CHECK_FILE($LIBFONTS_JAR, [], 6303 [AC_MSG_ERROR(libfonts.jar not found.)], []) 6304 fi 6305 6306 if test -z $LIBSERIALIZER_JAR; then |
| 6309 AC_CHECK_FILE(/usr/share/java/libserializer-1.0.0.jar, | 6307 AC_CHECK_FILE(/usr/share/java/libserializer-1.0.0.jar, |
| 6310 [ LIBSERIALIZER_JAR=/usr/share/java/libserializer-1.0.0.jar ], 6311 [ | 6308 [ LIBSERIALIZER_JAR=/usr/share/java/libserializer-1.0.0.jar ], 6309 [ |
| 6312 AC_CHECK_FILE(/usr/share/java/libserializer.jar, | 6310 AC_CHECK_FILE(/usr/share/java/libserializer.jar, |
| 6313 [ LIBSERIALIZER_JAR=/usr/share/java/libserializer.jar ], 6314 [AC_MSG_ERROR(libserializer.jar replacement not found.)] 6315 ) 6316 ] 6317 ) 6318 else 6319 AC_CHECK_FILE($LIBSERIALIZER_JAR, [], 6320 [AC_MSG_ERROR(libserializer.jar not found.)], []) 6321 fi 6322 6323 6324 if test -z $LIBBASE_JAR; then | 6311 [ LIBSERIALIZER_JAR=/usr/share/java/libserializer.jar ], 6312 [AC_MSG_ERROR(libserializer.jar replacement not found.)] 6313 ) 6314 ] 6315 ) 6316 else 6317 AC_CHECK_FILE($LIBSERIALIZER_JAR, [], 6318 [AC_MSG_ERROR(libserializer.jar not found.)], []) 6319 fi 6320 6321 6322 if test -z $LIBBASE_JAR; then |
| 6325 AC_CHECK_FILE(/usr/share/java/libbase-1.0.0.jar, | 6323 AC_CHECK_FILE(/usr/share/java/libbase-1.0.0.jar, |
| 6326 [ LIBBASE_JAR=/usr/share/java/libbase-1.0.0.jar ], 6327 [ | 6324 [ LIBBASE_JAR=/usr/share/java/libbase-1.0.0.jar ], 6325 [ |
| 6328 AC_CHECK_FILE(/usr/share/java/libbase.jar, | 6326 AC_CHECK_FILE(/usr/share/java/libbase.jar, |
| 6329 [ LIBBASE_JAR=/usr/share/java/libbase.jar ], 6330 [AC_MSG_ERROR(libbase.jar replacement not found.)] 6331 ) 6332 ] 6333 ) 6334 else 6335 AC_CHECK_FILE($LIBBASE_JAR, [], 6336 [AC_MSG_ERROR(libbase.jar not found.)], []) --- 21 unchanged lines hidden (view full) --- 6358# commons-logging, while the non-optional PostgreSQL connector uses 6359# commons-lang. 6360AC_MSG_CHECKING([which Apache commons-* libs to use]) 6361if test "$with_system_apache_commons" = "yes"; then 6362 SYSTEM_APACHE_COMMONS=YES 6363 AC_MSG_RESULT([external]) 6364 6365 if test -z $COMMONS_LANG_JAR; then | 6327 [ LIBBASE_JAR=/usr/share/java/libbase.jar ], 6328 [AC_MSG_ERROR(libbase.jar replacement not found.)] 6329 ) 6330 ] 6331 ) 6332 else 6333 AC_CHECK_FILE($LIBBASE_JAR, [], 6334 [AC_MSG_ERROR(libbase.jar not found.)], []) --- 21 unchanged lines hidden (view full) --- 6356# commons-logging, while the non-optional PostgreSQL connector uses 6357# commons-lang. 6358AC_MSG_CHECKING([which Apache commons-* libs to use]) 6359if test "$with_system_apache_commons" = "yes"; then 6360 SYSTEM_APACHE_COMMONS=YES 6361 AC_MSG_RESULT([external]) 6362 6363 if test -z $COMMONS_LANG_JAR; then |
| 6366 AC_CHECK_FILE(/usr/share/java/commons-lang3-3.3.jar, | 6364 AC_CHECK_FILE(/usr/share/java/commons-lang3-3.3.jar, |
| 6367 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang3-3.3.jar ], 6368 [ | 6365 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang3-3.3.jar ], 6366 [ |
| 6369 AC_CHECK_FILE(/usr/share/java/commons-lang.jar, | 6367 AC_CHECK_FILE(/usr/share/java/commons-lang.jar, |
| 6370 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar ], 6371 [AC_MSG_ERROR(commons-lang.jar replacement not found.)] 6372 ) 6373 ] 6374 ) 6375 else 6376 AC_CHECK_FILE($COMMONS_LANG_JAR, [], 6377 [AC_MSG_ERROR(commons-lang.jar not found.)], []) --- 11 unchanged lines hidden (view full) --- 6389 }'; then 6390 AC_MSG_RESULT([yes]) 6391 else 6392 AC_MSG_ERROR([no, you need Apache Commons Lang 3.x]) 6393 fi 6394 6395 if test "$ENABLE_MEDIAWIKI" = "YES"; then 6396 if test -z $COMMONS_CODEC_JAR; then | 6368 [ COMMONS_LANG_JAR=/usr/share/java/commons-lang.jar ], 6369 [AC_MSG_ERROR(commons-lang.jar replacement not found.)] 6370 ) 6371 ] 6372 ) 6373 else 6374 AC_CHECK_FILE($COMMONS_LANG_JAR, [], 6375 [AC_MSG_ERROR(commons-lang.jar not found.)], []) --- 11 unchanged lines hidden (view full) --- 6387 }'; then 6388 AC_MSG_RESULT([yes]) 6389 else 6390 AC_MSG_ERROR([no, you need Apache Commons Lang 3.x]) 6391 fi 6392 6393 if test "$ENABLE_MEDIAWIKI" = "YES"; then 6394 if test -z $COMMONS_CODEC_JAR; then |
| 6397 AC_CHECK_FILE(/usr/share/java/commons-codec-1.9.jar, | 6395 AC_CHECK_FILE(/usr/share/java/commons-codec-1.9.jar, |
| 6398 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.9.jar ], 6399 [ | 6396 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec-1.9.jar ], 6397 [ |
| 6400 AC_CHECK_FILE(/usr/share/java/commons-codec.jar, | 6398 AC_CHECK_FILE(/usr/share/java/commons-codec.jar, |
| 6401 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec.jar ], 6402 [AC_MSG_ERROR(commons-codec.jar replacement not found.)] 6403 ) 6404 ] 6405 ) 6406 else 6407 AC_CHECK_FILE($COMMONS_CODEC_JAR, [], 6408 [AC_MSG_ERROR(commons-codec.jar not found.)], []) 6409 fi 6410 6411 if test -z $COMMONS_HTTPCLIENT_JAR; then | 6399 [ COMMONS_CODEC_JAR=/usr/share/java/commons-codec.jar ], 6400 [AC_MSG_ERROR(commons-codec.jar replacement not found.)] 6401 ) 6402 ] 6403 ) 6404 else 6405 AC_CHECK_FILE($COMMONS_CODEC_JAR, [], 6406 [AC_MSG_ERROR(commons-codec.jar not found.)], []) 6407 fi 6408 6409 if test -z $COMMONS_HTTPCLIENT_JAR; then |
| 6412 AC_CHECK_FILE(/usr/share/java/commons-httpclient-3.1.jar, | 6410 AC_CHECK_FILE(/usr/share/java/commons-httpclient-3.1.jar, |
| 6413 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar ], 6414 [ | 6411 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient-3.1.jar ], 6412 [ |
| 6415 AC_CHECK_FILE(/usr/share/java/commons-httpclient.jar, | 6413 AC_CHECK_FILE(/usr/share/java/commons-httpclient.jar, |
| 6416 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar ], 6417 [AC_MSG_ERROR(commons-httpclient.jar replacement not found.)] 6418 ) 6419 ] 6420 ) 6421 else 6422 AC_CHECK_FILE($COMMONS_HTTPCLIENT_JAR, [], 6423 [AC_MSG_ERROR(commons-httpclient.jar not found.)], []) 6424 fi 6425 fi 6426 if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then 6427 if test -z $COMMONS_LOGGING_JAR; then | 6414 [ COMMONS_HTTPCLIENT_JAR=/usr/share/java/commons-httpclient.jar ], 6415 [AC_MSG_ERROR(commons-httpclient.jar replacement not found.)] 6416 ) 6417 ] 6418 ) 6419 else 6420 AC_CHECK_FILE($COMMONS_HTTPCLIENT_JAR, [], 6421 [AC_MSG_ERROR(commons-httpclient.jar not found.)], []) 6422 fi 6423 fi 6424 if test "$ENABLE_MEDIAWIKI" = "YES" -o "$ENABLE_REPORTBUILDER" = "YES"; then 6425 if test -z $COMMONS_LOGGING_JAR; then |
| 6428 AC_CHECK_FILE(/usr/share/java/commons-logging-1.1.3.jar, | 6426 AC_CHECK_FILE(/usr/share/java/commons-logging-1.1.3.jar, |
| 6429 [ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-1.1.3.jar ], 6430 [ | 6427 [ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging-1.1.3.jar ], 6428 [ |
| 6431 AC_CHECK_FILE(/usr/share/java/commons-logging.jar, | 6429 AC_CHECK_FILE(/usr/share/java/commons-logging.jar, |
| 6432 [ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar ], 6433 [AC_MSG_ERROR(commons-logging.jar replacement not found.)] 6434 ) 6435 ] 6436 ) 6437 else 6438 AC_CHECK_FILE($COMMONS_LOGGING_JAR, [], 6439 [AC_MSG_ERROR(commons-logging.jar not found.)], []) --- 62 unchanged lines hidden (view full) --- 6502 for kde_check in $qt_incdirs ; do 6503 if test -r "$kde_check/$qt_test_include" ; then 6504 qt_incdir="$kde_check" 6505 break 6506 fi 6507 done 6508 AC_MSG_RESULT([$qt_incdir]) 6509 if test "x$qt_incdir" = "xno" ; then | 6430 [ COMMONS_LOGGING_JAR=/usr/share/java/commons-logging.jar ], 6431 [AC_MSG_ERROR(commons-logging.jar replacement not found.)] 6432 ) 6433 ] 6434 ) 6435 else 6436 AC_CHECK_FILE($COMMONS_LOGGING_JAR, [], 6437 [AC_MSG_ERROR(commons-logging.jar not found.)], []) --- 62 unchanged lines hidden (view full) --- 6500 for kde_check in $qt_incdirs ; do 6501 if test -r "$kde_check/$qt_test_include" ; then 6502 qt_incdir="$kde_check" 6503 break 6504 fi 6505 done 6506 AC_MSG_RESULT([$qt_incdir]) 6507 if test "x$qt_incdir" = "xno" ; then |
| 6510 AC_MSG_ERROR([Qt headers not found. Please specify the root of | 6508 AC_MSG_ERROR([Qt headers not found. Please specify the root of |
| 6511your Qt installation by exporting QTDIR before running "configure".]) 6512 fi 6513 6514 dnl Check for Qt libraries 6515 AC_MSG_CHECKING([for Qt libraries]) 6516 qt_libdir="no" 6517 for qt_check in $qt_libdirs ; do 6518 if test -r "$qt_check/$qt_test_library" ; then 6519 qt_libdir="$qt_check" 6520 break 6521 fi 6522 done 6523 AC_MSG_RESULT([$qt_libdir]) 6524 if test "x$qt_libdir" = "xno" ; then | 6509your Qt installation by exporting QTDIR before running "configure".]) 6510 fi 6511 6512 dnl Check for Qt libraries 6513 AC_MSG_CHECKING([for Qt libraries]) 6514 qt_libdir="no" 6515 for qt_check in $qt_libdirs ; do 6516 if test -r "$qt_check/$qt_test_library" ; then 6517 qt_libdir="$qt_check" 6518 break 6519 fi 6520 done 6521 AC_MSG_RESULT([$qt_libdir]) 6522 if test "x$qt_libdir" = "xno" ; then |
| 6525 AC_MSG_ERROR([Qt libraries not found. Please specify the root of | 6523 AC_MSG_ERROR([Qt libraries not found. Please specify the root of |
| 6526your Qt installation by exporting QTDIR before running "configure".]) 6527 fi 6528 6529 dnl Check for Meta Object Compiler 6530 AC_PATH_PROG( MOC, moc, no, [$QTDIR/bin:$PATH] ) 6531 if test "$MOC" = "no" ; then | 6524your Qt installation by exporting QTDIR before running "configure".]) 6525 fi 6526 6527 dnl Check for Meta Object Compiler 6528 AC_PATH_PROG( MOC, moc, no, [$QTDIR/bin:$PATH] ) 6529 if test "$MOC" = "no" ; then |
| 6532 AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify | 6530 AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify |
| 6533the root of your Qt installation by exporting QTDIR before running "configure".]) 6534 fi 6535 6536 dnl Check for KDE headers 6537 AC_MSG_CHECKING([for KDE headers]) 6538 kde_incdir="no" 6539 for kde_check in $kde_incdirs ; do 6540 if test -r "$kde_check/$kde_test_include" ; then 6541 kde_incdir="$kde_check" 6542 break 6543 fi 6544 done 6545 AC_MSG_RESULT([$kde_incdir]) 6546 if test "x$kde_incdir" = "xno" ; then | 6531the root of your Qt installation by exporting QTDIR before running "configure".]) 6532 fi 6533 6534 dnl Check for KDE headers 6535 AC_MSG_CHECKING([for KDE headers]) 6536 kde_incdir="no" 6537 for kde_check in $kde_incdirs ; do 6538 if test -r "$kde_check/$kde_test_include" ; then 6539 kde_incdir="$kde_check" 6540 break 6541 fi 6542 done 6543 AC_MSG_RESULT([$kde_incdir]) 6544 if test "x$kde_incdir" = "xno" ; then |
| 6547 AC_MSG_ERROR([KDE headers not found. Please specify the root of | 6545 AC_MSG_ERROR([KDE headers not found. Please specify the root of |
| 6548your KDE installation by exporting KDEDIR before running "configure".]) 6549 fi 6550 6551 dnl Check for KDE libraries 6552 AC_MSG_CHECKING([for KDE libraries]) 6553 kde_libdir="no" 6554 for kde_check in $kde_libdirs ; do 6555 if test -r "$kde_check/$kde_test_library" ; then 6556 kde_libdir="$kde_check" 6557 break 6558 fi 6559 done 6560 AC_MSG_RESULT([$kde_libdir]) 6561 if test "x$kde_libdir" = "xno" ; then | 6546your KDE installation by exporting KDEDIR before running "configure".]) 6547 fi 6548 6549 dnl Check for KDE libraries 6550 AC_MSG_CHECKING([for KDE libraries]) 6551 kde_libdir="no" 6552 for kde_check in $kde_libdirs ; do 6553 if test -r "$kde_check/$kde_test_library" ; then 6554 kde_libdir="$kde_check" 6555 break 6556 fi 6557 done 6558 AC_MSG_RESULT([$kde_libdir]) 6559 if test "x$kde_libdir" = "xno" ; then |
| 6562 AC_MSG_ERROR([KDE libraries not found. Please specify the root of | 6560 AC_MSG_ERROR([KDE libraries not found. Please specify the root of |
| 6563your KDE installation by exporting KDEDIR before running "configure".]) 6564 fi 6565 6566 dnl Set the variables 6567 KDE_CFLAGS="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT" 6568 KDE_LIBS="-L$kde_libdir -L$qt_libdir -lkdeui -lkdecore -lqt-mt" 6569fi 6570AC_SUBST(KDE_CFLAGS) --- 5 unchanged lines hidden (view full) --- 6576dnl =================================================================== 6577 6578KDE4_CFLAGS="" 6579KDE4_LIBS="" 6580MOC4="moc" 6581if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then 6582 qt_incdirs="$QT4INC $QT4DIR /usr/include/qt4 /usr/include $x_includes" 6583 qt_libdirs="$QT4LIB /usr/lib $x_libraries" | 6561your KDE installation by exporting KDEDIR before running "configure".]) 6562 fi 6563 6564 dnl Set the variables 6565 KDE_CFLAGS="-I$qt_incdir -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT" 6566 KDE_LIBS="-L$kde_libdir -L$qt_libdir -lkdeui -lkdecore -lqt-mt" 6567fi 6568AC_SUBST(KDE_CFLAGS) --- 5 unchanged lines hidden (view full) --- 6574dnl =================================================================== 6575 6576KDE4_CFLAGS="" 6577KDE4_LIBS="" 6578MOC4="moc" 6579if test "$test_kde4" = "yes" -a "$ENABLE_KDE4" = "TRUE" ; then 6580 qt_incdirs="$QT4INC $QT4DIR /usr/include/qt4 /usr/include $x_includes" 6581 qt_libdirs="$QT4LIB /usr/lib $x_libraries" |
| 6584 | 6582 |
| 6585 kde_incdirs="/usr/include /usr/include/kde4 $x_includes" 6586 kde_libdirs="/usr/lib /usr/lib/kde4 /usr/lib/kde4/devel $x_libraries" | 6583 kde_incdirs="/usr/include /usr/include/kde4 $x_includes" 6584 kde_libdirs="/usr/lib /usr/lib/kde4 /usr/lib/kde4/devel $x_libraries" |
| 6587 | 6585 |
| 6588 if test "$build_cpu" = "x86_64" ; then 6589 qt_libdirs="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64" 6590 kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4 /usr/lib64/kde4/devel" 6591 fi 6592 6593 if test -n "$KDE4DIR" ; then 6594 kde_incdirs="$KDE4DIR/include $kde_incdirs" 6595 if test "$build_cpu" != "x86_64" ; then 6596 kde_libdirs="$KDE4DIR/lib $kde_libdirs" 6597 else 6598 kde_libdirs="$KDE4DIR/lib64 $KDE4DIR/lib $kde_libdirs" 6599 fi 6600 fi 6601 6602 qt_test_include="Qt/qobject.h" 6603 qt_test_library="libQtCore.so" 6604 kde_test_include="ksharedptr.h" 6605 kde_test_library="libkdeui.so" | 6586 if test "$build_cpu" = "x86_64" ; then 6587 qt_libdirs="$qt_libdirs /usr/lib64/qt4 /usr/lib64/qt /usr/lib64" 6588 kde_libdirs="$kde_libdirs /usr/lib64 /usr/lib64/kde4 /usr/lib64/kde4/devel" 6589 fi 6590 6591 if test -n "$KDE4DIR" ; then 6592 kde_incdirs="$KDE4DIR/include $kde_incdirs" 6593 if test "$build_cpu" != "x86_64" ; then 6594 kde_libdirs="$KDE4DIR/lib $kde_libdirs" 6595 else 6596 kde_libdirs="$KDE4DIR/lib64 $KDE4DIR/lib $kde_libdirs" 6597 fi 6598 fi 6599 6600 qt_test_include="Qt/qobject.h" 6601 qt_test_library="libQtCore.so" 6602 kde_test_include="ksharedptr.h" 6603 kde_test_library="libkdeui.so" |
| 6606 | 6604 |
| 6607 AC_MSG_CHECKING([for Qt4 headers]) 6608 qt_header_dir="no" 6609 for inc_dir in $qt_incdirs ; do 6610 if test -r "$inc_dir/$qt_test_include" ; then 6611 qt_header_dir="$inc_dir" 6612 break 6613 fi 6614 done | 6605 AC_MSG_CHECKING([for Qt4 headers]) 6606 qt_header_dir="no" 6607 for inc_dir in $qt_incdirs ; do 6608 if test -r "$inc_dir/$qt_test_include" ; then 6609 qt_header_dir="$inc_dir" 6610 break 6611 fi 6612 done |
| 6615 | 6613 |
| 6616 AC_MSG_RESULT([$qt_header_dir]) 6617 if test "x$qt_header_dir" = "xno" ; then | 6614 AC_MSG_RESULT([$qt_header_dir]) 6615 if test "x$qt_header_dir" = "xno" ; then |
| 6618 AC_MSG_ERROR([Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".]) | 6616 AC_MSG_ERROR([Qt4 headers not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".]) |
| 6619 fi | 6617 fi |
| 6620 | 6618 |
| 6621 AC_MSG_CHECKING([for Qt4 libraries]) 6622 qt_lib_dir="no" 6623 for lib_dir in $qt_libdirs ; do 6624 if test -r "$lib_dir/$qt_test_library" ; then 6625 qt_lib_dir="$lib_dir" 6626 break 6627 fi 6628 done | 6619 AC_MSG_CHECKING([for Qt4 libraries]) 6620 qt_lib_dir="no" 6621 for lib_dir in $qt_libdirs ; do 6622 if test -r "$lib_dir/$qt_test_library" ; then 6623 qt_lib_dir="$lib_dir" 6624 break 6625 fi 6626 done |
| 6629 | 6627 |
| 6630 AC_MSG_RESULT([$qt_lib_dir]) | 6628 AC_MSG_RESULT([$qt_lib_dir]) |
| 6631 | 6629 |
| 6632 if test "x$qt_lib_dir" = "xno" ; then | 6630 if test "x$qt_lib_dir" = "xno" ; then |
| 6633 AC_MSG_ERROR([Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".]) | 6631 AC_MSG_ERROR([Qt4 libraries not found. Please specify the root of your Qt4 installation by exporting QT4DIR before running "configure".]) |
| 6634 fi 6635 6636 dnl Check for Meta Object Compiler 6637 AC_PATH_PROG( MOCQT4, moc-qt4, no, [$QT4DIR/bin:$PATH] ) 6638 MOC4="$MOCQT4" 6639 if test "$MOC4" = "no" ; then 6640 AC_PATH_PROG( MOC4, moc, no, [$PATH:$QT4DIR/bin] ) 6641 if test "$MOC4" = "no" ; then | 6632 fi 6633 6634 dnl Check for Meta Object Compiler 6635 AC_PATH_PROG( MOCQT4, moc-qt4, no, [$QT4DIR/bin:$PATH] ) 6636 MOC4="$MOCQT4" 6637 if test "$MOC4" = "no" ; then 6638 AC_PATH_PROG( MOC4, moc, no, [$PATH:$QT4DIR/bin] ) 6639 if test "$MOC4" = "no" ; then |
| 6642 AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify the root of your Qt installation by exporting QT4DIR before running "configure".]) | 6640 AC_MSG_ERROR([Qt Meta Object Compiler not found. Please specify the root of your Qt installation by exporting QT4DIR before running "configure".]) |
| 6643 fi 6644 fi 6645 6646 dnl Check for KDE4 headers 6647 AC_MSG_CHECKING([for KDE4 headers]) 6648 kde_incdir="no" 6649 for kde_check in $kde_incdirs ; do 6650 if test -r "$kde_check/$kde_test_include" ; then 6651 kde_incdir="$kde_check" 6652 break 6653 fi 6654 done 6655 AC_MSG_RESULT([$kde_incdir]) 6656 if test "x$kde_incdir" = "xno" ; then | 6641 fi 6642 fi 6643 6644 dnl Check for KDE4 headers 6645 AC_MSG_CHECKING([for KDE4 headers]) 6646 kde_incdir="no" 6647 for kde_check in $kde_incdirs ; do 6648 if test -r "$kde_check/$kde_test_include" ; then 6649 kde_incdir="$kde_check" 6650 break 6651 fi 6652 done 6653 AC_MSG_RESULT([$kde_incdir]) 6654 if test "x$kde_incdir" = "xno" ; then |
| 6657 AC_MSG_ERROR([KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".]) | 6655 AC_MSG_ERROR([KDE4 headers not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".]) |
| 6658 fi 6659 6660 dnl Check for KDE4 libraries 6661 AC_MSG_CHECKING([for KDE4 libraries]) 6662 kde_libdir="no" 6663 for kde_check in $kde_libdirs ; do 6664 if test -r "$kde_check/$kde_test_library" ; then 6665 kde_libdir="$kde_check" 6666 break 6667 fi 6668 done | 6656 fi 6657 6658 dnl Check for KDE4 libraries 6659 AC_MSG_CHECKING([for KDE4 libraries]) 6660 kde_libdir="no" 6661 for kde_check in $kde_libdirs ; do 6662 if test -r "$kde_check/$kde_test_library" ; then 6663 kde_libdir="$kde_check" 6664 break 6665 fi 6666 done |
| 6669 | 6667 |
| 6670 AC_MSG_RESULT([$kde_libdir]) 6671 if test "x$kde_libdir" = "xno" ; then | 6668 AC_MSG_RESULT([$kde_libdir]) 6669 if test "x$kde_libdir" = "xno" ; then |
| 6672 AC_MSG_ERROR([KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".]) | 6670 AC_MSG_ERROR([KDE4 libraries not found. Please specify the root of your KDE4 installation by exporting KDE4DIR before running "configure".]) |
| 6673 fi 6674 6675 KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT" 6676 KDE4_LIBS="-L$kde_libdir -L$qt_lib_dir -lkdeui -lkdecore -lQtCore -lQtGui" 6677fi 6678AC_SUBST(KDE4_CFLAGS) 6679AC_SUBST(KDE4_LIBS) 6680AC_SUBST(MOC4) --- 20 unchanged lines hidden (view full) --- 6701 PKG_CHECK_MODULES(GOBJECT, gobject-2.0) 6702 ENABLE_EVOAB2="TRUE" 6703else 6704 ENABLE_EVOAB2="" 6705 AC_MSG_RESULT([no]) 6706fi 6707AC_SUBST(ENABLE_EVOAB2) 6708AC_SUBST(GOBJECT_CFLAGS) | 6671 fi 6672 6673 KDE4_CFLAGS="`pkg-config --cflags QtCore` `pkg-config --cflags QtGui` -I$kde_incdir -DQT_CLEAN_NAMESPACE -DQT_THREAD_SUPPORT" 6674 KDE4_LIBS="-L$kde_libdir -L$qt_lib_dir -lkdeui -lkdecore -lQtCore -lQtGui" 6675fi 6676AC_SUBST(KDE4_CFLAGS) 6677AC_SUBST(KDE4_LIBS) 6678AC_SUBST(MOC4) --- 20 unchanged lines hidden (view full) --- 6699 PKG_CHECK_MODULES(GOBJECT, gobject-2.0) 6700 ENABLE_EVOAB2="TRUE" 6701else 6702 ENABLE_EVOAB2="" 6703 AC_MSG_RESULT([no]) 6704fi 6705AC_SUBST(ENABLE_EVOAB2) 6706AC_SUBST(GOBJECT_CFLAGS) |
| 6709AC_SUBST(GOBJECT_LIBS) | 6707AC_SUBST(GOBJECT_LIBS) |
| 6710 6711dnl =================================================================== 6712dnl Test whether to include MathMLDTD 6713dnl =================================================================== 6714AC_MSG_CHECKING([whether to include MathMLDTD]) 6715if test -n "$enable_mathmldtd"; then 6716 if test "$enable_mathmldtd" = "no"; then 6717 AC_MSG_RESULT([no]) --- 323 unchanged lines hidden (view full) --- 7041 if test "$JAVACISGCJ" = "yes"; then 7042 JAVA_HOME=; export JAVA_HOME 7043 ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2" 7044 else 7045 ant_cmd="$ANT -buildfile conftest.xml 1>&2" 7046 fi 7047 AC_TRY_EVAL(ant_cmd) 7048 if test $? = 0 && test -f ./conftest.class ; then | 6708 6709dnl =================================================================== 6710dnl Test whether to include MathMLDTD 6711dnl =================================================================== 6712AC_MSG_CHECKING([whether to include MathMLDTD]) 6713if test -n "$enable_mathmldtd"; then 6714 if test "$enable_mathmldtd" = "no"; then 6715 AC_MSG_RESULT([no]) --- 323 unchanged lines hidden (view full) --- 7039 if test "$JAVACISGCJ" = "yes"; then 7040 JAVA_HOME=; export JAVA_HOME 7041 ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2" 7042 else 7043 ant_cmd="$ANT -buildfile conftest.xml 1>&2" 7044 fi 7045 AC_TRY_EVAL(ant_cmd) 7046 if test $? = 0 && test -f ./conftest.class ; then |
| 7049 AC_MSG_RESULT([Ant works]) | 7047 AC_MSG_RESULT([Ant works]) |
| 7050 if test -z "$WITH_ANT_HOME"; then 7051 ANT_HOME=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"` 7052 if test -z "$ANT_HOME"; then 7053 ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"` 7054 fi 7055 else 7056 ANT_HOME="$WITH_ANT_HOME" 7057 fi --- 12 unchanged lines hidden (view full) --- 7070 ANT_HOME="NO_ANT_HOME" 7071fi 7072AC_SUBST(ANT_HOME) 7073 7074dnl Checking for ant.jar 7075if test "$ANT_HOME" != "NO_ANT_HOME"; then 7076 AC_MSG_CHECKING([Ant lib directory]) 7077 if test -f $ANT_HOME/lib/ant.jar; then | 7048 if test -z "$WITH_ANT_HOME"; then 7049 ANT_HOME=`$ANT -diagnostics | $EGREP "ant.home :" | $SED -e "s#ant.home : ##g"` 7050 if test -z "$ANT_HOME"; then 7051 ANT_HOME=`echo $ANT | $SED -n "s/\/bin\/ant.*\$//p"` 7052 fi 7053 else 7054 ANT_HOME="$WITH_ANT_HOME" 7055 fi --- 12 unchanged lines hidden (view full) --- 7068 ANT_HOME="NO_ANT_HOME" 7069fi 7070AC_SUBST(ANT_HOME) 7071 7072dnl Checking for ant.jar 7073if test "$ANT_HOME" != "NO_ANT_HOME"; then 7074 AC_MSG_CHECKING([Ant lib directory]) 7075 if test -f $ANT_HOME/lib/ant.jar; then |
| 7078 ANT_LIB="$ANT_HOME/lib" | 7076 ANT_LIB="$ANT_HOME/lib" |
| 7079 else 7080 if test -f $ANT_HOME/ant.jar; then | 7077 else 7078 if test -f $ANT_HOME/ant.jar; then |
| 7081 ANT_LIB="$ANT_HOME" | 7079 ANT_LIB="$ANT_HOME" |
| 7082 else 7083 if test -f /usr/share/java/ant.jar; then 7084 ANT_LIB=/usr/share/java 7085 else 7086 if test -f /usr/share/ant-core/lib/ant.jar; then 7087 ANT_LIB=/usr/share/ant-core/lib 7088 else 7089 if test -f $ANT_HOME/lib/ant/ant.jar; then 7090 ANT_LIB="$ANT_HOME/lib/ant" 7091 else 7092 if test -f /usr/share/lib/ant/ant.jar; then 7093 ANT_LIB=/usr/share/lib/ant 7094 else 7095 AC_MSG_ERROR([Ant libraries not found!]) 7096 fi | 7080 else 7081 if test -f /usr/share/java/ant.jar; then 7082 ANT_LIB=/usr/share/java 7083 else 7084 if test -f /usr/share/ant-core/lib/ant.jar; then 7085 ANT_LIB=/usr/share/ant-core/lib 7086 else 7087 if test -f $ANT_HOME/lib/ant/ant.jar; then 7088 ANT_LIB="$ANT_HOME/lib/ant" 7089 else 7090 if test -f /usr/share/lib/ant/ant.jar; then 7091 ANT_LIB=/usr/share/lib/ant 7092 else 7093 AC_MSG_ERROR([Ant libraries not found!]) 7094 fi |
| 7097 fi | 7095 fi |
| 7098 fi 7099 fi 7100 fi 7101 fi 7102 AC_MSG_RESULT([Ant lib directory found.]) 7103fi 7104AC_SUBST(ANT_LIB) 7105fi --- 50 unchanged lines hidden (view full) --- 7156 if test "$JAVACISGCJ" = "yes"; then 7157 JAVA_HOME=; export JAVA_HOME 7158 ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2" 7159 else 7160 ant_cmd="$ANT -buildfile conftest.xml 1>&2" 7161 fi 7162 AC_TRY_EVAL(ant_cmd) 7163 if test $? = 0 && test -f ./conftest.class ; then | 7096 fi 7097 fi 7098 fi 7099 fi 7100 AC_MSG_RESULT([Ant lib directory found.]) 7101fi 7102AC_SUBST(ANT_LIB) 7103fi --- 50 unchanged lines hidden (view full) --- 7154 if test "$JAVACISGCJ" = "yes"; then 7155 JAVA_HOME=; export JAVA_HOME 7156 ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2" 7157 else 7158 ant_cmd="$ANT -buildfile conftest.xml 1>&2" 7159 fi 7160 AC_TRY_EVAL(ant_cmd) 7161 if test $? = 0 && test -f ./conftest.class ; then |
| 7164 AC_MSG_RESULT([yes]) | 7162 AC_MSG_RESULT([yes]) |
| 7165 rm -rf confdir 7166 else 7167 echo "configure: Ant test failed" >&5 7168 cat conftest.java >&5 7169 cat conftest.xml >&5 7170 rm -rf confdir 7171 AC_MSG_ERROR([no. Did you install ant-apache-regexp?]) 7172 fi --- 218 unchanged lines hidden (view full) --- 7391else 7392 OOO_VENDOR="$with_vendor" 7393 AC_MSG_RESULT([$OOO_VENDOR]) 7394fi 7395AC_SUBST(OOO_VENDOR) 7396 7397UNIXWRAPPERNAME= 7398AC_MSG_CHECKING([for UNIX wrapper name]) | 7163 rm -rf confdir 7164 else 7165 echo "configure: Ant test failed" >&5 7166 cat conftest.java >&5 7167 cat conftest.xml >&5 7168 rm -rf confdir 7169 AC_MSG_ERROR([no. Did you install ant-apache-regexp?]) 7170 fi --- 218 unchanged lines hidden (view full) --- 7389else 7390 OOO_VENDOR="$with_vendor" 7391 AC_MSG_RESULT([$OOO_VENDOR]) 7392fi 7393AC_SUBST(OOO_VENDOR) 7394 7395UNIXWRAPPERNAME= 7396AC_MSG_CHECKING([for UNIX wrapper name]) |
| 7399if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no" -o "$with_unix_wrapper" = "yes" ; then | 7397if test -z "$with_unix_wrapper" -o "$with_unix_wrapper" = "no" -o "$with_unix_wrapper" = "yes" ; then |
| 7400 AC_MSG_RESULT([not set]) 7401else 7402 UNIXWRAPPERNAME="$with_unix_wrapper" 7403 AC_MSG_RESULT([$UNIXWRAPPERNAME]) 7404fi 7405AC_SUBST(UNIXWRAPPERNAME) 7406 7407AC_MSG_CHECKING([whether to statically link to Gtk]) 7408if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then 7409 ENABLE_STATIC_GTK="TRUE" 7410 AC_MSG_RESULT([yes]) 7411else | 7398 AC_MSG_RESULT([not set]) 7399else 7400 UNIXWRAPPERNAME="$with_unix_wrapper" 7401 AC_MSG_RESULT([$UNIXWRAPPERNAME]) 7402fi 7403AC_SUBST(UNIXWRAPPERNAME) 7404 7405AC_MSG_CHECKING([whether to statically link to Gtk]) 7406if test -n "$enable_static_gtk" && test "$enable_static_gtk" != "no"; then 7407 ENABLE_STATIC_GTK="TRUE" 7408 AC_MSG_RESULT([yes]) 7409else |
| 7412 ENABLE_STATIC_GTK="FALSE" | 7410 ENABLE_STATIC_GTK="FALSE" |
| 7413 AC_MSG_RESULT([no]) 7414fi 7415AC_SUBST(ENABLE_STATIC_GTK) 7416 7417AC_MSG_CHECKING([whether to use layout dialogs]) 7418if test -n "$enable_layout" && test "$enable_layout" != "no"; then 7419 ENABLE_LAYOUT="TRUE" 7420 AC_MSG_RESULT([yes]) 7421else | 7411 AC_MSG_RESULT([no]) 7412fi 7413AC_SUBST(ENABLE_STATIC_GTK) 7414 7415AC_MSG_CHECKING([whether to use layout dialogs]) 7416if test -n "$enable_layout" && test "$enable_layout" != "no"; then 7417 ENABLE_LAYOUT="TRUE" 7418 AC_MSG_RESULT([yes]) 7419else |
| 7422 ENABLE_LAYOUT="FALSE" | 7420 ENABLE_LAYOUT="FALSE" |
| 7423 AC_MSG_RESULT([no]) 7424fi 7425AC_SUBST(ENABLE_LAYOUT) 7426 7427# =================================================================== 7428# De- or increase default verbosity of build process 7429# =================================================================== 7430AC_MSG_CHECKING([build verbosity]) --- 47 unchanged lines hidden (view full) --- 7478 LOCAL_SOLVER=$with_local_solver 7479 AC_MSG_RESULT([$with_local_solver]) 7480fi 7481AC_SUBST(LOCAL_SOLVER) 7482 7483AC_SUBST(BUILD_TYPE) 7484AC_SUBST(ADDITIONAL_REPOSITORIES) 7485 | 7421 AC_MSG_RESULT([no]) 7422fi 7423AC_SUBST(ENABLE_LAYOUT) 7424 7425# =================================================================== 7426# De- or increase default verbosity of build process 7427# =================================================================== 7428AC_MSG_CHECKING([build verbosity]) --- 47 unchanged lines hidden (view full) --- 7476 LOCAL_SOLVER=$with_local_solver 7477 AC_MSG_RESULT([$with_local_solver]) 7478fi 7479AC_SUBST(LOCAL_SOLVER) 7480 7481AC_SUBST(BUILD_TYPE) 7482AC_SUBST(ADDITIONAL_REPOSITORIES) 7483 |
| 7486# make sure config.guess is +x; we execute config.guess, so it has to be so; | 7484# make sure config.guess is +x; we execute config.guess, so it has to be so; |
| 7487chmod +x ./config.guess 7488 7489# Create files from their *.in templates. 7490AC_CONFIG_FILES([set_soenv Makefile]) 7491 7492AC_MSG_NOTICE([writing config.status]) 7493AC_OUTPUT 7494 --- 13 unchanged lines hidden (view full) --- 7508 echo ---------------------------------------------------- 7509 echo 7510 cat warn 7511 echo 7512 else 7513 echo There were no warnings 7514 fi 7515 echo | 7485chmod +x ./config.guess 7486 7487# Create files from their *.in templates. 7488AC_CONFIG_FILES([set_soenv Makefile]) 7489 7490AC_MSG_NOTICE([writing config.status]) 7491AC_OUTPUT 7492 --- 13 unchanged lines hidden (view full) --- 7506 echo ---------------------------------------------------- 7507 echo 7508 cat warn 7509 echo 7510 else 7511 echo There were no warnings 7512 fi 7513 echo |
| 7516fi | 7514fi |
| 7517 | 7515 |