X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5ca194a78346c24a526d125cb47c2ef8b44cf0a..34b340a08e9e56163ab6cff06189b071bd1937f3:/configure diff --git a/configure b/configure index f5d86be552..e0df6cb0fc 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 47918 2007-08-07 01:23:34Z VZ . +# From configure.in Id: configure.in 47919 2007-08-07 01:38:18Z VZ . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0. # @@ -36209,7 +36209,9 @@ echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; } else wx_save_CXXFLAGS="$CXXFLAGS" + wx_save_LDFLAGS="$LDFLAGS" CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY" + LDFLAGS="$LDFLAGS -shared -fPIC" ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' @@ -36229,7 +36231,8 @@ int main () { - std::string x; + std::string s("hello"); + return s.length(); ; return 0; @@ -36270,6 +36273,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu CXXFLAGS="$wx_save_CXXFLAGS" + LDFLAGS="$wx_save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5