summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-01-18 15:38:42 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-02-05 19:34:01 -0600
commit45d211b59924fa7d0482858d26e3905f6b76e9a2 (patch)
tree733bba7e0c27550da659bcf55ba054de85106c0e
parent9d8d10cecc02c42ab1472023657423c8acbc7eac (diff)
migrate SYNAMIC_CRT and use_shl_version
-rw-r--r--config_host.mk.in2
-rw-r--r--configure.in6
-rwxr-xr-xset_soenv.in5
3 files changed, 7 insertions, 6 deletions
diff --git a/config_host.mk.in b/config_host.mk.in
index 123b74dd752b..3f0d58b5c4cf 100644
--- a/config_host.mk.in
+++ b/config_host.mk.in
@@ -71,6 +71,7 @@ export DOCDIR="@DOCDIR@"
export DOXYGEN="@DOXYGEN@"
export DO_FETCH_TARBALLS="@DO_FETCH_TARBALLS@"
export DPKG="@DPKG@"
+export DYNAMIC_CRT="@DYNAMIC_CRT@"
export ENABLE_CAIRO_CANVAS="@ENABLE_CAIRO_CANVAS@"
export ENABLE_CRASHDUMP="@ENABLE_CRASHDUMP@"
export ENABLE_DBUS="@ENABLE_DBUS@"
@@ -391,6 +392,7 @@ export TYPO_EXTENSION_PACK="@TYPO_EXTENSION_PACK@"
export UNIXWRAPPERNAME="@UNIXWRAPPERNAME@"
export UPD="@UPD@"
export USE_FT_EMBOLDEN="@USE_FT_EMBOLDEN@"
+export use_shl_version="@use_shl_version@"
export USE_XINERAMA="@USE_XINERAMA@"
export VALGRIND_CFLAGS="@VALGRIND_CFLAGS@"
export VALIDATOR_EXTENSION_PACK="@VALIDATOR_EXTENSION_PACK@"
diff --git a/configure.in b/configure.in
index 78071344bf42..10d002eaf089 100644
--- a/configure.in
+++ b/configure.in
@@ -215,7 +215,8 @@ cygwin*|interix*|mingw32*)
test_freetype=no
test_fontconfig=no
_os=WINNT
-
+ use_shl_version="TRUE"
+ DYNAMIC_CRT="TRUE"
# If the host OS matches "mingw32*", that means we are using the
# MinGW cross-compiler, because we don't see the point in building
# LibreOffice using MinGW on Windows. If you want to build on
@@ -362,6 +363,9 @@ if test "$_os" = "AIX"; then
fi
fi
+AC_SUBST(use_shl_version)
+AC_SUBST(DYNAMIC_CRT)
+
AC_SUBST(WITH_MINGW)
AC_SUBST(OSVERSION)
AC_SUBST(PTHREAD_CFLAGS)
diff --git a/set_soenv.in b/set_soenv.in
index ab1f277662b1..e0f6cfea337f 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -51,7 +51,6 @@ my ( $SOLAR_JAVA,
# Platform dependent constant values.
my (
$OUTPATH, $INPATH,
- $DYNAMIC_CRT, $use_shl_versions );
#
#-------------------------------------------
# IIc. Declaring the environment variables.
@@ -172,8 +171,6 @@ if ( $platform =~ m/cygwin|mingw32/ )
$DIRECTXSDK_LIB = PathFormat('@DIRECTXSDK_LIB@');
$USE_DIRECTX5 = "";
$DOTNET_FRAMEWORK_HOME = PathFormat('@DOTNET_FRAMEWORK_HOME@');
- $DYNAMIC_CRT = "TRUE";
- $use_shl_versions = "TRUE";
$wps = ';' if '@build_os@' eq 'cygwin'; # Windows style path seperator
}
elsif ( $platform =~ m/darwin/ )
@@ -729,8 +726,6 @@ ToFile( "TARFILE_LOCATION", $TARFILE_LOCATION, "e" );
# (c = comment, e = environment variable, a = alias )
ToFile( "Platform dependent constant values.", $empty, "c" );
ToFile( "SOLAR_JAVA", $SOLAR_JAVA, "e" );
-ToFile( "DYNAMIC_CRT", $DYNAMIC_CRT, "e" );
-ToFile( "use_shl_versions", $use_shl_versions, "e" );
#
# Writing the variables to file.