Commit 498614a0 authored by Alexey Kopytov's avatar Alexey Kopytov

Automerge.

parents faaa9e08 e544285d
...@@ -1756,7 +1756,7 @@ esac ...@@ -1756,7 +1756,7 @@ esac
# Build optimized or debug version ? # Build optimized or debug version ?
# First check for gcc and g++ # First check for gcc and g++
if test "$ac_cv_prog_gcc" = "yes" if test "$GCC" = "yes"
then then
DEBUG_CFLAGS="-g" DEBUG_CFLAGS="-g"
DEBUG_OPTIMIZE_CC="-O" DEBUG_OPTIMIZE_CC="-O"
...@@ -1764,9 +1764,16 @@ then ...@@ -1764,9 +1764,16 @@ then
else else
DEBUG_CFLAGS="-g" DEBUG_CFLAGS="-g"
DEBUG_OPTIMIZE_CC="" DEBUG_OPTIMIZE_CC=""
case $SYSTEM_TYPE in
*solaris*)
OPTIMIZE_CFLAGS="-O1"
;;
*)
OPTIMIZE_CFLAGS="-O" OPTIMIZE_CFLAGS="-O"
;;
esac
fi fi
if test "$ac_cv_prog_cxx_g" = "yes" if test "$GXX" = "yes"
then then
DEBUG_CXXFLAGS="-g" DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX="-O" DEBUG_OPTIMIZE_CXX="-O"
...@@ -1774,7 +1781,14 @@ then ...@@ -1774,7 +1781,14 @@ then
else else
DEBUG_CXXFLAGS="-g" DEBUG_CXXFLAGS="-g"
DEBUG_OPTIMIZE_CXX="" DEBUG_OPTIMIZE_CXX=""
case $SYSTEM_TYPE in
*solaris*)
OPTIMIZE_CXXFLAGS="-O1"
;;
*)
OPTIMIZE_CXXFLAGS="-O" OPTIMIZE_CXXFLAGS="-O"
;;
esac
fi fi
if expr "$SYSTEM_TYPE" : ".*netware.*" > /dev/null; then if expr "$SYSTEM_TYPE" : ".*netware.*" > /dev/null; then
......
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