| configure.ac (6fdc6058) | configure.ac (b48104e3) |
|---|---|
| 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 --- 115 unchanged lines hidden (view full) --- 124],,enable_epm="yes") 125AC_ARG_WITH(epm, 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, | 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 --- 115 unchanged lines hidden (view full) --- 124],,enable_epm="yes") 125AC_ARG_WITH(epm, 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 3.7 source code. For example: | 132[ --with-epm-url=<URL> Specify the location of downloadable epm source code. For example: |
| 133 http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz 134 or 135 http://www.msweet.org/files/project2/epm-3.7-source.tar.gz | 133 http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz 134 or 135 http://www.msweet.org/files/project2/epm-3.7-source.tar.gz |
| 136 Note that epm is under GPL license. | 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 OOo installsets. 141 Default is "normal" one of the OS/Distribution. 142 143 Usage: --with-package-format="foo bar" 144],,) --- 3163 unchanged lines hidden (view full) --- 3308 fi 3309 AC_MSG_CHECKING([epm version]) 3310 EPM_VERSION=`$EPM | $GREP 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//` 3311 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \ 3312 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then 3313 AC_MSG_RESULT([OK, >= 3.7]) 3314 BUILD_EPM=NO 3315 if test "$_os" = "Darwin"; then | 137],[ EPM_URL="$withval" 138]) 139AC_ARG_WITH(package-format, 140[ --with-package-format specify package format(s) for OOo installsets. 141 Default is "normal" one of the OS/Distribution. 142 143 Usage: --with-package-format="foo bar" 144],,) --- 3163 unchanged lines hidden (view full) --- 3308 fi 3309 AC_MSG_CHECKING([epm version]) 3310 EPM_VERSION=`$EPM | $GREP 'ESP Package Manager' | cut -d' ' -f4 | $SED -e s/v//` 3311 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "3" || \ 3312 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "3" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "7"; then 3313 AC_MSG_RESULT([OK, >= 3.7]) 3314 BUILD_EPM=NO 3315 if test "$_os" = "Darwin"; then |
| 3316 AC_MSG_CHECKING([checking if OS X pkgbuild is supported]) 3317 if test "`echo $EPM_VERSION | cut -d'.' -f1`" -gt "4" || \ 3318 test "`echo $EPM_VERSION | cut -d'.' -f1`" -eq "4" -a "`echo $EPM_VERSION | cut -d'.' -f2`" -ge "3"; then 3319 AC_MSG_RESULT([OK, >= 4.3]) 3320 else |
|
| 3316 AC_MSG_CHECKING([which PackageMaker EPM thinks to use]) | 3321 AC_MSG_CHECKING([which PackageMaker EPM thinks to use]) |
| 3317 _pm=`strings $EPM | $GREP PackageMaker | cut -d" " -f1` 3318 if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then 3319 AC_MSG_ERROR([$_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker)]) 3320 elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then 3321 AC_MSG_RESULT([$_pm, ok]) 3322 else # we never should get here, but go safe 3323 AC_MSG_ERROR([$_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker)]) 3324 fi | 3322 _pm=`strings $EPM | $GREP PackageMaker | cut -d" " -f1` 3323 if test "$_pm" = "/Developer/Applications/PackageMaker.app/Contents/MacOS/PackageMaker"; then 3324 AC_MSG_ERROR([$_pm; PackageMaker expected in wrong path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker)]) 3325 elif test "$_pm" = "/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker"; then 3326 AC_MSG_RESULT([$_pm, ok]) 3327 else # we never should get here, but go safe 3328 AC_MSG_ERROR([$_pm; PackageMaker expected in unknown path. Either patch your epm with the right path (/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker)]) 3329 fi 3330 fi |
| 3325 fi 3326 else 3327 AC_MSG_ERROR([too old. epm >= 3.7 is required.]) 3328 fi 3329 fi 3330 fi 3331 fi 3332 --- 3930 unchanged lines hidden --- | 3331 fi 3332 else 3333 AC_MSG_ERROR([too old. epm >= 3.7 is required.]) 3334 fi 3335 fi 3336 fi 3337 fi 3338 --- 3930 unchanged lines hidden --- |