From 3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 21 Mar 2015 18:54:10 -0400 Subject: libtool: add support for the midipix targets in the relevant configure scripts. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information. --- libgomp/configure | 22 ++++++++++++++++++++++ libobjc/configure | 22 ++++++++++++++++++++++ libquadmath/configure | 25 +++++++++++++++++++++++++ libssp/configure | 22 ++++++++++++++++++++++ libstdc++-v3/configure | 22 ++++++++++++++++++++++ lto-plugin/configure | 22 ++++++++++++++++++++++ 6 files changed, 135 insertions(+) diff --git a/libgomp/configure b/libgomp/configure index fe90917d3..df531768e 100755 --- a/libgomp/configure +++ b/libgomp/configure @@ -18110,6 +18110,28 @@ $as_echo X"$file" | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL diff --git a/libobjc/configure b/libobjc/configure index fd5b7549c..a5bb06e17 100755 --- a/libobjc/configure +++ b/libobjc/configure @@ -13074,6 +13074,28 @@ esac ;; trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL diff --git a/libquadmath/configure b/libquadmath/configure index 9d979337d..296707f75 100755 --- a/libquadmath/configure +++ b/libquadmath/configure @@ -5466,6 +5466,10 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; +midipix | midipix*) + lt_cv_deplibs_check_method=pass_all + ;; + netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' @@ -7569,6 +7573,10 @@ $as_echo_n "checking for $compiler option to produce PIC... " >&6; } lt_prog_compiler_pic='-DDLL_EXPORT' ;; + midipix | midipix*) + libquad_cv_have_float128=yes + ;; + darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files @@ -8266,6 +8274,11 @@ _LT_EOF archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; + midipix | midipix*) + shlibpath_var= + shlibpath_overrides_runpath=no + ;; + gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then @@ -9873,6 +9886,12 @@ fi dynamic_linker='GNU/Linux ld.so' ;; +midipix | midipix*) + version_type=linux + need_lib_prefix=no + need_version=no + ;; + netbsd*) version_type=sunos need_lib_prefix=no @@ -15246,3 +15265,9 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi +# when all else fails... +case $host_os in + midipix | midipix*) + cp -t . ../libstdc++-v3/libtool + ;; +esac diff --git a/libssp/configure b/libssp/configure index 3e827e810..4fc31166c 100755 --- a/libssp/configure +++ b/libssp/configure @@ -12757,6 +12757,28 @@ $as_echo X"$file" | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure index caea30bcf..3e959e867 100755 --- a/libstdc++-v3/configure +++ b/libstdc++-v3/configure @@ -67605,6 +67605,28 @@ esac ;; trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL diff --git a/lto-plugin/configure b/lto-plugin/configure index 48b414e99..e090e5fe6 100755 --- a/lto-plugin/configure +++ b/lto-plugin/configure @@ -12639,6 +12639,28 @@ $as_echo X"$file" | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" +case $host_os in + midipix | midipix*) + enable_shared=yes + can_build_shared=yes + lt_lt_cv_sys_global_symbol_pipe="\"sed -n -e 's/^.*[ ]\\\\([ABCDGIRSTW][ABCDGIRSTW]*\\\\)[ ][ ]*\\\\([_A-Za-z][_A-Za-z0-9]*\\\\)\\\$/\\\\1 \\\\2 \\\\2/p'\"" + lt_lt_cv_sys_global_symbol_to_cdecl="\"sed -n -e 's/^T .* \\\\(.*\\\\)\\\$/extern int \\\\1();/p' -e 's/^[ABCDGIRSTW]* .* \\\\(.*\\\\)\\\$/extern char \\\\1;/p'\"" + lt_soname_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$major\"" + lt_library_names_spec="\"\\\${libname}\\\${release}\\\${shared_ext}\\\$versuffix \\\${libname}\\\${release}\\\${shared_ext}\\\$major \\\$libname\\\${shared_ext}\"" + lt_archive_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname -o \\\$lib\"" + lt_archive_expsym_cmds="\"\\\$CC -shared -mout-implib -moutput-def \\\$libobjs \\\$deplibs \\\$compiler_flags \\\${wl}-soname \\\$wl\\\$soname \\\${wl}-retain-symbols-file \\\$wl\\\$export_symbols -o \\\$lib\"" + lt_finish_cmds="\"\"" + lt_lt_prog_compiler_static="\"-static\"" + lt_deplibs_check_method="\"pass_all\"" + need_lib_prefix=no + need_version=no + version_type=linux + shlibpath_var=LD_LIBRARY_PATH + shlibpath_overrides_runpath=no + hardcode_into_libs=no + ;; +esac + cat <<_LT_EOF >> "$cfgfile" #! $SHELL -- cgit v1.2.3