|
|
727081 |
2004-07-13 Jakub Jelinek <jakub@redhat.com>
|
|
|
727081 |
|
|
|
727081 |
* acinclude.m4 (glibcpp_shared_libgcc): Correct
|
|
|
727081 |
glibcpp_shared_libgcc test for multilibs.
|
|
|
727081 |
* aclocal.m4: Rebuilt.
|
|
|
727081 |
* configure: Rebuilt.
|
|
|
727081 |
|
|
|
727081 |
--- libstdc++33-v3/acinclude.m4.jj 2004-06-24 18:06:53.000000000 +0200
|
|
|
727081 |
+++ libstdc++33-v3/acinclude.m4 2004-08-18 10:28:50.333384148 +0200
|
|
|
727081 |
@@ -2294,6 +2294,23 @@ if test $enable_symvers != no; then
|
|
|
727081 |
CFLAGS=' -lgcc_s'
|
|
|
727081 |
AC_TRY_LINK(, [return 0], glibcpp_shared_libgcc=yes, glibcpp_shared_libgcc=no)
|
|
|
727081 |
CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ if test $glibcpp_shared_libgcc = no; then
|
|
|
727081 |
+ cat > conftest.c <
|
|
|
727081 |
+int main (void) { return 0; }
|
|
|
727081 |
+EOF
|
|
|
727081 |
+changequote(,)dnl
|
|
|
727081 |
+ glibcpp_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
|
|
727081 |
+ -shared -shared-libgcc -o conftest.so \
|
|
|
727081 |
+ conftest.c -v 2>&1 >/dev/null \
|
|
|
727081 |
+ | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
|
|
|
727081 |
+changequote([,])dnl
|
|
|
727081 |
+ rm -f conftest.c conftest.so
|
|
|
727081 |
+ if test x${glibcpp_libgcc_s_suffix+set} = xset; then
|
|
|
727081 |
+ CFLAGS=" -lgcc_s$glibcpp_libgcc_s_suffix"
|
|
|
727081 |
+ AC_TRY_LINK(, [return 0;], glibcpp_shared_libgcc=yes)
|
|
|
727081 |
+ CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ fi
|
|
|
727081 |
+ fi
|
|
|
727081 |
AC_MSG_RESULT($glibcpp_shared_libgcc)
|
|
|
727081 |
fi
|
|
|
727081 |
|
|
|
727081 |
--- libstdc++33-v3/aclocal.m4.jj 2004-06-24 18:06:53.000000000 +0200
|
|
|
727081 |
+++ libstdc++33-v3/aclocal.m4 2004-08-18 10:30:06.361019696 +0200
|
|
|
727081 |
@@ -2306,6 +2306,23 @@ if test $enable_symvers != no; then
|
|
|
727081 |
CFLAGS=' -lgcc_s'
|
|
|
727081 |
AC_TRY_LINK(, [return 0], glibcpp_shared_libgcc=yes, glibcpp_shared_libgcc=no)
|
|
|
727081 |
CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ if test $glibcpp_shared_libgcc = no; then
|
|
|
727081 |
+ cat > conftest.c <
|
|
|
727081 |
+int main (void) { return 0; }
|
|
|
727081 |
+EOF
|
|
|
727081 |
+changequote(,)dnl
|
|
|
727081 |
+ glibcpp_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
|
|
727081 |
+ -shared -shared-libgcc -o conftest.so \
|
|
|
727081 |
+ conftest.c -v 2>&1 >/dev/null \
|
|
|
727081 |
+ | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
|
|
|
727081 |
+changequote([,])dnl
|
|
|
727081 |
+ rm -f conftest.c conftest.so
|
|
|
727081 |
+ if test x${glibcpp_libgcc_s_suffix+set} = xset; then
|
|
|
727081 |
+ CFLAGS=" -lgcc_s$glibcpp_libgcc_s_suffix"
|
|
|
727081 |
+ AC_TRY_LINK(, [return 0;], glibcpp_shared_libgcc=yes)
|
|
|
727081 |
+ CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ fi
|
|
|
727081 |
+ fi
|
|
|
727081 |
AC_MSG_RESULT($glibcpp_shared_libgcc)
|
|
|
727081 |
fi
|
|
|
727081 |
|
|
|
727081 |
--- libstdc++33-v3/configure.jj 2004-08-18 09:44:22.000000000 +0200
|
|
|
727081 |
+++ libstdc++33-v3/configure 2004-08-18 10:31:41.502299528 +0200
|
|
|
727081 |
@@ -23563,6 +23563,36 @@ else
|
|
|
727081 |
fi
|
|
|
727081 |
rm -f conftest*
|
|
|
727081 |
CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ if test $glibcpp_shared_libgcc = no; then
|
|
|
727081 |
+ cat > conftest.c <
|
|
|
727081 |
+int main (void) { return 0; }
|
|
|
727081 |
+EOF
|
|
|
727081 |
+ glibcpp_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
|
|
|
727081 |
+ -shared -shared-libgcc -o conftest.so \
|
|
|
727081 |
+ conftest.c -v 2>&1 >/dev/null \
|
|
|
727081 |
+ | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
|
|
|
727081 |
+ rm -f conftest.c conftest.so
|
|
|
727081 |
+ if test x${glibcpp_libgcc_s_suffix+set} = xset; then
|
|
|
727081 |
+ CFLAGS=" -lgcc_s$glibcpp_libgcc_s_suffix"
|
|
|
727081 |
+ cat > conftest.$ac_ext <
|
|
|
727081 |
+#line 23579 "configure"
|
|
|
727081 |
+#include "confdefs.h"
|
|
|
727081 |
+
|
|
|
727081 |
+int main() {
|
|
|
727081 |
+return 0;
|
|
|
727081 |
+; return 0; }
|
|
|
727081 |
+EOF
|
|
|
727081 |
+if { (eval echo configure:23586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
727081 |
+ rm -rf conftest*
|
|
|
727081 |
+ glibcpp_shared_libgcc=yes
|
|
|
727081 |
+else
|
|
|
727081 |
+ echo "configure: failed program was:" >&5
|
|
|
727081 |
+ cat conftest.$ac_ext >&5
|
|
|
727081 |
+fi
|
|
|
727081 |
+rm -f conftest*
|
|
|
727081 |
+ CFLAGS="$ac_save_CFLAGS"
|
|
|
727081 |
+ fi
|
|
|
727081 |
+ fi
|
|
|
727081 |
echo "$ac_t""$glibcpp_shared_libgcc" 1>&6
|
|
|
727081 |
fi
|
|
|
727081 |
|