Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 286166
Collapse All | Expand All

(-)xfdesktop-4.6.1-4.7.0/aclocal.m4 (-8 / +104 lines)
Lines 10020-10036 Link Here
10020
10020
10021
10021
10022
10022
10023
dnl XDT_FEATURE_DEBUG()
10023
dnl XDT_FEATURE_DEBUG(default_level=minimum)
10024
dnl
10024
dnl
10025
AC_DEFUN([XDT_FEATURE_DEBUG],
10025
AC_DEFUN([XDT_FEATURE_DEBUG],
10026
[
10026
[
10027
  dnl weird indentation to keep output indentation correct
10027
  AC_ARG_ENABLE([debug],
10028
  AC_ARG_ENABLE([debug],
10028
AC_HELP_STRING([--enable-debug[=yes|no|full]], [Build with debugging support])
10029
                AC_HELP_STRING([--enable-debug@<:@=no|minimum|yes|full@:>@],
10029
AC_HELP_STRING([--disable-debug], [Include no debugging support [default]]),
10030
                               [Build with debugging support @<:@default=m4_default([$1], [minimum])@:>@])
10030
  [], [enable_debug=no])
10031
AC_HELP_STRING([--disable-debug], [Include no debugging support]),
10032
                [enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
10031
10033
10032
  AC_MSG_CHECKING([whether to build with debugging support])
10034
  AC_MSG_CHECKING([whether to build with debugging support])
10033
  if test x"$enable_debug" != x"no"; then
10035
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
10034
    AC_DEFINE([DEBUG], [1], [Define for debugging support])
10036
    AC_DEFINE([DEBUG], [1], [Define for debugging support])
10035
10037
10036
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
10038
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
Lines 10043-10053 Link Here
10043
                              -Wcast-align -Wformat-security \
10045
                              -Wcast-align -Wformat-security \
10044
                              -Winit-self -Wmissing-include-dirs -Wundef \
10046
                              -Winit-self -Wmissing-include-dirs -Wundef \
10045
                              -Wmissing-format-attribute -Wnested-externs \
10047
                              -Wmissing-format-attribute -Wnested-externs \
10046
                              -fstack-protector -D_FORTIFY_SOURCE=2"
10048
                              -fstack-protector"
10049
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
10047
    
10050
    
10048
    if test x"$enable_debug" = x"full"; then
10051
    if test x"$enable_debug" = x"full"; then
10049
      AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
10052
      AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
10050
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
10053
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
10054
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
10051
      AC_MSG_RESULT([full])
10055
      AC_MSG_RESULT([full])
10052
    else
10056
    else
10053
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
10057
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
Lines 10070-10080 Link Here
10070
    CFLAGS="$CFLAGS $supported_CFLAGS"
10074
    CFLAGS="$CFLAGS $supported_CFLAGS"
10071
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
10075
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
10072
  else
10076
  else
10073
    AC_MSG_RESULT([no])
10077
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
10078
10079
    if test x"$enable_debug" = x"no"; then
10080
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
10081
      AC_MSG_RESULT([no])
10082
    else
10083
      AC_MSG_RESULT([minimum])
10084
    fi
10074
  fi
10085
  fi
10075
])
10086
])
10076
10087
10077
10088
10089
dnl XDT_FEATURE_VISIBILITY()
10090
dnl
10091
dnl Checks to see if the compiler supports the 'visibility' attribute
10092
dnl If so, adds -DHAVE_GNUC_VISIBILTY to CPPFLAGS.  Also sets the
10093
dnl automake conditional HAVE_GNUC_VISIBILITY.
10094
dnl
10095
AC_DEFUN([XDT_FEATURE_VISIBILITY],
10096
[
10097
  AC_ARG_ENABLE([visibility],
10098
                AC_HELP_STRING([--disable-visibility],
10099
                               [Don't use ELF visibility attributes]),
10100
                [enable_visibility=$enableval], [enable_visibility=yes])
10101
  have_gnuc_visibility=no
10102
  if test "x$enable_visibility" != "xno"; then
10103
    XDT_SUPPORTED_FLAGS([xdt_vis_test_cflags], [-Wall -Werror -Wno-unused-parameter])
10104
    saved_CFLAGS="$CFLAGS"
10105
    CFLAGS="$CFLAGS $xdt_vis_test_cflags"
10106
    AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
10107
    AC_COMPILE_IFELSE(AC_LANG_SOURCE(
10108
    [
10109
      void test_default (void);
10110
      void test_hidden (void);
10111
10112
      void __attribute__ ((visibility("default"))) test_default (void) {}
10113
      void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
10114
10115
      int main (int argc, char **argv) {
10116
        test_default ();
10117
        test_hidden ();
10118
        return 0;
10119
      }
10120
    ]),
10121
    [
10122
      have_gnuc_visibility=yes
10123
      AC_MSG_RESULT([yes])
10124
    ],
10125
    [
10126
      AC_MSG_RESULT([no])
10127
    ])
10128
    CFLAGS="$saved_CFLAGS"
10129
  fi
10130
10131
  if test "x$have_gnuc_visibility" = "xyes"; then
10132
    CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
10133
    XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])
10134
    CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
10135
  fi
10136
10137
  AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])
10138
])
10139
10140
dnl XDT_FEATURE_LINKER_OPTS
10141
dnl
10142
dnl Checks for and enables any special linker optimizations.
10143
dnl
10144
AC_DEFUN([XDT_FEATURE_LINKER_OPTS],
10145
[
10146
  AC_ARG_ENABLE([linker-opts],
10147
                AC_HELP_STRING([--disable-linker-opts],
10148
                               [Disable linker optimizations]),
10149
                [enable_linker_opts=$enableval], [enable_linker_opts=yes])
10150
10151
  if test "x$enable_linker_opts" != "xno"; then
10152
    AC_MSG_CHECKING([whether $LD accepts --as-needed])
10153
    case `$LD --as-needed -v 2>&1 </dev/null` in
10154
    *GNU* | *'with BFD'*)
10155
      LDFLAGS="$LDFLAGS -Wl,--as-needed"
10156
      AC_MSG_RESULT([yes])
10157
      ;;
10158
    *)
