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

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

112],,)
113AC_ARG_WITH(afms,
114[ --without-afms Removes bitmap font files from Apache Openoffice
115 installation set, for people building for specific
116 distributions where AFM files or TrueType Fonts
117 are known to be available.
118],,)
119AC_ARG_ENABLE(epm,
1dnl * *************************************************************
2dnl *
3dnl * Licensed to the Apache Software Foundation (ASF) under one
4dnl * or more contributor license agreements. See the NOTICE file
5dnl * distributed with this work for additional information
6dnl * regarding copyright ownership. The ASF licenses this file
7dnl * to you under the Apache License, Version 2.0 (the
8dnl * "License"); you may not use this file except in compliance

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

112],,)
113AC_ARG_WITH(afms,
114[ --without-afms Removes bitmap font files from Apache Openoffice
115 installation set, for people building for specific
116 distributions where AFM files or TrueType Fonts
117 are known to be available.
118],,)
119AC_ARG_ENABLE(epm,
120[ --disable-epm OO.o includes self-packaging code, that requires
120[ --disable-epm AOO includes self-packaging code, that requires
121 epm, however epm is useless for large scale
122 package building.
123],,enable_epm="yes")
124AC_ARG_WITH(epm,
125[ --with-epm Decides which epm to use. Default is to use
126 the one from the system if one is built. When
127 either this is not there or you say =internal
128 epm will be built.
129],,)
130AC_ARG_WITH(epm-url,
131[ --with-epm-url=<URL> Specify the location of downloadable epm 3.7 source code. For example:
121 epm, however epm is useless for large scale
122 package building.
123],,enable_epm="yes")
124AC_ARG_WITH(epm,
125[ --with-epm Decides which epm to use. Default is to use
126 the one from the system if one is built. When
127 either this is not there or you say =internal
128 epm will be built.
129],,)
130AC_ARG_WITH(epm-url,
131[ --with-epm-url=<URL> Specify the location of downloadable epm 3.7 source code. For example:
132 http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz
133 Note that epm is under GPL license.],
134[ EPM_URL="$withval"
132 http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz
133 or
134 http://www.msweet.org/files/project2/epm-3.7-source.tar.gz
135 Note that epm is under GPL license.
136],[ EPM_URL="$withval"
135])
136AC_ARG_WITH(package-format,
137[ --with-package-format specify package format(s) for OOo installsets.
138 Default is "normal" one of the OS/Distribution.
139
140 Usage: --with-package-format="foo bar"
141],,)
142AC_ARG_ENABLE(odk,

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

3536 EPM_URL=$with_epm_url
3537 AC_MSG_RESULT([epm will be downloaded and compiled in bootstrap])
3538 EPM=
3539 echo "EPM will be built."
3540 BUILD_EPM=YES
3541 BUILD_TYPE="$BUILD_TYPE EPM"
3542 else
3543 if test "$EPM" = "no" ; then
137])
138AC_ARG_WITH(package-format,
139[ --with-package-format specify package format(s) for OOo installsets.
140 Default is "normal" one of the OS/Distribution.
141
142 Usage: --with-package-format="foo bar"
143],,)
144AC_ARG_ENABLE(odk,

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

3538 EPM_URL=$with_epm_url
3539 AC_MSG_RESULT([epm will be downloaded and compiled in bootstrap])
3540 EPM=
3541 echo "EPM will be built."
3542 BUILD_EPM=YES
3543 BUILD_TYPE="$BUILD_TYPE EPM"
3544 else
3545 if test "$EPM" = "no" ; then
3544 AC_MSG_ERROR([no. Install ESP Package Manager (www.easysw.com/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)])
3546 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)])
3545 else
3546 # Gentoo has some epm which is something different...
3547 AC_MSG_CHECKING([whether the found epm is the right epm])
3548 if $EPM | grep "ESP Package Manager" >/dev/null 2>/dev/null; then
3549 AC_MSG_RESULT([yes])
3550 else
3547 else
3548 # Gentoo has some epm which is something different...
3549 AC_MSG_CHECKING([whether the found epm is the right epm])
3550 if $EPM | grep "ESP Package Manager" >/dev/null 2>/dev/null; then
3551 AC_MSG_RESULT([yes])
3552 else
3551 AC_MSG_ERROR([no. Install ESP Package Manager (www.easysw.com/epm) and/or specify the path to the right epm])
3553 AC_MSG_ERROR([no. Install ESP Package Manager (http://www.msweet.org/projects.php?Z2) and/or specify the path to the right epm])
3552 fi
3553 AC_MSG_CHECKING([epm version])
3554 EPM_VERSION=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
3555 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
3556 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
3557 AC_MSG_RESULT([OK, >= 3.7])
3558 BUILD_EPM=NO
3559 if test "$_os" = "Darwin"; then

--- 4146 unchanged lines hidden ---
3554 fi
3555 AC_MSG_CHECKING([epm version])
3556 EPM_VERSION=`$EPM | grep 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//`
3557 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \
3558 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then
3559 AC_MSG_RESULT([OK, >= 3.7])
3560 BUILD_EPM=NO
3561 if test "$_os" = "Darwin"; then

--- 4146 unchanged lines hidden ---