peiyongz 2004/07/09 08:47:57
Modified: c/samples configure configure.in Makefile.in Makefile.incl
runConfigure
Log:
Build on HP-Itanium, aCC A.05.52
Revision Changes Path
1.32 +2 -1 xml-xerces/c/samples/configure
Index: configure
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/configure,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- configure 15 Mar 2004 17:15:19 -0000 1.31
+++ configure 9 Jul 2004 15:47:57 -0000 1.32
@@ -1387,7 +1387,7 @@
compiler=${CXX}
-
+cxxver=${CXXVER}
# prefix=${prefix}
@@ -1590,6 +1590,7 @@
[EMAIL PROTECTED]@%$host_os%g
[EMAIL PROTECTED]@%$platform%g
[EMAIL PROTECTED]@%$compiler%g
[EMAIL PROTECTED]@%$cxxver%g
[EMAIL PROTECTED]@%$GXX%g
[EMAIL PROTECTED]@%$GCC%g
[EMAIL PROTECTED]@%$cxxflags%g
1.28 +3 -0 xml-xerces/c/samples/configure.in
Index: configure.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/configure.in,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- configure.in 15 Mar 2004 17:06:06 -0000 1.27
+++ configure.in 9 Jul 2004 15:47:57 -0000 1.28
@@ -66,6 +66,9 @@
AC_SUBST(GXX)
AC_SUBST(GCC)
+cxxver=${CXXVER}
+AC_SUBST(cxxver)
+
# prefix=${prefix}
AC_SUBST(prefix)
1.21 +2 -1 xml-xerces/c/samples/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/Makefile.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Makefile.in 11 Feb 2004 21:22:05 -0000 1.20
+++ Makefile.in 9 Jul 2004 15:47:57 -0000 1.21
@@ -77,6 +77,7 @@
PLATFORM = @platform@
COMPILER = @compiler@
+CXXVER = @cxxver@
GCC = @GCC@
GXX = @GXX@
CXXFLAGS = @cxxflags@
1.61 +14 -3 xml-xerces/c/samples/Makefile.incl
Index: Makefile.incl
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/Makefile.incl,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- Makefile.incl 15 Mar 2004 17:06:06 -0000 1.60
+++ Makefile.incl 9 Jul 2004 15:47:57 -0000 1.61
@@ -267,10 +267,21 @@
#================= HP SPECIFIC OPTIONS ===========================
ifeq (${PLATFORM}, HPUX)
ifeq (${COMPILER}, aCC)
- CMP = -c +DAportable $(CXXFLAGS) -D_HP_UX -DHPaCC -w +z
+ ifeq (${CXXVER}, aCC05)
+ CMP = -c +DAportable $(CXXFLAGS) -D_HP_UX -DHPaCC -w +z -mt
+ else
+ CMP = -c +DAportable $(CXXFLAGS) -D_HP_UX -DHPaCC -w +z
+ endif
+
CC = aCC
LINK = ${CC} -Wl,+s -Wl,+b,. ${LDFLAGS}
- PLATFORM_LIB_LINK_OPTIONS=-L/opt/aCC/lib -L/usr/ccs/lib -lpthread
+
+ ifeq (${CXXVER}, aCC05)
+ PLATFORM_LIB_LINK_OPTIONS=-L/opt/aCC/lib -L/usr/ccs/lib -mt
+ else
+ PLATFORM_LIB_LINK_OPTIONS=-L/opt/aCC/lib -L/usr/ccs/lib -lpthread
+ endif
+
SHLIBSUFFIX=.sl
else
ifneq (${DEBUG}, 1)
1.43 +22 -5 xml-xerces/c/samples/runConfigure
Index: runConfigure
===================================================================
RCS file: /home/cvs/xml-xerces/c/samples/runConfigure,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- runConfigure 15 Mar 2004 17:06:58 -0000 1.42
+++ runConfigure 9 Jul 2004 15:47:57 -0000 1.43
@@ -90,7 +90,7 @@
[required: no default]"
echo " -c <C compiler name> (e.g. gcc, cc, xlc_r, icc or ecc)"
echo " [default is make default; cc for gnu make]"
- echo " -x <C++ compiler name> (e.g. g++, CC, aCC, xlC_r, icc or ecc)"
+ echo " -x <C++ compiler name> (e.g. g++, CC, aCC, aCC05, xlC_r, icc or
ecc)"
echo " [default is make default; g++ for gnu make]"
echo " -d (specifies that you want to build debug version) [default: not
debug]"
echo " -r <thread option> can be 'pthread' or 'dce'
@@ -402,8 +402,18 @@
bitstobuildDefines=" $bitstobuildDefines -q64 -qwarn64 "
bitstobuildLink=" -q64 -qwarn64 " ;;
hp-11)
- bitstobuildDefines=" $bitstobuildDefines +DA2.0W "
- bitstobuildLink=" +DA2.0W " ;;
+ if test $cppcompiler; then
+ case $cppcompiler in
+ aCC)
+ bitstobuildDefines=" $bitstobuildDefines +DA2.0W "
+ bitstobuildLink=" +DA2.0W " ;;
+ aCC05)
+ bitstobuildDefines=" $bitstobuildDefines +DD64 "
+ bitstobuildLink=" +DD64 " ;;
+ *)
+ ;;
+ esac
+ fi ;;
linux)
bitstobuildDefines=" $bitstobuildDefines " ;;
*)
@@ -461,8 +471,13 @@
#
case $cppcompiler in
xlC* | xlc* | g++ | c++ | cc | CC | aCC | icc | ICC | cxx | ecc)
+ CXX="$cppcompiler"
;;
+ aCC05)
+ CXX="aCC"
+ CXXVER="aCC05"
+ ;;
'')
echo "C++ compiler not specified...we'll assume that configure will find
it..."
;;
@@ -475,9 +490,10 @@
CC="$ccompiler"
export CC
-CXX="$cppcompiler"
export CXX
+export CXXVER
+
#
# Set the extra C and C++ compiler flags
#
@@ -526,6 +542,7 @@
echo export BITSTOBUILD=\"$BITSTOBUILD\"
echo export CC=\"$CC\"
echo export CXX=\"$CXX\"
+echo export CXXVER=\"$CXXVER\"
echo export CXXFLAGS=\"$CXXFLAGS\"
echo export CFLAGS=\"$CFLAGS\"
echo export LDFLAGS=\"$LDFLAGS\"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]