Module: xenomai-2.6
Branch: master
Commit: 1dda9f0f7ce694862f896934c8dc4d11e2bf011f
URL:    
http://git.xenomai.org/?p=xenomai-2.6.git;a=commit;h=1dda9f0f7ce694862f896934c8dc4d11e2bf011f

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Apr 23 21:26:16 2013 +0200

build: bootstrap

---

 configure                    |  106 ++----------------------------------------
 src/include/xeno_config.h.in |   12 -----
 2 files changed, 4 insertions(+), 114 deletions(-)

diff --git a/configure b/configure
index d0c75cf..3c6ea22 100755
--- a/configure
+++ b/configure
@@ -813,10 +813,6 @@ with_dbx_root
 with_docbook_xsl_root
 enable_verbose_latex
 enable_asciidoc
-enable_posix_auto_mlockall
-enable_psos_auto_mlockall
-enable_uitron_auto_mlockall
-enable_dlopen_skins
 with___thread
 with_testdir
 enable_fortify
@@ -1488,27 +1484,6 @@ Optional Features:
                           [default=no]
   --enable-verbose-latex  Uses LaTeX non-stop mode [default=no]
   --enable-asciidoc       Build Asciidoc documentation [default=no]
-  --enable-posix-auto-mlockall
-                          Enable Xenomai POSIX skin library to automatically
-                          call mlockall at startup. This option is mainly
-                          useful for running third-parties programs such as
-                          the Open Posix Testsuite unmodified with Xenomai
-                          POSIX skin [default=no]
-  --enable-psos-auto-mlockall
-                          Enable the Xenomai pSOS skin library to
-                          automatically call mlockall at process startup.
-                          Unless this option is switched on, the application
-                          will have to lock its memory explicitly while
-                          initializing. [default=no]
-  --enable-uitron-auto-mlockall
-                          Enable the Xenomai uITRON skin library to
-                          automatically call mlockall at process startup.
-                          Unless this option is switched on, the application
-                          will have to lock its memory explicitly while
-                          initializing. [default=no]
-  --enable-dlopen-skins   Disable TLS features and automatic main thread
-                          mapping by the POSIX skin to allows dlopen'ing
-                          Xenomai libs. [default=no]
   --enable-fortify        Enable support for applications compiled with
                           _FORTIFY_SOURCE
 
@@ -1530,7 +1505,8 @@ Optional Packages:
   --with-dbx-xsl-root     specify the Docbook XML XSL stylesheet root. Default
                           is to use well-known locations (or network if
                           --enable-dbx-network was passed)
-  --without-__thread      do not use TLS features
+  --with-__thread         use optimized TLS features (x86 only), disabling the
+                          ability to use dlopen on Xenomai skin libraries
   --with-testdir=<test-binaries-dir>
                           location for test binaries (defaults to $bindir)
 
@@ -5137,10 +5113,8 @@ else
   build_for=$host_alias
 fi
 
-use__thread=no
 case "$build_for" in
  i*86*-*)
-       use__thread=yes
        XENO_TARGET_ARCH=x86
        CONFIG_XENO_FASTSYNCH=y
        CONFIG_XENO_DEFAULT_PERIOD=100000
@@ -5166,7 +5140,6 @@ case "$build_for" in
        # what architecture we are running
        ;;
  x86_64-*|amd64-*)
-       use__thread=yes
        XENO_TARGET_ARCH=x86
        CONFIG_XENO_FASTSYNCH=y
        CONFIG_XENO_DEFAULT_PERIOD=100000
