[Pkg-ace-commits] [pkg-ace] r569 - trunk/debian/patches
tgg at alioth.debian.org
tgg at alioth.debian.org
Thu Mar 13 21:49:44 UTC 2008
Author: tgg
Date: 2008-03-13 21:49:43 +0000 (Thu, 13 Mar 2008)
New Revision: 569
Added:
trunk/debian/patches/14-autoconf-tao.dpatch
Modified:
trunk/debian/patches/00list
Log:
new patch to build TAO with visibility=hidden
Modified: trunk/debian/patches/00list
===================================================================
--- trunk/debian/patches/00list 2008-03-12 12:41:35 UTC (rev 568)
+++ trunk/debian/patches/00list 2008-03-13 21:49:43 UTC (rev 569)
@@ -10,6 +10,7 @@
11-fix-fox-reactor
12-fix-fox-include
13-fix-fox-errors
+14-autoconf-tao
15-fix-fltk-include
34-bts386713
50-prepatch-dummy-mark
Added: trunk/debian/patches/14-autoconf-tao.dpatch
===================================================================
--- trunk/debian/patches/14-autoconf-tao.dpatch (rev 0)
+++ trunk/debian/patches/14-autoconf-tao.dpatch 2008-03-13 21:49:43 UTC (rev 569)
@@ -0,0 +1,54 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 14-autoconf-tao.dpatch by Thomas Girard <thomas.g.girard at free.fr>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: enhance TAO autoconf support
+
+ at DPATCH@
+--- ACE_wrappers.orig/TAO/configure.ac
++++ ACE_wrappers/TAO/configure.ac
+@@ -124,10 +124,6 @@
+ AC_PROG_CXX
+ AC_PROG_CXXCPP
+
+-dnl Configure libtool
+-AC_DISABLE_STATIC
+-AC_PROG_LIBTOOL
+-
+ ACE_CHECK_THREADS
+
+ dnl Set the test language as C++
+@@ -190,6 +186,33 @@
+ TAO_ENABLE_EXAMPLES
+ TAO_ENABLE_TESTS
+
++dnl The user's/default C++ flags are stored in "CXXFLAGS." We use
++dnl the variable "ACE_CXXFLAGS" to set the C++ flags we want. At the end
++dnl of the configuration process we combine ACE_CXXFLAGS and CXXFLAGS
++dnl into CXXFLAGS (e.g., CXXFLAGS="$ACE_CXXFLAGS $CXXFLAGS"). CXXFLAGS
++dnl goes after ACE_CXXFLAGS so that the user's C++ flag command line
++dnl choices always override the configure script's choices.
++ACE_CXXFLAGS=""
++ACE_CFLAGS=""
++
++ACE_SET_COMPILER_FLAGS
++
++dnl Disable building of static libraries by default
++AC_DISABLE_STATIC
++
++dnl Enable Libtool module support
++AC_LIBTOOL_DLOPEN
++
++dnl Enable support for "clean" DLLs.
++AC_LIBTOOL_WIN32_DLL
++
++dnl Check for libtool and turn on Automake processing for Libtool
++AC_PROG_LIBTOOL
++
++CXXFLAGS="$ACE_CXXFLAGS $X_CFLAGS $CXXFLAGS"
++CFLAGS="$ACE_CFLAGS $X_CFLAGS $CFLAGS"
++CPPFLAGS="$ACE_CPPFLAGS $CPPFLAGS"
++LDFLAGS="$ACE_LDFLAGS $LDFLAGS"
+
+ dnl
+ dnl SECTION 16: AC_CONFIG_FILES([FILE...])
Property changes on: trunk/debian/patches/14-autoconf-tao.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-ace-commits
mailing list