10159
      AC_MSG_RESULT([no])
10160
      ;;
10161
    esac
10162
    AC_MSG_CHECKING([whether $LD accepts -O1])
10163
    case `$LD -O1 -v 2>&1 </dev/null` in
10164
    *GNU* | *'with BFD'*)
10165
      LDFLAGS="$LDFLAGS -Wl,-O1"
10166
      AC_MSG_RESULT([yes])
10167
      ;;
10168
    *)
10169
      AC_MSG_RESULT([no])
10170
      ;;
10171
    esac
10172
  fi
10173
])
10078
10174
10079
dnl BM_DEBUG_SUPPORT()
10175
dnl BM_DEBUG_SUPPORT()
10080
dnl
10176
dnl
(-)xfdesktop-4.6.1-4.7.0/autom4te.cache/output.0 (-10 / +20 lines)
Lines 1732-1740 Link Here
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1733
                          @<:@default=no@:>@
1733
                          @<:@default=no@:>@
1734
  --enable-xml2po         Use xml2po to translate documentation @<:@default=no@:>@
1734
  --enable-xml2po         Use xml2po to translate documentation @<:@default=no@:>@
1735
  --enable-debug=yes|no|full 
1735
  --enable-debug@<:@=no|minimum|yes|full@:>@ 
1736
                          Build with debugging support
1736
                          Build with debugging support @<:@default=minimum@:>@
1737
  --disable-debug         Include no debugging support default
1737
  --disable-debug         Include no debugging support
1738
1738
1739
Optional Packages:
1739
Optional Packages:
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
Lines 19690-19706 Link Here
19690
19690
19691
19691
19692
19692
19693
  @%:@ Check whether --enable-debug was given.
19693
    @%:@ Check whether --enable-debug was given.
19694
if test "${enable_debug+set}" = set; then
19694
if test "${enable_debug+set}" = set; then
19695
  enableval=$enable_debug; 
19695
  enableval=$enable_debug; enable_debug=$enableval
