remove last uses of config 'GUI' variable

Change-Id: I97188235f0b72b5b54423e05deeaf17c5c681048
Reviewed-on: https://gerrit.libreoffice.org/4188
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
This commit is contained in:
Matúš Kukan 2013-06-06 09:35:51 +02:00 committed by Andras Timar
parent 5f00be141d
commit ae1bb97f14
8 changed files with 11 additions and 36 deletions

View File

@ -207,7 +207,6 @@ export GTK_CFLAGS=$(gb_SPACE)@GTK_CFLAGS@
export GTK_LIBS=$(gb_SPACE)@GTK_LIBS@ export GTK_LIBS=$(gb_SPACE)@GTK_LIBS@
export GTK_PRINT_CFLAGS=$(gb_SPACE)@GTK_PRINT_CFLAGS@ export GTK_PRINT_CFLAGS=$(gb_SPACE)@GTK_PRINT_CFLAGS@
export GTK_PRINT_LIBS=$(gb_SPACE)@GTK_PRINT_LIBS@ export GTK_PRINT_LIBS=$(gb_SPACE)@GTK_PRINT_LIBS@
export GUI=@GUI@
export GUIBASE=@GUIBASE@ export GUIBASE=@GUIBASE@
export HARDLINKDELIVER=@HARDLINKDELIVER@ export HARDLINKDELIVER=@HARDLINKDELIVER@
export HAVE_CXX11=@HAVE_CXX11@ export HAVE_CXX11=@HAVE_CXX11@

View File

