You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by bl...@apache.org on 2006/11/04 10:11:44 UTC
svn commit: r471144 - in /xml/security/trunk/c: Makefile.in bin/Makefile.in
configure configure.ac include/Makefile.in lib/Makefile.in
Author: blautenb
Date: Sat Nov 4 01:11:42 2006
New Revision: 471144
URL: http://svn.apache.org/viewvc?view=rev&rev=471144
Log:
Fix to properly handle Sun Workshop
Modified:
xml/security/trunk/c/Makefile.in
xml/security/trunk/c/bin/Makefile.in
xml/security/trunk/c/configure
xml/security/trunk/c/configure.ac
xml/security/trunk/c/include/Makefile.in
xml/security/trunk/c/lib/Makefile.in
Modified: xml/security/trunk/c/Makefile.in
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/Makefile.in?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/Makefile.in (original)
+++ xml/security/trunk/c/Makefile.in Sat Nov 4 01:11:42 2006
@@ -58,7 +58,8 @@
config/install-sh config/ltmain.sh config/missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
@@ -144,6 +145,9 @@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PTHREAD_CC = @PTHREAD_CC@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
+PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -157,6 +161,7 @@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
+acx_pthread_config = @acx_pthread_config@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
@@ -425,7 +430,7 @@
distdir: $(DISTFILES)
$(am__remove_distdir)
mkdir $(distdir)
- $(mkdir_p) $(distdir)/config $(distdir)/src/framework
+ $(mkdir_p) $(distdir)/config $(distdir)/m4 $(distdir)/src/framework
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
list='$(DISTFILES)'; for file in $$list; do \
Modified: xml/security/trunk/c/bin/Makefile.in
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/bin/Makefile.in?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/bin/Makefile.in (original)
+++ xml/security/trunk/c/bin/Makefile.in Sat Nov 4 01:11:42 2006
@@ -61,7 +61,8 @@
subdir = bin
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
@@ -208,6 +209,9 @@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PTHREAD_CC = @PTHREAD_CC@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
+PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -221,6 +225,7 @@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
+acx_pthread_config = @acx_pthread_config@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
Modified: xml/security/trunk/c/configure
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/configure?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/configure (original)
+++ xml/security/trunk/c/configure Sat Nov 4 01:11:42 2006
@@ -20770,7 +20770,7 @@
# who knows whether they'll stub that too in a future libc.) So,
# we'll just look for -pthreads and -lpthread first:
- acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
+ acx_pthread_flags="-mt -pthreads pthread -pthread $acx_pthread_flags"
;;
esac
@@ -21505,9 +21505,6 @@
lib_short_name="lib${PACKAGE_TARNAME}.so"
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
- # Assume SunCC
- PIC="-KPIC"
- PLATFORM_OPTIONS="-mt"
# Flags for warnings as errors
cxxflags_warnerror="-xwe -errtags"
# Flags for Optimise
@@ -21517,7 +21514,7 @@
fi
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DSOLARIS"
+ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DSOLARIS"
SHARED_OPTIONS="-G -DSOLARIS"
LINK_OPTIONS="-DSOLARIS"
;;
@@ -21528,7 +21525,7 @@
lib_major_name="lib${PACKAGE_TARNAME}.so.${package_lib_major}"
lib_short_name="lib${PACKAGE_TARNAME}.so"
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DFREEBSD"
+ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DFREEBSD"
SHARED_OPTIONS="-DNETBSD -shared"
LINK_OPTIONS="-DNETBSD"
@@ -21544,7 +21541,7 @@
lib_short_name="lib${PACKAGE_TARNAME}.so"
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DFREEBSD"
+ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DFREEBSD"
SHARED_OPTIONS="-DFREEBSD -shared -pthread -lc_r"
LINK_OPTIONS="-DFREEBSD -pthread -lc_r"
@@ -21558,12 +21555,11 @@
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
# Assume Intel CC
- PIC="-KPIC"
PLATFORM_OPTIONS="-w1 -mp -prec_div"
fi
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DLINUX"
+ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DLINUX"
SHARED_OPTIONS="-Wl,-soname,\$(LIBNAME) -DLINUX -shared"
LINK_OPTIONS="-DLINUX -ldl"
@@ -21611,11 +21607,10 @@
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
# Not sure if these will work - only tested with g++
- PIC="-KPIC"
PLATFORM_OPTIONS="-w1 -mp -prec_div"
fi
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC} -DMACOSX"
+ PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -DMACOSX"
SHARED_OPTIONS="-Xlinker -install_name -Xlinker \$(LIBNAME) -DMACOSX -dynamiclib"
LINK_OPTIONS="-DMACOSX"
;;
@@ -21633,11 +21628,7 @@
# First if we are using gcc then...
if test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} -Wall"
- if test "${PLATFORM}" != "CYGWIN" ; then
- PIC="-fPIC"
- PLATFORM_OPTIONS="${PLATFORM_OPTIONS} ${PIC}"
- fi
+ CXXFLAGS="${CXXFLAGS} ${PLATFORM_OPTIONS} -Wall"
if test "$enable_debug" = "yes" ; then
CXXFLAGS="${CXXFLAGS} -g"
@@ -21667,11 +21658,11 @@
fi
# How do we run the C++ compiler?
-CC1="${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"
+CC1="${CXX} ${CXXFLAGS}"
# Command to make the shared library
-MAKE_SHARED="${CXX} ${CXXFLAGS} ${SHARED_OPTIONS} ${PIC}"
+MAKE_SHARED="${CXX} ${CXXFLAGS} ${SHARED_OPTIONS}"
# Command to link an executable
-LINK="${CXX} ${CXXFLAGS} ${LINK_OPTIONS} ${PIC}"
+LINK="${CXX} ${CXXFLAGS} ${LINK_OPTIONS}"
# Default commands to create the library in the correct place
Modified: xml/security/trunk/c/configure.ac
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/configure.ac?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/configure.ac (original)
+++ xml/security/trunk/c/configure.ac Sat Nov 4 01:11:42 2006
@@ -183,9 +183,6 @@
lib_short_name="lib${PACKAGE_TARNAME}.so"
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
- # Assume SunCC
- PIC=["-KPIC"]
- PLATFORM_OPTIONS=["-mt"]
# Flags for warnings as errors
cxxflags_warnerror="-xwe -errtags"
# Flags for Optimise
@@ -195,7 +192,7 @@
fi
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DSOLARIS"]
+ PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -DSOLARIS"]
SHARED_OPTIONS="-G -DSOLARIS"
LINK_OPTIONS="-DSOLARIS"
;;
@@ -206,7 +203,7 @@
lib_major_name="lib${PACKAGE_TARNAME}.so.${package_lib_major}"
lib_short_name="lib${PACKAGE_TARNAME}.so"
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DFREEBSD"]
+ PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -DFREEBSD"]
SHARED_OPTIONS=["-DNETBSD -shared"]
LINK_OPTIONS=["-DNETBSD"]
@@ -222,7 +219,7 @@
lib_short_name="lib${PACKAGE_TARNAME}.so"
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DFREEBSD"]
+ PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -DFREEBSD"]
SHARED_OPTIONS="-DFREEBSD -shared -pthread -lc_r"
LINK_OPTIONS="-DFREEBSD -pthread -lc_r"
@@ -236,12 +233,11 @@
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
# Assume Intel CC
- PIC=["-KPIC"]
PLATFORM_OPTIONS=["-w1 -mp -prec_div"]
fi
# Should use -D_REENTRANT - but not yet OK
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DLINUX"]
+ PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -DLINUX"]
SHARED_OPTIONS=["-Wl,-soname,\$(LIBNAME) -DLINUX -shared"]
LINK_OPTIONS=["-DLINUX -ldl"]
@@ -289,11 +285,10 @@
if test "x${ac_cv_cxx_compiler_gnu}" != "xyes"; then
# Not sure if these will work - only tested with g++
- PIC=["-KPIC"]
PLATFORM_OPTIONS=["-w1 -mp -prec_div"]
fi
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC} -DMACOSX"]
+ PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -DMACOSX"]
SHARED_OPTIONS=["-Xlinker -install_name -Xlinker \$(LIBNAME) -DMACOSX -dynamiclib"]
LINK_OPTIONS=["-DMACOSX"]
;;
@@ -309,11 +304,7 @@
# First if we are using gcc then...
if test "x${ac_cv_cxx_compiler_gnu}" = "xyes" ; then
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} -Wall"]
- if test "${PLATFORM}" != "CYGWIN" ; then
- PIC=["-fPIC"]
- PLATFORM_OPTIONS=["${PLATFORM_OPTIONS} ${PIC}"]
- fi
+ CXXFLAGS=["${CXXFLAGS} ${PLATFORM_OPTIONS} -Wall"]
if test "$enable_debug" = "yes" ; then
CXXFLAGS="${CXXFLAGS} -g"
@@ -341,11 +332,11 @@
fi
# How do we run the C++ compiler?
-CC1=["${CXX} ${CXXFLAGS} ${PLATFORM_OPTIONS}"]
+CC1=["${CXX} ${CXXFLAGS}"]
# Command to make the shared library
-MAKE_SHARED=["${CXX} ${CXXFLAGS} ${SHARED_OPTIONS} ${PIC}"]
+MAKE_SHARED=["${CXX} ${CXXFLAGS} ${SHARED_OPTIONS}"]
# Command to link an executable
-LINK=["${CXX} ${CXXFLAGS} ${LINK_OPTIONS} ${PIC}"]
+LINK=["${CXX} ${CXXFLAGS} ${LINK_OPTIONS}"]
# Default commands to create the library in the correct place
Modified: xml/security/trunk/c/include/Makefile.in
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/include/Makefile.in?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/include/Makefile.in (original)
+++ xml/security/trunk/c/include/Makefile.in Sat Nov 4 01:11:42 2006
@@ -56,7 +56,8 @@
DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
@@ -132,6 +133,9 @@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PTHREAD_CC = @PTHREAD_CC@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
+PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -145,6 +149,7 @@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
+acx_pthread_config = @acx_pthread_config@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
Modified: xml/security/trunk/c/lib/Makefile.in
URL: http://svn.apache.org/viewvc/xml/security/trunk/c/lib/Makefile.in?view=diff&rev=471144&r1=471143&r2=471144
==============================================================================
--- xml/security/trunk/c/lib/Makefile.in (original)
+++ xml/security/trunk/c/lib/Makefile.in Sat Nov 4 01:11:42 2006
@@ -62,7 +62,8 @@
subdir = lib
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
-am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
+ $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
@@ -336,6 +337,9 @@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
+PTHREAD_CC = @PTHREAD_CC@
+PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
+PTHREAD_LIBS = @PTHREAD_LIBS@
RANLIB = @RANLIB@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
@@ -349,6 +353,7 @@
ac_ct_F77 = @ac_ct_F77@
ac_ct_RANLIB = @ac_ct_RANLIB@
ac_ct_STRIP = @ac_ct_STRIP@
+acx_pthread_config = @acx_pthread_config@
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@