19696
else
19696
else
19697
  enable_debug=no
19697
  enable_debug=minimum
19698
fi
19698
fi
19699
19699
19700
19700
19701
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19701
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19702
$as_echo_n "checking whether to build with debugging support... " >&6; }
19702
$as_echo_n "checking whether to build with debugging support... " >&6; }
19703
  if test x"$enable_debug" != x"no"; then
19703
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
19704
    
19704
    
19705
cat >>confdefs.h <<\_ACEOF
19705
cat >>confdefs.h <<\_ACEOF
19706
@%:@define DEBUG 1
19706
@%:@define DEBUG 1
Lines 19717-19723 Link Here
19717
                              -Wcast-align -Wformat-security \
19717
                              -Wcast-align -Wformat-security \
19718
                              -Winit-self -Wmissing-include-dirs -Wundef \
19718
                              -Winit-self -Wmissing-include-dirs -Wundef \
19719
                              -Wmissing-format-attribute -Wnested-externs \
19719
                              -Wmissing-format-attribute -Wnested-externs \
19720
                              -fstack-protector -D_FORTIFY_SOURCE=2"
19720
                              -fstack-protector"
19721
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
19721
    
19722
    
19722
    if test x"$enable_debug" = x"full"; then
19723
    if test x"$enable_debug" = x"full"; then
19723
      
19724
      
Lines 19725-19731 Link Here
19725
@%:@define DEBUG_TRACE 1
19726
@%:@define DEBUG_TRACE 1
19726
_ACEOF
19727
_ACEOF
19727
19728
19728
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
19729
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
19730
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
19729
      { $as_echo "$as_me:$LINENO: result: full" >&5
19731
      { $as_echo "$as_me:$LINENO: result: full" >&5
19730
$as_echo "full" >&6; }
19732
$as_echo "full" >&6; }
19731
    else
19733
    else
Lines 19787-19794 Link Here
19787
    CFLAGS="$CFLAGS $supported_CFLAGS"
19789
    CFLAGS="$CFLAGS $supported_CFLAGS"
19788
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19790
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19789
  else
19791
  else
19790
    { $as_echo "$as_me:$LINENO: result: no" >&5
19792
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
19793
19794
    if test x"$enable_debug" = x"no"; then
19795
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
19796
      { $as_echo "$as_me:$LINENO: result: no" >&5
19791
$as_echo "no" >&6; }
19797
$as_echo "no" >&6; }
19798
    else
19799
      { $as_echo "$as_me:$LINENO: result: minimum" >&5
19800
$as_echo "minimum" >&6; }
19801
    fi
19792
  fi
19802
  fi
19793
19803
19794
19804
(-)xfdesktop-4.6.1-4.7.0/autom4te.cache/output.1 (-10 / +20 lines)
Lines 1732-1740 Link Here
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1733
                          @<:@default=no@:>@
1733
                          @<:@default=no@:>@
1734
  --enable-xml2po         Use xml2po to translate documentation @<:@default=no@:>@
1734
  --enable-xml2po         Use xml2po to translate documentation @<:@default=no@:>@
1735
  --enable-debug=yes|no|full 
1735
  --enable-debug@<:@=no|minimum|yes|full@:>@ 
1736
                          Build with debugging support
1736
                          Build with debugging support @<:@default=minimum@:>@
1737
  --disable-debug         Include no debugging support default
1737
  --disable-debug         Include no debugging support
1738
1738
1739
Optional Packages:
1739
Optional Packages:
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
Lines 19694-19710 Link Here
19694
19694
19695
19695
19696
19696
19697
  @%:@ Check whether --enable-debug was given.
19697
    @%:@ Check whether --enable-debug was given.
19698
if test "${enable_debug+set}" = set; then
19698
if test "${enable_debug+set}" = set; then
19699
  enableval=$enable_debug; 
19699
  enableval=$enable_debug; enable_debug=$enableval
19700
else
19700
else
19701
  enable_debug=no
19701
  enable_debug=minimum
