Kaydet (Commit) ce3aded5 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS configure12 (1.115.4); FILE MERGED

2005/08/26 20:17:36 rene 1.115.4.4: missing -
2005/08/26 19:53:57 rene 1.115.4.3: remove bogus RPM=, thanks Pavel
actually add DPKG and PKGMK to set_soenv.in
2005/08/26 18:54:53 rene 1.115.4.2: #i53840# add help for --with-package-format
2005/08/25 10:42:12 rene 1.115.4.1: #i53640# support > 1 values in --with-package-format
üst e65294e8
#! /bin/sh
# From configure.in Revision: 1.133 .
# From configure.in Revision: 1.134 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59.
#
......@@ -992,6 +992,11 @@ Optional Packages:
for specific distributions where the fonts are known
to be already available
--with-package-format specify package format(s) for OOo installsets.
Default is "normal" one of the OS/Distribution.
Usage: --with-package-format="foo bar"
--with-system-stdlibs use libstdc++/libgcc_s already on system
--with-system-mspack use libmspack already installed on system
......@@ -1747,6 +1752,12 @@ if test "${enable_epm+set}" = set; then
else
enable_epm="yes"
fi;
# Check whether --with-package-format or --without-package-format was given.
if test "${with_package_format+set}" = set; then
withval="$with_package_format"
fi;
# Check whether --enable-odk or --disable-odk was given.
if test "${enable_odk+set}" = set; then
enableval="$enable_odk"
......@@ -8509,14 +8520,12 @@ echo "$as_me: error: unknown system" >&2;}
{ (exit 1); exit 1; }; }
esac
if test -n "$with_package_format"; then
case "$with_package_format" in
aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable)
PKGFORMAT="$with_package_format"
echo "$as_me:$LINENO: result: $PKGFORMAT" >&5
echo "${ECHO_T}$PKGFORMAT" >&6
for i in $with_package_format; do
case "$i" in
aix | bsd | deb | inst | tardist | osx | pkg | rpm | setld | native | portable)
;;
*)
{ { echo "$as_me:$LINENO: error: unsupported format $with_package_format. Supported by EPM are:
{ { echo "$as_me:$LINENO: error: unsupported format $i. Supported by EPM are:
aix - AIX software distribution
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
depot or swinstall - HP-UX software distribution
......@@ -8529,7 +8538,7 @@ setld - Tru64 (setld) software distribution
native - \"Native\" software distribution for the platform
portable - Portable software distribution
" >&5
echo "$as_me: error: unsupported format $with_package_format. Supported by EPM are:
echo "$as_me: error: unsupported format $i. Supported by EPM are:
aix - AIX software distribution
bsd - FreeBSD, NetBSD, or OpenBSD software distribution
depot or swinstall - HP-UX software distribution
......@@ -8544,14 +8553,34 @@ portable - Portable software distribution
" >&2;}
{ (exit 1); exit 1; }; }
;;
esac
else
echo "$as_me:$LINENO: result: $PKGFORMAT" >&5
esac
done
PKGFORMAT="$with_package_format"
fi
echo "$as_me:$LINENO: result: $PKGFORMAT" >&5
echo "${ECHO_T}$PKGFORMAT" >&6
if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null; then
echo "$as_me:$LINENO: checking for rpm" >&5
echo $ECHO_N "checking for rpm... $ECHO_C" >&6
for a in "$RPM" rpmbuild rpm; do
$a --usage >/dev/null 2> /dev/null
if test $? -eq 0; then
RPM=$a
break
fi
done
if test -z "$RPM" ; then
{ { echo "$as_me:$LINENO: error: not found" >&5
echo "$as_me: error: not found" >&2;}
{ (exit 1); exit 1; }; }
else
RPM_PATH=`which $RPM`
echo "$as_me:$LINENO: result: $RPM_PATH" >&5
echo "${ECHO_T}$RPM_PATH" >&6
fi
fi
case "$PKGFORMAT" in
deb)
# Extract the first word of "dpkg", so it can be a program name with args.
if echo "$PKGFORMAT" | $EGREP deb 2>&1 >/dev/null; then
# Extract the first word of "dpkg", so it can be a program name with args.
set dummy dpkg; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
......@@ -8591,33 +8620,32 @@ else
echo "${ECHO_T}no" >&6
fi
if test "$DPKG" = "no"; then
{ { echo "$as_me:$LINENO: error: dpkg needed for deb creation. Install dpkg." >&5
if test "$DPKG" = "no"; then
{ { echo "$as_me:$LINENO: error: dpkg needed for deb creation. Install dpkg." >&5
echo "$as_me: error: dpkg needed for deb creation. Install dpkg." >&2;}
{ (exit 1); exit 1; }; }
fi
RPM=
;;
osx)
if test "$_os" = "Darwin"; then
echo "$as_me:$LINENO: checking for PackageMaker availability" >&5
fi
fi
if echo "PKGFORMAT" | $EGREP osx 2>&1 >/dev/null; then
if test "$_os" = "Darwin"; then
echo "$as_me:$LINENO: checking for PackageMaker availability" >&5
echo $ECHO_N "checking for PackageMaker availability... $ECHO_C" >&6
if ! test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then
{ { echo "$as_me:$LINENO: error: not installed. Please install Apples Dev Tools" >&5
if ! test -x /Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker; then
{ { echo "$as_me:$LINENO: error: not installed. Please install Apples Dev Tools" >&5
echo "$as_me: error: not installed. Please install Apples Dev Tools" >&2;}
{ (exit 1); exit 1; }; }
else
echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
fi
else
{ { echo "$as_me:$LINENO: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&5
echo "$as_me:$LINENO: result: ok" >&5
echo "${ECHO_T}ok" >&6
fi
else
{ { echo "$as_me:$LINENO: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&5
echo "$as_me: error: PackageMaker needed to build OSX packages and you are not on OSX..." >&2;}
{ (exit 1); exit 1; }; }
fi
RPM=
;;
rpm | pkg)
fi
fi
if echo "$PKGFORMAT" | $EGREP rpm 2>&1 >/dev/null || \
echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
if test "$EPM" != "no" && test "$EPM" != "internal"; then
if test "`echo $EPM_VERSION | cut -d'.' -f1`" -lt "4"; then
echo "$as_me:$LINENO: checking whether epm is patched for OOos needs" >&5
......@@ -8628,7 +8656,7 @@ echo "${ECHO_T}yes" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
if test "$PKGTYPE" = "rpm"; then
if echo "$PKGFORMAT" | grep -q rpm; then
_pt="rpm"
{ echo "$as_me:$LINENO: WARNING: the rpms will need to be installed with --nodeps" >&5
echo "$as_me: WARNING: the rpms will need to be installed with --nodeps" >&2;}
......@@ -8650,27 +8678,9 @@ echo "$as_me: WARNING: if you want to make sure installation without --nodeps an
fi
fi
fi
if test "$PKGFORMAT" = "rpm"; then
echo "$as_me:$LINENO: checking for rpm" >&5
echo $ECHO_N "checking for rpm... $ECHO_C" >&6
for a in "$RPM" rpmbuild rpm; do
$a --usage >/dev/null 2> /dev/null
if test $? -eq 0; then
RPM=$a
break
fi
done
if test -z "$RPM" ; then
{ { echo "$as_me:$LINENO: error: not found" >&5
echo "$as_me: error: not found" >&2;}
{ (exit 1); exit 1; }; }
else
echo "$as_me:$LINENO: result: $RPM" >&5
echo "${ECHO_T}$RPM" >&6
fi
fi
if test "$PKGFORMAT" = "pkg"; then
# Extract the first word of "pkgmk", so it can be a program name with args.
fi
if echo "$PKGFORMAT" | $EGREP pkg 2>&1 >/dev/null; then
# Extract the first word of "pkgmk", so it can be a program name with args.
set dummy pkgmk; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
......@@ -8710,15 +8720,14 @@ else
echo "${ECHO_T}no" >&6
fi
if test "$PKGMK" = "no"; then
{ { echo "$as_me:$LINENO: error: pkgmk needed for Solaris pkg creation. Install it." >&5
if test "$PKGMK" = "no"; then
{ { echo "$as_me:$LINENO: error: pkgmk needed for Solaris pkg creation. Install it." >&5
echo "$as_me: error: pkgmk needed for Solaris pkg creation. Install it." >&2;}
{ (exit 1); exit 1; }; }
fi
RPM=
fi
;;
esac
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment