[oe] [PATCH] site: Move socat defines to common-linux

Khem Raj raj.khem at gmail.com
Thu Dec 10 21:42:07 UTC 2009


* socat ispeed is a runtime test in configure
  which wont be evaluated correctly on cross
  builds. Therefore the cashed variable should be
  pre-defined for every architecture on linux.

* Fixes PR 5320

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 site/arm-common     |    4 ----
 site/common-linux   |    4 ++++
 site/powerpc-common |    4 ----
 site/sh-common      |    4 ----
 4 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/site/arm-common b/site/arm-common
index 20de8c5..588d5d9 100644
--- a/site/arm-common
+++ b/site/arm-common
@@ -200,10 +200,6 @@ ac_cv_func_realloc_0_nonnull=${ac_cv_func_realloc_0_nonnull=yes}
 ac_cv_func_malloc_works=${ac_cv_func_malloc_works=yes}
 ac_cv_func_malloc_0_nonnull=${ac_cv_func_malloc_0_nonnull=yes}
 
-# socat
-ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
-sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}
-
 # ssh
 ac_cv_have_space_d_name_in_struct_dirent=${ac_cv_dirent_have_space_d_name=yes}
 ac_cv_have_broken_snprintf=${ac_cv_have_broken_snprintf=no}
diff --git a/site/common-linux b/site/common-linux
index ffb209b..eaaff66 100644
--- a/site/common-linux
+++ b/site/common-linux
@@ -25,3 +25,7 @@ bash_cv_pgrp_pipe=${bash_cv_pgrp_pipe=no}
 bash_cv_job_control_missing=${bash_cv_job_control_missing=present}
 bash_cv_sys_named_pipes=${bash_cv_sys_named_pipes=present}
 bash_cv_unusable_rtsigs=${bash_cv_unusable_rtsigs=no}
+
+# socat
+ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
+sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}
diff --git a/site/powerpc-common b/site/powerpc-common
index dd321c0..a3c774a 100644
--- a/site/powerpc-common
+++ b/site/powerpc-common
@@ -85,10 +85,6 @@ ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
 ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
 ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
 
-# socat
-ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
-sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}
-
 # links
 ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes}
 
diff --git a/site/sh-common b/site/sh-common
index dd955d9..c00102b 100644
--- a/site/sh-common
+++ b/site/sh-common
@@ -76,10 +76,6 @@ ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
 ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
 ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
 
-# socat
-ac_cv_ispeed_offset=${ac_cv_ispeed_offset=13}
-sc_cv_termios_ispeed=${sc_cv_termios_ispeed=yes}
-
 # links
 ac_cv_lib_png_png_create_info_struct=${ac_cv_lib_png_png_create_info_struct=yes}
 
-- 
1.5.4.3





More information about the Openembedded-devel mailing list