19702
fi
19702
fi
19703
19703
19704
19704
19705
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19705
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19706
$as_echo_n "checking whether to build with debugging support... " >&6; }
19706
$as_echo_n "checking whether to build with debugging support... " >&6; }
19707
  if test x"$enable_debug" != x"no"; then
19707
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
19708
    
19708
    
19709
cat >>confdefs.h <<\_ACEOF
19709
cat >>confdefs.h <<\_ACEOF
19710
@%:@define DEBUG 1
19710
@%:@define DEBUG 1
Lines 19721-19727 Link Here
19721
                              -Wcast-align -Wformat-security \
19721
                              -Wcast-align -Wformat-security \
19722
                              -Winit-self -Wmissing-include-dirs -Wundef \
19722
                              -Winit-self -Wmissing-include-dirs -Wundef \
19723
                              -Wmissing-format-attribute -Wnested-externs \
19723
                              -Wmissing-format-attribute -Wnested-externs \
19724
                              -fstack-protector -D_FORTIFY_SOURCE=2"
19724
                              -fstack-protector"
19725
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
19725
    
19726
    
19726
    if test x"$enable_debug" = x"full"; then
19727
    if test x"$enable_debug" = x"full"; then
19727
      
19728
      
Lines 19729-19735 Link Here
19729
@%:@define DEBUG_TRACE 1
19730
@%:@define DEBUG_TRACE 1
19730
_ACEOF
19731
_ACEOF
19731
19732
19732
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
19733
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
19734
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
19733
      { $as_echo "$as_me:$LINENO: result: full" >&5
19735
      { $as_echo "$as_me:$LINENO: result: full" >&5
19734
$as_echo "full" >&6; }
19736
$as_echo "full" >&6; }
19735
    else
19737
    else
Lines 19791-19798 Link Here
19791
    CFLAGS="$CFLAGS $supported_CFLAGS"
19793
    CFLAGS="$CFLAGS $supported_CFLAGS"
19792
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19794
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19793
  else
19795
  else
19794
    { $as_echo "$as_me:$LINENO: result: no" >&5
19796
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
19797
19798
    if test x"$enable_debug" = x"no"; then
19799
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
19800
      { $as_echo "$as_me:$LINENO: result: no" >&5
19795
$as_echo "no" >&6; }
19801
$as_echo "no" >&6; }
19802
    else
19803
      { $as_echo "$as_me:$LINENO: result: minimum" >&5
19804
$as_echo "minimum" >&6; }
19805
    fi
19796
  fi
19806
  fi
19797
19807
19798
19808
(-)xfdesktop-4.6.1-4.7.0/autom4te.cache/requests (+2 lines)
Lines 184-189 Link Here
184
                        'AC_LTDL_OBJDIR' => 1,
184
                        'AC_LTDL_OBJDIR' => 1,
185
                        '_LT_PATH_TOOL_PREFIX' => 1,
185
                        '_LT_PATH_TOOL_PREFIX' => 1,
186
                        'AC_LIBTOOL_RC' => 1,
186
                        'AC_LIBTOOL_RC' => 1,
187
                        'XDT_FEATURE_VISIBILITY' => 1,
187
                        '_IT_SUBST' => 1,
188
                        '_IT_SUBST' => 1,
188
                        '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
189
                        '_LT_AC_PROG_ECHO_BACKSLASH' => 1,
189
                        'AC_DISABLE_FAST_INSTALL' => 1,
190
                        'AC_DISABLE_FAST_INSTALL' => 1,
Lines 239-244 Link Here
239
                        'AC_LIBTOOL_LINKER_OPTION' => 1,
240
                        'AC_LIBTOOL_LINKER_OPTION' => 1,
240
                        'LT_AC_PROG_RC' => 1,
241
                        'LT_AC_PROG_RC' => 1,
241
                        'AC_LIBTOOL_CXX' => 1,
242
                        'AC_LIBTOOL_CXX' => 1,
243
                        'XDT_FEATURE_LINKER_OPTS' => 1,
242
                        'LT_INIT' => 1,
244
                        'LT_INIT' => 1,
243
                        'LT_AC_PROG_GCJ' => 1,