@@ -13705,79 +13678,8 @@ else
 fi
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the POSIX skin 
library automatically calls mlockall" >&5
-$as_echo_n "checking whether the POSIX skin library automatically calls 
mlockall... " >&6; }
-# Check whether --enable-posix-auto-mlockall was given.
-if test "${enable_posix_auto_mlockall+set}" = set; then :
-  enableval=$enable_posix_auto_mlockall; case "$enableval" in
-       y | yes) CONFIG_XENO_POSIX_AUTO_MLOCKALL=y ;;
-       *) unset CONFIG_XENO_POSIX_AUTO_MLOCKALL ;;
-       esac
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
${CONFIG_XENO_POSIX_AUTO_MLOCKALL:-no}" >&5
-$as_echo "${CONFIG_XENO_POSIX_AUTO_MLOCKALL:-no}" >&6; }
-if test x$CONFIG_XENO_POSIX_AUTO_MLOCKALL = xy; then
-
-$as_echo "#define CONFIG_XENO_POSIX_AUTO_MLOCKALL 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the pSOS skin 
library automatically calls mlockall" >&5
-$as_echo_n "checking whether the pSOS skin library automatically calls 
mlockall... " >&6; }
-# Check whether --enable-psos-auto-mlockall was given.
-if test "${enable_psos_auto_mlockall+set}" = set; then :
-  enableval=$enable_psos_auto_mlockall; case "$enableval" in
-       y | yes) CONFIG_XENO_PSOS_AUTO_MLOCKALL=y ;;
-       *) unset CONFIG_XENO_PSOS_AUTO_MLOCKALL ;;
-       esac
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
${CONFIG_XENO_PSOS_AUTO_MLOCKALL:-no}" >&5
-$as_echo "${CONFIG_XENO_PSOS_AUTO_MLOCKALL:-no}" >&6; }
-if test x$CONFIG_XENO_POSIX_PSOS_MLOCKALL = xy; then
-
-$as_echo "#define CONFIG_XENO_PSOS_AUTO_MLOCKALL 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the uITRON skin 
library automatically calls mlockall" >&5
-$as_echo_n "checking whether the uITRON skin library automatically calls 
mlockall... " >&6; }
-# Check whether --enable-uitron-auto-mlockall was given.
-if test "${enable_uitron_auto_mlockall+set}" = set; then :
-  enableval=$enable_uitron_auto_mlockall; case "$enableval" in
-       y | yes) CONFIG_XENO_UITRON_AUTO_MLOCKALL=y ;;
-       *) unset CONFIG_XENO_UITRON_AUTO_MLOCKALL ;;
-       esac
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
${CONFIG_XENO_UITRON_AUTO_MLOCKALL:-no}" >&5
-$as_echo "${CONFIG_XENO_UITRON_AUTO_MLOCKALL:-no}" >&6; }
-if test x$CONFIG_XENO_POSIX_UITRON_MLOCKALL = xy; then
-
-$as_echo "#define CONFIG_XENO_UITRON_AUTO_MLOCKALL 1" >>confdefs.h
-
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable dlopen 
support for skin libraries" >&5
-$as_echo_n "checking whether to enable dlopen support for skin libraries... " 
>&6; }
-# Check whether --enable-dlopen-skins was given.
-if test "${enable_dlopen_skins+set}" = set; then :
-  enableval=$enable_dlopen_skins; case "$enableval" in
-       y | yes) CONFIG_XENO_LIBS_DLOPEN=y ;;
-       *) unset CONFIG_XENO_LIBS_DLOPEN ;;
-       esac
-fi
-
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: 
${CONFIG_XENO_LIBS_DLOPEN:-no}" >&5
-$as_echo "${CONFIG_XENO_LIBS_DLOPEN:-no}" >&6; }
-if test x$CONFIG_XENO_LIBS_DLOPEN = xy; then
-
-$as_echo "#define CONFIG_XENO_LIBS_DLOPEN 1" >>confdefs.h
-
-fi
-
 XENO_DLOPEN_CONSTRAINT=
+use__thread=no
 
 
 # Check whether --with-__thread was given.
@@ -13786,7 +13688,7 @@ if test "${with___thread+set}" = set; then :
 fi
 
 
-if test "x$use__thread" != xno -a "x$CONFIG_XENO_LIBS_DLOPEN" != xy; then
+if test "x$use__thread" = xyes; then
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread" >&5
 $as_echo_n "checking for __thread... " >&6; }
 if test "${libc_cv_gcc___thread+set}" = set; then :
diff --git a/src/include/xeno_config.h.in b/src/include/xeno_config.h.in
index c2c5fc7..8dab1c2 100644
--- a/src/include/xeno_config.h.in
+++ b/src/include/xeno_config.h.in
@@ -40,21 +40,9 @@
 #undef CONFIG_XENO_HOST_STRING
 
 /* config */
-#undef CONFIG_XENO_LIBS_DLOPEN
-
-/* config */
-#undef CONFIG_XENO_POSIX_AUTO_MLOCKALL
-
-/* config */
-#undef CONFIG_XENO_PSOS_AUTO_MLOCKALL
-
-/* config */
 #undef CONFIG_XENO_REVISION_LEVEL
 
 /* config */
-#undef CONFIG_XENO_UITRON_AUTO_MLOCKALL
-
-/* config */
 #undef CONFIG_XENO_VERSION_MAJOR
 
 /* config */


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to