@ -3455,7 +3455,7 @@ AC_SUBST(x_OBJCXXFLAGS)
AC_SUBST(x_LDFLAGS) AC_SUBST(x_LDFLAGS)
# #
# determine CPU, CPUNAME, GUI, GUIBASE, ... # determine CPU, CPUNAME, GUIBASE, ...
# #
LIB64="lib" LIB64="lib"
SOLARINC= SOLARINC=
@ -3466,7 +3466,6 @@ aix*)
COM=GCC COM=GCC
CPU=P CPU=P
CPUNAME=POWERPC CPUNAME=POWERPC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=AIX OS=AIX
RTL_OS=AIX RTL_OS=AIX
@ -3479,7 +3478,6 @@ aix*)
cygwin*) cygwin*)
COM=MSC COM=MSC
GUI=WNT
GUIBASE=not-used GUIBASE=not-used
OS=WNT OS=WNT
RTL_OS=Windows RTL_OS=Windows
@ -3513,7 +3511,6 @@ cygwin*)
darwin*) darwin*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=not-used GUIBASE=not-used
OS=MACOSX OS=MACOSX
RTL_OS=MacOSX RTL_OS=MacOSX
@ -3563,7 +3560,6 @@ darwin*)
dragonfly*) dragonfly*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=DRAGONFLY OS=DRAGONFLY
RTL_OS=DragonFly RTL_OS=DragonFly
@ -3592,7 +3588,6 @@ dragonfly*)
freebsd*) freebsd*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
RTL_OS=FreeBSD RTL_OS=FreeBSD
OS=FREEBSD OS=FREEBSD
@ -3622,7 +3617,6 @@ freebsd*)
kfreebsd*) kfreebsd*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=LINUX OS=LINUX
RTL_OS=kFreeBSD RTL_OS=kFreeBSD
@ -3654,7 +3648,6 @@ kfreebsd*)
linux-gnu*) linux-gnu*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=LINUX OS=LINUX
RTL_OS=Linux RTL_OS=Linux
@ -3798,7 +3791,6 @@ linux-gnu*)
linux-android*) linux-android*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=not-used GUIBASE=not-used
OS=ANDROID OS=ANDROID
RTL_OS=Android RTL_OS=Android
@ -3836,7 +3828,6 @@ linux-android*)
mingw*) mingw*)
COM=GCC COM=GCC
GUI=WNT
GUIBASE=not-used GUIBASE=not-used
OS=WNT OS=WNT
RTL_OS=Windows RTL_OS=Windows
@ -3871,7 +3862,6 @@ mingw*)
*netbsd*) *netbsd*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=NETBSD OS=NETBSD
RTL_OS=NetBSD RTL_OS=NetBSD
@ -3912,7 +3902,6 @@ mingw*)
openbsd*) openbsd*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=OPENBSD OS=OPENBSD
RTL_OS=OpenBSD RTL_OS=OpenBSD
@ -3945,7 +3934,6 @@ openbsd*)
solaris*) solaris*)
COM=GCC COM=GCC
GUI=UNX
GUIBASE=unx GUIBASE=unx
OS=SOLARIS OS=SOLARIS
RTL_OS=Solaris RTL_OS=Solaris
@ -4011,7 +3999,6 @@ AC_SUBST(CPUNAME)
AC_SUBST(RTL_OS) AC_SUBST(RTL_OS)
AC_SUBST(RTL_ARCH) AC_SUBST(RTL_ARCH)
AC_SUBST(EPM_FLAGS) AC_SUBST(EPM_FLAGS)
AC_SUBST(GUI)
AC_SUBST(GUIBASE) AC_SUBST(GUIBASE)
AC_SUBST(INPATH) AC_SUBST(INPATH)
AC_SUBST([INSTDIR]) AC_SUBST([INSTDIR])
@ -4127,7 +4114,7 @@ if test "$cross_compiling" = "yes"; then
cp configure CONF-FOR-BUILD cp configure CONF-FOR-BUILD
test -d config_build && cp -p config_build/*.h CONF-FOR-BUILD/config_host test -d config_build && cp -p config_build/*.h CONF-FOR-BUILD/config_host
( (
unset COM GUI GUIBASE OS CPU CPUNAME unset COM GUIBASE OS CPU CPUNAME
unset CC CXX SYSBASE CFLAGS unset CC CXX SYSBASE CFLAGS
unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP unset AR NM OBJDUMP PKG_CONFIG RANLIB STRIP
unset CPPUNIT_CFLAGS CPPUNIT_LIBS unset CPPUNIT_CFLAGS CPPUNIT_LIBS

View File

@ -45,9 +45,7 @@ $(eval $(call gb_Library_add_defs,npsoplugin,\
)) ))
endif endif
endif # GUI=UNX else ifeq ($(OS),WNT)
ifeq ($(OS),WNT)
$(eval $(call gb_Library_use_static_libraries,npsoplugin,\ $(eval $(call gb_Library_use_static_libraries,npsoplugin,\
ooopathutils \ ooopathutils \
@ -95,7 +93,7 @@ endif
$(eval $(call gb_Library_set_nativeres,npsoplugin,npsoplugin/npsoplugin)) $(eval $(call gb_Library_set_nativeres,npsoplugin,npsoplugin/npsoplugin))
endif # GUI=WNT endif
$(eval $(call gb_Library_add_exception_objects,npsoplugin,\ $(eval $(call gb_Library_add_exception_objects,npsoplugin,\
extensions/source/nsplugin/source/npshell \ extensions/source/nsplugin/source/npshell \

View File

@ -55,11 +55,8 @@ $(eval $(call gb_Library_add_exception_objects,pl,\
extensions/source/plugin/win/winmgr \ extensions/source/plugin/win/winmgr \
extensions/source/plugin/win/sysplug \ extensions/source/plugin/win/sysplug \
)) ))
endif # GUI=WNT
ifneq ($(OS),WNT) else ifeq ($(OS),MACOSX)
ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_add_objcxxobjects,pl,\ $(eval $(call gb_Library_add_objcxxobjects,pl,\
extensions/source/plugin/aqua/macmgr \ extensions/source/plugin/aqua/macmgr \
@ -72,7 +69,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,pl,\
CoreFoundation \ CoreFoundation \
)) ))
else # OS!=MACOSX else
ifeq ($(ENABLE_GTK),TRUE) ifeq ($(ENABLE_GTK),TRUE)
$(eval $(call gb_Library_add_defs,pl,\ $(eval $(call gb_Library_add_defs,pl,\
@ -96,9 +93,7 @@ $(eval $(call gb_Library_add_libs,pl,\
-lX11 \ -lX11 \
)) ))
endif # OS=MACOSX endif
endif # GUI=UNX
$(eval $(call gb_Library_use_libraries,pl,\ $(eval $(call gb_Library_use_libraries,pl,\
tk \ tk \

View File

@ -46,12 +46,11 @@ HelpCompiler::HelpCompiler(StreamTable &in_streamTable, const fs::path &in_input
resEmbStylesheet(in_resEmbStylesheet), bExtensionMode( in_bExtensionMode ) resEmbStylesheet(in_resEmbStylesheet), bExtensionMode( in_bExtensionMode )
{ {
xmlKeepBlanksDefaultValue = 0; xmlKeepBlanksDefaultValue = 0;
char* guitmp = getenv("GUI"); char* os = getenv("OS");
if (guitmp) if (os)
{ {
gui = (strcmp(guitmp, "UNX") ? gui : "UNIX"); gui = (strcmp(os, "WNT") ? "UNIX" : "WIN");
gui = (strcmp(guitmp, "MAC") ? gui : "MAC"); gui = (strcmp(os, "MACOSX") ? gui : "MAC");
gui = (strcmp(guitmp, "WNT") ? gui : "WIN");
} }
} }

View File

@ -58,7 +58,6 @@ $(readlicense_oo_README_PATTERN) : \
$(call gb_ExternalExecutable_get_command,xsltproc) --nonet --novalid -o $@.out \ $(call gb_ExternalExecutable_get_command,xsltproc) --nonet --novalid -o $@.out \
--stringparam com1 $(COM) \ --stringparam com1 $(COM) \
--stringparam cp1 $(CPUNAME) \ --stringparam cp1 $(CPUNAME) \
--stringparam gui1 $(GUI) \
--stringparam lang1 $(word 2,$(subst _, ,$(basename $(notdir $@)))) \ --stringparam lang1 $(word 2,$(subst _, ,$(basename $(notdir $@)))) \
--stringparam os1 $(OS) \ --stringparam os1 $(OS) \
--stringparam type text \ --stringparam type text \

View File

@ -6,7 +6,6 @@
<!-- inputvariable declaration --> <!-- inputvariable declaration -->
<xsl:param name="os1"/> <xsl:param name="os1"/>
<xsl:param name="gui1"/>
<xsl:param name="cp1"/> <xsl:param name="cp1"/>
<xsl:param name="com1"/> <xsl:param name="com1"/>
<xsl:param name="lang1"/> <xsl:param name="lang1"/>

View File

@ -266,7 +266,6 @@ sub check_system_environment
my @environmentvariables = qw( my @environmentvariables = qw(
SOLARVERSION SOLARVERSION
GUI
WORK_STAMP WORK_STAMP
OUTPATH OUTPATH
LOCAL_OUT LOCAL_OUT