245
                        'LT_AC_PROG_GCJ' => 1,
244
                        'LT_SYS_DLOPEN_SELF' => 1,
246
                        'LT_SYS_DLOPEN_SELF' => 1,
(-)xfdesktop-4.6.1-4.7.0/autom4te.cache/traces.0 (-6 / +6 lines)
Lines 790-796 Link Here
790
aclocal.m4:69: GLIB_LC_MESSAGES is expanded from...
790
aclocal.m4:69: GLIB_LC_MESSAGES is expanded from...
791
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
791
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
792
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
792
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
793
aclocal.m4:10193: XDT_I18N is expanded from...
793
aclocal.m4:10289: XDT_I18N is expanded from...
794
configure.ac:59: the top level])
794
configure.ac:59: the top level])
795
m4trace:configure.ac:59: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES])
795
m4trace:configure.ac:59: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LC_MESSAGES])
796
m4trace:configure.ac:59: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
796
m4trace:configure.ac:59: -1- m4_pattern_allow([^HAVE_LC_MESSAGES$])
Lines 809-815 Link Here
809
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
809
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
810
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
810
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
811
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
811
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
812
aclocal.m4:10193: XDT_I18N is expanded from...
812
aclocal.m4:10289: XDT_I18N is expanded from...
813
configure.ac:59: the top level])
813
configure.ac:59: the top level])
814
m4trace:configure.ac:59: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
814
m4trace:configure.ac:59: -1- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
815
You should run autoupdate.], [../../lib/autoconf/general.m4:2527: AC_TRY_LINK is expanded from...
815
You should run autoupdate.], [../../lib/autoconf/general.m4:2527: AC_TRY_LINK is expanded from...
Lines 821-827 Link Here
821
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
821
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
822
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
822
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
823
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
823
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
824
aclocal.m4:10193: XDT_I18N is expanded from...
824
aclocal.m4:10289: XDT_I18N is expanded from...
825
configure.ac:59: the top level])
825
configure.ac:59: the top level])
826
m4trace:configure.ac:59: -1- AH_OUTPUT([HAVE_BIND_TEXTDOMAIN_CODESET], [/* Define to 1 if you have the `bind_textdomain_codeset\' function. */
826
m4trace:configure.ac:59: -1- AH_OUTPUT([HAVE_BIND_TEXTDOMAIN_CODESET], [/* Define to 1 if you have the `bind_textdomain_codeset\' function. */
827
#undef HAVE_BIND_TEXTDOMAIN_CODESET])
827
#undef HAVE_BIND_TEXTDOMAIN_CODESET])
Lines 852-858 Link Here
852
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
852
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
853
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
853
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
854
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
854
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
855
aclocal.m4:10193: XDT_I18N is expanded from...
855
aclocal.m4:10289: XDT_I18N is expanded from...
856
configure.ac:59: the top level])
856
configure.ac:59: the top level])
857
m4trace:configure.ac:59: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS])
857
m4trace:configure.ac:59: -1- AC_DEFINE_TRACE_LITERAL([ENABLE_NLS])
858
m4trace:configure.ac:59: -1- m4_pattern_allow([^ENABLE_NLS$])
858
m4trace:configure.ac:59: -1- m4_pattern_allow([^ENABLE_NLS$])
Lines 863-869 Link Here
863
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
863
aclocal.m4:123: GLIB_WITH_NLS is expanded from...
864
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
864
aclocal.m4:333: GLIB_GNU_GETTEXT is expanded from...
865
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
865
aclocal.m4:433: AM_GLIB_GNU_GETTEXT is expanded from...
866
aclocal.m4:10193: XDT_I18N is expanded from...
866
aclocal.m4:10289: XDT_I18N is expanded from...
867
configure.ac:59: the top level])
867
configure.ac:59: the top level])
868
m4trace:configure.ac:59: -1- AC_SUBST([CATALOGS])
868
m4trace:configure.ac:59: -1- AC_SUBST([CATALOGS])
869
m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CATALOGS])
869
m4trace:configure.ac:59: -1- AC_SUBST_TRACE([CATALOGS])
Lines 901-907 Link Here
901
m4trace:configure.ac:59: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
901
m4trace:configure.ac:59: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
902
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
902
You should run autoupdate.], [../../lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
903
../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
903
../../lib/autoconf/general.m4:1443: AC_ARG_WITH is expanded from...
904
aclocal.m4:10193: XDT_I18N is expanded from...
904
aclocal.m4:10289: XDT_I18N is expanded from...
905
configure.ac:59: the top level])
905
configure.ac:59: the top level])
906
m4trace:configure.ac:59: -1- AC_SUBST([localedir])
906
m4trace:configure.ac:59: -1- AC_SUBST([localedir])
907
m4trace:configure.ac:59: -1- AC_SUBST_TRACE([localedir])
907
m4trace:configure.ac:59: -1- AC_SUBST_TRACE([localedir])
(-)xfdesktop-4.6.1-4.7.0/autom4te.cache/traces.1 (-8 / +91 lines)
Lines 2458-2470 Link Here
2458
  done
