Ticket #43428: patch-configure.in.diff

File patch-configure.in.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • configure.in

    old new  
    592592#--------------------------------------------------------------------
    593593
    594594AC_MSG_CHECKING(whether ... arguments behave correctly)
     595SAVE_CXXFLAGS="$CXXFLAGS"
    595596if test -z "$GUILE_CFLAGS"; then
    596597  CXXFLAGS="`guile-config compile`"
    597598else
     
    610611],[
    611612  AC_MSG_RESULT(no)
    612613])
    613 CXXFLAGS=""
    614614
    615615AC_MSG_CHECKING(the size_t of guile strings)
    616616if test -z "$GUILE_CFLAGS"; then
     
    632632  AC_DEFINE(guile_str_size_t, size_t, [Guile string size type])
    633633  AC_MSG_RESULT(size_t)
    634634])
    635 CXXFLAGS=""
     635CXXFLAGS="$SAVE_CXXFLAGS"
    636636
    637637AC_MSG_CHECKING([if statically linking with guile works])
    638638SAVE_CPPFLAGS="$CPPFLAGS"
     
    11671167    STD_DEBUG_FLAGS=""
    11681168fi
    11691169
     1170SAVE_CXXFLAGS="$CXXFLAGS"
    11701171AC_MSG_CHECKING(if compiler supports $STD_DEBUG_FLAGS)
    11711172CXXFLAGS="$STD_DEBUG_FLAGS"
    11721173AC_TRY_COMPILE([
     
    11791180    CONFIG_CXXDIALECT=""
    11801181    AC_MSG_RESULT(no)
    11811182])
    1182 CXXFLAGS=""
     1183CXXFLAGS="$SAVE_CXXFLAGS"
    11831184AC_SUBST(CONFIG_CXXDIALECT)
    11841185
    11851186AC_ARG_ENABLE(profile,