Eric Pouech : configure: Now that we have dwarf support for debug info, don 't force stabs as debug info format.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Oct 23 06:12:26 CDT 2006


Module: wine
Branch: master
Commit: 8f56deec198c081660341e6751913c88c9176d2e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8f56deec198c081660341e6751913c88c9176d2e

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sat Oct 21 09:03:26 2006 +0200

configure: Now that we have dwarf support for debug info, don't force stabs as debug info format.

---

 configure    |   74 ----------------------------------------------------------
 configure.ac |    1 -
 2 files changed, 0 insertions(+), 75 deletions(-)

diff --git a/configure b/configure
index 39250db..d74403e 100755
--- a/configure
+++ b/configure
@@ -14457,80 +14457,6 @@ if test $ac_cv_cflags__fno_strict_aliasi
   EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
 fi
 
-  { echo "$as_me:$LINENO: checking whether the compiler supports -gstabs+" >&5
-echo $ECHO_N "checking whether the compiler supports -gstabs+... $ECHO_C" >&6; }
-if test "${ac_cv_cflags__gstabsp+set}" = set; then
-  echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-  ac_wine_try_cflags_saved=$CFLAGS
-CFLAGS="$CFLAGS -gstabs+"
-cat >conftest.$ac_ext <<_ACEOF
-/* confdefs.h.  */
-_ACEOF
-cat confdefs.h >>conftest.$ac_ext
-cat >>conftest.$ac_ext <<_ACEOF
-/* end confdefs.h.  */
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-rm -f conftest.$ac_objext conftest$ac_exeext
-if { (ac_try="$ac_link"
-case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_link") 2>conftest.er1
-  ac_status=$?
-  grep -v '^ *+' conftest.er1 >conftest.err
-  rm -f conftest.er1
-  cat conftest.err >&5
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); } &&
-	 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; } &&
-	 { ac_try='test -s conftest$ac_exeext'
-  { (case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  echo "$as_me:$LINENO: \$? = $ac_status" >&5
-  (exit $ac_status); }; }; then
-  ac_cv_cflags__gstabsp=yes
-else
-  echo "$as_me: failed program was:" >&5
-sed 's/^/| /' conftest.$ac_ext >&5
-
-	ac_cv_cflags__gstabsp=no
-fi
-
-rm -f core conftest.err conftest.$ac_objext \
-      conftest$ac_exeext conftest.$ac_ext
-CFLAGS=$ac_wine_try_cflags_saved
-fi
-{ echo "$as_me:$LINENO: result: $ac_cv_cflags__gstabsp" >&5
-echo "${ECHO_T}$ac_cv_cflags__gstabsp" >&6; }
-if test $ac_cv_cflags__gstabsp = yes; then
-  EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
-fi
-
   { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
diff --git a/configure.ac b/configure.ac
index ae7b762..541275a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -899,7 +899,6 @@ int main(void) {
                   [AC_DEFINE(CC_FLAG_SHORT_WCHAR, "-fshort-wchar",
                              [Specifies the compiler flag that forces a short wchar_t])])
   WINE_TRY_CFLAGS([-fno-strict-aliasing])
-  WINE_TRY_CFLAGS([-gstabs+])
   WINE_TRY_CFLAGS([-Wdeclaration-after-statement])
   WINE_TRY_CFLAGS([-Wwrite-strings])
 




More information about the wine-cvs mailing list