2458
  done
2459
])
2459
])
2460
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:59: -1- AC_DEFUN([XDT_FEATURE_DEBUG], [
2460
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:59: -1- AC_DEFUN([XDT_FEATURE_DEBUG], [
2461
  dnl weird indentation to keep output indentation correct
2461
  AC_ARG_ENABLE([debug],
2462
  AC_ARG_ENABLE([debug],
2462
AC_HELP_STRING([--enable-debug[=yes|no|full]], [Build with debugging support])
2463
                AC_HELP_STRING([--enable-debug@<:@=no|minimum|yes|full@:>@],
2463
AC_HELP_STRING([--disable-debug], [Include no debugging support [default]]),
2464
                               [Build with debugging support @<:@default=m4_default([$1], [minimum])@:>@])
2464
  [], [enable_debug=no])
2465
AC_HELP_STRING([--disable-debug], [Include no debugging support]),
2466
                [enable_debug=$enableval], [enable_debug=m4_default([$1], [minimum])])
2465
2467
2466
  AC_MSG_CHECKING([whether to build with debugging support])
2468
  AC_MSG_CHECKING([whether to build with debugging support])
2467
  if test x"$enable_debug" != x"no"; then
2469
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
2468
    AC_DEFINE([DEBUG], [1], [Define for debugging support])
2470
    AC_DEFINE([DEBUG], [1], [Define for debugging support])
2469
2471
2470
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
2472
    xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \
Lines 2477-2487 Link Here
2477
                              -Wcast-align -Wformat-security \
2479
                              -Wcast-align -Wformat-security \
2478
                              -Winit-self -Wmissing-include-dirs -Wundef \
2480
                              -Winit-self -Wmissing-include-dirs -Wundef \
2479
                              -Wmissing-format-attribute -Wnested-externs \
2481
                              -Wmissing-format-attribute -Wnested-externs \
2480
                              -fstack-protector -D_FORTIFY_SOURCE=2"
2482
                              -fstack-protector"
2483
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
2481
    
2484
    
2482
    if test x"$enable_debug" = x"full"; then
2485
    if test x"$enable_debug" = x"full"; then
2483
      AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
2486
      AC_DEFINE([DEBUG_TRACE], [1], [Define for tracing support])
2484
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
2487
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
2488
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
2485
      AC_MSG_RESULT([full])
2489
      AC_MSG_RESULT([full])
2486
    else
2490
    else
2487
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
2491
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g"
Lines 2504-2513 Link Here
2504
    CFLAGS="$CFLAGS $supported_CFLAGS"
2508
    CFLAGS="$CFLAGS $supported_CFLAGS"
2505
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
2509
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
2506
  else
2510
  else
2507
    AC_MSG_RESULT([no])
2511
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
2512
2513
    if test x"$enable_debug" = x"no"; then
2514
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
2515
      AC_MSG_RESULT([no])
2516
    else
2517
      AC_MSG_RESULT([minimum])
2518
    fi
2519
  fi
2520
])
2521
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:129: -1- AC_DEFUN([XDT_FEATURE_VISIBILITY], [
2522
  AC_ARG_ENABLE([visibility],
2523
                AC_HELP_STRING([--disable-visibility],
2524
                               [Don't use ELF visibility attributes]),
2525
                [enable_visibility=$enableval], [enable_visibility=yes])
2526
  have_gnuc_visibility=no
2527
  if test "x$enable_visibility" != "xno"; then
2528
    XDT_SUPPORTED_FLAGS([xdt_vis_test_cflags], [-Wall -Werror -Wno-unused-parameter])
2529
    saved_CFLAGS="$CFLAGS"
2530
    CFLAGS="$CFLAGS $xdt_vis_test_cflags"
2531
    AC_MSG_CHECKING([whether $CC supports the GNUC visibility attribute])
2532
    AC_COMPILE_IFELSE(AC_LANG_SOURCE(
2533
    [
2534
      void test_default (void);
2535
      void test_hidden (void);
2536
2537
      void __attribute__ ((visibility("default"))) test_default (void) {}
2538
      void __attribute__ ((visibility("hidden"))) test_hidden (void) {}
2539
2540
      int main (int argc, char **argv) {
2541
        test_default ();
2542
        test_hidden ();
2543
        return 0;
2544
      }
2545
    ]),
2546
    [
2547
      have_gnuc_visibility=yes
2548
      AC_MSG_RESULT([yes])
2549
    ],
2550
    [
2551
      AC_MSG_RESULT([no])
2552
    ])
2553
    CFLAGS="$saved_CFLAGS"
2554
  fi
2555
2556
  if test "x$have_gnuc_visibility" = "xyes"; then
2557
    CPPFLAGS="$CPPFLAGS -DHAVE_GNUC_VISIBILITY"
2558
    XDT_SUPPORTED_FLAGS([xdt_vis_hidden_cflags], [-fvisibility=hidden])
2559
    CFLAGS="$CFLAGS $xdt_vis_hidden_cflags"
2560
  fi
2561
2562
  AM_CONDITIONAL([HAVE_GNUC_VISIBILITY], [test "x$have_gnuc_visibility" = "xyes"])
2563
])
2564
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:178: -1- AC_DEFUN([XDT_FEATURE_LINKER_OPTS], [
2565
  AC_ARG_ENABLE([linker-opts],
2566
                AC_HELP_STRING([--disable-linker-opts],
2567
                               [Disable linker optimizations]),
2568
                [enable_linker_opts=$enableval], [enable_linker_opts=yes])
2569
2570
  if test "x$enable_linker_opts" != "xno"; then
2571
    AC_MSG_CHECKING([whether $LD accepts --as-needed])
2572
    case `$LD --as-needed -v 2>&1 </dev/null` in
2573
    *GNU* | *'with BFD'*)
2574
      LDFLAGS="$LDFLAGS -Wl,--as-needed"
2575
      AC_MSG_RESULT([yes])
2576
      ;;
2577
    *)
2578
      AC_MSG_RESULT([no])
2579
      ;;
2580
    esac
2581
    AC_MSG_CHECKING([whether $LD accepts -O1])
2582
    case `$LD -O1 -v 2>&1 </dev/null` in
2583
    *GNU* | *'with BFD'*)
2584
      LDFLAGS="$LDFLAGS -Wl,-O1"
2585
      AC_MSG_RESULT([yes])
2586
      ;;
2587
    *)
2588
      AC_MSG_RESULT([no])
2589
      ;;
2590
    esac
2508
  fi
2591
  fi
2509
])
2592
])
2510
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:115: -1- AC_DEFUN([BM_DEBUG_SUPPORT], [
2593
m4trace:/usr/share/xfce4/dev-tools/m4macros/xdt-features.m4:211: -1- AC_DEFUN([BM_DEBUG_SUPPORT], [
2511
dnl # --enable-debug
2594
dnl # --enable-debug
2512
  AC_REQUIRE([XDT_FEATURE_DEBUG])
2595
  AC_REQUIRE([XDT_FEATURE_DEBUG])
2513
2596
(-)xfdesktop-4.6.1-4.7.0/configure (-10 / +20 lines)
Lines 1732-1740 Link Here
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1732
  --enable-xsltproc       Use xsltproc to generate HTML documentation
1733
                          [default=no]
1733
                          [default=no]
1734
  --enable-xml2po         Use xml2po to translate documentation [default=no]
1734
  --enable-xml2po         Use xml2po to translate documentation [default=no]
1735
  --enable-debug=yes|no|full
1735
  --enable-debug[=no|minimum|yes|full]
1736
                          Build with debugging support
1736
                          Build with debugging support [default=minimum]
1737
  --disable-debug         Include no debugging support default
1737
  --disable-debug         Include no debugging support
1738
1738
1739
Optional Packages:
1739
Optional Packages:
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1740
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
Lines 19690-19706 Link Here
19690
19690
19691
19691
19692
19692
19693
  # Check whether --enable-debug was given.
19693
    # Check whether --enable-debug was given.
19694
if test "${enable_debug+set}" = set; then
19694
if test "${enable_debug+set}" = set; then
19695
  enableval=$enable_debug;
19695
  enableval=$enable_debug; enable_debug=$enableval
19696
else
19696
else
19697
  enable_debug=no
19697
  enable_debug=minimum
19698
fi
19698
fi
19699
19699
19700
19700
19701
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19701
  { $as_echo "$as_me:$LINENO: checking whether to build with debugging support" >&5
19702
$as_echo_n "checking whether to build with debugging support... " >&6; }
19702
$as_echo_n "checking whether to build with debugging support... " >&6; }
19703
  if test x"$enable_debug" != x"no"; then
19703
  if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then
19704
19704
19705
cat >>confdefs.h <<\_ACEOF
19705
cat >>confdefs.h <<\_ACEOF
19706
#define DEBUG 1
19706
#define DEBUG 1
Lines 19717-19723 Link Here
19717
                              -Wcast-align -Wformat-security \
19717
                              -Wcast-align -Wformat-security \
19718
                              -Winit-self -Wmissing-include-dirs -Wundef \
19718
                              -Winit-self -Wmissing-include-dirs -Wundef \
19719
                              -Wmissing-format-attribute -Wnested-externs \
19719
                              -Wmissing-format-attribute -Wnested-externs \
19720
                              -fstack-protector -D_FORTIFY_SOURCE=2"
19720
                              -fstack-protector"
19721
    CPPFLAGS="$CPPFLAGS -D_FORTIFY_SOURCE=2"
19721
19722
19722
    if test x"$enable_debug" = x"full"; then
19723
    if test x"$enable_debug" = x"full"; then
19723
19724
Lines 19725-19731 Link Here
19725
#define DEBUG_TRACE 1
19726
#define DEBUG_TRACE 1
19726
_ACEOF
19727
_ACEOF
19727
19728
19728
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g3 -Werror"
19729
      xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g3 -Werror"
19730
      CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
19729
      { $as_echo "$as_me:$LINENO: result: full" >&5
19731
      { $as_echo "$as_me:$LINENO: result: full" >&5
19730
$as_echo "full" >&6; }
19732
$as_echo "full" >&6; }
19731
    else
19733
    else
Lines 19787-19794 Link Here
19787
    CFLAGS="$CFLAGS $supported_CFLAGS"
19789
    CFLAGS="$CFLAGS $supported_CFLAGS"
19788
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19790
    CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS"
19789
  else
19791
  else
19790
    { $as_echo "$as_me:$LINENO: result: no" >&5
19792
    CPPFLAGS="$CPPFLAGS -DNDEBUG"
19793
19794
    if test x"$enable_debug" = x"no"; then
19795
      CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
19796
      { $as_echo "$as_me:$LINENO: result: no" >&5
19791
$as_echo "no" >&6; }
19797
$as_echo "no" >&6; }
19798
    else
19799
      { $as_echo "$as_me:$LINENO: result: minimum" >&5
19800
$as_echo "minimum" >&6; }
19801
    fi
19792
  fi
19802
  fi
19793
19803
19794
19804

Return to bug 286166