setsdkenv_unix.sh.in (789d489d) setsdkenv_unix.sh.in (ca3b41fa)
1#! /bin/sh
2###############################################################
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

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

167
168 directoryname=macosx
169 comid=s5abi
170 soext=dylib
171 exampleout=MACOSXexample.out
172 platform=MacOSX
173 stldebug=_stldebug
174 DYLD_LIBRARY_PATH=/usr/lib:${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${DYLD_LIBRARY_PATH}
1#! /bin/sh
2###############################################################
3#
4# Licensed to the Apache Software Foundation (ASF) under one
5# or more contributor license agreements. See the NOTICE file
6# distributed with this work for additional information
7# regarding copyright ownership. The ASF licenses this file
8# to you under the Apache License, Version 2.0 (the

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

167
168 directoryname=macosx
169 comid=s5abi
170 soext=dylib
171 exampleout=MACOSXexample.out
172 platform=MacOSX
173 stldebug=_stldebug
174 DYLD_LIBRARY_PATH=/usr/lib:${OO_SDK_OUT}/${directoryname}/lib:${OO_SDK_OUT}/${exampleout}/lib:${OO_SDK_OFFICE_LIB_DIR}:.:${DYLD_LIBRARY_PATH}
175 # Below for https://bz.apache.org/ooo/show_bug.cgi?id=127965
176 PATH=${PATH}:/usr/local/bin
175 export DYLD_LIBRARY_PATH
176 ;;
177
178 linux-gnu)
179 if [ -n "$OO_SDK_CPP_HOME" ]
180 then
181 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
182 export SDK_GXX_INCLUDE_PATH

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

339echo " * cat = $OO_SDK_CAT_HOME"
340echo " * sed = $OO_SDK_SED_HOME"
341echo " * C++ Compiler = $OO_SDK_CPP_HOME"
342echo " * Java = $OO_SDK_JAVA_HOME"
343echo " * Boost = $OO_SDK_BOOST_HOME"
344echo " * SDK Output directory = $OO_SDK_OUT"
345echo " * Auto deployment = $SDK_AUTO_DEPLOYMENT"
346echo " *"
177 export DYLD_LIBRARY_PATH
178 ;;
179
180 linux-gnu)
181 if [ -n "$OO_SDK_CPP_HOME" ]
182 then
183 SDK_GXX_INCLUDE_PATH=`echo "#include <cstring>" | ${OO_SDK_CPP_HOME}/g++ -E -xc++ - | sed -n '/.*1*"\(.*\)\/cstring".*/s//\1/p' | head -n 1`
184 export SDK_GXX_INCLUDE_PATH

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

341echo " * cat = $OO_SDK_CAT_HOME"
342echo " * sed = $OO_SDK_SED_HOME"
343echo " * C++ Compiler = $OO_SDK_CPP_HOME"
344echo " * Java = $OO_SDK_JAVA_HOME"
345echo " * Boost = $OO_SDK_BOOST_HOME"
346echo " * SDK Output directory = $OO_SDK_OUT"
347echo " * Auto deployment = $SDK_AUTO_DEPLOYMENT"
348echo " *"
349echo " * PATH = $PATH"
350if [ "${platform}" = "MacOSX" ]
351then
352 echo " * DYLD_LIBRARY_PATH = $DYLD_LIBRARY_PATH"
353else
354 echo " * LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
355fi
356echo " *"
347echo " ************************************************************************"
348
349echo "]2;Shell prepared with the SDK environment"
350
357echo " ************************************************************************"
358
359echo "]2;Shell prepared with the SDK environment"
360